@claudiolabs/claudio 0.1.13 → 0.1.15
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-0.1.15-aene6e12.mjs +1 -0
- package/dist/chunks/App-0.1.15-skbrajfh.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.1.15-zkd425a9.mjs +1 -0
- package/dist/chunks/{AssistantSessionChooser-0.1.13-tcg2ckh4.mjs → AssistantSessionChooser-0.1.15-3wyrkte5.mjs} +1 -1
- package/dist/chunks/AutoModeOptInDialog-0.1.15-xemnqw1q.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.1.15-51n3nd6r.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.15-g407nd3p.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.1.15-80g71gdg.mjs +1 -0
- package/dist/chunks/{DiffDialog-0.1.13-3a9b1b48.mjs → DiffDialog-0.1.15-86m0j64m.mjs} +1 -1
- package/dist/chunks/Doctor-0.1.15-9x07ccn6.mjs +1 -0
- package/dist/chunks/Grove-0.1.15-jdcp80ev.mjs +1 -0
- package/dist/chunks/ITermBackend-0.1.15-ejm7gc8d.mjs +1 -0
- package/dist/chunks/{InProcessTransport-0.1.13-k5mkjvww.mjs → InProcessTransport-0.1.15-p32k8qva.mjs} +1 -1
- package/dist/chunks/InvalidConfigDialog-0.1.15-rctrbcsm.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.1.15-bjsk3qxm.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.1.15-6x3bjqw1.mjs +1 -0
- package/dist/chunks/Onboarding-0.1.15-pqx4v1wq.mjs +1 -0
- package/dist/chunks/ProviderManager-0.1.15-t8sezf1q.mjs +1 -0
- package/dist/chunks/REPL-0.1.15-6e0xrr9y.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.1.15-fm1gvj49.mjs +1 -0
- package/dist/chunks/{SnapshotUpdateDialog-0.1.13-has41zv0.mjs → SnapshotUpdateDialog-0.1.15-t3evkrvq.mjs} +1 -1
- package/dist/chunks/TeleportProgress-0.1.15-gad6kpfq.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.1.15-00rkfxqs.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.1.15-bwv0syaw.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.1.15-0d8n5p59.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.1.15-1cemq4m9.mjs +1 -0
- package/dist/chunks/TrustDialog-0.1.15-srz2xcqx.mjs +1 -0
- package/dist/chunks/activeProvider-0.1.15-1fp1bec5.mjs +1 -0
- package/dist/chunks/add-dir-0.1.15-qj517xx8.mjs +1 -0
- package/dist/chunks/agents-0.1.15-vkekdkan.mjs +3 -0
- package/dist/chunks/agents-0.1.15-x18jhwwk.mjs +111 -0
- package/dist/chunks/api-0.1.15-jq17qdd8.mjs +1 -0
- package/dist/chunks/{asciicast-0.1.13-d6ce2h4r.mjs → asciicast-0.1.15-4t4tanfk.mjs} +1 -1
- package/dist/chunks/assistant-0.1.15-9fhfbk14.mjs +1 -0
- package/dist/chunks/auth-0.1.15-ddyv63ax.mjs +1 -0
- package/dist/chunks/{auth-0.1.13-fwdmg15h.mjs → auth-0.1.15-x6bxj6d1.mjs} +1 -1
- package/dist/chunks/{autoMode-0.1.13-4xh49kt4.mjs → autoMode-0.1.15-p9r45wxy.mjs} +1 -1
- package/dist/chunks/backgroundHousekeeping-0.1.15-sbv1p8kj.mjs +1 -0
- package/dist/chunks/branch-0.1.15-cqq1x0cj.mjs +4 -0
- package/dist/chunks/{bridgePointer-0.1.13-s1qw0857.mjs → bridgePointer-0.1.15-p6kq1zz7.mjs} +1 -1
- package/dist/chunks/btw-0.1.15-q693ppfr.mjs +1 -0
- package/dist/chunks/{buddy-0.1.13-2wvpbqx1.mjs → buddy-0.1.15-vcca6k2p.mjs} +1 -1
- package/dist/chunks/cacache-0.1.15-tj6nes3h.mjs +1 -0
- package/dist/chunks/{cache-probe-0.1.13-ze8mf958.mjs → cache-probe-0.1.15-dfdjj53r.mjs} +1 -1
- package/dist/chunks/{cacheStats-0.1.13-jtrw4rdj.mjs → cacheStats-0.1.15-v9v9y02q.mjs} +1 -1
- package/dist/chunks/caches-0.1.15-tynjvd5a.mjs +1 -0
- package/dist/chunks/{claudeDesktop-0.1.13-fs8rre9b.mjs → claudeDesktop-0.1.15-rxtx8hbf.mjs} +1 -1
- package/dist/chunks/claudemd-0.1.15-s942v7vd.mjs +1 -0
- package/dist/chunks/clear-0.1.15-2tqn4fj6.mjs +1 -0
- package/dist/chunks/clearTerminal-0.1.15-qycj6c0p.mjs +1 -0
- package/dist/chunks/cli-0.1.15-0a38j3t8.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-s9fgd2dx.mjs → cli-0.1.15-0g0abv7y.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-gd3nndc7.mjs → cli-0.1.15-11sdbfxy.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-12azgmva.mjs +2 -0
- package/dist/chunks/cli-0.1.15-1hxkpjgs.mjs +2 -0
- package/dist/chunks/cli-0.1.15-1kmf57b0.mjs +2 -0
- package/dist/chunks/cli-0.1.15-1nkkhw5c.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-2cdtdhek.mjs → cli-0.1.15-20tvdt2s.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-ks4x4cct.mjs → cli-0.1.15-216kns0c.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-229xqnrp.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-zgnanj3x.mjs → cli-0.1.15-23cavaaa.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-fh5dndvp.mjs → cli-0.1.15-26hkdean.mjs} +919 -915
- package/dist/chunks/{cli-0.1.13-fwd5b6q8.mjs → cli-0.1.15-2ccapgj1.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-2h647znt.mjs +2 -0
- package/dist/chunks/cli-0.1.15-2te4sfkh.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-cjmpc9q5.mjs → cli-0.1.15-2vwx57re.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-mkw72mxc.mjs → cli-0.1.15-30tz5ck8.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-36pxgzf6.mjs +2 -0
- package/dist/chunks/cli-0.1.15-3jz926ax.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-3pctg5zc.mjs → cli-0.1.15-3qwnw3ca.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-3rcdvk7c.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-30j4h365.mjs → cli-0.1.15-3z0tzzs8.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-dag38tkx.mjs → cli-0.1.15-4892kydg.mjs} +5 -5
- package/dist/chunks/{cli-0.1.13-13fh0g36.mjs → cli-0.1.15-4fc5wnse.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-b24n1wvw.mjs → cli-0.1.15-4hnhxg2w.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-4hzd3m6p.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-dak36ez8.mjs → cli-0.1.15-4y7051f2.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-5ydypzty.mjs → cli-0.1.15-5denzf1p.mjs} +3 -3
- package/dist/chunks/{cli-0.1.13-p4nz8zmd.mjs → cli-0.1.15-5g0zxgxn.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-3k1n20ra.mjs → cli-0.1.15-5qx5p8cd.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-5tz7z79g.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-m5c2efjx.mjs → cli-0.1.15-618hqv9f.mjs} +1 -1
- package/dist/chunks/{cli-0.1.13-hjqn3n5a.mjs → cli-0.1.15-68f0jtkh.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-pqk4c7m7.mjs → cli-0.1.15-69kq5chw.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-pw5dks39.mjs → cli-0.1.15-6mad0r56.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-bkg3sva7.mjs → cli-0.1.15-6nwbd09n.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-9043n2e8.mjs → cli-0.1.15-6r12ayea.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-0hyneh5t.mjs → cli-0.1.15-6r630k68.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-vn7ckv16.mjs → cli-0.1.15-77346q11.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-fdmvysv0.mjs → cli-0.1.15-7mfwj2xs.mjs} +1 -1
- package/dist/chunks/{cli-0.1.13-b40skdsz.mjs → cli-0.1.15-7myqm617.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-hgkwnhwv.mjs → cli-0.1.15-7rr53z40.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-7ve9h395.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-zm2zgw7m.mjs → cli-0.1.15-82r3zgmq.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-8k69z9kk.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-p2wyk6z7.mjs → cli-0.1.15-8sgewact.mjs} +3 -3
- package/dist/chunks/{cli-0.1.13-g654740k.mjs → cli-0.1.15-8v8bskr0.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-8sszxge2.mjs → cli-0.1.15-90ye3yqx.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-99wmm9j7.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-1gbn4dgj.mjs → cli-0.1.15-9m2znwvb.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-1g6bgaa6.mjs → cli-0.1.15-9pe3dbgs.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-9w140hjt.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-jeyjdb2m.mjs → cli-0.1.15-a10ekh15.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-ct9m5223.mjs → cli-0.1.15-a8kgfrkd.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-tknwgkgp.mjs → cli-0.1.15-acdm8b28.mjs} +3 -3
- package/dist/chunks/cli-0.1.15-ajg1d1bh.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-0xy8k6yv.mjs → cli-0.1.15-asts8hm3.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-apjxy5tn.mjs → cli-0.1.15-b1t6c81s.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-b21k5hzy.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-x461rxn2.mjs → cli-0.1.15-b6gdqjbg.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-b7f6hacc.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-hyvpn2ht.mjs → cli-0.1.15-b7p48xfw.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-njvp7vtc.mjs → cli-0.1.15-be4mz6ka.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-behp1dag.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-8pw4n94k.mjs → cli-0.1.15-bfd337b0.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-dmgp48vg.mjs → cli-0.1.15-bpcmpy8b.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-8snyqhjj.mjs → cli-0.1.15-bz57rf9t.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-cbseyggr.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-v32xwe08.mjs → cli-0.1.15-cenwnwnx.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-qdtwrf9z.mjs → cli-0.1.15-cf4s92e9.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-s928gjab.mjs → cli-0.1.15-cqzrzsh5.mjs} +3 -3
- package/dist/chunks/{cli-0.1.13-v467fj8c.mjs → cli-0.1.15-cr7qy3wd.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-cyq0gbzk.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-yd536yw4.mjs → cli-0.1.15-d9nfa2yf.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-0zpmhn2j.mjs → cli-0.1.15-dcabmk2v.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-b3xc1r3k.mjs → cli-0.1.15-dcxa8b6s.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-t5w452fj.mjs → cli-0.1.15-dp2e8j4f.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-dq954y1q.mjs +2 -0
- package/dist/chunks/cli-0.1.15-dqkhbs67.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-fzb4yx18.mjs → cli-0.1.15-e2e7hn7p.mjs} +4 -4
- package/dist/chunks/cli-0.1.15-e494j2sj.mjs +4 -0
- package/dist/chunks/{cli-0.1.13-vj532g9m.mjs → cli-0.1.15-e64w5wan.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-6gmqjyv9.mjs → cli-0.1.15-e70ktyft.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-em40knm7.mjs +4 -0
- package/dist/chunks/{cli-0.1.13-y7aqqca1.mjs → cli-0.1.15-en9ppdbd.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-9jajvw4r.mjs → cli-0.1.15-f838g4vw.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-d6tr2j76.mjs → cli-0.1.15-f8abjagh.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-fe92jeft.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-v6z41645.mjs → cli-0.1.15-fmnyh9j9.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-nsbk0w3b.mjs → cli-0.1.15-fr83vs1y.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-rftgy1b8.mjs → cli-0.1.15-ft6xtjsa.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-87xfe2f3.mjs → cli-0.1.15-g5wt8d3g.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-xvvtja1h.mjs → cli-0.1.15-ghvjjc4g.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-579v6j6d.mjs → cli-0.1.15-gkzany0s.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-jz57znb6.mjs → cli-0.1.15-gmdv5ny8.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-1pxg82cx.mjs → cli-0.1.15-gn4wnxx3.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-xde08pkt.mjs → cli-0.1.15-gqf82qvm.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-kzn9sspk.mjs → cli-0.1.15-gqp8kzp0.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-ctjpk124.mjs → cli-0.1.15-gtn9gx9w.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-gwbebdj7.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-ck28msre.mjs → cli-0.1.15-gxgy4enj.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-saz6qetz.mjs → cli-0.1.15-h3a2cbdb.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-wz7v1tqx.mjs → cli-0.1.15-h4erh2cn.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-h7cb0pw7.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-mahtf0ay.mjs → cli-0.1.15-htms4w3h.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-hyydz4kc.mjs +12 -0
- package/dist/chunks/{cli-0.1.13-2vrh3n9y.mjs → cli-0.1.15-j5m3s9r5.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-s6w3ej6f.mjs → cli-0.1.15-jy7cjb23.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-tq3dqmem.mjs → cli-0.1.15-k0bn0cze.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-asrdd8dh.mjs → cli-0.1.15-knpxv22b.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-m61dhxfs.mjs → cli-0.1.15-ks9rz9tk.mjs} +3 -3
- package/dist/chunks/{cli-0.1.13-6p0jxfnp.mjs → cli-0.1.15-kw7che8m.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-m0v1d1kt.mjs +821 -0
- package/dist/chunks/{cli-0.1.13-8gd1x101.mjs → cli-0.1.15-m7gtc61y.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-bj67mp7n.mjs → cli-0.1.15-mhbfhhf6.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-my0y22r7.mjs +6 -0
- package/dist/chunks/{cli-0.1.13-nc3ce357.mjs → cli-0.1.15-n97y4hq4.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-d8wkcw90.mjs → cli-0.1.15-ncammv2n.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-nejf7yqz.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-rkaxch5j.mjs → cli-0.1.15-njg0k6ga.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-144gn3fd.mjs → cli-0.1.15-nk50qhet.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-a4xga299.mjs → cli-0.1.15-nkn6jfmb.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-nts79xbr.mjs +2 -0
- package/dist/chunks/cli-0.1.15-nw94frpp.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-2c7g6rpx.mjs → cli-0.1.15-nx5v1cvm.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-0gfnmq08.mjs → cli-0.1.15-p159ga3t.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-p47rrzrn.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-xv6wh44y.mjs → cli-0.1.15-p5ty029c.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-pcqjreq6.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-5061js0h.mjs → cli-0.1.15-pxf97j8y.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-wxdmc1dd.mjs → cli-0.1.15-pya8tbx3.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-q021qg07.mjs +2 -0
- package/dist/chunks/cli-0.1.15-q35rzjnz.mjs +16 -0
- package/dist/chunks/{cli-0.1.13-gvz2qezh.mjs → cli-0.1.15-qhz07at6.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-qns6xv34.mjs +134 -0
- package/dist/chunks/{cli-0.1.13-myd004mr.mjs → cli-0.1.15-r626437v.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-xkdwvsg9.mjs → cli-0.1.15-r8qzzahw.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-r9nrfwrq.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-fabrrwqa.mjs → cli-0.1.15-rbx47sc3.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-ga4mmwbc.mjs → cli-0.1.15-rq9n4js4.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-wwnez3j0.mjs → cli-0.1.15-rr65b3dk.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-rs5swvy0.mjs +4 -0
- package/dist/chunks/{cli-0.1.13-h7a36dnk.mjs → cli-0.1.15-rv6zpjh8.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-rvtve9kq.mjs +3 -0
- package/dist/chunks/cli-0.1.15-rwx8446j.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-p625yxtg.mjs → cli-0.1.15-s7trme0x.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-ajsw8n7h.mjs → cli-0.1.15-sct02cw6.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-d85aba8r.mjs → cli-0.1.15-sd5jysf2.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-0p3b9j40.mjs → cli-0.1.15-sg3n1v0w.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-nwt2jc8b.mjs → cli-0.1.15-svhrqvzp.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-8ppsn0an.mjs → cli-0.1.15-tj4kzvth.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-tn4214gj.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-79vtnprb.mjs → cli-0.1.15-tp614m5f.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-j7796v8f.mjs → cli-0.1.15-twq0mjmr.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-84tbx1nf.mjs → cli-0.1.15-v07ep52w.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-v8zwx5j6.mjs +3 -0
- package/dist/chunks/{cli-0.1.13-mezw1vk8.mjs → cli-0.1.15-vwb8h4r1.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-vwt4hc0t.mjs → cli-0.1.15-vzk22hwe.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-cyj5snev.mjs → cli-0.1.15-w8q8f37x.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-rjjyq9ej.mjs → cli-0.1.15-wfn10357.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-wmwtv0tz.mjs +2 -0
- package/dist/chunks/cli-0.1.15-wn40n534.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-5j5bg3t2.mjs → cli-0.1.15-x3yhaxm9.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-wh68ve92.mjs → cli-0.1.15-x69hfzmj.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-00qdyz6f.mjs → cli-0.1.15-xaw2s45s.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-ky4z1s1h.mjs → cli-0.1.15-xe4dq144.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-e58n0k16.mjs → cli-0.1.15-xery8c8c.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-y2pbhx6p.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-5c4fyghf.mjs → cli-0.1.15-y6fkcbes.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-y7xkk5ds.mjs +2 -0
- package/dist/chunks/cli-0.1.15-yghcqf7h.mjs +2 -0
- package/dist/chunks/{cli-0.1.13-w8h6wdez.mjs → cli-0.1.15-yjxhk7qj.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-eh7dqeqt.mjs → cli-0.1.15-ywed2hpz.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-s90a26ca.mjs → cli-0.1.15-yxm6wwfz.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-yym7bka2.mjs +2 -0
- package/dist/chunks/cli-0.1.15-z2yexprk.mjs +4 -0
- package/dist/chunks/{cli-0.1.13-5krmz4nd.mjs → cli-0.1.15-z35x5bfj.mjs} +2 -2
- package/dist/chunks/{cli-0.1.13-fz5dm31h.mjs → cli-0.1.15-zap1wk9j.mjs} +2 -2
- package/dist/chunks/cli-0.1.15-zf1s8y92.mjs +2 -0
- package/dist/chunks/cli-0.1.15-ztxn2vjm.mjs +2 -0
- package/dist/chunks/client-0.1.15-pbb4218v.mjs +1 -0
- package/dist/chunks/color-0.1.15-w9tvjt51.mjs +1 -0
- package/dist/chunks/compact-0.1.15-2a2eywaz.mjs +3 -0
- package/dist/chunks/config-0.1.15-m4gwmfb1.mjs +1 -0
- package/dist/chunks/config-0.1.15-r15yk3zr.mjs +1 -0
- package/dist/chunks/context-0.1.15-ghkedaaw.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.1.15-wwa3qz84.mjs +1 -0
- package/dist/chunks/conversation-0.1.15-n1bn5vmb.mjs +1 -0
- package/dist/chunks/{copy-0.1.13-03jy5tfn.mjs → copy-0.1.15-53q3e2fk.mjs} +1 -1
- package/dist/chunks/cost-0.1.15-garxyfxy.mjs +1 -0
- package/dist/chunks/createSession-0.1.15-krz8fv09.mjs +1 -0
- package/dist/chunks/desktop-0.1.15-j0znhh3a.mjs +1 -0
- package/dist/chunks/detectRepository-0.1.15-f34tbbq5.mjs +1 -0
- package/dist/chunks/detection-0.1.15-qfkk58tf.mjs +1 -0
- package/dist/chunks/diff-0.1.15-gc5686z3.mjs +1 -0
- package/dist/chunks/doctor-0.1.15-hhtv9s33.mjs +1 -0
- package/dist/chunks/earlyInput-0.1.15-ftgt9y2w.mjs +1 -0
- package/dist/chunks/effort-0.1.15-5za6yh63.mjs +8 -0
- package/dist/chunks/environmentSelection-0.1.15-59904m5c.mjs +1 -0
- package/dist/chunks/environments-0.1.15-fn4ybjrt.mjs +1 -0
- package/dist/chunks/exit-0.1.15-qxj6czd5.mjs +1 -0
- package/dist/chunks/export-0.1.15-h5n9s624.mjs +2 -0
- package/dist/chunks/extra-usage-0.1.15-4a6e6rsa.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.1.15-rgqd9ef7.mjs +1 -0
- package/dist/chunks/fast-0.1.15-98jhvjxk.mjs +1 -0
- package/dist/chunks/feedback-0.1.15-pqe68x4v.mjs +14 -0
- package/dist/chunks/{firstPartyEventLogger-0.1.13-6m3fvkcj.mjs → firstPartyEventLogger-0.1.15-pss0293k.mjs} +1 -1
- package/dist/chunks/git-0.1.15-002t17pq.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.1.15-2a6dqqse.mjs +1 -0
- package/dist/chunks/{growthbook-0.1.13-sramqmzv.mjs → growthbook-0.1.15-m7gdvgqa.mjs} +1 -1
- package/dist/chunks/{heapdump-0.1.13-3n7hv372.mjs → heapdump-0.1.15-s8h9rwpe.mjs} +1 -1
- package/dist/chunks/help-0.1.15-y48dg88b.mjs +1 -0
- package/dist/chunks/{hookChains-0.1.13-te9q466p.mjs → hookChains-0.1.15-z46c2xkf.mjs} +2 -2
- package/dist/chunks/{hooks-0.1.13-g6kx1mk3.mjs → hooks-0.1.15-f81kq7m2.mjs} +1 -1
- package/dist/chunks/hooks-0.1.15-vanat6cg.mjs +1 -0
- package/dist/chunks/{ide-0.1.13-ke3v5mb7.mjs → ide-0.1.15-xepj09gj.mjs} +1 -1
- package/dist/chunks/image-processor-napi-0.1.15-5w5sybn1.mjs +1 -0
- package/dist/chunks/index-0.1.15-0z186jwx.mjs +1 -0
- package/dist/chunks/index-0.1.15-136649ke.mjs +1 -0
- package/dist/chunks/{index-0.1.13-psynrf7p.mjs → index-0.1.15-15ftbc8a.mjs} +2 -2
- package/dist/chunks/index-0.1.15-1r19582s.mjs +1 -0
- package/dist/chunks/{index-0.1.13-9meb2pab.mjs → index-0.1.15-3jxezstk.mjs} +1 -1
- package/dist/chunks/index-0.1.15-52zxtxf2.mjs +1 -0
- package/dist/chunks/{index-0.1.13-tvt8fxrq.mjs → index-0.1.15-628tag5v.mjs} +1 -1
- package/dist/chunks/{index-0.1.13-018yhz6j.mjs → index-0.1.15-77j1wp6f.mjs} +1 -1
- package/dist/chunks/index-0.1.15-7cp4n6z6.mjs +1 -0
- package/dist/chunks/{index-0.1.13-mc5ag4wj.mjs → index-0.1.15-832xm57n.mjs} +1 -1
- package/dist/chunks/{index-0.1.13-j9c4bjzh.mjs → index-0.1.15-abzge0fa.mjs} +1 -1
- package/dist/chunks/{index-0.1.13-nm8pkj0f.mjs → index-0.1.15-b9sdtjj4.mjs} +2 -2
- package/dist/chunks/index-0.1.15-bvr8e4dt.mjs +1 -0
- package/dist/chunks/{index-0.1.13-5g9shrc4.mjs → index-0.1.15-d4ea93sj.mjs} +1 -1
- package/dist/chunks/{index-0.1.13-c29wq5dx.mjs → index-0.1.15-f1y1067a.mjs} +1 -1
- package/dist/chunks/{index-0.1.13-3zjrdjrv.mjs → index-0.1.15-n2q4dkvc.mjs} +1 -1
- package/dist/chunks/{index-0.1.13-bc4sh2m1.mjs → index-0.1.15-nzmg6zng.mjs} +1 -1
- package/dist/chunks/{index-0.1.13-4cjfx282.mjs → index-0.1.15-r9ck21mp.mjs} +1 -1
- package/dist/chunks/index-0.1.15-rb4nqzzk.mjs +1 -0
- package/dist/chunks/{index-0.1.13-7c5y7cbf.mjs → index-0.1.15-tf5b20vy.mjs} +1 -1
- package/dist/chunks/{index-0.1.13-a06q9ad9.mjs → index-0.1.15-x8ghxne4.mjs} +1 -1
- package/dist/chunks/index-0.1.15-z3k5tm3n.mjs +1 -0
- package/dist/chunks/initReplBridge-0.1.15-g7q1qemf.mjs +1 -0
- package/dist/chunks/ink-0.1.15-rd56fvsx.mjs +1 -0
- package/dist/chunks/{insights-0.1.13-t81417ej.mjs → insights-0.1.15-2zt9898j.mjs} +1 -1
- package/dist/chunks/install-0.1.15-z6a6aa3t.mjs +1 -0
- package/dist/chunks/{install-github-app-0.1.13-yvnx16za.mjs → install-github-app-0.1.15-h746hza3.mjs} +1 -1
- package/dist/chunks/install-slack-app-0.1.15-2yhy3kwz.mjs +1 -0
- package/dist/chunks/{instrumentation-0.1.13-bvt39wrk.mjs → instrumentation-0.1.15-bwm4tb1y.mjs} +1 -1
- package/dist/chunks/interactiveHelpers-0.1.15-z5nx1rw2.mjs +1 -0
- package/dist/chunks/keybindings-0.1.15-cxmw2kd4.mjs +2 -0
- package/dist/chunks/knowledge-0.1.15-2bnycc4a.mjs +2 -0
- package/dist/chunks/loadAgentsDir-0.1.15-e4ms71xe.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.1.15-rcg3267j.mjs +1 -0
- package/dist/chunks/lsp-0.1.15-veqrp99h.mjs +1 -0
- package/dist/chunks/main-0.1.15-bfvfcwwj.mjs +1 -0
- package/dist/chunks/managedEnv-0.1.15-1mxydytg.mjs +1 -0
- package/dist/chunks/mcp-0.1.15-rfy9pyrt.mjs +1 -0
- package/dist/chunks/{mcp-0.1.13-x9twbpqk.mjs → mcp-0.1.15-tw9s435t.mjs} +3 -3
- package/dist/chunks/mcp-0.1.15-zc7h2fyj.mjs +4 -0
- package/dist/chunks/mcpServer-0.1.15-t7dsptwh.mjs +1 -0
- package/dist/chunks/mcpb-0.1.15-5mam984d.mjs +1 -0
- package/dist/chunks/memory-0.1.15-b6zkcs44.mjs +3 -0
- package/dist/chunks/{mobile-0.1.13-pzekbte3.mjs → mobile-0.1.15-sm8kbft4.mjs} +1 -1
- package/dist/chunks/model-0.1.15-843f7654.mjs +1 -0
- package/dist/chunks/model-0.1.15-e62wxf7h.mjs +2 -0
- package/dist/chunks/{oauth-0.1.13-bk91rvfd.mjs → oauth-0.1.15-gxgmqwwx.mjs} +1 -1
- package/dist/chunks/{openaiShim-0.1.13-c9z5r4zj.mjs → openaiShim-0.1.15-0yryhq9r.mjs} +1 -1
- package/dist/chunks/{output-style-0.1.13-c4ah6hc0.mjs → output-style-0.1.15-d20e4vc3.mjs} +1 -1
- package/dist/chunks/package-WSP46L7M-0.1.15-jsqef57n.mjs +1 -0
- package/dist/chunks/parser-0.1.15-wbja947p.mjs +1 -0
- package/dist/chunks/passes-0.1.15-726y1cyq.mjs +1 -0
- package/dist/chunks/permissions-0.1.15-4pqgyt4h.mjs +3 -0
- package/dist/chunks/plan-0.1.15-p06bpb7x.mjs +1 -0
- package/dist/chunks/plist-0.1.15-fseac2c0.mjs +1 -0
- package/dist/chunks/plugin-0.1.15-yeqq1san.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.1.15-s9v7kq6q.mjs +1 -0
- package/dist/chunks/{plugins-0.1.13-1nvjxkbc.mjs → plugins-0.1.15-3rpwr86v.mjs} +2 -2
- package/dist/chunks/{print-0.1.13-g2dmfpmq.mjs → print-0.1.15-64y2p7wj.mjs} +4 -4
- package/dist/chunks/privacy-settings-0.1.15-rq35tcyk.mjs +1 -0
- package/dist/chunks/{process-0.1.13-ycxbd26n.mjs → process-0.1.15-g6km3z8k.mjs} +1 -1
- package/dist/chunks/processBashCommand-0.1.15-57ga0c30.mjs +1 -0
- package/dist/chunks/{processSlashCommand-0.1.13-16gwwvqz.mjs → processSlashCommand-0.1.15-mee2mbyy.mjs} +1 -1
- package/dist/chunks/prompt-0.1.15-gm20yk5m.mjs +1 -0
- package/dist/chunks/prompt-0.1.15-gxjy2vnc.mjs +1 -0
- package/dist/chunks/prompts-0.1.15-v7p366n5.mjs +1 -0
- package/dist/chunks/provider-0.1.15-gz0fhpp7.mjs +2 -0
- package/dist/chunks/providerProfiles-0.1.15-v7p3m9kf.mjs +1 -0
- package/dist/chunks/rate-limit-options-0.1.15-3vs25v7e.mjs +1 -0
- package/dist/chunks/registry-0.1.15-3h7bxrc2.mjs +1 -0
- package/dist/chunks/release-notes-0.1.15-1g908440.mjs +5 -0
- package/dist/chunks/reload-plugins-0.1.15-5r2acf43.mjs +2 -0
- package/dist/chunks/remote-env-0.1.15-fd5z1adp.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.1.15-kbthngek.mjs +1 -0
- package/dist/chunks/remoteSession-0.1.15-yrg8c3z1.mjs +1 -0
- package/dist/chunks/rename-0.1.15-8079z5ff.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.1.15-cz1pf5m3.mjs +1 -0
- package/dist/chunks/resume-0.1.15-s4hv4t9y.mjs +2 -0
- package/dist/chunks/{rewind-0.1.13-zxcfrje2.mjs → rewind-0.1.15-fevxgefp.mjs} +1 -1
- package/dist/chunks/sandbox-adapter-0.1.15-yra7frkv.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.1.15-fn86ac4p.mjs +1 -0
- package/dist/chunks/session-0.1.15-crg226x4.mjs +2 -0
- package/dist/chunks/sessionFileAccessHooks-0.1.15-f3kpf3s7.mjs +1 -0
- package/dist/chunks/sessionStorage-0.1.15-x0gw4hbz.mjs +1 -0
- package/dist/chunks/setup-0.1.15-6znmc2q6.mjs +5 -0
- package/dist/chunks/sinks-0.1.15-npqf68gv.mjs +1 -0
- package/dist/chunks/skills-0.1.15-sybv0v2p.mjs +1 -0
- package/dist/chunks/startupProfiler-0.1.15-nwkwwtx6.mjs +1 -0
- package/dist/chunks/state-0.1.15-rr5k0vbf.mjs +1 -0
- package/dist/chunks/{stats-0.1.13-yrtt99gr.mjs → stats-0.1.15-3c4f5zp4.mjs} +1 -1
- package/dist/chunks/status-0.1.15-cvscafrs.mjs +1 -0
- package/dist/chunks/stickers-0.1.15-ee8ptkd4.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.1.15-330g0p7g.mjs +1 -0
- package/dist/chunks/tasks-0.1.15-a4y42df2.mjs +1 -0
- package/dist/chunks/teamHelpers-0.1.15-gw6hwmyj.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.1.15-t2czx776.mjs +1 -0
- package/dist/chunks/teleport-0.1.15-bg434zjk.mjs +1 -0
- package/dist/chunks/terminalSetup-0.1.15-ged9eavp.mjs +1 -0
- package/dist/chunks/theme-0.1.15-zq998m8x.mjs +1 -0
- package/dist/chunks/thinkback-0.1.15-g09k62ck.mjs +1 -0
- package/dist/chunks/thinkback-play-0.1.15-mn7j6mm2.mjs +1 -0
- package/dist/chunks/toolPool-0.1.15-wej7eaff.mjs +1 -0
- package/dist/chunks/toolSearch-0.1.15-v6zmdk1y.mjs +1 -0
- package/dist/chunks/trustedDevice-0.1.15-t9sax8yq.mjs +1 -0
- package/dist/chunks/{turndown.cjs-0.1.13-2wbn8j6y.mjs → turndown.cjs-0.1.15-pmxpe7z8.mjs} +1 -1
- package/dist/chunks/{ultrareviewCommand-0.1.13-sj6asgpk.mjs → ultrareviewCommand-0.1.15-3gjgaeyn.mjs} +1 -1
- package/dist/chunks/{update-0.1.13-sx7hc0kj.mjs → update-0.1.15-jtd1h3e7.mjs} +11 -11
- package/dist/chunks/upgrade-0.1.15-07pcdyyq.mjs +1 -0
- package/dist/chunks/{upstreamproxy-0.1.13-pwxv6kww.mjs → upstreamproxy-0.1.15-wtbs40ct.mjs} +1 -1
- package/dist/chunks/usage-0.1.15-ayne7pw6.mjs +1 -0
- package/dist/chunks/util-0.1.15-vs1eanbw.mjs +1 -0
- package/dist/chunks/utils-0.1.15-aq7vgwy1.mjs +1 -0
- package/dist/chunks/vim-0.1.15-syferjfa.mjs +1 -0
- package/dist/chunks/watcher-0.1.15-bh7ych8a.mjs +1 -0
- package/dist/chunks/{wiki-0.1.13-regg8ff2.mjs → wiki-0.1.15-pp951r9h.mjs} +1 -1
- package/dist/chunks/worktree-0.1.15-twyfdw3p.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.1.15-afv7sbw1.mjs +1 -0
- package/dist/chunks/{wrapper-0.1.13-8nsef109.mjs → wrapper-0.1.15-dw3awx2b.mjs} +1 -1
- package/dist/claudio-vscode.vsix +0 -0
- package/dist/cli.mjs +5 -5
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.1.13-yacqe6gs.mjs +0 -1
- package/dist/chunks/App-0.1.13-45tpe56w.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.1.13-rvk3ghpz.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.1.13-4qkeekab.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.1.13-wpjjxqtw.mjs +0 -1
- package/dist/chunks/ClaudeInChromeOnboarding-0.1.13-k8349mz5.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.13-jg36gq05.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.1.13-svk1vdbj.mjs +0 -1
- package/dist/chunks/Doctor-0.1.13-zktnx7ce.mjs +0 -1
- package/dist/chunks/Grove-0.1.13-1hnmb7jn.mjs +0 -1
- package/dist/chunks/ITermBackend-0.1.13-esbr21j4.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.1.13-7wr7g7vx.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.1.13-j8t2pnak.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.1.13-jd2k6vk6.mjs +0 -1
- package/dist/chunks/Onboarding-0.1.13-j8d7hwbe.mjs +0 -1
- package/dist/chunks/ProviderManager-0.1.13-qcfa4ppx.mjs +0 -1
- package/dist/chunks/REPL-0.1.13-zpcaf2zq.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.1.13-nwwjp69z.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.1.13-ssgexm6r.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.1.13-r95sr8bp.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.1.13-1qxft9es.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.1.13-jf14wbka.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.1.13-xzmz0wz4.mjs +0 -1
- package/dist/chunks/TrustDialog-0.1.13-pegd35qh.mjs +0 -1
- package/dist/chunks/activeProvider-0.1.13-n3mrppkb.mjs +0 -1
- package/dist/chunks/add-dir-0.1.13-3zm44vdy.mjs +0 -1
- package/dist/chunks/agents-0.1.13-a0aj4df9.mjs +0 -111
- package/dist/chunks/agents-0.1.13-phdd6357.mjs +0 -3
- package/dist/chunks/api-0.1.13-vmdan95h.mjs +0 -1
- package/dist/chunks/assistant-0.1.13-y9yer51w.mjs +0 -1
- package/dist/chunks/auth-0.1.13-gw7n7j0w.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.1.13-tagm38w5.mjs +0 -1
- package/dist/chunks/branch-0.1.13-hjmxvn3n.mjs +0 -4
- package/dist/chunks/btw-0.1.13-ggywf7w1.mjs +0 -1
- package/dist/chunks/cacache-0.1.13-sy5bqn6j.mjs +0 -1
- package/dist/chunks/caches-0.1.13-0swwryxr.mjs +0 -1
- package/dist/chunks/chrome-0.1.13-ztyyyz4s.mjs +0 -1
- package/dist/chunks/chromeNativeHost-0.1.13-96ex7t46.mjs +0 -2
- package/dist/chunks/claude-for-chrome-mcp-0.1.13-6hy7w25p.mjs +0 -1
- package/dist/chunks/claudemd-0.1.13-942nfe7r.mjs +0 -1
- package/dist/chunks/clear-0.1.13-zge2t5n9.mjs +0 -1
- package/dist/chunks/clearTerminal-0.1.13-b5v1edw2.mjs +0 -1
- package/dist/chunks/cli-0.1.13-0b728dvh.mjs +0 -2
- package/dist/chunks/cli-0.1.13-0gyt273r.mjs +0 -2
- package/dist/chunks/cli-0.1.13-1hw65avy.mjs +0 -2
- package/dist/chunks/cli-0.1.13-1y21vq1h.mjs +0 -2
- package/dist/chunks/cli-0.1.13-2sx61wcx.mjs +0 -2
- package/dist/chunks/cli-0.1.13-3rr4fg79.mjs +0 -2
- package/dist/chunks/cli-0.1.13-45hjhcbc.mjs +0 -2
- package/dist/chunks/cli-0.1.13-4prgqshq.mjs +0 -2
- package/dist/chunks/cli-0.1.13-52f40ba4.mjs +0 -2
- package/dist/chunks/cli-0.1.13-5b7hgn91.mjs +0 -2
- package/dist/chunks/cli-0.1.13-5d4ke9a2.mjs +0 -4
- package/dist/chunks/cli-0.1.13-5rnhv49w.mjs +0 -2
- package/dist/chunks/cli-0.1.13-5s4m8qj9.mjs +0 -100
- package/dist/chunks/cli-0.1.13-6q3wa261.mjs +0 -2
- package/dist/chunks/cli-0.1.13-73w3wbmf.mjs +0 -3
- package/dist/chunks/cli-0.1.13-73yztj5x.mjs +0 -10
- package/dist/chunks/cli-0.1.13-85w0nxy9.mjs +0 -2
- package/dist/chunks/cli-0.1.13-91b1h8ww.mjs +0 -2
- package/dist/chunks/cli-0.1.13-9a1hzdsv.mjs +0 -2
- package/dist/chunks/cli-0.1.13-bzgpcgdt.mjs +0 -16
- package/dist/chunks/cli-0.1.13-c5b4ygdq.mjs +0 -2
- package/dist/chunks/cli-0.1.13-crcgrfse.mjs +0 -2
- package/dist/chunks/cli-0.1.13-d66pryf3.mjs +0 -2
- package/dist/chunks/cli-0.1.13-dgw8xfv1.mjs +0 -2
- package/dist/chunks/cli-0.1.13-f6gfa426.mjs +0 -2
- package/dist/chunks/cli-0.1.13-ft5k86va.mjs +0 -2
- package/dist/chunks/cli-0.1.13-g2v4avcv.mjs +0 -2
- package/dist/chunks/cli-0.1.13-gtgqh4bn.mjs +0 -2
- package/dist/chunks/cli-0.1.13-h3vb5402.mjs +0 -2
- package/dist/chunks/cli-0.1.13-hzdj03rn.mjs +0 -2
- package/dist/chunks/cli-0.1.13-jakv6e7b.mjs +0 -2
- package/dist/chunks/cli-0.1.13-m5aaczvd.mjs +0 -2
- package/dist/chunks/cli-0.1.13-mywk7e49.mjs +0 -134
- package/dist/chunks/cli-0.1.13-n1tj5bdc.mjs +0 -2
- package/dist/chunks/cli-0.1.13-n31sw1c8.mjs +0 -2
- package/dist/chunks/cli-0.1.13-nc8ww3rn.mjs +0 -6
- package/dist/chunks/cli-0.1.13-p00rtvrc.mjs +0 -2
- package/dist/chunks/cli-0.1.13-p84ry3q5.mjs +0 -2
- package/dist/chunks/cli-0.1.13-q93vqpjh.mjs +0 -833
- package/dist/chunks/cli-0.1.13-qxtrzerx.mjs +0 -2
- package/dist/chunks/cli-0.1.13-r09724ac.mjs +0 -2
- package/dist/chunks/cli-0.1.13-sgxk7d0h.mjs +0 -2
- package/dist/chunks/cli-0.1.13-sr9axhrw.mjs +0 -2
- package/dist/chunks/cli-0.1.13-ss1k5gqk.mjs +0 -3
- package/dist/chunks/cli-0.1.13-ssgwnxc5.mjs +0 -4
- package/dist/chunks/cli-0.1.13-t1zx7s60.mjs +0 -2
- package/dist/chunks/cli-0.1.13-t34z5r3c.mjs +0 -2
- package/dist/chunks/cli-0.1.13-v1b9yhsy.mjs +0 -2
- package/dist/chunks/cli-0.1.13-v56n2wqm.mjs +0 -2
- package/dist/chunks/cli-0.1.13-vdz792pb.mjs +0 -2
- package/dist/chunks/cli-0.1.13-w08qr05m.mjs +0 -2
- package/dist/chunks/cli-0.1.13-wpsqhe6v.mjs +0 -4
- package/dist/chunks/cli-0.1.13-wr0c9hyh.mjs +0 -4
- package/dist/chunks/cli-0.1.13-x3zt8q8r.mjs +0 -2
- package/dist/chunks/cli-0.1.13-x4n4my99.mjs +0 -2
- package/dist/chunks/cli-0.1.13-xwkys72y.mjs +0 -12
- package/dist/chunks/cli-0.1.13-y3aj3amr.mjs +0 -4
- package/dist/chunks/cli-0.1.13-y3e5jkh7.mjs +0 -2
- package/dist/chunks/cli-0.1.13-yeb03vme.mjs +0 -2
- package/dist/chunks/cli-0.1.13-yhe2a0cx.mjs +0 -2
- package/dist/chunks/cli-0.1.13-yrvakyyp.mjs +0 -2
- package/dist/chunks/cli-0.1.13-z0jm6xd0.mjs +0 -2
- package/dist/chunks/cli-0.1.13-z387wpj9.mjs +0 -2
- package/dist/chunks/cli-0.1.13-zmft0mps.mjs +0 -2
- package/dist/chunks/client-0.1.13-mbp3h3fc.mjs +0 -1
- package/dist/chunks/color-0.1.13-p7kzn9d4.mjs +0 -1
- package/dist/chunks/compact-0.1.13-603r2t03.mjs +0 -3
- package/dist/chunks/config-0.1.13-fn4hrgp2.mjs +0 -1
- package/dist/chunks/config-0.1.13-q8fcew9w.mjs +0 -1
- package/dist/chunks/context-0.1.13-5fz212w3.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.1.13-fjn2461g.mjs +0 -1
- package/dist/chunks/conversation-0.1.13-zjqxzcfr.mjs +0 -1
- package/dist/chunks/cost-0.1.13-zch21h6x.mjs +0 -1
- package/dist/chunks/createSession-0.1.13-mh3jt0b0.mjs +0 -1
- package/dist/chunks/desktop-0.1.13-w51djw8z.mjs +0 -1
- package/dist/chunks/detectRepository-0.1.13-5tt2922a.mjs +0 -1
- package/dist/chunks/detection-0.1.13-k001d88v.mjs +0 -1
- package/dist/chunks/diff-0.1.13-vz7x7nm3.mjs +0 -1
- package/dist/chunks/doctor-0.1.13-egkgh28s.mjs +0 -1
- package/dist/chunks/earlyInput-0.1.13-tpq0qmw0.mjs +0 -1
- package/dist/chunks/effort-0.1.13-11mfjfnb.mjs +0 -8
- package/dist/chunks/environmentSelection-0.1.13-8fagqvgw.mjs +0 -1
- package/dist/chunks/environments-0.1.13-x1xw45es.mjs +0 -1
- package/dist/chunks/exit-0.1.13-3m34eg2x.mjs +0 -1
- package/dist/chunks/export-0.1.13-sq3jk66f.mjs +0 -2
- package/dist/chunks/extra-usage-0.1.13-dh2sxr12.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.1.13-7yfmamd2.mjs +0 -1
- package/dist/chunks/fast-0.1.13-w1sk95j2.mjs +0 -1
- package/dist/chunks/feedback-0.1.13-ewxaenqk.mjs +0 -14
- package/dist/chunks/git-0.1.13-2rp45xgd.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.1.13-e9c7cay9.mjs +0 -1
- package/dist/chunks/help-0.1.13-knrgw1dq.mjs +0 -1
- package/dist/chunks/hooks-0.1.13-1cp6zhk0.mjs +0 -1
- package/dist/chunks/image-processor-napi-0.1.13-h7fg935p.mjs +0 -1
- package/dist/chunks/index-0.1.13-0z5ns7r2.mjs +0 -1
- package/dist/chunks/index-0.1.13-1y9cm2x6.mjs +0 -1
- package/dist/chunks/index-0.1.13-7fm7tk25.mjs +0 -1
- package/dist/chunks/index-0.1.13-98j8cxkv.mjs +0 -1
- package/dist/chunks/index-0.1.13-h2mpm4c0.mjs +0 -1
- package/dist/chunks/index-0.1.13-h4wytk4z.mjs +0 -1
- package/dist/chunks/index-0.1.13-m9m61529.mjs +0 -1
- package/dist/chunks/index-0.1.13-qjt3h799.mjs +0 -1
- package/dist/chunks/initReplBridge-0.1.13-cd8avwfa.mjs +0 -1
- package/dist/chunks/ink-0.1.13-8ga6a1ny.mjs +0 -1
- package/dist/chunks/install-0.1.13-1bq7fwkd.mjs +0 -1
- package/dist/chunks/install-slack-app-0.1.13-2a6ydfjg.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.1.13-p29payqv.mjs +0 -1
- package/dist/chunks/keybindings-0.1.13-nr2he9m8.mjs +0 -2
- package/dist/chunks/knowledge-0.1.13-9a2md3fm.mjs +0 -2
- package/dist/chunks/loadAgentsDir-0.1.13-jmqfw7w4.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.1.13-qagn7gmw.mjs +0 -1
- package/dist/chunks/logout-0.1.13-d6ghx6h9.mjs +0 -1
- package/dist/chunks/lsp-0.1.13-q6xr2am5.mjs +0 -1
- package/dist/chunks/main-0.1.13-e5tbkphz.mjs +0 -1
- package/dist/chunks/managedEnv-0.1.13-n073hj5h.mjs +0 -1
- package/dist/chunks/mcp-0.1.13-0bw6qtwy.mjs +0 -4
- package/dist/chunks/mcp-0.1.13-1kaxfeey.mjs +0 -1
- package/dist/chunks/mcpServer-0.1.13-jf5dhyys.mjs +0 -1
- package/dist/chunks/mcpb-0.1.13-e55321kr.mjs +0 -1
- package/dist/chunks/memory-0.1.13-qwtbe97v.mjs +0 -3
- package/dist/chunks/model-0.1.13-a42465ep.mjs +0 -1
- package/dist/chunks/model-0.1.13-mqqrpy8m.mjs +0 -2
- package/dist/chunks/package-WSP46L7M-0.1.13-sme2jxpt.mjs +0 -1
- package/dist/chunks/parser-0.1.13-mm8j9rwt.mjs +0 -1
- package/dist/chunks/passes-0.1.13-bcbvjdzs.mjs +0 -1
- package/dist/chunks/permissions-0.1.13-c03934ka.mjs +0 -3
- package/dist/chunks/plan-0.1.13-fgs4vbwk.mjs +0 -1
- package/dist/chunks/plist-0.1.13-f3bfg2tf.mjs +0 -1
- package/dist/chunks/plugin-0.1.13-p5aqty2y.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.1.13-f8tcmc9s.mjs +0 -1
- package/dist/chunks/privacy-settings-0.1.13-xkaezd0n.mjs +0 -1
- package/dist/chunks/processBashCommand-0.1.13-x4ggp1t8.mjs +0 -1
- package/dist/chunks/prompt-0.1.13-j0tnske2.mjs +0 -1
- package/dist/chunks/prompt-0.1.13-mdxfbbqp.mjs +0 -1
- package/dist/chunks/prompts-0.1.13-gtp7vnge.mjs +0 -1
- package/dist/chunks/provider-0.1.13-e9ayet7n.mjs +0 -2
- package/dist/chunks/providerProfiles-0.1.13-y9gs55qq.mjs +0 -1
- package/dist/chunks/rate-limit-options-0.1.13-va0322ws.mjs +0 -1
- package/dist/chunks/registry-0.1.13-e33aasxk.mjs +0 -1
- package/dist/chunks/release-notes-0.1.13-jmkp5g6h.mjs +0 -5
- package/dist/chunks/reload-plugins-0.1.13-0p5x4cr9.mjs +0 -2
- package/dist/chunks/remote-env-0.1.13-d7evw9tc.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.1.13-sq5rr5x0.mjs +0 -1
- package/dist/chunks/remoteSession-0.1.13-zjhajyna.mjs +0 -1
- package/dist/chunks/rename-0.1.13-t30c4tx9.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.1.13-38jvakp0.mjs +0 -1
- package/dist/chunks/resume-0.1.13-ta7t0vbz.mjs +0 -2
- package/dist/chunks/sandbox-adapter-0.1.13-x04v4bxn.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.1.13-w0p8r4ta.mjs +0 -1
- package/dist/chunks/session-0.1.13-cjn060z1.mjs +0 -2
- package/dist/chunks/sessionFileAccessHooks-0.1.13-mr3y5jpc.mjs +0 -1
- package/dist/chunks/sessionStorage-0.1.13-8gahjm86.mjs +0 -1
- package/dist/chunks/setup-0.1.13-ap9dpanw.mjs +0 -5
- package/dist/chunks/sinks-0.1.13-r13nv1fw.mjs +0 -1
- package/dist/chunks/skills-0.1.13-jd5g0cex.mjs +0 -1
- package/dist/chunks/startupProfiler-0.1.13-d4g7sykt.mjs +0 -1
- package/dist/chunks/state-0.1.13-cv8jd04r.mjs +0 -1
- package/dist/chunks/status-0.1.13-4x7h3dec.mjs +0 -1
- package/dist/chunks/stickers-0.1.13-8szx17mh.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.1.13-9asfa8pp.mjs +0 -1
- package/dist/chunks/tasks-0.1.13-dsy415kp.mjs +0 -1
- package/dist/chunks/teamHelpers-0.1.13-z4fpbggy.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.1.13-cc6scthx.mjs +0 -1
- package/dist/chunks/teleport-0.1.13-gx6zbjr3.mjs +0 -1
- package/dist/chunks/terminalSetup-0.1.13-wmg8wa4f.mjs +0 -1
- package/dist/chunks/theme-0.1.13-m8mdm37k.mjs +0 -1
- package/dist/chunks/thinkback-0.1.13-4jwhbbcv.mjs +0 -1
- package/dist/chunks/thinkback-play-0.1.13-0vz0yjza.mjs +0 -1
- package/dist/chunks/toolPool-0.1.13-z741g6f2.mjs +0 -1
- package/dist/chunks/toolSearch-0.1.13-jaadtdmb.mjs +0 -1
- package/dist/chunks/trustedDevice-0.1.13-w279yc46.mjs +0 -1
- package/dist/chunks/upgrade-0.1.13-dce1xd29.mjs +0 -1
- package/dist/chunks/usage-0.1.13-mr2bn5g6.mjs +0 -1
- package/dist/chunks/util-0.1.13-ef9r7w41.mjs +0 -1
- package/dist/chunks/utils-0.1.13-03dvz81t.mjs +0 -1
- package/dist/chunks/vim-0.1.13-3x0ehdme.mjs +0 -1
- package/dist/chunks/watcher-0.1.13-yzxxvgz3.mjs +0 -1
- package/dist/chunks/worktree-0.1.13-kdhzfvjx.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.1.13-d4t06wcm.mjs +0 -1
- /package/dist/chunks/{cli-0.1.13-gs7rcvne.mjs → cli-0.1.15-p6bypqrv.mjs} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{qf as
|
|
1
|
+
import{WW as F,XW as A}from"./cli-0.1.15-6nwbd09n.mjs";import{g3 as r,y3 as e}from"./cli-0.1.15-q35rzjnz.mjs";import{S8 as _,T8 as G,V8 as C,gaa as U,l6 as J,n6 as I,oaa as s}from"./cli-0.1.15-4892kydg.mjs";import{Ida as Lf,wda as w}from"./cli-0.1.15-wfn10357.mjs";import{ifa as Of,wfa as y,zfa as pf}from"./cli-0.1.15-nk50qhet.mjs";import{Dfa as q,Nfa as Q}from"./cli-0.1.15-9pe3dbgs.mjs";import{cja as D,ija as v,ila as R,mla as Z,vha as N}from"./cli-0.1.15-12azgmva.mjs";import{Lla as z,Mla as o}from"./cli-0.1.15-p5ty029c.mjs";import{bma as E}from"./cli-0.1.15-mhbfhhf6.mjs";import{stat as b}from"fs/promises";function l(){return process.platform==="linux"&&q(process.env.CLAUDE_CODE_BUBBLEWRAP)}function g(){if(process.platform!=="linux")return!1;return X??!1}async function W(){if(O!==void 0)return O;if(process.platform==="darwin")return O=null,null;try{let f=await F(process.pid,10);for(let S of f){let p=S.toLowerCase();for(let x of _)if(p.includes(x))return O=x,x}}catch{}return O=null,null}async function h(){if(process.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"){if(G.platform!=="darwin")return await W()||"pycharm"}return G.terminal}function d(){if(process.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"){if(G.platform!=="darwin"){if(O!==void 0)return O||"pycharm";return"pycharm"}}return G.terminal}async function m(){if(process.env.TERMINAL_EMULATOR==="JetBrains-JediTerm")await W()}var u,X=null,O,$;var k=E(()=>{o();C();Q();I();A();u=z(async()=>{if(process.platform!=="linux")return!1;let{code:f}=await J("test",["-f","/.dockerenv"]);return f===0});if(process.platform==="linux"){let f=process.arch==="x64"?"x86_64":"aarch64";b(`/lib/libc.musl-${f}.so.1`).then(()=>{X=!0},()=>{X=!1})}$={...G,terminal:d(),getIsDocker:u,getIsBubblewrapSandbox:l,isMuslEnvironment:g,getTerminalWithJetBrainsDetectionAsync:h,initJetBrainsDetection:m}});function a(f){let S=BigInt(58),p=Array(22).fill("1"),x=21,T=f;while(T>0n){let L=Number(T%S);p[x]="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"[L],T=T/S,x--}return p.join("")}function t(f){let S=f.replace(/-/g,"");if(S.length!==32)throw Error(`Invalid UUID hex length: ${S.length}`);return BigInt("0x"+S)}function V(f,S){let p=t(S);return`${f}_01${a(p)}`}var H=()=>{};function B(f){let S=ff[f],p=process.env[f];if(p===void 0)return S;return q(p)}function j(){let f=U(),S=N(),p={"user.id":f};if(B("OTEL_METRICS_INCLUDE_SESSION_ID"))p["session.id"]=S;if(B("OTEL_METRICS_INCLUDE_VERSION"))p["app.version"]="99.0.0";let x=r();if(x){let{organizationUuid:T,emailAddress:L,accountUuid:M}=x;if(T)p["organization.id"]=T;if(L)p["user.email"]=L;if(M&&B("OTEL_METRICS_INCLUDE_ACCOUNT_UUID"))p["user.account_uuid"]=M,p["user.account_id"]=process.env.CLAUDE_CODE_ACCOUNT_TAGGED_ID||V("user",M)}if($.terminal)p["terminal.type"]=$.terminal;return p}var ff;var c=E(()=>{Z();e();s();k();Q();H();ff={OTEL_METRICS_INCLUDE_SESSION_ID:!0,OTEL_METRICS_INCLUDE_VERSION:!1,OTEL_METRICS_INCLUDE_ACCOUNT_UUID:!0}});function xf(){return q(process.env.OTEL_LOG_USER_PROMPTS)}function Rf(f){return xf()?f:"<REDACTED>"}async function Tf(f,S={}){let p=D();if(!p){if(!i)i=!0,y(`[3P telemetry] Event dropped (no event logger initialized): ${f}`,{level:"warn"});return}let x={...j(),"event.name":f,"event.timestamp":new Date().toISOString(),"event.sequence":Sf++},T=R();if(T)x["prompt.id"]=T;let L=process.env.CLAUDE_CODE_WORKSPACE_HOST_PATHS;if(L)x["workspace.host_paths"]=L.split("|");for(let[M,Y]of Object.entries(S))if(Y!==void 0)x[M]=Y;p.emit({body:`claude_code.${f}`,attributes:x})}var Sf=0,i=!1;var P=E(()=>{Z();pf();Q();c()});function Pf(){}function nf(){return!1}function vf(){}function wf(){}var Ef=()=>{};function qf(f){return f}function If(){return!1}function Cf(){return{}}function Af(){return}function bf(){return}function uf(){return}function lf(){return}function gf(){return}var n=()=>{};function Sp(){Gf.clear(),Kf.clear()}function xp(){if(!(q(process.env.ENABLE_BETA_TRACING_DETAILED)&&Boolean(process.env.BETA_TRACING_ENDPOINT)))return!1;return v()||w("tengu_trace_lantern",!1)}var Gf,Kf;var Mf=E(()=>{Z();Lf();n();Q();Of();P();Gf=new Set,Kf=new Map});function Ep(){return!1}function qp(){return!1}function Lp(){return K}function Op(){}function Gp(){return K}function Kp(){}function Mp(){return K}function Qp(){return K}function Xp(){}function $p(){return K}function Bp(){}function Zp(){}function Yp(){}function zp(){return K}function Jp(){}var K;var Qf=E(()=>{K={end(){},setAttribute(){},setStatus(){},recordException(){},addEvent(){},isRecording(){return!1}}});
|
|
2
|
+
export{qf as eW,If as fW,Cf as gW,Af as hW,bf as iW,uf as jW,lf as kW,gf as lW,n as mW,m as nW,$ as oW,k as pW,j as qW,c as rW,Rf as sW,Tf as tW,P as uW,Pf as vW,nf as wW,vf as xW,wf as yW,Ef as zW,Sp as AW,xp as BW,Mf as CW,Ep as DW,qp as EW,Lp as FW,Op as GW,Gp as HW,Kp as IW,Mp as JW,Qp as KW,Xp as LW,$p as MW,Bp as NW,Zp as OW,Yp as PW,zp as QW,Jp as RW,Qf as SW};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import{createRequire as w}from"node:module";var p=Object.create;var{getPrototypeOf:q,defineProperty:k,getOwnPropertyNames:m,getOwnPropertyDescriptor:r}=Object,n=Object.prototype.hasOwnProperty;function o(a){return this[a]}var s,t,z=(a,b,c)=>{var d=a!=null&&typeof a==="object";if(d){var h=b?s??=new WeakMap:t??=new WeakMap,g=h.get(a);if(g)return g}c=a!=null?p(q(a)):{};let e=b||!a||!a.__esModule?k(c,"default",{value:a,enumerable:!0}):c;for(let f of m(a))if(!n.call(e,f))k(e,f,{get:o.bind(a,f),enumerable:!0});if(d)h.set(a,e);return e},A=(a)=>{var b=(l??=new WeakMap).get(a),c;if(b)return b;if(b=k({},"__esModule",{value:!0}),a&&typeof a==="object"||typeof a==="function"){for(var d of m(a))if(!n.call(b,d))k(b,d,{get:o.bind(a,d),enumerable:!(c=r(a,d))||c.enumerable})}return l.set(a,b),b},l,B=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var u=(a)=>a;function v(a,b){this[a]=u.bind(null,b)}var C=(a,b)=>{for(var c in b)k(a,c,{get:b[c],enumerable:!0,configurable:!0,set:v.bind(b,c)})};var D=(a,b)=>()=>(a&&(b=a(a=0)),b);var F=w(import.meta.url),x=Symbol.dispose||Symbol.for("Symbol.dispose"),y=Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose"),G=(a,b,c)=>{if(b!=null){if(typeof b!=="object"&&typeof b!=="function")throw TypeError('Object expected to be assigned to "using" declaration');var d;if(c)d=b[y];if(d===void 0)d=b[x];if(typeof d!=="function")throw TypeError("Object not disposable");a.push([c,d,b])}else if(c)a.push([c]);return b},H=(a,b,c)=>{var d=typeof SuppressedError==="function"?SuppressedError:function(e,f,i,j){return j=Error(i),j.name="SuppressedError",j.error=e,j.suppressed=f,j},h=(e)=>b=c?new d(e,b,"An error was suppressed during disposal"):(c=!0,e),g=(e)=>{while(e=a.pop())try{var f=e[1]&&e[1].call(e[2]);if(e[0])return Promise.resolve(f).then(g,(i)=>(h(i),g()))}catch(i){h(i)}if(c)throw b};return g()};
|
|
2
|
-
export{z as
|
|
2
|
+
export{z as Zla,A as _la,B as $la,C as ama,D as bma,F as cma,G as dma,H as ema};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{ama as C3,bma as z}from"./cli-0.1.15-mhbfhhf6.mjs";var O,u_,B,h=(_)=>{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 S_=z(()=>{(function(_){_.assertEqual=(W)=>{};function $(W){}_.assertIs=$;function q(W){throw Error()}_.assertNever=q,_.arrayToEnum=(W)=>{let X={};for(let H of W)X[H]=H;return X},_.getValidEnumValues=(W)=>{let X=_.objectKeys(W).filter((Y)=>typeof W[W[Y]]!=="number"),H={};for(let Y of X)H[Y]=W[Y];return _.objectValues(H)},_.objectValues=(W)=>{return _.objectKeys(W).map(function(X){return W[X]})},_.objectKeys=typeof Object.keys==="function"?(W)=>Object.keys(W):(W)=>{let X=[];for(let H in W)if(Object.prototype.hasOwnProperty.call(W,H))X.push(H);return X},_.find=(W,X)=>{for(let H of W)if(X(H))return H;return},_.isInteger=typeof Number.isInteger==="function"?(W)=>Number.isInteger(W):(W)=>typeof W==="number"&&Number.isFinite(W)&&Math.floor(W)===W;function J(W,X=" | "){return W.map((H)=>typeof H==="string"?`'${H}'`:H).join(X)}_.joinValues=J,_.jsonStringifyReplacer=(W,X)=>{if(typeof X==="bigint")return X.toString();return X}})(O||(O={}));(function(_){_.mergeShapes=($,q)=>{return{...$,...q}}})(u_||(u_={}));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,Nq=(_)=>{return JSON.stringify(_,null,2).replace(/"([^"]+)":/g,"$1:")},f;var R_=z(()=>{S_();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 $={},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 F$,K$,f$=(_)=>typeof _==="string"?{...K$,name:_}:{...K$,..._};var L_=z(()=>{F$=Symbol("Let zodToJsonSchema decide on which parser to use"),K$={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 Eq=(_,$)=>{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}},n;var p_=z(()=>{R_();S_();n=Eq});function Uq(_){g$=_}function $_(){return g$}var g$;var K_=z(()=>{p_();g$=n});function D(_,$){let q=$_(),J=v_({issueData:$,data:_.data,path:_.path,errorMaps:[_.common.contextualErrorMap,_.schemaErrorMap,q,q===n?void 0:n].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 b;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 b;if(X.status==="aborted")return b;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 v_=(_)=>{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}},Vq,b,t=(_)=>({status:"dirty",value:_}),K=(_)=>({status:"valid",value:_}),F_=(_)=>_.status==="aborted",f_=(_)=>_.status==="dirty",p=(_)=>_.status==="valid",q_=(_)=>typeof Promise<"u"&&_ instanceof Promise;var i_=z(()=>{K_();p_();Vq=[];b=Object.freeze({status:"aborted"})});var C$=()=>{};var w;var k$=z(()=>{(function(_){_.errToObj=($)=>typeof $==="string"?{message:$}:$||{},_.toString=($)=>typeof $==="string"?$:$?.message})(w||(w={}))});class P{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 h(_.data)}_getOrReturnCtx(_,$){return $||{common:_.parent.common,data:_.data,parsedType:h(_.data),schemaErrorMap:this._def.errorMap,path:_.path,parent:_.parent}}_processInputParams(_){return{status:new L,ctx:{common:_.parent.common,data:_.data,parsedType:h(_.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:h(_)},J=this._parseSync({data:_,path:q.path,parent:q});return I$(q,J)}"~validate"(_){let $={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:_,parsedType:h(_)};if(!this["~standard"].async)try{let q=this._parseSync({data:_,path:[],parent:$});return p(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)=>p(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:h(_)},J=this._parse({data:_,path:q.path,parent:q}),W=await(q_(J)?J:Promise.resolve(J));return I$(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 m({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 I.create(this,this._def)}nullable(){return u.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return k.create(this)}promise(){return __.create(this,this._def)}or(_){return Y_.create([this,_],this._def)}and(_){return G_.create(this,_,this._def)}transform(_){return new m({...j(this._def),schema:this,typeName:M.ZodEffects,effect:{type:"transform",transform:_}})}default(_){let $=typeof _==="function"?_:()=>_;return new w_({...j(this._def),innerType:this,defaultValue:$,typeName:M.ZodDefault})}brand(){return new C_({typeName:M.ZodBranded,type:this,...j(this._def)})}catch(_){let $=typeof _==="function"?_:()=>_;return new b_({...j(this._def),innerType:this,catchValue:$,typeName:M.ZodCatch})}describe(_){return new this.constructor({...this._def,description:_})}pipe(_){return U_.create(this,_)}readonly(){return z_.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}function l$(_){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 nq(_){return new RegExp(`^${l$(_)}$`)}function T$(_){let $=`${m$}T${l$(_)}`,q=[];if(q.push(_.local?"Z?":"Z"),_.offset)q.push("([+-]\\d{2}:?\\d{2})");return $=`${$}(${q.join("|")})`,new RegExp(`^${$}$`)}function Zq(_,$){if(($==="v4"||!$)&&Pq.test(_))return!0;if(($==="v6"||!$)&&lq.test(_))return!0;return!1}function uq(_,$){if(!gq.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 pq(_,$){if(($==="v4"||!$)&&mq.test(_))return!0;if(($==="v6"||!$)&&Tq.test(_))return!0;return!1}function iq(_,$){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 J_(_){if(_ instanceof U){let $={};for(let q in _.shape){let J=_.shape[q];$[q]=I.create(J_(J))}return new U({..._._def,shape:()=>$})}else if(_ instanceof k)return new k({..._._def,type:J_(_.element)});else if(_ instanceof I)return I.create(J_(_.unwrap()));else if(_ instanceof u)return u.create(J_(_.unwrap()));else if(_ instanceof x)return x.create(_.items.map(($)=>J_($)));else return _}function o_(_,$){let q=h(_),J=h($);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=o_(_[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=o_(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 h$(_,$){return new c({values:_,typeName:M.ZodEnum,...j($)})}function P$(_,$){let q=typeof _==="function"?_($):typeof _==="string"?{message:_}:_;return typeof q==="string"?{message:q}:q}function y$(_,$={},q){if(_)return s.create().superRefine((J,W)=>{let X=_(J);if(X instanceof Promise)return X.then((H)=>{if(!H){let Y=P$($,J),Q=Y.fatal??q??!0;W.addIssue({code:"custom",...Y,fatal:Q})}});if(!X){let H=P$($,J),Y=H.fatal??q??!0;W.addIssue({code:"custom",...H,fatal:Y})}return});return s.create()}var I$=(_,$)=>{if(p($))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}}}},Rq,Lq,Kq,Fq,fq,gq,Cq,kq,Iq="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",r_,Pq,mq,lq,Tq,hq,yq,m$="((\\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])))",xq,C,r,o,X_,a,j_,H_,Q_,s,i,y,A_,k,U,Y_,Z=(_)=>{if(_ instanceof M_)return Z(_.schema);else if(_ instanceof m)return Z(_.innerType());else if(_ instanceof B_)return[_.value];else if(_ instanceof c)return _.options;else if(_ instanceof D_)return O.objectValues(_.enum);else if(_ instanceof w_)return Z(_._def.innerType);else if(_ instanceof H_)return[void 0];else if(_ instanceof Q_)return[null];else if(_ instanceof I)return[void 0,...Z(_.unwrap())];else if(_ instanceof u)return[null,...Z(_.unwrap())];else if(_ instanceof C_)return Z(_.unwrap());else if(_ instanceof z_)return Z(_.unwrap());else if(_ instanceof b_)return Z(_._def.innerType);else return[]},g_,G_,x,O_,N_,e,W_,M_,B_,c,D_,__,m,I,u,w_,b_,E_,rq,C_,U_,z_,oq,M,cq=(_,$={message:`Input not instance of ${_.name}`})=>y$((q)=>q instanceof _,$),x$,n$,dq,tq,Z$,aq,sq,eq,_3,$3,q3,J3,W3,X3,H3,Q3,Y3,G3,M3,B3,D3,w3,b3,z3,S3,v3,j3,A3,O3,N3,E3,U3,V3,R3,L3=()=>x$().optional(),K3=()=>n$().optional(),F3=()=>Z$().optional(),f3,g3;var u$=z(()=>{R_();K_();k$();i_();S_();Rq=/^c[^\s-]{8,}$/i,Lq=/^[0-9a-z]+$/,Kq=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Fq=/^[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,fq=/^[a-z0-9_-]{21}$/i,gq=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Cq=/^[-+]?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)?)??$/,kq=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Pq=/^(?:(?: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])$/,mq=/^(?:(?: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])$/,lq=/^(([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]))$/,Tq=/^(([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])$/,hq=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,yq=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,xq=new RegExp(`^${m$}$`);C=class C 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}),b}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(!kq.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(!r_)r_=new RegExp(Iq,"u");if(!r_.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(!Fq.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(!fq.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(!Rq.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(!Lq.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(!Kq.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(!T$(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(!xq.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(!nq(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(!Cq.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(!Zq(_.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(!uq(_.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(!pq(_.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(!hq.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(!yq.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 C({...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 C({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new C({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new C({...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 _}};C.create=(_)=>{return new C({checks:[],typeName:M.ZodString,coerce:_?.coerce??!1,...j(_)})};r=class r 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}),b}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(iq(_.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 r({...this._def,checks:[...this._def.checks,{kind:_,value:$,inclusive:q,message:w.toString(J)}]})}_addCheck(_){return new r({...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(_)}};r.create=(_)=>{return new r({checks:[],typeName:M.ZodNumber,coerce:_?.coerce||!1,...j(_)})};o=class o 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}),b}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 o({...this._def,checks:[...this._def.checks,{kind:_,value:$,inclusive:q,message:w.toString(J)}]})}_addCheck(_){return new o({...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 _}};o.create=(_)=>{return new o({checks:[],typeName:M.ZodBigInt,coerce:_?.coerce??!1,...j(_)})};X_=class X_ 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}),b}return K(_.data)}};X_.create=(_)=>{return new X_({typeName:M.ZodBoolean,coerce:_?.coerce||!1,...j(_)})};a=class a 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}),b}if(Number.isNaN(_.data.getTime())){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_date}),b}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 a({...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}};a.create=(_)=>{return new a({checks:[],coerce:_?.coerce||!1,typeName:M.ZodDate,...j(_)})};j_=class j_ 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}),b}return K(_.data)}};j_.create=(_)=>{return new j_({typeName:M.ZodSymbol,...j(_)})};H_=class H_ 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}),b}return K(_.data)}};H_.create=(_)=>{return new H_({typeName:M.ZodUndefined,...j(_)})};Q_=class Q_ 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}),b}return K(_.data)}};Q_.create=(_)=>{return new Q_({typeName:M.ZodNull,...j(_)})};s=class s extends A{constructor(){super(...arguments);this._any=!0}_parse(_){return K(_.data)}};s.create=(_)=>{return new s({typeName:M.ZodAny,...j(_)})};i=class i extends A{constructor(){super(...arguments);this._unknown=!0}_parse(_){return K(_.data)}};i.create=(_)=>{return new i({typeName:M.ZodUnknown,...j(_)})};y=class y extends A{_parse(_){let $=this._getOrReturnCtx(_);return D($,{code:G.invalid_type,expected:B.never,received:$.parsedType}),b}};y.create=(_)=>{return new y({typeName:M.ZodNever,...j(_)})};A_=class A_ 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}),b}return K(_.data)}};A_.create=(_)=>{return new A_({typeName:M.ZodVoid,...j(_)})};k=class k 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}),b;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 P($,X,$.path,H))})).then((X)=>{return L.mergeArray(q,X)});let W=[...$.data].map((X,H)=>{return J.type._parseSync(new P($,X,$.path,H))});return L.mergeArray(q,W)}get element(){return this._def.type}min(_,$){return new k({...this._def,minLength:{value:_,message:w.toString($)}})}max(_,$){return new k({...this._def,maxLength:{value:_,message:w.toString($)}})}length(_,$){return new k({...this._def,exactLength:{value:_,message:w.toString($)}})}nonempty(_){return this.min(1,_)}};k.create=(_,$)=>{return new k({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}),b}let{status:q,ctx:J}=this._processInputParams(_),{shape:W,keys:X}=this._getCached(),H=[];if(!(this._def.catchall instanceof y&&this._def.unknownKeys==="strip")){for(let Q in J.data)if(!X.includes(Q))H.push(Q)}let Y=[];for(let Q of X){let v=W[Q],R=J.data[Q];Y.push({key:{status:"valid",value:Q},value:v._parse(new P(J,R,J.path,Q)),alwaysSet:Q in J.data})}if(this._def.catchall instanceof y){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 P(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,L$=await v.value;Q.push({key:R,value:L$,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 J_(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 I)W=W._def.innerType;$[q]=W}return new U({...this._def,shape:()=>$})}keyof(){return h$(O.objectKeys(this.shape))}};U.create=(_,$)=>{return new U({shape:()=>_,unknownKeys:"strip",catchall:y.create(),typeName:M.ZodObject,...j($)})};U.strictCreate=(_,$)=>{return new U({shape:()=>_,unknownKeys:"strict",catchall:y.create(),typeName:M.ZodObject,...j($)})};U.lazycreate=(_,$)=>{return new U({shape:_,unknownKeys:"strip",catchall:y.create(),typeName:M.ZodObject,...j($)})};Y_=class Y_ 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}),b}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}),b}}get options(){return this._def.options}};Y_.create=(_,$)=>{return new Y_({options:_,typeName:M.ZodUnion,...j($)})};g_=class g_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_);if($.parsedType!==B.object)return D($,{code:G.invalid_type,expected:B.object,received:$.parsedType}),b;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]}),b;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=Z(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 g_({typeName:M.ZodDiscriminatedUnion,discriminator:_,options:$,optionsMap:J,...j(q)})}};G_=class G_ extends A{_parse(_){let{status:$,ctx:q}=this._processInputParams(_),J=(W,X)=>{if(F_(W)||F_(X))return b;let H=o_(W.value,X.value);if(!H.valid)return D(q,{code:G.invalid_intersection_types}),b;if(f_(W)||f_(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}))}};G_.create=(_,$,q)=>{return new G_({left:_,right:$,typeName:M.ZodIntersection,...j(q)})};x=class x 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}),b;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"}),b;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 P(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 x({...this._def,rest:_})}};x.create=(_,$)=>{if(!Array.isArray(_))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new x({items:_,typeName:M.ZodTuple,rest:null,...j($)})};O_=class O_ 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}),b;let J=[],W=this._def.keyType,X=this._def.valueType;for(let H in q.data)J.push({key:W._parse(new P(q,H,q.path,H)),value:X._parse(new P(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 O_({keyType:_,valueType:$,typeName:M.ZodRecord,...j(q)});return new O_({keyType:C.create(),valueType:_,typeName:M.ZodRecord,...j($)})}};N_=class N_ 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}),b;let J=this._def.keyType,W=this._def.valueType,X=[...q.data.entries()].map(([H,Y],Q)=>{return{key:J._parse(new P(q,H,q.path,[Q,"key"])),value:W._parse(new P(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 b;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 b;if(Q.status==="dirty"||v.status==="dirty")$.dirty();H.set(Q.value,v.value)}return{status:$.value,value:H}}}};N_.create=(_,$,q)=>{return new N_({valueType:$,keyType:_,typeName:M.ZodMap,...j(q)})};e=class e 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}),b;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 b;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 P(q,Y,q.path,Q)));if(q.common.async)return Promise.all(H).then((Y)=>X(Y));else return X(H)}min(_,$){return new e({...this._def,minSize:{value:_,message:w.toString($)}})}max(_,$){return new e({...this._def,maxSize:{value:_,message:w.toString($)}})}size(_,$){return this.min(_,$).max(_,$)}nonempty(_){return this.min(1,_)}};e.create=(_,$)=>{return new e({valueType:_,minSize:null,maxSize:null,typeName:M.ZodSet,...j($)})};W_=class W_ 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}),b;function q(H,Y){return v_({data:H,path:$.path,errorMaps:[$.common.contextualErrorMap,$.schemaErrorMap,$_(),n].filter((Q)=>!!Q),issueData:{code:G.invalid_arguments,argumentsError:Y}})}function J(H,Y){return v_({data:H,path:$.path,errorMaps:[$.common.contextualErrorMap,$.schemaErrorMap,$_(),n].filter((Q)=>!!Q),issueData:{code:G.invalid_return_type,returnTypeError:Y}})}let W={errorMap:$.common.contextualErrorMap},X=$.data;if(this._def.returns instanceof __){let H=this;return K(async function(...Y){let Q=new f([]),v=await H._def.args.parseAsync(Y,W).catch((Z_)=>{throw Q.addIssue(q(Y,Z_)),Q}),R=await Reflect.apply(X,this,v);return await H._def.returns._def.type.parseAsync(R,W).catch((Z_)=>{throw Q.addIssue(J(R,Z_)),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 W_({...this._def,args:x.create(_).rest(i.create())})}returns(_){return new W_({...this._def,returns:_})}implement(_){return this.parse(_)}strictImplement(_){return this.parse(_)}static create(_,$,q){return new W_({args:_?_:x.create([]).rest(i.create()),returns:$||i.create(),typeName:M.ZodFunction,...j(q)})}};M_=class M_ extends A{get schema(){return this._def.getter()}_parse(_){let{ctx:$}=this._processInputParams(_);return this._def.getter()._parse({data:$.data,path:$.path,parent:$})}};M_.create=(_,$)=>{return new M_({getter:_,typeName:M.ZodLazy,...j($)})};B_=class B_ extends A{_parse(_){if(_.data!==this._def.value){let $=this._getOrReturnCtx(_);return D($,{received:$.data,code:G.invalid_literal,expected:this._def.value}),b}return{status:"valid",value:_.data}}get value(){return this._def.value}};B_.create=(_,$)=>{return new B_({value:_,typeName:M.ZodLiteral,...j($)})};c=class c 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}),b}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}),b}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 c.create(_,{...this._def,...$})}exclude(_,$=this._def){return c.create(this.options.filter((q)=>!_.includes(q)),{...this._def,...$})}};c.create=h$;D_=class D_ 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}),b}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}),b}return K(_.data)}get enum(){return this._def.values}};D_.create=(_,$)=>{return new D_({values:_,typeName:M.ZodNativeEnum,...j($)})};__=class __ 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}),b;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})}))}};__.create=(_,$)=>{return new __({type:_,typeName:M.ZodPromise,...j($)})};m=class m 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 b;let Y=await this._def.schema._parseAsync({data:H,path:q.path,parent:q});if(Y.status==="aborted")return b;if(Y.status==="dirty")return t(Y.value);if($.value==="dirty")return t(Y.value);return Y});else{if($.value==="aborted")return b;let H=this._def.schema._parseSync({data:X,path:q.path,parent:q});if(H.status==="aborted")return b;if(H.status==="dirty")return t(H.value);if($.value==="dirty")return t(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 b;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 b;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(!p(X))return b;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(!p(X))return b;return Promise.resolve(J.transform(X.value,W)).then((H)=>({status:$.value,value:H}))});O.assertNever(J)}};m.create=(_,$,q)=>{return new m({schema:_,typeName:M.ZodEffects,effect:$,...j(q)})};m.createWithPreprocess=(_,$,q)=>{return new m({schema:$,effect:{type:"preprocess",transform:_},typeName:M.ZodEffects,...j(q)})};I=class I extends A{_parse(_){if(this._getType(_)===B.undefined)return K(void 0);return this._def.innerType._parse(_)}unwrap(){return this._def.innerType}};I.create=(_,$)=>{return new I({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($)})};w_=class w_ 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}};w_.create=(_,$)=>{return new w_({innerType:_,typeName:M.ZodDefault,defaultValue:typeof $.default==="function"?$.default:()=>$.default,...j($)})};b_=class b_ 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}};b_.create=(_,$)=>{return new b_({innerType:_,typeName:M.ZodCatch,catchValue:typeof $.catch==="function"?$.catch:()=>$.catch,...j($)})};E_=class E_ 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}),b}return{status:"valid",value:_.data}}};E_.create=(_)=>{return new E_({typeName:M.ZodNaN,...j(_)})};rq=Symbol("zod_brand");C_=class C_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_),q=$.data;return this._def.type._parse({data:q,path:$.path,parent:$})}unwrap(){return this._def.type}};U_=class U_ 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 b;if(W.status==="dirty")return $.dirty(),t(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 b;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 U_({in:_,out:$,typeName:M.ZodPipeline})}};z_=class z_ extends A{_parse(_){let $=this._def.innerType._parse(_),q=(J)=>{if(p(J))J.value=Object.freeze(J.value);return J};return q_($)?$.then((J)=>q(J)):q($)}unwrap(){return this._def.innerType}};z_.create=(_,$)=>{return new z_({innerType:_,typeName:M.ZodReadonly,...j($)})};oq={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={}));x$=C.create,n$=r.create,dq=E_.create,tq=o.create,Z$=X_.create,aq=a.create,sq=j_.create,eq=H_.create,_3=Q_.create,$3=s.create,q3=i.create,J3=y.create,W3=A_.create,X3=k.create,H3=U.create,Q3=U.strictCreate,Y3=Y_.create,G3=g_.create,M3=G_.create,B3=x.create,D3=O_.create,w3=N_.create,b3=e.create,z3=W_.create,S3=M_.create,v3=B_.create,j3=c.create,A3=D_.create,O3=__.create,N3=m.create,E3=I.create,U3=u.create,V3=m.createWithPreprocess,R3=U_.create,f3={string:(_)=>C.create({..._,coerce:!0}),number:(_)=>r.create({..._,coerce:!0}),boolean:(_)=>X_.create({..._,coerce:!0}),bigint:(_)=>o.create({..._,coerce:!0}),date:(_)=>a.create({..._,coerce:!0})},g3=b});var k3={};C3(k3,{void:()=>W3,util:()=>O,unknown:()=>q3,union:()=>Y3,undefined:()=>eq,tuple:()=>B3,transformer:()=>N3,symbol:()=>sq,string:()=>x$,strictObject:()=>Q3,setErrorMap:()=>Uq,set:()=>b3,record:()=>D3,quotelessJson:()=>Nq,promise:()=>O3,preprocess:()=>V3,pipeline:()=>R3,ostring:()=>L3,optional:()=>E3,onumber:()=>K3,oboolean:()=>F3,objectUtil:()=>u_,object:()=>H3,number:()=>n$,nullable:()=>U3,null:()=>_3,never:()=>J3,nativeEnum:()=>A3,nan:()=>dq,map:()=>w3,makeIssue:()=>v_,literal:()=>v3,lazy:()=>S3,late:()=>oq,isValid:()=>p,isDirty:()=>f_,isAsync:()=>q_,isAborted:()=>F_,intersection:()=>M3,instanceof:()=>cq,getParsedType:()=>h,getErrorMap:()=>$_,function:()=>z3,enum:()=>j3,effect:()=>N3,discriminatedUnion:()=>G3,defaultErrorMap:()=>n,datetimeRegex:()=>T$,date:()=>aq,custom:()=>y$,coerce:()=>f3,boolean:()=>Z$,bigint:()=>tq,array:()=>X3,any:()=>$3,addIssueToContext:()=>D,ZodVoid:()=>A_,ZodUnknown:()=>i,ZodUnion:()=>Y_,ZodUndefined:()=>H_,ZodType:()=>A,ZodTuple:()=>x,ZodTransformer:()=>m,ZodSymbol:()=>j_,ZodString:()=>C,ZodSet:()=>e,ZodSchema:()=>A,ZodRecord:()=>O_,ZodReadonly:()=>z_,ZodPromise:()=>__,ZodPipeline:()=>U_,ZodParsedType:()=>B,ZodOptional:()=>I,ZodObject:()=>U,ZodNumber:()=>r,ZodNullable:()=>u,ZodNull:()=>Q_,ZodNever:()=>y,ZodNativeEnum:()=>D_,ZodNaN:()=>E_,ZodMap:()=>N_,ZodLiteral:()=>B_,ZodLazy:()=>M_,ZodIssueCode:()=>G,ZodIntersection:()=>G_,ZodFunction:()=>W_,ZodFirstPartyTypeKind:()=>M,ZodError:()=>f,ZodEnum:()=>c,ZodEffects:()=>m,ZodDiscriminatedUnion:()=>g_,ZodDefault:()=>w_,ZodDate:()=>a,ZodCatch:()=>b_,ZodBranded:()=>C_,ZodBoolean:()=>X_,ZodBigInt:()=>o,ZodArray:()=>k,ZodAny:()=>s,Schema:()=>A,ParseStatus:()=>L,OK:()=>K,NEVER:()=>g3,INVALID:()=>b,EMPTY_PATH:()=>Vq,DIRTY:()=>t,BRAND:()=>rq});var p$=z(()=>{K_();i_();C$();S_();u$();R_()});var k_=z(()=>{p$()});var I_=(_,$)=>{let q=0;for(;q<_.length&&q<$.length;q++)if(_[q]!==$[q])break;return[(_.length-q).toString(),...$.slice(q)].join("/")};var P_=()=>{};function E(_){if(_.target!=="openAi")return{};let $=[..._.basePath,_.definitionPath,_.openAiAnyTypeName];return _.flags.hasReferencedOpenAiAnyType=!0,{$ref:_.$refStrategy==="relative"?I_($,_.currentPath):$.join("/")}}var g=z(()=>{P_()});function c_(_,$,q,J){if(!J?.errorMessages)return;if(q)_.errorMessage={..._.errorMessage,[$]:q}}function N(_,$,q,J,W){_[$]=q,c_(_,$,J,W)}var d=()=>{};function i$(_,$){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 d_=z(()=>{k_();d();V()});function r$(_,$){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 t_=z(()=>{d()});function o$(){return{type:"boolean"}}var a_=()=>{};function m_(_,$){return S(_.type._def,$)}var l_=z(()=>{V()});var c$=(_,$)=>{return S(_.innerType._def,$)};var s_=z(()=>{V()});function e_(_,$,q){let J=q??$.dateStrategy;if(Array.isArray(J))return{anyOf:J.map((W,X)=>e_(_,$,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 I3(_,$)}}var I3=(_,$)=>{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 _$=z(()=>{d()});function d$(_,$){return{...S(_.innerType._def,$),default:_.defaultValue()}}var $$=z(()=>{V()});function t$(_,$){return $.effectStrategy==="input"?S(_.schema._def,$):E($)}var q$=z(()=>{V();g()});function a$(_){return{type:"string",enum:Array.from(_.values)}}var J$=()=>{};function s$(_,$){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(P3(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 P3=(_)=>{if("type"in _&&_.type==="string")return!1;return"allOf"in _};var W$=z(()=>{V()});function e$(_,$){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 X$=()=>{};function T_(_,$){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":T(q,"email",J.message,$);break;case"format:idn-email":T(q,"idn-email",J.message,$);break;case"pattern:zod":F(q,l.email,J.message,$);break}break;case"url":T(q,"uri",J.message,$);break;case"uuid":T(q,"uuid",J.message,$);break;case"regex":F(q,J.regex,J.message,$);break;case"cuid":F(q,l.cuid,J.message,$);break;case"cuid2":F(q,l.cuid2,J.message,$);break;case"startsWith":F(q,RegExp(`^${Q$(J.value,$)}`),J.message,$);break;case"endsWith":F(q,RegExp(`${Q$(J.value,$)}$`),J.message,$);break;case"datetime":T(q,"date-time",J.message,$);break;case"date":T(q,"date",J.message,$);break;case"time":T(q,"time",J.message,$);break;case"duration":T(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(Q$(J.value,$)),J.message,$);break}case"ip":{if(J.version!=="v6")T(q,"ipv4",J.message,$);if(J.version!=="v4")T(q,"ipv6",J.message,$);break}case"base64url":F(q,l.base64url,J.message,$);break;case"jwt":F(q,l.jwt,J.message,$);break;case"cidr":{if(J.version!=="v6")F(q,l.ipv4Cidr,J.message,$);if(J.version!=="v4")F(q,l.ipv6Cidr,J.message,$);break}case"emoji":F(q,l.emoji(),J.message,$);break;case"ulid":{F(q,l.ulid,J.message,$);break}case"base64":{switch($.base64Strategy){case"format:binary":{T(q,"binary",J.message,$);break}case"contentEncoding:base64":{N(q,"contentEncoding","base64",J.message,$);break}case"pattern:zod":{F(q,l.base64,J.message,$);break}}break}case"nanoid":F(q,l.nanoid,J.message,$);case"toLowerCase":case"toUpperCase":case"trim":break;default:((W)=>{})(J)}return q}function Q$(_,$){return $.patternStrategy==="escape"?l3(_):_}function l3(_){let $="";for(let q=0;q<_.length;q++){if(!m3.has(_[q]))$+="\\";$+=_[q]}return $}function T(_,$,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:_q($,J),...q&&J.errorMessages&&{errorMessage:{pattern:q}}})}else N(_,"pattern",_q($,J),q,J)}function _q(_,$){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 H$=void 0,l,m3;var h_=z(()=>{d();l={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(H$===void 0)H$=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u");return H$},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-_]*$/};m3=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789")});function y_(_,$){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}=T_(_.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}=m_(_.keyType._def,$);return{...q,propertyNames:W}}return q}var x_=z(()=>{k_();V();h_();l_();g()});function $q(_,$){if($.mapStrategy==="record")return y_(_,$);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 Y$=z(()=>{V();x_();g()});function qq(_){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 G$=()=>{};function Jq(_){return _.target==="openAi"?void 0:{not:E({..._,currentPath:[..._.currentPath,"not"]})}}var M$=z(()=>{g()});function Wq(_){return _.target==="openApi3"?{enum:["null"],nullable:!0}:{type:"null"}}var B$=()=>{};function Hq(_,$){if($.target==="openApi3")return Xq(_,$);let q=_.options instanceof Map?Array.from(_.options.values()):_.options;if(q.every((J)=>(J._def.typeName in V_)&&(!J._def.checks||!J._def.checks.length))){let J=q.reduce((W,X)=>{let H=V_[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 Xq(_,$)}var V_,Xq=(_,$)=>{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 n_=z(()=>{V();V_={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"}});function Qq(_,$){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(_.innerType._def.typeName)&&(!_.innerType._def.checks||!_.innerType._def.checks.length)){if($.target==="openApi3")return{type:V_[_.innerType._def.typeName],nullable:!0};return{type:[V_[_.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 D$=z(()=>{V();n_()});function Yq(_,$){let q={type:"number"};if(!_.checks)return q;for(let J of _.checks)switch(J.kind){case"int":q.type="integer",c_(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 w$=z(()=>{d()});function Gq(_,$){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=h3(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=T3(_,$);if(H!==void 0)J.additionalProperties=H;return J}function T3(_,$){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 h3(_){try{return _.isOptional()}catch{return!0}}var b$=z(()=>{V()});var Mq=(_,$)=>{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 z$=z(()=>{V();g()});var Bq=(_,$)=>{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 S$=z(()=>{V()});function Dq(_,$){return S(_.type._def,$)}var v$=z(()=>{V()});function wq(_,$){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 j$=z(()=>{d();V()});function bq(_,$){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 A$=z(()=>{V()});function zq(_){return{not:E(_)}}var O$=z(()=>{g()});function Sq(_){return E(_)}var N$=z(()=>{g()});var vq=(_,$)=>{return S(_.innerType._def,$)};var E$=z(()=>{V()});var jq=(_,$,q)=>{switch($){case M.ZodString:return T_(_,q);case M.ZodNumber:return Yq(_,q);case M.ZodObject:return Gq(_,q);case M.ZodBigInt:return r$(_,q);case M.ZodBoolean:return o$();case M.ZodDate:return e_(_,q);case M.ZodUndefined:return zq(q);case M.ZodNull:return Wq(q);case M.ZodArray:return i$(_,q);case M.ZodUnion:case M.ZodDiscriminatedUnion:return Hq(_,q);case M.ZodIntersection:return s$(_,q);case M.ZodTuple:return bq(_,q);case M.ZodRecord:return y_(_,q);case M.ZodLiteral:return e$(_,q);case M.ZodEnum:return a$(_);case M.ZodNativeEnum:return qq(_);case M.ZodNullable:return Qq(_,q);case M.ZodOptional:return Mq(_,q);case M.ZodMap:return $q(_,q);case M.ZodSet:return wq(_,q);case M.ZodLazy:return()=>_.getter()._def;case M.ZodPromise:return Dq(_,q);case M.ZodNaN:case M.ZodNever:return Jq(q);case M.ZodEffects:return t$(_,q);case M.ZodAny:return E(q);case M.ZodUnknown:return Sq(q);case M.ZodDefault:return d$(_,q);case M.ZodBranded:return m_(_,q);case M.ZodReadonly:return vq(_,q);case M.ZodCatch:return c$(_,q);case M.ZodPipeline:return Bq(_,q);case M.ZodFunction:case M.ZodVoid:case M.ZodSymbol:return;default:return((J)=>{return})($)}};var U$=z(()=>{k_();g();d_();t_();a_();l_();s_();_$();$$();q$();J$();W$();X$();Y$();G$();M$();B$();D$();w$();b$();z$();S$();v$();x_();j$();h_();A$();O$();n_();N$();E$()});function S(_,$,q=!1){let J=$.seen.get(_);if($.override){let Y=$.override?.(_,$,J,q);if(Y!==F$)return Y}if(J&&!q){let Y=y3(J,$);if(Y!==void 0)return Y}let W={def:_,path:$.currentPath,jsonSchema:void 0};$.seen.set(_,W);let X=jq(_,_.typeName,$),H=typeof X==="function"?S(X(),$):X;if(H)x3(_,$,H);if($.postProcess){let Y=$.postProcess(H,_,$);return W.jsonSchema=H,Y}return W.jsonSchema=H,H}var y3=(_,$)=>{switch($.$refStrategy){case"root":return{$ref:_.path.join("/")};case"relative":return{$ref:I_($.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}}},x3=(_,$,q)=>{if(_.description){if(q.description=_.description,$.markdownDescription)q.markdownDescription=_.description}return q};var V=z(()=>{L_();U$();P_();g()});var Aq=(_)=>{let $=f$(_),q=$.name!==void 0?[...$.basePath,$.definitionPath,$.name]:$.basePath;return{...$,flags:{hasReferencedOpenAiAnyType:!1},currentPath:q,propertyPath:void 0,seen:new Map(Object.entries($.definitions).map(([J,W])=>[W._def,{def:W._def,path:[...$.basePath,$.definitionPath,J],jsonSchema:void 0}]))}};var V$=z(()=>{L_()});var n3=(_,$)=>{let q=Aq($),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 R$=z(()=>{V();V$();g()});var Oq=()=>{};var Z3=z(()=>{R$();L_();V$();d();P_();V();Oq();g();d_();t_();a_();l_();s_();_$();$$();q$();J$();W$();X$();Y$();G$();M$();B$();D$();w$();b$();z$();S$();v$();E$();x_();j$();h_();A$();O$();n_();N$();U$();R$()});
|
|
6
|
+
export{f as yV,k3 as zV,p$ as AV,n3 as BV,Z3 as CV};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{T as
|
|
1
|
+
import{CU as t,QS as s,fV as f}from"./cli-0.1.15-68f0jtkh.mjs";import{EV as n,FV as c,GV as r}from"./cli-0.1.15-gxgy4enj.mjs";import{Zla as m,bma as l}from"./cli-0.1.15-mhbfhhf6.mjs";function T(){let o=i.c(1),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e=c(t,{color:"permission",children:["Press ",n(t,{bold:!0,children:"Enter"})," to continue…"]}),o[0]=e;else e=o[0];return e}var i;var p=l(()=>{f();r();i=m(s(),1)});
|
|
2
|
+
export{T as Me,p as Ne};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{$5 as st,R5 as nt,S5 as hl,T5 as bl,U5 as ml,V5 as fn,W5 as $c,X5 as fu,Y5 as Al,Z5 as ys,_5 as El,a6 as hs,b6 as k,c6 as ur,d6 as Qc,e6 as Bc,f6 as ra,g6 as Xc,h6 as Yc,i6 as Zc,j6 as Jc,k6 as el,l6 as Hc,m6 as cr,n6 as Cc,o6 as Ts,p6 as gl}from"./cli-0.1.13-ky4z1s1h.mjs";import{q6 as ie}from"./cli-0.1.13-84tbx1nf.mjs";import{Ina as kc,Jna as Le}from"./cli-0.1.13-0hyneh5t.mjs";import{Lna as Vc}from"./cli-0.1.13-579v6j6d.mjs";import{Nna as Fe,Ona as ve,Rna as De,Sna as ee}from"./cli-0.1.13-tknwgkgp.mjs";import{Vna as E,Yna as Bs}from"./cli-0.1.13-bj67mp7n.mjs";var _t=E((S)=>{Object.defineProperty(S,"__esModule",{value:!0});S.resolveHttpHandlerRuntimeConfig=S.getHttpHandlerExtensionConfiguration=S.isValidHostname=S.HttpResponse=S.HttpRequest=S.Fields=S.Field=void 0;var N=ee();Object.defineProperty(S,"Field",{enumerable:!0,get:function(){return N.Field}});Object.defineProperty(S,"Fields",{enumerable:!0,get:function(){return N.Fields}});Object.defineProperty(S,"HttpRequest",{enumerable:!0,get:function(){return N.HttpRequest}});Object.defineProperty(S,"HttpResponse",{enumerable:!0,get:function(){return N.HttpResponse}});Object.defineProperty(S,"isValidHostname",{enumerable:!0,get:function(){return N.isValidHostname}});Object.defineProperty(S,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return N.getHttpHandlerExtensionConfiguration}});Object.defineProperty(S,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return N.resolveHttpHandlerRuntimeConfig}})});var Ot=E((c)=>{Object.defineProperty(c,"__esModule",{value:!0});c.createAggregatedClient=c.convertMap=c._json=c.ServiceException=c.SENSITIVE_STRING=c.NoOpLogger=c.Command=c.Client=c.strictParseShort=c.strictParseLong=c.strictParseInt32=c.strictParseInt=c.strictParseFloat32=c.strictParseFloat=c.strictParseDouble=c.strictParseByte=c.splitHeader=c.splitEvery=c.quoteHeader=c.parseRfc7231DateTime=c.parseRfc3339DateTimeWithOffset=c.parseRfc3339DateTime=c.parseEpochTimestamp=c.parseBoolean=c.nv=c.logger=c.limitedParseFloat32=c.limitedParseFloat=c.limitedParseDouble=c.handleFloat=c.generateIdempotencyToken=c.expectUnion=c.expectString=c.expectShort=c.expectObject=c.expectNumber=c.expectNonNull=c.expectLong=c.expectInt32=c.expectInt=c.expectFloat32=c.expectByte=c.expectBoolean=c.dateToUtcString=c.copyDocumentWithTransform=c._parseRfc7231DateTime=c._parseRfc3339DateTimeWithOffset=c._parseEpochTimestamp=c.NumericValue=c.LazyJsonString=void 0;c.resolvedPath=c.extendedEncodeURIComponent=c.collectBody=c.withBaseException=c.throwDefaultError=c.take=c.serializeFloat=c.serializeDateTime=c.resolveDefaultRuntimeConfig=c.map=c.loadConfigsForDefaultMode=c.isSerializableHeaderValue=c.getValueFromTextNode=c.getDefaultExtensionConfiguration=c.getDefaultClientConfiguration=c.getArrayIfSingleItem=c.emitWarningIfUnsupportedVersion=c.decorateServiceException=void 0;var p=De();Object.defineProperty(c,"LazyJsonString",{enumerable:!0,get:function(){return p.LazyJsonString}});Object.defineProperty(c,"NumericValue",{enumerable:!0,get:function(){return p.NumericValue}});Object.defineProperty(c,"_parseEpochTimestamp",{enumerable:!0,get:function(){return p._parseEpochTimestamp}});Object.defineProperty(c,"_parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return p._parseRfc3339DateTimeWithOffset}});Object.defineProperty(c,"_parseRfc7231DateTime",{enumerable:!0,get:function(){return p._parseRfc7231DateTime}});Object.defineProperty(c,"copyDocumentWithTransform",{enumerable:!0,get:function(){return p.copyDocumentWithTransform}});Object.defineProperty(c,"dateToUtcString",{enumerable:!0,get:function(){return p.dateToUtcString}});Object.defineProperty(c,"expectBoolean",{enumerable:!0,get:function(){return p.expectBoolean}});Object.defineProperty(c,"expectByte",{enumerable:!0,get:function(){return p.expectByte}});Object.defineProperty(c,"expectFloat32",{enumerable:!0,get:function(){return p.expectFloat32}});Object.defineProperty(c,"expectInt",{enumerable:!0,get:function(){return p.expectInt}});Object.defineProperty(c,"expectInt32",{enumerable:!0,get:function(){return p.expectInt32}});Object.defineProperty(c,"expectLong",{enumerable:!0,get:function(){return p.expectLong}});Object.defineProperty(c,"expectNonNull",{enumerable:!0,get:function(){return p.expectNonNull}});Object.defineProperty(c,"expectNumber",{enumerable:!0,get:function(){return p.expectNumber}});Object.defineProperty(c,"expectObject",{enumerable:!0,get:function(){return p.expectObject}});Object.defineProperty(c,"expectShort",{enumerable:!0,get:function(){return p.expectShort}});Object.defineProperty(c,"expectString",{enumerable:!0,get:function(){return p.expectString}});Object.defineProperty(c,"expectUnion",{enumerable:!0,get:function(){return p.expectUnion}});Object.defineProperty(c,"generateIdempotencyToken",{enumerable:!0,get:function(){return p.generateIdempotencyToken}});Object.defineProperty(c,"handleFloat",{enumerable:!0,get:function(){return p.handleFloat}});Object.defineProperty(c,"limitedParseDouble",{enumerable:!0,get:function(){return p.limitedParseDouble}});Object.defineProperty(c,"limitedParseFloat",{enumerable:!0,get:function(){return p.limitedParseFloat}});Object.defineProperty(c,"limitedParseFloat32",{enumerable:!0,get:function(){return p.limitedParseFloat32}});Object.defineProperty(c,"logger",{enumerable:!0,get:function(){return p.logger}});Object.defineProperty(c,"nv",{enumerable:!0,get:function(){return p.nv}});Object.defineProperty(c,"parseBoolean",{enumerable:!0,get:function(){return p.parseBoolean}});Object.defineProperty(c,"parseEpochTimestamp",{enumerable:!0,get:function(){return p.parseEpochTimestamp}});Object.defineProperty(c,"parseRfc3339DateTime",{enumerable:!0,get:function(){return p.parseRfc3339DateTime}});Object.defineProperty(c,"parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return p.parseRfc3339DateTimeWithOffset}});Object.defineProperty(c,"parseRfc7231DateTime",{enumerable:!0,get:function(){return p.parseRfc7231DateTime}});Object.defineProperty(c,"quoteHeader",{enumerable:!0,get:function(){return p.quoteHeader}});Object.defineProperty(c,"splitEvery",{enumerable:!0,get:function(){return p.splitEvery}});Object.defineProperty(c,"splitHeader",{enumerable:!0,get:function(){return p.splitHeader}});Object.defineProperty(c,"strictParseByte",{enumerable:!0,get:function(){return p.strictParseByte}});Object.defineProperty(c,"strictParseDouble",{enumerable:!0,get:function(){return p.strictParseDouble}});Object.defineProperty(c,"strictParseFloat",{enumerable:!0,get:function(){return p.strictParseFloat}});Object.defineProperty(c,"strictParseFloat32",{enumerable:!0,get:function(){return p.strictParseFloat32}});Object.defineProperty(c,"strictParseInt",{enumerable:!0,get:function(){return p.strictParseInt}});Object.defineProperty(c,"strictParseInt32",{enumerable:!0,get:function(){return p.strictParseInt32}});Object.defineProperty(c,"strictParseLong",{enumerable:!0,get:function(){return p.strictParseLong}});Object.defineProperty(c,"strictParseShort",{enumerable:!0,get:function(){return p.strictParseShort}});var A=ve();Object.defineProperty(c,"Client",{enumerable:!0,get:function(){return A.Client}});Object.defineProperty(c,"Command",{enumerable:!0,get:function(){return A.Command}});Object.defineProperty(c,"NoOpLogger",{enumerable:!0,get:function(){return A.NoOpLogger}});Object.defineProperty(c,"SENSITIVE_STRING",{enumerable:!0,get:function(){return A.SENSITIVE_STRING}});Object.defineProperty(c,"ServiceException",{enumerable:!0,get:function(){return A.ServiceException}});Object.defineProperty(c,"_json",{enumerable:!0,get:function(){return A._json}});Object.defineProperty(c,"convertMap",{enumerable:!0,get:function(){return A.convertMap}});Object.defineProperty(c,"createAggregatedClient",{enumerable:!0,get:function(){return A.createAggregatedClient}});Object.defineProperty(c,"decorateServiceException",{enumerable:!0,get:function(){return A.decorateServiceException}});Object.defineProperty(c,"emitWarningIfUnsupportedVersion",{enumerable:!0,get:function(){return A.emitWarningIfUnsupportedVersion}});Object.defineProperty(c,"getArrayIfSingleItem",{enumerable:!0,get:function(){return A.getArrayIfSingleItem}});Object.defineProperty(c,"getDefaultClientConfiguration",{enumerable:!0,get:function(){return A.getDefaultClientConfiguration}});Object.defineProperty(c,"getDefaultExtensionConfiguration",{enumerable:!0,get:function(){return A.getDefaultExtensionConfiguration}});Object.defineProperty(c,"getValueFromTextNode",{enumerable:!0,get:function(){return A.getValueFromTextNode}});Object.defineProperty(c,"isSerializableHeaderValue",{enumerable:!0,get:function(){return A.isSerializableHeaderValue}});Object.defineProperty(c,"loadConfigsForDefaultMode",{enumerable:!0,get:function(){return A.loadConfigsForDefaultMode}});Object.defineProperty(c,"map",{enumerable:!0,get:function(){return A.map}});Object.defineProperty(c,"resolveDefaultRuntimeConfig",{enumerable:!0,get:function(){return A.resolveDefaultRuntimeConfig}});Object.defineProperty(c,"serializeDateTime",{enumerable:!0,get:function(){return A.serializeDateTime}});Object.defineProperty(c,"serializeFloat",{enumerable:!0,get:function(){return A.serializeFloat}});Object.defineProperty(c,"take",{enumerable:!0,get:function(){return A.take}});Object.defineProperty(c,"throwDefaultError",{enumerable:!0,get:function(){return A.throwDefaultError}});Object.defineProperty(c,"withBaseException",{enumerable:!0,get:function(){return A.withBaseException}});var Ie=ee();Object.defineProperty(c,"collectBody",{enumerable:!0,get:function(){return Ie.collectBody}});Object.defineProperty(c,"extendedEncodeURIComponent",{enumerable:!0,get:function(){return Ie.extendedEncodeURIComponent}});Object.defineProperty(c,"resolvedPath",{enumerable:!0,get:function(){return Ie.resolvedPath}})});var xt=E((Nt)=>{Object.defineProperty(Nt,"__esModule",{value:!0});Nt.toStream=Ys;var Xs=Bs("node:stream");function Ys(e){return Xs.Readable.from(Buffer.from(e))}});var jt=E((ro)=>{var Js=(e)=>typeof e==="string"&&e.indexOf("arn:")===0&&e.split(":").length>=6,eo=(e)=>{let t=e.split(":");if(t.length<6||t[0]!=="arn")throw Error("Malformed ARN");let[,r,n,s,o,...a]=t;return{partition:r,service:n,region:s,accountId:o,resource:a.join(":")}},to=(e)=>{let{partition:t="aws",service:r,region:n,accountId:s,resource:o}=e;if([r,n,s,o].some((a)=>typeof a!=="string"))throw Error("Input ARN object is invalid");return`arn:${t}:${r}:${n}:${s}:${o}`};ro.build=to;ro.parse=eo;ro.validate=Js});var or=E((ho)=>{var v=De(),$t=ve(),W=ee();class Mt{format(e){let t=[];for(let s of Object.keys(e)){let o=v.fromUtf8(s);t.push(Uint8Array.from([o.byteLength]),o,this.formatHeaderValue(e[s]))}let r=new Uint8Array(t.reduce((s,o)=>s+o.byteLength,0)),n=0;for(let s of t)r.set(s,n),n+=s.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":let n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":let s=new DataView(new ArrayBuffer(3+e.value.byteLength));s.setUint8(0,6),s.setUint16(1,e.value.byteLength,!1);let o=new Uint8Array(s.buffer);return o.set(e.value,3),o;case"string":let a=v.fromUtf8(e.value),u=new DataView(new ArrayBuffer(3+a.byteLength));u.setUint8(0,7),u.setUint16(1,a.byteLength,!1);let i=new Uint8Array(u.buffer);return i.set(a,3),i;case"timestamp":let d=new Uint8Array(9);return d[0]=8,d.set(_e.fromNumber(e.value.valueOf()).bytes,1),d;case"uuid":if(!ao.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let l=new Uint8Array(17);return l[0]=9,l.set(v.fromHex(e.value.replace(/\-/g,"")),1),l}}}var Ht;(function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"})(Ht||(Ht={}));var ao=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class _e{bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>9223372036854776000||e<-9223372036854776000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;if(e<0)Ct(t);return new _e(t)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;if(t)Ct(e);return parseInt(v.toHex(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function Ct(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1;t--)if(e[t]++,e[t]!==0)break}var Ft="X-Amz-Algorithm",Lt="X-Amz-Credential",Oe="X-Amz-Date",Gt="X-Amz-SignedHeaders",Wt="X-Amz-Expires",Ne="X-Amz-Signature",xe="X-Amz-Security-Token",io="X-Amz-Region-Set",je="authorization",$e=Oe.toLowerCase(),Kt="date",zt=[je,$e,Kt],qt=Ne.toLowerCase(),oe="x-amz-content-sha256",Vt=xe.toLowerCase(),uo="host",kt={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},Qt=/^proxy-/,Bt=/^sec-/,co=[/^proxy-/i,/^sec-/i],te="AWS4-HMAC-SHA256",lo="AWS4-ECDSA-P256-SHA256",Xt="AWS4-HMAC-SHA256-PAYLOAD",Yt="UNSIGNED-PAYLOAD",Zt=50,He="aws4_request",Jt=604800,er=({query:e={}})=>{let t=[],r={};for(let n of Object.keys(e)){if(n.toLowerCase()===qt)continue;let s=W.escapeUri(n);t.push(s);let o=e[n];if(typeof o==="string")r[s]=`${s}=${W.escapeUri(o)}`;else if(Array.isArray(o))r[s]=o.slice(0).reduce((a,u)=>a.concat([`${s}=${W.escapeUri(u)}`]),[]).sort().join("&")}return t.sort().map((n)=>r[n]).filter((n)=>n).join("&")},po=(e)=>fo(e).toISOString().replace(/\.\d{3}Z$/,"Z"),fo=(e)=>{if(typeof e==="number")return new Date(e*1000);if(typeof e==="string"){if(Number(e))return new Date(Number(e)*1000);return new Date(e)}return e};class Ce{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){this.service=n,this.sha256=s,this.uriEscapePath=o,this.applyChecksum=typeof e==="boolean"?e:!0,this.regionProvider=$t.normalizeProvider(r),this.credentialProvider=$t.normalizeProvider(t)}createCanonicalRequest(e,t,r){let n=Object.keys(t).sort();return`${e.method}
|
|
1
|
+
import{$3 as bl,Z3 as nt,_3 as hl,a4 as ml,b4 as fn,c4 as $c,d4 as fu,e4 as Al,f4 as ys,g4 as El,h4 as st,i4 as hs,j4 as k,k4 as ur,l4 as Qc,m4 as Bc,n4 as ra,o4 as Xc,p4 as Yc,q4 as Zc,r4 as Jc,s4 as el,t4 as Hc,u4 as cr,v4 as Cc,w4 as Ts,x4 as gl}from"./cli-0.1.15-xe4dq144.mjs";import{y4 as ie}from"./cli-0.1.15-v07ep52w.mjs";import{Ola as kc,Pla as Le}from"./cli-0.1.15-6r630k68.mjs";import{Rla as Vc}from"./cli-0.1.15-gkzany0s.mjs";import{Tla as Fe,Ula as ve,Xla as De,Yla as ee}from"./cli-0.1.15-acdm8b28.mjs";import{$la as E,cma as Bs}from"./cli-0.1.15-mhbfhhf6.mjs";var _t=E((S)=>{Object.defineProperty(S,"__esModule",{value:!0});S.resolveHttpHandlerRuntimeConfig=S.getHttpHandlerExtensionConfiguration=S.isValidHostname=S.HttpResponse=S.HttpRequest=S.Fields=S.Field=void 0;var N=ee();Object.defineProperty(S,"Field",{enumerable:!0,get:function(){return N.Field}});Object.defineProperty(S,"Fields",{enumerable:!0,get:function(){return N.Fields}});Object.defineProperty(S,"HttpRequest",{enumerable:!0,get:function(){return N.HttpRequest}});Object.defineProperty(S,"HttpResponse",{enumerable:!0,get:function(){return N.HttpResponse}});Object.defineProperty(S,"isValidHostname",{enumerable:!0,get:function(){return N.isValidHostname}});Object.defineProperty(S,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return N.getHttpHandlerExtensionConfiguration}});Object.defineProperty(S,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return N.resolveHttpHandlerRuntimeConfig}})});var Ot=E((c)=>{Object.defineProperty(c,"__esModule",{value:!0});c.createAggregatedClient=c.convertMap=c._json=c.ServiceException=c.SENSITIVE_STRING=c.NoOpLogger=c.Command=c.Client=c.strictParseShort=c.strictParseLong=c.strictParseInt32=c.strictParseInt=c.strictParseFloat32=c.strictParseFloat=c.strictParseDouble=c.strictParseByte=c.splitHeader=c.splitEvery=c.quoteHeader=c.parseRfc7231DateTime=c.parseRfc3339DateTimeWithOffset=c.parseRfc3339DateTime=c.parseEpochTimestamp=c.parseBoolean=c.nv=c.logger=c.limitedParseFloat32=c.limitedParseFloat=c.limitedParseDouble=c.handleFloat=c.generateIdempotencyToken=c.expectUnion=c.expectString=c.expectShort=c.expectObject=c.expectNumber=c.expectNonNull=c.expectLong=c.expectInt32=c.expectInt=c.expectFloat32=c.expectByte=c.expectBoolean=c.dateToUtcString=c.copyDocumentWithTransform=c._parseRfc7231DateTime=c._parseRfc3339DateTimeWithOffset=c._parseEpochTimestamp=c.NumericValue=c.LazyJsonString=void 0;c.resolvedPath=c.extendedEncodeURIComponent=c.collectBody=c.withBaseException=c.throwDefaultError=c.take=c.serializeFloat=c.serializeDateTime=c.resolveDefaultRuntimeConfig=c.map=c.loadConfigsForDefaultMode=c.isSerializableHeaderValue=c.getValueFromTextNode=c.getDefaultExtensionConfiguration=c.getDefaultClientConfiguration=c.getArrayIfSingleItem=c.emitWarningIfUnsupportedVersion=c.decorateServiceException=void 0;var p=De();Object.defineProperty(c,"LazyJsonString",{enumerable:!0,get:function(){return p.LazyJsonString}});Object.defineProperty(c,"NumericValue",{enumerable:!0,get:function(){return p.NumericValue}});Object.defineProperty(c,"_parseEpochTimestamp",{enumerable:!0,get:function(){return p._parseEpochTimestamp}});Object.defineProperty(c,"_parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return p._parseRfc3339DateTimeWithOffset}});Object.defineProperty(c,"_parseRfc7231DateTime",{enumerable:!0,get:function(){return p._parseRfc7231DateTime}});Object.defineProperty(c,"copyDocumentWithTransform",{enumerable:!0,get:function(){return p.copyDocumentWithTransform}});Object.defineProperty(c,"dateToUtcString",{enumerable:!0,get:function(){return p.dateToUtcString}});Object.defineProperty(c,"expectBoolean",{enumerable:!0,get:function(){return p.expectBoolean}});Object.defineProperty(c,"expectByte",{enumerable:!0,get:function(){return p.expectByte}});Object.defineProperty(c,"expectFloat32",{enumerable:!0,get:function(){return p.expectFloat32}});Object.defineProperty(c,"expectInt",{enumerable:!0,get:function(){return p.expectInt}});Object.defineProperty(c,"expectInt32",{enumerable:!0,get:function(){return p.expectInt32}});Object.defineProperty(c,"expectLong",{enumerable:!0,get:function(){return p.expectLong}});Object.defineProperty(c,"expectNonNull",{enumerable:!0,get:function(){return p.expectNonNull}});Object.defineProperty(c,"expectNumber",{enumerable:!0,get:function(){return p.expectNumber}});Object.defineProperty(c,"expectObject",{enumerable:!0,get:function(){return p.expectObject}});Object.defineProperty(c,"expectShort",{enumerable:!0,get:function(){return p.expectShort}});Object.defineProperty(c,"expectString",{enumerable:!0,get:function(){return p.expectString}});Object.defineProperty(c,"expectUnion",{enumerable:!0,get:function(){return p.expectUnion}});Object.defineProperty(c,"generateIdempotencyToken",{enumerable:!0,get:function(){return p.generateIdempotencyToken}});Object.defineProperty(c,"handleFloat",{enumerable:!0,get:function(){return p.handleFloat}});Object.defineProperty(c,"limitedParseDouble",{enumerable:!0,get:function(){return p.limitedParseDouble}});Object.defineProperty(c,"limitedParseFloat",{enumerable:!0,get:function(){return p.limitedParseFloat}});Object.defineProperty(c,"limitedParseFloat32",{enumerable:!0,get:function(){return p.limitedParseFloat32}});Object.defineProperty(c,"logger",{enumerable:!0,get:function(){return p.logger}});Object.defineProperty(c,"nv",{enumerable:!0,get:function(){return p.nv}});Object.defineProperty(c,"parseBoolean",{enumerable:!0,get:function(){return p.parseBoolean}});Object.defineProperty(c,"parseEpochTimestamp",{enumerable:!0,get:function(){return p.parseEpochTimestamp}});Object.defineProperty(c,"parseRfc3339DateTime",{enumerable:!0,get:function(){return p.parseRfc3339DateTime}});Object.defineProperty(c,"parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return p.parseRfc3339DateTimeWithOffset}});Object.defineProperty(c,"parseRfc7231DateTime",{enumerable:!0,get:function(){return p.parseRfc7231DateTime}});Object.defineProperty(c,"quoteHeader",{enumerable:!0,get:function(){return p.quoteHeader}});Object.defineProperty(c,"splitEvery",{enumerable:!0,get:function(){return p.splitEvery}});Object.defineProperty(c,"splitHeader",{enumerable:!0,get:function(){return p.splitHeader}});Object.defineProperty(c,"strictParseByte",{enumerable:!0,get:function(){return p.strictParseByte}});Object.defineProperty(c,"strictParseDouble",{enumerable:!0,get:function(){return p.strictParseDouble}});Object.defineProperty(c,"strictParseFloat",{enumerable:!0,get:function(){return p.strictParseFloat}});Object.defineProperty(c,"strictParseFloat32",{enumerable:!0,get:function(){return p.strictParseFloat32}});Object.defineProperty(c,"strictParseInt",{enumerable:!0,get:function(){return p.strictParseInt}});Object.defineProperty(c,"strictParseInt32",{enumerable:!0,get:function(){return p.strictParseInt32}});Object.defineProperty(c,"strictParseLong",{enumerable:!0,get:function(){return p.strictParseLong}});Object.defineProperty(c,"strictParseShort",{enumerable:!0,get:function(){return p.strictParseShort}});var A=ve();Object.defineProperty(c,"Client",{enumerable:!0,get:function(){return A.Client}});Object.defineProperty(c,"Command",{enumerable:!0,get:function(){return A.Command}});Object.defineProperty(c,"NoOpLogger",{enumerable:!0,get:function(){return A.NoOpLogger}});Object.defineProperty(c,"SENSITIVE_STRING",{enumerable:!0,get:function(){return A.SENSITIVE_STRING}});Object.defineProperty(c,"ServiceException",{enumerable:!0,get:function(){return A.ServiceException}});Object.defineProperty(c,"_json",{enumerable:!0,get:function(){return A._json}});Object.defineProperty(c,"convertMap",{enumerable:!0,get:function(){return A.convertMap}});Object.defineProperty(c,"createAggregatedClient",{enumerable:!0,get:function(){return A.createAggregatedClient}});Object.defineProperty(c,"decorateServiceException",{enumerable:!0,get:function(){return A.decorateServiceException}});Object.defineProperty(c,"emitWarningIfUnsupportedVersion",{enumerable:!0,get:function(){return A.emitWarningIfUnsupportedVersion}});Object.defineProperty(c,"getArrayIfSingleItem",{enumerable:!0,get:function(){return A.getArrayIfSingleItem}});Object.defineProperty(c,"getDefaultClientConfiguration",{enumerable:!0,get:function(){return A.getDefaultClientConfiguration}});Object.defineProperty(c,"getDefaultExtensionConfiguration",{enumerable:!0,get:function(){return A.getDefaultExtensionConfiguration}});Object.defineProperty(c,"getValueFromTextNode",{enumerable:!0,get:function(){return A.getValueFromTextNode}});Object.defineProperty(c,"isSerializableHeaderValue",{enumerable:!0,get:function(){return A.isSerializableHeaderValue}});Object.defineProperty(c,"loadConfigsForDefaultMode",{enumerable:!0,get:function(){return A.loadConfigsForDefaultMode}});Object.defineProperty(c,"map",{enumerable:!0,get:function(){return A.map}});Object.defineProperty(c,"resolveDefaultRuntimeConfig",{enumerable:!0,get:function(){return A.resolveDefaultRuntimeConfig}});Object.defineProperty(c,"serializeDateTime",{enumerable:!0,get:function(){return A.serializeDateTime}});Object.defineProperty(c,"serializeFloat",{enumerable:!0,get:function(){return A.serializeFloat}});Object.defineProperty(c,"take",{enumerable:!0,get:function(){return A.take}});Object.defineProperty(c,"throwDefaultError",{enumerable:!0,get:function(){return A.throwDefaultError}});Object.defineProperty(c,"withBaseException",{enumerable:!0,get:function(){return A.withBaseException}});var Ie=ee();Object.defineProperty(c,"collectBody",{enumerable:!0,get:function(){return Ie.collectBody}});Object.defineProperty(c,"extendedEncodeURIComponent",{enumerable:!0,get:function(){return Ie.extendedEncodeURIComponent}});Object.defineProperty(c,"resolvedPath",{enumerable:!0,get:function(){return Ie.resolvedPath}})});var xt=E((Nt)=>{Object.defineProperty(Nt,"__esModule",{value:!0});Nt.toStream=Ys;var Xs=Bs("node:stream");function Ys(e){return Xs.Readable.from(Buffer.from(e))}});var jt=E((ro)=>{var Js=(e)=>typeof e==="string"&&e.indexOf("arn:")===0&&e.split(":").length>=6,eo=(e)=>{let t=e.split(":");if(t.length<6||t[0]!=="arn")throw Error("Malformed ARN");let[,r,n,s,o,...a]=t;return{partition:r,service:n,region:s,accountId:o,resource:a.join(":")}},to=(e)=>{let{partition:t="aws",service:r,region:n,accountId:s,resource:o}=e;if([r,n,s,o].some((a)=>typeof a!=="string"))throw Error("Input ARN object is invalid");return`arn:${t}:${r}:${n}:${s}:${o}`};ro.build=to;ro.parse=eo;ro.validate=Js});var or=E((ho)=>{var v=De(),$t=ve(),W=ee();class Mt{format(e){let t=[];for(let s of Object.keys(e)){let o=v.fromUtf8(s);t.push(Uint8Array.from([o.byteLength]),o,this.formatHeaderValue(e[s]))}let r=new Uint8Array(t.reduce((s,o)=>s+o.byteLength,0)),n=0;for(let s of t)r.set(s,n),n+=s.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":let n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":let s=new DataView(new ArrayBuffer(3+e.value.byteLength));s.setUint8(0,6),s.setUint16(1,e.value.byteLength,!1);let o=new Uint8Array(s.buffer);return o.set(e.value,3),o;case"string":let a=v.fromUtf8(e.value),u=new DataView(new ArrayBuffer(3+a.byteLength));u.setUint8(0,7),u.setUint16(1,a.byteLength,!1);let i=new Uint8Array(u.buffer);return i.set(a,3),i;case"timestamp":let d=new Uint8Array(9);return d[0]=8,d.set(_e.fromNumber(e.value.valueOf()).bytes,1),d;case"uuid":if(!ao.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let l=new Uint8Array(17);return l[0]=9,l.set(v.fromHex(e.value.replace(/\-/g,"")),1),l}}}var Ht;(function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"})(Ht||(Ht={}));var ao=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class _e{bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>9223372036854776000||e<-9223372036854776000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;if(e<0)Ct(t);return new _e(t)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;if(t)Ct(e);return parseInt(v.toHex(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function Ct(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1;t--)if(e[t]++,e[t]!==0)break}var Ft="X-Amz-Algorithm",Lt="X-Amz-Credential",Oe="X-Amz-Date",Gt="X-Amz-SignedHeaders",Wt="X-Amz-Expires",Ne="X-Amz-Signature",xe="X-Amz-Security-Token",io="X-Amz-Region-Set",je="authorization",$e=Oe.toLowerCase(),Kt="date",zt=[je,$e,Kt],qt=Ne.toLowerCase(),oe="x-amz-content-sha256",Vt=xe.toLowerCase(),uo="host",kt={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},Qt=/^proxy-/,Bt=/^sec-/,co=[/^proxy-/i,/^sec-/i],te="AWS4-HMAC-SHA256",lo="AWS4-ECDSA-P256-SHA256",Xt="AWS4-HMAC-SHA256-PAYLOAD",Yt="UNSIGNED-PAYLOAD",Zt=50,He="aws4_request",Jt=604800,er=({query:e={}})=>{let t=[],r={};for(let n of Object.keys(e)){if(n.toLowerCase()===qt)continue;let s=W.escapeUri(n);t.push(s);let o=e[n];if(typeof o==="string")r[s]=`${s}=${W.escapeUri(o)}`;else if(Array.isArray(o))r[s]=o.slice(0).reduce((a,u)=>a.concat([`${s}=${W.escapeUri(u)}`]),[]).sort().join("&")}return t.sort().map((n)=>r[n]).filter((n)=>n).join("&")},po=(e)=>fo(e).toISOString().replace(/\.\d{3}Z$/,"Z"),fo=(e)=>{if(typeof e==="number")return new Date(e*1000);if(typeof e==="string"){if(Number(e))return new Date(Number(e)*1000);return new Date(e)}return e};class Ce{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){this.service=n,this.sha256=s,this.uriEscapePath=o,this.applyChecksum=typeof e==="boolean"?e:!0,this.regionProvider=$t.normalizeProvider(r),this.credentialProvider=$t.normalizeProvider(t)}createCanonicalRequest(e,t,r){let n=Object.keys(t).sort();return`${e.method}
|
|
2
2
|
${this.getCanonicalPath(e)}
|
|
3
3
|
${er(e)}
|
|
4
4
|
${n.map((s)=>`${s}:${t[s]}`).join(`
|
|
@@ -22,4 +22,4 @@ ${e}
|
|
|
22
22
|
${t}
|
|
23
23
|
${D.toHex(o)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let s of e.split("/")){if(s?.length===0)continue;if(s===".")continue;if(s==="..")t.pop();else t.push(s)}let r=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`;return z.escapeUri(r).replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if(typeof e!=="object"||typeof e.accessKeyId!=="string"||typeof e.secretAccessKey!=="string")throw Error("Resolved credential object is not valid")}formatDate(e){let t=hi(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}var K={},de=[],pe=(e,t,r)=>`${e}/${t}/${r}/${Be}`,Yr=async(e,t,r,n,s)=>{let o=await jr(e,t.secretAccessKey,t.accessKeyId),a=`${r}:${n}:${s}:${D.toHex(o)}:${t.sessionToken}`;if(a in K)return K[a];de.push(a);while(de.length>Qr)delete K[de.shift()];let u=`AWS4${t.secretAccessKey}`;for(let i of[r,n,s,Be])u=await jr(e,u,i);return K[a]=u},mi=()=>{de.length=0,Object.keys(K).forEach((e)=>{delete K[e]})},jr=(e,t,r)=>{let n=new e(t);return n.update(D.toUint8Array(r)),n.digest()},Ge=({headers:e},t,r)=>{let n={};for(let s of Object.keys(e).sort()){if(e[s]==null)continue;let o=s.toLowerCase();if(o in Kr||t?.has(o)||zr.test(o)||qr.test(o)){if(!r||r&&!r.has(o))continue}n[o]=e[s].trim().replace(/\s+/g," ")}return n},fe=async({headers:e,body:t},r)=>{for(let n of Object.keys(e))if(n.toLowerCase()===ge)return e[n];if(t==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof t==="string"||ArrayBuffer.isView(t)||D.isArrayBuffer(t)){let n=new r;return n.update(D.toUint8Array(t)),D.toHex(await n.digest())}return kr},Zr=(e,t)=>{e=e.toLowerCase();for(let r of Object.keys(t))if(e===r.toLowerCase())return!0;return!1},Jr=(e,t={})=>{let{headers:r,query:n={}}=z.HttpRequest.clone(e);for(let s of Object.keys(r)){let o=s.toLowerCase();if(o.slice(0,6)==="x-amz-"&&!t.unhoistableHeaders?.has(o)||t.hoistableHeaders?.has(o))n[s]=r[s],delete r[s]}return{...e,headers:r,query:n}},We=(e)=>{e=z.HttpRequest.clone(e);for(let t of Object.keys(e.headers))if(Lr.indexOf(t.toLowerCase())>-1)delete e.headers[t];return e};class en extends Xe{headerFormatter=new $r;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){super({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o})}async presign(e,t={}){let{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:s,unhoistableHeaders:o,signableHeaders:a,hoistableHeaders:u,signingRegion:i,signingService:d}=t,l=await this.credentialProvider();this.validateResolvedCredentials(l);let b=i??await this.regionProvider(),{longDate:y,shortDate:h}=this.formatDate(r);if(n>Br)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let R=pe(h,b,d??this.service),g=Jr(We(e),{unhoistableHeaders:o,hoistableHeaders:u});if(l.sessionToken)g.query[Ve]=l.sessionToken;g.query[Hr]=le,g.query[Cr]=`${l.accessKeyId}/${R}`,g.query[ze]=y,g.query[Mr]=n.toString(10);let T=Ge(g,s,a);return g.query[Ur]=this.getCanonicalHeaderList(T),g.query[qe]=await this.getSignature(y,R,this.getSigningKey(l,b,h,d),this.createCanonicalRequest(g,T,await fe(e,this.sha256))),g}async sign(e,t){if(typeof e==="string")return this.signString(e,t);else if(e.headers&&e.payload)return this.signEvent(e,t);else if(e.message)return this.signMessage(e,t);else return this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:s,signingService:o,eventStreamCredentials:a}){let u=s??await this.regionProvider(),{shortDate:i,longDate:d}=this.formatDate(r),l=pe(i,u,o??this.service),b=await fe({headers:{},body:t},this.sha256),y=new this.sha256;y.update(e);let h=D.toHex(await y.digest()),R=[Vr,d,l,n,h,b].join(`
|
|
24
24
|
`);return this.signString(R,{signingDate:r,signingRegion:u,signingService:o,eventStreamCredentials:a})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature,eventStreamCredentials:s}).then((a)=>{return{message:e.message,signature:a}})}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}={}){let o=s??await this.credentialProvider();this.validateResolvedCredentials(o);let a=r??await this.regionProvider(),{shortDate:u}=this.formatDate(t),i=new this.sha256(await this.getSigningKey(o,a,u,n));return i.update(D.toUint8Array(e)),D.toHex(await i.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:s,signingService:o}={}){let a=await this.credentialProvider();this.validateResolvedCredentials(a);let u=s??await this.regionProvider(),i=We(e),{longDate:d,shortDate:l}=this.formatDate(t),b=pe(l,u,o??this.service);if(i.headers[Qe]=d,a.sessionToken)i.headers[Wr]=a.sessionToken;let y=await fe(i,this.sha256);if(!Zr(ge,i.headers)&&this.applyChecksum)i.headers[ge]=y;let h=Ge(i,n,r),R=await this.getSignature(d,b,this.getSigningKey(a,u,l,o),this.createCanonicalRequest(i,h,y));return i.headers[ke]=`${le} Credential=${a.accessKeyId}/${b}, SignedHeaders=${this.getCanonicalHeaderList(h)}, Signature=${R}`,i}async getSignature(e,t,r,n){let s=await this.createStringToSign(e,t,n,le),o=new this.sha256(await r);return o.update(D.toUint8Array(s)),D.toHex(await o.digest())}getSigningKey(e,t,r,n){return Yr(this.sha256,e,r,t,n||this.service)}}var Ai={SignatureV4a:null};Ei.ALGORITHM_IDENTIFIER=le;Ei.ALGORITHM_IDENTIFIER_V4A=yi;Ei.ALGORITHM_QUERY_PARAM=Hr;Ei.ALWAYS_UNSIGNABLE_HEADERS=Kr;Ei.AMZ_DATE_HEADER=Qe;Ei.AMZ_DATE_QUERY_PARAM=ze;Ei.AUTH_HEADER=ke;Ei.CREDENTIAL_QUERY_PARAM=Cr;Ei.DATE_HEADER=Fr;Ei.EVENT_ALGORITHM_IDENTIFIER=Vr;Ei.EXPIRES_QUERY_PARAM=Mr;Ei.GENERATED_HEADERS=Lr;Ei.HOST_HEADER=fi;Ei.KEY_TYPE_IDENTIFIER=Be;Ei.MAX_CACHE_SIZE=Qr;Ei.MAX_PRESIGNED_TTL=Br;Ei.PROXY_HEADER_PATTERN=zr;Ei.REGION_SET_PARAM=pi;Ei.SEC_HEADER_PATTERN=qr;Ei.SHA256_HEADER=ge;Ei.SIGNATURE_HEADER=Gr;Ei.SIGNATURE_QUERY_PARAM=qe;Ei.SIGNED_HEADERS_QUERY_PARAM=Ur;Ei.SignatureV4=en;Ei.SignatureV4Base=Xe;Ei.TOKEN_HEADER=Wr;Ei.TOKEN_QUERY_PARAM=Ve;Ei.UNSIGNABLE_PATTERNS=gi;Ei.UNSIGNED_PAYLOAD=kr;Ei.clearCredentialCache=mi;Ei.createScope=pe;Ei.getCanonicalHeaders=Ge;Ei.getCanonicalQuery=Xr;Ei.getPayloadHash=fe;Ei.getSigningKey=Yr;Ei.hasHeader=Zr;Ei.moveHeadersToQuery=Jr;Ei.prepareRequest=We;Ei.signatureV4aContainer=Ai});var Ye=E((iu)=>{var au=_r(),rn=tn(),Y={CrtSignerV4:null};class nn{sigv4aSigner;sigv4Signer;signerOptions;static sigv4aDependency(){if(typeof Y.CrtSignerV4==="function")return"crt";else if(typeof rn.signatureV4aContainer.SignatureV4a==="function")return"js";return"none"}constructor(e){this.sigv4Signer=new au.SignatureV4S3Express(e),this.signerOptions=e}async sign(e,t={}){if(t.signingRegion==="*")return this.getSigv4aSigner().sign(e,t);return this.sigv4Signer.sign(e,t)}async signWithCredentials(e,t,r={}){if(r.signingRegion==="*"){let n=this.getSigv4aSigner(),s=Y.CrtSignerV4;if(s&&n instanceof s)return n.signWithCredentials(e,t,r);else throw Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.signWithCredentials(e,t,r)}async presign(e,t={}){if(t.signingRegion==="*"){let r=this.getSigv4aSigner(),n=Y.CrtSignerV4;if(n&&r instanceof n)return r.presign(e,t);else throw Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.presign(e,t)}async presignWithCredentials(e,t,r={}){if(r.signingRegion==="*")throw Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(e,t,r)}getSigv4aSigner(){if(!this.sigv4aSigner){let e=Y.CrtSignerV4,t=rn.signatureV4aContainer.SignatureV4a;if(this.signerOptions.runtime==="node"){if(!e&&!t)throw Error("Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt");if(e&&typeof e==="function")this.sigv4aSigner=new e({...this.signerOptions,signingAlgorithm:1});else if(t&&typeof t==="function")this.sigv4aSigner=new t({...this.signerOptions});else throw Error("Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt")}else{if(!t||typeof t!=="function")throw Error("JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a");this.sigv4aSigner=new t({...this.signerOptions})}}return this.sigv4aSigner}}iu.SignatureV4MultiRegion=nn;iu.signatureV4CrtContainer=Y});var bn=E((yn)=>{Object.defineProperty(yn,"__esModule",{value:!0});yn.bdd=void 0;var lu=fn(),V="ref",x=-1,Z=!0,sn="isSet",gn="PartitionResult",J="booleanEquals",w="stringEquals",Ze="getAttr",on="us-east-1",an="sigv4",un="sts",cn="https://sts.{Region}.{PartitionResult#dnsSuffix}",ln={[V]:"Endpoint"},P={[V]:"Region"},Je={[V]:gn},q={},dn=[P],pn={conditions:[[sn,[ln]],[sn,dn],["aws.partition",dn,gn],[J,[{[V]:"UseFIPS"},Z]],[J,[{[V]:"UseDualStack"},Z]],[w,[P,"aws-global"]],[J,[{[V]:"UseGlobalEndpoint"},Z]],[w,[P,"eu-central-1"]],[J,[{fn:Ze,argv:[Je,"supportsDualStack"]},Z]],[J,[{fn:Ze,argv:[Je,"supportsFIPS"]},Z]],[w,[P,"ap-south-1"]],[w,[P,"eu-north-1"]],[w,[P,"eu-west-1"]],[w,[P,"eu-west-2"]],[w,[P,"eu-west-3"]],[w,[P,"sa-east-1"]],[w,[P,on]],[w,[P,"us-east-2"]],[w,[P,"us-west-2"]],[w,[P,"us-west-1"]],[w,[P,"ca-central-1"]],[w,[P,"ap-southeast-1"]],[w,[P,"ap-northeast-1"]],[w,[P,"ap-southeast-2"]],[w,[{fn:Ze,argv:[Je,"name"]},"aws-us-gov"]]],results:[[x],["https://sts.amazonaws.com",{authSchemes:[{name:an,signingName:un,signingRegion:on}]}],[cn,{authSchemes:[{name:an,signingName:un,signingRegion:"{Region}"}]}],[x,"Invalid Configuration: FIPS and custom endpoint are not supported"],[x,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[ln,q],["https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",q],[x,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://sts.{Region}.amazonaws.com",q],["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",q],[x,"FIPS is enabled but this partition does not support FIPS"],["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",q],[x,"DualStack is enabled but this partition does not support DualStack"],[cn,q],[x,"Invalid Configuration: Missing Region"]]},du=2,f=1e8,pu=new Int32Array([-1,1,-1,0,30,3,1,4,f+14,2,5,f+14,3,25,6,4,24,7,5,f+1,8,6,9,f+13,7,f+1,10,10,f+1,11,11,f+1,12,12,f+1,13,13,f+1,14,14,f+1,15,15,f+1,16,16,f+1,17,17,f+1,18,18,f+1,19,19,f+1,20,20,f+1,21,21,f+1,22,22,f+1,23,23,f+1,f+2,8,f+11,f+12,4,28,26,9,27,f+10,24,f+8,f+9,8,29,f+7,9,f+6,f+7,3,f+3,31,4,f+4,f+5]);yn.bdd=lu.BinaryDecisionDiagram.from(pu,du,pn.conditions,pn.results)});var tt=E((mn)=>{Object.defineProperty(mn,"__esModule",{value:!0});mn.defaultEndpointResolver=void 0;var gu=fu(),et=fn(),yu=bn(),hu=new et.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS","UseGlobalEndpoint"]}),bu=(e,t={})=>{return hu.get(e,()=>(0,et.decideEndpoint)(yu.bdd,{endpointParams:e,logger:t.logger}))};mn.defaultEndpointResolver=bu;et.customEndpointFunctions.aws=gu.awsEndpointFunctions});var ot=E((Pn)=>{Object.defineProperty(Pn,"__esModule",{value:!0});Pn.resolveHttpAuthSchemeConfig=Pn.resolveStsAuthConfig=Pn.defaultSTSHttpAuthSchemeProvider=Pn.defaultSTSHttpAuthSchemeParametersProvider=void 0;var En=nt(),mu=Ye(),Au=st(),ye=ur(),Eu=tt(),Ru=at(),wu=(e)=>async(t,r,n)=>{if(!n)throw Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let s=await e(t,r,n),o=(0,ye.getSmithyContext)(r)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!o)throw Error(`getEndpointParameterInstructions() is not defined on '${r.commandName}'`);let a=await(0,Au.resolveParams)(n,{getEndpointParameterInstructions:o},t);return Object.assign(s,a)},Pu=async(e,t,r)=>{return{operation:(0,ye.getSmithyContext)(t).operation,region:await(0,ye.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};Pn.defaultSTSHttpAuthSchemeParametersProvider=wu(Pu);function Rn(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(t,r)=>({signingProperties:{config:t,context:r}})}}function rt(e){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(t,r)=>({signingProperties:{config:t,context:r}})}}function wn(e){return{schemeId:"smithy.api#noAuth"}}var vu=(e,t,r)=>{return(s)=>{let a=e(s).properties?.authSchemes;if(!a)return t(s);let u=[];for(let i of a){let{name:d,properties:l={},...b}=i,y=d.toLowerCase();if(d!==y)console.warn(`HttpAuthScheme has been normalized with lowercasing: '${d}' to '${y}'`);let h;if(y==="sigv4a"){h="aws.auth#sigv4a";let T=a.find((Pe)=>{let St=Pe.name.toLowerCase();return St!=="sigv4a"&&St.startsWith("sigv4")});if(mu.SignatureV4MultiRegion.sigv4aDependency()==="none"&&T)continue}else if(y.startsWith("sigv4"))h="aws.auth#sigv4";else throw Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${y}'`);let R=r[h];if(!R)throw Error(`Could not find HttpAuthOption create function for '${h}'`);let g=R(s);g.schemeId=h,g.signingProperties={...g.signingProperties||{},...b,...l},u.push(g)}return u}},Du=(e)=>{let t=[];switch(e.operation){case"AssumeRoleWithWebIdentity":{t.push(wn(e)),t.push(rt(e));break}default:t.push(Rn(e)),t.push(rt(e))}return t};Pn.defaultSTSHttpAuthSchemeProvider=vu(Eu.defaultEndpointResolver,Du,{"aws.auth#sigv4":Rn,"aws.auth#sigv4a":rt,"smithy.api#noAuth":wn});var Iu=(e)=>Object.assign(e,{stsClientCtor:Ru.STSClient});Pn.resolveStsAuthConfig=Iu;var Tu=(e)=>{let t=Pn.resolveStsAuthConfig(e),r=(0,En.resolveAwsSdkSigV4Config)(t),n=(0,En.resolveAwsSdkSigV4AConfig)(r);return Object.assign(n,{authSchemePreference:(0,ye.normalizeProvider)(e.authSchemePreference??[])})};Pn.resolveHttpAuthSchemeConfig=Tu});var it=E((In)=>{Object.defineProperty(In,"__esModule",{value:!0});In.commonParams=In.resolveClientEndpointParameters=void 0;var Ou=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,defaultSigningName:"sts"})};In.resolveClientEndpointParameters=Ou;In.commonParams={UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}});var he=E((ct)=>{Object.defineProperty(ct,"__esModule",{value:!0});ct.STSServiceException=ct.__ServiceException=void 0;var Sn=k();Object.defineProperty(ct,"__ServiceException",{enumerable:!0,get:function(){return Sn.ServiceException}});class ut extends Sn.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,ut.prototype)}}ct.STSServiceException=ut});var bt=E((On)=>{Object.defineProperty(On,"__esModule",{value:!0});On.IDPCommunicationErrorException=On.InvalidIdentityTokenException=On.IDPRejectedClaimException=On.RegionDisabledException=On.PackedPolicyTooLargeException=On.MalformedPolicyDocumentException=On.ExpiredTokenException=void 0;var j=he();class lt extends j.STSServiceException{name="ExpiredTokenException";$fault="client";constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});Object.setPrototypeOf(this,lt.prototype)}}On.ExpiredTokenException=lt;class dt extends j.STSServiceException{name="MalformedPolicyDocumentException";$fault="client";constructor(e){super({name:"MalformedPolicyDocumentException",$fault:"client",...e});Object.setPrototypeOf(this,dt.prototype)}}On.MalformedPolicyDocumentException=dt;class pt extends j.STSServiceException{name="PackedPolicyTooLargeException";$fault="client";constructor(e){super({name:"PackedPolicyTooLargeException",$fault:"client",...e});Object.setPrototypeOf(this,pt.prototype)}}On.PackedPolicyTooLargeException=pt;class ft extends j.STSServiceException{name="RegionDisabledException";$fault="client";constructor(e){super({name:"RegionDisabledException",$fault:"client",...e});Object.setPrototypeOf(this,ft.prototype)}}On.RegionDisabledException=ft;class gt extends j.STSServiceException{name="IDPRejectedClaimException";$fault="client";constructor(e){super({name:"IDPRejectedClaimException",$fault:"client",...e});Object.setPrototypeOf(this,gt.prototype)}}On.IDPRejectedClaimException=gt;class yt extends j.STSServiceException{name="InvalidIdentityTokenException";$fault="client";constructor(e){super({name:"InvalidIdentityTokenException",$fault:"client",...e});Object.setPrototypeOf(this,yt.prototype)}}On.InvalidIdentityTokenException=yt;class ht extends j.STSServiceException{name="IDPCommunicationErrorException";$fault="client";$retryable={};constructor(e){super({name:"IDPCommunicationErrorException",$fault:"client",...e});Object.setPrototypeOf(this,ht.prototype)}}On.IDPCommunicationErrorException=ht});var Pt=E((Wn)=>{Object.defineProperty(Wn,"__esModule",{value:!0});Wn.AssumeRoleWithWebIdentity$=Wn.AssumeRole$=Wn.Tag$=Wn.ProvidedContext$=Wn.PolicyDescriptorType$=Wn.Credentials$=Wn.AssumeRoleWithWebIdentityResponse$=Wn.AssumeRoleWithWebIdentityRequest$=Wn.AssumeRoleResponse$=Wn.AssumeRoleRequest$=Wn.AssumedRoleUser$=Wn.errorTypeRegistries=Wn.RegionDisabledException$=Wn.PackedPolicyTooLargeException$=Wn.MalformedPolicyDocumentException$=Wn.InvalidIdentityTokenException$=Wn.IDPRejectedClaimException$=Wn.IDPCommunicationErrorException$=Wn.ExpiredTokenException$=Wn.STSServiceException$=void 0;var Mu="Arn",Fu="AccessKeyId",Lu="AssumeRole",Gu="AssumedRoleId",Wu="AssumeRoleRequest",Ku="AssumeRoleResponse",mt="AssumedRoleUser",zu="AssumeRoleWithWebIdentity",qu="AssumeRoleWithWebIdentityRequest",Vu="AssumeRoleWithWebIdentityResponse",ku="Audience",At="Credentials",Qu="ContextAssertion",xn="DurationSeconds",Bu="Expiration",Xu="ExternalId",Yu="ExpiredTokenException",Zu="IDPCommunicationErrorException",Ju="IDPRejectedClaimException",ec="InvalidIdentityTokenException",tc="Key",rc="MalformedPolicyDocumentException",jn="Policy",$n="PolicyArns",nc="ProviderArn",sc="ProvidedContexts",oc="ProvidedContextsListType",ac="ProvidedContext",ic="PolicyDescriptorType",uc="ProviderId",Hn="PackedPolicySize",cc="PackedPolicyTooLargeException",lc="Provider",Cn="RoleArn",dc="RegionDisabledException",Un="RoleSessionName",pc="SecretAccessKey",fc="SubjectFromWebIdentityToken",Et="SourceIdentity",gc="SerialNumber",yc="SessionToken",hc="Tags",bc="TokenCode",mc="TransitiveTagKeys",Ac="Tag",Ec="Value",Rc="WebIdentityToken",wc="arn",Pc="accessKeySecretType",$="awsQueryError",H="client",vc="clientTokenType",C="error",U="httpError",M="message",Dc="policyDescriptorListType",Mn="smithy.ts.sdk.synthetic.com.amazonaws.sts",Ic="tagListType",m="com.amazonaws.sts",Fn=Fe(),F=bt(),Tc=he(),Ln=Fn.TypeRegistry.for(Mn);Wn.STSServiceException$=[-3,Mn,"STSServiceException",0,[],[]];Ln.registerError(Wn.STSServiceException$,Tc.STSServiceException);var _=Fn.TypeRegistry.for(m);Wn.ExpiredTokenException$=[-3,m,Yu,{[$]:["ExpiredTokenException",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.ExpiredTokenException$,F.ExpiredTokenException);Wn.IDPCommunicationErrorException$=[-3,m,Zu,{[$]:["IDPCommunicationError",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.IDPCommunicationErrorException$,F.IDPCommunicationErrorException);Wn.IDPRejectedClaimException$=[-3,m,Ju,{[$]:["IDPRejectedClaim",403],[C]:H,[U]:403},[M],[0]];_.registerError(Wn.IDPRejectedClaimException$,F.IDPRejectedClaimException);Wn.InvalidIdentityTokenException$=[-3,m,ec,{[$]:["InvalidIdentityToken",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.InvalidIdentityTokenException$,F.InvalidIdentityTokenException);Wn.MalformedPolicyDocumentException$=[-3,m,rc,{[$]:["MalformedPolicyDocument",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.MalformedPolicyDocumentException$,F.MalformedPolicyDocumentException);Wn.PackedPolicyTooLargeException$=[-3,m,cc,{[$]:["PackedPolicyTooLarge",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.PackedPolicyTooLargeException$,F.PackedPolicyTooLargeException);Wn.RegionDisabledException$=[-3,m,dc,{[$]:["RegionDisabledException",403],[C]:H,[U]:403},[M],[0]];_.registerError(Wn.RegionDisabledException$,F.RegionDisabledException);Wn.errorTypeRegistries=[Ln,_];var Sc=[0,m,Pc,8,0],_c=[0,m,vc,8,0];Wn.AssumedRoleUser$=[3,m,mt,0,[Gu,Mu],[0,0],2];Wn.AssumeRoleRequest$=[3,m,Wu,0,[Cn,Un,$n,jn,xn,hc,mc,Xu,gc,bc,Et,sc],[0,0,()=>Gn,0,1,()=>Nc,64,0,0,0,0,()=>Oc],2];Wn.AssumeRoleResponse$=[3,m,Ku,0,[At,mt,Hn,Et],[[()=>Wn.Credentials$,0],()=>Wn.AssumedRoleUser$,1,0]];Wn.AssumeRoleWithWebIdentityRequest$=[3,m,qu,0,[Cn,Un,Rc,uc,$n,jn,xn],[0,0,[()=>_c,0],0,()=>Gn,0,1],3];Wn.AssumeRoleWithWebIdentityResponse$=[3,m,Vu,0,[At,fc,mt,Hn,lc,ku,Et],[[()=>Wn.Credentials$,0],0,()=>Wn.AssumedRoleUser$,1,0,0,0]];Wn.Credentials$=[3,m,At,0,[Fu,pc,yc,Bu],[0,[()=>Sc,0],0,4],4];Wn.PolicyDescriptorType$=[3,m,ic,0,[wc],[0]];Wn.ProvidedContext$=[3,m,ac,0,[nc,Qu],[0,0]];Wn.Tag$=[3,m,Ac,0,[tc,Ec],[0,0],2];var Gn=[1,m,Dc,0,()=>Wn.PolicyDescriptorType$],Oc=[1,m,oc,0,()=>Wn.ProvidedContext$],Nc=[1,m,Ic,0,()=>Wn.Tag$];Wn.AssumeRole$=[9,m,Lu,0,()=>Wn.AssumeRoleRequest$,()=>Wn.AssumeRoleResponse$];Wn.AssumeRoleWithWebIdentity$=[9,m,zu,0,()=>Wn.AssumeRoleWithWebIdentityRequest$,()=>Wn.AssumeRoleWithWebIdentityResponse$]});var ls=E((us)=>{Object.defineProperty(us,"__esModule",{value:!0});us.getRuntimeConfig=void 0;var os=nt(),Uc=cr(),Mc=Ye(),Fc=ie(),Lc=k(),Gc=$c(),as=Cc(),is=Hc(),Wc=ot(),Kc=tt(),zc=Pt(),qc=(e)=>{return{apiVersion:"2011-06-15",base64Decoder:e?.base64Decoder??as.fromBase64,base64Encoder:e?.base64Encoder??as.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??Kc.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Wc.defaultSTSHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4"),signer:new os.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4a"),signer:new os.AwsSdkSigV4ASigner},{schemeId:"smithy.api#noAuth",identityProvider:(t)=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new Fc.NoAuthSigner}],logger:e?.logger??new Lc.NoOpLogger,protocol:e?.protocol??Uc.AwsQueryProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.sts",errorTypeRegistries:zc.errorTypeRegistries,xmlNamespace:"https://sts.amazonaws.com/doc/2011-06-15/",version:"2011-06-15",serviceTarget:"AWSSecurityTokenServiceV20110615"},serviceId:e?.serviceId??"STS",signerConstructor:e?.signerConstructor??Mc.SignatureV4MultiRegion,urlParser:e?.urlParser??Gc.parseUrl,utf8Decoder:e?.utf8Decoder??is.fromUtf8,utf8Encoder:e?.utf8Encoder??is.toUtf8}};us.getRuntimeConfig=qc});var As=E((bs)=>{Object.defineProperty(bs,"__esModule",{value:!0});bs.getRuntimeConfig=void 0;var tl=Qc(),rl=tl.__importDefault(Bc()),nl=Le(),be=nt(),ds=Xc(),me=ys(),sl=ie(),ol=Yc(),ps=hs(),O=Zc(),fs=Vc(),gs=k(),al=Jc(),il=el(),ul=kc(),cl=ls(),ll=(e)=>{(0,gs.emitWarningIfUnsupportedVersion)(process.version);let t=(0,il.resolveDefaultsModeConfig)(e),r=()=>t().then(gs.loadConfigsForDefaultMode),n=(0,cl.getRuntimeConfig)(e);(0,nl.emitWarningIfUnsupportedVersion)(process.version);let s={profile:e?.profile,logger:n.logger};return{...n,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??(0,O.loadConfig)(be.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,s),bodyLengthChecker:e?.bodyLengthChecker??al.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,ds.createDefaultUserAgentProvider)({serviceId:n.serviceId,clientVersion:rl.default.version}),httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(o)=>o.getIdentityProvider("aws.auth#sigv4")||(async(a)=>await e.credentialDefaultProvider(a?.__config||{})()),signer:new be.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(o)=>o.getIdentityProvider("aws.auth#sigv4a"),signer:new be.AwsSdkSigV4ASigner},{schemeId:"smithy.api#noAuth",identityProvider:(o)=>o.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new sl.NoAuthSigner}],maxAttempts:e?.maxAttempts??(0,O.loadConfig)(ps.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,O.loadConfig)(me.NODE_REGION_CONFIG_OPTIONS,{...me.NODE_REGION_CONFIG_FILE_OPTIONS,...s}),requestHandler:fs.NodeHttpHandler.create(e?.requestHandler??r),retryMode:e?.retryMode??(0,O.loadConfig)({...ps.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await r()).retryMode||ul.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??ol.Hash.bind(null,"sha256"),sigv4aSigningRegionSet:e?.sigv4aSigningRegionSet??(0,O.loadConfig)(be.NODE_SIGV4A_CONFIG_OPTIONS,s),streamCollector:e?.streamCollector??fs.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,O.loadConfig)(me.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,s),useFipsEndpoint:e?.useFipsEndpoint??(0,O.loadConfig)(me.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,s),userAgentAppId:e?.userAgentAppId??(0,O.loadConfig)(ds.NODE_APP_ID_CONFIG_OPTIONS,s)}};bs.getRuntimeConfig=ll});var ws=E((Es)=>{Object.defineProperty(Es,"__esModule",{value:!0});Es.resolveHttpAuthRuntimeConfig=Es.getHttpAuthExtensionConfiguration=void 0;var dl=(e)=>{let{httpAuthSchemes:t,httpAuthSchemeProvider:r,credentials:n}=e;return{setHttpAuthScheme(s){let o=t.findIndex((a)=>a.schemeId===s.schemeId);if(o===-1)t.push(s);else t.splice(o,1,s)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(s){r=s},httpAuthSchemeProvider(){return r},setCredentials(s){n=s},credentials(){return n}}};Es.getHttpAuthExtensionConfiguration=dl;var pl=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}};Es.resolveHttpAuthRuntimeConfig=pl});var Os=E((Ss)=>{Object.defineProperty(Ss,"__esModule",{value:!0});Ss.resolveRuntimeExtensions=void 0;var Ps=Ts(),vs=gl(),Ds=k(),Is=ws(),yl=(e,t)=>{let r=Object.assign((0,Ps.getAwsRegionExtensionConfiguration)(e),(0,Ds.getDefaultExtensionConfiguration)(e),(0,vs.getHttpHandlerExtensionConfiguration)(e),(0,Is.getHttpAuthExtensionConfiguration)(e));return t.forEach((n)=>n.configure(r)),Object.assign(e,(0,Ps.resolveAwsRegionExtensionConfiguration)(r),(0,Ds.resolveDefaultRuntimeConfig)(r),(0,vs.resolveHttpHandlerRuntimeConfig)(r),(0,Is.resolveHttpAuthRuntimeConfig)(r))};Ss.resolveRuntimeExtensions=yl});var at=E((Dt)=>{Object.defineProperty(Dt,"__esModule",{value:!0});Dt.STSClient=Dt.__Client=void 0;var Ns=hl(),Rl=bl(),wl=ml(),xs=Al(),Pl=ys(),vt=ie(),vl=Fe(),Dl=El(),Il=st(),js=hs(),Hs=k();Object.defineProperty(Dt,"__Client",{enumerable:!0,get:function(){return Hs.Client}});var $s=ot(),Tl=it(),Sl=As(),_l=Os();class Cs extends Hs.Client{config;constructor(...[e]){let t=(0,Sl.getRuntimeConfig)(e||{});super(t);this.initConfig=t;let r=(0,Tl.resolveClientEndpointParameters)(t),n=(0,xs.resolveUserAgentConfig)(r),s=(0,js.resolveRetryConfig)(n),o=(0,Pl.resolveRegionConfig)(s),a=(0,Ns.resolveHostHeaderConfig)(o),u=(0,Il.resolveEndpointConfig)(a),i=(0,$s.resolveHttpAuthSchemeConfig)(u),d=(0,_l.resolveRuntimeExtensions)(i,e?.extensions||[]);this.config=d,this.middlewareStack.use((0,vl.getSchemaSerdePlugin)(this.config)),this.middlewareStack.use((0,xs.getUserAgentPlugin)(this.config)),this.middlewareStack.use((0,js.getRetryPlugin)(this.config)),this.middlewareStack.use((0,Dl.getContentLengthPlugin)(this.config)),this.middlewareStack.use((0,Ns.getHostHeaderPlugin)(this.config)),this.middlewareStack.use((0,Rl.getLoggerPlugin)(this.config)),this.middlewareStack.use((0,wl.getRecursionDetectionPlugin)(this.config)),this.middlewareStack.use((0,vt.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config,{httpAuthSchemeParametersProvider:$s.defaultSTSHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(l)=>new vt.DefaultIdentityProviderConfig({"aws.auth#sigv4":l.credentials,"aws.auth#sigv4a":l.credentials})})),this.middlewareStack.use((0,vt.getHttpSigningPlugin)(this.config))}destroy(){super.destroy()}}Dt.STSClient=Cs});var zl=E((I)=>{var L=at(),Ee=k(),Ms=st(),Fs=it(),Q=Pt(),Ae=bt(),It=Le(),Ol=Ts(),Nl=he();class Re extends Ee.Command.classBuilder().ep(Fs.commonParams).m(function(e,t,r,n){return[Ms.getEndpointPlugin(r,e.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRole",{}).n("STSClient","AssumeRoleCommand").sc(Q.AssumeRole$).build(){}class we extends Ee.Command.classBuilder().ep(Fs.commonParams).m(function(e,t,r,n){return[Ms.getEndpointPlugin(r,e.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRoleWithWebIdentity",{}).n("STSClient","AssumeRoleWithWebIdentityCommand").sc(Q.AssumeRoleWithWebIdentity$).build(){}var xl={AssumeRoleCommand:Re,AssumeRoleWithWebIdentityCommand:we};class Tt extends L.STSClient{}Ee.createAggregatedClient(xl,Tt);var Ls=(e)=>{if(typeof e?.Arn==="string"){let t=e.Arn.split(":");if(t.length>4&&t[4]!=="")return t[4]}return},Gs=async(e,t,r,n={})=>{let s=typeof e==="function"?await e():e,o=typeof t==="function"?await t():t,a="",u=s??o??(a=await Ol.stsRegionDefaultResolver(n)());return r?.debug?.("@aws-sdk/client-sts::resolveRegion","accepting first of:",`${s} (credential provider clientConfig)`,`${o} (contextual client)`,`${a} (STS default: AWS_REGION, profile region, or us-east-1)`),u},jl=(e,t)=>{let r,n;return async(s,o)=>{if(n=s,!r){let{logger:l=e?.parentClientConfig?.logger,profile:b=e?.parentClientConfig?.profile,region:y,requestHandler:h=e?.parentClientConfig?.requestHandler,credentialProviderLogger:R,userAgentAppId:g=e?.parentClientConfig?.userAgentAppId}=e,T=await Gs(y,e?.parentClientConfig?.region,R,{logger:l,profile:b}),Pe=!Ws(h);r=new t({...e,userAgentAppId:g,profile:b,credentialDefaultProvider:()=>async()=>n,region:T,requestHandler:Pe?h:void 0,logger:l})}let{Credentials:a,AssumedRoleUser:u}=await r.send(new Re(o));if(!a||!a.AccessKeyId||!a.SecretAccessKey)throw Error(`Invalid response from STS.assumeRole call with role ${o.RoleArn}`);let i=Ls(u),d={accessKeyId:a.AccessKeyId,secretAccessKey:a.SecretAccessKey,sessionToken:a.SessionToken,expiration:a.Expiration,...a.CredentialScope&&{credentialScope:a.CredentialScope},...i&&{accountId:i}};return It.setCredentialFeature(d,"CREDENTIALS_STS_ASSUME_ROLE","i"),d}},$l=(e,t)=>{let r;return async(n)=>{if(!r){let{logger:i=e?.parentClientConfig?.logger,profile:d=e?.parentClientConfig?.profile,region:l,requestHandler:b=e?.parentClientConfig?.requestHandler,credentialProviderLogger:y,userAgentAppId:h=e?.parentClientConfig?.userAgentAppId}=e,R=await Gs(l,e?.parentClientConfig?.region,y,{logger:i,profile:d}),g=!Ws(b);r=new t({...e,userAgentAppId:h,profile:d,region:R,requestHandler:g?b:void 0,logger:i})}let{Credentials:s,AssumedRoleUser:o}=await r.send(new we(n));if(!s||!s.AccessKeyId||!s.SecretAccessKey)throw Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${n.RoleArn}`);let a=Ls(o),u={accessKeyId:s.AccessKeyId,secretAccessKey:s.SecretAccessKey,sessionToken:s.SessionToken,expiration:s.Expiration,...s.CredentialScope&&{credentialScope:s.CredentialScope},...a&&{accountId:a}};if(a)It.setCredentialFeature(u,"RESOLVED_ACCOUNT_ID","T");return It.setCredentialFeature(u,"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID","k"),u}},Ws=(e)=>{return e?.metadata?.handlerProtocol==="h2"},Ks=(e,t)=>{if(!t)return e;else return class extends e{constructor(n){super(n);for(let s of t)this.middlewareStack.use(s)}}},zs=(e={},t)=>jl(e,Ks(L.STSClient,t)),qs=(e={},t)=>$l(e,Ks(L.STSClient,t)),Hl=(e)=>(t)=>e({roleAssumer:zs(t),roleAssumerWithWebIdentity:qs(t),...t});I.$Command=Ee.Command;I.STSServiceException=Nl.STSServiceException;I.AssumeRoleCommand=Re;I.AssumeRoleWithWebIdentityCommand=we;I.STS=Tt;I.decorateDefaultCredentialProvider=Hl;I.getDefaultRoleAssumer=zs;I.getDefaultRoleAssumerWithWebIdentity=qs;Object.prototype.hasOwnProperty.call(L,"__proto__")&&!Object.prototype.hasOwnProperty.call(I,"__proto__")&&Object.defineProperty(I,"__proto__",{enumerable:!0,value:L.__proto__});Object.keys(L).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(I,e))I[e]=L[e]});Object.prototype.hasOwnProperty.call(Q,"__proto__")&&!Object.prototype.hasOwnProperty.call(I,"__proto__")&&Object.defineProperty(I,"__proto__",{enumerable:!0,value:Q.__proto__});Object.keys(Q).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(I,e))I[e]=Q[e]});Object.prototype.hasOwnProperty.call(Ae,"__proto__")&&!Object.prototype.hasOwnProperty.call(I,"__proto__")&&Object.defineProperty(I,"__proto__",{enumerable:!0,value:Ae.__proto__});Object.keys(Ae).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(I,e))I[e]=Ae[e]})});
|
|
25
|
-
export{zl as
|
|
25
|
+
export{zl as Y3};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Dg as a,Eg as l}from"./cli-0.1.15-yym7bka2.mjs";import{Fg as m,Gg as c}from"./cli-0.1.15-99wmm9j7.mjs";import{EV as e,GV as n}from"./cli-0.1.15-gxgy4enj.mjs";import{bma as s}from"./cli-0.1.15-mhbfhhf6.mjs";async function f(o,r){let t=await m();if(t.type==="message")return o(t.value),null;return e(a,{startingMessage:"Starting new login following /extra-usage. Exit with Ctrl-C to use existing account.",onDone:(i)=>{r.onChangeAPIKey(),o(i?"Login successful":"Login interrupted")}})}var g=s(()=>{l();c();n()});
|
|
2
|
+
export{f as Bg,g as Cg};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{Tf as
|
|
1
|
+
import{$f as Yf,_f as C}from"./cli-0.1.15-3rcdvk7c.mjs";import{$M as $f,AM as u,BN as A,Bx as Jf,Hp as w,KO as Df,Np as e,So as O,To as t,Uw as N,Vw as Gf,YL as T,Yy as P,ZC as h,_y as Qf,aN as c,aO as g,cr as y,dr as Bf,eD as Xf,kA as E,lA as Vf,oO as jf,pq as ff,qO as S,qq as zf,sN as I,tM as M,tN as v,uN as bf,wp as R,wx as L,xp as s,zL as m}from"./cli-0.1.15-26hkdean.mjs";import{_5 as F,d6 as o}from"./cli-0.1.15-4892kydg.mjs";import{yea as H,zea as a}from"./cli-0.1.15-b7f6hacc.mjs";import{Bha as q,mla as r,uia as x,vha as U,wha as W}from"./cli-0.1.15-12azgmva.mjs";import{_la as K,bma as n}from"./cli-0.1.15-mhbfhhf6.mjs";import{randomUUID as Zf}from"crypto";async function Tf({setMessages:V,readFileState:l,discoveredSkillNames:p,loadedNestedMemoryPaths:k,getAppState:G,setAppState:J,setConversationId:X}){let Y=A();await g("clear",{getAppState:G,setAppState:J,signal:AbortSignal.timeout(Y),timeoutMs:Y});let Z=x();if(Z)H("tengu_cache_eviction_hint",{scope:"conversation_clear",last_request_id:Z});let Q=new Set,_=[],$=(f)=>("isBackgrounded"in f)&&f.isBackgrounded===!1;if(G)for(let f of Object.values(G().tasks)){if($(f))continue;if(h(f))Q.add(f.agentId),_.push(f);else if(N(f))Q.add(f.identity.agentId)}if(V(()=>[]),X)X(Zf());if(C(Q),E(q()),l.clear(),p?.clear(),k?.clear(),J)J((f)=>{let B={};for(let[D,z]of Object.entries(f.tasks)){if(!$(z)){B[D]=z;continue}try{if(z.status==="running"){if(y(z)){if(z.shellCommand?.kill(),z.shellCommand?.cleanup(),z.cleanupTimeoutId)clearTimeout(z.cleanupTimeoutId)}if("abortController"in z)z.abortController?.abort();if("unregisterCleanup"in z)z.unregisterCleanup?.()}}catch(i){F(i)}I(D)}return{...f,tasks:B,attribution:O(),standaloneAgentContext:void 0,fileHistory:{snapshots:[],trackedFiles:new Set,snapshotSequence:0},mcp:{clients:[],tools:[],commands:[],resources:{},pluginReconnectKey:f.mcp.pluginReconnectKey}}});w(),M();let d=U();W({setCurrentAsParent:!0}),L(d),await T();for(let f of _){if(f.status!=="running")continue;v(f.id,m(R(f.agentId)))}{let{saveMode:f}=(c(),K($f)),{isCoordinatorMode:B}=(zf(),K(ff));f(B()?"coordinator":"normal")}let b=S();if(b)u(b);let j=await P("clear");if(j.length>0)V(()=>j)}var _f=n(()=>{r();a();Gf();Xf();Bf();s();t();jf();o();e();Vf();Qf();c();bf();Jf();Df();Yf()});
|
|
2
|
+
export{Tf as Yf,_f as Zf};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Afa as y8,Dfa as W7,Nfa as o$}from"./cli-0.1.15-9pe3dbgs.mjs";import{Qfa as f8,Tfa as a$}from"./cli-0.1.15-tj4kzvth.mjs";import{mla as P8,vha as R8}from"./cli-0.1.15-12azgmva.mjs";import{Lla as s,Mla as j8}from"./cli-0.1.15-p5ty029c.mjs";import{bma as w,dma as A,ema as D}from"./cli-0.1.15-mhbfhhf6.mjs";function w7(X){return Z6.add(X),()=>Z6.delete(X)}async function U1(){await Promise.all(Array.from(Z6).map((X)=>X()))}var Z6;var U7=w(()=>{Z6=new Set});function i(X){return typeof X==="object"&&X!==null&&(("name"in X)&&X.name==="AbortError"||("message"in X)&&String(X.message).includes("FetchRequestCanceledException"))}var RX=(X)=>{if(X instanceof Error)return X;if(typeof X==="object"&&X!==null){try{if(Object.prototype.toString.call(X)==="[object Error]"){let Z=Error(X.message,X.cause?{cause:X.cause}:{});if(X.stack)Z.stack=X.stack;if(X.cause&&!Z.cause)Z.cause=X.cause;if(X.name)Z.name=X.name;return Z}}catch{}try{return Error(JSON.stringify(X))}catch{}}return Error(X)};var CX=()=>{};var N,F,S,WX,PX,yX,_X,fX,bX,hX,vX,gX,cX;var R=w(()=>{CX();N=class N extends Error{};F=class F extends N{constructor(X,Z,$,Y,J){super(`${F.makeMessage(X,Z,$)}`);this.status=X,this.headers=Y,this.requestID=Y?.get("request-id"),this.error=Z,this.type=J??null}static makeMessage(X,Z,$){let Y=Z?.message?typeof Z.message==="string"?Z.message:JSON.stringify(Z.message):Z?JSON.stringify(Z):$;if(X&&Y)return`${X} ${Y}`;if(X)return`${X} status code (no body)`;if(Y)return Y;return"(no status code or body)"}static generate(X,Z,$,Y){if(!X||!Y)return new WX({message:$,cause:RX(Z)});let J=Z,K=J?.error?.type;if(X===400)return new yX(X,J,$,Y,K);if(X===401)return new _X(X,J,$,Y,K);if(X===403)return new fX(X,J,$,Y,K);if(X===404)return new bX(X,J,$,Y,K);if(X===409)return new hX(X,J,$,Y,K);if(X===422)return new vX(X,J,$,Y,K);if(X===429)return new gX(X,J,$,Y,K);if(X>=500)return new cX(X,J,$,Y,K);return new F(X,J,$,Y,K)}};S=class S extends F{constructor({message:X}={}){super(void 0,void 0,X||"Request was aborted.",void 0)}};WX=class WX extends F{constructor({message:X,cause:Z}){super(void 0,void 0,X||"Connection error.",void 0);if(Z)this.cause=Z}};PX=class PX extends WX{constructor({message:X}={}){super({message:X??"Request timed out."})}};yX=class yX extends F{};_X=class _X extends F{};fX=class fX extends F{};bX=class bX extends F{};hX=class hX extends F{};vX=class vX extends F{};gX=class gX extends F{};cX=class cX extends F{}});function G(X,Z,$,Y,J){if(Y==="m")throw TypeError("Private method is not writable");if(Y==="a"&&!J)throw TypeError("Private accessor was defined without a setter");if(typeof Z==="function"?X!==Z||!J:!Z.has(X))throw TypeError("Cannot write private member to an object whose class did not declare it");return Y==="a"?J.call(X,$):J?J.value=$:Z.set(X,$),$}function V(X,Z,$,Y){if($==="a"&&!Y)throw TypeError("Private accessor was defined without a getter");if(typeof Z==="function"?X!==Z||!Y:!Z.has(X))throw TypeError("Cannot read private member from an object whose class did not declare it");return $==="m"?Y:$==="a"?Y.call(X):Y?Y.value:Z.get(X)}var n=()=>{};var $6=function(){let{crypto:X}=globalThis;if(X?.randomUUID)return $6=X.randomUUID.bind(X),X.randomUUID();let Z=new Uint8Array(1),$=X?()=>X.getRandomValues(Z)[0]:()=>Math.random()*255&255;return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,(Y)=>(+Y^$()&15>>+Y/4).toString(16))};var q7=()=>{};function EZ(X){if(typeof X!=="object")return{};return X??{}}function K6(X){if(!X)return!0;for(let Z in X)return!1;return!0}function H7(X,Z){return Object.prototype.hasOwnProperty.call(X,Z)}var i8,C7=(X)=>{return i8.test(X)},Y6=(X)=>(Y6=Array.isArray,Y6(X)),J6,x7=(X,Z)=>{if(typeof Z!=="number"||!Number.isInteger(Z))throw new N(`${X} must be an integer`);if(Z<0)throw new N(`${X} must be a positive integer`);return Z},jZ=(X)=>{try{return JSON.parse(X)}catch(Z){return}};var VX=w(()=>{R();i8=/^[a-z][a-z0-9+.-]*:/i,J6=Y6});var O7=(X)=>new Promise((Z)=>setTimeout(Z,X));var M7=()=>{};var e="0.81.0";var W6=()=>{};function n8(){if(typeof Deno<"u"&&Deno.build!=null)return"deno";if(typeof EdgeRuntime<"u")return"edge";if(Object.prototype.toString.call(typeof globalThis.process<"u"?globalThis.process:0)==="[object process]")return"node";return"unknown"}function a8(){if(typeof navigator>"u"||!navigator)return null;let X=[{key:"edge",pattern:/Edge(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/MSIE(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/Trident(?:.*rv\:(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"chrome",pattern:/Chrome(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"firefox",pattern:/Firefox(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"safari",pattern:/(?:Version\W+(\d+)\.(\d+)(?:\.(\d+))?)?(?:\W+Mobile\S*)?\W+Safari/}];for(let{key:Z,pattern:$}of X){let Y=$.exec(navigator.userAgent);if(Y){let J=Y[1]||0,K=Y[2]||0,W=Y[3]||0;return{browser:Z,version:`${J}.${K}.${W}`}}}return null}var j7=()=>{return typeof window<"u"&&typeof window.document<"u"&&typeof navigator<"u"},o8=()=>{let X=n8();if(X==="deno")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":D7(Deno.build.os),"X-Stainless-Arch":A7(Deno.build.arch),"X-Stainless-Runtime":"deno","X-Stainless-Runtime-Version":typeof Deno.version==="string"?Deno.version:Deno.version?.deno??"unknown"};if(typeof EdgeRuntime<"u")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":"Unknown","X-Stainless-Arch":`other:${EdgeRuntime}`,"X-Stainless-Runtime":"edge","X-Stainless-Runtime-Version":globalThis.process.version};if(X==="node")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":D7(globalThis.process.platform??"unknown"),"X-Stainless-Arch":A7(globalThis.process.arch??"unknown"),"X-Stainless-Runtime":"node","X-Stainless-Runtime-Version":globalThis.process.version??"unknown"};let Z=a8();if(Z)return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":`browser:${Z.browser}`,"X-Stainless-Runtime-Version":Z.version};return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":"unknown","X-Stainless-Runtime-Version":"unknown"}},A7=(X)=>{if(X==="x32")return"x32";if(X==="x86_64"||X==="x64")return"x64";if(X==="arm")return"arm";if(X==="aarch64"||X==="arm64")return"arm64";if(X)return`other:${X}`;return"unknown"},D7=(X)=>{if(X=X.toLowerCase(),X.includes("ios"))return"iOS";if(X==="android")return"Android";if(X==="darwin")return"MacOS";if(X==="win32")return"Windows";if(X==="freebsd")return"FreeBSD";if(X==="openbsd")return"OpenBSD";if(X==="linux")return"Linux";if(X)return`Other:${X}`;return"Unknown"},E7,T7=()=>{return E7??(E7=o8())};var V6=w(()=>{W6()});function I7(){if(typeof fetch<"u")return fetch;throw Error("`fetch` is not defined as a global; Either pass `fetch` to the client, `new Anthropic({ fetch })` or polyfill the global, `globalThis.fetch = fetch`")}function Q6(...X){let Z=globalThis.ReadableStream;if(typeof Z>"u")throw Error("`ReadableStream` is not defined as a global; You will need to polyfill it, `globalThis.ReadableStream = ReadableStream`");return new Z(...X)}function TZ(X){let Z=Symbol.asyncIterator in X?X[Symbol.asyncIterator]():X[Symbol.iterator]();return Q6({start(){},async pull($){let{done:Y,value:J}=await Z.next();if(Y)$.close();else $.enqueue(J)},async cancel(){await Z.return?.()}})}function dX(X){if(X[Symbol.asyncIterator])return X;let Z=X.getReader();return{async next(){try{let $=await Z.read();if($?.done)Z.releaseLock();return $}catch($){throw Z.releaseLock(),$}},async return(){let $=Z.cancel();return Z.releaseLock(),await $,{done:!0,value:void 0}},[Symbol.asyncIterator](){return this}}}async function F7(X){if(X===null||typeof X!=="object")return;if(X[Symbol.asyncIterator]){await X[Symbol.asyncIterator]().return?.();return}let Z=X.getReader(),$=Z.cancel();Z.releaseLock(),await $}var HX=()=>{};var B7=({headers:X,body:Z})=>{return{bodyHeaders:{"content-type":"application/json"},body:JSON.stringify(Z)}};var S7=()=>{};function L7(X){return Object.entries(X).filter(([Z,$])=>typeof $<"u").map(([Z,$])=>{if(typeof $==="string"||typeof $==="number"||typeof $==="boolean")return`${encodeURIComponent(Z)}=${encodeURIComponent($)}`;if($===null)return`${encodeURIComponent(Z)}=`;throw new N(`Cannot stringify type ${typeof $}; Expected string, number, boolean, or null. If you need to pass nested query parameters, you can manually encode them, e.g. { query: { 'foo[key1]': value1, 'foo[key2]': value2 } }, and please open a GitHub issue requesting better support for your use case.`)}).join("&")}var k7=w(()=>{R()});function y7(X){let Z=0;for(let J of X)Z+=J.length;let $=new Uint8Array(Z),Y=0;for(let J of X)$.set(J,Y),Y+=J.length;return $}function mX(X){let Z;return(R7??(Z=new globalThis.TextEncoder,R7=Z.encode.bind(Z)))(X)}function z6(X){let Z;return(P7??(Z=new globalThis.TextDecoder,P7=Z.decode.bind(Z)))(X)}var R7,P7;var G6=()=>{};class XX{constructor(){P.set(this,void 0),y.set(this,void 0),G(this,P,new Uint8Array,"f"),G(this,y,null,"f")}decode(X){if(X==null)return[];let Z=X instanceof ArrayBuffer?new Uint8Array(X):typeof X==="string"?mX(X):X;G(this,P,y7([V(this,P,"f"),Z]),"f");let $=[],Y;while((Y=s8(V(this,P,"f"),V(this,y,"f")))!=null){if(Y.carriage&&V(this,y,"f")==null){G(this,y,Y.index,"f");continue}if(V(this,y,"f")!=null&&(Y.index!==V(this,y,"f")+1||Y.carriage)){$.push(z6(V(this,P,"f").subarray(0,V(this,y,"f")-1))),G(this,P,V(this,P,"f").subarray(V(this,y,"f")),"f"),G(this,y,null,"f");continue}let J=V(this,y,"f")!==null?Y.preceding-1:Y.preceding,K=z6(V(this,P,"f").subarray(0,J));$.push(K),G(this,P,V(this,P,"f").subarray(Y.index),"f"),G(this,y,null,"f")}return $}flush(){if(!V(this,P,"f").length)return[];return this.decode(`
|
|
2
2
|
`)}}function s8(X,Z){for(let J=Z??0;J<X.length;J++){if(X[J]===10)return{preceding:J,index:J+1,carriage:!1};if(X[J]===13)return{preceding:J,index:J+1,carriage:!0}}return null}function _7(X){for(let Y=0;Y<X.length-1;Y++){if(X[Y]===10&&X[Y+1]===10)return Y+2;if(X[Y]===13&&X[Y+1]===13)return Y+2;if(X[Y]===13&&X[Y+1]===10&&Y+3<X.length&&X[Y+2]===13&&X[Y+3]===10)return Y+4}return-1}var P,y;var N6=w(()=>{n();G6();P=new WeakMap,y=new WeakMap;XX.NEWLINE_CHARS=new Set([`
|
|
3
3
|
`,"\r"]);XX.NEWLINE_REGEXP=/\r\n|[\n\r]/g});function uX(){}function IZ(X,Z,$){if(!Z||FZ[X]>FZ[$])return uX;else return Z[X].bind(Z)}function L(X){let Z=X.logger,$=X.logLevel??"off";if(!Z)return e8;let Y=f7.get(Z);if(Y&&Y[0]===$)return Y[1];let J={error:IZ("error",Z,$),warn:IZ("warn",Z,$),info:IZ("info",Z,$),debug:IZ("debug",Z,$)};return f7.set(Z,[$,J]),J}var FZ,w6=(X,Z,$)=>{if(!X)return;if(H7(FZ,X))return X;L($).warn(`${Z} was set to ${JSON.stringify(X)}, expected one of ${JSON.stringify(Object.keys(FZ))}`);return},e8,f7,o=(X)=>{if(X.options)X.options={...X.options},delete X.options.headers;if(X.headers)X.headers=Object.fromEntries((X.headers instanceof Headers?[...X.headers]:Object.entries(X.headers)).map(([Z,$])=>[Z,Z.toLowerCase()==="x-api-key"||Z.toLowerCase()==="authorization"||Z.toLowerCase()==="cookie"||Z.toLowerCase()==="set-cookie"?"***":$]));if("retryOfRequestLogID"in X){if(X.retryOfRequestLogID)X.retryOf=X.retryOfRequestLogID;delete X.retryOfRequestLogID}return X};var BZ=w(()=>{VX();FZ={off:0,error:200,warn:300,info:400,debug:500};e8={error:uX,warn:uX,info:uX,debug:uX},f7=new WeakMap});async function*X$(X,Z){if(!X.body){if(Z.abort(),typeof globalThis.navigator<"u"&&globalThis.navigator.product==="ReactNative")throw new N("The default react-native fetch implementation does not support streaming. Please use expo/fetch: https://docs.expo.dev/versions/latest/sdk/expo/#expofetch-api");throw new N("Attempted to iterate over a response with no body")}let $=new b7,Y=new XX,J=dX(X.body);for await(let K of Z$(J))for(let W of Y.decode(K)){let Q=$.decode(W);if(Q)yield Q}for(let K of Y.flush()){let W=$.decode(K);if(W)yield W}}async function*Z$(X){let Z=new Uint8Array;for await(let $ of X){if($==null)continue;let Y=$ instanceof ArrayBuffer?new Uint8Array($):typeof $==="string"?mX($):$,J=new Uint8Array(Z.length+Y.length);J.set(Z),J.set(Y,Z.length),Z=J;let K;while((K=_7(Z))!==-1)yield Z.slice(0,K),Z=Z.slice(K)}if(Z.length>0)yield Z}class b7{constructor(){this.event=null,this.data=[],this.chunks=[]}decode(X){if(X.endsWith("\r"))X=X.substring(0,X.length-1);if(!X){if(!this.event&&!this.data.length)return null;let J={event:this.event,data:this.data.join(`
|
|
4
4
|
`),raw:this.chunks};return this.event=null,this.data=[],this.chunks=[],J}if(this.chunks.push(X),X.startsWith(":"))return null;let[Z,$,Y]=$$(X,":");if(Y.startsWith(" "))Y=Y.substring(1);if(Z==="event")this.event=Y;else if(Z==="data")this.data.push(Y);return null}}function $$(X,Z){let $=X.indexOf(Z);if($!==-1)return[X.substring(0,$),Z,X.substring($+Z.length)];return[X,"",""]}var pX,_;var U6=w(()=>{n();R();HX();N6();HX();CX();VX();G6();BZ();R();_=class _{constructor(X,Z,$){this.iterator=X,pX.set(this,void 0),this.controller=Z,G(this,pX,$,"f")}static fromSSEResponse(X,Z,$){let Y=!1,J=$?L($):console;async function*K(){if(Y)throw new N("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");Y=!0;let W=!1;try{for await(let Q of X$(X,Z)){if(Q.event==="completion")try{yield JSON.parse(Q.data)}catch(z){throw J.error("Could not parse message into JSON:",Q.data),J.error("From chunk:",Q.raw),z}if(Q.event==="message_start"||Q.event==="message_delta"||Q.event==="message_stop"||Q.event==="content_block_start"||Q.event==="content_block_delta"||Q.event==="content_block_stop")try{yield JSON.parse(Q.data)}catch(z){throw J.error("Could not parse message into JSON:",Q.data),J.error("From chunk:",Q.raw),z}if(Q.event==="ping")continue;if(Q.event==="error"){let z=jZ(Q.data)??Q.data,x=z?.error?.type;throw new F(void 0,z,void 0,X.headers,x)}}W=!0}catch(Q){if(i(Q))return;throw Q}finally{if(!W)Z.abort()}}return new _(K,Z,$)}static fromReadableStream(X,Z,$){let Y=!1;async function*J(){let W=new XX,Q=dX(X);for await(let z of Q)for(let x of W.decode(z))yield x;for(let z of W.flush())yield z}async function*K(){if(Y)throw new N("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");Y=!0;let W=!1;try{for await(let Q of J()){if(W)continue;if(Q)yield JSON.parse(Q)}W=!0}catch(Q){if(i(Q))return;throw Q}finally{if(!W)Z.abort()}}return new _(K,Z,$)}[(pX=new WeakMap,Symbol.asyncIterator)](){return this.iterator()}tee(){let X=[],Z=[],$=this.iterator(),Y=(J)=>{return{next:()=>{if(J.length===0){let K=$.next();X.push(K),Z.push(K)}return J.shift()}}};return[new _(()=>Y(X),this.controller,V(this,pX,"f")),new _(()=>Y(Z),this.controller,V(this,pX,"f"))]}toReadableStream(){let X=this,Z;return Q6({async start(){Z=X[Symbol.asyncIterator]()},async pull($){try{let{value:Y,done:J}=await Z.next();if(J)return $.close();let K=mX(JSON.stringify(Y)+`
|
|
@@ -41,4 +41,4 @@ new Anthropic({ apiKey, dangerouslyAllowBrowser: true });
|
|
|
41
41
|
`);for(let M=H.length-1;M>=0;M--){let U=H[M];if(U)yield U}}if(K.length>0)yield K.toString("utf8")}finally{await $.close()}}var i$,n$;var k8=w(()=>{A8();J7();i$={cwd(){return process.cwd()},existsSync(X){let $=[];try{const Z=A($,E`fs.existsSync(${X})`,0);return C.existsSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},async stat(X){return u$(X)},async readdir(X){return g$(X,{withFileTypes:!0})},async unlink(X){return p$(X)},async rmdir(X){return d$(X)},async rm(X,Z){return m$(X,Z)},async mkdir(X,Z){try{await v$(X,{recursive:!0,...Z})}catch($){if(LX($)!=="EEXIST")throw $}},async readFile(X,Z){return B8(X,{encoding:Z.encoding})},async rename(X,Z){return c$(X,Z)},statSync(X){let $=[];try{const Z=A($,E`fs.statSync(${X})`,0);return C.statSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},lstatSync(X){let $=[];try{const Z=A($,E`fs.lstatSync(${X})`,0);return C.lstatSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},readFileSync(X,Z){let Y=[];try{const $=A(Y,E`fs.readFileSync(${X})`,0);return C.readFileSync(X,{encoding:Z.encoding})}catch(J){var K=J,W=1}finally{D(Y,K,W)}},readFileBytesSync(X){let $=[];try{const Z=A($,E`fs.readFileBytesSync(${X})`,0);return C.readFileSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},readSync(X,Z){let J=[];try{const $=A(J,E`fs.readSync(${X}, ${Z.length} bytes)`,0);let Y=void 0;try{Y=C.openSync(X,"r");let z=Buffer.alloc(Z.length),x=C.readSync(Y,z,0,Z.length,0);return{buffer:z,bytesRead:x}}finally{if(Y)C.closeSync(Y)}}catch(K){var W=K,Q=1}finally{D(J,W,Q)}},appendFileSync(X,Z,$){let J=[];try{const Y=A(J,E`fs.appendFileSync(${X}, ${Z.length} chars)`,0);if($?.mode!==void 0)try{let z=C.openSync(X,"ax",$.mode);try{C.appendFileSync(z,Z)}finally{C.closeSync(z)}return}catch(z){if(LX(z)!=="EEXIST")throw z}C.appendFileSync(X,Z)}catch(K){var W=K,Q=1}finally{D(J,W,Q)}},copyFileSync(X,Z){let Y=[];try{const $=A(Y,E`fs.copyFileSync(${X} → ${Z})`,0);C.copyFileSync(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}},unlinkSync(X){let $=[];try{const Z=A($,E`fs.unlinkSync(${X})`,0);C.unlinkSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},renameSync(X,Z){let Y=[];try{const $=A(Y,E`fs.renameSync(${X} → ${Z})`,0);C.renameSync(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}},linkSync(X,Z){let Y=[];try{const $=A(Y,E`fs.linkSync(${X} → ${Z})`,0);C.linkSync(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}},symlinkSync(X,Z,$){let J=[];try{const Y=A(J,E`fs.symlinkSync(${X} → ${Z})`,0);C.symlinkSync(X,Z,$)}catch(K){var W=K,Q=1}finally{D(J,W,Q)}},readlinkSync(X){let $=[];try{const Z=A($,E`fs.readlinkSync(${X})`,0);return C.readlinkSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},realpathSync(X){let $=[];try{const Z=A($,E`fs.realpathSync(${X})`,0);return C.realpathSync(X).normalize("NFC")}catch(Y){var J=Y,K=1}finally{D($,J,K)}},mkdirSync(X,Z){let J=[];try{const $=A(J,E`fs.mkdirSync(${X})`,0);let Y={recursive:!0};if(Z?.mode!==void 0)Y.mode=Z.mode;try{C.mkdirSync(X,Y)}catch(z){if(LX(z)!=="EEXIST")throw z}}catch(K){var W=K,Q=1}finally{D(J,W,Q)}},readdirSync(X){let $=[];try{const Z=A($,E`fs.readdirSync(${X})`,0);return C.readdirSync(X,{withFileTypes:!0})}catch(Y){var J=Y,K=1}finally{D($,J,K)}},readdirStringSync(X){let $=[];try{const Z=A($,E`fs.readdirStringSync(${X})`,0);return C.readdirSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},isDirEmptySync(X){let Y=[];try{const Z=A(Y,E`fs.isDirEmptySync(${X})`,0);let $=this.readdirSync(X);return $.length===0}catch(J){var K=J,W=1}finally{D(Y,K,W)}},rmdirSync(X){let $=[];try{const Z=A($,E`fs.rmdirSync(${X})`,0);C.rmdirSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},rmSync(X,Z){let Y=[];try{const $=A(Y,E`fs.rmSync(${X})`,0);C.rmSync(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}},createWriteStream(X){return C.createWriteStream(X)},async readFileBytes(X,Z){if(Z===void 0)return B8(X);let $=await sZ(X,"r");try{let{size:Y}=await $.stat(),J=Math.min(Y,Z),K=Buffer.allocUnsafe(J),W=0;while(W<J){let{bytesRead:Q}=await $.read(K,W,J-W,W);if(Q===0)break;W+=Q}return W<J?K.subarray(0,W):K}finally{await $.close()}}},n$=i$});import{appendFile as r$,mkdir as t$,symlink as s$,unlink as e$}from"fs/promises";import{dirname as b8,join as h8}from"path";function D5(){let X=AZ();return v8=!0,AZ.cache.clear?.(),X}function $1(X){if(!AZ())return!1;if(typeof process>"u"||typeof process.versions>"u"||typeof process.versions.node>"u")return!1;let Z=Z1();return I8(X,Z)}function E5(X){Q7=X}function j5(){return Q7}async function Y1(X,Z,$,Y){if(X)await t$(Z,{recursive:!0}).catch(()=>{});await r$($,Y),m8()}function J1(){}function K1(){if(!X6){let X=null;X6=D8({writeFn:(Z)=>{let $=d8(),Y=b8($),J=X!==Y;if(X=Y,AZ()){if(J)try{eZ().mkdirSync(Y)}catch{}eZ().appendFileSync($,Z),m8();return}K7=K7.then(Y1.bind(null,J,Y,$,Z)).catch(J1)},flushIntervalMs:1000,maxBufferSize:100,immediateMode:AZ()}),w7(async()=>{X6?.dispose(),await K7})}return X6}function W1(X,{level:Z}={level:"debug"}){if(V7[Z]<V7[X1()])return;if(!$1(X))return;if(Q7&&X.includes(`
|
|
42
42
|
`))X=_8(X);let Y=`${new Date().toISOString()} [${Z.toUpperCase()}] ${X.trim()}
|
|
43
43
|
`;if(g8()){f8(Y);return}K1().write(Y)}function d8(){return c8()??process.env.CLAUDE_CODE_DEBUG_LOGS_DIR??h8(y8(),"debug",`${R8()}.txt`)}function T5(X,Z){}var V7,X1,v8=!1,AZ,Z1,g8,c8,Q7=!1,X6=null,K7,m8;var u8=w(()=>{j8();P8();E8();U7();F8();o$();k8();a$();J7();V7={verbose:0,debug:1,info:2,warn:3,error:4},X1=s(()=>{let X=process.env.CLAUDE_CODE_DEBUG_LOG_LEVEL?.toLowerCase().trim();if(X&&Object.hasOwn(V7,X))return X;return"debug"}),AZ=s(()=>{return v8||W7(process.env.DEBUG)||W7(process.env.DEBUG_SDK)||process.argv.includes("--debug")||process.argv.includes("-d")||g8()||process.argv.some((X)=>X.startsWith("--debug="))||c8()!==null});Z1=s(()=>{let X=process.argv.find(($)=>$.startsWith("--debug="));if(!X)return null;let Z=X.substring(8);return T8(Z)}),g8=s(()=>{return process.argv.includes("--debug-to-stderr")||process.argv.includes("-d2e")}),c8=s(()=>{for(let X=0;X<process.argv.length;X++){let Z=process.argv[X];if(Z.startsWith("--debug-file="))return Z.substring(13);if(Z==="--debug-file"&&X+1<process.argv.length)return process.argv[X+1]}return null});K7=Promise.resolve();m8=s(async()=>{try{let X=d8(),Z=b8(X),$=h8(Z,"latest");await e$($).catch(()=>{}),await s$(X,$)}catch{}})});import{closeSync as V1,writeFileSync as p8,fsyncSync as Q1,openSync as z1}from"fs";function N1(){return G1}function _8(X,Z,$){let J=[];try{const Y=A(J,E`JSON.stringify(${X})`,0);return JSON.stringify(X,Z,$)}catch(K){var W=K,Q=1}finally{D(J,W,Q)}}function P5(X,Z){let Y=[];try{const $=A(Y,E`structuredClone(${X})`,0);return structuredClone(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}}function y5(X,Z,$){let K=[];try{const Y=A(K,E`fs.writeFileSync(${X}, ${Z})`,0);let J=$!==null&&typeof $==="object"&&"flush"in $&&$.flush===!0;if(J){let x=typeof $==="object"&&"encoding"in $?$.encoding:void 0,H=typeof $==="object"&&"mode"in $?$.mode:void 0,M;try{M=z1(X,"w",H),p8(M,Z,{encoding:x??void 0}),Q1(M)}finally{if(M!==void 0)V1(M)}}else p8(X,Z,$)}catch(W){var Q=W,z=1}finally{D(K,Q,z)}}var k5,G1,E,R5=(X,Z)=>{let Y=[];try{const $=A(Y,E`JSON.parse(${X})`,0);return typeof Z>"u"?JSON.parse(X):JSON.parse(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}};var J7=w(()=>{P8();u8();k5=(()=>{let X=process.env.CLAUDE_CODE_SLOW_OPERATION_THRESHOLD_MS;if(X!==void 0){let Z=Number(X);if(!Number.isNaN(Z)&&Z>=0)return Z}return 1/0})(),G1={[Symbol.dispose](){}};E=N1});
|
|
44
|
-
export{D8 as
|
|
44
|
+
export{D8 as Aea,E8 as Bea,w7 as Cea,U1 as Dea,U7 as Eea,F as Fea,S as Gea,WX as Hea,PX as Iea,_X as Jea,bX as Kea,MX as Lea,qX as Mea,O8 as Nea,L$ as Oea,k$ as Pea,M8 as Qea,m4 as Rea,R$ as Sea,P$ as Tea,y$ as Uea,_$ as Vea,u4 as Wea,p4 as Xea,f$ as Yea,LX as Zea,l4 as _ea,i4 as $ea,n4 as afa,o4 as bfa,A8 as cfa,E as dfa,_8 as efa,R5 as ffa,P5 as gfa,y5 as hfa,J7 as ifa,L8 as jfa,Y5 as kfa,J5 as lfa,eZ as mfa,K5 as nfa,W5 as ofa,V5 as pfa,k8 as qfa,AZ as rfa,D5 as sfa,g8 as tfa,E5 as ufa,j5 as vfa,W1 as wfa,d8 as xfa,T5 as yfa,u8 as zfa};
|