@claudiolabs/claudin 1.1.28 → 1.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AgentTool-1.1.29-awhbrkah.mjs +1 -0
- package/dist/chunks/App-1.1.29-pm1xvr3g.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.29-c44twxse.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.29-f11by8v4.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.29-vnqj2te2.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.29-z2ah9t9j.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.29-30pn689g.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.29-sja8s9ck.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.29-k98h1gzp.mjs +6 -0
- package/dist/chunks/Doctor-1.1.29-ab8tjfg7.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.29-16y5q4ta.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.29-rk6hjgv2.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.29-kwjexf2x.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.29-479a268q.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.29-vshc8a59.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.29-snkzzfjw.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.29-x67swksb.mjs +1 -0
- package/dist/chunks/REPL-1.1.29-yw76hfjs.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.29-033m6wha.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.29-kbtx0xa6.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.29-dq4fkj22.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.29-x5fsxqa3.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.29-18h9wdn7.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.29-42z37x43.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.29-dkk7q8sf.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.29-944b5g4w.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.29-j7qknp7t.mjs +1 -0
- package/dist/chunks/add-dir-1.1.29-na3kdm45.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.29-fjjae3tn.mjs +1 -0
- package/dist/chunks/agents-1.1.29-gdcf24kq.mjs +110 -0
- package/dist/chunks/agents-1.1.29-hbyggbar.mjs +3 -0
- package/dist/chunks/api-1.1.29-tb280rgw.mjs +1 -0
- package/dist/chunks/asciicast-1.1.29-69mc9agv.mjs +1 -0
- package/dist/chunks/assistant-1.1.29-qmvynqfb.mjs +1 -0
- package/dist/chunks/auth-1.1.29-k2h0c136.mjs +1 -0
- package/dist/chunks/auth-1.1.29-mkh8s4y7.mjs +1 -0
- package/dist/chunks/autoMode-1.1.29-5enddc49.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.29-p4hp4dv6.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.29-sk8rt0mh.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.29-qxt8xakt.mjs +1 -0
- package/dist/chunks/branch-1.1.29-0zwfdt6s.mjs +4 -0
- package/dist/chunks/bridge-1.1.29-ee6b7cck.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.29-4wseqmtn.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.29-2r501b1s.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.29-sk2e5ssh.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.29-mjz0jnns.mjs +1 -0
- package/dist/chunks/btw-1.1.29-arf7x19m.mjs +1 -0
- package/dist/chunks/buddy-1.1.29-awsva6y8.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.29-67egf5jw.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.29-yk1h4vdq.mjs +4 -0
- package/dist/chunks/caches-1.1.29-8ryyt679.mjs +1 -0
- package/dist/chunks/cd-1.1.29-w9gepxqm.mjs +3 -0
- package/dist/chunks/claudeDesktop-1.1.29-7g8vpmk4.mjs +1 -0
- package/dist/chunks/claudemd-1.1.29-z00d07f9.mjs +1 -0
- package/dist/chunks/clear-1.1.29-aj6vgn4b.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.29-95xqw9gq.mjs +1 -0
- package/dist/chunks/cli-1.1.29-0kfg7hf8.mjs +2 -0
- package/dist/chunks/cli-1.1.29-0rnfn0gy.mjs +2 -0
- package/dist/chunks/cli-1.1.29-0s73ykp6.mjs +3 -0
- package/dist/chunks/cli-1.1.29-0tf52nkw.mjs +8 -0
- package/dist/chunks/cli-1.1.29-0v2ryegc.mjs +2 -0
- package/dist/chunks/cli-1.1.29-0vpcc8vm.mjs +2 -0
- package/dist/chunks/cli-1.1.29-11hr4111.mjs +2 -0
- package/dist/chunks/cli-1.1.29-13gvy0m9.mjs +25 -0
- package/dist/chunks/cli-1.1.29-153rxzts.mjs +2 -0
- package/dist/chunks/cli-1.1.29-17kpfbq0.mjs +2 -0
- package/dist/chunks/cli-1.1.29-1dqp4d2w.mjs +2 -0
- package/dist/chunks/cli-1.1.29-1pqjxrp8.mjs +2 -0
- package/dist/chunks/cli-1.1.29-20bcsb6f.mjs +15 -0
- package/dist/chunks/cli-1.1.29-23gv5dgk.mjs +2 -0
- package/dist/chunks/cli-1.1.29-247v5hpd.mjs +2 -0
- package/dist/chunks/cli-1.1.29-252q86ck.mjs +2 -0
- package/dist/chunks/cli-1.1.29-27h8nqm5.mjs +2 -0
- package/dist/chunks/cli-1.1.29-29svre2k.mjs +133 -0
- package/dist/chunks/cli-1.1.29-2e5s8gsb.mjs +24 -0
- package/dist/chunks/cli-1.1.29-2ezms0yf.mjs +2 -0
- package/dist/chunks/cli-1.1.29-2hejf6pj.mjs +2 -0
- package/dist/chunks/cli-1.1.29-2mcxe125.mjs +2 -0
- package/dist/chunks/cli-1.1.29-2sjtk1zb.mjs +2 -0
- package/dist/chunks/cli-1.1.29-2tyhgmxe.mjs +2 -0
- package/dist/chunks/cli-1.1.29-2yev8mxw.mjs +6 -0
- package/dist/chunks/cli-1.1.29-31y8na35.mjs +2 -0
- package/dist/chunks/cli-1.1.29-34nqdrk5.mjs +2 -0
- package/dist/chunks/cli-1.1.29-35kpvqby.mjs +4 -0
- package/dist/chunks/cli-1.1.29-3776marx.mjs +9 -0
- package/dist/chunks/cli-1.1.29-37j436rz.mjs +2 -0
- package/dist/chunks/cli-1.1.29-3dnft82a.mjs +2 -0
- package/dist/chunks/cli-1.1.29-3fcr0sm5.mjs +2 -0
- package/dist/chunks/cli-1.1.29-3s4wcn65.mjs +4 -0
- package/dist/chunks/cli-1.1.29-40v483aw.mjs +58 -0
- package/dist/chunks/cli-1.1.29-4ahf2sg4.mjs +2 -0
- package/dist/chunks/cli-1.1.29-4bemzx23.mjs +2 -0
- package/dist/chunks/cli-1.1.29-4p953chd.mjs +2 -0
- package/dist/chunks/cli-1.1.29-4pdnzc5j.mjs +2 -0
- package/dist/chunks/cli-1.1.29-4q271q7a.mjs +2 -0
- package/dist/chunks/cli-1.1.29-4w9b7g8h.mjs +3 -0
- package/dist/chunks/cli-1.1.29-4xqgqvwm.mjs +2 -0
- package/dist/chunks/cli-1.1.29-4yztmbcx.mjs +17 -0
- package/dist/chunks/cli-1.1.29-55khgk00.mjs +9 -0
- package/dist/chunks/cli-1.1.29-566mygcr.mjs +2 -0
- package/dist/chunks/cli-1.1.29-57e9kkv7.mjs +12 -0
- package/dist/chunks/cli-1.1.29-57f3k3fp.mjs +5 -0
- package/dist/chunks/cli-1.1.29-5bm4np8j.mjs +2 -0
- package/dist/chunks/cli-1.1.29-5gydp5n7.mjs +6 -0
- package/dist/chunks/cli-1.1.29-5mpj7dft.mjs +2 -0
- package/dist/chunks/cli-1.1.29-5p2zzfpq.mjs +4 -0
- package/dist/chunks/cli-1.1.29-5pbjmqzt.mjs +2 -0
- package/dist/chunks/cli-1.1.29-5svhj1v0.mjs +18 -0
- package/dist/chunks/cli-1.1.29-6g47vtst.mjs +2 -0
- package/dist/chunks/cli-1.1.29-6kvtrk8a.mjs +2 -0
- package/dist/chunks/cli-1.1.29-6mbq5wth.mjs +3 -0
- package/dist/chunks/cli-1.1.29-6ngsfhk3.mjs +17 -0
- package/dist/chunks/cli-1.1.29-6q1q5fa3.mjs +2 -0
- package/dist/chunks/cli-1.1.29-6qykmvew.mjs +2 -0
- package/dist/chunks/cli-1.1.29-6t6n6ctd.mjs +2 -0
- package/dist/chunks/cli-1.1.29-71e5px3b.mjs +2 -0
- package/dist/chunks/cli-1.1.29-740d0ga1.mjs +2 -0
- package/dist/chunks/cli-1.1.29-79tgwbnn.mjs +2 -0
- package/dist/chunks/cli-1.1.29-7p975zzx.mjs +2 -0
- package/dist/chunks/cli-1.1.29-7peev9wq.mjs +3 -0
- package/dist/chunks/cli-1.1.29-7pfvq0z6.mjs +60 -0
- package/dist/chunks/cli-1.1.29-7vrxybxh.mjs +15 -0
- package/dist/chunks/cli-1.1.29-834b4680.mjs +2 -0
- package/dist/chunks/cli-1.1.29-8398r1x1.mjs +2 -0
- package/dist/chunks/cli-1.1.29-842m4sds.mjs +2 -0
- package/dist/chunks/cli-1.1.29-84fpb4zk.mjs +2 -0
- package/dist/chunks/cli-1.1.29-89nqwnk6.mjs +3 -0
- package/dist/chunks/cli-1.1.29-8c371c3k.mjs +2 -0
- package/dist/chunks/cli-1.1.29-8dsnjzad.mjs +2 -0
- package/dist/chunks/cli-1.1.29-8eeh9yez.mjs +2 -0
- package/dist/chunks/cli-1.1.29-8k2xw0ns.mjs +16 -0
- package/dist/chunks/cli-1.1.29-8s0k2ydg.mjs +2 -0
- package/dist/chunks/cli-1.1.29-995n5c8r.mjs +2 -0
- package/dist/chunks/cli-1.1.29-9fkgjjzm.mjs +2 -0
- package/dist/chunks/cli-1.1.29-9n8sz71q.mjs +6 -0
- package/dist/chunks/cli-1.1.29-9qc9kyz8.mjs +6 -0
- package/dist/chunks/cli-1.1.29-9s3rafev.mjs +2 -0
- package/dist/chunks/cli-1.1.29-9s9kgzze.mjs +2 -0
- package/dist/chunks/cli-1.1.29-a1p2bm8x.mjs +4 -0
- package/dist/chunks/cli-1.1.29-a6pnwve8.mjs +206 -0
- package/dist/chunks/cli-1.1.29-aa81cr7r.mjs +2 -0
- package/dist/chunks/cli-1.1.29-aazftc8x.mjs +4 -0
- package/dist/chunks/cli-1.1.29-ajwqka67.mjs +2 -0
- package/dist/chunks/cli-1.1.29-akx5bp37.mjs +2 -0
- package/dist/chunks/cli-1.1.29-am1n3767.mjs +5553 -0
- package/dist/chunks/cli-1.1.29-aptcshv0.mjs +2 -0
- package/dist/chunks/cli-1.1.29-ar7jahd2.mjs +2 -0
- package/dist/chunks/cli-1.1.29-bpvwqqqm.mjs +3 -0
- package/dist/chunks/cli-1.1.29-bzfhb58d.mjs +21 -0
- package/dist/chunks/cli-1.1.29-c67xmzgw.mjs +2 -0
- package/dist/chunks/cli-1.1.29-c7eatffy.mjs +7 -0
- package/dist/chunks/cli-1.1.29-ccmw3ns3.mjs +2 -0
- package/dist/chunks/cli-1.1.29-cgska4m2.mjs +2 -0
- package/dist/chunks/cli-1.1.29-cjy4bmpv.mjs +2 -0
- package/dist/chunks/cli-1.1.29-cwngf5s4.mjs +2 -0
- package/dist/chunks/cli-1.1.29-df0crs3h.mjs +2 -0
- package/dist/chunks/cli-1.1.29-dfra4ygt.mjs +2 -0
- package/dist/chunks/cli-1.1.29-dpzd32s9.mjs +2 -0
- package/dist/chunks/cli-1.1.29-dseazhey.mjs +34 -0
- package/dist/chunks/cli-1.1.29-e7b3rw2q.mjs +2 -0
- package/dist/chunks/cli-1.1.29-enk5zgkk.mjs +2 -0
- package/dist/chunks/cli-1.1.29-eq7p29fp.mjs +2 -0
- package/dist/chunks/cli-1.1.29-erh6v56f.mjs +2 -0
- package/dist/chunks/cli-1.1.29-es8f8tm1.mjs +2 -0
- package/dist/chunks/cli-1.1.29-ex9733z1.mjs +2 -0
- package/dist/chunks/cli-1.1.29-f103mqc1.mjs +133 -0
- package/dist/chunks/cli-1.1.29-f56z0kjj.mjs +2 -0
- package/dist/chunks/cli-1.1.29-f8qh0czy.mjs +24 -0
- package/dist/chunks/cli-1.1.29-fhwjnhs2.mjs +12 -0
- package/dist/chunks/cli-1.1.29-fsht50yz.mjs +2 -0
- package/dist/chunks/cli-1.1.29-g2g0bf6s.mjs +2 -0
- package/dist/chunks/cli-1.1.29-g9nssmee.mjs +2 -0
- package/dist/chunks/cli-1.1.29-gd1bzvdb.mjs +20 -0
- package/dist/chunks/cli-1.1.29-gfwfhh3b.mjs +4 -0
- package/dist/chunks/cli-1.1.29-gfyabc3h.mjs +2 -0
- package/dist/chunks/cli-1.1.29-gycpj0z6.mjs +2 -0
- package/dist/chunks/cli-1.1.29-h1ej5qf0.mjs +2 -0
- package/dist/chunks/cli-1.1.29-h4fg85xm.mjs +2 -0
- package/dist/chunks/cli-1.1.29-hez6jzkx.mjs +2 -0
- package/dist/chunks/cli-1.1.29-hsa1qk75.mjs +2 -0
- package/dist/chunks/cli-1.1.29-j17q2nnf.mjs +2 -0
- package/dist/chunks/cli-1.1.29-j3n6rxnx.mjs +2 -0
- package/dist/chunks/cli-1.1.29-k0yj3sf0.mjs +2 -0
- package/dist/chunks/cli-1.1.29-kcfqkdev.mjs +24 -0
- package/dist/chunks/cli-1.1.29-kd96jtpb.mjs +2 -0
- package/dist/chunks/cli-1.1.29-kjbjanmr.mjs +2 -0
- package/dist/chunks/cli-1.1.29-krg96g94.mjs +2 -0
- package/dist/chunks/cli-1.1.29-ksekfz16.mjs +3 -0
- package/dist/chunks/cli-1.1.29-kywbej24.mjs +3 -0
- package/dist/chunks/cli-1.1.29-m4bwjmrm.mjs +2 -0
- package/dist/chunks/cli-1.1.29-m4j21s8k.mjs +3 -0
- package/dist/chunks/cli-1.1.29-m7rehwdd.mjs +58 -0
- package/dist/chunks/cli-1.1.29-mcacd7ag.mjs +2 -0
- package/dist/chunks/cli-1.1.29-mn3z3w8e.mjs +2 -0
- package/dist/chunks/cli-1.1.29-mwntmkzh.mjs +39 -0
- package/dist/chunks/cli-1.1.29-mxtxy5qg.mjs +2 -0
- package/dist/chunks/cli-1.1.29-mxxghqnd.mjs +2 -0
- package/dist/chunks/cli-1.1.29-nkb4dq83.mjs +2 -0
- package/dist/chunks/cli-1.1.29-nn0hkwgq.mjs +2 -0
- package/dist/chunks/cli-1.1.29-nx6ynaex.mjs +6 -0
- package/dist/chunks/cli-1.1.29-nxbgdt4q.mjs +2 -0
- package/dist/chunks/cli-1.1.29-nxvs12dw.mjs +2 -0
- package/dist/chunks/cli-1.1.29-pbydvpcy.mjs +7 -0
- package/dist/chunks/cli-1.1.29-pf67dsfj.mjs +42 -0
- package/dist/chunks/cli-1.1.29-pwsznt80.mjs +2 -0
- package/dist/chunks/cli-1.1.29-q4fv8e5e.mjs +2 -0
- package/dist/chunks/cli-1.1.29-q7nywp06.mjs +2 -0
- package/dist/chunks/cli-1.1.29-q9atby2h.mjs +2 -0
- package/dist/chunks/cli-1.1.29-qqcjvb8v.mjs +3 -0
- package/dist/chunks/cli-1.1.29-qyg6dttd.mjs +2 -0
- package/dist/chunks/cli-1.1.29-qz5zy9rd.mjs +4 -0
- package/dist/chunks/cli-1.1.29-ra7737c1.mjs +2 -0
- package/dist/chunks/cli-1.1.29-rah0vfkh.mjs +1 -0
- package/dist/chunks/cli-1.1.29-rbtgtxtr.mjs +2 -0
- package/dist/chunks/cli-1.1.29-rcf2pvf2.mjs +2 -0
- package/dist/chunks/cli-1.1.29-rd1s45en.mjs +24 -0
- package/dist/chunks/cli-1.1.29-rfz718th.mjs +6 -0
- package/dist/chunks/cli-1.1.29-rn9a55ga.mjs +2 -0
- package/dist/chunks/cli-1.1.29-rnrvwymv.mjs +2 -0
- package/dist/chunks/cli-1.1.29-rse83jw9.mjs +2 -0
- package/dist/chunks/cli-1.1.29-s7njwf37.mjs +15 -0
- package/dist/chunks/cli-1.1.29-s8attyep.mjs +2 -0
- package/dist/chunks/cli-1.1.29-sb5dzja5.mjs +2 -0
- package/dist/chunks/cli-1.1.29-scf5dmr2.mjs +50 -0
- package/dist/chunks/cli-1.1.29-sgfpybka.mjs +2 -0
- package/dist/chunks/cli-1.1.29-smn5dd7n.mjs +2 -0
- package/dist/chunks/cli-1.1.29-snxnt4nr.mjs +2 -0
- package/dist/chunks/cli-1.1.29-t64smfse.mjs +2 -0
- package/dist/chunks/cli-1.1.29-tf20f72b.mjs +2 -0
- package/dist/chunks/cli-1.1.29-tg84q1yd.mjs +20 -0
- package/dist/chunks/cli-1.1.29-tyew653x.mjs +3 -0
- package/dist/chunks/cli-1.1.29-tz817yh8.mjs +2 -0
- package/dist/chunks/cli-1.1.29-v4wsvara.mjs +2 -0
- package/dist/chunks/cli-1.1.29-v6y1118n.mjs +4 -0
- package/dist/chunks/cli-1.1.29-v9bvr1aw.mjs +5 -0
- package/dist/chunks/cli-1.1.29-vd6b2ckm.mjs +2 -0
- package/dist/chunks/cli-1.1.29-vmmpxa0v.mjs +2 -0
- package/dist/chunks/cli-1.1.29-vp3z0245.mjs +2 -0
- package/dist/chunks/cli-1.1.29-vr34j6s2.mjs +3 -0
- package/dist/chunks/cli-1.1.29-vv1sy2ya.mjs +25 -0
- package/dist/chunks/cli-1.1.29-vws4vx43.mjs +2 -0
- package/dist/chunks/cli-1.1.29-vybx7rvs.mjs +10 -0
- package/dist/chunks/cli-1.1.29-we6vghby.mjs +2 -0
- package/dist/chunks/cli-1.1.29-wscghnfp.mjs +2 -0
- package/dist/chunks/cli-1.1.29-wv5r6reg.mjs +2 -0
- package/dist/chunks/cli-1.1.29-wxg06wve.mjs +2 -0
- package/dist/chunks/cli-1.1.29-xfcy5e42.mjs +2 -0
- package/dist/chunks/cli-1.1.29-xfhxkzzh.mjs +2 -0
- package/dist/chunks/cli-1.1.29-xftqnjy0.mjs +4 -0
- package/dist/chunks/cli-1.1.29-xjh2k6ex.mjs +3 -0
- package/dist/chunks/cli-1.1.29-xrwps5rg.mjs +3 -0
- package/dist/chunks/cli-1.1.29-y3v15ehz.mjs +2 -0
- package/dist/chunks/cli-1.1.29-yddrcp23.mjs +2 -0
- package/dist/chunks/cli-1.1.29-ykat6ksh.mjs +2 -0
- package/dist/chunks/cli-1.1.29-ymcd1d05.mjs +2 -0
- package/dist/chunks/cli-1.1.29-ypgjht1s.mjs +2 -0
- package/dist/chunks/cli-1.1.29-yv3r7f00.mjs +2 -0
- package/dist/chunks/cli-1.1.29-zb1qmpq0.mjs +45 -0
- package/dist/chunks/cli-1.1.29-ze1sanxc.mjs +2 -0
- package/dist/chunks/cli-1.1.29-zf1md9se.mjs +2 -0
- package/dist/chunks/cli-1.1.29-zh2qqpcy.mjs +2 -0
- package/dist/chunks/cli-1.1.29-zqccyb2h.mjs +2 -0
- package/dist/chunks/client-1.1.29-abnv29yp.mjs +1 -0
- package/dist/chunks/color-1.1.29-h2d0ea1p.mjs +1 -0
- package/dist/chunks/compact-1.1.29-071ysk4h.mjs +3 -0
- package/dist/chunks/config-1.1.29-jhy41xna.mjs +1 -0
- package/dist/chunks/config-1.1.29-wzvad2ns.mjs +1 -0
- package/dist/chunks/constants-1.1.29-5536grwb.mjs +1 -0
- package/dist/chunks/context-1.1.29-qxvktpnx.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.29-rypt767r.mjs +1 -0
- package/dist/chunks/conversation-1.1.29-yr51bv23.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.29-h3z6avxk.mjs +1 -0
- package/dist/chunks/copy-1.1.29-ze2g86qn.mjs +9 -0
- package/dist/chunks/cost-1.1.29-bn9nefss.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.29-5fe73ss4.mjs +1 -0
- package/dist/chunks/createSession-1.1.29-rscwvwx3.mjs +1 -0
- package/dist/chunks/debug-1.1.29-hsa8740f.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.29-nrkya6cw.mjs +1534 -0
- package/dist/chunks/desktop-1.1.29-wzh1a3fx.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.29-tgssqtyy.mjs +1 -0
- package/dist/chunks/detection-1.1.29-f3hp0x2s.mjs +1 -0
- package/dist/chunks/diff-1.1.29-h7fm7n04.mjs +1 -0
- package/dist/chunks/doctor-1.1.29-5ccr1m55.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.29-vmnf895k.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.29-d0ktjabf.mjs +1 -0
- package/dist/chunks/effort-1.1.29-xxzxaym4.mjs +13 -0
- package/dist/chunks/engine-1.1.29-9ekq4v2g.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.29-8c9jjpjy.mjs +1 -0
- package/dist/chunks/envUtils-1.1.29-593t90q5.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.29-g5qpphd9.mjs +1 -0
- package/dist/chunks/environments-1.1.29-x2aa2eet.mjs +1 -0
- package/dist/chunks/errors-1.1.29-jgx19cvb.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.29-wxzjn2xw.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.29-hexzsnhv.mjs +1 -0
- package/dist/chunks/exit-1.1.29-h788x2yv.mjs +1 -0
- package/dist/chunks/explorer-1.1.29-wtr7bga1.mjs +1 -0
- package/dist/chunks/export-1.1.29-42ve1rgm.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.29-y1e1m369.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.29-gq3g80nm.mjs +1 -0
- package/dist/chunks/fast-1.1.29-h6r42366.mjs +1 -0
- package/dist/chunks/feedback-1.1.29-st43crhj.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.29-ckcepqgc.mjs +1 -0
- package/dist/chunks/git-1.1.29-j563zwhc.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.29-vk8m9ket.mjs +1 -0
- package/dist/chunks/goal-1.1.29-p7hzmh24.mjs +4 -0
- package/dist/chunks/growthbook-1.1.29-3549rcjz.mjs +1 -0
- package/dist/chunks/headless-1.1.29-5vx8fpbe.mjs +2 -0
- package/dist/chunks/heapdump-1.1.29-rp203g47.mjs +6 -0
- package/dist/chunks/help-1.1.29-3y5b0e2g.mjs +1 -0
- package/dist/chunks/hookChains-1.1.29-ga4rejj3.mjs +3 -0
- package/dist/chunks/hooks-1.1.29-b38tdtzk.mjs +1 -0
- package/dist/chunks/hooks-1.1.29-ygwx2459.mjs +79 -0
- package/dist/chunks/ide-1.1.29-67nmghjh.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.29-z1xa8jsd.mjs +1 -0
- package/dist/chunks/import-1.1.29-627psf8x.mjs +261 -0
- package/dist/chunks/inboundAttachments-1.1.29-9dtr0d37.mjs +1 -0
- package/dist/chunks/index-1.1.29-101dgedk.mjs +9 -0
- package/dist/chunks/index-1.1.29-3mknam1s.mjs +1 -0
- package/dist/chunks/index-1.1.29-3rjcfsf3.mjs +1 -0
- package/dist/chunks/index-1.1.29-4ye92se8.mjs +1 -0
- package/dist/chunks/index-1.1.29-568ncn0w.mjs +1 -0
- package/dist/chunks/index-1.1.29-5zbg7qfm.mjs +1 -0
- package/dist/chunks/index-1.1.29-6pe6cr8p.mjs +1 -0
- package/dist/chunks/index-1.1.29-cpvbfs32.mjs +5 -0
- package/dist/chunks/index-1.1.29-e90xbdas.mjs +23 -0
- package/dist/chunks/index-1.1.29-efsdrxv3.mjs +1 -0
- package/dist/chunks/index-1.1.29-gy6pctgv.mjs +1 -0
- package/dist/chunks/index-1.1.29-jghqwznd.mjs +1 -0
- package/dist/chunks/index-1.1.29-k42kw8w5.mjs +1 -0
- package/dist/chunks/index-1.1.29-kvaapa6z.mjs +1 -0
- package/dist/chunks/index-1.1.29-mwtftmry.mjs +9 -0
- package/dist/chunks/index-1.1.29-q7ydx0h2.mjs +2 -0
- package/dist/chunks/index-1.1.29-r4y0qs9x.mjs +1 -0
- package/dist/chunks/index-1.1.29-rgsmqr6q.mjs +1 -0
- package/dist/chunks/index-1.1.29-tfnnf0k2.mjs +1 -0
- package/dist/chunks/index-1.1.29-v640rrh6.mjs +1 -0
- package/dist/chunks/index-1.1.29-v7vcnkxr.mjs +30 -0
- package/dist/chunks/index-1.1.29-xwekv48p.mjs +2 -0
- package/dist/chunks/index-1.1.29-z8a1fx6p.mjs +1 -0
- package/dist/chunks/init-1.1.29-h07twh7g.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.29-ae1e53vd.mjs +1 -0
- package/dist/chunks/ink-1.1.29-jkk9zn2g.mjs +1 -0
- package/dist/chunks/insights-1.1.29-awyethqq.mjs +870 -0
- package/dist/chunks/install-1.1.29-yhkejpep.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.29-jsrj24s4.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.29-gts768ac.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.29-mhgk5gm7.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.29-nz689brn.mjs +1 -0
- package/dist/chunks/keybindings-1.1.29-gh9axh60.mjs +2 -0
- package/dist/chunks/knowledge-1.1.29-hfwtr4gz.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.29-hfeprnvk.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.29-m2np7bm8.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.29-zpz05b3t.mjs +1 -0
- package/dist/chunks/log-1.1.29-fw86q3jh.mjs +1 -0
- package/dist/chunks/main-1.1.29-w3b4z9p1.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.29-r7qb1f8v.mjs +1 -0
- package/dist/chunks/mcp-1.1.29-jyq80had.mjs +4 -0
- package/dist/chunks/mcp-1.1.29-rj6rmrwj.mjs +17 -0
- package/dist/chunks/mcp-1.1.29-v1dw736k.mjs +1 -0
- package/dist/chunks/mcpb-1.1.29-2eqhsr4h.mjs +1 -0
- package/dist/chunks/memory-1.1.29-f9bfe5q1.mjs +77 -0
- package/dist/chunks/model-1.1.29-3cbf7nj8.mjs +1 -0
- package/dist/chunks/model-1.1.29-65mwx0jt.mjs +2 -0
- package/dist/chunks/node-1.1.29-9gdbqzzb.mjs +15 -0
- package/dist/chunks/node-1.1.29-g8j45zsn.mjs +1 -0
- package/dist/chunks/oauth-1.1.29-rzdyddzx.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.29-3v0weah8.mjs +14 -0
- package/dist/chunks/output-style-1.1.29-kh5kpq0r.mjs +1 -0
- package/dist/chunks/package-OS7RONXY-1.1.29-wartca0p.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.29-1pk3egnf.mjs +1 -0
- package/dist/chunks/parser-1.1.29-j664c2gz.mjs +1 -0
- package/dist/chunks/passes-1.1.29-daz9sxtn.mjs +1 -0
- package/dist/chunks/permissions-1.1.29-2t8t5tw7.mjs +1 -0
- package/dist/chunks/permissions-1.1.29-yrdqzbx5.mjs +3 -0
- package/dist/chunks/plan-1.1.29-bz008b9p.mjs +1 -0
- package/dist/chunks/plist-1.1.29-35acgftn.mjs +1 -0
- package/dist/chunks/plugin-1.1.29-8f04719q.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.29-xb113h6m.mjs +1 -0
- package/dist/chunks/plugins-1.1.29-qvtkwvvz.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.29-y3pz26pa.mjs +2 -0
- package/dist/chunks/print-1.1.29-efswnrv9.mjs +57 -0
- package/dist/chunks/process-1.1.29-58f1e2bp.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.29-d1jsv2w2.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.29-b3y0q14a.mjs +9 -0
- package/dist/chunks/prompt-1.1.29-62tsknn0.mjs +1 -0
- package/dist/chunks/prompt-1.1.29-jhbfphh7.mjs +1 -0
- package/dist/chunks/prompts-1.1.29-3z4c3ek4.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.29-rdwh19s1.mjs +13 -0
- package/dist/chunks/provider-1.1.29-3zvq773g.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.29-607et4qp.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.29-yenzyrfm.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.29-298ja1r1.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.29-4jd1spvm.mjs +26 -0
- package/dist/chunks/registry-1.1.29-m25stkr0.mjs +1 -0
- package/dist/chunks/release-notes-1.1.29-22baamfx.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.29-phv53y08.mjs +2 -0
- package/dist/chunks/remote-env-1.1.29-2ey2vymh.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.29-eafsxes0.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.29-hs2wyhc3.mjs +1 -0
- package/dist/chunks/rename-1.1.29-75kb3avp.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.29-dz6hhgez.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.29-09a6pk1q.mjs +1 -0
- package/dist/chunks/resume-1.1.29-685rb92g.mjs +2 -0
- package/dist/chunks/rewind-1.1.29-7nw7f08p.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.29-9cr8rvbr.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.29-xmaezf6n.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.29-db9nwpd6.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.29-wzeynybm.mjs +1 -0
- package/dist/chunks/session-1.1.29-m8fppsh2.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.29-ast9gceq.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.29-h1eqvpq2.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.29-aykc0gmj.mjs +1 -0
- package/dist/chunks/settings-1.1.29-0c2fyzj5.mjs +1 -0
- package/dist/chunks/setup-1.1.29-y2wjm0r9.mjs +12 -0
- package/dist/chunks/sinks-1.1.29-5rs2f8yn.mjs +1 -0
- package/dist/chunks/skills-1.1.29-cp2813x4.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.29-kh45g8fh.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.29-82s33sqm.mjs +1 -0
- package/dist/chunks/state-1.1.29-p67vvgkh.mjs +1 -0
- package/dist/chunks/stats-1.1.29-by56pge2.mjs +1 -0
- package/dist/chunks/status-1.1.29-hw493zns.mjs +1 -0
- package/dist/chunks/stickers-1.1.29-8s1sjy27.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.29-qz9p5e81.mjs +1 -0
- package/dist/chunks/tasks-1.1.29-337vzgbz.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.29-85qvaaf6.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.29-k78c522w.mjs +1 -0
- package/dist/chunks/teleport-1.1.29-c44n1v9b.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.29-rrwvk8ab.mjs +1 -0
- package/dist/chunks/theme-1.1.29-y04xza5k.mjs +1 -0
- package/dist/chunks/thinkback-1.1.29-s3hjbm7q.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.29-2bhrtfq9.mjs +1 -0
- package/dist/chunks/toolPool-1.1.29-gfpcfj2x.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.29-vfnsb7j0.mjs +1 -0
- package/dist/chunks/tools-1.1.29-w11mxfwv.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.29-qwyypx3m.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.29-yxqqz6t4.mjs +69 -0
- package/dist/chunks/types-1.1.29-2v59e63g.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.29-a115pcna.mjs +4 -0
- package/dist/chunks/update-1.1.29-3zmwqt73.mjs +72 -0
- package/dist/chunks/upgrade-1.1.29-xpe0b67z.mjs +1 -0
- package/dist/chunks/upload-1.1.29-d3tkf4nc.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.29-fqatj32w.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.29-9w1d0vdc.mjs +1 -0
- package/dist/chunks/usage-1.1.29-6mr5tsjn.mjs +1 -0
- package/dist/chunks/util-1.1.29-94aahqex.mjs +1 -0
- package/dist/chunks/utils-1.1.29-jg1xnwx8.mjs +1 -0
- package/dist/chunks/vim-1.1.29-hf5m1934.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.29-7z8smp5m.mjs +13 -0
- package/dist/chunks/watcher-1.1.29-qeqe2296.mjs +1 -0
- package/dist/chunks/wiki-1.1.29-cr99gpcx.mjs +132 -0
- package/dist/chunks/workflows-1.1.29-v6f0e3am.mjs +1 -0
- package/dist/chunks/worktree-1.1.29-qf1zfstj.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.29-qxpsmfqy.mjs +1 -0
- package/dist/chunks/wrapper-1.1.29-b7y6s4vd.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.28-hdgcephe.mjs +0 -1
- package/dist/chunks/App-1.1.28-rdhr58j6.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.28-dn460p70.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.28-k16de89c.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.28-19td2te8.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.28-011pgh7b.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.28-ych5693j.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.28-7p5bx0b5.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.28-nkct57y5.mjs +0 -6
- package/dist/chunks/Doctor-1.1.28-xerfvzx5.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.28-ne9ftnxx.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.28-07enf929.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.28-mcsd53vd.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.28-rmrgfzbv.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.28-w5mh2w2b.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.28-7q9nc8c9.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.28-08ytr6ma.mjs +0 -1
- package/dist/chunks/REPL-1.1.28-pxy1ag0k.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.28-b2pk1nan.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.28-xa772x92.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.28-6x6ca6kq.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.28-vy7p3j3e.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.28-egnv67by.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.28-y1ss2e0h.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.28-7w099741.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.28-49aey2f6.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.28-gw9e23bc.mjs +0 -1
- package/dist/chunks/add-dir-1.1.28-5j989gf2.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.28-hxk0wpj5.mjs +0 -1
- package/dist/chunks/agents-1.1.28-3yth9sa4.mjs +0 -110
- package/dist/chunks/agents-1.1.28-4qdh001q.mjs +0 -3
- package/dist/chunks/api-1.1.28-znpy0eyy.mjs +0 -1
- package/dist/chunks/asciicast-1.1.28-r6dsend4.mjs +0 -1
- package/dist/chunks/assistant-1.1.28-16hn1f6b.mjs +0 -1
- package/dist/chunks/auth-1.1.28-bw7dane8.mjs +0 -1
- package/dist/chunks/auth-1.1.28-ht6j3ag3.mjs +0 -1
- package/dist/chunks/autoMode-1.1.28-nyaf1s0s.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.28-sjjeha2m.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.28-070wmr6y.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.28-y5mjznxx.mjs +0 -1
- package/dist/chunks/branch-1.1.28-5d97ysjr.mjs +0 -4
- package/dist/chunks/bridge-1.1.28-62qv0wgq.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.28-m986jcxg.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.28-0fs5tkxx.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.28-pyr5gvmx.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.28-wpzz2yca.mjs +0 -1
- package/dist/chunks/btw-1.1.28-p1tk901s.mjs +0 -1
- package/dist/chunks/buddy-1.1.28-thrnzpdp.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.28-bb4xsnev.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.28-9p9fmxas.mjs +0 -4
- package/dist/chunks/caches-1.1.28-t6dq2xtp.mjs +0 -1
- package/dist/chunks/cd-1.1.28-84z1kqam.mjs +0 -3
- package/dist/chunks/claudeDesktop-1.1.28-3x0y2w87.mjs +0 -1
- package/dist/chunks/claudemd-1.1.28-skmb6ar5.mjs +0 -1
- package/dist/chunks/clear-1.1.28-78f1rnc5.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.28-sx5qqtxb.mjs +0 -1
- package/dist/chunks/cli-1.1.28-01g60h7m.mjs +0 -2
- package/dist/chunks/cli-1.1.28-040xb4f8.mjs +0 -2
- package/dist/chunks/cli-1.1.28-0c0kb6x2.mjs +0 -24
- package/dist/chunks/cli-1.1.28-0njtm2nf.mjs +0 -60
- package/dist/chunks/cli-1.1.28-0vgve5rw.mjs +0 -24
- package/dist/chunks/cli-1.1.28-12g8qyfk.mjs +0 -58
- package/dist/chunks/cli-1.1.28-130w2y17.mjs +0 -50
- package/dist/chunks/cli-1.1.28-13j6r7pz.mjs +0 -2
- package/dist/chunks/cli-1.1.28-14abe08r.mjs +0 -4
- package/dist/chunks/cli-1.1.28-1jd8x2af.mjs +0 -2
- package/dist/chunks/cli-1.1.28-1mscaejt.mjs +0 -2
- package/dist/chunks/cli-1.1.28-1q409efb.mjs +0 -2
- package/dist/chunks/cli-1.1.28-1rrn1mhr.mjs +0 -2
- package/dist/chunks/cli-1.1.28-1vrff9a3.mjs +0 -5
- package/dist/chunks/cli-1.1.28-2arzkhzs.mjs +0 -2
- package/dist/chunks/cli-1.1.28-2dafhgjv.mjs +0 -34
- package/dist/chunks/cli-1.1.28-2esp2ssp.mjs +0 -6
- package/dist/chunks/cli-1.1.28-2q7dztmb.mjs +0 -2
- package/dist/chunks/cli-1.1.28-2wem9fnx.mjs +0 -2
- package/dist/chunks/cli-1.1.28-2ykcw73j.mjs +0 -2
- package/dist/chunks/cli-1.1.28-2zhmwh7t.mjs +0 -2
- package/dist/chunks/cli-1.1.28-30yw5q4z.mjs +0 -4
- package/dist/chunks/cli-1.1.28-347ygvzg.mjs +0 -6
- package/dist/chunks/cli-1.1.28-36891pwy.mjs +0 -2
- package/dist/chunks/cli-1.1.28-36y6830c.mjs +0 -2
- package/dist/chunks/cli-1.1.28-37rkgevh.mjs +0 -2
- package/dist/chunks/cli-1.1.28-3bj091x6.mjs +0 -2
- package/dist/chunks/cli-1.1.28-3fssr567.mjs +0 -2
- package/dist/chunks/cli-1.1.28-3p6j7k4a.mjs +0 -2
- package/dist/chunks/cli-1.1.28-4kda7s33.mjs +0 -2
- package/dist/chunks/cli-1.1.28-4kxqqtpz.mjs +0 -2
- package/dist/chunks/cli-1.1.28-4mpm44jj.mjs +0 -9
- package/dist/chunks/cli-1.1.28-4qh42y9g.mjs +0 -2
- package/dist/chunks/cli-1.1.28-4sx3zr2c.mjs +0 -3
- package/dist/chunks/cli-1.1.28-58rs1ja0.mjs +0 -2
- package/dist/chunks/cli-1.1.28-5edzsdcr.mjs +0 -6
- package/dist/chunks/cli-1.1.28-5y1xeh89.mjs +0 -206
- package/dist/chunks/cli-1.1.28-638dshxx.mjs +0 -42
- package/dist/chunks/cli-1.1.28-6bc84c0n.mjs +0 -2
- package/dist/chunks/cli-1.1.28-6x9c71q9.mjs +0 -2
- package/dist/chunks/cli-1.1.28-6y7vtevf.mjs +0 -17
- package/dist/chunks/cli-1.1.28-75thpvfa.mjs +0 -2
- package/dist/chunks/cli-1.1.28-7amn29ks.mjs +0 -2
- package/dist/chunks/cli-1.1.28-7e3nqd5c.mjs +0 -2
- package/dist/chunks/cli-1.1.28-7fz4fqgd.mjs +0 -2
- package/dist/chunks/cli-1.1.28-7g65bppm.mjs +0 -2
- package/dist/chunks/cli-1.1.28-7nye6zs7.mjs +0 -4
- package/dist/chunks/cli-1.1.28-7pmtq82j.mjs +0 -2
- package/dist/chunks/cli-1.1.28-7vvtkeeh.mjs +0 -25
- package/dist/chunks/cli-1.1.28-7x94aewp.mjs +0 -2
- package/dist/chunks/cli-1.1.28-7zpfvkxq.mjs +0 -2
- package/dist/chunks/cli-1.1.28-81p0zmxc.mjs +0 -2
- package/dist/chunks/cli-1.1.28-83k0knzj.mjs +0 -2
- package/dist/chunks/cli-1.1.28-8ahmbnjh.mjs +0 -2
- package/dist/chunks/cli-1.1.28-8avwqt1z.mjs +0 -4
- package/dist/chunks/cli-1.1.28-8jrfznkw.mjs +0 -2
- package/dist/chunks/cli-1.1.28-8v2vx373.mjs +0 -2
- package/dist/chunks/cli-1.1.28-943993zt.mjs +0 -2
- package/dist/chunks/cli-1.1.28-94sk1z8g.mjs +0 -5
- package/dist/chunks/cli-1.1.28-95fs05hq.mjs +0 -2
- package/dist/chunks/cli-1.1.28-9e74kqtd.mjs +0 -2
- package/dist/chunks/cli-1.1.28-9s4pee5a.mjs +0 -2
- package/dist/chunks/cli-1.1.28-a00k75hj.mjs +0 -2
- package/dist/chunks/cli-1.1.28-a79xcdg3.mjs +0 -2
- package/dist/chunks/cli-1.1.28-ad15rvp0.mjs +0 -2
- package/dist/chunks/cli-1.1.28-ak2bzv1v.mjs +0 -16
- package/dist/chunks/cli-1.1.28-atrbc4s7.mjs +0 -2
- package/dist/chunks/cli-1.1.28-avxe0zxq.mjs +0 -15
- package/dist/chunks/cli-1.1.28-b2jq83aj.mjs +0 -15
- package/dist/chunks/cli-1.1.28-be8cxh1e.mjs +0 -2
- package/dist/chunks/cli-1.1.28-bfs5hmfp.mjs +0 -3
- package/dist/chunks/cli-1.1.28-bqtpnyqr.mjs +0 -2
- package/dist/chunks/cli-1.1.28-brh6rw23.mjs +0 -2
- package/dist/chunks/cli-1.1.28-bsqgt8m4.mjs +0 -2
- package/dist/chunks/cli-1.1.28-bwbz3v3j.mjs +0 -2
- package/dist/chunks/cli-1.1.28-bwgr7j8z.mjs +0 -2
- package/dist/chunks/cli-1.1.28-by5acg3a.mjs +0 -2
- package/dist/chunks/cli-1.1.28-c9nh8cpr.mjs +0 -2
- package/dist/chunks/cli-1.1.28-cb5wemmj.mjs +0 -7
- package/dist/chunks/cli-1.1.28-cfq2wwx5.mjs +0 -2
- package/dist/chunks/cli-1.1.28-cyrrpdkd.mjs +0 -2
- package/dist/chunks/cli-1.1.28-d5h3kve6.mjs +0 -24
- package/dist/chunks/cli-1.1.28-davs3ve8.mjs +0 -58
- package/dist/chunks/cli-1.1.28-denmqz0s.mjs +0 -2
- package/dist/chunks/cli-1.1.28-dqsxqszf.mjs +0 -2
- package/dist/chunks/cli-1.1.28-dy3tnnyd.mjs +0 -3
- package/dist/chunks/cli-1.1.28-e2mfhtpx.mjs +0 -2
- package/dist/chunks/cli-1.1.28-egskcwa5.mjs +0 -2
- package/dist/chunks/cli-1.1.28-ek683x01.mjs +0 -2
- package/dist/chunks/cli-1.1.28-epzkhgww.mjs +0 -2
- package/dist/chunks/cli-1.1.28-erqn7gwg.mjs +0 -6
- package/dist/chunks/cli-1.1.28-es8var4t.mjs +0 -2
- package/dist/chunks/cli-1.1.28-ev0gfjgf.mjs +0 -24
- package/dist/chunks/cli-1.1.28-evvcbjb6.mjs +0 -2
- package/dist/chunks/cli-1.1.28-f0vrbk1t.mjs +0 -2
- package/dist/chunks/cli-1.1.28-f1n8p9v2.mjs +0 -12
- package/dist/chunks/cli-1.1.28-f3rdt4zg.mjs +0 -2
- package/dist/chunks/cli-1.1.28-f8av9yzr.mjs +0 -39
- package/dist/chunks/cli-1.1.28-fetsedc8.mjs +0 -2
- package/dist/chunks/cli-1.1.28-ffy07rnm.mjs +0 -2
- package/dist/chunks/cli-1.1.28-fjbefwwe.mjs +0 -2
- package/dist/chunks/cli-1.1.28-fnd6z5bq.mjs +0 -2
- package/dist/chunks/cli-1.1.28-fv1twt9b.mjs +0 -8
- package/dist/chunks/cli-1.1.28-h00s5n5y.mjs +0 -2
- package/dist/chunks/cli-1.1.28-h7p3dmnv.mjs +0 -2
- package/dist/chunks/cli-1.1.28-hb02sa63.mjs +0 -2
- package/dist/chunks/cli-1.1.28-hkfays5k.mjs +0 -2
- package/dist/chunks/cli-1.1.28-hx5j3q23.mjs +0 -17
- package/dist/chunks/cli-1.1.28-hxbkncxe.mjs +0 -2
- package/dist/chunks/cli-1.1.28-hyd7kkyr.mjs +0 -2
- package/dist/chunks/cli-1.1.28-j5m0kc75.mjs +0 -3
- package/dist/chunks/cli-1.1.28-j6nysca9.mjs +0 -2
- package/dist/chunks/cli-1.1.28-jqnzq23v.mjs +0 -3
- package/dist/chunks/cli-1.1.28-jr3jtfkf.mjs +0 -2
- package/dist/chunks/cli-1.1.28-jwg70mjs.mjs +0 -2
- package/dist/chunks/cli-1.1.28-k0ewezmj.mjs +0 -20
- package/dist/chunks/cli-1.1.28-k10f3f7z.mjs +0 -3
- package/dist/chunks/cli-1.1.28-k7pnt9ba.mjs +0 -2
- package/dist/chunks/cli-1.1.28-kaddwxsy.mjs +0 -2
- package/dist/chunks/cli-1.1.28-kc8f0nz7.mjs +0 -3
- package/dist/chunks/cli-1.1.28-khcgtk4a.mjs +0 -2
- package/dist/chunks/cli-1.1.28-knfg26kb.mjs +0 -2
- package/dist/chunks/cli-1.1.28-m6k4d2wx.mjs +0 -2
- package/dist/chunks/cli-1.1.28-mdexghj2.mjs +0 -2
- package/dist/chunks/cli-1.1.28-mk8zwqb2.mjs +0 -4
- package/dist/chunks/cli-1.1.28-mkm05wf9.mjs +0 -2
- package/dist/chunks/cli-1.1.28-mpjz8znf.mjs +0 -3
- package/dist/chunks/cli-1.1.28-mqmy0gy0.mjs +0 -2
- package/dist/chunks/cli-1.1.28-mvkxhjmj.mjs +0 -2
- package/dist/chunks/cli-1.1.28-mx413hqd.mjs +0 -3
- package/dist/chunks/cli-1.1.28-n2jx5w3n.mjs +0 -2
- package/dist/chunks/cli-1.1.28-n7v87yyn.mjs +0 -2
- package/dist/chunks/cli-1.1.28-n8d1x31e.mjs +0 -2
- package/dist/chunks/cli-1.1.28-neqd5cwa.mjs +0 -2
- package/dist/chunks/cli-1.1.28-nq2qxnzx.mjs +0 -10
- package/dist/chunks/cli-1.1.28-nqjbqqb6.mjs +0 -4
- package/dist/chunks/cli-1.1.28-nyvjfkx6.mjs +0 -2
- package/dist/chunks/cli-1.1.28-p11zcjmv.mjs +0 -2
- package/dist/chunks/cli-1.1.28-pabfwpqr.mjs +0 -2
- package/dist/chunks/cli-1.1.28-pdxwmetp.mjs +0 -25
- package/dist/chunks/cli-1.1.28-pfnc9p9n.mjs +0 -2
- package/dist/chunks/cli-1.1.28-prd0t983.mjs +0 -9
- package/dist/chunks/cli-1.1.28-pykx8k1j.mjs +0 -4
- package/dist/chunks/cli-1.1.28-q14qmewe.mjs +0 -2
- package/dist/chunks/cli-1.1.28-q43r6snq.mjs +0 -2
- package/dist/chunks/cli-1.1.28-q6dv65zx.mjs +0 -2
- package/dist/chunks/cli-1.1.28-qb921m5a.mjs +0 -3
- package/dist/chunks/cli-1.1.28-qf1qq8t0.mjs +0 -3
- package/dist/chunks/cli-1.1.28-qhqkr80z.mjs +0 -45
- package/dist/chunks/cli-1.1.28-qj312jgw.mjs +0 -2
- package/dist/chunks/cli-1.1.28-qjn28vhw.mjs +0 -2
- package/dist/chunks/cli-1.1.28-qrx5ata3.mjs +0 -2
- package/dist/chunks/cli-1.1.28-qvpamm5s.mjs +0 -4
- package/dist/chunks/cli-1.1.28-qvr8rkg2.mjs +0 -2
- package/dist/chunks/cli-1.1.28-qzg6n6hj.mjs +0 -2
- package/dist/chunks/cli-1.1.28-r81y1681.mjs +0 -3
- package/dist/chunks/cli-1.1.28-rbjeq16x.mjs +0 -2
- package/dist/chunks/cli-1.1.28-rbne7wtq.mjs +0 -4
- package/dist/chunks/cli-1.1.28-rez81jab.mjs +0 -6
- package/dist/chunks/cli-1.1.28-rq49kn4q.mjs +0 -2
- package/dist/chunks/cli-1.1.28-rt0aect8.mjs +0 -2
- package/dist/chunks/cli-1.1.28-rwfwz209.mjs +0 -2
- package/dist/chunks/cli-1.1.28-s1pbcd86.mjs +0 -3
- package/dist/chunks/cli-1.1.28-s2pcpdyc.mjs +0 -2
- package/dist/chunks/cli-1.1.28-s6w8jb6z.mjs +0 -2
- package/dist/chunks/cli-1.1.28-smb1frk6.mjs +0 -2
- package/dist/chunks/cli-1.1.28-ss8nzmnb.mjs +0 -12
- package/dist/chunks/cli-1.1.28-sx3mmc5d.mjs +0 -2
- package/dist/chunks/cli-1.1.28-sz8sgxj4.mjs +0 -2
- package/dist/chunks/cli-1.1.28-t5yawarz.mjs +0 -2
- package/dist/chunks/cli-1.1.28-tt0c354s.mjs +0 -2
- package/dist/chunks/cli-1.1.28-v1p12e3g.mjs +0 -2
- package/dist/chunks/cli-1.1.28-v5r7bmzh.mjs +0 -2
- package/dist/chunks/cli-1.1.28-v5ypq0r2.mjs +0 -2
- package/dist/chunks/cli-1.1.28-v6ewa1y0.mjs +0 -2
- package/dist/chunks/cli-1.1.28-vctvnrwx.mjs +0 -133
- package/dist/chunks/cli-1.1.28-vf3j29kt.mjs +0 -2
- package/dist/chunks/cli-1.1.28-vgfss8e4.mjs +0 -2
- package/dist/chunks/cli-1.1.28-vje1ac31.mjs +0 -7
- package/dist/chunks/cli-1.1.28-vphadsag.mjs +0 -2
- package/dist/chunks/cli-1.1.28-vyzp74xh.mjs +0 -3
- package/dist/chunks/cli-1.1.28-w0kxa99b.mjs +0 -2
- package/dist/chunks/cli-1.1.28-w6cd3j36.mjs +0 -20
- package/dist/chunks/cli-1.1.28-wew8jymx.mjs +0 -2
- package/dist/chunks/cli-1.1.28-wmyy1pdj.mjs +0 -2
- package/dist/chunks/cli-1.1.28-wvj52k91.mjs +0 -2
- package/dist/chunks/cli-1.1.28-wze93r29.mjs +0 -2
- package/dist/chunks/cli-1.1.28-x04zkwy5.mjs +0 -18
- package/dist/chunks/cli-1.1.28-x0ypcq4e.mjs +0 -2
- package/dist/chunks/cli-1.1.28-x13sctb2.mjs +0 -2
- package/dist/chunks/cli-1.1.28-xv2tg10n.mjs +0 -2
- package/dist/chunks/cli-1.1.28-y173v5ak.mjs +0 -133
- package/dist/chunks/cli-1.1.28-y4k1f7he.mjs +0 -2
- package/dist/chunks/cli-1.1.28-y5w3ev7m.mjs +0 -2
- package/dist/chunks/cli-1.1.28-yaa1gft3.mjs +0 -15
- package/dist/chunks/cli-1.1.28-ypzyse5q.mjs +0 -2
- package/dist/chunks/cli-1.1.28-yv5gzenz.mjs +0 -2
- package/dist/chunks/cli-1.1.28-yyk292aq.mjs +0 -6
- package/dist/chunks/cli-1.1.28-z4kzjv3v.mjs +0 -21
- package/dist/chunks/cli-1.1.28-z5mbbt38.mjs +0 -2
- package/dist/chunks/cli-1.1.28-zarbrcn7.mjs +0 -2
- package/dist/chunks/cli-1.1.28-ze1j03ww.mjs +0 -1
- package/dist/chunks/cli-1.1.28-zhftjycn.mjs +0 -5553
- package/dist/chunks/cli-1.1.28-zqpvgqxf.mjs +0 -2
- package/dist/chunks/cli-1.1.28-zv9zfwz9.mjs +0 -2
- package/dist/chunks/client-1.1.28-59t63af8.mjs +0 -1
- package/dist/chunks/color-1.1.28-gmbrq89g.mjs +0 -1
- package/dist/chunks/compact-1.1.28-14hmkmd6.mjs +0 -3
- package/dist/chunks/config-1.1.28-b69ey9g1.mjs +0 -1
- package/dist/chunks/config-1.1.28-cryax439.mjs +0 -1
- package/dist/chunks/constants-1.1.28-63cv4s6z.mjs +0 -1
- package/dist/chunks/context-1.1.28-09kfp2sa.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.28-h9279pbh.mjs +0 -1
- package/dist/chunks/conversation-1.1.28-qnj7ywxq.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.28-yjrmx9z1.mjs +0 -1
- package/dist/chunks/copy-1.1.28-az1n9y3n.mjs +0 -9
- package/dist/chunks/cost-1.1.28-507xt42s.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.28-m9ecjhc1.mjs +0 -1
- package/dist/chunks/createSession-1.1.28-gbrmw9ad.mjs +0 -1
- package/dist/chunks/debug-1.1.28-k9m06yz6.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.28-4sxh2jyw.mjs +0 -1534
- package/dist/chunks/desktop-1.1.28-ycc1hv5c.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.28-mxrqqjv6.mjs +0 -1
- package/dist/chunks/detection-1.1.28-06p2mev8.mjs +0 -1
- package/dist/chunks/diff-1.1.28-d9a2n60t.mjs +0 -1
- package/dist/chunks/doctor-1.1.28-qef12k2p.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.28-v5rq4x27.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.28-xr89w719.mjs +0 -1
- package/dist/chunks/effort-1.1.28-yjbwr68r.mjs +0 -13
- package/dist/chunks/engine-1.1.28-yv6qdcgp.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.28-tpjzc2ar.mjs +0 -1
- package/dist/chunks/envUtils-1.1.28-n17cxj8h.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.28-c7vj172q.mjs +0 -1
- package/dist/chunks/environments-1.1.28-08b7gpg6.mjs +0 -1
- package/dist/chunks/errors-1.1.28-eysc80qa.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.28-gk1ma509.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.28-4nc53n56.mjs +0 -1
- package/dist/chunks/exit-1.1.28-7rjnfzc2.mjs +0 -1
- package/dist/chunks/explorer-1.1.28-hf7jvkfg.mjs +0 -1
- package/dist/chunks/export-1.1.28-3xgdy7gr.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.28-6wkgsscs.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.28-03hnqa8n.mjs +0 -1
- package/dist/chunks/fast-1.1.28-gf0rb9by.mjs +0 -1
- package/dist/chunks/feedback-1.1.28-dvdyq5v7.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.28-rd6eskzg.mjs +0 -1
- package/dist/chunks/git-1.1.28-ktf61jaz.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.28-re8t0b2z.mjs +0 -1
- package/dist/chunks/goal-1.1.28-s7n55rqn.mjs +0 -4
- package/dist/chunks/growthbook-1.1.28-jcs0qzz8.mjs +0 -1
- package/dist/chunks/headless-1.1.28-yzfk04g2.mjs +0 -2
- package/dist/chunks/heapdump-1.1.28-hgfac8pe.mjs +0 -6
- package/dist/chunks/help-1.1.28-yhrv28x1.mjs +0 -1
- package/dist/chunks/hookChains-1.1.28-9y5pz734.mjs +0 -3
- package/dist/chunks/hooks-1.1.28-pwy1h39c.mjs +0 -79
- package/dist/chunks/hooks-1.1.28-xhtrbwa5.mjs +0 -1
- package/dist/chunks/ide-1.1.28-27vb56tk.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.28-b092deny.mjs +0 -1
- package/dist/chunks/import-1.1.28-bqs6ebec.mjs +0 -261
- package/dist/chunks/inboundAttachments-1.1.28-0jb4nc2j.mjs +0 -1
- package/dist/chunks/index-1.1.28-0p3tfhd7.mjs +0 -23
- package/dist/chunks/index-1.1.28-30ges9rx.mjs +0 -1
- package/dist/chunks/index-1.1.28-3kg2kmpd.mjs +0 -1
- package/dist/chunks/index-1.1.28-76ztpb54.mjs +0 -1
- package/dist/chunks/index-1.1.28-a6fzpa8n.mjs +0 -1
- package/dist/chunks/index-1.1.28-ac1sbem8.mjs +0 -9
- package/dist/chunks/index-1.1.28-axnrgqkq.mjs +0 -1
- package/dist/chunks/index-1.1.28-b5b1qact.mjs +0 -1
- package/dist/chunks/index-1.1.28-bqm5cnw1.mjs +0 -1
- package/dist/chunks/index-1.1.28-bt937784.mjs +0 -1
- package/dist/chunks/index-1.1.28-bxtzy977.mjs +0 -2
- package/dist/chunks/index-1.1.28-dgnx1m4x.mjs +0 -9
- package/dist/chunks/index-1.1.28-dtfxav1q.mjs +0 -1
- package/dist/chunks/index-1.1.28-gk3v69b8.mjs +0 -1
- package/dist/chunks/index-1.1.28-m2nnkj3d.mjs +0 -1
- package/dist/chunks/index-1.1.28-qk8rhq5n.mjs +0 -1
- package/dist/chunks/index-1.1.28-vgc6r0g0.mjs +0 -1
- package/dist/chunks/index-1.1.28-w2a4k4md.mjs +0 -2
- package/dist/chunks/index-1.1.28-wajajmmp.mjs +0 -1
- package/dist/chunks/index-1.1.28-xaw4tf13.mjs +0 -30
- package/dist/chunks/index-1.1.28-y7jd8m9f.mjs +0 -1
- package/dist/chunks/index-1.1.28-ymg3kz4x.mjs +0 -5
- package/dist/chunks/index-1.1.28-z85wbmey.mjs +0 -1
- package/dist/chunks/init-1.1.28-vt168swt.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.28-vtkc85kf.mjs +0 -1
- package/dist/chunks/ink-1.1.28-8bcvzs97.mjs +0 -1
- package/dist/chunks/insights-1.1.28-hcccjwbm.mjs +0 -870
- package/dist/chunks/install-1.1.28-azeaj14w.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.28-jr58yj7c.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.28-ca73e004.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.28-v5fj6zfn.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.28-k8pjx51r.mjs +0 -1
- package/dist/chunks/keybindings-1.1.28-szefym9t.mjs +0 -2
- package/dist/chunks/knowledge-1.1.28-twc2bf6q.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.28-swqk1ppm.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.28-gvzkk593.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.28-j5fvzh5b.mjs +0 -1
- package/dist/chunks/log-1.1.28-744tvnnz.mjs +0 -1
- package/dist/chunks/main-1.1.28-ngd4qj24.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.28-v3t5y08t.mjs +0 -1
- package/dist/chunks/mcp-1.1.28-bjtwbjwv.mjs +0 -17
- package/dist/chunks/mcp-1.1.28-k0p4t3rs.mjs +0 -1
- package/dist/chunks/mcp-1.1.28-pxxge6kd.mjs +0 -4
- package/dist/chunks/mcpb-1.1.28-rjvsf8d4.mjs +0 -1
- package/dist/chunks/memory-1.1.28-437zyh3m.mjs +0 -77
- package/dist/chunks/model-1.1.28-1weg50dg.mjs +0 -2
- package/dist/chunks/model-1.1.28-qbnnaa17.mjs +0 -1
- package/dist/chunks/node-1.1.28-f9q7m0bb.mjs +0 -15
- package/dist/chunks/node-1.1.28-q18jbvyv.mjs +0 -1
- package/dist/chunks/oauth-1.1.28-nv1bmgrh.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.28-qt0bgn0p.mjs +0 -14
- package/dist/chunks/output-style-1.1.28-xpmnvzvz.mjs +0 -1
- package/dist/chunks/package-OS7RONXY-1.1.28-s8fma63p.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.28-9e7g8r3q.mjs +0 -1
- package/dist/chunks/parser-1.1.28-hahczgmc.mjs +0 -1
- package/dist/chunks/passes-1.1.28-73vxd2mh.mjs +0 -1
- package/dist/chunks/permissions-1.1.28-4dzfyh6m.mjs +0 -1
- package/dist/chunks/permissions-1.1.28-mh27xg9k.mjs +0 -3
- package/dist/chunks/plan-1.1.28-awnhzrk0.mjs +0 -1
- package/dist/chunks/plist-1.1.28-yf5fjx19.mjs +0 -1
- package/dist/chunks/plugin-1.1.28-m9j8cnkz.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.28-w4yvsmat.mjs +0 -1
- package/dist/chunks/plugins-1.1.28-rgr19gwa.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.28-bq157gz5.mjs +0 -2
- package/dist/chunks/print-1.1.28-g8smjzce.mjs +0 -57
- package/dist/chunks/process-1.1.28-tk5w2b0a.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.28-0a601ws2.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.28-2mq2y7nd.mjs +0 -9
- package/dist/chunks/prompt-1.1.28-tj8v37yx.mjs +0 -1
- package/dist/chunks/prompt-1.1.28-x4mxe7n2.mjs +0 -1
- package/dist/chunks/prompts-1.1.28-z2rx5cb6.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.28-cvce24s6.mjs +0 -13
- package/dist/chunks/provider-1.1.28-wd0k9dj9.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.28-ansdm0bp.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.28-xkpar3nj.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.28-kv8762wq.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.28-464hjqs0.mjs +0 -26
- package/dist/chunks/registry-1.1.28-a9wz892f.mjs +0 -1
- package/dist/chunks/release-notes-1.1.28-3dsn738r.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.28-8kfgxbx6.mjs +0 -2
- package/dist/chunks/remote-env-1.1.28-x46beyd7.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.28-1pr9890h.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.28-0dbsb9gr.mjs +0 -1
- package/dist/chunks/rename-1.1.28-m7z3qe6s.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.28-h8cn3e2b.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.28-dc94xnm0.mjs +0 -1
- package/dist/chunks/resume-1.1.28-mr6necqk.mjs +0 -2
- package/dist/chunks/rewind-1.1.28-dk5z09nd.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.28-g6c2bc4a.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.28-2r5z099n.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.28-9gkyj8zg.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.28-mvyww40e.mjs +0 -1
- package/dist/chunks/session-1.1.28-8xwfxnzq.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.28-6twnc7gm.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.28-w6yt6st1.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.28-rfvff5qy.mjs +0 -1
- package/dist/chunks/settings-1.1.28-b3wrgfej.mjs +0 -1
- package/dist/chunks/setup-1.1.28-6vt58sg8.mjs +0 -12
- package/dist/chunks/sinks-1.1.28-rdvsx829.mjs +0 -1
- package/dist/chunks/skills-1.1.28-b53h2c2v.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.28-mk4vmdef.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.28-0p8x3xh5.mjs +0 -1
- package/dist/chunks/state-1.1.28-fd27gqw0.mjs +0 -1
- package/dist/chunks/stats-1.1.28-fmezsyc4.mjs +0 -1
- package/dist/chunks/status-1.1.28-67a4bkc3.mjs +0 -1
- package/dist/chunks/stickers-1.1.28-0g68m8nd.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.28-548a2kyv.mjs +0 -1
- package/dist/chunks/tasks-1.1.28-h3xfz4f4.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.28-4twfmqhf.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.28-7p6f8wg0.mjs +0 -1
- package/dist/chunks/teleport-1.1.28-zdrc7v25.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.28-fbkk7v65.mjs +0 -1
- package/dist/chunks/theme-1.1.28-tj36fh0f.mjs +0 -1
- package/dist/chunks/thinkback-1.1.28-x1bq9k3h.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.28-3jdfk2q7.mjs +0 -1
- package/dist/chunks/toolPool-1.1.28-fpt8xrnv.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.28-mvqt18a8.mjs +0 -1
- package/dist/chunks/tools-1.1.28-a9t3fc6d.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.28-9e0gqehg.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.28-dhs0afg7.mjs +0 -69
- package/dist/chunks/types-1.1.28-51fcbp8c.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.28-d4ca5c58.mjs +0 -4
- package/dist/chunks/update-1.1.28-t9v2gpbh.mjs +0 -72
- package/dist/chunks/upgrade-1.1.28-12174ed0.mjs +0 -1
- package/dist/chunks/upload-1.1.28-whe18m8m.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.28-bnjrek99.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.28-0gh9dbnj.mjs +0 -1
- package/dist/chunks/usage-1.1.28-6m1bv4x5.mjs +0 -1
- package/dist/chunks/util-1.1.28-cvpx898d.mjs +0 -1
- package/dist/chunks/utils-1.1.28-ztac8cf7.mjs +0 -1
- package/dist/chunks/vim-1.1.28-rrv9qbr2.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.28-rtznty0c.mjs +0 -13
- package/dist/chunks/watcher-1.1.28-7v4bd9pm.mjs +0 -1
- package/dist/chunks/wiki-1.1.28-m0y2n8rc.mjs +0 -132
- package/dist/chunks/workflows-1.1.28-k9wt163q.mjs +0 -1
- package/dist/chunks/worktree-1.1.28-5bjehwgc.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.28-d1yy7627.mjs +0 -1
- package/dist/chunks/wrapper-1.1.28-qgyry9mh.mjs +0 -7
- /package/dist/chunks/{cli-1.1.28-m37hk495.mjs → cli-1.1.29-09pf4n9h.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.28-f658tc1w.mjs → cli-1.1.29-8zfk7gyk.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.28-m7x3ax7z.mjs → cli-1.1.29-h0m93zmw.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.28-7d7hz6b4.mjs → cli-1.1.29-skjcgaw2.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.28-qzdtd4w8.mjs → cli-1.1.29-v507w0kc.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.28-43p679k7.mjs → cli-1.1.29-vk67t66v.mjs} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{SU as m,TU as b,UU as H,WU as N,XU as K}from"./cli-1.1.29-ra7737c1.mjs";import{Q9 as x,R9 as M,U9 as D,W9 as R,e_ as L,g_ as O,h_ as _}from"./cli-1.1.29-57e9kkv7.mjs";import{Cga as G,_ea as X,dfa as Y,hga as Z,oca as j,qca as P,qfa as A}from"./cli-1.1.29-a6pnwve8.mjs";import{Ama as I,sma as $}from"./cli-1.1.29-79tgwbnn.mjs";import{Wta as F}from"./cli-1.1.29-4xqgqvwm.mjs";function V(q){if(!q||!process.env.ANTHROPIC_UNIX_SOCKET)return q||{};let{ANTHROPIC_UNIX_SOCKET:z,ANTHROPIC_BASE_URL:B,ANTHROPIC_API_KEY:Q,ANTHROPIC_AUTH_TOKEN:w,CLAUDE_CODE_OAUTH_TOKEN:C,...U}=q;return U}function k(q){if(!q)return{};if(!$(process.env.CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST))return q;let z={};for(let[B,Q]of Object.entries(q))if(!H(B))z[B]=Q;return z}function p(q){if(!q||!W)return q||{};let z={};for(let[B,Q]of Object.entries(q))if(!W.has(B))z[B]=Q;return z}function J(q){return p(k(V(q)))}function S(){if(W===void 0)W=process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop"?new Set(Object.keys(process.env)):null;Object.assign(process.env,J(Z().env));for(let z of h){if(z==="policySettings")continue;if(!j(z))continue;Object.assign(process.env,J(X(z)?.env))}m(),Object.assign(process.env,J(X("policySettings")?.env));let q=J(Y()?.env);for(let[z,B]of Object.entries(q))if(N.has(z.toUpperCase()))process.env[z]=B}function a(){Object.assign(process.env,J(Z().env)),Object.assign(process.env,J(Y()?.env)),x(),D(),O(),L()}var W,h;var T=F(()=>{b();M();G();I();K();R();_();P();A();h=["userSettings","flagSettings","policySettings"]});
|
|
2
|
+
export{S as qd,a as rd,T as sd};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Wta as M}from"./cli-1.1.29-4xqgqvwm.mjs";function J(){return"prod"}function W(){if(process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL)return"-custom-oauth";switch(J()){case"local":return"-local-oauth";case"staging":return"-staging-oauth";case"prod":return""}}function $(){let k=process.env.CLAUDE_LOCAL_OAUTH_API_BASE?.replace(/\/$/,"")??"http://localhost:8000",x=process.env.CLAUDE_LOCAL_OAUTH_APPS_BASE?.replace(/\/$/,"")??"http://localhost:4000",q=process.env.CLAUDE_LOCAL_OAUTH_CONSOLE_BASE?.replace(/\/$/,"")??"http://localhost:3000";return{BASE_API_URL:k,CONSOLE_AUTHORIZE_URL:`${q}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${x}/oauth/authorize`,CLAUDE_AI_ORIGIN:x,TOKEN_URL:`${k}/v1/oauth/token`,API_KEY_URL:`${k}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${k}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${q}/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code`,CLAUDEAI_SUCCESS_URL:`${q}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${q}/oauth/code/callback`,CLIENT_ID:"22422756-60c9-4084-8eb7-27705fd5cf9a",OAUTH_FILE_SUFFIX:"-local-oauth",MCP_PROXY_URL:"http://localhost:8205",MCP_PROXY_PATH:"/v1/toolbox/shttp/mcp/{server_id}"}}function h(){let k=(()=>{switch(J()){case"local":return $();case"staging":return z;case"prod":return z}})(),x=process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL;if(x){let j=x.replace(/\/$/,"");if(!m.includes(j))throw Error("CLAUDE_CODE_CUSTOM_OAUTH_URL is not an approved endpoint.");k={...k,BASE_API_URL:j,CONSOLE_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_ORIGIN:j,TOKEN_URL:`${j}/v1/oauth/token`,API_KEY_URL:`${j}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${j}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,CLAUDEAI_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${j}/oauth/code/callback`,OAUTH_FILE_SUFFIX:"-custom-oauth"}}let q=process.env.CLAUDE_CODE_OAUTH_CLIENT_ID;if(q)k={...k,CLIENT_ID:q};return k}var Q="user:inference",K="user:profile",V="org:create_api_key",X="oauth-2025-04-20",Y,Z,y,z,G="https://claude.ai/oauth/claude-code-client-metadata",m;var w=M(()=>{Y=[V,K],Z=[K,Q,"user:sessions:claude_code","user:mcp_servers","user:file_upload"],y=Array.from(new Set([...Y,...Z])),z={BASE_API_URL:"https://api.anthropic.com",CONSOLE_AUTHORIZE_URL:"https://platform.claude.com/oauth/authorize",CLAUDE_AI_AUTHORIZE_URL:"https://claude.com/cai/oauth/authorize",CLAUDE_AI_ORIGIN:"https://claude.ai",TOKEN_URL:"https://platform.claude.com/v1/oauth/token",API_KEY_URL:"https://api.anthropic.com/api/oauth/claude_cli/create_api_key",ROLES_URL:"https://api.anthropic.com/api/oauth/claude_cli/roles",CONSOLE_SUCCESS_URL:"https://platform.claude.com/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code",CLAUDEAI_SUCCESS_URL:"https://platform.claude.com/oauth/code/success?app=claude-code",MANUAL_REDIRECT_URL:"https://platform.claude.com/oauth/code/callback",CLIENT_ID:"9d1c250a-e61b-44d9-88ed-5944d1962f5e",OAUTH_FILE_SUFFIX:"",MCP_PROXY_URL:"https://mcp-proxy.anthropic.com",MCP_PROXY_PATH:"/v1/mcp/{server_id}"};m=["https://beacon.claude-ai.staging.ant.dev","https://claude.fedstart.com","https://claude-staging.fedstart.com"]});
|
|
2
|
+
export{W as uka,Q as vka,K as wka,X as xka,Y as yka,Z as zka,y as Aka,G as Bka,h as Cka,w as Dka};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{u4 as y,y4 as V}from"./cli-1.1.29-akx5bp37.mjs";import{Oca as q,Qca as Q,S$ as p,U$ as K}from"./cli-1.1.29-a6pnwve8.mjs";import{Wta as J}from"./cli-1.1.29-4xqgqvwm.mjs";function g(){return!!z}async function D(){if(b!==null)return b;return b=!!z,b}function F(){return W||null}async function P(){return(await p(y,["-V"])).code===0}function l(){if(f!==null)return f;let k=process.env.TERM_PROGRAM,B=!!process.env.ITERM_SESSION_ID,H=q.terminal==="iTerm.app";return f=k==="iTerm.app"||B||H,f}async function w(){return(await p(Y,["session","list"])).code===0}var z,W,b=null,f=null,Y="it2";var Z=J(()=>{Q();K();V();z=process.env.TMUX,W=process.env.TMUX_PANE});
|
|
2
|
+
export{g as j4,D as k4,F as l4,P as m4,l as n4,Y as o4,w as p4,Z as q4};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{De as c,He as Eq}from"./cli-1.1.29-t64smfse.mjs";import{BM as Hq,CM as Jq,EL as v,EM as vq,FL as m,FM as y,GM as Qq,HL as Oq,HM as Xq,IM as Yq,JM as $q,KM as d,Mp as s,NM as Dq,Np as Tq,Qp as t,Sp as Mq,Wp as i,Yp as Rq,_L as n,aq as A,cq as D,dq as Aq,eM as e,eq as h,fM as P,fq as S,gq as Fq,jM as jq,kM as O,lM as qq,nM as I,oM as Gq,uM as Cq,vt as l,wt as wq,xM as b,yM as Lq}from"./cli-1.1.29-am1n3767.mjs";import{Dea as Kq,_ea as F,afa as L,aia as a,iia as Bq,qfa as _q,vea as V}from"./cli-1.1.29-a6pnwve8.mjs";import{tla as p,xla as xq}from"./cli-1.1.29-rfz718th.mjs";import{ema as o,hma as N,mma as Wq}from"./cli-1.1.29-v6y1118n.mjs";import{dsa as Uq,koa as f}from"./cli-1.1.29-dfra4ygt.mjs";import{Wta as Zq}from"./cli-1.1.29-4xqgqvwm.mjs";import{dirname as Nq,join as u}from"path";function g(q){if(!k.includes(q))throw Error(`Invalid scope "${q}". Must be one of: ${k.join(", ")}`)}function JG(q){return k.includes(q)}function zq(q){return q==="project"||q==="local"?f():void 0}function QG(q){return F("projectSettings")?.enabledPlugins?.[q]===!0}function Vq(q){let H=q.includes("@"),G=["local","project","user"];for(let X of G){let J=F(D(X))?.enabledPlugins;if(!J)continue;for(let Y of Object.keys(J))if(H?Y===q:Y.startsWith(`${q}@`))return{pluginId:Y,scope:X}}return null}function bq(q,H){let{name:G,marketplace:X}=A(q);return H.find((J)=>{if(J.name===q||J.name===G)return!0;if(X&&J.source)return J.name===G&&J.source.includes(`@${X}`);return!1})}function yq(q){let{name:H}=A(q),G=O();if(G.plugins[q]?.length)return{pluginId:q,pluginName:H};let X=Object.keys(G.plugins).find((J)=>{let{name:Y}=A(J);return Y===H&&(G.plugins[J]?.length??0)>0});if(X)return{pluginId:X,pluginName:H};return null}function kq(q){let G=O().plugins[q];if(!G||G.length===0)return{scope:"user"};let X=f(),J=G.find((Z)=>Z.scope==="local"&&Z.projectPath===X);if(J)return{scope:J.scope,projectPath:J.projectPath};let Y=G.find((Z)=>Z.scope==="project"&&Z.projectPath===X);if(Y)return{scope:Y.scope,projectPath:Y.projectPath};let z=G.find((Z)=>Z.scope==="user");if(z)return{scope:z.scope};return{scope:G[0].scope,projectPath:G[0].projectPath}}async function XG(q,H="user"){g(H);let{name:G,marketplace:X}=A(q),J,Y,z;if(X){let $=await P(q);if($)J=$.entry,Y=X,z=$.marketplaceInstallLocation}else{let $=await n();for(let[B,K]of Object.entries($))try{let M=(await e(B)).plugins.find((R)=>R.name===G);if(M){J=M,Y=B,z=K.installLocation;break}}catch(U){a(o(U));continue}}if(!J||!Y){let $=X?`marketplace "${X}"`:"any configured marketplace";return{success:!1,message:`Plugin "${G}" not found in ${$}`}}let Z=J,x=`${Z.name}@${Y}`,Q=await Jq({pluginId:x,entry:Z,scope:H,marketplaceInstallLocation:z});if(!Q.ok)switch(Q.reason){case"local-source-no-location":return{success:!1,message:`Cannot install local plugin "${Q.pluginName}" without marketplace install location`};case"settings-write-failed":return{success:!1,message:`Failed to update settings: ${Q.message}`};case"resolution-failed":return{success:!1,message:Hq(Q.resolution)};case"blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" is blocked by your organization's policy and cannot be installed`};case"dependency-blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" depends on "${Q.blockedDependency}", which is blocked by your organization's policy`}}return{success:!0,message:`Successfully installed plugin: ${x} (scope: ${H})${Q.depNote}`,pluginId:x,pluginName:Z.name,scope:H}}async function YG(q,H="user",G=!0){g(H);let{enabled:X,disabled:J}=await d(),Y=[...X,...J],z=bq(q,Y),Z=D(H),x=F(Z),Q,$;if(z)Q=Object.keys(x?.enabledPlugins??{}).find((W)=>W===q||W===z.name||W.startsWith(`${z.name}@`))??(q.includes("@")?q:z.name),$=z.name;else{let W=yq(q);if(!W)return{success:!1,message:`Plugin "${q}" not found in installed plugins`};Q=W.pluginId,$=W.pluginName}let B=zq(H),U=O().plugins[Q],M=U?.find((W)=>W.scope===H&&W.projectPath===B);if(!M){let{scope:W}=kq(Q);if(W!==H&&U&&U.length>0){if(W==="project")return{success:!1,message:`Plugin "${q}" is enabled at project scope (.claudin/settings.json, shared with your team). To disable just for you: claudin plugin disable ${q} --scope local`};return{success:!1,message:`Plugin "${q}" is installed in ${W} scope, not ${H}. Use --scope ${W} to uninstall.`}}return{success:!1,message:`Plugin "${q}" is not installed in ${H} scope. Use --scope to specify the correct scope.`}}let R=M.installPath,_={...x?.enabledPlugins};_[Q]=void 0,L(Z,{enabledPlugins:_}),v(),qq(Q,H,B);let w=O().plugins[Q],j=!w||w.length===0;if(j&&R)await m(R);if(j){if(t(Q),G)await s(Q)}let C=h(Q,Y),E=S(C);return{success:!0,message:`Successfully uninstalled plugin: ${$} (scope: ${H})${E}`,pluginId:Q,pluginName:$,scope:H,reverseDependents:C.length>0?C:void 0}}async function r(q,H,G){let X=H?"enable":"disable";if(i(q)){let{error:_}=L("userSettings",{enabledPlugins:{...F("userSettings")?.enabledPlugins,[q]:H}});if(_)return{success:!1,message:`Failed to ${X} built-in plugin: ${_.message}`};v();let{name:T}=A(q);return{success:!0,message:`Successfully ${X}d built-in plugin: ${T}`,pluginId:q,pluginName:T,scope:"user"}}if(G)g(G);let J,Y,z=Vq(q);if(G)if(Y=G,z)J=z.pluginId;else if(q.includes("@"))J=q;else return{success:!1,message:`Plugin "${q}" not found in settings. Use plugin@marketplace format.`};else if(z)J=z.pluginId,Y=z.scope;else if(q.includes("@"))J=q,Y="user";else return{success:!1,message:`Plugin "${q}" not found in any editable settings scope. Use plugin@marketplace format.`};if(H&&l(J))return{success:!1,message:`Plugin "${J}" is blocked by your organization's policy and cannot be enabled`};let Z=D(Y),x=F(Z)?.enabledPlugins?.[J],Q={user:0,project:1,local:2},$=G&&z&&Q[G]>Q[z.scope];if(G&&x===void 0&&z&&z.scope!==G&&!$)return{success:!1,message:`Plugin "${q}" is installed at ${z.scope} scope, not ${G}. Use --scope ${z.scope} or omit --scope to auto-detect.`};let B=G&&!$?x===!0:c().has(J);if(H===B)return{success:!1,message:`Plugin "${q}" is already ${H?"enabled":"disabled"}${G?` at ${G} scope`:""}`};let K;if(!H){let{enabled:_,disabled:T}=await d(),w=h(J,[..._,...T]);if(w.length>0)K=w}let{error:U}=L(Z,{enabledPlugins:{...F(Z)?.enabledPlugins,[J]:H}});if(U)return{success:!1,message:`Failed to ${X} plugin: ${U.message}`};v();let{name:M}=A(J),R=S(K);return{success:!0,message:`Successfully ${X}d plugin: ${M} (scope: ${Y})${R}`,pluginId:J,pluginName:M,scope:Y,reverseDependents:K}}async function $G(q,H){return r(q,!0,H)}async function zG(q,H){return r(q,!1,H)}async function ZG(){let q=c();if(q.size===0)return{success:!0,message:"No enabled plugins to disable"};let H=[],G=[];for(let[X]of q){let J=await r(X,!1);if(J.success)H.push(X);else G.push(`${X}: ${J.message}`)}if(G.length>0)return{success:!1,message:`Disabled ${H.length} ${V(H.length,"plugin")}, ${G.length} failed:
|
|
2
|
+
${G.join(`
|
|
3
|
+
`)}`};return{success:!0,message:`Disabled ${H.length} ${V(H.length,"plugin")}`}}async function UG(q,H){let{name:G,marketplace:X}=A(q),J=X?`${G}@${X}`:q,Y=await P(q);if(!Y)return{success:!1,message:`Plugin "${G}" not found`,pluginId:J,scope:H};let{entry:z,marketplaceInstallLocation:Z}=Y,Q=I().plugins[J];if(!Q||Q.length===0)return{success:!1,message:`Plugin "${G}" is not installed`,pluginId:J,scope:H};let $=zq(H),B=Q.find((K)=>K.scope===H&&K.projectPath===$);if(!B){let K=$?`${H} (${$})`:H;return{success:!1,message:`Plugin "${G}" is not installed at scope ${K}`,pluginId:J,scope:H}}return fq({pluginId:J,pluginName:G,entry:z,marketplaceInstallLocation:Z,installation:B,scope:H,projectPath:$})}async function fq({pluginId:q,pluginName:H,entry:G,marketplaceInstallLocation:X,installation:J,scope:Y,projectPath:z}){let Z=p(),x=J.version,Q,$,B=!1,K;if(typeof G.source!=="string"){let U=await Yq(G.source,{manifest:{name:G.name}});Q=U.path,B=!0,K=U.gitCommitSha,$=await b(q,G.source,U.manifest,U.path,G.version,U.gitCommitSha)}else{let U;try{U=await Z.stat(X)}catch(T){if(N(T))return{success:!1,message:`Marketplace directory not found at ${X}`,pluginId:q,scope:Y};throw T}let M=U.isDirectory()?X:Nq(X);Q=u(M,G.source);try{await Z.stat(Q)}catch(T){if(N(T))return{success:!1,message:`Plugin source not found at ${Q}`,pluginId:q,scope:Y};throw T}let R,_=u(Q,".claude-plugin","plugin.json");try{R=await $q(_,G.name,G.source)}catch{}$=await b(q,G.source,R,Q,G.version)}try{let U=y(q,$),M=Qq(q,$);if(J.version===$||J.installPath===U||J.installPath===M)return{success:!0,message:`${H} is already at the latest version (${$}).`,pluginId:q,newVersion:$,oldVersion:x,alreadyUpToDate:!0,scope:Y};U=await Xq(Q,q,$,G);let _=J.installPath;if(Gq(q,Y,z,U,$,K),_&&_!==U){let j=I();if(!Object.values(j.plugins).some((E)=>E.some((W)=>W.installPath===_)))await m(_)}let T=z?`${Y} (${z})`:Y;return{success:!0,message:`Plugin "${H}" updated from ${x||"unknown"} to ${$} for scope ${T}. Restart to apply changes.`,pluginId:q,newVersion:$,oldVersion:x,scope:Y}}finally{if(B&&Q!==y(q,$))await Z.rm(Q,{recursive:!0,force:!0})}}var k,HG;var hq=Zq(()=>{Uq();Rq();Wq();xq();Bq();Oq();Fq();Cq();jq();Tq();Aq();vq();Dq();Mq();wq();Eq();Lq();_q();Kq();k=["user","project","local"],HG=["user","project","local","managed"]});
|
|
4
|
+
export{k as qe,HG as re,JG as se,QG as te,kq as ue,XG as ve,YG as we,$G as xe,zG as ye,ZG as ze,UG as Ae,hq as Be};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import{Bj as $,CB as O,DB as I,Ej as h,OR as P,_l as F,bm as m,gS as a,sK as A,yD as U,zD as p}from"./cli-1.1.29-am1n3767.mjs";import{J5 as b,K5 as T}from"./cli-1.1.29-8k2xw0ns.mjs";import{tla as R,xla as x}from"./cli-1.1.29-rfz718th.mjs";import{kma as k,mma as M}from"./cli-1.1.29-v6y1118n.mjs";import{Ama as _,pma as N}from"./cli-1.1.29-79tgwbnn.mjs";import{Wta as v}from"./cli-1.1.29-4xqgqvwm.mjs";import{join as E}from"path";function g(){return`IMPORTANT: This message and these instructions are NOT part of the actual user conversation. Do NOT include any references to "documentation updates", "magic docs", or these update instructions in the document content.
|
|
2
|
+
|
|
3
|
+
Based on the user conversation above (EXCLUDING this documentation update instruction message), update the Magic Doc file to incorporate any NEW learnings, insights, or information that would be valuable to preserve.
|
|
4
|
+
|
|
5
|
+
The file {{docPath}} has already been read for you. Here are its current contents:
|
|
6
|
+
<current_doc_content>
|
|
7
|
+
{{docContents}}
|
|
8
|
+
</current_doc_content>
|
|
9
|
+
|
|
10
|
+
Document title: {{docTitle}}
|
|
11
|
+
{{customInstructions}}
|
|
12
|
+
|
|
13
|
+
Your ONLY task is to use the Edit tool to update the documentation file if there is substantial new information to add, then stop. You can make multiple edits (update multiple sections as needed) - make all Edit tool calls in parallel in a single message. If there's nothing substantial to add, simply respond with a brief explanation and do not call any tools.
|
|
14
|
+
|
|
15
|
+
CRITICAL RULES FOR EDITING:
|
|
16
|
+
- Preserve the Magic Doc header exactly as-is: # MAGIC DOC: {{docTitle}}
|
|
17
|
+
- If there's an italicized line immediately after the header, preserve it exactly as-is
|
|
18
|
+
- Keep the document CURRENT with the latest state of the codebase - this is NOT a changelog or history
|
|
19
|
+
- Update information IN-PLACE to reflect the current state - do NOT append historical notes or track changes over time
|
|
20
|
+
- Remove or replace outdated information rather than adding "Previously..." or "Updated to..." notes
|
|
21
|
+
- Clean up or DELETE sections that are no longer relevant or don't align with the document's purpose
|
|
22
|
+
- Fix obvious errors: typos, grammar mistakes, broken formatting, incorrect information, or confusing statements
|
|
23
|
+
- Keep the document well organized: use clear headings, logical section order, consistent formatting, and proper nesting
|
|
24
|
+
|
|
25
|
+
DOCUMENTATION PHILOSOPHY - READ CAREFULLY:
|
|
26
|
+
- BE TERSE. High signal only. No filler words or unnecessary elaboration.
|
|
27
|
+
- Documentation is for OVERVIEWS, ARCHITECTURE, and ENTRY POINTS - not detailed code walkthroughs
|
|
28
|
+
- Do NOT duplicate information that's already obvious from reading the source code
|
|
29
|
+
- Do NOT document every function, parameter, or line number reference
|
|
30
|
+
- Focus on: WHY things exist, HOW components connect, WHERE to start reading, WHAT patterns are used
|
|
31
|
+
- Skip: detailed implementation steps, exhaustive API docs, play-by-play narratives
|
|
32
|
+
|
|
33
|
+
What TO document:
|
|
34
|
+
- High-level architecture and system design
|
|
35
|
+
- Non-obvious patterns, conventions, or gotchas
|
|
36
|
+
- Key entry points and where to start reading code
|
|
37
|
+
- Important design decisions and their rationale
|
|
38
|
+
- Critical dependencies or integration points
|
|
39
|
+
- References to related files, docs, or code (like a wiki) - help readers navigate to relevant context
|
|
40
|
+
|
|
41
|
+
What NOT to document:
|
|
42
|
+
- Anything obvious from reading the code itself
|
|
43
|
+
- Exhaustive lists of files, functions, or parameters
|
|
44
|
+
- Step-by-step implementation details
|
|
45
|
+
- Low-level code mechanics
|
|
46
|
+
- Information already in CLAUDE.md or other project docs
|
|
47
|
+
|
|
48
|
+
Use the Edit tool with file_path: {{docPath}}
|
|
49
|
+
|
|
50
|
+
REMEMBER: Only update if there is substantial new information. The Magic Doc header (# MAGIC DOC: {{docTitle}}) must remain unchanged.`}async function D(){let w=R(),z=E(N(),"magic-docs","prompt.md");try{return await w.readFile(z,{encoding:"utf-8"})}catch{return g()}}function f(w,z){return w.replace(/\{\{(\w+)\}\}/g,(B,J)=>Object.prototype.hasOwnProperty.call(z,J)?z[J]:B)}async function S(w,z,B,J){let Y=await D(),K=J?`
|
|
51
|
+
|
|
52
|
+
DOCUMENT-SPECIFIC UPDATE INSTRUCTIONS:
|
|
53
|
+
The document author has provided specific instructions for how this file should be updated. Pay extra attention to these instructions and follow them carefully:
|
|
54
|
+
|
|
55
|
+
"${J}"
|
|
56
|
+
|
|
57
|
+
These instructions take priority over the general rules below. Make sure your updates align with these specific guidelines.`:"";return f(Y,{docContents:w,docPath:z,docTitle:B,customInstructions:K})}var y=v(()=>{_();x()});function Xw(){G.clear()}function r(w){let z=w.match(u);if(!z||!z[1])return null;let B=z[1].trim(),J=z.index+z[0].length,K=w.slice(J).match(/^\s*\n(?:\s*\n)?(.+?)(?:\n|$)/);if(K&&K[1]){let X=K[1].match(l);if(X&&X[1]){let Z=X[1].trim();return{title:B,instructions:Z}}}return{title:B}}function d(){return{agentType:"magic-docs",whenToUse:"Update Magic Docs",tools:[$],model:"sonnet",source:"built-in",baseDir:"built-in",getSystemPrompt:()=>""}}async function i(w,z){let{messages:B,systemPrompt:J,userContext:Y,systemContext:K,toolUseContext:V}=z,X=F(V.readFileState);X.delete(w.path);let Z={...V,readFileState:X},q="";try{let W=(await U.call({file_path:w.path},Z)).data;if(W.type==="text")q=W.file.content}catch(Q){if(k(Q)||Q instanceof Error&&Q.message.startsWith("File does not exist")){G.delete(w.path);return}throw Q}let H=r(q);if(!H){G.delete(w.path);return}let L=await S(q,w.path,H.title,H.instructions),C=async(Q,W)=>{if(Q.name===$&&typeof W==="object"&&W!==null&&"file_path"in W){let j=W.file_path;if(typeof j==="string"&&j===w.path)return{behavior:"allow",updatedInput:W}}return{behavior:"deny",message:`only ${$} is allowed for ${w.path}`,decisionReason:{type:"other",reason:`only ${$} is allowed`}}};for await(let Q of O({agentDefinition:d(),promptMessages:[A({content:L})],toolUseContext:Z,canUseTool:C,isAsync:!0,forkContextMessages:B,querySource:"magic_docs",override:{systemPrompt:J,userContext:Y,systemContext:K},availableTools:Z.options.tools}));}async function Zw(){}var u,l,G,Yw;var s=v(()=>{I();h();p();M();m();a();T();y();u=/^#\s*MAGIC\s+DOC:\s*(.+)$/im,l=/^[_*](.+?)[_*]\s*$/m,G=new Map;Yw=b(async function(w){let{messages:z,querySource:B}=w;if(B!=="repl_main_thread")return;if(P(z))return;if(G.size===0)return;for(let K of Array.from(G.values()))await i(K,w)})});
|
|
58
|
+
export{Xw as lh,Zw as mh,s as nh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Qaa as I,_$ as X,caa as k,uaa as Y}from"./cli-1.1.29-a6pnwve8.mjs";import{Fia as $}from"./cli-1.1.29-5p2zzfpq.mjs";import{Wta as Z}from"./cli-1.1.29-4xqgqvwm.mjs";import{stat as M}from"fs/promises";import{join as Q,sep as U}from"path";async function b(J){let q=await Y(J);if(!q)return;let K=await X(q),[z,B]=await Promise.all([V(Q(q,"FETCH_HEAD")),K?V(Q(K,"FETCH_HEAD")):Promise.resolve(void 0)]);if(z&&B)return z>B?z:B;return z??B}async function V(J){try{let{mtime:q}=await M(J);return q}catch{return}}var W=Z(()=>{$();k();I()});
|
|
2
|
+
export{b as Kb,W as Lb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{dsa as I,koa as z,ooa as F}from"./cli-1.1.29-dfra4ygt.mjs";import{Wta as E}from"./cli-1.1.29-4xqgqvwm.mjs";import{AsyncLocalStorage as J}from"async_hooks";function U(G,H){return D.run(G,H)}function K(){return D.getStore()??F()}function V(){try{return K()}catch{return z()}}function W(){return D.getStore()??z()}var D;var M=E(()=>{I();D=new J});var Y="command-name",Z="command-message",$="command-args",j="bash-input",q="bash-stdout",B="bash-stderr",L="local-command-stdout",R="local-command-stderr",_="local-command-caveat",b="tick",x="task-notification",A="task-id",T="tool-use-id",k="task-type",p="output-file",u="status",v="summary",y="worktree",f="worktreePath",C="worktreeBranch",S="remote-review",O="remote-review-progress",m="teammate-message",g="channel",h="fork-boilerplate",l="Your directive: ",w,c;var N=E(()=>{w=["help","-h","--help"],c=["list","show","display","current","view","get","check","describe","print","version","about","status","?"]});
|
|
2
|
+
export{U as Oja,K as Pja,V as Qja,W as Rja,M as Sja,Y as Tja,Z as Uja,$ as Vja,j as Wja,q as Xja,B as Yja,L as Zja,R as _ja,_ as $ja,b as aka,x as bka,A as cka,T as dka,k as eka,p as fka,u as gka,v as hka,y as ika,f as jka,C as kka,S as lka,O as mka,m as nka,g as oka,h as pka,l as qka,w as rka,c as ska,N as tka};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{fI as U,gI as w}from"./cli-1.1.29-am1n3767.mjs";import{FZ as f,J1 as k,c1 as N,e1 as O}from"./cli-1.1.29-7pfvq0z6.mjs";import{c5 as M,d5 as H,e5 as R}from"./cli-1.1.29-nxvs12dw.mjs";import{Sta as Y,Wta as Z}from"./cli-1.1.29-4xqgqvwm.mjs";function _(X){let q=V.c(10),{message:I,bold:P,dimColor:Q,subtitle:D}=X,J=P===void 0?!1:P,K=Q===void 0?!1:Q,E;if(q[0]===Symbol.for("react.memo_cache_sentinel"))E=M(U,{}),q[0]=E;else E=q[0];let v;if(q[1]!==J||q[2]!==K||q[3]!==I)v=H(N,{flexDirection:"row",children:[E,H(O,{bold:J,dimColor:K,children:[" ",I]})]}),q[1]=J,q[2]=K,q[3]=I,q[4]=v;else v=q[4];let z;if(q[5]!==D)z=D&&M(O,{dimColor:!0,children:D}),q[5]=D,q[6]=z;else z=q[6];let G;if(q[7]!==v||q[8]!==z)G=H(N,{flexDirection:"column",children:[v,z]}),q[7]=v,q[8]=z,q[9]=G;else G=q[9];return G}var V;var A=Z(()=>{k();w();R();V=Y(f(),1)});
|
|
2
|
+
export{_ as Ah,A as Bh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Wta as V}from"./cli-1.1.29-4xqgqvwm.mjs";var k0,b;var T=V(()=>{k0=typeof global=="object"&&global&&global.Object===Object&&global,b=k0});var m0,y0,K;var z=V(()=>{T();m0=typeof self=="object"&&self&&self.Object===Object&&self,y0=b||m0||Function("return this")(),K=y0});var l0,B;var x=V(()=>{z();l0=K.Symbol,B=l0});function c0(q){var Z=v0.call(q,N),Q=q[N];try{q[N]=void 0;var Y=!0}catch(L){}var A=u0.call(q);if(Y)if(Z)q[N]=Q;else delete q[N];return A}var j,v0,u0,N,C;var f=V(()=>{x();j=Object.prototype,v0=j.hasOwnProperty,u0=j.toString,N=B?B.toStringTag:void 0;C=c0});function i0(q){return o0.call(q)}var h0,o0,g;var d=V(()=>{h0=Object.prototype,o0=h0.toString;g=i0});function s0(q){if(q==null)return q===void 0?r0:n0;return p&&p in Object(q)?C(q):g(q)}var n0="[object Null]",r0="[object Undefined]",p,k;var m=V(()=>{x();f();d();p=B?B.toStringTag:void 0;k=s0});function t0(q){var Z=typeof q;return q!=null&&(Z=="object"||Z=="function")}var G;var O=V(()=>{G=t0});function Qq(q){if(!G(q))return!1;var Z=k(q);return Z==e0||Z==qq||Z==a0||Z==Zq}var a0="[object AsyncFunction]",e0="[object Function]",qq="[object GeneratorFunction]",Zq="[object Proxy]",y;var l=V(()=>{m();O();y=Qq});var Vq,I;var v=V(()=>{z();Vq=K["__core-js_shared__"],I=Vq});function Yq(q){return!!u&&u in q}var u,c;var h=V(()=>{v();u=function(){var q=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||"");return q?"Symbol(src)_1."+q:""}();c=Yq});function Xq(q){if(q!=null){try{return Wq.call(q)}catch(Z){}try{return q+""}catch(Z){}}return""}var $q,Wq,o;var i=V(()=>{$q=Function.prototype,Wq=$q.toString;o=Xq});function Nq(q){if(!G(q)||c(q))return!1;var Z=y(q)?Lq:Bq;return Z.test(o(q))}var Kq,Bq,Jq,Uq,Eq,Aq,Lq,n;var r=V(()=>{l();h();O();i();Kq=/[\\^$.*+?()[\]{}|]/g,Bq=/^\[object .+?Constructor\]$/,Jq=Function.prototype,Uq=Object.prototype,Eq=Jq.toString,Aq=Uq.hasOwnProperty,Lq=RegExp("^"+Eq.call(Aq).replace(Kq,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");n=Nq});function wq(q,Z){return q==null?void 0:q[Z]}var s;var t=V(()=>{s=wq});function Fq(q,Z){var Q=s(q,Z);return n(Q)?Q:void 0}var D;var R=V(()=>{r();t();D=Fq});var Pq,$;var w=V(()=>{R();Pq=D(Object,"create"),$=Pq});function zq(){this.__data__=$?$(null):{},this.size=0}var a;var e=V(()=>{w();a=zq});function Gq(q){var Z=this.has(q)&&delete this.__data__[q];return this.size-=Z?1:0,Z}var q0;var Z0=V(()=>{q0=Gq});function Oq(q){var Z=this.__data__;if($){var Q=Z[q];return Q===Iq?void 0:Q}return xq.call(Z,q)?Z[q]:void 0}var Iq="__lodash_hash_undefined__",Dq,xq,Q0;var V0=V(()=>{w();Dq=Object.prototype,xq=Dq.hasOwnProperty;Q0=Oq});function Mq(q){var Z=this.__data__;return $?Z[q]!==void 0:Hq.call(Z,q)}var Rq,Hq,Y0;var $0=V(()=>{w();Rq=Object.prototype,Hq=Rq.hasOwnProperty;Y0=Mq});function Sq(q,Z){var Q=this.__data__;return this.size+=this.has(q)?0:1,Q[q]=$&&Z===void 0?_q:Z,this}var _q="__lodash_hash_undefined__",W0;var X0=V(()=>{w();W0=Sq});function J(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var H;var K0=V(()=>{e();Z0();V0();$0();X0();J.prototype.clear=a;J.prototype.delete=q0;J.prototype.get=Q0;J.prototype.has=Y0;J.prototype.set=W0;H=J});function bq(){this.__data__=[],this.size=0}var B0;var J0=V(()=>{B0=bq});function Tq(q,Z){return q===Z||q!==q&&Z!==Z}var U0;var E0=V(()=>{U0=Tq});function jq(q,Z){var Q=q.length;while(Q--)if(U0(q[Q][0],Z))return Q;return-1}var W;var F=V(()=>{E0();W=jq});function gq(q){var Z=this.__data__,Q=W(Z,q);if(Q<0)return!1;var Y=Z.length-1;if(Q==Y)Z.pop();else fq.call(Z,Q,1);return--this.size,!0}var Cq,fq,A0;var L0=V(()=>{F();Cq=Array.prototype,fq=Cq.splice;A0=gq});function dq(q){var Z=this.__data__,Q=W(Z,q);return Q<0?void 0:Z[Q][1]}var N0;var w0=V(()=>{F();N0=dq});function pq(q){return W(this.__data__,q)>-1}var F0;var P0=V(()=>{F();F0=pq});function kq(q,Z){var Q=this.__data__,Y=W(Q,q);if(Y<0)++this.size,Q.push([q,Z]);else Q[Y][1]=Z;return this}var z0;var G0=V(()=>{F();z0=kq});function U(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var I0;var D0=V(()=>{J0();L0();w0();P0();G0();U.prototype.clear=B0;U.prototype.delete=A0;U.prototype.get=N0;U.prototype.has=F0;U.prototype.set=z0;I0=U});var mq,x0;var O0=V(()=>{R();z();mq=D(K,"Map"),x0=mq});function yq(){this.size=0,this.__data__={hash:new H,map:new(x0||I0),string:new H}}var R0;var H0=V(()=>{K0();D0();O0();R0=yq});function lq(q){var Z=typeof q;return Z=="string"||Z=="number"||Z=="symbol"||Z=="boolean"?q!=="__proto__":q===null}var M0;var _0=V(()=>{M0=lq});function vq(q,Z){var Q=q.__data__;return M0(Z)?Q[typeof Z=="string"?"string":"hash"]:Q.map}var X;var P=V(()=>{_0();X=vq});function uq(q){var Z=X(this,q).delete(q);return this.size-=Z?1:0,Z}var S0;var b0=V(()=>{P();S0=uq});function cq(q){return X(this,q).get(q)}var T0;var j0=V(()=>{P();T0=cq});function hq(q){return X(this,q).has(q)}var C0;var f0=V(()=>{P();C0=hq});function oq(q,Z){var Q=X(this,q),Y=Q.size;return Q.set(q,Z),this.size+=Q.size==Y?0:1,this}var g0;var d0=V(()=>{P();g0=oq});function E(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var M;var p0=V(()=>{H0();b0();j0();f0();d0();E.prototype.clear=R0;E.prototype.delete=S0;E.prototype.get=T0;E.prototype.has=C0;E.prototype.set=g0;M=E});function _(q,Z){if(typeof q!="function"||Z!=null&&typeof Z!="function")throw TypeError(iq);var Q=function(){var Y=arguments,A=Z?Z.apply(this,Y):Y[0],L=Q.cache;if(L.has(A))return L.get(A);var S=q.apply(this,Y);return Q.cache=L.set(A,S)||L,S};return Q.cache=new(_.Cache||M),Q}var iq="Expected a function",j6;var nq=V(()=>{p0();_.Cache=M;j6=_});
|
|
2
|
+
export{U0 as esa,E0 as fsa,I0 as gsa,D0 as hsa,b as isa,T as jsa,K as ksa,z as lsa,B as msa,x as nsa,k as osa,m as psa,G as qsa,O as rsa,y as ssa,l as tsa,o as usa,i as vsa,D as wsa,R as xsa,x0 as ysa,O0 as zsa,M as Asa,p0 as Bsa,j6 as Csa,nq as Dsa};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Nd as Q,Od as Y}from"./cli-1.1.29-rse83jw9.mjs";import{Ql as H,Rl as B,Vl as U,Wl as V,nN as K,tq as J,uq as W,vN as X}from"./cli-1.1.29-am1n3767.mjs";import{Tta as q,Wta as v}from"./cli-1.1.29-4xqgqvwm.mjs";function P(k){return x.some((h)=>k.endsWith(h))}function C(k){return k.filter((h)=>H.has(h.name)||P(h.name))}function A(k,h,E){let[Z,$]=Q(J([...k,...h],"name"),K),w=(g,j)=>g.name.localeCompare(j.name),z=[...$.sort(w),...Z.sort(w)];if(G){if(G.isCoordinatorMode())return C(z)}return z}var x,G;var D=v(()=>{Y();W();B();X();x=["subscribe_pr_activity","unsubscribe_pr_activity"];G=(V(),q(U))});
|
|
2
|
+
export{P as Jd,C as Kd,A as Ld,D as Md};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{Lta as x,Nta as y,Rta as C}from"./cli-1.1.29-4yztmbcx.mjs";import{Uta as k}from"./cli-1.1.29-4xqgqvwm.mjs";var MF=k((n)=>{var K=x(),b=C(),w=y(),f=(F)=>F[K.SMITHY_CONTEXT_KEY]||(F[K.SMITHY_CONTEXT_KEY]={}),h=(F,J)=>{if(!J||J.length===0)return F;let G=[];for(let L of J)for(let Q of F)if(Q.schemeId.split("#")[1]===L)G.push(Q);for(let L of F)if(!G.find(({schemeId:Q})=>Q===L.schemeId))G.push(L);return G};function v(F){let J=new Map;for(let G of F)J.set(G.schemeId,G);return J}var j=(F,J)=>(G,L)=>async(Q)=>{let V=F.httpAuthSchemeProvider(await J.httpAuthSchemeParametersProvider(F,L,Q.input)),W=F.authSchemePreference?await F.authSchemePreference():[],Z=h(V,W),Y=v(F.httpAuthSchemes),U=w.getSmithyContext(L),$=[];for(let X of Z){let B=Y.get(X.schemeId);if(!B){$.push(`HttpAuthScheme \`${X.schemeId}\` was not enabled for this service.`);continue}let D=B.identityProvider(await J.identityProviderConfigProvider(F));if(!D){$.push(`HttpAuthScheme \`${X.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:N={},signingProperties:R={}}=X.propertiesExtractor?.(F,L)||{};X.identityProperties=Object.assign(X.identityProperties||{},N),X.signingProperties=Object.assign(X.signingProperties||{},R),U.selectedHttpAuthScheme={httpAuthOption:X,identity:await D(X.identityProperties),signer:B.signer};break}if(!U.selectedHttpAuthScheme)throw Error($.join(`
|
|
2
|
+
`));return G(Q)},H={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},P=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),H)}}),M={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},l=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),M)}}),m=(F)=>(J)=>{throw J},u=(F,J)=>{},O=(F)=>(J,G)=>async(L)=>{if(!b.HttpRequest.isInstance(L.request))return J(L);let V=w.getSmithyContext(G).selectedHttpAuthScheme;if(!V)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:W={}},identity:Z,signer:Y}=V,U=await J({...L,request:await Y.sign(L.request,Z,W)}).catch((Y.errorHandler||m)(W));return(Y.successHandler||u)(U.response,W),U},I={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},c=(F)=>({applyToStack:(J)=>{J.addRelativeTo(O(),I)}}),a=(F)=>{if(typeof F==="function")return F;let J=Promise.resolve(F);return()=>J},d=async(F,J,G,L=(V)=>V,...Q)=>{let V=new F(G);return V=L(V)??V,await J.send(V,...Q)};function g(F,J,G,L,Q){return async function*(W,Z,...Y){let U=Z,$=W.startingToken??U[G],X=!0,B;while(X){if(U[G]=$,Q)U[Q]=U[Q]??W.pageSize;if(W.client instanceof F)B=await d(J,W.client,Z,W.withCommand,...Y);else throw Error(`Invalid client, expected instance of ${F.name}`);yield B;let D=$;$=p(B,L),X=!!($&&(!W.stopOnSameToken||$!==D))}return}}var p=(F,J)=>{let G=F,L=J.split(".");for(let Q of L){if(!G||typeof G!=="object")return;G=G[Q]}return G};function s(F,J,G){if(!F.__smithy_context)F.__smithy_context={features:{}};else if(!F.__smithy_context.features)F.__smithy_context.features={};F.__smithy_context.features[J]=G}class E{authSchemes=new Map;constructor(F){for(let J in F){let G=F[J];if(G!==void 0)this.authSchemes.set(J,G)}}getIdentityProvider(F){return this.authSchemes.get(F)}}class _{async sign(F,J,G){if(!G)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!J.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let L=b.HttpRequest.clone(F);if(G.in===K.HttpApiKeyAuthLocation.QUERY)L.query[G.name]=J.apiKey;else if(G.in===K.HttpApiKeyAuthLocation.HEADER)L.headers[G.name]=G.scheme?`${G.scheme} ${J.apiKey}`:J.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return L}}class z{async sign(F,J,G){let L=b.HttpRequest.clone(F);if(!J.token)throw Error("request could not be signed with `token` since the `token` is not defined");return L.headers.Authorization=`Bearer ${J.token}`,L}}class A{async sign(F,J,G){return F}}var q=(F)=>function(G){return S(G)&&G.expiration.getTime()-Date.now()<F},T=300000,r=q(T),S=(F)=>F.expiration!==void 0,o=(F,J,G)=>{if(F===void 0)return;let L=typeof F!=="function"?async()=>Promise.resolve(F):F,Q,V,W,Z=!1,Y=async(U)=>{if(!V)V=L(U);try{Q=await V,W=!0,Z=!1}finally{V=void 0}return Q};if(J===void 0)return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);return Q};return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);if(Z)return Q;if(!G(Q))return Z=!0,Q;if(J(Q))return await Y(U),Q;return Q}};n.requestBuilder=b.requestBuilder;n.DefaultIdentityProviderConfig=E;n.EXPIRATION_MS=T;n.HttpApiKeyAuthSigner=_;n.HttpBearerAuthSigner=z;n.NoAuthSigner=A;n.createIsIdentityExpiredFunction=q;n.createPaginator=g;n.doesIdentityRequireRefresh=S;n.getHttpAuthSchemeEndpointRuleSetPlugin=P;n.getHttpAuthSchemePlugin=l;n.getHttpSigningPlugin=c;n.getSmithyContext=f;n.httpAuthSchemeEndpointRuleSetMiddlewareOptions=H;n.httpAuthSchemeMiddleware=j;n.httpAuthSchemeMiddlewareOptions=M;n.httpSigningMiddleware=O;n.httpSigningMiddlewareOptions=I;n.isIdentityExpired=r;n.memoizeIdentityProvider=o;n.normalizeProvider=a;n.setFeature=s});
|
|
3
|
+
export{MF as __};
|
|
@@ -0,0 +1,2 @@
|
|
|
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 Sta,A as Tta,B as Uta,C as Vta,D as Wta,F as Xta,G as Yta,H as Zta};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import{Uta as y,Xta as b}from"./cli-1.1.29-4xqgqvwm.mjs";var P0=y(($w)=>{$w.HttpAuthLocation=void 0;(function($){$.HEADER="header",$.QUERY="query"})($w.HttpAuthLocation||($w.HttpAuthLocation={}));$w.HttpApiKeyAuthLocation=void 0;(function($){$.HEADER="header",$.QUERY="query"})($w.HttpApiKeyAuthLocation||($w.HttpApiKeyAuthLocation={}));$w.EndpointURLScheme=void 0;(function($){$.HTTP="http",$.HTTPS="https"})($w.EndpointURLScheme||($w.EndpointURLScheme={}));$w.AlgorithmId=void 0;(function($){$.MD5="md5",$.CRC32="crc32",$.CRC32C="crc32c",$.SHA1="sha1",$.SHA256="sha256"})($w.AlgorithmId||($w.AlgorithmId={}));var rT=($)=>{let T=[];if($.sha256!==void 0)T.push({algorithmId:()=>$w.AlgorithmId.SHA256,checksumConstructor:()=>$.sha256});if($.md5!=null)T.push({algorithmId:()=>$w.AlgorithmId.MD5,checksumConstructor:()=>$.md5});return{addChecksumAlgorithm(w){T.push(w)},checksumAlgorithms(){return T}}},lT=($)=>{let T={};return $.checksumAlgorithms().forEach((w)=>{T[w.algorithmId()]=w.checksumConstructor()}),T},oT=($)=>{return rT($)},aT=($)=>{return lT($)};$w.FieldPosition=void 0;(function($){$[$.HEADER=0]="HEADER",$[$.TRAILER=1]="TRAILER"})($w.FieldPosition||($w.FieldPosition={}));var eT="__smithy_context";$w.IniSectionType=void 0;(function($){$.PROFILE="profile",$.SSO_SESSION="sso-session",$.SERVICES="services"})($w.IniSectionType||($w.IniSectionType={}));$w.RequestHandlerProtocol=void 0;(function($){$.HTTP_0_9="http/0.9",$.HTTP_1_0="http/1.0",$.TDS_8_0="tds/8.0"})($w.RequestHandlerProtocol||($w.RequestHandlerProtocol={}));$w.SMITHY_CONTEXT_KEY=eT;$w.getDefaultClientConfiguration=oT;$w.resolveDefaultRuntimeConfig=aT});var D0=y((sw)=>{var m=P0(),Iw=h1(),g=($,T)=>{let w=[];if($)w.push($);if(T)for(let P of T)w.push(P);return w},c=($,T)=>{return`${$||"anonymous"}${T&&T.length>0?` (a.k.a. ${T.join(",")})`:""}`},I0=()=>{let $=[],T=[],w=!1,P=new Set,I=(X)=>X.sort((J,f)=>l1[f.step]-l1[J.step]||o1[f.priority||"normal"]-o1[J.priority||"normal"]),h=(X)=>{let J=!1,f=(G)=>{let Q=g(G.name,G.aliases);if(Q.includes(X)){J=!0;for(let Z of Q)P.delete(Z);return!1}return!0};return $=$.filter(f),T=T.filter(f),J},U=(X)=>{let J=!1,f=(G)=>{if(G.middleware===X){J=!0;for(let Q of g(G.name,G.aliases))P.delete(Q);return!1}return!0};return $=$.filter(f),T=T.filter(f),J},A=(X)=>{return $.forEach((J)=>{X.add(J.middleware,{...J})}),T.forEach((J)=>{X.addRelativeTo(J.middleware,{...J})}),X.identifyOnResolve?.(Y.identifyOnResolve()),X},_=(X)=>{let J=[];return X.before.forEach((f)=>{if(f.before.length===0&&f.after.length===0)J.push(f);else J.push(..._(f))}),J.push(X),X.after.reverse().forEach((f)=>{if(f.before.length===0&&f.after.length===0)J.push(f);else J.push(..._(f))}),J},M=(X=!1)=>{let J=[],f=[],G={};return $.forEach((Z)=>{let R={...Z,before:[],after:[]};for(let V of g(R.name,R.aliases))G[V]=R;J.push(R)}),T.forEach((Z)=>{let R={...Z,before:[],after:[]};for(let V of g(R.name,R.aliases))G[V]=R;f.push(R)}),f.forEach((Z)=>{if(Z.toMiddleware){let R=G[Z.toMiddleware];if(R===void 0){if(X)return;throw Error(`${Z.toMiddleware} is not found when adding ${c(Z.name,Z.aliases)} middleware ${Z.relation} ${Z.toMiddleware}`)}if(Z.relation==="after")R.after.push(Z);if(Z.relation==="before")R.before.push(Z)}}),I(J).map(_).reduce((Z,R)=>{return Z.push(...R),Z},[])},Y={add:(X,J={})=>{let{name:f,override:G,aliases:Q}=J,Z={step:"initialize",priority:"normal",middleware:X,...J},R=g(f,Q);if(R.length>0){if(R.some((V)=>P.has(V))){if(!G)throw Error(`Duplicate middleware name '${c(f,Q)}'`);for(let V of R){let L=$.findIndex((T0)=>T0.name===V||T0.aliases?.some((l0)=>l0===V));if(L===-1)continue;let W=$[L];if(W.step!==Z.step||Z.priority!==W.priority)throw Error(`"${c(W.name,W.aliases)}" middleware with ${W.priority} priority in ${W.step} step cannot be overridden by "${c(f,Q)}" middleware with ${Z.priority} priority in ${Z.step} step.`);$.splice(L,1)}}for(let V of R)P.add(V)}$.push(Z)},addRelativeTo:(X,J)=>{let{name:f,override:G,aliases:Q}=J,Z={middleware:X,...J},R=g(f,Q);if(R.length>0){if(R.some((V)=>P.has(V))){if(!G)throw Error(`Duplicate middleware name '${c(f,Q)}'`);for(let V of R){let L=T.findIndex((T0)=>T0.name===V||T0.aliases?.some((l0)=>l0===V));if(L===-1)continue;let W=T[L];if(W.toMiddleware!==Z.toMiddleware||W.relation!==Z.relation)throw Error(`"${c(W.name,W.aliases)}" middleware ${W.relation} "${W.toMiddleware}" middleware cannot be overridden by "${c(f,Q)}" middleware ${Z.relation} "${Z.toMiddleware}" middleware.`);T.splice(L,1)}}for(let V of R)P.add(V)}T.push(Z)},clone:()=>A(I0()),use:(X)=>{X.applyToStack(Y)},remove:(X)=>{if(typeof X==="string")return h(X);else return U(X)},removeByTag:(X)=>{let J=!1,f=(G)=>{let{tags:Q,name:Z,aliases:R}=G;if(Q&&Q.includes(X)){let V=g(Z,R);for(let L of V)P.delete(L);return J=!0,!1}return!0};return $=$.filter(f),T=T.filter(f),J},concat:(X)=>{let J=A(I0());return J.use(X),J.identifyOnResolve(w||J.identifyOnResolve()||(X.identifyOnResolve?.()??!1)),J},applyToStack:A,identify:()=>{return M(!0).map((X)=>{let J=X.step??X.relation+" "+X.toMiddleware;return c(X.name,X.aliases)+" - "+J})},identifyOnResolve(X){if(typeof X==="boolean")w=X;return w},resolve:(X,J)=>{for(let f of M().map((G)=>G.middleware).reverse())X=f(X,J);if(w)console.log(Y.identify());return X}};return Y},l1={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},o1={high:3,normal:2,low:1},hw=($)=>$[m.SMITHY_CONTEXT_KEY]||($[m.SMITHY_CONTEXT_KEY]={}),Uw=($)=>{if(typeof $==="function")return $;let T=Promise.resolve($);return()=>T},Aw=($)=>()=>{throw Error($)},_w=($)=>()=>Promise.reject($),W0=()=>{let $=new WeakSet;return(T,w)=>{if(typeof w==="object"&&w!==null){if($.has(w))return"[Circular]";$.add(w)}return w}},Mw=($)=>{return new Promise((T)=>setTimeout(T,$*1000))},$$={minDelay:2,maxDelay:120};sw.WaiterState=void 0;(function($){$.ABORTED="ABORTED",$.FAILURE="FAILURE",$.SUCCESS="SUCCESS",$.RETRY="RETRY",$.TIMEOUT="TIMEOUT"})(sw.WaiterState||(sw.WaiterState={}));var Xw=($)=>{if($.state===sw.WaiterState.ABORTED){let T=Error(`${JSON.stringify({...$,reason:"Request was aborted"},W0())}`);throw T.name="AbortError",T}else if($.state===sw.WaiterState.TIMEOUT){let T=Error(`${JSON.stringify({...$,reason:"Waiter has timed out"},W0())}`);throw T.name="TimeoutError",T}else if($.state!==sw.WaiterState.SUCCESS)throw Error(`${JSON.stringify($,W0())}`);return $},Jw=async({minDelay:$,maxDelay:T,maxWaitTime:w,abortController:P,client:I,abortSignal:h},U,A)=>{let _={},[M,Y]=[$*1000,T*1000],X=0,J=Date.now()+w*1000,f=Date.now()+60000,G=!1;while(!0){if(X>0){let R=Gw(M,Y,X,J);if(P?.signal?.aborted||h?.aborted)return _["AbortController signal aborted."]|=0,_["AbortController signal aborted."]+=1,{state:sw.WaiterState.ABORTED,observedResponses:_};if(Date.now()+R>J)return{state:sw.WaiterState.TIMEOUT,observedResponses:_};await Mw(R/1000)}let{state:Q,reason:Z}=await A(I,U);if(Z){let R=fw(Z);_[R]|=0,_[R]+=1}if(Q!==sw.WaiterState.RETRY)return{state:Q,reason:Z,final:Z,observedResponses:_};if(X+=1,!G&&Date.now()>=f)Yw(_,I),G=!0}},Yw=($={},T)=>{let w=Object.keys($),P=0;for(let U of w){let A=$[U]|0;if(U.startsWith("403:"))P+=A}let I=T?.config?.logger,h=typeof I?.warn==="function"&&!I.constructor?.name?.includes?.("NoOpLogger")?I:console;if(P>=3||w[w.length-1]?.startsWith("403:"))h.warn("@smithy/util-waiter WARN - 403 status code encountered during waiter polling.")},fw=($)=>{let T=$?.$response?.statusCode??$?.$metadata?.httpStatusCode;if($?.$responseBodyText)return`${T?T+": ":""}Deserialization error for body: ${$.$responseBodyText}`;if(T){if($?.$response||$?.message)return`${T??"Unknown"}: ${$?.message}`;return`${T}: OK`}return String($?.message??JSON.stringify($,W0())??"Unknown")},Gw=($,T,w,P)=>{let I=Math.log(T/$)/Math.log(2)+1;if(w>I)return T;let h=$*2**(w-1),U=Math.min(h,T),A=Zw($,U);if(Date.now()+A>P){let _=P-Date.now();return Math.max(0,_-500)}return A},Zw=($,T)=>$+Math.random()*(T-$),Rw=($)=>{if($.maxWaitTime<=0)throw Error("WaiterConfiguration.maxWaitTime must be greater than 0");else if($.minDelay<=0)throw Error("WaiterConfiguration.minDelay must be greater than 0");else if($.maxDelay<=0)throw Error("WaiterConfiguration.maxDelay must be greater than 0");else if($.maxWaitTime<=$.minDelay)throw Error(`WaiterConfiguration.maxWaitTime [${$.maxWaitTime}] must be greater than WaiterConfiguration.minDelay [${$.minDelay}] for this waiter`);else if($.maxDelay<$.minDelay)throw Error(`WaiterConfiguration.maxDelay [${$.maxDelay}] must be greater than WaiterConfiguration.minDelay [${$.minDelay}] for this waiter`)},a1=($)=>{let T,w=new Promise((P)=>{if(T=()=>P({state:sw.WaiterState.ABORTED}),typeof $.addEventListener==="function")$.addEventListener("abort",T);else $.onabort=T});return{clearListener(){if(typeof $.removeEventListener==="function")$.removeEventListener("abort",T)},aborted:w}},Qw=async($,T,w)=>{let P={...$$,...$};Rw(P);let I=[Jw(P,T,w)],h=[];if($.abortSignal){let{aborted:U,clearListener:A}=a1($.abortSignal);h.push(A),I.push(U)}if($.abortController?.signal){let{aborted:U,clearListener:A}=a1($.abortController.signal);h.push(A),I.push(U)}return Promise.race(I).then((U)=>{for(let A of h)A();return U})};class T${config;middlewareStack=I0();initConfig;handlers;constructor($){this.config=$;let{protocol:T,protocolSettings:w}=$;if(w){if(typeof T==="function")$.protocol=new T(w)}}send($,T,w){let P=typeof T!=="function"?T:void 0,I=typeof T==="function"?T:w,h=P===void 0&&this.config.cacheMiddleware===!0,U;if(h){if(!this.handlers)this.handlers=new WeakMap;let A=this.handlers;if(A.has($.constructor))U=A.get($.constructor);else U=$.resolveMiddleware(this.middlewareStack,this.config,P),A.set($.constructor,U)}else delete this.handlers,U=$.resolveMiddleware(this.middlewareStack,this.config,P);if(I)U($).then((A)=>I(null,A.output),(A)=>I(A)).catch(()=>{});else return U($).then((A)=>A.output)}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}}var P1="***SensitiveInformation***";function H0($,T){if(T==null)return T;let w=Iw.NormalizedSchema.of($);if(w.getMergedTraits().sensitive)return P1;if(w.isListSchema()){if(!!w.getValueSchema().getMergedTraits().sensitive)return P1}else if(w.isMapSchema()){if(!!w.getKeySchema().getMergedTraits().sensitive||!!w.getValueSchema().getMergedTraits().sensitive)return P1}else if(w.isStructSchema()&&typeof T==="object"){let P=T,I={};for(let[h,U]of w.structIterator())if(P[h]!=null)I[h]=H0(U,P[h]);return I}return T}class U1{middlewareStack=I0();schema;static classBuilder(){return new w$}resolveMiddlewareWithContext($,T,w,{middlewareFn:P,clientName:I,commandName:h,inputFilterSensitiveLog:U,outputFilterSensitiveLog:A,smithyContext:_,additionalContext:M,CommandCtor:Y}){for(let Z of P.bind(this)(Y,$,T,w))this.middlewareStack.use(Z);let X=$.concat(this.middlewareStack),{logger:J}=T,f={logger:J,clientName:I,commandName:h,inputFilterSensitiveLog:U,outputFilterSensitiveLog:A,[m.SMITHY_CONTEXT_KEY]:{commandInstance:this,..._},...M},{requestHandler:G}=T,Q=w??{};if(_.eventStream)Q={isEventStream:!0,...Q};return X.resolve((Z)=>G.handle(Z.request,Q),f)}}class w${_init=()=>{};_ep={};_middlewareFn=()=>[];_commandName="";_clientName="";_additionalContext={};_smithyContext={};_inputFilterSensitiveLog=void 0;_outputFilterSensitiveLog=void 0;_serializer=null;_deserializer=null;_operationSchema;init($){this._init=$}ep($){return this._ep=$,this}m($){return this._middlewareFn=$,this}s($,T,w={}){return this._smithyContext={service:$,operation:T,...w},this}c($={}){return this._additionalContext=$,this}n($,T){return this._clientName=$,this._commandName=T,this}f($=(w)=>w,T=(w)=>w){return this._inputFilterSensitiveLog=$,this._outputFilterSensitiveLog=T,this}ser($){return this._serializer=$,this}de($){return this._deserializer=$,this}sc($){return this._operationSchema=$,this._smithyContext.operationSchema=$,this}build(){let $=this,T;return T=class extends U1{input;static getEndpointParameterInstructions(){return $._ep}constructor(...[w]){super();this.input=w??{},$._init(this),this.schema=$._operationSchema}resolveMiddleware(w,P,I){let h=$._operationSchema,U=h?.[4]??h?.input,A=h?.[5]??h?.output;return this.resolveMiddlewareWithContext(w,P,I,{CommandCtor:T,middlewareFn:$._middlewareFn,clientName:$._clientName,commandName:$._commandName,inputFilterSensitiveLog:$._inputFilterSensitiveLog??(h?H0.bind(null,U):(_)=>_),outputFilterSensitiveLog:$._outputFilterSensitiveLog??(h?H0.bind(null,A):(_)=>_),smithyContext:$._smithyContext,additionalContext:$._additionalContext})}serialize=$._serializer;deserialize=$._deserializer}}}var Vw="***SensitiveInformation***",Ow=($,T,w)=>{for(let[h,U]of Object.entries($)){let A=async function(M,Y,X){let J=new U(M);if(typeof Y==="function")this.send(J,Y);else if(typeof X==="function"){if(typeof Y!=="object")throw Error(`Expected http options but got ${typeof Y}`);this.send(J,Y||{},X)}else return this.send(J,Y)},_=(h[0].toLowerCase()+h.slice(1)).replace(/Command$/,"");T.prototype[_]=A}let{paginators:P={},waiters:I={}}=w??{};for(let[h,U]of Object.entries(P))if(T.prototype[h]===void 0)T.prototype[h]=function(A={},_,...M){return U({..._,client:this},A,...M)};for(let[h,U]of Object.entries(I))if(T.prototype[h]===void 0)T.prototype[h]=async function(A={},_,...M){let Y=_;if(typeof _==="number")Y={maxWaitTime:_};return U({...Y,client:this},A,...M)}};class t extends Error{$fault;$response;$retryable;$metadata;constructor($){super($.message);Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=$.name,this.$fault=$.$fault,this.$metadata=$.$metadata}static isInstance($){if(!$)return!1;let T=$;return t.prototype.isPrototypeOf(T)||Boolean(T.$fault)&&Boolean(T.$metadata)&&(T.$fault==="client"||T.$fault==="server")}static[Symbol.hasInstance]($){if(!$)return!1;let T=$;if(this===t)return t.isInstance($);if(t.isInstance($)){if(T.name&&this.name)return this.prototype.isPrototypeOf($)||T.name===this.name;return this.prototype.isPrototypeOf($)}return!1}}var P$=($,T={})=>{Object.entries(T).filter(([,P])=>P!==void 0).forEach(([P,I])=>{if($[P]==null||$[P]==="")$[P]=I});let w=$.message||$.Message||"UnknownError";return $.message=w,delete $.Message,$},I$=({output:$,parsedBody:T,exceptionCtor:w,errorCode:P})=>{let I=Lw($),h=I.httpStatusCode?I.httpStatusCode+"":void 0,U=new w({name:T?.code||T?.Code||P||h||"UnknownError",$fault:"client",$metadata:I});throw P$(U,T)},Nw=($)=>{return({output:T,parsedBody:w,errorCode:P})=>{I$({output:T,parsedBody:w,exceptionCtor:$,errorCode:P})}},Lw=($)=>({httpStatusCode:$.statusCode,requestId:$.headers["x-amzn-requestid"]??$.headers["x-amzn-request-id"]??$.headers["x-amz-request-id"],extendedRequestId:$.headers["x-amz-id-2"],cfId:$.headers["x-amz-cf-id"]}),Ww=($)=>{switch($){case"standard":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"mobile":return{retryMode:"standard",connectionTimeout:30000};default:return{}}},e1=!1,Hw=($)=>{if($&&!e1&&parseInt($.substring(1,$.indexOf(".")))<16)e1=!0},h$=Object.values(m.AlgorithmId),U$=($)=>{let T=[];for(let w in m.AlgorithmId){let P=m.AlgorithmId[w];if($[P]===void 0)continue;T.push({algorithmId:()=>P,checksumConstructor:()=>$[P]})}for(let[w,P]of Object.entries($.checksumAlgorithms??{}))T.push({algorithmId:()=>w,checksumConstructor:()=>P});return{addChecksumAlgorithm(w){$.checksumAlgorithms=$.checksumAlgorithms??{};let P=w.algorithmId(),I=w.checksumConstructor();if(h$.includes(P))$.checksumAlgorithms[P.toUpperCase()]=I;else $.checksumAlgorithms[P]=I;T.push(w)},checksumAlgorithms(){return T}}},A$=($)=>{let T={};return $.checksumAlgorithms().forEach((w)=>{let P=w.algorithmId();if(h$.includes(P))T[P]=w.checksumConstructor()}),T},_$=($)=>{return{setRetryStrategy(T){$.retryStrategy=T},retryStrategy(){return $.retryStrategy}}},M$=($)=>{let T={};return T.retryStrategy=$.retryStrategy(),T},X$=($)=>{return Object.assign(U$($),_$($))},Dw=X$,Ew=($)=>{return Object.assign(A$($),M$($))},Kw=($)=>Array.isArray($)?$:[$],J$=($)=>{for(let w in $)if($.hasOwnProperty(w)&&$[w]["#text"]!==void 0)$[w]=$[w]["#text"];else if(typeof $[w]==="object"&&$[w]!==null)$[w]=J$($[w]);return $},Bw=($)=>{return $!=null};class Y${trace(){}debug(){}info(){}warn(){}error(){}}function f$($,T,w){let P,I,h;if(typeof T>"u"&&typeof w>"u")P={},h=$;else if(P=$,typeof T==="function")return I=T,h=w,Fw(P,I,h);else h=T;for(let U of Object.keys(h)){if(!Array.isArray(h[U])){P[U]=h[U];continue}G$(P,null,h,U)}return P}var qw=($)=>{let T={};for(let[w,P]of Object.entries($||{}))T[w]=[,P];return T},xw=($,T)=>{let w={};for(let P in T)G$(w,$,T,P);return w},Fw=($,T,w)=>{return f$($,Object.entries(w).reduce((P,[I,h])=>{if(Array.isArray(h))P[I]=h;else if(typeof h==="function")P[I]=[T,h()];else P[I]=[T,h];return P},{}))},G$=($,T,w,P)=>{if(T!==null){let U=w[P];if(typeof U==="function")U=[,U];let[A=zw,_=Sw,M=P]=U;if(typeof A==="function"&&A(T[M])||typeof A!=="function"&&!!A)$[P]=_(T[M]);return}let[I,h]=w[P];if(typeof h==="function"){let U,A=I===void 0&&(U=h())!=null,_=typeof I==="function"&&!!I(void 0)||typeof I!=="function"&&!!I;if(A)$[P]=U;else if(_)$[P]=h()}else{let U=I===void 0&&h!=null,A=typeof I==="function"&&!!I(h)||typeof I!=="function"&&!!I;if(U||A)$[P]=h}},zw=($)=>$!=null,Sw=($)=>$,jw=($)=>{if($!==$)return"NaN";switch($){case 1/0:return"Infinity";case-1/0:return"-Infinity";default:return $}},Cw=($)=>$.toISOString().replace(".000Z","Z"),I1=($)=>{if($==null)return{};if(Array.isArray($))return $.filter((T)=>T!=null).map(I1);if(typeof $==="object"){let T={};for(let w of Object.keys($)){if($[w]==null)continue;T[w]=I1($[w])}return T}return $};sw.AlgorithmId=m.AlgorithmId;sw.Client=T$;sw.Command=U1;sw.NoOpLogger=Y$;sw.SENSITIVE_STRING=Vw;sw.ServiceException=t;sw._json=I1;sw.checkExceptions=Xw;sw.constructStack=I0;sw.convertMap=qw;sw.createAggregatedClient=Ow;sw.createWaiter=Qw;sw.decorateServiceException=P$;sw.emitWarningIfUnsupportedVersion=Hw;sw.getArrayIfSingleItem=Kw;sw.getChecksumConfiguration=U$;sw.getDefaultClientConfiguration=Dw;sw.getDefaultExtensionConfiguration=X$;sw.getRetryConfiguration=_$;sw.getSmithyContext=hw;sw.getValueFromTextNode=J$;sw.invalidFunction=Aw;sw.invalidProvider=_w;sw.isSerializableHeaderValue=Bw;sw.loadConfigsForDefaultMode=Ww;sw.map=f$;sw.normalizeProvider=Uw;sw.resolveChecksumRuntimeConfig=A$;sw.resolveDefaultRuntimeConfig=Ew;sw.resolveRetryRuntimeConfig=M$;sw.schemaLogFilter=H0;sw.serializeDateTime=Cw;sw.serializeFloat=jw;sw.take=xw;sw.throwDefaultError=I$;sw.waiterServiceDefaults=$$;sw.withBaseException=Nw});var C$=y((ZI)=>{var OP=b("node:os"),i=b("node:path"),NP=b("node:crypto"),N$=b("node:fs/promises"),E0=P0(),K0=D0(),LP=F0();class u extends Error{name="ProviderError";tryNextLink;constructor($,T=!0){let w,P=!0;if(typeof T==="boolean")w=void 0,P=T;else if(T!=null&&typeof T==="object")w=T.logger,P=T.tryNextLink??!0;super($);this.tryNextLink=P,Object.setPrototypeOf(this,u.prototype),w?.debug?.(`@smithy/property-provider ${P?"->":"(!)"} ${$}`)}static from($,T=!0){return Object.assign(new this($.message,T),$)}}class h0 extends u{name="CredentialsProviderError";constructor($,T=!0){super($,T);Object.setPrototypeOf(this,h0.prototype)}}class J1 extends u{name="TokenProviderError";constructor($,T=!0){super($,T);Object.setPrototypeOf(this,J1.prototype)}}var L$=(...$)=>async()=>{if($.length===0)throw new u("No providers in chain");let T;for(let w of $)try{return await w()}catch(P){if(T=P,P?.tryNextLink)continue;throw P}throw T},W$=($)=>()=>Promise.resolve($),Y1=($,T,w)=>{let P,I,h,U=!1,A=async()=>{if(!I)I=$();try{P=await I,h=!0,U=!1}finally{I=void 0}return P};if(T===void 0)return async(_)=>{if(!h||_?.forceRefresh)P=await A();return P};return async(_)=>{if(!h||_?.forceRefresh)P=await A();if(U)return P;if(w&&!w(P))return U=!0,P;if(T(P))return await A(),P;return P}},F=($,T,w)=>{if(!(T in $))return;if($[T]==="true")return!0;if($[T]==="false")return!1;throw Error(`Cannot load ${w} "${T}". Expected "true" or "false", got ${$[T]}.`)},WP=($,T,w)=>{if(!(T in $))return;let P=parseInt($[T],10);if(Number.isNaN(P))throw TypeError(`Cannot load ${w} '${T}'. Expected number, got '${$[T]}'.`);return P};ZI.SelectorType=void 0;(function($){$.ENV="env",$.CONFIG="shared config entry"})(ZI.SelectorType||(ZI.SelectorType={}));var A1={},HP=()=>{if(process&&process.geteuid)return`${process.geteuid()}`;return"DEFAULT"},U0=()=>{let{HOME:$,USERPROFILE:T,HOMEPATH:w,HOMEDRIVE:P=`C:${i.sep}`}=process.env;if($)return $;if(T)return T;if(w)return`${P}${w}`;let I=HP();if(!A1[I])A1[I]=OP.homedir();return A1[I]},H$="AWS_PROFILE",D$="default",E$=($)=>$.profile||process.env[H$]||D$,K$=($)=>{let w=NP.createHash("sha1").update($).digest("hex");return i.join(U0(),".aws","sso","cache",`${w}.json`)},B0={},DP=async($)=>{if(B0[$])return B0[$];let T=K$($),w=await N$.readFile(T,"utf8");return JSON.parse(w)},d=".",EP=($)=>Object.entries($).filter(([T])=>{let w=T.indexOf(d);if(w===-1)return!1;return Object.values(E0.IniSectionType).includes(T.substring(0,w))}).reduce((T,[w,P])=>{let I=w.indexOf(d),h=w.substring(0,I)===E0.IniSectionType.PROFILE?w.substring(I+1):w;return T[h]=P,T},{...$.default&&{default:$.default}}),KP="AWS_CONFIG_FILE",B$=()=>process.env[KP]||i.join(U0(),".aws","config"),BP="AWS_SHARED_CREDENTIALS_FILE",qP=()=>process.env[BP]||i.join(U0(),".aws","credentials"),xP=/^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/,FP=["__proto__","profile __proto__"],M1=($)=>{let T={},w,P;for(let I of $.split(/\r?\n/)){let h=I.split(/(^|\s)[;#]/)[0].trim();if(h[0]==="["&&h[h.length-1]==="]"){w=void 0,P=void 0;let A=h.substring(1,h.length-1),_=xP.exec(A);if(_){let[,M,,Y]=_;if(Object.values(E0.IniSectionType).includes(M))w=[M,Y].join(d)}else w=A;if(FP.includes(A))throw Error(`Found invalid profile name "${A}"`)}else if(w){let A=h.indexOf("=");if(![0,-1].includes(A)){let[_,M]=[h.substring(0,A).trim(),h.substring(A+1).trim()];if(M==="")P=_;else{if(P&&I.trimStart()===I)P=void 0;T[w]=T[w]||{};let Y=P?[P,_].join(d):_;T[w][Y]=M}}}}return T},_1={},q0={},x0=($,T)=>{if(q0[$]!==void 0)return q0[$];if(!_1[$]||T?.ignoreCache)_1[$]=N$.readFile($,"utf8");return _1[$]},Z$=()=>({}),f1=async($={})=>{let{filepath:T=qP(),configFilepath:w=B$()}=$,P=U0(),I="~/",h=T;if(T.startsWith("~/"))h=i.join(P,T.slice(2));let U=w;if(w.startsWith("~/"))U=i.join(P,w.slice(2));let A=await Promise.all([x0(U,{ignoreCache:$.ignoreCache}).then(M1).then(EP).catch(Z$),x0(h,{ignoreCache:$.ignoreCache}).then(M1).catch(Z$)]);return{configFile:A[0],credentialsFile:A[1]}},zP=($)=>Object.entries($).filter(([T])=>T.startsWith(E0.IniSectionType.SSO_SESSION+d)).reduce((T,[w,P])=>({...T,[w.substring(w.indexOf(d)+1)]:P}),{}),SP=()=>({}),jP=async($={})=>x0($.configFilepath??B$()).then(M1).then(zP).catch(SP),CP=(...$)=>{let T={};for(let w of $)for(let[P,I]of Object.entries(w))if(T[P]!==void 0)Object.assign(T[P],I);else T[P]=I;return T},sP=async($)=>{let T=await f1($);return CP(T.configFile,T.credentialsFile)},cP={getFileRecord(){return q0},interceptFile($,T){q0[$]=Promise.resolve(T)},getTokenRecord(){return B0},interceptToken($,T){B0[$]=T}};function q$($){try{let T=new Set(Array.from($.match(/([A-Z_]){3,}/g)??[]));return T.delete("CONFIG"),T.delete("CONFIG_PREFIX_SEPARATOR"),T.delete("ENV"),[...T].join(", ")}catch(T){return $}}var bP=($,T)=>async()=>{try{let w=$(process.env,T);if(w===void 0)throw Error();return w}catch(w){throw new h0(w.message||`Not found in ENV: ${q$($.toString())}`,{logger:T?.logger})}},kP=($,{preferredFile:T="config",...w}={})=>async()=>{let P=E$(w),{configFile:I,credentialsFile:h}=await f1(w),U=h[P]||{},A=I[P]||{},_=T==="config"?{...U,...A}:{...A,...U};try{let Y=$(_,T==="config"?I:h);if(Y===void 0)throw Error();return Y}catch(M){throw new h0(M.message||`Not found in config files w/ profile [${P}]: ${q$($.toString())}`,{logger:w.logger})}},pP=($)=>typeof $==="function",x$=($)=>pP($)?async()=>await $():W$($),X1=({environmentVariableSelector:$,configFileSelector:T,default:w},P={})=>{let{signingName:I,logger:h}=P;return Y1(L$(bP($,{signingName:I,logger:h}),kP(T,P),x$(w)))},G1="AWS_USE_DUALSTACK_ENDPOINT",Z1="use_dualstack_endpoint",yP=!1,gP={environmentVariableSelector:($)=>F($,G1,ZI.SelectorType.ENV),configFileSelector:($)=>F($,Z1,ZI.SelectorType.CONFIG),default:!1},mP={environmentVariableSelector:($)=>F($,G1,ZI.SelectorType.ENV),configFileSelector:($)=>F($,Z1,ZI.SelectorType.CONFIG),default:void 0},R1="AWS_USE_FIPS_ENDPOINT",Q1="use_fips_endpoint",dP=!1,vP={environmentVariableSelector:($)=>F($,R1,ZI.SelectorType.ENV),configFileSelector:($)=>F($,Q1,ZI.SelectorType.CONFIG),default:!1},nP={environmentVariableSelector:($)=>F($,R1,ZI.SelectorType.ENV),configFileSelector:($)=>F($,Q1,ZI.SelectorType.CONFIG),default:void 0},tP=($)=>{let{tls:T,endpoint:w,urlParser:P,useDualstackEndpoint:I}=$;return Object.assign($,{tls:T??!0,endpoint:K0.normalizeProvider(typeof w==="string"?P(w):w),isCustomEndpoint:!0,useDualstackEndpoint:K0.normalizeProvider(I??!1)})},iP=async($)=>{let{tls:T=!0}=$,w=await $.region();if(!new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/).test(w))throw Error("Invalid region in client config");let I=await $.useDualstackEndpoint(),h=await $.useFipsEndpoint(),{hostname:U}=await $.regionInfoProvider(w,{useDualstackEndpoint:I,useFipsEndpoint:h})??{};if(!U)throw Error("Cannot resolve hostname from client config");return $.urlParser(`${T?"https:":"http:"}//${U}`)},uP=($)=>{let T=K0.normalizeProvider($.useDualstackEndpoint??!1),{endpoint:w,useFipsEndpoint:P,urlParser:I,tls:h}=$;return Object.assign($,{tls:h??!0,endpoint:w?K0.normalizeProvider(typeof w==="string"?I(w):w):()=>iP({...$,useDualstackEndpoint:T,useFipsEndpoint:P}),isCustomEndpoint:!!w,useDualstackEndpoint:T})},F$="AWS_REGION",z$="region",S$={environmentVariableSelector:($)=>$[F$],configFileSelector:($)=>$[z$],default:()=>{throw Error("Region is missing")}},rP={preferredFile:"credentials"},R$=new Set,lP=($,T=LP.isValidHostLabel)=>{if(!R$.has($)&&!T($))if($==="*")console.warn('@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.');else throw Error(`Region not accepted: region="${$}" is not a valid hostname component.`);else R$.add($)},j$=($)=>typeof $==="string"&&($.startsWith("fips-")||$.endsWith("-fips")),oP=($)=>j$($)?["fips-aws-global","aws-fips"].includes($)?"us-east-1":$.replace(/fips-(dkr-|prod-)?|-fips/,""):$,aP=($)=>{let{region:T,useFipsEndpoint:w}=$;if(!T)throw Error("Region is missing");return Object.assign($,{region:async()=>{let P=typeof T==="function"?await T():T,I=oP(P);return lP(I),I},useFipsEndpoint:async()=>{let P=typeof T==="string"?T:await T();if(j$(P))return!0;return typeof w!=="function"?Promise.resolve(!!w):w()}})},Q$=($=[],{useFipsEndpoint:T,useDualstackEndpoint:w})=>$.find(({tags:P})=>T===P.includes("fips")&&w===P.includes("dualstack"))?.hostname,eP=($,{regionHostname:T,partitionHostname:w})=>T?T:w?w.replace("{region}",$):void 0,$I=($,{partitionHash:T})=>Object.keys(T||{}).find((w)=>T[w].regions.includes($))??"aws",TI=($,{signingRegion:T,regionRegex:w,useFipsEndpoint:P})=>{if(T)return T;else if(P){let I=w.replace("\\\\","\\").replace(/^\^/g,"\\.").replace(/\$$/g,"\\."),h=$.match(I);if(h)return h[0].slice(1,-1)}},wI=($,{useFipsEndpoint:T=!1,useDualstackEndpoint:w=!1,signingService:P,regionHash:I,partitionHash:h})=>{let U=$I($,{partitionHash:h}),A=$ in I?$:h[U]?.endpoint??$,_={useFipsEndpoint:T,useDualstackEndpoint:w},M=Q$(I[A]?.variants,_),Y=Q$(h[U]?.variants,_),X=eP(A,{regionHostname:M,partitionHostname:Y});if(X===void 0)throw Error(`Endpoint resolution failed for: ${{resolvedRegion:A,useFipsEndpoint:T,useDualstackEndpoint:w}}`);let J=TI(X,{signingRegion:I[A]?.signingRegion,regionRegex:h[U].regionRegex,useFipsEndpoint:T});return{partition:U,signingService:P,hostname:X,...J&&{signingRegion:J},...I[A]?.signingService&&{signingService:I[A].signingService}}},PI="AWS_EXECUTION_ENV",V$="AWS_REGION",O$="AWS_DEFAULT_REGION",II="AWS_EC2_METADATA_DISABLED",hI=["in-region","cross-region","mobile","standard","legacy"],UI="/latest/meta-data/placement/region",AI="AWS_DEFAULTS_MODE",_I="defaults_mode",MI={environmentVariableSelector:($)=>{return $[AI]},configFileSelector:($)=>{return $[_I]},default:"legacy"},XI=({region:$=X1(S$),defaultsMode:T=X1(MI)}={})=>Y1(async()=>{let w=typeof T==="function"?await T():T;switch(w?.toLowerCase()){case"auto":return JI($);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(w?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw Error(`Invalid parameter for "defaultsMode", expect ${hI.join(", ")}, got ${w}`)}}),JI=async($)=>{if($){let T=typeof $==="function"?await $():$,w=await YI();if(!w)return"standard";if(T===w)return"in-region";else return"cross-region"}return"standard"},YI=async()=>{if(process.env[PI]&&(process.env[V$]||process.env[O$]))return process.env[V$]??process.env[O$];if(!process.env[II])try{let $=await fI();return(await GI({hostname:$.hostname,path:UI})).toString()}catch($){}},fI=async()=>{let $=process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT;if($){let w=new URL($);return{hostname:w.hostname,path:w.pathname}}if(process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE==="IPv6")return{hostname:"fd00:ec2::254",path:"/"};return{hostname:"169.254.169.254",path:"/"}},GI=async({hostname:$,path:T})=>{let{request:w}=await import("node:http");return new Promise((P,I)=>{let h=w({method:"GET",hostname:$.replace(/^\[(.+)]$/,"$1"),path:T,timeout:1000,signal:AbortSignal.timeout(1000)});h.on("error",(U)=>{I(U),h.destroy()}),h.on("timeout",()=>{I(Error("TimeoutError from instance metadata service")),h.destroy()}),h.on("response",(U)=>{let{statusCode:A=400}=U;if(A<200||300<=A){I(Object.assign(Error("Error response received from instance metadata service"),{statusCode:A})),h.destroy();return}let _=[];U.on("data",(M)=>_.push(M)),U.on("end",()=>{P(Buffer.concat(_)),h.destroy()})}),h.end()})};ZI.CONFIG_PREFIX_SEPARATOR=d;ZI.CONFIG_USE_DUALSTACK_ENDPOINT=Z1;ZI.CONFIG_USE_FIPS_ENDPOINT=Q1;ZI.CredentialsProviderError=h0;ZI.DEFAULT_PROFILE=D$;ZI.DEFAULT_USE_DUALSTACK_ENDPOINT=yP;ZI.DEFAULT_USE_FIPS_ENDPOINT=dP;ZI.ENV_PROFILE=H$;ZI.ENV_USE_DUALSTACK_ENDPOINT=G1;ZI.ENV_USE_FIPS_ENDPOINT=R1;ZI.NODE_REGION_CONFIG_FILE_OPTIONS=rP;ZI.NODE_REGION_CONFIG_OPTIONS=S$;ZI.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS=gP;ZI.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS=vP;ZI.ProviderError=u;ZI.REGION_ENV_NAME=F$;ZI.REGION_INI_NAME=z$;ZI.TokenProviderError=J1;ZI.booleanSelector=F;ZI.chain=L$;ZI.externalDataInterceptor=cP;ZI.fromStatic=x$;ZI.fromValue=W$;ZI.getHomeDir=U0;ZI.getProfileName=E$;ZI.getRegionInfo=wI;ZI.getSSOTokenFilepath=K$;ZI.getSSOTokenFromFile=DP;ZI.loadConfig=X1;ZI.loadSharedConfigFiles=f1;ZI.loadSsoSessionData=jP;ZI.memoize=Y1;ZI.nodeDualstackConfigSelectors=mP;ZI.nodeFipsConfigSelectors=nP;ZI.numberSelector=WP;ZI.parseKnownFiles=sP;ZI.readFile=x0;ZI.resolveCustomEndpointsConfig=tP;ZI.resolveDefaultsModeConfig=XI;ZI.resolveEndpointsConfig=uP;ZI.resolveRegionConfig=aP});var F0=y((yh)=>{var N1=C$(),s$=C0(),z0=D0(),L1=P0(),c$="AWS_ENDPOINT_URL",b$="endpoint_url",Ph=($)=>({environmentVariableSelector:(T)=>{let w=$.split(" ").map((h)=>h.toUpperCase()),P=T[[c$,...w].join("_")];if(P)return P;let I=T[c$];if(I)return I;return},configFileSelector:(T,w)=>{if(w&&T.services){let I=w[["services",T.services].join(N1.CONFIG_PREFIX_SEPARATOR)];if(I){let h=$.split(" ").map((A)=>A.toLowerCase()),U=I[[h.join("_"),b$].join(N1.CONFIG_PREFIX_SEPARATOR)];if(U)return U}}let P=T[b$];if(P)return P;return},default:void 0}),S0=async($)=>N1.loadConfig(Ph($??""))(),Ih=async($)=>{let T=$?.Bucket||"";if(typeof $.Bucket==="string")$.Bucket=T.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"));if(Mh(T)){if($.ForcePathStyle===!0)throw Error("Path-style addressing cannot be used with ARN buckets")}else if(!_h(T)||T.indexOf(".")!==-1&&!String($.Endpoint).startsWith("http:")||T.toLowerCase()!==T||T.length<3)$.ForcePathStyle=!0;if($.DisableMultiRegionAccessPoints)$.disableMultiRegionAccessPoints=!0,$.DisableMRAP=!0;return $},hh=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,Uh=/(\d+\.){3}\d+/,Ah=/\.\./,_h=($)=>hh.test($)&&!Uh.test($)&&!Ah.test($),Mh=($)=>{let[T,w,P,,,I]=$.split(":"),h=T==="arn"&&$.split(":").length>=6,U=Boolean(h&&w&&P&&I);if(h&&!U)throw Error(`Invalid ARN: ${$} was an invalid ARN.`);return U},Xh=($,T,w,P=!1)=>{let I=async()=>{let h;if(P)h=w.clientContextParams?.[$]??w[$]??w[T];else h=w[$]??w[T];if(typeof h==="function")return h();return h};if($==="credentialScope"||T==="CredentialScope")return async()=>{let h=typeof w.credentials==="function"?await w.credentials():w.credentials;return h?.credentialScope??h?.CredentialScope};if($==="accountId"||T==="AccountId")return async()=>{let h=typeof w.credentials==="function"?await w.credentials():w.credentials;return h?.accountId??h?.AccountId};if($==="endpoint"||T==="endpoint")return async()=>{if(w.isCustomEndpoint===!1)return;let h=await I();if(h&&typeof h==="object"){if("url"in h)return h.url.href;if("hostname"in h){let{protocol:U,hostname:A,port:_,path:M}=h;return`${U}//${A}${_?":"+_:""}${M}`}}return h};return I},j0=($)=>{if(typeof $==="object"){if("url"in $){let T=s$.parseUrl($.url);if($.headers){T.headers={};for(let w in $.headers)T.headers[w.toLowerCase()]=$.headers[w].join(", ")}return T}return $}return s$.parseUrl($)};function k$($){return async(T,w,P,I)=>{if(!P.isCustomEndpoint){let A;if(P.serviceConfiguredEndpoint)A=await P.serviceConfiguredEndpoint();else A=await $(P.serviceId);if(A)P.endpoint=()=>Promise.resolve(j0(A)),P.isCustomEndpoint=!0}let h=await p$(T,w,P);if(typeof P.endpointProvider!=="function")throw Error("config.endpointProvider is not set.");let U=P.endpointProvider(h,I);if(P.isCustomEndpoint&&P.endpoint){let A=await P.endpoint();if(A?.headers){U.headers??={};for(let[_,M]of Object.entries(A.headers))U.headers[_]=Array.isArray(M)?M:[M]}}return U}}var p$=async($,T,w)=>{let P={},I=T?.getEndpointParameterInstructions?.()||{};for(let[h,U]of Object.entries(I))switch(U.type){case"staticContextParams":P[h]=U.value;break;case"contextParams":P[h]=$[U.name];break;case"clientContextParams":case"builtInParams":P[h]=await Xh(U.name,h,w,U.type!=="builtInParams")();break;case"operationContextParams":P[h]=U.get($);break;default:throw Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(U))}if(Object.keys(I).length===0)Object.assign(P,w);if(String(w.serviceId).toLowerCase()==="s3")await Ih(P);return P};function Jh($,T,w){if(!$.__smithy_context)$.__smithy_context={features:{}};else if(!$.__smithy_context.features)$.__smithy_context.features={};$.__smithy_context.features[T]=w}function y$($){let T=k$($);return({config:w,instructions:P})=>{return(I,h)=>async(U)=>{if(w.isCustomEndpoint)Jh(h,"ENDPOINT_OVERRIDE","N");let A=await T(U.input,{getEndpointParameterInstructions(){return P}},{...w},h);h.endpointV2=A,h.authSchemes=A.properties?.authSchemes;let _=h.authSchemes?.[0];if(_){h.signing_region=_.signingRegion,h.signing_service=_.signingName;let Y=z0.getSmithyContext(h)?.selectedHttpAuthScheme?.httpAuthOption;if(Y)Y.signingProperties=Object.assign(Y.signingProperties||{},{signing_region:_.signingRegion,signingRegion:_.signingRegion,signing_service:_.signingName,signingName:_.signingName,signingRegionSet:_.signingRegionSet},_.properties)}return I({...U})}}}var Yh={name:"serializerMiddleware"},g$={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:Yh.name};function fh($){let T=y$($);return(w,P)=>({applyToStack:(I)=>{I.addRelativeTo(T({config:w,instructions:P}),g$)}})}function Gh($){return(T)=>{let w=T.tls??!0,{endpoint:P,useDualstackEndpoint:I,useFipsEndpoint:h}=T,U=P!=null?async()=>j0(await z0.normalizeProvider(P)()):void 0,_=Object.assign(T,{endpoint:U,tls:w,isCustomEndpoint:!!P,useDualstackEndpoint:z0.normalizeProvider(I??!1),useFipsEndpoint:z0.normalizeProvider(h??!1)}),M=void 0;return _.serviceConfiguredEndpoint=async()=>{if(T.serviceId&&!M)M=$(T.serviceId);return M},_}}class W1{nodes;root;conditions;results;constructor($,T,w,P){this.nodes=$,this.root=T,this.conditions=w,this.results=P}static from($,T,w,P){return new W1($,T,w,P)}}class m${capacity;data=new Map;parameters=[];constructor({size:$,params:T}){if(this.capacity=$??50,T)this.parameters=T}get($,T){let w=this.hash($);if(w===!1)return T();if(!this.data.has(w)){if(this.data.size>this.capacity+10){let P=this.data.keys(),I=0;while(!0){let{value:h,done:U}=P.next();if(this.data.delete(h),U||++I>10)break}}this.data.set(w,T())}return this.data.get(w)}size(){return this.data.size}hash($){let T="",{parameters:w}=this;if(w.length===0)return!1;for(let P of w){let I=String($[P]??"");if(I.includes("|;"))return!1;T+=I+"|;"}return T}}class N extends Error{constructor($){super($);this.name="EndpointError"}}var A0="endpoints";function k($){if(typeof $!=="object"||$==null)return $;if("ref"in $)return`$${k($.ref)}`;if("fn"in $)return`${$.fn}(${($.argv||[]).map(k).join(", ")})`;return JSON.stringify($,null,2)}var d$={},Zh=($,T)=>$===T;function Rh(...$){for(let T of $)if(T!=null)return T;return}var Qh=($)=>{let T=$.split("."),w=[];for(let P of T){let I=P.indexOf("[");if(I!==-1){if(P.indexOf("]")!==P.length-1)throw new N(`Path: '${$}' does not end with ']'`);let h=P.slice(I+1,-1);if(Number.isNaN(parseInt(h)))throw new N(`Invalid array index: '${h}' in path: '${$}'`);if(I!==0)w.push(P.slice(0,I));w.push(h)}else w.push(P)}return w},v$=($,T)=>Qh(T).reduce((w,P)=>{if(typeof w!=="object")throw new N(`Index '${P}' in '${T}' not found in '${JSON.stringify($)}'`);else if(Array.isArray(w)){let I=parseInt(P);return w[I<0?w.length+I:I]}return w[P]},$),Vh=($)=>$!=null,Oh=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),H1=($,T=!1)=>{if(!T)return Oh.test($);let w=$.split(".");for(let P of w)if(!H1(P))return!1;return!0};function Nh($,T,w){return $?T:w}var Lh=($)=>!$,Wh=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),n$=($)=>Wh.test($)||$.startsWith("[")&&$.endsWith("]"),V1={[L1.EndpointURLScheme.HTTP]:80,[L1.EndpointURLScheme.HTTPS]:443},Hh=($)=>{let T=(()=>{try{if($ instanceof URL)return $;if(typeof $==="object"&&"hostname"in $){let{hostname:J,port:f,protocol:G="",path:Q="",query:Z={}}=$,R=new URL(`${G}//${J}${f?`:${f}`:""}${Q}`);return R.search=Object.entries(Z).map(([V,L])=>`${V}=${L}`).join("&"),R}return new URL($)}catch(J){return null}})();if(!T)return console.error(`Unable to parse ${JSON.stringify($)} as a whatwg URL.`),null;let w=T.href,{host:P,hostname:I,pathname:h,protocol:U,search:A}=T;if(A)return null;let _=U.slice(0,-1);if(!Object.values(L1.EndpointURLScheme).includes(_))return null;let M=n$(I),Y=w.includes(`${P}:${V1[_]}`)||typeof $==="string"&&$.includes(`${P}:${V1[_]}`),X=`${P}${Y?`:${V1[_]}`:""}`;return{scheme:_,authority:X,path:h,normalizedPath:h.endsWith("/")?h:`${h}/`,isIp:M}};function Dh($,T,w){if(w===1)return[$];if($==="")return[""];let P=$.split(T);if(w===0)return P;return P.slice(0,w-1).concat(P.slice(1).join(T))}var Eh=($,T)=>$===T,Kh=($,T,w,P)=>{if($==null||T>=w||$.length<w||/[^\u0000-\u007f]/.test($))return null;if(!P)return $.substring(T,w);return $.substring($.length-w,$.length-T)},Bh=($)=>encodeURIComponent($).replace(/[!*'()]/g,(T)=>`%${T.charCodeAt(0).toString(16).toUpperCase()}`),qh={booleanEquals:Zh,coalesce:Rh,getAttr:v$,isSet:Vh,isValidHostLabel:H1,ite:Nh,not:Lh,parseURL:Hh,split:Dh,stringEquals:Eh,substring:Kh,uriEncode:Bh},t$=($,T)=>{let w=[],{referenceRecord:P,endpointParams:I}=T,h=0;while(h<$.length){let U=$.indexOf("{",h);if(U===-1){w.push($.slice(h));break}w.push($.slice(h,U));let A=$.indexOf("}",U);if(A===-1){w.push($.slice(U));break}if($[U+1]==="{"&&$[A+1]==="}")w.push($.slice(U+1,A)),h=A+2;let _=$.substring(U+1,A);if(_.includes("#")){let[M,Y]=_.split("#");w.push(v$(P[M]??I[M],Y))}else w.push(P[_]??I[_]);h=A+1}return w.join("")},xh=({ref:$},T)=>{return T.referenceRecord[$]??T.endpointParams[$]},_0=($,T,w)=>{if(typeof $==="string")return t$($,w);else if($.fn)return u$.callFunction($,w);else if($.ref)return xh($,w);throw new N(`'${T}': ${String($)} is not a string, function or reference.`)},i$=({fn:$,argv:T},w)=>{let P=Array(T.length);for(let U=0;U<P.length;++U){let A=T[U];if(typeof A==="boolean"||typeof A==="number")P[U]=A;else P[U]=u$.evaluateExpression(A,"arg",w)}let I=$.indexOf(".");if(I!==-1){let A=d$[$.slice(0,I)]?.[$.slice(I+1)];if(typeof A==="function")return A(...P)}let h=qh[$];if(typeof h==="function")return h(...P);throw Error(`function ${$} not loaded in endpointFunctions.`)},u$={evaluateExpression:_0,callFunction:i$},r$=($,T)=>{let{assign:w}=$;if(w&&w in T.referenceRecord)throw new N(`'${w}' is already defined in Reference Record.`);let P=i$($,T);T.logger?.debug?.(`${A0} evaluateCondition: ${k($)} = ${k(P)}`);let I=P===""?!0:!!P;if(w!=null)return{result:I,toAssign:{name:w,value:P}};return{result:I}},l$=($,T)=>Object.entries($??{}).reduce((w,[P,I])=>{return w[P]=I.map((h)=>{let U=_0(h,"Header value entry",T);if(typeof U!=="string")throw new N(`Header '${P}' value '${U}' is not a string`);return U}),w},{}),D1=($,T)=>Object.entries($).reduce((w,[P,I])=>{return w[P]=a$.getEndpointProperty(I,T),w},{}),o$=($,T)=>{if(Array.isArray($))return $.map((w)=>o$(w,T));switch(typeof $){case"string":return t$($,T);case"object":if($===null)throw new N(`Unexpected endpoint property: ${$}`);return a$.getEndpointProperties($,T);case"boolean":return $;default:throw new N(`Unexpected endpoint property type: ${typeof $}`)}},a$={getEndpointProperty:o$,getEndpointProperties:D1},e$=($,T)=>{let w=_0($,"Endpoint URL",T);if(typeof w==="string")try{return new URL(w)}catch(P){throw console.error(`Failed to construct URL with ${w}`,P),P}throw new N(`Endpoint URL must be a string, got ${typeof w}`)},O1=1e8,Fh=($,T)=>{let{nodes:w,root:P,results:I,conditions:h}=$,U=P,A={},_={referenceRecord:A,endpointParams:T.endpointParams,logger:T.logger};while(U!==1&&U!==-1&&U<O1){let M=3*(Math.abs(U)-1),[Y,X,J]=[w[M],w[M+1],w[M+2]],[f,G,Q]=h[Y],Z=r$({fn:f,assign:Q,argv:G},_);if(Z.toAssign){let{name:R,value:V}=Z.toAssign;A[R]=V}U=U>=0===Z.result?X:J}if(U>=O1){let M=I[U-O1];if(M[0]===-1){let[,f]=M;throw new N(_0(f,"Error",_))}let[Y,X,J]=M;return{url:e$(Y,_),properties:D1(X,_),headers:l$(J??{},_)}}throw new N("No matching endpoint.")},E1=($=[],T)=>{let w={},P={...T,referenceRecord:{...T.referenceRecord}},I=!1;for(let h of $){let{result:U,toAssign:A}=r$(h,P);if(!U)return{result:U};if(A)I=!0,w[A.name]=A.value,P.referenceRecord[A.name]=A.value,T.logger?.debug?.(`${A0} assign: ${A.name} := ${k(A.value)}`)}if(I)return{result:!0,referenceRecord:w};return{result:!0}},zh=($,T)=>{let{conditions:w,endpoint:P}=$,{result:I,referenceRecord:h}=E1(w,T);if(!I)return;let U=h?{...T,referenceRecord:{...T.referenceRecord,...h}}:T,{url:A,properties:_,headers:M}=P;T.logger?.debug?.(`${A0} Resolving endpoint from template: ${k(P)}`);let Y={url:e$(A,U)};if(M!=null)Y.headers=l$(M,U);if(_!=null)Y.properties=D1(_,U);return Y},Sh=($,T)=>{let{conditions:w,error:P}=$,{result:I,referenceRecord:h}=E1(w,T);if(!I)return;let U=h?{...T,referenceRecord:{...T.referenceRecord,...h}}:T;throw new N(_0(P,"Error",U))},$T=($,T)=>{for(let w of $)if(w.type==="endpoint"){let P=zh(w,T);if(P)return P}else if(w.type==="error")Sh(w,T);else if(w.type==="tree"){let P=TT.evaluateTreeRule(w,T);if(P)return P}else throw new N(`Unknown endpoint rule: ${w}`);throw new N("Rules evaluation failed")},jh=($,T)=>{let{conditions:w,rules:P}=$,{result:I,referenceRecord:h}=E1(w,T);if(!I)return;let U=h?{...T,referenceRecord:{...T.referenceRecord,...h}}:T;return TT.evaluateRules(P,U)},TT={evaluateRules:$T,evaluateTreeRule:jh},Ch=($,T)=>{let{endpointParams:w,logger:P}=T,{parameters:I,rules:h}=$;T.logger?.debug?.(`${A0} Initial EndpointParams: ${k(w)}`);for(let A in I){let _=I[A],M=w[A];if(M==null&&_.default!=null){w[A]=_.default;continue}if(_.required&&M==null)throw new N(`Missing required parameter: '${A}'`)}let U=$T(h,{endpointParams:w,logger:P,referenceRecord:{}});return T.logger?.debug?.(`${A0} Resolved endpoint: ${k(U)}`),U},sh=($)=>{let{endpoint:T}=$;if(T===void 0)$.endpoint=async()=>{throw Error("@smithy/middleware-endpoint: (default endpointRuleSet) endpoint is not set - you must configure an endpoint.")};return $},ch=k$(S0),bh=Gh(S0),kh=y$(S0),ph=fh(S0);yh.BinaryDecisionDiagram=W1;yh.EndpointCache=m$;yh.EndpointError=N;yh.customEndpointFunctions=d$;yh.decideEndpoint=Fh;yh.endpointMiddleware=kh;yh.endpointMiddlewareOptions=g$;yh.getEndpointFromInstructions=ch;yh.getEndpointPlugin=ph;yh.isIpAddress=n$;yh.isValidHostLabel=H1;yh.middlewareEndpointToEndpointV1=j0;yh.resolveEndpoint=Ch;yh.resolveEndpointConfig=bh;yh.resolveEndpointRequiredConfig=sh;yh.resolveParams=p$;yh.toEndpointV1=j0});var ST=y((DA)=>{var K1=b("node:fs"),IU=C0(),hU=F0(),wT=b("node:crypto"),q=b("node:stream"),UU=($,T,w=(P)=>P)=>$,AU=($)=>{switch($){case"true":return!0;case"false":return!1;default:throw Error(`Unable to parse boolean value "${$}"`)}},_U=($)=>{if($===null||$===void 0)return;if(typeof $==="number"){if($===0||$===1)f0.warn(c0(`Expected boolean, got ${typeof $}: ${$}`));if($===0)return!1;if($===1)return!0}if(typeof $==="string"){let T=$.toLowerCase();if(T==="false"||T==="true")f0.warn(c0(`Expected boolean, got ${typeof $}: ${$}`));if(T==="false")return!1;if(T==="true")return!0}if(typeof $==="boolean")return $;throw TypeError(`Expected boolean, got ${typeof $}: ${$}`)},J0=($)=>{if($===null||$===void 0)return;if(typeof $==="string"){let T=parseFloat($);if(!Number.isNaN(T)){if(String(T)!==String($))f0.warn(c0(`Expected number but observed string: ${$}`));return T}}if(typeof $==="number")return $;throw TypeError(`Expected number, got ${typeof $}: ${$}`)},MU=Math.ceil(340282346638528860000000000000000000000),s0=($)=>{let T=J0($);if(T!==void 0&&!Number.isNaN(T)&&T!==1/0&&T!==-1/0){if(Math.abs(T)>MU)throw TypeError(`Expected 32-bit float, got ${$}`)}return T},Y0=($)=>{if($===null||$===void 0)return;if(Number.isInteger($)&&!Number.isNaN($))return $;throw TypeError(`Expected integer, got ${typeof $}: ${$}`)},XU=Y0,x1=($)=>j1($,32),F1=($)=>j1($,16),z1=($)=>j1($,8),j1=($,T)=>{let w=Y0($);if(w!==void 0&&JU(w,T)!==w)throw TypeError(`Expected ${T}-bit integer, got ${$}`);return w},JU=($,T)=>{switch(T){case 32:return Int32Array.of($)[0];case 16:return Int16Array.of($)[0];case 8:return Int8Array.of($)[0]}},YU=($,T)=>{if($===null||$===void 0){if(T)throw TypeError(`Expected a non-null value for ${T}`);throw TypeError("Expected a non-null value")}return $},MT=($)=>{if($===null||$===void 0)return;if(typeof $==="object"&&!Array.isArray($))return $;let T=Array.isArray($)?"array":typeof $;throw TypeError(`Expected object, got ${T}: ${$}`)},fU=($)=>{if($===null||$===void 0)return;if(typeof $==="string")return $;if(["boolean","number","bigint"].includes(typeof $))return f0.warn(c0(`Expected string, got ${typeof $}: ${$}`)),String($);throw TypeError(`Expected string, got ${typeof $}: ${$}`)},GU=($)=>{if($===null||$===void 0)return;let T=MT($),w=[];for(let P in T)if(T[P]!=null)w.push(P);if(w.length===0)throw TypeError("Unions must have exactly one non-null member. None were found.");if(w.length>1)throw TypeError(`Unions must have exactly one non-null member. Keys ${w} were not null.`);return T},C1=($)=>{if(typeof $=="string")return J0(e($));return J0($)},ZU=C1,XT=($)=>{if(typeof $=="string")return s0(e($));return s0($)},RU=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,e=($)=>{let T=$.match(RU);if(T===null||T[0].length!==$.length)throw TypeError("Expected real number, got implicit NaN");return parseFloat($)},s1=($)=>{if(typeof $=="string")return JT($);return J0($)},QU=s1,VU=s1,OU=($)=>{if(typeof $=="string")return JT($);return s0($)},JT=($)=>{switch($){case"NaN":return NaN;case"Infinity":return 1/0;case"-Infinity":return-1/0;default:throw Error(`Unable to parse float value: ${$}`)}},YT=($)=>{if(typeof $==="string")return Y0(e($));return Y0($)},NU=YT,LU=($)=>{if(typeof $==="string")return x1(e($));return x1($)},l=($)=>{if(typeof $==="string")return F1(e($));return F1($)},fT=($)=>{if(typeof $==="string")return z1(e($));return z1($)},c0=($)=>{return String(TypeError($).stack||$).split(`
|
|
2
|
+
`).slice(0,5).filter((T)=>!T.includes("stackTraceWarning")).join(`
|
|
3
|
+
`)},f0={warn:console.warn},WU=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],c1=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function HU($){let T=$.getUTCFullYear(),w=$.getUTCMonth(),P=$.getUTCDay(),I=$.getUTCDate(),h=$.getUTCHours(),U=$.getUTCMinutes(),A=$.getUTCSeconds(),_=I<10?`0${I}`:`${I}`,M=h<10?`0${h}`:`${h}`,Y=U<10?`0${U}`:`${U}`,X=A<10?`0${A}`:`${A}`;return`${WU[P]}, ${_} ${c1[w]} ${T} ${M}:${Y}:${X} GMT`}var DU=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),EU=($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw TypeError("RFC-3339 date-times must be expressed as strings");let T=DU.exec($);if(!T)throw TypeError("Invalid RFC-3339 date-time value");let[w,P,I,h,U,A,_,M]=T,Y=l(o(P)),X=x(I,"month",1,12),J=x(h,"day",1,31);return M0(Y,X,J,{hours:U,minutes:A,seconds:_,fractionalMilliseconds:M})},KU=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),BU=($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw TypeError("RFC-3339 date-times must be expressed as strings");let T=KU.exec($);if(!T)throw TypeError("Invalid RFC-3339 date-time value");let[w,P,I,h,U,A,_,M,Y]=T,X=l(o(P)),J=x(I,"month",1,12),f=x(h,"day",1,31),G=M0(X,J,f,{hours:U,minutes:A,seconds:_,fractionalMilliseconds:M});if(Y.toUpperCase()!="Z")G.setTime(G.getTime()-yU(Y));return G},qU=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),xU=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),FU=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),zU=($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw TypeError("RFC-7231 date-times must be expressed as strings");let T=qU.exec($);if(T){let[w,P,I,h,U,A,_,M]=T;return M0(l(o(h)),B1(I),x(P,"day",1,31),{hours:U,minutes:A,seconds:_,fractionalMilliseconds:M})}if(T=xU.exec($),T){let[w,P,I,h,U,A,_,M]=T;return sU(M0(jU(h),B1(I),x(P,"day",1,31),{hours:U,minutes:A,seconds:_,fractionalMilliseconds:M}))}if(T=FU.exec($),T){let[w,P,I,h,U,A,_,M]=T;return M0(l(o(M)),B1(P),x(I.trimLeft(),"day",1,31),{hours:h,minutes:U,seconds:A,fractionalMilliseconds:_})}throw TypeError("Invalid RFC-7231 date-time value")},SU=($)=>{if($===null||$===void 0)return;let T;if(typeof $==="number")T=$;else if(typeof $==="string")T=C1($);else if(typeof $==="object"&&$.tag===1)T=$.value;else throw TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");if(Number.isNaN(T)||T===1/0||T===-1/0)throw TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(T*1000))},M0=($,T,w,P)=>{let I=T-1;return bU($,I,w),new Date(Date.UTC($,I,w,x(P.hours,"hour",0,23),x(P.minutes,"minute",0,59),x(P.seconds,"seconds",0,60),pU(P.fractionalMilliseconds)))},jU=($)=>{let T=new Date().getUTCFullYear(),w=Math.floor(T/100)*100+l(o($));if(w<T)return w+100;return w},CU=1576800000000,sU=($)=>{if($.getTime()-new Date().getTime()>CU)return new Date(Date.UTC($.getUTCFullYear()-100,$.getUTCMonth(),$.getUTCDate(),$.getUTCHours(),$.getUTCMinutes(),$.getUTCSeconds(),$.getUTCMilliseconds()));return $},B1=($)=>{let T=c1.indexOf($);if(T<0)throw TypeError(`Invalid month: ${$}`);return T+1},cU=[31,28,31,30,31,30,31,31,30,31,30,31],bU=($,T,w)=>{let P=cU[T];if(T===1&&kU($))P=29;if(w>P)throw TypeError(`Invalid day for ${c1[T]} in ${$}: ${w}`)},kU=($)=>{return $%4===0&&($%100!==0||$%400===0)},x=($,T,w,P)=>{let I=fT(o($));if(I<w||I>P)throw TypeError(`${T} must be between ${w} and ${P}, inclusive`);return I},pU=($)=>{if($===null||$===void 0)return 0;return XT("0."+$)*1000},yU=($)=>{let T=$[0],w=1;if(T=="+")w=1;else if(T=="-")w=-1;else throw TypeError(`Offset direction, ${T}, must be "+" or "-"`);let P=Number($.substring(1,3)),I=Number($.substring(4,6));return w*(P*60+I)*60*1000},o=($)=>{let T=0;while(T<$.length-1&&$.charAt(T)==="0")T++;if(T===0)return $;return $.slice(T)},PT=typeof crypto<"u"&&typeof crypto.randomUUID==="function"?crypto.randomUUID.bind(crypto):void 0,H=Array.from({length:256},($,T)=>T.toString(16).padStart(2,"0")),GT=()=>{if(PT)return PT();let $=new Uint8Array(16);return crypto.getRandomValues($),$[6]=$[6]&15|64,$[8]=$[8]&63|128,H[$[0]]+H[$[1]]+H[$[2]]+H[$[3]]+"-"+H[$[4]]+H[$[5]]+"-"+H[$[6]]+H[$[7]]+"-"+H[$[8]]+H[$[9]]+"-"+H[$[10]]+H[$[11]]+H[$[12]]+H[$[13]]+H[$[14]]+H[$[15]]},v=function(T){return Object.assign(new String(T),{deserializeJSON(){return JSON.parse(String(T))},toString(){return String(T)},toJSON(){return String(T)}})};v.from=($)=>{if($&&typeof $==="object"&&($ instanceof v||("deserializeJSON"in $)))return $;else if(typeof $==="string"||Object.getPrototypeOf($)===String.prototype)return v(String($));return v(JSON.stringify($))};v.fromObject=v.from;function gU($){if($.includes(",")||$.includes('"'))$=`"${$.replace(/"/g,"\\\"")}"`;return $}var b1="(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?",k1="(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)",p1="(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?",ZT="(\\d?\\d)",RT="(\\d{4})",mU=new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/),dU=new RegExp(`^${b1}, ${ZT} ${k1} ${RT} ${p1} GMT$`),vU=new RegExp(`^${b1}, ${ZT}-${k1}-(\\d\\d) ${p1} GMT$`),nU=new RegExp(`^${b1} ${k1} ( [1-9]|\\d\\d) ${p1} ${RT}$`),tU=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],iU=($)=>{if($==null)return;let T=NaN;if(typeof $==="number")T=$;else if(typeof $==="string"){if(!/^-?\d*\.?\d+$/.test($))throw TypeError("parseEpochTimestamp - numeric string invalid.");T=Number.parseFloat($)}else if(typeof $==="object"&&$.tag===1)T=$.value;if(isNaN(T)||Math.abs(T)===1/0)throw TypeError("Epoch timestamps must be valid finite numbers.");return new Date(Math.round(T*1000))},uU=($)=>{if($==null)return;if(typeof $!=="string")throw TypeError("RFC3339 timestamps must be strings");let T=mU.exec($);if(!T)throw TypeError(`Invalid RFC3339 timestamp format ${$}`);let[,w,P,I,h,U,A,,_,M]=T;z(P,1,12),z(I,1,31),z(h,0,23),z(U,0,59),z(A,0,60);let Y=new Date(Date.UTC(Number(w),Number(P)-1,Number(I),Number(h),Number(U),Number(A),Number(_)?Math.round(parseFloat(`0.${_}`)*1000):0));if(Y.setUTCFullYear(Number(w)),M.toUpperCase()!="Z"){let[,X,J,f]=/([+-])(\d\d):(\d\d)/.exec(M)||[void 0,"+",0,0],G=X==="-"?1:-1;Y.setTime(Y.getTime()+G*(Number(J)*60*60*1000+Number(f)*60*1000))}return Y},rU=($)=>{if($==null)return;if(typeof $!=="string")throw TypeError("RFC7231 timestamps must be strings.");let T,w,P,I,h,U,A,_;if(_=dU.exec($))[,T,w,P,I,h,U,A]=_;else if(_=vU.exec($))[,T,w,P,I,h,U,A]=_,P=(Number(P)+1900).toString();else if(_=nU.exec($))[,w,T,I,h,U,A,P]=_;if(P&&U){let M=Date.UTC(Number(P),tU.indexOf(w),Number(T),Number(I),Number(h),Number(U),A?Math.round(parseFloat(`0.${A}`)*1000):0);z(T,1,31),z(I,0,23),z(h,0,59),z(U,0,60);let Y=new Date(M);return Y.setUTCFullYear(Number(P)),Y}throw TypeError(`Invalid RFC7231 date-time value ${$}.`)};function z($,T,w){let P=Number($);if(P<T||P>w)throw Error(`Value ${P} out of range [${T}, ${w}]`)}function lU($,T,w){if(w<=0||!Number.isInteger(w))throw Error("Invalid number of delimiters ("+w+") for splitEvery.");let P=$.split(T);if(w===1)return P;let I=[],h="";for(let U=0;U<P.length;U++){if(h==="")h=P[U];else h+=T+P[U];if((U+1)%w===0)I.push(h),h=""}if(h!=="")I.push(h);return I}var oU=($)=>{let T=$.length,w=[],P=!1,I=void 0,h=0;for(let U=0;U<T;++U){let A=$[U];switch(A){case'"':if(I!=="\\")P=!P;break;case",":if(!P)w.push($.slice(h,U)),h=U+1;break}I=A}return w.push($.slice(h)),w.map((U)=>{U=U.trim();let A=U.length;if(A<2)return U;if(U[0]==='"'&&U[A-1]==='"')U=U.slice(1,A-1);return U.replace(/\\"/g,'"')})},IT=/^-?\d*(\.\d+)?$/;class k0{string;type;constructor($,T){if(this.string=$,this.type=T,!IT.test($))throw Error('@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".')}toString(){return this.string}static[Symbol.hasInstance]($){if(!$||typeof $!=="object")return!1;let T=$;return k0.prototype.isPrototypeOf($)||T.type==="bigDecimal"&&IT.test(T.string)}}function aU($){return new k0(String($),"bigDecimal")}var QT={},S1={};for(let $=0;$<256;$++){let T=$.toString(16).toLowerCase();if(T.length===1)T=`0${T}`;QT[$]=T,S1[T]=$}function eU($){if($.length%2!==0)throw Error("Hex encoded strings must have an even number length");let T=new Uint8Array($.length/2);for(let w=0;w<$.length;w+=2){let P=$.slice(w,w+2).toLowerCase();if(P in S1)T[w/2]=S1[P];else throw Error(`Cannot decode unrecognized sequence ${P} as hexadecimal`)}return T}function VT($){let T="";for(let w=0;w<$.byteLength;w++)T+=QT[$[w]];return T}var OT=($)=>typeof ArrayBuffer==="function"&&$ instanceof ArrayBuffer||Object.prototype.toString.call($)==="[object ArrayBuffer]",a=($,T=0,w=$.byteLength-T)=>{if(!OT($))throw TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof $} (${$})`);return Buffer.from($,T,w)},p0=($,T)=>{if(typeof $!=="string")throw TypeError(`The "input" argument must be of type string. Received type ${typeof $} (${$})`);return T?Buffer.from($,T):Buffer.from($)},$A=/^[A-Za-z0-9+/]*={0,2}$/,y1=($)=>{if($.length*3%4!==0)throw TypeError("Incorrect padding on base64 string.");if(!$A.exec($))throw TypeError("Invalid base64 string.");let T=p0($,"base64");return new Uint8Array(T.buffer,T.byteOffset,T.byteLength)},y0=($)=>{let T=p0($,"utf8");return new Uint8Array(T.buffer,T.byteOffset,T.byteLength/Uint8Array.BYTES_PER_ELEMENT)},G0=($)=>{let T;if(typeof $==="string")T=y0($);else T=$;if(typeof T!=="object"||typeof T.byteOffset!=="number"||typeof T.byteLength!=="number")throw Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");return a(T.buffer,T.byteOffset,T.byteLength).toString("base64")},TA=($)=>{if(!$)return 0;if(typeof $==="string")return Buffer.byteLength($);else if(typeof $.byteLength==="number")return $.byteLength;else if(typeof $.size==="number")return $.size;else if(typeof $.start==="number"&&typeof $.end==="number")return $.end+1-$.start;else if($ instanceof K1.ReadStream){if($.path!=null)return K1.lstatSync($.path).size;else if(typeof $.fd==="number")return K1.fstatSync($.fd).size}throw Error(`Body Length computation failed for ${$}`)},NT=($)=>{if(typeof $==="string")return y0($);if(ArrayBuffer.isView($))return new Uint8Array($.buffer,$.byteOffset,$.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array($)},g1=($)=>{if(typeof $==="string")return $;if(typeof $!=="object"||typeof $.byteOffset!=="number"||typeof $.byteLength!=="number")throw Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return a($.buffer,$.byteOffset,$.byteLength).toString("utf8")},LT=($,T)=>(w,P)=>async(I)=>{let{response:h}=await w(I);try{let U=await T(h,$);return{response:h,output:U}}catch(U){if(Object.defineProperty(U,"$response",{value:h,enumerable:!1,writable:!1,configurable:!1}),!("$metadata"in U)){try{U.message+=`
|
|
4
|
+
Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`}catch(_){if(!P.logger||P.logger?.constructor?.name==="NoOpLogger")console.warn("Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.");else P.logger?.warn?.("Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.")}if(typeof U.$responseBodyText<"u"){if(U.$response)U.$response.body=U.$responseBodyText}try{if(IU.HttpResponse.isInstance(h)){let{headers:_={}}=h,M=Object.entries(_);U.$metadata={httpStatusCode:h.statusCode,requestId:q1(/^x-[\w-]+-request-?id$/,M),extendedRequestId:q1(/^x-[\w-]+-id-2$/,M),cfId:q1(/^x-[\w-]+-cf-id$/,M)}}}catch(_){}}throw U}},q1=($,T)=>{return(T.find(([w])=>{return w.match($)})||[void 0,void 0])[1]},WT=($,T)=>(w,P)=>async(I)=>{let h=$,U=P.endpointV2?async()=>hU.toEndpointV1(P.endpointV2):h.endpoint;if(!U)throw Error("No valid endpoint provider available.");let A=await T(I.input,{...$,endpoint:U});return w({...I,request:A})},HT={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},DT={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function wA($,T,w){return{applyToStack:(P)=>{P.add(LT($,w),HT),P.add(WT($,T),DT)}}}class ET{algorithmIdentifier;secret;hash;constructor($,T){this.algorithmIdentifier=$,this.secret=T,this.reset()}update($,T){this.hash.update(NT(hT($,T)))}digest(){return Promise.resolve(this.hash.digest())}reset(){this.hash=this.secret?wT.createHmac(this.algorithmIdentifier,hT(this.secret)):wT.createHash(this.algorithmIdentifier)}}function hT($,T){if(Buffer.isBuffer($))return $;if(typeof $==="string")return p0($,T);if(ArrayBuffer.isView($))return a($.buffer,$.byteOffset,$.byteLength);return a($)}class X0 extends Uint8Array{static fromString($,T="utf-8"){if(typeof $==="string"){if(T==="base64")return X0.mutate(y1($));return X0.mutate(y0($))}throw Error(`Unsupported conversion from ${typeof $} to Uint8ArrayBlobAdapter.`)}static mutate($){return Object.setPrototypeOf($,X0.prototype),$}transformToString($="utf-8"){if($==="base64")return G0(this);return g1(this)}}var KT=class extends q.Duplex{expectedChecksum;checksumSourceLocation;checksum;source;base64Encoder;pendingCallback=null;constructor({expectedChecksum:T,checksum:w,source:P,checksumSourceLocation:I,base64Encoder:h}){super();if(typeof P.pipe==="function")this.source=P;else throw Error(`@smithy/util-stream: unsupported source type ${P?.constructor?.name??P} in ChecksumStream.`);this.base64Encoder=h??G0,this.expectedChecksum=T,this.checksum=w,this.checksumSourceLocation=I,this.source.pipe(this)}_read(T){if(this.pendingCallback){let w=this.pendingCallback;this.pendingCallback=null,w()}}_write(T,w,P){try{if(this.checksum.update(T),!this.push(T)){this.pendingCallback=P;return}}catch(I){return P(I)}return P()}async _final(T){try{let w=await this.checksum.digest(),P=this.base64Encoder(w);if(this.expectedChecksum!==P)return T(Error(`Checksum mismatch: expected "${this.expectedChecksum}" but received "${P}" in response header "${this.checksumSourceLocation}".`))}catch(w){return T(w)}return this.push(null),T()}},S=($)=>typeof ReadableStream==="function"&&($?.constructor?.name===ReadableStream.name||$ instanceof ReadableStream),BT=($)=>{return typeof Blob==="function"&&($?.constructor?.name===Blob.name||$ instanceof Blob)},PA=typeof ReadableStream==="function"?ReadableStream:function(){};class qT extends PA{}var IA=({expectedChecksum:$,checksum:T,source:w,checksumSourceLocation:P,base64Encoder:I})=>{if(!S(w))throw Error(`@smithy/util-stream: unsupported source type ${w?.constructor?.name??w} in ChecksumStream.`);let h=I??G0;if(typeof TransformStream!=="function")throw Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream.");let U=new TransformStream({start(){},async transform(_,M){T.update(_),M.enqueue(_)},async flush(_){let M=await T.digest(),Y=h(M);if($!==Y){let X=Error(`Checksum mismatch: expected "${$}" but received "${Y}" in response header "${P}".`);_.error(X)}else _.terminate()}});w.pipeThrough(U);let A=U.readable;return Object.setPrototypeOf(A,qT.prototype),A};function hA($){if(typeof ReadableStream==="function"&&S($.source))return IA($);return new KT($)}class b0{allocByteArray;byteLength=0;byteArrays=[];constructor($){this.allocByteArray=$}push($){this.byteArrays.push($),this.byteLength+=$.byteLength}flush(){if(this.byteArrays.length===1){let w=this.byteArrays[0];return this.reset(),w}let $=this.allocByteArray(this.byteLength),T=0;for(let w=0;w<this.byteArrays.length;++w){let P=this.byteArrays[w];$.set(P,T),T+=P.byteLength}return this.reset(),$}reset(){this.byteArrays=[],this.byteLength=0}}function UA($,T,w){let P=$.getReader(),I=!1,h=0,U=["",new b0((M)=>new Uint8Array(M))],A=-1,_=async(M)=>{let{value:Y,done:X}=await P.read(),J=Y;if(X){if(A!==-1){let f=r(U,A);if(p(f)>0)M.enqueue(f)}M.close()}else{let f=FT(J,!1);if(A!==f){if(A>=0)M.enqueue(r(U,A));A=f}if(A===-1){M.enqueue(J);return}let G=p(J);h+=G;let Q=p(U[A]);if(G>=T&&Q===0)M.enqueue(J);else{let Z=xT(U,A,J);if(!I&&h>T*2)I=!0,w?.warn(`@smithy/util-stream - stream chunk size ${G} is below threshold of ${T}, automatically buffering.`);if(Z>=T)M.enqueue(r(U,A));else await _(M)}}};return new ReadableStream({pull:_})}function xT($,T,w){switch(T){case 0:return $[0]+=w,p($[0]);case 1:case 2:return $[T].push(w),p($[T])}}function r($,T){switch(T){case 0:let w=$[0];return $[0]="",w;case 1:case 2:return $[T].flush()}throw Error(`@smithy/util-stream - invalid index ${T} given to flush()`)}function p($){return $?.byteLength??$?.length??0}function FT($,T=!0){if(T&&typeof Buffer<"u"&&$ instanceof Buffer)return 2;if($ instanceof Uint8Array)return 1;if(typeof $==="string")return 0;return-1}function AA($,T,w){if(S($))return UA($,T,w);let P=new q.Readable({read(){}}),I=!1,h=0,U=["",new b0((_)=>new Uint8Array(_)),new b0((_)=>Buffer.from(new Uint8Array(_)))],A=-1;return $.on("data",(_)=>{let M=FT(_,!0);if(A!==M){if(A>=0)P.push(r(U,A));A=M}if(A===-1){P.push(_);return}let Y=p(_);h+=Y;let X=p(U[A]);if(Y>=T&&X===0)P.push(_);else{let J=xT(U,A,_);if(!I&&h>T*2)I=!0,w?.warn(`@smithy/util-stream - stream chunk size ${Y} is below threshold of ${T}, automatically buffering.`);if(J>=T)P.push(r(U,A))}}),$.on("end",()=>{if(A!==-1){let _=r(U,A);if(p(_)>0)P.push(_)}P.push(null)}),P}var _A=($,T)=>{let{base64Encoder:w,bodyLengthChecker:P,checksumAlgorithmFn:I,checksumLocationName:h,streamHasher:U}=T,A=w!==void 0&&P!==void 0&&I!==void 0&&h!==void 0&&U!==void 0,_=A?U(I,$):void 0,M=$.getReader();return new ReadableStream({async pull(Y){let{value:X,done:J}=await M.read();if(J){if(Y.enqueue(`0\r
|
|
5
|
+
`),A){let f=w(await _);Y.enqueue(`${h}:${f}\r
|
|
6
|
+
`),Y.enqueue(`\r
|
|
7
|
+
`)}Y.close()}else Y.enqueue(`${(P(X)||0).toString(16)}\r
|
|
8
|
+
${X}\r
|
|
9
|
+
`)}})};function MA($,T){let w=$,P=$;if(S(P))return _A(P,T);let{base64Encoder:I,bodyLengthChecker:h,checksumAlgorithmFn:U,checksumLocationName:A,streamHasher:_}=T,M=I!==void 0&&U!==void 0&&A!==void 0&&_!==void 0,Y=M?_(U,w):void 0,X=new q.Readable({read:()=>{}});return w.on("data",(J)=>{let f=h(J)||0;if(f===0)return;X.push(`${f.toString(16)}\r
|
|
10
|
+
`),X.push(J),X.push(`\r
|
|
11
|
+
`)}),w.on("end",async()=>{if(X.push(`0\r
|
|
12
|
+
`),M){let J=I(await Y);X.push(`${A}:${J}\r
|
|
13
|
+
`),X.push(`\r
|
|
14
|
+
`)}X.push(null)}),X}async function XA($,T){let w=0,P=[],I=$.getReader(),h=!1;while(!h){let{done:_,value:M}=await I.read();if(M)P.push(M),w+=M?.byteLength??0;if(w>=T)break;h=_}I.releaseLock();let U=new Uint8Array(Math.min(T,w)),A=0;for(let _ of P){if(_.byteLength>U.byteLength-A){U.set(_.subarray(0,U.byteLength-A),A);break}else U.set(_,A);A+=_.length}return U}var JA=($,T)=>{if(S($))return XA($,T);return new Promise((w,P)=>{let I=new YA;I.limit=T,$.pipe(I),$.on("error",(h)=>{I.end(),P(h)}),I.on("error",P),I.on("finish",function(){let h=new Uint8Array(Buffer.concat(this.buffers));w(h)})})},YA=class extends q.Writable{buffers=[];limit=1/0;bytesBuffered=0;_write(T,w,P){if(this.buffers.push(T),this.bytesBuffered+=T.byteLength??0,this.bytesBuffered>=this.limit){let I=this.bytesBuffered-this.limit,h=this.buffers[this.buffers.length-1];this.buffers[this.buffers.length-1]=h.subarray(0,h.byteLength-I),this.emit("finish")}P()}},fA=async($)=>{if(typeof Blob==="function"&&$ instanceof Blob||$.constructor?.name==="Blob"){if(Blob.prototype.arrayBuffer!==void 0)return new Uint8Array(await $.arrayBuffer());return GA($)}return ZA($)};async function GA($){let T=await RA($),w=y1(T);return new Uint8Array(w)}async function ZA($){let T=[],w=$.getReader(),P=!1,I=0;while(!P){let{done:A,value:_}=await w.read();if(_)T.push(_),I+=_.length;P=A}let h=new Uint8Array(I),U=0;for(let A of T)h.set(A,U),U+=A.length;return h}function RA($){return new Promise((T,w)=>{let P=new FileReader;P.onloadend=()=>{if(P.readyState!==2)return w(Error("Reader aborted too early"));let I=P.result??"",h=I.indexOf(","),U=h>-1?h+1:I.length;T(I.substring(U))},P.onabort=()=>w(Error("Read aborted")),P.onerror=()=>w(P.error),P.readAsDataURL($)})}var UT="The stream has already been transformed.",QA=($)=>{if(!AT($)&&!S($)){let I=$?.__proto__?.constructor?.name||$;throw Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${I}`)}let T=!1,w=async()=>{if(T)throw Error(UT);return T=!0,await fA($)},P=(I)=>{if(typeof I.stream!=="function")throw Error(`Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.
|
|
15
|
+
If you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body`);return I.stream()};return Object.assign($,{transformToByteArray:w,transformToString:async(I)=>{let h=await w();if(I==="base64")return G0(h);else if(I==="hex")return VT(h);else if(I===void 0||I==="utf8"||I==="utf-8")return g1(h);else if(typeof TextDecoder==="function")return new TextDecoder(I).decode(h);else throw Error("TextDecoder is not available, please make sure polyfill is provided.")},transformToWebStream:()=>{if(T)throw Error(UT);if(T=!0,AT($))return P($);else if(S($))return $;else throw Error(`Cannot transform payload to web stream, got ${$}`)}})},AT=($)=>typeof Blob==="function"&&$ instanceof Blob;class zT extends q.Writable{bufferedBytes=[];_write($,T,w){this.bufferedBytes.push($),w()}}var VA=($)=>typeof ReadableStream==="function"&&$ instanceof ReadableStream;async function OA($){let T=[],w=$.getReader(),P=!1,I=0;while(!P){let{done:A,value:_}=await w.read();if(_)T.push(_),I+=_.length;P=A}let h=new Uint8Array(I),U=0;for(let A of T)h.set(A,U),U+=A.length;return h}var NA=($)=>{if(VA($))return OA($);return new Promise((T,w)=>{let P=new zT;$.pipe(P),$.on("error",(I)=>{P.end(),w(I)}),P.on("error",w),P.on("finish",function(){let I=new Uint8Array(Buffer.concat(this.bufferedBytes));T(I)})})},_T="The stream has already been transformed.",LA=($)=>{if(!($ instanceof q.Readable))try{return QA($)}catch(P){let I=$?.__proto__?.constructor?.name||$;throw Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${I}`)}let T=!1,w=async()=>{if(T)throw Error(_T);return T=!0,await NA($)};return Object.assign($,{transformToByteArray:w,transformToString:async(P)=>{let I=await w();if(P===void 0||Buffer.isEncoding(P))return a(I.buffer,I.byteOffset,I.byteLength).toString(P);else return new TextDecoder(P).decode(I)},transformToWebStream:()=>{if(T)throw Error(_T);if($.readableFlowing!==null)throw Error("The stream has been consumed by other callbacks.");if(typeof q.Readable.toWeb!=="function")throw Error("Readable.toWeb() is not supported. Please ensure a polyfill is available.");return T=!0,q.Readable.toWeb($)}})};async function WA($){if(typeof $.stream==="function")$=$.stream();return $.tee()}async function HA($){if(S($)||BT($))return WA($);let T=new q.PassThrough,w=new q.PassThrough;return $.pipe(T),$.pipe(w),[T,w]}DA.ChecksumStream=KT;DA.Hash=ET;DA.LazyJsonString=v;DA.NumericValue=k0;DA.Uint8ArrayBlobAdapter=X0;DA._parseEpochTimestamp=iU;DA._parseRfc3339DateTimeWithOffset=uU;DA._parseRfc7231DateTime=rU;DA.calculateBodyLength=TA;DA.copyDocumentWithTransform=UU;DA.createBufferedReadable=AA;DA.createChecksumStream=hA;DA.dateToUtcString=HU;DA.deserializerMiddleware=LT;DA.deserializerMiddlewareOption=HT;DA.expectBoolean=_U;DA.expectByte=z1;DA.expectFloat32=s0;DA.expectInt=XU;DA.expectInt32=x1;DA.expectLong=Y0;DA.expectNonNull=YU;DA.expectNumber=J0;DA.expectObject=MT;DA.expectShort=F1;DA.expectString=fU;DA.expectUnion=GU;DA.fromArrayBuffer=a;DA.fromBase64=y1;DA.fromHex=eU;DA.fromString=p0;DA.fromUtf8=y0;DA.generateIdempotencyToken=GT;DA.getAwsChunkedEncodingStream=MA;DA.getSerdePlugin=wA;DA.handleFloat=QU;DA.headStream=JA;DA.isArrayBuffer=OT;DA.isBlob=BT;DA.isReadableStream=S;DA.limitedParseDouble=s1;DA.limitedParseFloat=VU;DA.limitedParseFloat32=OU;DA.logger=f0;DA.nv=aU;DA.parseBoolean=AU;DA.parseEpochTimestamp=SU;DA.parseRfc3339DateTime=EU;DA.parseRfc3339DateTimeWithOffset=BU;DA.parseRfc7231DateTime=zU;DA.quoteHeader=gU;DA.sdkStreamMixin=LA;DA.serializerMiddleware=WT;DA.serializerMiddlewareOption=DT;DA.splitEvery=lU;DA.splitHeader=oU;DA.splitStream=HA;DA.strictParseByte=fT;DA.strictParseDouble=C1;DA.strictParseFloat=ZU;DA.strictParseFloat32=XT;DA.strictParseInt=NU;DA.strictParseInt32=LU;DA.strictParseLong=YT;DA.strictParseShort=l;DA.toBase64=G0;DA.toHex=VT;DA.toUint8Array=NT;DA.toUtf8=g1;DA.v4=GT});var C0=y((o_)=>{var O=ST(),E=h1(),g_=P0(),n=async($=new Uint8Array,T)=>{if($ instanceof Uint8Array)return O.Uint8ArrayBlobAdapter.mutate($);if(!$)return O.Uint8ArrayBlobAdapter.mutate(new Uint8Array);let w=T.streamCollector($);return O.Uint8ArrayBlobAdapter.mutate(await w)};function R0($){return encodeURIComponent($).replace(/[!'()*]/g,function(T){return"%"+T.charCodeAt(0).toString(16).toUpperCase()})}class $0{serdeContext;setSerdeContext($){this.serdeContext=$}}class j{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor($){this.method=$.method||"GET",this.hostname=$.hostname||"localhost",this.port=$.port,this.query=$.query||{},this.headers=$.headers||{},this.body=$.body,this.protocol=$.protocol?$.protocol.slice(-1)!==":"?`${$.protocol}:`:$.protocol:"https:",this.path=$.path?$.path.charAt(0)!=="/"?`/${$.path}`:$.path:"/",this.username=$.username,this.password=$.password,this.fragment=$.fragment}static clone($){let T=new j({...$,headers:{...$.headers}});if(T.query)T.query=m_(T.query);return T}static isInstance($){if(!$)return!1;let T=$;return"method"in T&&"protocol"in T&&"hostname"in T&&"path"in T&&typeof T.query==="object"&&typeof T.headers==="object"}clone(){return j.clone(this)}}function m_($){return Object.keys($).reduce((T,w)=>{let P=$[w];return{...T,[w]:Array.isArray(P)?[...P]:P}},{})}class m1{statusCode;reason;headers;body;constructor($){this.statusCode=$.statusCode,this.reason=$.reason,this.headers=$.headers||{},this.body=$.body}static isInstance($){if(!$)return!1;let T=$;return typeof T.statusCode==="number"&&typeof T.headers==="object"}}class g0 extends $0{options;compositeErrorRegistry;constructor($){super();this.options=$,this.compositeErrorRegistry=E.TypeRegistry.for($.defaultNamespace);for(let T of $.errorTypeRegistries??[])this.compositeErrorRegistry.copyFrom(T)}getRequestType(){return j}getResponseType(){return m1}setSerdeContext($){if(this.serdeContext=$,this.serializer.setSerdeContext($),this.deserializer.setSerdeContext($),this.getPayloadCodec())this.getPayloadCodec().setSerdeContext($)}updateServiceEndpoint($,T){if("url"in T){if($.protocol=T.url.protocol,$.hostname=T.url.hostname,$.port=T.url.port?Number(T.url.port):void 0,$.path=T.url.pathname,$.fragment=T.url.hash||void 0,$.username=T.url.username||void 0,$.password=T.url.password||void 0,!$.query)$.query={};for(let[w,P]of T.url.searchParams.entries())$.query[w]=P;if(T.headers)for(let w in T.headers)$.headers[w]=T.headers[w].join(", ");return $}else{if($.protocol=T.protocol,$.hostname=T.hostname,$.port=T.port?Number(T.port):void 0,$.path=T.path,$.query={...T.query},T.headers)for(let w in T.headers)$.headers[w]=T.headers[w];return $}}setHostPrefix($,T,w){if(this.serdeContext?.disableHostPrefix)return;let P=E.NormalizedSchema.of(T.input),I=E.translateTraits(T.traits??{});if(I.endpoint){let h=I.endpoint?.[0];if(typeof h==="string"){for(let[U,A]of P.structIterator()){if(!A.getMergedTraits().hostLabel)continue;let _=w[U];if(typeof _!=="string")throw Error(`@smithy/core/schema - ${U} in input must be a string as hostLabel.`);h=h.replace(`{${U}}`,_)}$.hostname=h+$.hostname}}}deserializeMetadata($){return{httpStatusCode:$.statusCode,requestId:$.headers["x-amzn-requestid"]??$.headers["x-amzn-request-id"]??$.headers["x-amz-request-id"],extendedRequestId:$.headers["x-amz-id-2"],cfId:$.headers["x-amz-cf-id"]}}async serializeEventStream({eventStream:$,requestSchema:T,initialRequest:w}){return(await this.loadEventStreamCapability()).serializeEventStream({eventStream:$,requestSchema:T,initialRequest:w})}async deserializeEventStream({response:$,responseSchema:T,initialResponseContainer:w}){return(await this.loadEventStreamCapability()).deserializeEventStream({response:$,responseSchema:T,initialResponseContainer:w})}async loadEventStreamCapability(){let{EventStreamSerde:$}=await import("./index-1.1.29-v640rrh6.mjs");return new $({marshaller:this.getEventStreamMarshaller(),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType()})}getDefaultContentType(){throw Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage($,T,w,P,I){return[]}getEventStreamMarshaller(){let $=this.serdeContext;if(!$.eventStreamMarshaller)throw Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");return $.eventStreamMarshaller}}class CT extends g0{async serializeRequest($,T,w){let P=T&&typeof T==="object"?T:{},I=this.serializer,h={},U={},A=await w.endpoint(),_=E.NormalizedSchema.of($?.input),M=[],Y=[],X=!1,J,f=new j({protocol:"",hostname:"",port:void 0,path:"",fragment:void 0,query:h,headers:U,body:void 0});if(A){this.updateServiceEndpoint(f,A),this.setHostPrefix(f,$,P);let G=E.translateTraits($.traits);if(G.http){f.method=G.http[0];let[Q,Z]=G.http[1].split("?");if(f.path=="/")f.path=Q;else f.path+=Q;let R=new URLSearchParams(Z??"");for(let[V,L]of R)h[V]=L}}for(let[G,Q]of _.structIterator()){let Z=Q.getMergedTraits()??{},R=P[G];if(R==null&&!Q.isIdempotencyToken()){if(Z.httpLabel){if(f.path.includes(`{${G}+}`)||f.path.includes(`{${G}}`))throw Error(`No value provided for input HTTP label: ${G}.`)}continue}if(Z.httpPayload)if(Q.isStreaming())if(Q.isStructSchema()){if(P[G])J=await this.serializeEventStream({eventStream:P[G],requestSchema:_})}else J=R;else I.write(Q,R),J=I.flush();else if(Z.httpLabel){I.write(Q,R);let V=I.flush();if(f.path.includes(`{${G}+}`))f.path=f.path.replace(`{${G}+}`,V.split("/").map(R0).join("/"));else if(f.path.includes(`{${G}}`))f.path=f.path.replace(`{${G}}`,R0(V))}else if(Z.httpHeader)I.write(Q,R),U[Z.httpHeader.toLowerCase()]=String(I.flush());else if(typeof Z.httpPrefixHeaders==="string")for(let V in R){let L=R[V],W=Z.httpPrefixHeaders+V;I.write([Q.getValueSchema(),{httpHeader:W}],L),U[W.toLowerCase()]=I.flush()}else if(Z.httpQuery||Z.httpQueryParams)this.serializeQuery(Q,R,h);else X=!0,M.push(G),Y.push(Q)}if(X&&P){let[G,Q]=(_.getName(!0)??"#Unknown").split("#"),Z=_.getSchema()[6],R=[3,G,Q,_.getMergedTraits(),M,Y,void 0];if(Z)R[6]=Z;else R.pop();I.write(R,P),J=I.flush()}return f.headers=U,f.query=h,f.body=J,f}serializeQuery($,T,w){let P=this.serializer,I=$.getMergedTraits();if(I.httpQueryParams){for(let h in T)if(!(h in w)){let U=T[h],A=$.getValueSchema();Object.assign(A.getMergedTraits(),{...I,httpQuery:h,httpQueryParams:void 0}),this.serializeQuery(A,U,w)}return}if($.isListSchema()){let h=!!$.getMergedTraits().sparse,U=[];for(let A of T){P.write([$.getValueSchema(),I],A);let _=P.flush();if(h||_!==void 0)U.push(_)}w[I.httpQuery]=U}else P.write([$,I],T),w[I.httpQuery]=P.flush()}async deserializeResponse($,T,w){let P=this.deserializer,I=E.NormalizedSchema.of($.output),h={};if(w.statusCode>=300){let A=await n(w.body,T);if(A.byteLength>0)Object.assign(h,await P.read(15,A));throw await this.handleError($,T,w,h,this.deserializeMetadata(w)),Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.")}for(let A in w.headers){let _=w.headers[A];delete w.headers[A],w.headers[A.toLowerCase()]=_}let U=await this.deserializeHttpMessage(I,T,w,h);if(U.length){let A=await n(w.body,T);if(A.byteLength>0){let _=await P.read(I,A);for(let M of U)if(_[M]!=null)h[M]=_[M]}}else if(U.discardResponseBody)await n(w.body,T);return h.$metadata=this.deserializeMetadata(w),h}async deserializeHttpMessage($,T,w,P,I){let h;if(P instanceof Set)h=I;else h=P;let U=!0,A=this.deserializer,_=E.NormalizedSchema.of($),M=[];for(let[Y,X]of _.structIterator()){let J=X.getMemberTraits();if(J.httpPayload){if(U=!1,X.isStreaming())if(X.isStructSchema())h[Y]=await this.deserializeEventStream({response:w,responseSchema:_});else h[Y]=O.sdkStreamMixin(w.body);else if(w.body){let G=await n(w.body,T);if(G.byteLength>0)h[Y]=await A.read(X,G)}}else if(J.httpHeader){let f=String(J.httpHeader).toLowerCase(),G=w.headers[f];if(G!=null)if(X.isListSchema()){let Q=X.getValueSchema();Q.getMergedTraits().httpHeader=f;let Z;if(Q.isTimestampSchema()&&Q.getSchema()===4)Z=O.splitEvery(G,",",2);else Z=O.splitHeader(G);let R=[];for(let V of Z)R.push(await A.read(Q,V.trim()));h[Y]=R}else h[Y]=await A.read(X,G)}else if(J.httpPrefixHeaders!==void 0){h[Y]={};for(let f in w.headers)if(f.startsWith(J.httpPrefixHeaders)){let G=w.headers[f],Q=X.getValueSchema();Q.getMergedTraits().httpHeader=f,h[Y][f.slice(J.httpPrefixHeaders.length)]=await A.read(Q,G)}}else if(J.httpResponseCode)h[Y]=w.statusCode;else M.push(Y)}return M.discardResponseBody=U,M}}class sT extends g0{async serializeRequest($,T,w){let P=this.serializer,I={},h={},U=await w.endpoint(),A=E.NormalizedSchema.of($?.input),_=A.getSchema(),M,Y=T&&typeof T==="object"?T:{},X=new j({protocol:"",hostname:"",port:void 0,path:"/",fragment:void 0,query:I,headers:h,body:void 0});if(U)this.updateServiceEndpoint(X,U),this.setHostPrefix(X,$,Y);if(Y){let J=A.getEventStreamMember();if(J){if(Y[J]){let f={};for(let[G,Q]of A.structIterator())if(G!==J&&Y[G])P.write(Q,Y[G]),f[G]=P.flush();M=await this.serializeEventStream({eventStream:Y[J],requestSchema:A,initialRequest:f})}}else P.write(_,Y),M=P.flush()}return X.headers=Object.assign(X.headers,h),X.query=I,X.body=M,X.method="POST",X}async deserializeResponse($,T,w){let P=this.deserializer,I=E.NormalizedSchema.of($.output),h={};if(w.statusCode>=300){let A=await n(w.body,T);if(A.byteLength>0)Object.assign(h,await P.read(15,A));throw await this.handleError($,T,w,h,this.deserializeMetadata(w)),Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.")}for(let A in w.headers){let _=w.headers[A];delete w.headers[A],w.headers[A.toLowerCase()]=_}let U=I.getEventStreamMember();if(U)h[U]=await this.deserializeEventStream({response:w,responseSchema:I,initialResponseContainer:h});else{let A=await n(w.body,T);if(A.byteLength>0)Object.assign(h,await P.read(I,A))}return h.$metadata=this.deserializeMetadata(w),h}}var cT=($,T,w,P,I,h)=>{if(T!=null&&T[w]!==void 0){let U=P();if(U==null||U.length<=0)throw Error("Empty value provided for input HTTP label: "+w+".");$=$.replace(I,h?U.split("/").map((A)=>R0(A)).join("/"):R0(U))}else throw Error("No value provided for input HTTP label: "+w+".");return $};function d_($,T){return new d1($,T)}class d1{input;context;query={};method="";headers={};path="";body=null;hostname="";resolvePathStack=[];constructor($,T){this.input=$,this.context=T}async build(){let{hostname:$,protocol:T="https",port:w,path:P}=await this.context.endpoint();this.path=P;for(let I of this.resolvePathStack)I(this.path);return new j({protocol:T,hostname:this.hostname||$,port:w,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn($){return this.hostname=$,this}bp($){return this.resolvePathStack.push((T)=>{this.path=`${T?.endsWith("/")?T.slice(0,-1):T||""}`+$}),this}p($,T,w,P){return this.resolvePathStack.push((I)=>{this.path=cT(I,this.input,$,T,w,P)}),this}h($){return this.headers=$,this}q($){return this.query=$,this}b($){return this.body=$,this}m($){return this.method=$,this}}function v1($,T){if(T.timestampFormat.useTrait){if($.isTimestampSchema()&&($.getSchema()===5||$.getSchema()===6||$.getSchema()===7))return $.getSchema()}let{httpLabel:w,httpPrefixHeaders:P,httpHeader:I,httpQuery:h}=$.getMergedTraits();return(T.httpBindings?typeof P==="string"||Boolean(I)?6:Boolean(h)||Boolean(w)?5:void 0:void 0)??T.timestampFormat.default}class n1 extends $0{settings;constructor($){super();this.settings=$}read($,T){let w=E.NormalizedSchema.of($);if(w.isListSchema())return O.splitHeader(T).map((P)=>this.read(w.getValueSchema(),P));if(w.isBlobSchema())return(this.serdeContext?.base64Decoder??O.fromBase64)(T);if(w.isTimestampSchema())switch(v1(w,this.settings)){case 5:return O._parseRfc3339DateTimeWithOffset(T);case 6:return O._parseRfc7231DateTime(T);case 7:return O._parseEpochTimestamp(T);default:return console.warn("Missing timestamp format, parsing value with Date constructor:",T),new Date(T)}if(w.isStringSchema()){let P=w.getMergedTraits().mediaType,I=T;if(P){if(w.getMergedTraits().httpHeader)I=this.base64ToUtf8(I);if(P==="application/json"||P.endsWith("+json"))I=O.LazyJsonString.from(I);return I}}if(w.isNumericSchema())return Number(T);if(w.isBigIntegerSchema())return BigInt(T);if(w.isBigDecimalSchema())return new O.NumericValue(T,"bigDecimal");if(w.isBooleanSchema())return String(T).toLowerCase()==="true";return T}base64ToUtf8($){return(this.serdeContext?.utf8Encoder??O.toUtf8)((this.serdeContext?.base64Decoder??O.fromBase64)($))}}class bT extends $0{codecDeserializer;stringDeserializer;constructor($,T){super();this.codecDeserializer=$,this.stringDeserializer=new n1(T)}setSerdeContext($){this.stringDeserializer.setSerdeContext($),this.codecDeserializer.setSerdeContext($),this.serdeContext=$}read($,T){let w=E.NormalizedSchema.of($),P=w.getMergedTraits(),I=this.serdeContext?.utf8Encoder??O.toUtf8;if(P.httpHeader||P.httpResponseCode)return this.stringDeserializer.read(w,I(T));if(P.httpPayload){if(w.isBlobSchema()){let h=this.serdeContext?.utf8Decoder??O.fromUtf8;if(typeof T==="string")return h(T);return T}else if(w.isStringSchema()){if("byteLength"in T)return I(T);return T}}return this.codecDeserializer.read(w,T)}}class t1 extends $0{settings;stringBuffer="";constructor($){super();this.settings=$}write($,T){let w=E.NormalizedSchema.of($);switch(typeof T){case"object":if(T===null){this.stringBuffer="null";return}if(w.isTimestampSchema()){if(!(T instanceof Date))throw Error(`@smithy/core/protocols - received non-Date value ${T} when schema expected Date in ${w.getName(!0)}`);switch(v1(w,this.settings)){case 5:this.stringBuffer=T.toISOString().replace(".000Z","Z");break;case 6:this.stringBuffer=O.dateToUtcString(T);break;case 7:this.stringBuffer=String(T.getTime()/1000);break;default:console.warn("Missing timestamp format, using epoch seconds",T),this.stringBuffer=String(T.getTime()/1000)}return}if(w.isBlobSchema()&&"byteLength"in T){this.stringBuffer=(this.serdeContext?.base64Encoder??O.toBase64)(T);return}if(w.isListSchema()&&Array.isArray(T)){let h="";for(let U of T){this.write([w.getValueSchema(),w.getMergedTraits()],U);let A=this.flush(),_=w.getValueSchema().isTimestampSchema()?A:O.quoteHeader(A);if(h!=="")h+=", ";h+=_}this.stringBuffer=h;return}this.stringBuffer=JSON.stringify(T,null,2);break;case"string":let P=w.getMergedTraits().mediaType,I=T;if(P){if(P==="application/json"||P.endsWith("+json"))I=O.LazyJsonString.from(I);if(w.getMergedTraits().httpHeader){this.stringBuffer=(this.serdeContext?.base64Encoder??O.toBase64)(I.toString());return}}this.stringBuffer=T;break;default:if(w.isIdempotencyToken())this.stringBuffer=O.generateIdempotencyToken();else this.stringBuffer=String(T)}}flush(){let $=this.stringBuffer;return this.stringBuffer="",$}}class kT{codecSerializer;stringSerializer;buffer;constructor($,T,w=new t1(T)){this.codecSerializer=$,this.stringSerializer=w}setSerdeContext($){this.codecSerializer.setSerdeContext($),this.stringSerializer.setSerdeContext($)}write($,T){let w=E.NormalizedSchema.of($),P=w.getMergedTraits();if(P.httpHeader||P.httpLabel||P.httpQuery){this.stringSerializer.write(w,T),this.buffer=this.stringSerializer.flush();return}return this.codecSerializer.write(w,T)}flush(){if(this.buffer!==void 0){let $=this.buffer;return this.buffer=void 0,$}return this.codecSerializer.flush()}}class pT{name;kind;values;constructor({name:$,kind:T=g_.FieldPosition.HEADER,values:w=[]}){this.name=$,this.kind=T,this.values=w}add($){this.values.push($)}set($){this.values=$}remove($){this.values=this.values.filter((T)=>T!==$)}toString(){return this.values.map(($)=>$.includes(",")||$.includes(" ")?`"${$}"`:$).join(", ")}get(){return this.values}}class yT{entries={};encoding;constructor({fields:$=[],encoding:T="utf-8"}){$.forEach(this.setField.bind(this)),this.encoding=T}setField($){this.entries[$.name.toLowerCase()]=$}getField($){return this.entries[$.toLowerCase()]}removeField($){delete this.entries[$.toLowerCase()]}getByType($){return Object.values(this.entries).filter((T)=>T.kind===$)}}function v_($){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test($)}var n_=($)=>{return{setHttpHandler(T){$.httpHandler=T},httpHandler(){return $.httpHandler},updateHttpClientConfig(T,w){$.httpHandler?.updateHttpClientConfig(T,w)},httpHandlerConfigs(){return $.httpHandler.httpHandlerConfigs()}}},t_=($)=>{return{httpHandler:$.httpHandler()}},jT="content-length";function gT($){return(T)=>async(w)=>{let P=w.request;if(j.isInstance(P)){let{body:I,headers:h}=P;if(I&&Object.keys(h).map((U)=>U.toLowerCase()).indexOf(jT)===-1)try{let U=$(I);P.headers={...P.headers,[jT]:String(U)}}catch(U){}}return T({...w,request:P})}}var mT={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},i_=($)=>({applyToStack:(T)=>{T.add(gT($.bodyLengthChecker),mT)}}),Z0=($)=>encodeURIComponent($).replace(/[!'()*]/g,u_),u_=($)=>`%${$.charCodeAt(0).toString(16).toUpperCase()}`,r_=($)=>$.split("/").map(Z0).join("/");function l_($){let T=[];for(let w of Object.keys($).sort()){let P=$[w];if(w=Z0(w),Array.isArray(P))for(let I=0,h=P.length;I<h;I++)T.push(`${w}=${Z0(P[I])}`);else{let I=w;if(P||typeof P==="string")I+=`=${Z0(P)}`;T.push(I)}}return T.join("&")}function dT($){let T={};if($=$.replace(/^\?/,""),$)for(let w of $.split("&")){let[P,I=null]=w.split("=");if(P=decodeURIComponent(P),I)I=decodeURIComponent(I);if(!(P in T))T[P]=I;else if(Array.isArray(T[P]))T[P].push(I);else T[P]=[T[P],I]}return T}var vT=($)=>{if(typeof $==="string")return vT(new URL($));let{hostname:T,pathname:w,port:P,protocol:I,search:h}=$,U;if(h)U=dT(h);return{hostname:T,port:P?parseInt(P):void 0,protocol:I,path:w,query:U}};o_.Field=pT;o_.Fields=yT;o_.FromStringShapeDeserializer=n1;o_.HttpBindingProtocol=CT;o_.HttpInterceptingShapeDeserializer=bT;o_.HttpInterceptingShapeSerializer=kT;o_.HttpProtocol=g0;o_.HttpRequest=j;o_.HttpResponse=m1;o_.RequestBuilder=d1;o_.RpcProtocol=sT;o_.SerdeContext=$0;o_.ToStringShapeSerializer=t1;o_.buildQueryString=l_;o_.collectBody=n;o_.contentLengthMiddleware=gT;o_.contentLengthMiddlewareOptions=mT;o_.determineTimestampFormat=v1;o_.escapeUri=Z0;o_.escapeUriPath=r_;o_.extendedEncodeURIComponent=R0;o_.getContentLengthPlugin=i_;o_.getHttpHandlerExtensionConfiguration=n_;o_.isValidHostname=v_;o_.parseQueryString=dT;o_.parseUrl=vT;o_.requestBuilder=d_;o_.resolveHttpHandlerRuntimeConfig=t_;o_.resolvedPath=cT});var h1=y((y6)=>{var nT=D0(),B6=C0(),q6=F0(),m0=($)=>{if(typeof $==="function")return $();return $},r1=($,T,w,P,I)=>({name:T,namespace:$,traits:w,input:P,output:I}),x6=($)=>(T,w)=>async(P)=>{let{response:I}=await T(P),{operationSchema:h}=nT.getSmithyContext(w),[,U,A,_,M,Y]=h??[];try{let X=await $.protocol.deserializeResponse(r1(U,A,_,M,Y),{...$,...w},I);return{response:I,output:X}}catch(X){if(Object.defineProperty(X,"$response",{value:I,enumerable:!1,writable:!1,configurable:!1}),!("$metadata"in X)){try{X.message+=`
|
|
16
|
+
Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`}catch(f){if(!w.logger||w.logger?.constructor?.name==="NoOpLogger")console.warn("Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.");else w.logger?.warn?.("Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.")}if(typeof X.$responseBodyText<"u"){if(X.$response)X.$response.body=X.$responseBodyText}try{if(B6.HttpResponse.isInstance(I)){let{headers:f={}}=I,G=Object.entries(f);X.$metadata={httpStatusCode:I.statusCode,requestId:i1(/^x-[\w-]+-request-?id$/,G),extendedRequestId:i1(/^x-[\w-]+-id-2$/,G),cfId:i1(/^x-[\w-]+-cf-id$/,G)}}}catch(f){}}throw X}},i1=($,T)=>{return(T.find(([w])=>{return w.match($)})||[void 0,void 0])[1]},F6=($)=>(T,w)=>async(P)=>{let{operationSchema:I}=nT.getSmithyContext(w),[,h,U,A,_,M]=I??[],Y=w.endpointV2?async()=>q6.toEndpointV1(w.endpointV2):$.endpoint,X=await $.protocol.serializeRequest(r1(h,U,A,_,M),P.input,{...$,...w,endpoint:Y});return T({...P,request:X})},tT={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},iT={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function z6($){return{applyToStack:(T)=>{T.add(F6($),iT),T.add(x6($),tT),$.protocol.setSerdeContext($)}}}class D{name;namespace;traits;static assign($,T){return Object.assign($,T)}static[Symbol.hasInstance]($){let T=this.prototype.isPrototypeOf($);if(!T&&typeof $==="object"&&$!==null)return $.symbol===this.symbol;return T}getName(){return this.namespace+"#"+this.name}}class t0 extends D{static symbol=Symbol.for("@smithy/lis");name;traits;valueSchema;symbol=t0.symbol}var S6=($,T,w,P)=>D.assign(new t0,{name:T,namespace:$,traits:w,valueSchema:P});class i0 extends D{static symbol=Symbol.for("@smithy/map");name;traits;keySchema;valueSchema;symbol=i0.symbol}var j6=($,T,w,P,I)=>D.assign(new i0,{name:T,namespace:$,traits:w,keySchema:P,valueSchema:I});class u0 extends D{static symbol=Symbol.for("@smithy/ope");name;traits;input;output;symbol=u0.symbol}var C6=($,T,w,P,I)=>D.assign(new u0,{name:T,namespace:$,traits:w,input:P,output:I});class N0 extends D{static symbol=Symbol.for("@smithy/str");name;traits;memberNames;memberList;symbol=N0.symbol}var s6=($,T,w,P,I)=>D.assign(new N0,{name:T,namespace:$,traits:w,memberNames:P,memberList:I});class r0 extends N0{static symbol=Symbol.for("@smithy/err");ctor;symbol=r0.symbol}var c6=($,T,w,P,I,h)=>D.assign(new r0,{name:T,namespace:$,traits:w,memberNames:P,memberList:I,ctor:null}),d0=[];function O0($){if(typeof $==="object")return $;if($=$|0,d0[$])return d0[$];let T={},w=0;for(let P of["httpLabel","idempotent","idempotencyToken","sensitive","httpPayload","httpResponseCode","httpQueryParams"])if(($>>w++&1)===1)T[P]=1;return d0[$]=T}var Q0={it:Symbol.for("@smithy/nor-struct-it"),ns:Symbol.for("@smithy/ns")},v0=[],n0={};class s{ref;memberName;static symbol=Symbol.for("@smithy/nor");symbol=s.symbol;name;schema;_isMemberSchema;traits;memberTraits;normalizedTraits;constructor($,T){this.ref=$,this.memberName=T;let w=[],P=$,I=$;this._isMemberSchema=!1;while(u1(P))w.push(P[1]),P=P[0],I=m0(P),this._isMemberSchema=!0;if(w.length>0){this.memberTraits={};for(let h=w.length-1;h>=0;--h){let U=w[h];Object.assign(this.memberTraits,O0(U))}}else this.memberTraits=0;if(I instanceof s){let h=this.memberTraits;Object.assign(this,I),this.memberTraits=Object.assign({},h,I.getMemberTraits(),this.getMemberTraits()),this.normalizedTraits=void 0,this.memberName=T??I.memberName;return}if(this.schema=m0(I),uT(this.schema))this.name=`${this.schema[1]}#${this.schema[2]}`,this.traits=this.schema[3];else this.name=this.memberName??String(I),this.traits=0;if(this._isMemberSchema&&!T)throw Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(!0)} missing member name.`)}static[Symbol.hasInstance]($){let T=this.prototype.isPrototypeOf($);if(!T&&typeof $==="object"&&$!==null)return $.symbol===this.symbol;return T}static of($){let T=typeof $==="function"||typeof $==="object"&&$!==null;if(typeof $==="number"){if(v0[$])return v0[$]}else if(typeof $==="string"){if(n0[$])return n0[$]}else if(T){if($[Q0.ns])return $[Q0.ns]}let w=m0($);if(w instanceof s)return w;if(u1(w)){let[I,h]=w;if(I instanceof s)return Object.assign(I.getMergedTraits(),O0(h)),I;throw Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify($,null,2)}.`)}let P=new s(w);if(T)return $[Q0.ns]=P;if(typeof w==="string")return n0[w]=P;if(typeof w==="number")return v0[w]=P;return P}getSchema(){let $=this.schema;if(Array.isArray($)&&$[0]===0)return $[4];return $}getName($=!1){let{name:T}=this;return!$&&T&&T.includes("#")?T.split("#")[1]:T||void 0}getMemberName(){return this.memberName}isMemberSchema(){return this._isMemberSchema}isListSchema(){let $=this.getSchema();return typeof $==="number"?$>=64&&$<128:$[0]===1}isMapSchema(){let $=this.getSchema();return typeof $==="number"?$>=128&&$<=255:$[0]===2}isStructSchema(){let $=this.getSchema();if(typeof $!=="object")return!1;let T=$[0];return T===3||T===-3||T===4}isUnionSchema(){let $=this.getSchema();if(typeof $!=="object")return!1;return $[0]===4}isBlobSchema(){let $=this.getSchema();return $===21||$===42}isTimestampSchema(){let $=this.getSchema();return typeof $==="number"&&$>=4&&$<=7}isUnitSchema(){return this.getSchema()==="unit"}isDocumentSchema(){return this.getSchema()===15}isStringSchema(){return this.getSchema()===0}isBooleanSchema(){return this.getSchema()===2}isNumericSchema(){return this.getSchema()===1}isBigIntegerSchema(){return this.getSchema()===17}isBigDecimalSchema(){return this.getSchema()===19}isStreaming(){let{streaming:$}=this.getMergedTraits();return!!$||this.getSchema()===42}isIdempotencyToken(){return!!this.getMergedTraits().idempotencyToken}getMergedTraits(){return this.normalizedTraits??(this.normalizedTraits={...this.getOwnTraits(),...this.getMemberTraits()})}getMemberTraits(){return O0(this.memberTraits)}getOwnTraits(){return O0(this.traits)}getKeySchema(){let[$,T]=[this.isDocumentSchema(),this.isMapSchema()];if(!$&&!T)throw Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(!0)}`);let w=this.getSchema(),P=$?15:w[4]??0;return V0([P,0],"key")}getValueSchema(){let $=this.getSchema(),[T,w,P]=[this.isDocumentSchema(),this.isMapSchema(),this.isListSchema()],I=typeof $==="number"?63&$:$&&typeof $==="object"&&(w||P)?$[3+$[0]]:T?15:void 0;if(I!=null)return V0([I,0],w?"value":"member");throw Error(`@smithy/core/schema - ${this.getName(!0)} has no value member.`)}getMemberSchema($){let T=this.getSchema();if(this.isStructSchema()&&T[4].includes($)){let w=T[4].indexOf($),P=T[5][w];return V0(u1(P)?P:[P,0],$)}if(this.isDocumentSchema())return V0([15,0],$);throw Error(`@smithy/core/schema - ${this.getName(!0)} has no member=${$}.`)}getMemberSchemas(){let $={};try{for(let[T,w]of this.structIterator())$[T]=w}catch(T){}return $}getEventStreamMember(){if(this.isStructSchema()){for(let[$,T]of this.structIterator())if(T.isStreaming()&&T.isStructSchema())return $}return""}*structIterator(){if(this.isUnitSchema())return;if(!this.isStructSchema())throw Error("@smithy/core/schema - cannot iterate non-struct schema.");let $=this.getSchema(),T=$[4].length,w=$[Q0.it];if(w&&T===w.length){yield*w;return}w=Array(T);for(let P=0;P<T;++P){let I=$[4][P],h=V0([$[5][P],0],I);yield w[P]=[I,h]}$[Q0.it]=w}}function V0($,T){if($ instanceof s)return Object.assign($,{memberName:T,_isMemberSchema:!0});return new s($,T)}var u1=($)=>Array.isArray($)&&$.length===2,uT=($)=>Array.isArray($)&&$.length>=5;class L0 extends D{static symbol=Symbol.for("@smithy/sim");name;schemaRef;traits;symbol=L0.symbol}var b6=($,T,w,P)=>D.assign(new L0,{name:T,namespace:$,traits:P,schemaRef:w}),k6=($,T,w,P)=>D.assign(new L0,{name:T,namespace:$,traits:w,schemaRef:P}),p6={BLOB:21,STREAMING_BLOB:42,BOOLEAN:2,STRING:0,NUMERIC:1,BIG_INTEGER:17,BIG_DECIMAL:19,DOCUMENT:15,TIMESTAMP_DEFAULT:4,TIMESTAMP_DATE_TIME:5,TIMESTAMP_HTTP_DATE:6,TIMESTAMP_EPOCH_SECONDS:7,LIST_MODIFIER:64,MAP_MODIFIER:128};class C{namespace;schemas;exceptions;static registries=new Map;constructor($,T=new Map,w=new Map){this.namespace=$,this.schemas=T,this.exceptions=w}static for($){if(!C.registries.has($))C.registries.set($,new C($));return C.registries.get($)}copyFrom($){let{schemas:T,exceptions:w}=this;for(let[P,I]of $.schemas)if(!T.has(P))T.set(P,I);for(let[P,I]of $.exceptions)if(!w.has(P))w.set(P,I)}register($,T){let w=this.normalizeShapeId($);for(let P of[this,C.for(w.split("#")[0])])P.schemas.set(w,T)}getSchema($){let T=this.normalizeShapeId($);if(!this.schemas.has(T))throw Error(`@smithy/core/schema - schema not found for ${T}`);return this.schemas.get(T)}registerError($,T){let w=$,P=w[1];for(let I of[this,C.for(P)])I.schemas.set(P+"#"+w[2],w),I.exceptions.set(w,T)}getErrorCtor($){let T=$;if(this.exceptions.has(T))return this.exceptions.get(T);return C.for(T[1]).exceptions.get(T)}getBaseException(){for(let $ of this.exceptions.keys())if(Array.isArray($)){let[,T,w]=$,P=T+"#"+w;if(P.startsWith("smithy.ts.sdk.synthetic.")&&P.endsWith("ServiceException"))return $}return}find($){for(let T of this.schemas.values())if($(T))return T;return}clear(){this.schemas.clear(),this.exceptions.clear()}normalizeShapeId($){if($.includes("#"))return $;return this.namespace+"#"+$}}y6.ErrorSchema=r0;y6.ListSchema=t0;y6.MapSchema=i0;y6.NormalizedSchema=s;y6.OperationSchema=u0;y6.SCHEMA=p6;y6.Schema=D;y6.SimpleSchema=L0;y6.StructureSchema=N0;y6.TypeRegistry=C;y6.deref=m0;y6.deserializerMiddlewareOption=tT;y6.error=c6;y6.getSchemaSerdePlugin=z6;y6.isStaticSchema=uT;y6.list=S6;y6.map=j6;y6.op=C6;y6.operation=r1;y6.serializerMiddlewareOption=iT;y6.sim=b6;y6.simAdapter=k6;y6.simpleSchemaCacheN=v0;y6.simpleSchemaCacheS=n0;y6.struct=s6;y6.traitsCache=d0;y6.translateTraits=O0});
|
|
17
|
+
export{P0 as Lta,h1 as Mta,D0 as Nta,C$ as Ota,F0 as Pta,ST as Qta,C0 as Rta};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{Nta as V_,Ota as su,Qta as K_,Rta as f_}from"./cli-1.1.29-4yztmbcx.mjs";import{Uta as H,Xta as $_}from"./cli-1.1.29-4xqgqvwm.mjs";var W_=H((k_)=>{var z_=$_("node:stream"),v=V_(),K=f_(),q=K_(),m=(_)=>_?.body instanceof z_.Readable||typeof ReadableStream<"u"&&_?.body instanceof ReadableStream,G_=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],J_=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],X_=["TimeoutError","RequestTimeout","RequestTimeoutException"],C_=[500,502,503,504],d_=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],Z_=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],A=(_)=>_?.$retryable!==void 0,p=(_)=>G_.includes(_.name),y=(_)=>_.$metadata?.clockSkewCorrected,s=(_)=>{let u=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!(_&&_ instanceof TypeError))return!1;return u.has(_.message)},J=(_)=>_.$metadata?.httpStatusCode===429||J_.includes(_.name)||_.$retryable?.throttling==!0,X=(_,u=0)=>A(_)||y(_)||_.name==="InvalidSignatureException"&&_.message?.includes("Signature expired")||X_.includes(_.name)||d_.includes(_?.code||"")||Z_.includes(_?.code||"")||C_.includes(_.$metadata?.httpStatusCode||0)||s(_)||o(_)||_.cause!==void 0&&u<=10&&X(_.cause,u+1),a=(_)=>{if(_.$metadata?.httpStatusCode!==void 0){let u=_.$metadata.httpStatusCode;if(500<=u&&u<=599&&!X(_))return!0;return!1}return!1};function o(_){return _.code==="ERR_HTTP2_STREAM_ERROR"&&_.message.includes("NGHTTP2_REFUSED_STREAM")}var e=100,Q=20000,t=500,Z=500,r=5,__=10,g=1,c="amz-sdk-invocation-id",w="amz-sdk-request";function u_(_,u){if(!K.HttpResponse.isInstance(_))return;for(let E of Object.keys(_.headers)){let O=E.toLowerCase();if(O==="retry-after"){let T=_.headers[E],b=NaN;if(T.endsWith("GMT"))try{b=(q.parseRfc7231DateTime(T).getTime()-Date.now())/1000}catch(L){u?.trace?.("Failed to parse retry-after header"),u?.trace?.(L)}else if(T.match(/ GMT, ((\d+)|(\d+\.\d+))$/))b=Number(T.match(/ GMT, ([\d.]+)$/)?.[1]);else if(T.match(/^((\d+)|(\d+\.\d+))$/))b=Number(T);else if(Date.parse(T)>=Date.now())b=(Date.parse(T)-Date.now())/1000;if(isNaN(b))return;return new Date(Date.now()+b*1000)}else if(O==="x-amz-retry-after"){let T=_.headers[E],b=Number(T);if(isNaN(b)){u?.trace?.(`Failed to parse x-amz-retry-after=${T}`);return}return new Date(Date.now()+b)}}}function H_(_,u){return u_(_,u)}var E_=(_)=>{if(_ instanceof Error)return _;if(_ instanceof Object)return Object.assign(Error(),_);if(typeof _==="string")return Error(_);return Error(`AWS SDK error wrapper for ${_}`)};function O_(_){return(u)=>(E,O)=>async(T)=>{let b=await u.retryStrategy(),L=await u.maxAttempts();if(Q_(b)){b=b;let N=await b.acquireInitialRetryToken((O.partition_id??"")+(O.__retryLongPoll?":longpoll":"")),j=Error(),Y=0,F=0,{request:I}=T,R=K.HttpRequest.isInstance(I);if(R)I.headers[c]=q.v4();while(!0)try{if(R)I.headers[w]=`attempt=${Y+1}; max=${L}`;let{response:V,output:z}=await E(T);return b.recordSuccess(N),z.$metadata.attempts=Y+1,z.$metadata.totalRetryDelay=F,{response:V,output:z}}catch(V){let z=c_(V,u.logger);if(j=E_(V),R&&_(I))throw(O.logger instanceof v.NoOpLogger?console:O.logger)?.warn("An error was encountered in a non-retryable streaming request."),j;try{N=await b.refreshRetryTokenForRetry(N,z)}catch(x){if(typeof x.$backoff==="number")await l(x.$backoff);if(!j.$metadata)j.$metadata={};throw j.$metadata.attempts=Y+1,j.$metadata.totalRetryDelay=F,j}Y=N.getRetryCount();let k=N.getRetryDelay();F+=k,await l(k)}}else{if(b=b,b?.mode)O.userAgent=[...O.userAgent||[],["cfg/retry-mode",b.mode]];return b.retry(E,T)}}}var l=(_)=>new Promise((u)=>setTimeout(u,_)),Q_=(_)=>typeof _.acquireInitialRetryToken<"u"&&typeof _.refreshRetryTokenForRetry<"u"&&typeof _.recordSuccess<"u",c_=(_,u)=>{let E={error:_,errorType:w_(_)},O=u_(_.$response,u);if(O)E.retryAfterHint=O;return E},w_=(_)=>{if(J(_))return"THROTTLING";if(X(_))return"TRANSIENT";if(a(_))return"SERVER_ERROR";return"CLIENT_ERROR"},b_={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};function B_(_){let u=O_(_);return(E)=>({applyToStack:(O)=>{O.add(u(E),b_)}})}class C{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(_){this.beta=_?.beta??0.7,this.minCapacity=_?.minCapacity??1,this.minFillRate=_?.minFillRate??0.5,this.scaleConstant=_?.scaleConstant??0.4,this.smooth=_?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(_){let u;this.updateMeasuredRate();let E=_;if(E?.errorType==="THROTTLING"||J(E?.error??_)){let b=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=b,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),u=this.cubicThrottle(b),this.enableTokenBucket()}else this.calculateTimeWindow(),u=this.cubicSuccess(this.getCurrentTimeInSeconds());let T=Math.min(u,2*this.measuredTxRate);this.updateTokenBucketRate(T)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket(_){if(!this.enabled)return;this.refillTokenBucket();while(_>this.availableTokens){let u=(_-this.availableTokens)/this.fillRate*1000;await new Promise((E)=>C.setTimeoutFn(E,u)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-_}refillTokenBucket(){let _=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=_;return}let u=(_-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+u),this.lastTimestamp=_}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(_){return this.getPrecise(_*this.beta)}cubicSuccess(_){return this.getPrecise(this.scaleConstant*Math.pow(_-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(_){this.refillTokenBucket(),this.fillRate=Math.max(_,this.minFillRate),this.maxCapacity=Math.max(_,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let _=this.getCurrentTimeInSeconds(),u=Math.floor(_*2)/2;if(this.requestCount++,u>this.lastTxRateBucket){let E=this.requestCount/(u-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(E*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=u}}getPrecise(_){return parseFloat(_.toFixed(8))}}class M{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return M.v2026?50:100}static throttlingDelay(){return M.v2026?1000:500}static cost(){return M.v2026?14:5}static throttlingCost(){return M.v2026?5:10}static modifiedCostType(){return M.v2026?"THROTTLING":"TRANSIENT"}}class T_{x=M.delay();computeNextBackoffDelay(_){let u=Math.random(),E=2,O=u*Math.min(this.x*2**_,Q);return Math.floor(O)}setDelayBase(_){this.x=_}}class h{delay;count;cost;longPoll;constructor(_,u,E,O){this.delay=_,this.count=u,this.cost=E,this.longPoll=O}getRetryCount(){return this.count}getRetryDelay(){return Math.min(Q,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}k_.RETRY_MODES=void 0;(function(_){_.STANDARD="standard",_.ADAPTIVE="adaptive"})(k_.RETRY_MODES||(k_.RETRY_MODES={}));var $=3,Y_=k_.RETRY_MODES.STANDARD,d={incompatible:1,attempts:2,capacity:3},G=class{mode=k_.RETRY_MODES.STANDARD;capacity=Z;retryBackoffStrategy;maxAttemptsProvider;baseDelay;constructor(u){if(typeof u==="number")this.maxAttemptsProvider=async()=>u;else if(typeof u==="function")this.maxAttemptsProvider=u;else if(u&&typeof u==="object")this.maxAttemptsProvider=async()=>u.maxAttempts,this.baseDelay=u.baseDelay,this.retryBackoffStrategy=u.backoff;this.maxAttemptsProvider??=async()=>$,this.baseDelay??=M.delay(),this.retryBackoffStrategy??=new T_}async acquireInitialRetryToken(u){return new h(M.delay(),0,void 0,M.v2026&&u.includes(":longpoll"))}async refreshRetryTokenForRetry(u,E){let O=await this.getMaxAttempts(),T=this.retryCode(u,E,O),b=T===0,L=u.isLongPoll?.();if(b||L){let N=E.errorType;this.retryBackoffStrategy.setDelayBase(N==="THROTTLING"?M.throttlingDelay():this.baseDelay);let j=this.retryBackoffStrategy.computeNextBackoffDelay(u.getRetryCount()),Y=j;if(E.retryAfterHint instanceof Date)Y=Math.max(j,Math.min(E.retryAfterHint.getTime()-Date.now(),j+5000));if(!b)throw Object.assign(Error("No retry token available"),{$backoff:M.v2026&&T===d.capacity&&L?Y:0});else{let F=this.getCapacityCost(N);return this.capacity-=F,new h(Y,u.getRetryCount()+1,F,u.isLongPoll?.()??!1)}}throw Error("No retry token available")}recordSuccess(u){this.capacity=Math.min(Z,this.capacity+(u.getRetryCost()??g))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(u){return console.warn(`Max attempts provider could not resolve. Using default of ${$}`),$}}retryCode(u,E,O){let T=u.getRetryCount()+1,b=this.isRetryableError(E.errorType)?0:d.incompatible,L=T<O?0:d.attempts,N=this.capacity>=this.getCapacityCost(E.errorType)?0:d.capacity;return b||L||N}getCapacityCost(u){return u===M.modifiedCostType()?M.throttlingCost():M.cost()}isRetryableError(u){return u==="THROTTLING"||u==="TRANSIENT"}},j_=class{mode=k_.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(u,E){let{rateLimiter:O}=E??{};this.rateLimiter=O??new C,this.standardRetryStrategy=E?new G({maxAttempts:typeof u==="number"?u:3,...E}):new G(u)}async acquireInitialRetryToken(u){let E=await this.standardRetryStrategy.acquireInitialRetryToken(u);return await this.rateLimiter.getSendToken(),E}async refreshRetryTokenForRetry(u,E){this.rateLimiter.updateClientSendingRate(E);let O=await this.standardRetryStrategy.refreshRetryTokenForRetry(u,E);return await this.rateLimiter.getSendToken(),O}recordSuccess(u){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(u)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};class P_ extends G{computeNextBackoffDelay;constructor(_,u=M.delay()){super(typeof _==="function"?_:async()=>_);if(typeof u==="number")this.computeNextBackoffDelay=()=>u;else this.computeNextBackoffDelay=u}async refreshRetryTokenForRetry(_,u){let E=await super.refreshRetryTokenForRetry(_,u);return E.getRetryDelay=()=>this.computeNextBackoffDelay(E.getRetryCount()),E}}var v_=(_,u)=>{let E=_,O=g,T=r,b=__,L=_,N=(I)=>I.name==="TimeoutError"?b:T,j=(I)=>N(I)<=L;return Object.freeze({hasRetryTokens:j,retrieveRetryTokens:(I)=>{if(!j(I))throw Error("No retry token available");let R=N(I);return L-=R,R},releaseRetryTokens:(I)=>{L+=I??O,L=Math.min(L,E)}})},L_=(_,u)=>Math.floor(Math.min(Q,Math.random()*2**u*_)),N_=(_)=>{if(!_)return!1;return A(_)||p(_)||J(_)||X(_)};class n{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=k_.RETRY_MODES.STANDARD;constructor(_,u){this.maxAttemptsProvider=_,this.retryDecider=u?.retryDecider??N_,this.delayDecider=u?.delayDecider??L_,this.retryQuota=u?.retryQuota??v_(Z)}shouldRetry(_,u,E){return u<E&&this.retryDecider(_)&&this.retryQuota.hasRetryTokens(_)}async getMaxAttempts(){let _;try{_=await this.maxAttemptsProvider()}catch(u){_=$}return _}async retry(_,u,E){let O,T=0,b=0,L=await this.getMaxAttempts(),{request:N}=u;if(K.HttpRequest.isInstance(N))N.headers[c]=q.v4();while(!0)try{if(K.HttpRequest.isInstance(N))N.headers[w]=`attempt=${T+1}; max=${L}`;if(E?.beforeRequest)await E.beforeRequest();let{response:j,output:Y}=await _(u);if(E?.afterRequest)E.afterRequest(j);return this.retryQuota.releaseRetryTokens(O),Y.$metadata.attempts=T+1,Y.$metadata.totalRetryDelay=b,{response:j,output:Y}}catch(j){let Y=E_(j);if(T++,this.shouldRetry(Y,T,L)){O=this.retryQuota.retrieveRetryTokens(Y);let F=this.delayDecider(J(Y)?t:e,T),I=h_(Y.$response),R=Math.max(I||0,F);b+=R,await new Promise((V)=>setTimeout(V,R));continue}if(!Y.$metadata)Y.$metadata={};throw Y.$metadata.attempts=T,Y.$metadata.totalRetryDelay=b,Y}}}var h_=(_)=>{if(!K.HttpResponse.isInstance(_))return;let u=Object.keys(_.headers).find((b)=>b.toLowerCase()==="retry-after");if(!u)return;let E=_.headers[u],O=Number(E);if(!Number.isNaN(O))return O*1000;return new Date(E).getTime()-Date.now()};class M_ extends n{rateLimiter;constructor(_,u){let{rateLimiter:E,...O}=u??{};super(_,O);this.rateLimiter=E??new C,this.mode=k_.RETRY_MODES.ADAPTIVE}async retry(_,u){return super.retry(_,u,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(E)=>{this.rateLimiter.updateClientSendingRate(E)}})}}var S="AWS_MAX_ATTEMPTS",i="max_attempts",S_={environmentVariableSelector:(_)=>{let u=_[S];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Environment variable ${S} mast be a number, got "${u}"`);return E},configFileSelector:(_)=>{let u=_[i];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Shared config file entry ${i} mast be a number, got "${u}"`);return E},default:$},i_=(_)=>{let{retryStrategy:u,retryMode:E}=_,O=v.normalizeProvider(_.maxAttempts??$),T=u?Promise.resolve(u):void 0,b=async()=>await v.normalizeProvider(E)()===k_.RETRY_MODES.ADAPTIVE?new j_(O):new G(O);return Object.assign(_,{maxAttempts:O,retryStrategy:()=>T??=b()})},U_="AWS_RETRY_MODE",I_="retry_mode",q_={environmentVariableSelector:(_)=>_[U_],configFileSelector:(_)=>_[I_],default:Y_},F_=()=>(_)=>async(u)=>{let{request:E}=u;if(K.HttpRequest.isInstance(E))delete E.headers[c],delete E.headers[w];return _(u)},R_={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},A_=(_)=>({applyToStack:(u)=>{u.addRelativeTo(F_(),R_)}}),g_=O_(m),n_=B_(m);k_.AdaptiveRetryStrategy=j_;k_.CONFIG_MAX_ATTEMPTS=i;k_.CONFIG_RETRY_MODE=I_;k_.ConfiguredRetryStrategy=P_;k_.DEFAULT_MAX_ATTEMPTS=$;k_.DEFAULT_RETRY_DELAY_BASE=e;k_.DEFAULT_RETRY_MODE=Y_;k_.DefaultRateLimiter=C;k_.DeprecatedAdaptiveRetryStrategy=M_;k_.DeprecatedStandardRetryStrategy=n;k_.ENV_MAX_ATTEMPTS=S;k_.ENV_RETRY_MODE=U_;k_.INITIAL_RETRY_TOKENS=Z;k_.INVOCATION_ID_HEADER=c;k_.MAXIMUM_RETRY_DELAY=Q;k_.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=S_;k_.NODE_RETRY_MODE_CONFIG_OPTIONS=q_;k_.NO_RETRY_INCREMENT=g;k_.REQUEST_HEADER=w;k_.RETRY_COST=r;k_.Retry=M;k_.StandardRetryStrategy=G;k_.THROTTLING_RETRY_DELAY_BASE=t;k_.TIMEOUT_RETRY_COST=__;k_.defaultDelayDecider=L_;k_.defaultRetryDecider=N_;k_.getOmitRetryHeadersPlugin=A_;k_.getRetryAfterHint=H_;k_.getRetryPlugin=n_;k_.isBrowserNetworkError=s;k_.isClockSkewCorrectedError=y;k_.isClockSkewError=p;k_.isNodeJsHttp2TransientError=o;k_.isRetryableByTrait=A;k_.isServerError=a;k_.isThrottlingError=J;k_.isTransientError=X;k_.omitRetryHeadersMiddleware=F_;k_.omitRetryHeadersMiddlewareOptions=R_;k_.resolveRetryConfig=i_;k_.retryMiddleware=g_;k_.retryMiddlewareOptions=b_});var D_=H((P)=>{Object.defineProperty(P,"__esModule",{value:!0});P.TIMEOUT_RETRY_COST=P.THROTTLING_RETRY_DELAY_BASE=P.Retry=P.RETRY_MODES=P.RETRY_COST=P.NO_RETRY_INCREMENT=P.REQUEST_HEADER=P.MAXIMUM_RETRY_DELAY=P.INVOCATION_ID_HEADER=P.INITIAL_RETRY_TOKENS=P.DEFAULT_RETRY_MODE=P.DEFAULT_RETRY_DELAY_BASE=P.DEFAULT_MAX_ATTEMPTS=P.StandardRetryStrategy=P.DefaultRateLimiter=P.ConfiguredRetryStrategy=P.AdaptiveRetryStrategy=void 0;var U=W_();Object.defineProperty(P,"AdaptiveRetryStrategy",{enumerable:!0,get:function(){return U.AdaptiveRetryStrategy}});Object.defineProperty(P,"ConfiguredRetryStrategy",{enumerable:!0,get:function(){return U.ConfiguredRetryStrategy}});Object.defineProperty(P,"DefaultRateLimiter",{enumerable:!0,get:function(){return U.DefaultRateLimiter}});Object.defineProperty(P,"StandardRetryStrategy",{enumerable:!0,get:function(){return U.StandardRetryStrategy}});Object.defineProperty(P,"DEFAULT_MAX_ATTEMPTS",{enumerable:!0,get:function(){return U.DEFAULT_MAX_ATTEMPTS}});Object.defineProperty(P,"DEFAULT_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_DELAY_BASE}});Object.defineProperty(P,"DEFAULT_RETRY_MODE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_MODE}});Object.defineProperty(P,"INITIAL_RETRY_TOKENS",{enumerable:!0,get:function(){return U.INITIAL_RETRY_TOKENS}});Object.defineProperty(P,"INVOCATION_ID_HEADER",{enumerable:!0,get:function(){return U.INVOCATION_ID_HEADER}});Object.defineProperty(P,"MAXIMUM_RETRY_DELAY",{enumerable:!0,get:function(){return U.MAXIMUM_RETRY_DELAY}});Object.defineProperty(P,"REQUEST_HEADER",{enumerable:!0,get:function(){return U.REQUEST_HEADER}});Object.defineProperty(P,"NO_RETRY_INCREMENT",{enumerable:!0,get:function(){return U.NO_RETRY_INCREMENT}});Object.defineProperty(P,"RETRY_COST",{enumerable:!0,get:function(){return U.RETRY_COST}});Object.defineProperty(P,"RETRY_MODES",{enumerable:!0,get:function(){return U.RETRY_MODES}});Object.defineProperty(P,"Retry",{enumerable:!0,get:function(){return U.Retry}});Object.defineProperty(P,"THROTTLING_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.THROTTLING_RETRY_DELAY_BASE}});Object.defineProperty(P,"TIMEOUT_RETRY_COST",{enumerable:!0,get:function(){return U.TIMEOUT_RETRY_COST}})});var yu=H((gu)=>{var wu=D_(),B={warningEmitted:!1},Bu=(_)=>{if(_&&!B.warningEmitted){if(process.env.AWS_SDK_JS_NODE_VERSION_SUPPORT_WARNING_DISABLED==="true"){B.warningEmitted=!0;return}let u=parseInt(_.substring(1,_.indexOf("."))),E=22;if(u<E)B.warningEmitted=!0,process.emitWarning(`NodeVersionSupportWarning: The AWS SDK for JavaScript (v3)
|
|
2
|
+
versions published after the first week of January 2027
|
|
3
|
+
will require node >=${E}. You are running node ${_}.
|
|
4
|
+
|
|
5
|
+
To continue receiving updates to AWS services, bug fixes,
|
|
6
|
+
and security updates please upgrade to node >=${E}.
|
|
7
|
+
|
|
8
|
+
More information can be found at: https://a.co/c895JFp`)}},vu=()=>(_,u)=>async(E)=>{return u.__retryLongPoll=!0,_(E)},hu={name:"longPollMiddleware",tags:["RETRY"],step:"initialize",override:!0},Su=(_)=>({applyToStack:(u)=>{u.add(vu(),hu)}});function iu(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}wu.Retry.v2026||=typeof process==="object"&&process.env?.AWS_NEW_RETRIES_2026==="true";function qu(_,u,E){if(!_.__aws_sdk_context)_.__aws_sdk_context={features:{}};else if(!_.__aws_sdk_context.features)_.__aws_sdk_context.features={};_.__aws_sdk_context.features[u]=E}function Au(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}gu.emitWarningIfUnsupportedVersion=Bu;gu.getLongPollPlugin=Su;gu.setCredentialFeature=iu;gu.setFeature=qu;gu.setTokenFeature=Au;gu.state=B});var ou=H((D)=>{Object.defineProperty(D,"__esModule",{value:!0});D.memoize=D.fromStatic=D.chain=D.TokenProviderError=D.CredentialsProviderError=D.ProviderError=void 0;var f=su();Object.defineProperty(D,"ProviderError",{enumerable:!0,get:function(){return f.ProviderError}});Object.defineProperty(D,"CredentialsProviderError",{enumerable:!0,get:function(){return f.CredentialsProviderError}});Object.defineProperty(D,"TokenProviderError",{enumerable:!0,get:function(){return f.TokenProviderError}});Object.defineProperty(D,"chain",{enumerable:!0,get:function(){return f.chain}});Object.defineProperty(D,"fromStatic",{enumerable:!0,get:function(){return f.fromValue}});Object.defineProperty(D,"memoize",{enumerable:!0,get:function(){return f.memoize}})});
|
|
9
|
+
export{W_ as a$,D_ as b$,yu as c$,ou as d$};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{mj as J,oj as K,pj as M}from"./cli-1.1.29-enk5zgkk.mjs";import{FZ as P,J1 as X}from"./cli-1.1.29-7pfvq0z6.mjs";import{e5 as q}from"./cli-1.1.29-nxvs12dw.mjs";import{f5 as N}from"./cli-1.1.29-aptcshv0.mjs";import{Cga as Z,hga as H}from"./cli-1.1.29-a6pnwve8.mjs";import{Fia as Y}from"./cli-1.1.29-5p2zzfpq.mjs";import{Hka as V}from"./cli-1.1.29-gycpj0z6.mjs";import{Sta as z,Wta as Q}from"./cli-1.1.29-4xqgqvwm.mjs";function B(){let k=J();if(!k||!k.available||k.granted)return!1;return K(k)!==null}function E(){if(!B())return!1;let k=H();if(k.hasVisitedExtraUsage)return!1;if((k.overageCreditUpsellSeenCount??0)>=A)return!1;return!0}var R,y,A=3;var D=Q(()=>{X();V();M();Z();Y();q();R=z(P(),1),y=z(N(),1)});
|
|
2
|
+
export{E as Lh,D as Mh};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import{l_ as D}from"./cli-1.1.29-29svre2k.mjs";import{Hla as W,Kla as a,tla as L,xla as JG}from"./cli-1.1.29-rfz718th.mjs";import{Ama as GG,rma as c,sma as jG}from"./cli-1.1.29-79tgwbnn.mjs";import{Csa as q,Dsa as g}from"./cli-1.1.29-4pdnzc5j.mjs";import{gta as H,yta as RG}from"./cli-1.1.29-2e5s8gsb.mjs";import{Fta as XG}from"./cli-1.1.29-9n8sz71q.mjs";import{Sta as WG,Wta as j,Xta as e}from"./cli-1.1.29-4xqgqvwm.mjs";function yG(){U.cache.clear?.(),W("Cleared CA certificates cache")}var U;var i=j(()=>{g();a();GG();JG();U=q(()=>{let G=c("--use-system-ca")||c("--use-openssl-ca"),J=process.env.NODE_EXTRA_CA_CERTS;if(W(`CA certs: useSystemCA=${G}, extraCertsPath=${J}`),!G&&!J)return;let Q=e("tls"),K=[];if(G){let Y=Q.getCACertificates,Z=Y?.("system");if(Z&&Z.length>0)K.push(...Z),W(`CA certs: Loaded ${K.length} system CA certificates (--use-system-ca)`);else if(!Y&&!J){W("CA certs: --use-system-ca set but system CA API unavailable, deferring to runtime");return}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base (--use-system-ca fallback)`)}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base`);if(J)try{let Y=L().readFileSync(J,{encoding:"utf8"});K.push(Y),W(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${J})`)}catch(Y){W(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${J}): ${Y}`,{level:"error"})}return K.length>0?K:void 0})});import{Agent as IG}from"https";function gG(){let G=N(),J=U();if(!G&&!J)return;return{...G,...J&&{ca:J}}}function P(){let G=N(),J=U();if(!G&&!J)return{};let Q={...G,...J&&{ca:J}};if(typeof Bun<"u")return{tls:Q};return W("TLS: Created undici agent with custom certificates"),{dispatcher:new(D()).Agent({connect:{cert:Q.cert,key:Q.key,passphrase:Q.passphrase,...Q.ca&&{ca:Q.ca}},pipelining:1})}}function aG(){N.cache.clear?.(),C.cache.clear?.(),W("Cleared mTLS configuration cache")}function iG(){if(!N())return;if(process.env.NODE_EXTRA_CA_CERTS)W("NODE_EXTRA_CA_CERTS detected - Node.js will automatically append to built-in CAs")}var N,C;var KG=j(()=>{g();i();a();JG();N=q(()=>{let G={};if(process.env.CLAUDIN_CLIENT_CERT)try{G.cert=L().readFileSync(process.env.CLAUDIN_CLIENT_CERT,{encoding:"utf8"}),W("mTLS: Loaded client certificate from CLAUDIN_CLIENT_CERT")}catch(J){W(`mTLS: Failed to load client certificate: ${J}`,{level:"error"})}if(process.env.CLAUDIN_CLIENT_KEY)try{G.key=L().readFileSync(process.env.CLAUDIN_CLIENT_KEY,{encoding:"utf8"}),W("mTLS: Loaded client key from CLAUDIN_CLIENT_KEY")}catch(J){W(`mTLS: Failed to load client key: ${J}`,{level:"error"})}if(process.env.CLAUDIN_CLIENT_KEY_PASSPHRASE)G.passphrase=process.env.CLAUDIN_CLIENT_KEY_PASSPHRASE,W("mTLS: Using client key passphrase");if(Object.keys(G).length===0)return;return G}),C=q(()=>{let G=N(),J=U();if(!G&&!J)return;let Q={...G,...J&&{ca:J},keepAlive:!0};return W("mTLS: Creating HTTPS agent with custom certificates"),new IG(Q)})});var QG=()=>{};import*as YG from"net";import*as ZG from"http";import{Agent as SG}from"https";var B,p;var $G=j(()=>{QG();B=Symbol("AgentBaseInternalState");p=class p extends ZG.Agent{constructor(G){super(G);this[B]={}}isSecureEndpoint(G){if(G){if(typeof G.secureEndpoint==="boolean")return G.secureEndpoint;if(typeof G.protocol==="string")return G.protocol==="https:"}let{stack:J}=Error();if(typeof J!=="string")return!1;return J.split(`
|
|
2
|
+
`).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}incrementSockets(G){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[G])this.sockets[G]=[];let J=new YG.Socket({writable:!1});return this.sockets[G].push(J),this.totalSocketCount++,J}decrementSockets(G,J){if(!this.sockets[G]||J===null)return;let Q=this.sockets[G],K=Q.indexOf(J);if(K!==-1){if(Q.splice(K,1),this.totalSocketCount--,Q.length===0)delete this.sockets[G]}}getName(G){if(this.isSecureEndpoint(G))return SG.prototype.getName.call(this,G);return super.getName(G)}createSocket(G,J,Q){let K={...J,secureEndpoint:this.isSecureEndpoint(J)},Y=this.getName(K),Z=this.incrementSockets(Y);Promise.resolve().then(()=>this.connect(G,K)).then((X)=>{if(this.decrementSockets(Y,Z),typeof X.addRequest==="function")try{return X.addRequest(G,K)}catch($){return Q($)}this[B].currentSocket=X,super.createSocket(G,J,Q)},(X)=>{this.decrementSockets(Y,Z),Q(X)})}createConnection(){let G=this[B].currentSocket;if(this[B].currentSocket=void 0,!G)throw Error("No socket was returned in the `connect()` function");return G}get defaultPort(){return this[B].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(G){if(this[B])this[B].defaultPort=G}get protocol(){return this[B].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(G){if(this[B])this[B].protocol=G}}});function n(G){return new Promise((J,Q)=>{let K=0,Y=[];function Z(){let w=G.read();if(w)_(w);else G.once("readable",Z)}function X(){G.removeListener("end",$),G.removeListener("error",V),G.removeListener("readable",Z)}function $(){X(),v("onend"),Q(Error("Proxy connection ended before receiving CONNECT response"))}function V(w){X(),v("onerror %o",w),Q(w)}function _(w){Y.push(w),K+=w.length;let z=Buffer.concat(Y,K),O=z.indexOf(`\r
|
|
3
|
+
\r
|
|
4
|
+
`);if(O===-1){v("have not received end of HTTP headers yet..."),Z();return}let b=z.slice(0,O).toString("ascii").split(`\r
|
|
5
|
+
`),f=b.shift();if(!f)return G.destroy(),Q(Error("No header received from proxy CONNECT response"));let t=f.split(" "),FG=+t[1],EG=t.slice(2).join(" "),I={};for(let S of b){if(!S)continue;let u=S.indexOf(":");if(u===-1)return G.destroy(),Q(Error(`Invalid header from proxy CONNECT response: "${S}"`));let d=S.slice(0,u).toLowerCase(),l=S.slice(u+1).trimStart(),A=I[d];if(typeof A==="string")I[d]=[A,l];else if(Array.isArray(A))A.push(l);else I[d]=l}v("got proxy server response: %o %o",f,I),X(),J({connect:{statusCode:FG,statusText:EG,headers:I},buffered:z})}G.on("error",V),G.on("end",$),Z()})}var wG,v;var zG=j(()=>{wG=WG(XG(),1),v=wG.default("https-proxy-agent:parse-proxy-response")});function VG(){return async({response:G,scheme:J})=>{if(J.toLowerCase()!=="negotiate")throw Error(`Expected Negotiate scheme but got "${J}"`);let Q;try{Q=await import("kerberos")}catch{throw Error('The "kerberos" package is required for Negotiate proxy authentication. Install it with: npm install kerberos')}let K=G.headers["proxy-authenticate"]||"",Y=Array.isArray(K)?K[0]:K,Z=typeof Y==="string"&&Y.includes(" ")?Y.split(" ").slice(1).join(" "):void 0,$=await(await Q.initializeClient("HTTP@proxy",{mechOID:Q.GSS_MECH_OID_SPNEGO})).step(Z||"");if(!$)throw Error("Kerberos client.step() returned no token");return{headers:{"Proxy-Authorization":`Negotiate ${$}`}}}}var BG=()=>{};import*as M from"net";import*as R from"tls";import LG from"assert";import{URL as DG}from"url";function MG(G){setImmediate(()=>{G.resume()})}function s(G,...J){let Q={},K;for(K in G)if(!J.includes(K))Q[K]=G[K];return Q}var HG,F,k=(G)=>{if(G.servername===void 0&&G.host&&!M.isIP(G.host))return{...G,servername:G.host};return G},m;var _G=j(()=>{$G();zG();BG();HG=WG(XG(),1),F=HG.default("https-proxy-agent");m=class m extends p{constructor(G,J){super(J);if(this.options={path:void 0},this.proxy=typeof G==="string"?new DG(G):G,this.proxyHeaders=J?.headers??{},F("Creating new HttpsProxyAgent instance: %o",this.proxy.href),J?.negotiate)this.onProxyAuth=VG();else if(J?.onProxyAuth)this.onProxyAuth=J.onProxyAuth;let Q=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),K=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...J?s(J,"headers","onProxyAuth","negotiate"):null,host:Q,port:K}}async connect(G,J){let{proxy:Q}=this;if(!J.host)throw TypeError('No "host" provided');let K;if(Q.protocol==="https:")F("Creating `tls.Socket`: %o",this.connectOpts),K=R.connect(k(this.connectOpts));else F("Creating `net.Socket`: %o",this.connectOpts),K=M.connect(this.connectOpts);let Y=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},Z=M.isIPv6(J.host)?`[${J.host}]`:J.host,X=`CONNECT ${Z}:${J.port} HTTP/1.1\r
|
|
6
|
+
`;if(Q.username||Q.password){let z=`${decodeURIComponent(Q.username)}:${decodeURIComponent(Q.password)}`;Y["Proxy-Authorization"]=`Basic ${Buffer.from(z).toString("base64")}`}if(Y.Host=`${Z}:${J.port}`,!Y["Proxy-Connection"])Y["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let z of Object.keys(Y))X+=`${z}: ${Y[z]}\r
|
|
7
|
+
`;let $=n(K);K.write(`${X}\r
|
|
8
|
+
`);let{connect:V,buffered:_}=await $;if(G.emit("proxyConnect",V),this.emit("proxyConnect",V,G),G.emit("proxy",{proxy:this.proxy.href,socket:K}),V.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return F("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:K});return K}if(V.statusCode===407&&this.onProxyAuth){F("Got 407 response, invoking onProxyAuth callback"),K.destroy();let z=V.headers["proxy-authenticate"]||"",O=Array.isArray(z)?z[0].split(/\s/)[0]:z.split(/\s/)[0],b=await this.onProxyAuth({response:V,scheme:O});return this._connectWithAuth(G,J,b.headers)}K.destroy();let w=new M.Socket({writable:!1});return w.readable=!0,G.once("socket",(z)=>{F("Replaying proxy buffer for failed request"),LG(z.listenerCount("data")>0),z.push(_),z.push(null)}),w}async _connectWithAuth(G,J,Q){let{proxy:K}=this,Y;if(K.protocol==="https:")Y=R.connect(k(this.connectOpts));else Y=M.connect(this.connectOpts);let Z=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},X=M.isIPv6(J.host)?`[${J.host}]`:J.host,$=`CONNECT ${X}:${J.port} HTTP/1.1\r
|
|
9
|
+
`;if(K.username||K.password){let w=`${decodeURIComponent(K.username)}:${decodeURIComponent(K.password)}`;Z["Proxy-Authorization"]=`Basic ${Buffer.from(w).toString("base64")}`}if(Object.assign(Z,Q),Z.Host=`${X}:${J.port}`,!Z["Proxy-Connection"])Z["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let w of Object.keys(Z))$+=`${w}: ${Z[w]}\r
|
|
10
|
+
`;let V=n(Y);Y.write(`${$}\r
|
|
11
|
+
`);let{connect:_}=await V;if(G.emit("proxyConnect",_),this.emit("proxyConnect",_,G),_.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return F("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:Y});return Y}throw Y.destroy(),Error(`Proxy authentication failed with status ${_.statusCode} after retry`)}};m.protocols=["http","https"]});function MJ(G){r.set(G,!0),qG(G)}function qG(G){TG.cache.delete?.(G)}function HJ(G){UG.set(G,!0),qG(G)}function OG(G){return UG.get(G)===!0}function bG(G){switch(G.family){case 0:case 4:case 6:return G.family;case"IPv6":return 6;case"IPv4":case void 0:return 4;default:throw Error(`Unsupported address family: ${G.family}`)}}function E(G=process.env){return G.https_proxy||G.HTTPS_PROXY||G.http_proxy||G.HTTP_PROXY}function AG(G=process.env){return G.no_proxy||G.NO_PROXY}function y(G,J=AG()){if(!J)return!1;if(J==="*")return!0;try{let Q=new URL(G),K=Q.hostname.toLowerCase(),Y=Q.port||(Q.protocol==="https:"||Q.protocol==="wss:"?"443":"80"),Z=`${K}:${Y}`;return J.split(/[,\s]+/).filter(Boolean).some(($)=>{if($=$.toLowerCase().trim(),$.includes(":"))return Z===$;if($.startsWith(".")){let V=$;return K===$.substring(1)||K.endsWith(V)}return K===$||K.endsWith("."+$)})}catch{return!1}}function h(G,J={}){let Q=N(),K=U(),Y={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};if(jG(process.env.CLAUDIN_PROXY_RESOLVES_HOSTS))Y.lookup=(Z,X,$)=>{$(null,Z,bG(X))};return new m(G,{...Y,...J})}function _J(G={}){let J=E(),Q=C(),K=H.create({proxy:!1});if(!J){if(Q)K.defaults.httpsAgent=Q;return K}let Y=h(J,G);return K.interceptors.request.use((Z)=>{if(Z.url&&y(Z.url))Z.httpsAgent=Q,Z.httpAgent=Q;else Z.httpsAgent=Y,Z.httpAgent=Y;return Z}),K}function jJ(G){let J=E();if(!J)return;if(y(G))return;return h(J)}function qJ(G){let J=E();if(!J)return;if(y(G))return;return J}function UJ(G){let J=G?.provider&&r.get(G.provider)?{keepalive:!1}:{};if(G?.forAnthropicAPI){let Y=process.env.ANTHROPIC_UNIX_SOCKET;if(Y&&typeof Bun<"u")return{...J,unix:Y}}let Q=E();if(Q){if(typeof Bun<"u")return{...J,proxy:Q,...P()};return{...J,dispatcher:o(Q)}}let K=P();if(G?.provider&&!K.dispatcher)return{...J,...K,dispatcher:TG(G.provider)};return{...J,...K}}function NJ(){let G=E(),J=C();if(x!==void 0)H.interceptors.request.eject(x),x=void 0;if(H.defaults.proxy=void 0,H.defaults.httpAgent=void 0,H.defaults.httpsAgent=void 0,G){H.defaults.proxy=!1;let Q=h(G);x=H.interceptors.request.use((K)=>{if(K.url&&y(K.url))if(J)K.httpsAgent=J,K.httpAgent=J;else delete K.httpsAgent,delete K.httpAgent;else K.httpsAgent=Q,K.httpAgent=Q;return K}),D().setGlobalDispatcher(o(G))}else if(J){H.defaults.httpsAgent=J;let Q=P();if(Q.dispatcher)D().setGlobalDispatcher(Q.dispatcher)}}async function TJ(){let G=E();if(!G)return{};let[{NodeHttpHandler:J},{defaultProvider:Q}]=await Promise.all([import("./index-1.1.29-4ye92se8.mjs"),import("./index-1.1.29-101dgedk.mjs")]),K=h(G),Y=new J({httpAgent:K,httpsAgent:K});return{requestHandler:Y,credentials:Q({clientConfig:{requestHandler:Y}})}}function FJ(){o.cache.clear?.(),W("Cleared proxy agent cache")}var r,UG,o,T,NG,CG,TG,x;var PG=j(()=>{RG();_G();g();i();a();GG();KG();r=new Map;UG=new Map;o=q((G)=>{let J=D(),Q=N(),K=U(),Y={httpProxy:G,httpsProxy:G,noProxy:process.env.NO_PROXY||process.env.no_proxy};if(Q||K){let Z={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};Y.connect=Z,Y.requestTls=Z}return new J.EnvHttpProxyAgent(Y)}),T={connections:12,keepAliveTimeout:30000,pipelining:1},NG={firstParty:{...T,allowH2:!0},openai:{...T,allowH2:!0},gemini:{...T,allowH2:!0},mistral:{...T,allowH2:!0},github:{...T,allowH2:!0},codex:{...T,allowH2:!0},"nvidia-nim":{...T,allowH2:!0},minimax:{...T,allowH2:!0}},CG=NG.openai,TG=q((G)=>{let J=D(),Q=NG[G]??CG,K={...Q,allowH2:Q.allowH2&&!OG(G),keepAliveTimeout:r.get(G)?100:Q.keepAliveTimeout};return new J.Agent(K)})});
|
|
12
|
+
export{yG as Q9,i as R9,N as S9,gG as T9,aG as U9,iG as V9,KG as W9,MJ as X9,HJ as Y9,OG as Z9,E as _9,y as $9,_J as a_,jJ as b_,qJ as c_,UJ as d_,NJ as e_,TJ as f_,FJ as g_,PG as h_};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{IF as F,JF as S,MF as C,SF as a,cp as y,gp as r}from"./cli-1.1.29-am1n3767.mjs";import{tZ as D,uZ as o,vZ as z,wZ as b}from"./cli-1.1.29-7pfvq0z6.mjs";import{iaa as R,jaa as l,laa as T,maa as u}from"./cli-1.1.29-a6pnwve8.mjs";import{Hla as N,Kla as g,nla as O,pla as c,tla as L,xla as d}from"./cli-1.1.29-rfz718th.mjs";import{Csa as _,Dsa as I}from"./cli-1.1.29-4pdnzc5j.mjs";import{Wta as j}from"./cli-1.1.29-4xqgqvwm.mjs";import{spawn as G,spawnSync as w}from"child_process";import{basename as k}from"path";function P(q){return!!T(q)}function V(q){let H=k(q.split(" ")[0]??"");return h.find((B)=>H.includes(B))}function p(q,H,B){if(!B)return[H];if(m.has(q))return["-g",`${H}:${B}`];if(q==="subl")return[`${H}:${B}`];return[H]}function Qq(q,H){let B=v();if(!B)return!1;let J=B.split(" "),X=J[0]??B,K=J.slice(1),Q=V(B);if(Q){let W=p(Q,q,H),Z={detached:!0,stdio:"ignore"},M;if(process.platform==="win32"){let U=W.map((E)=>`"${E}"`).join(" ");M=G(`${B} ${U}`,{...Z,shell:!0})}else M=G(X,[...K,...W],Z);return M.on("error",(U)=>N(`editor spawn failed: ${U}`,{level:"error"})),M.unref(),!0}let $=z.get(process.stdout);if(!$)return!1;let Y=H&&f.test(k(X));$.enterAlternateScreen();try{let W={stdio:"inherit"},Z;if(process.platform==="win32"){let M=Y?`+${H} `:"";Z=w(`${B} ${M}"${q}"`,{...W,shell:!0})}else{let M=[...K,...Y?[`+${H}`,q]:[q]];Z=w(X,M,W)}if(Z.error)return N(`editor spawn failed: ${Z.error}`,{level:"error"}),!1;return!0}finally{$.exitAlternateScreen()}}var h,f,m,v;var x=j(()=>{I();b();g();u();h=["code","cursor","windsurf","codium","subl","atom","gedit","notepad++","notepad"],f=/\b(vi|vim|nvim|nano|emacs|pico|micro|helix|hx)\b/,m=new Set(["code","cursor","windsurf","codium"]);v=_(()=>{if(process.env.VISUAL?.trim())return process.env.VISUAL.trim();if(process.env.EDITOR?.trim())return process.env.EDITOR.trim();if(process.platform==="win32")return"start /wait notepad";return["code","vi","nano"].find((H)=>P(H))})});function s(q){return V(q)!==void 0}function i(q){let H=L(),B=z.get(process.stdout);if(!B)throw Error("Ink instance not found - cannot pause rendering");let J=v();if(!J)return{content:null};try{H.statSync(q)}catch{return{content:null}}let X=!s(J);if(X)B.enterAlternateScreen();else B.pause(),B.suspendStdin();try{let K=Object.hasOwn(A,J)?A[J]:J;return R(`${K} "${q}"`,{stdio:"inherit"}),{content:H.readFileSync(q,{encoding:"utf-8"})}}catch(K){if(typeof K==="object"&&K!==null&&"status"in K&&typeof K.status==="number"){let Q=K.status;if(Q!==0)return{content:null,error:`${y(J)} exited with code ${Q}`}}return{content:null}}finally{if(X)B.exitAlternateScreen();else B.resumeStdin(),B.resume()}}function n(q,H,B){let J=q;for(let[X,K]of Object.entries(B))if(K.type==="text"){let Q=parseInt(X),$=K.content,Y=J.indexOf($);if(Y!==-1){let W=F($),Z=S(Q,W);J=J.slice(0,Y)+Z+J.slice(Y+$.length)}}return J}function Vq(q,H){let B=L(),J=D();try{let X=H?C(q,H):q;O(J,X,{encoding:"utf-8",flush:!0});let K=i(J);if(K.content===null)return K;let Q=K.content;if(Q.endsWith(`
|
|
2
|
+
`)&&!Q.endsWith(`
|
|
3
|
+
|
|
4
|
+
`))Q=Q.slice(0,-1);if(H)Q=n(Q,q,H);return{content:Q}}finally{try{B.unlinkSync(J)}catch{}}}var A;var t=j(()=>{a();b();x();l();d();r();c();o();A={code:"code -w",subl:"subl --wait"}});
|
|
5
|
+
export{Qq as kg,v as lg,x as mg,i as ng,Vq as og,t as pg};
|