@claudiolabs/claudin 0.5.12 → 0.5.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AgentTool-0.5.13-6dz2gvzt.mjs +1 -0
- package/dist/chunks/App-0.5.13-h8h37pzk.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.5.13-r1fte24k.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.5.13-8r9am3rj.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.5.13-kmhmmjcg.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.5.13-2bsqjr5d.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.13-qcb3r450.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.5.13-pg65frv4.mjs +1 -0
- package/dist/chunks/DiffDialog-0.5.13-hwy08wq9.mjs +3 -0
- package/dist/chunks/Doctor-0.5.13-335trspw.mjs +1 -0
- package/dist/chunks/Grove-0.5.13-hg0k8g49.mjs +1 -0
- package/dist/chunks/ITermBackend-0.5.13-jj7kn9vx.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.5.13-9azv44xk.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.5.13-byp7h5gk.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.5.13-zxyqfrbq.mjs +1 -0
- package/dist/chunks/Onboarding-0.5.13-qa2yk18p.mjs +1 -0
- package/dist/chunks/ProviderManager-0.5.13-c1vawvvp.mjs +1 -0
- package/dist/chunks/REPL-0.5.13-4rss5cn8.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.5.13-8yg9t110.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.5.13-egpytwfz.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.5.13-mqff8prx.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.5.13-vvjjc0e0.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.5.13-hr5qx564.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.5.13-3rqrqy3v.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.5.13-pc0xw8bq.mjs +1 -0
- package/dist/chunks/TrustDialog-0.5.13-fc0205ss.mjs +1 -0
- package/dist/chunks/activeProvider-0.5.13-50732cyn.mjs +1 -0
- package/dist/chunks/add-dir-0.5.13-sq7m6erc.mjs +1 -0
- package/dist/chunks/agents-0.5.13-manb7tcq.mjs +3 -0
- package/dist/chunks/agents-0.5.13-xvmk9xvk.mjs +110 -0
- package/dist/chunks/api-0.5.13-q2anppzf.mjs +1 -0
- package/dist/chunks/asciicast-0.5.13-qdn1gh3y.mjs +1 -0
- package/dist/chunks/assistant-0.5.13-2hfvn0kh.mjs +1 -0
- package/dist/chunks/auth-0.5.13-05zhnpsy.mjs +1 -0
- package/dist/chunks/auth-0.5.13-jn53extx.mjs +1 -0
- package/dist/chunks/autoMode-0.5.13-ejwtdvs2.mjs +48 -0
- package/dist/chunks/autoUpdater-0.5.13-j6cngyr7.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.5.13-rrvzf922.mjs +1 -0
- package/dist/chunks/branch-0.5.13-qmyekghp.mjs +4 -0
- package/dist/chunks/bridgePointer-0.5.13-8r4x6rgv.mjs +1 -0
- package/dist/chunks/btw-0.5.13-0pa7vfhq.mjs +1 -0
- package/dist/chunks/buddy-0.5.13-k3ac5jxx.mjs +3 -0
- package/dist/chunks/cacache-0.5.13-ze1bqfm6.mjs +1 -0
- package/dist/chunks/cache-probe-0.5.13-yc3ra4vk.mjs +21 -0
- package/dist/chunks/cacheStats-0.5.13-e1eg5g4e.mjs +4 -0
- package/dist/chunks/caches-0.5.13-75dr0q42.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.5.13-5nptd5hj.mjs +1 -0
- package/dist/chunks/claudemd-0.5.13-ce8fx7gc.mjs +1 -0
- package/dist/chunks/clear-0.5.13-k8q15yen.mjs +1 -0
- package/dist/chunks/clearTerminal-0.5.13-veyek376.mjs +1 -0
- package/dist/chunks/cli-0.5.13-03jqbfbp.mjs +2 -0
- package/dist/chunks/cli-0.5.13-055v20cs.mjs +2 -0
- package/dist/chunks/cli-0.5.13-061m60f2.mjs +2 -0
- package/dist/chunks/cli-0.5.13-0fhxw4ng.mjs +3 -0
- package/dist/chunks/cli-0.5.13-0zgpx8rh.mjs +2 -0
- package/dist/chunks/cli-0.5.13-15kmd08p.mjs +2 -0
- package/dist/chunks/cli-0.5.13-16khcs2m.mjs +3 -0
- package/dist/chunks/cli-0.5.13-1eedz5bc.mjs +2 -0
- package/dist/chunks/cli-0.5.13-1qt91z42.mjs +2 -0
- package/dist/chunks/cli-0.5.13-29nzbrwv.mjs +45 -0
- package/dist/chunks/cli-0.5.13-2m4fm0hh.mjs +2 -0
- package/dist/chunks/cli-0.5.13-2v1zpnvh.mjs +2 -0
- package/dist/chunks/cli-0.5.13-2vy5qjm5.mjs +5276 -0
- package/dist/chunks/cli-0.5.13-36s1k9x2.mjs +2 -0
- package/dist/chunks/cli-0.5.13-3e1p9n7x.mjs +2 -0
- package/dist/chunks/cli-0.5.13-3ys2sjjd.mjs +2 -0
- package/dist/chunks/cli-0.5.13-3zrq5ggt.mjs +2 -0
- package/dist/chunks/cli-0.5.13-426cpksk.mjs +4 -0
- package/dist/chunks/cli-0.5.13-4at49cv9.mjs +2 -0
- package/dist/chunks/cli-0.5.13-4s4vnhj8.mjs +2 -0
- package/dist/chunks/cli-0.5.13-4yqsxc90.mjs +2 -0
- package/dist/chunks/cli-0.5.13-50cwkg00.mjs +2 -0
- package/dist/chunks/cli-0.5.13-5n0sdsbk.mjs +2 -0
- package/dist/chunks/cli-0.5.13-5tva2fr1.mjs +6 -0
- package/dist/chunks/cli-0.5.13-5wc80m6b.mjs +2 -0
- package/dist/chunks/cli-0.5.13-5x7qbneh.mjs +2 -0
- package/dist/chunks/cli-0.5.13-62qasgve.mjs +2 -0
- package/dist/chunks/cli-0.5.13-667jxcab.mjs +18 -0
- package/dist/chunks/cli-0.5.13-69m6gq4m.mjs +2 -0
- package/dist/chunks/cli-0.5.13-6c2mgdby.mjs +2 -0
- package/dist/chunks/cli-0.5.13-6hvwtg4n.mjs +2 -0
- package/dist/chunks/cli-0.5.13-6qz4fn68.mjs +2 -0
- package/dist/chunks/cli-0.5.13-6yehabyw.mjs +2 -0
- package/dist/chunks/cli-0.5.13-70f6zf2z.mjs +4 -0
- package/dist/chunks/cli-0.5.13-73fyz4ct.mjs +2 -0
- package/dist/chunks/cli-0.5.13-73hy7ka5.mjs +2 -0
- package/dist/chunks/cli-0.5.13-77mqds6w.mjs +2 -0
- package/dist/chunks/cli-0.5.13-7b4c61sf.mjs +2 -0
- package/dist/chunks/cli-0.5.13-7fzk2679.mjs +2 -0
- package/dist/chunks/cli-0.5.13-7gkctjmj.mjs +2 -0
- package/dist/chunks/cli-0.5.13-7je48sax.mjs +15 -0
- package/dist/chunks/cli-0.5.13-898bb5x7.mjs +2 -0
- package/dist/chunks/cli-0.5.13-89h7zw2x.mjs +2 -0
- package/dist/chunks/cli-0.5.13-8wrj5aqm.mjs +2 -0
- package/dist/chunks/cli-0.5.13-8yj2mydb.mjs +2 -0
- package/dist/chunks/cli-0.5.13-9r26f53q.mjs +8 -0
- package/dist/chunks/cli-0.5.13-a86qe2vz.mjs +2 -0
- package/dist/chunks/cli-0.5.13-a8k2grq1.mjs +3 -0
- package/dist/chunks/cli-0.5.13-a9gqqmjh.mjs +6 -0
- package/dist/chunks/cli-0.5.13-acgafbm9.mjs +2 -0
- package/dist/chunks/cli-0.5.13-adphma77.mjs +2 -0
- package/dist/chunks/cli-0.5.13-atfk3e81.mjs +2 -0
- package/dist/chunks/cli-0.5.13-athb0q85.mjs +2 -0
- package/dist/chunks/cli-0.5.13-b2593ngv.mjs +4 -0
- package/dist/chunks/cli-0.5.13-b5tqhsx5.mjs +2 -0
- package/dist/chunks/cli-0.5.13-b6aefc28.mjs +1 -0
- package/dist/chunks/cli-0.5.13-bkv5hf1d.mjs +2 -0
- package/dist/chunks/cli-0.5.13-bv7ax1n3.mjs +2 -0
- package/dist/chunks/cli-0.5.13-cf35yzvq.mjs +3 -0
- package/dist/chunks/cli-0.5.13-chdvhgrk.mjs +2 -0
- package/dist/chunks/cli-0.5.13-chgxtj5w.mjs +4 -0
- package/dist/chunks/cli-0.5.13-cjd4zkx5.mjs +2 -0
- package/dist/chunks/cli-0.5.13-cm18xc7a.mjs +4 -0
- package/dist/chunks/cli-0.5.13-cnzars85.mjs +5 -0
- package/dist/chunks/cli-0.5.13-cs4r7txx.mjs +2 -0
- package/dist/chunks/cli-0.5.13-cvy5zs8w.mjs +39 -0
- package/dist/chunks/cli-0.5.13-cwy43qr2.mjs +2 -0
- package/dist/chunks/cli-0.5.13-d0pk4caa.mjs +24 -0
- package/dist/chunks/cli-0.5.13-d1xn4v80.mjs +2 -0
- package/dist/chunks/cli-0.5.13-d4g5sa6y.mjs +2 -0
- package/dist/chunks/cli-0.5.13-d6bw823x.mjs +2 -0
- package/dist/chunks/cli-0.5.13-dd5wmg26.mjs +15 -0
- package/dist/chunks/cli-0.5.13-ddpterr2.mjs +2 -0
- package/dist/chunks/cli-0.5.13-dxs15ka8.mjs +24 -0
- package/dist/chunks/cli-0.5.13-dzq8ey2j.mjs +2 -0
- package/dist/chunks/cli-0.5.13-efbkgz8j.mjs +2 -0
- package/dist/chunks/cli-0.5.13-ejy68mbm.mjs +34 -0
- package/dist/chunks/cli-0.5.13-epjykaww.mjs +17 -0
- package/dist/chunks/cli-0.5.13-evjnfa9k.mjs +10 -0
- package/dist/chunks/cli-0.5.13-f1akqq6k.mjs +2 -0
- package/dist/chunks/cli-0.5.13-f1e673b2.mjs +2 -0
- package/dist/chunks/cli-0.5.13-f6tattxs.mjs +4 -0
- package/dist/chunks/cli-0.5.13-fcrp5w0b.mjs +3 -0
- package/dist/chunks/cli-0.5.13-fdyfmbdw.mjs +2 -0
- package/dist/chunks/cli-0.5.13-fgckevv1.mjs +2 -0
- package/dist/chunks/cli-0.5.13-fjs5qecq.mjs +2 -0
- package/dist/chunks/cli-0.5.13-frerk7s6.mjs +2 -0
- package/dist/chunks/cli-0.5.13-g76ge0hv.mjs +2 -0
- package/dist/chunks/cli-0.5.13-ga5kmq1w.mjs +2 -0
- package/dist/chunks/cli-0.5.13-gb0363rs.mjs +2 -0
- package/dist/chunks/cli-0.5.13-gd8h6ejm.mjs +15 -0
- package/dist/chunks/cli-0.5.13-gpnjdq6k.mjs +12 -0
- package/dist/chunks/cli-0.5.13-gtn64dxk.mjs +12 -0
- package/dist/chunks/cli-0.5.13-gw433gw1.mjs +9 -0
- package/dist/chunks/cli-0.5.13-h04mqqtv.mjs +17 -0
- package/dist/chunks/cli-0.5.13-h1jy4w92.mjs +2 -0
- package/dist/chunks/cli-0.5.13-h9wt4xcx.mjs +25 -0
- package/dist/chunks/cli-0.5.13-hgrj8csf.mjs +4 -0
- package/dist/chunks/cli-0.5.13-hwcqeqbn.mjs +2 -0
- package/dist/chunks/cli-0.5.13-hxsc43y5.mjs +2 -0
- package/dist/chunks/cli-0.5.13-j2wbmw1t.mjs +2 -0
- package/dist/chunks/cli-0.5.13-j7mzv9r7.mjs +2 -0
- package/dist/chunks/cli-0.5.13-j97wk70q.mjs +2 -0
- package/dist/chunks/cli-0.5.13-jc4m6d2k.mjs +3 -0
- package/dist/chunks/cli-0.5.13-jqns71dy.mjs +2 -0
- package/dist/chunks/cli-0.5.13-k0a2tvhb.mjs +2 -0
- package/dist/chunks/cli-0.5.13-k18wsy2t.mjs +2 -0
- package/dist/chunks/cli-0.5.13-k8vf1rgk.mjs +2 -0
- package/dist/chunks/cli-0.5.13-khtf0a93.mjs +9 -0
- package/dist/chunks/cli-0.5.13-kry2fk76.mjs +2 -0
- package/dist/chunks/cli-0.5.13-kt5d0qv4.mjs +2 -0
- package/dist/chunks/cli-0.5.13-ktrr6zcr.mjs +2 -0
- package/dist/chunks/cli-0.5.13-kz59bkh7.mjs +6 -0
- package/dist/chunks/cli-0.5.13-mpqhbtwc.mjs +2 -0
- package/dist/chunks/cli-0.5.13-mrtzh5nm.mjs +2 -0
- package/dist/chunks/cli-0.5.13-mwrgy706.mjs +2 -0
- package/dist/chunks/cli-0.5.13-n30tm5c8.mjs +2 -0
- package/dist/chunks/cli-0.5.13-n3xnwgn1.mjs +2 -0
- package/dist/chunks/cli-0.5.13-nc37z94b.mjs +2 -0
- package/dist/chunks/cli-0.5.13-nkaxbfpd.mjs +2 -0
- package/dist/chunks/cli-0.5.13-nqkxsn2m.mjs +133 -0
- package/dist/chunks/cli-0.5.13-p4f4h0g7.mjs +16 -0
- package/dist/chunks/cli-0.5.13-p6q4xbrv.mjs +2 -0
- package/dist/chunks/cli-0.5.13-p70x9j1v.mjs +193 -0
- package/dist/chunks/cli-0.5.13-p7q9grjp.mjs +2 -0
- package/dist/chunks/cli-0.5.13-p9fwmgwy.mjs +2 -0
- package/dist/chunks/cli-0.5.13-q2mxeckt.mjs +2 -0
- package/dist/chunks/cli-0.5.13-qdtebkgs.mjs +2 -0
- package/dist/chunks/cli-0.5.13-qfxggvke.mjs +18 -0
- package/dist/chunks/cli-0.5.13-qkjyj942.mjs +2 -0
- package/dist/chunks/cli-0.5.13-qrn019we.mjs +2 -0
- package/dist/chunks/cli-0.5.13-qs5d8j4d.mjs +2 -0
- package/dist/chunks/cli-0.5.13-qv3v2ydv.mjs +3 -0
- package/dist/chunks/cli-0.5.13-r0m7bt05.mjs +2 -0
- package/dist/chunks/cli-0.5.13-r442vgxt.mjs +2 -0
- package/dist/chunks/cli-0.5.13-rd990xfy.mjs +2 -0
- package/dist/chunks/cli-0.5.13-rfsjgvne.mjs +2 -0
- package/dist/chunks/cli-0.5.13-rmc7f4b8.mjs +2 -0
- package/dist/chunks/cli-0.5.13-rppjxrmy.mjs +2 -0
- package/dist/chunks/cli-0.5.13-rqjp9raj.mjs +58 -0
- package/dist/chunks/cli-0.5.13-rrqv533k.mjs +2 -0
- package/dist/chunks/cli-0.5.13-s005ka5h.mjs +2 -0
- package/dist/chunks/cli-0.5.13-s1wx3grp.mjs +2 -0
- package/dist/chunks/cli-0.5.13-s58vke8w.mjs +2 -0
- package/dist/chunks/cli-0.5.13-s719y89z.mjs +2 -0
- package/dist/chunks/cli-0.5.13-sfjdg8y7.mjs +4 -0
- package/dist/chunks/cli-0.5.13-sww17qtj.mjs +42 -0
- package/dist/chunks/cli-0.5.13-t0zrxwck.mjs +3 -0
- package/dist/chunks/cli-0.5.13-t6q9ebdp.mjs +2 -0
- package/dist/chunks/cli-0.5.13-teedketa.mjs +2 -0
- package/dist/chunks/cli-0.5.13-tg8xt9zq.mjs +3 -0
- package/dist/chunks/cli-0.5.13-thgp6asf.mjs +21 -0
- package/dist/chunks/cli-0.5.13-tqs67xcg.mjs +2 -0
- package/dist/chunks/cli-0.5.13-tr9s34te.mjs +59 -0
- package/dist/chunks/cli-0.5.13-tvfs784w.mjs +2 -0
- package/dist/chunks/cli-0.5.13-tyh63jx3.mjs +2 -0
- package/dist/chunks/cli-0.5.13-ve50w85d.mjs +2 -0
- package/dist/chunks/cli-0.5.13-vee98ybt.mjs +2 -0
- package/dist/chunks/cli-0.5.13-vfkw26ed.mjs +3 -0
- package/dist/chunks/cli-0.5.13-vhjxq97s.mjs +2 -0
- package/dist/chunks/cli-0.5.13-vhvwgvqz.mjs +2 -0
- package/dist/chunks/cli-0.5.13-vqrqsmg4.mjs +3 -0
- package/dist/chunks/cli-0.5.13-vt1mnr9f.mjs +2 -0
- package/dist/chunks/cli-0.5.13-w20nxjkz.mjs +5 -0
- package/dist/chunks/cli-0.5.13-wbq0xatn.mjs +2 -0
- package/dist/chunks/cli-0.5.13-wfyf1thm.mjs +2 -0
- package/dist/chunks/cli-0.5.13-wyr6xtxm.mjs +2 -0
- package/dist/chunks/cli-0.5.13-x3f97qaq.mjs +2 -0
- package/dist/chunks/cli-0.5.13-x3t2vpfh.mjs +2 -0
- package/dist/chunks/cli-0.5.13-x8dtpekr.mjs +2 -0
- package/dist/chunks/cli-0.5.13-xgcr3a63.mjs +2 -0
- package/dist/chunks/cli-0.5.13-xnxmkmta.mjs +5 -0
- package/dist/chunks/cli-0.5.13-xvg417w8.mjs +7 -0
- package/dist/chunks/cli-0.5.13-xxa4mzdx.mjs +2 -0
- package/dist/chunks/cli-0.5.13-xxpqtp1x.mjs +2 -0
- package/dist/chunks/cli-0.5.13-xzeqt5b9.mjs +2 -0
- package/dist/chunks/cli-0.5.13-y3hmh09p.mjs +2 -0
- package/dist/chunks/cli-0.5.13-y9wywv5c.mjs +2 -0
- package/dist/chunks/cli-0.5.13-yc6wyazy.mjs +67 -0
- package/dist/chunks/cli-0.5.13-yf4tqq6c.mjs +20 -0
- package/dist/chunks/cli-0.5.13-yk8r9pqr.mjs +2 -0
- package/dist/chunks/cli-0.5.13-yskavx3s.mjs +12 -0
- package/dist/chunks/cli-0.5.13-ytqyx6qh.mjs +2 -0
- package/dist/chunks/cli-0.5.13-ywwd10c0.mjs +4 -0
- package/dist/chunks/cli-0.5.13-z0f17269.mjs +2 -0
- package/dist/chunks/cli-0.5.13-z1aye5ce.mjs +2 -0
- package/dist/chunks/cli-0.5.13-zk96c5kc.mjs +3 -0
- package/dist/chunks/cli-0.5.13-zkqc4zsj.mjs +4 -0
- package/dist/chunks/cli-0.5.13-zms1a287.mjs +50 -0
- package/dist/chunks/cli-0.5.13-znj1x5bb.mjs +133 -0
- package/dist/chunks/client-0.5.13-wkzv25nn.mjs +1 -0
- package/dist/chunks/color-0.5.13-yd46yzt2.mjs +1 -0
- package/dist/chunks/compact-0.5.13-3bw7kt91.mjs +3 -0
- package/dist/chunks/config-0.5.13-mwq6ejza.mjs +1 -0
- package/dist/chunks/config-0.5.13-t1bvsttc.mjs +1 -0
- package/dist/chunks/context-0.5.13-zffaf66t.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.5.13-r7fhc6wz.mjs +1 -0
- package/dist/chunks/conversation-0.5.13-3vvb99cj.mjs +1 -0
- package/dist/chunks/copy-0.5.13-zh3ctvbe.mjs +9 -0
- package/dist/chunks/cost-0.5.13-kaah7wjm.mjs +1 -0
- package/dist/chunks/createSSHSession-0.5.13-gn1tyhwh.mjs +1 -0
- package/dist/chunks/createSession-0.5.13-q4atr39q.mjs +1 -0
- package/dist/chunks/debug-0.5.13-tsk3c3gg.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.5.13-eep8ghf6.mjs +1177 -0
- package/dist/chunks/desktop-0.5.13-wahg3gbx.mjs +1 -0
- package/dist/chunks/detectRepository-0.5.13-xek1s6f7.mjs +1 -0
- package/dist/chunks/detection-0.5.13-f8b6t5he.mjs +1 -0
- package/dist/chunks/diff-0.5.13-515a1hs6.mjs +1 -0
- package/dist/chunks/doctor-0.5.13-zafz1vsm.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.5.13-fd90ctm0.mjs +1 -0
- package/dist/chunks/earlyInput-0.5.13-b58bf771.mjs +1 -0
- package/dist/chunks/effort-0.5.13-0yah2d2h.mjs +10 -0
- package/dist/chunks/envUtils-0.5.13-g4pw1v3n.mjs +1 -0
- package/dist/chunks/environmentSelection-0.5.13-9qw5cb9h.mjs +1 -0
- package/dist/chunks/environments-0.5.13-2a6akk4c.mjs +1 -0
- package/dist/chunks/errors-0.5.13-7p8kdhe8.mjs +1 -0
- package/dist/chunks/exampleCommands-0.5.13-fxpyc0yh.mjs +1 -0
- package/dist/chunks/exit-0.5.13-gs0h7d0d.mjs +1 -0
- package/dist/chunks/export-0.5.13-d2yz4k76.mjs +2 -0
- package/dist/chunks/extra-usage-0.5.13-571qzpk6.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.5.13-ky55gxd6.mjs +1 -0
- package/dist/chunks/fast-0.5.13-2g61p9d0.mjs +1 -0
- package/dist/chunks/feedback-0.5.13-2mk1kd03.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.5.13-2t54ma0f.mjs +1 -0
- package/dist/chunks/git-0.5.13-rd7xcgr3.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.5.13-skfy40r3.mjs +1 -0
- package/dist/chunks/grove-0.5.13-g8qwzetx.mjs +1 -0
- package/dist/chunks/growthbook-0.5.13-hnyag67m.mjs +1 -0
- package/dist/chunks/headless-0.5.13-05rns8kj.mjs +2 -0
- package/dist/chunks/heapdump-0.5.13-4eq6h79m.mjs +6 -0
- package/dist/chunks/help-0.5.13-8pfrra9q.mjs +1 -0
- package/dist/chunks/hookChains-0.5.13-vvmpgx47.mjs +3 -0
- package/dist/chunks/hooks-0.5.13-c2ksw8k4.mjs +1 -0
- package/dist/chunks/hooks-0.5.13-zer0dcqm.mjs +79 -0
- package/dist/chunks/ide-0.5.13-r40xcg67.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.5.13-gf9xnpk4.mjs +1 -0
- package/dist/chunks/index-0.5.13-06mj6naw.mjs +1 -0
- package/dist/chunks/index-0.5.13-12hemzfc.mjs +1 -0
- package/dist/chunks/index-0.5.13-4559xg8z.mjs +17 -0
- package/dist/chunks/index-0.5.13-5gmbch0k.mjs +9 -0
- package/dist/chunks/index-0.5.13-5qstd1y9.mjs +1 -0
- package/dist/chunks/index-0.5.13-5zhr2qys.mjs +1 -0
- package/dist/chunks/index-0.5.13-7t4ww1cj.mjs +1 -0
- package/dist/chunks/index-0.5.13-9zz559q7.mjs +1 -0
- package/dist/chunks/index-0.5.13-ap2xd7mn.mjs +1 -0
- package/dist/chunks/index-0.5.13-c9pk5nd1.mjs +2 -0
- package/dist/chunks/index-0.5.13-d9sdxhsy.mjs +1 -0
- package/dist/chunks/index-0.5.13-ej6cywk8.mjs +30 -0
- package/dist/chunks/index-0.5.13-fbjdwyd8.mjs +1 -0
- package/dist/chunks/index-0.5.13-fertw6vb.mjs +1 -0
- package/dist/chunks/index-0.5.13-jwf634zt.mjs +1 -0
- package/dist/chunks/index-0.5.13-nny2e7sx.mjs +5 -0
- package/dist/chunks/index-0.5.13-np7s1rcw.mjs +1 -0
- package/dist/chunks/index-0.5.13-qkvpat3t.mjs +9 -0
- package/dist/chunks/index-0.5.13-qq60ettc.mjs +1 -0
- package/dist/chunks/index-0.5.13-rty9gaxf.mjs +2 -0
- package/dist/chunks/index-0.5.13-yqdcztr9.mjs +1 -0
- package/dist/chunks/index-0.5.13-zhze2z09.mjs +1 -0
- package/dist/chunks/init-0.5.13-yn5gjx3n.mjs +1 -0
- package/dist/chunks/initReplBridge-0.5.13-3q7t27y6.mjs +1 -0
- package/dist/chunks/ink-0.5.13-hp9a2nw1.mjs +1 -0
- package/dist/chunks/insights-0.5.13-k7b8vcre.mjs +870 -0
- package/dist/chunks/install-0.5.13-bfn6wvkn.mjs +1 -0
- package/dist/chunks/install-github-app-0.5.13-jgte5vf5.mjs +149 -0
- package/dist/chunks/install-slack-app-0.5.13-6jhm4499.mjs +1 -0
- package/dist/chunks/instrumentation-0.5.13-qe85v218.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.5.13-pzrtv38g.mjs +1 -0
- package/dist/chunks/keybindings-0.5.13-nekhy7ew.mjs +2 -0
- package/dist/chunks/knowledge-0.5.13-gzztvqej.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.5.13-68b2ccpy.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.5.13-0dsj5wv6.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.5.13-0z0wcvtq.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.5.13-fzcfd312.mjs +1 -0
- package/dist/chunks/log-0.5.13-gdx6qzh8.mjs +1 -0
- package/dist/chunks/main-0.5.13-n87gjwzq.mjs +1 -0
- package/dist/chunks/managedEnv-0.5.13-53yr3zwe.mjs +1 -0
- package/dist/chunks/mcp-0.5.13-nmspb2zq.mjs +4 -0
- package/dist/chunks/mcp-0.5.13-rw2g8qaa.mjs +17 -0
- package/dist/chunks/mcp-0.5.13-th2ze7ya.mjs +1 -0
- package/dist/chunks/mcpb-0.5.13-m2r7m7gz.mjs +1 -0
- package/dist/chunks/memory-0.5.13-exfd915f.mjs +3 -0
- package/dist/chunks/mobile-0.5.13-chn8dbj3.mjs +2 -0
- package/dist/chunks/model-0.5.13-02rcx381.mjs +1 -0
- package/dist/chunks/model-0.5.13-nn224m13.mjs +2 -0
- package/dist/chunks/node-0.5.13-qaeqsj1w.mjs +12 -0
- package/dist/chunks/oauth-0.5.13-9kyat49f.mjs +1 -0
- package/dist/chunks/openaiShim-0.5.13-h22myqt0.mjs +14 -0
- package/dist/chunks/output-style-0.5.13-6fyp1e9p.mjs +1 -0
- package/dist/chunks/package-D6422PQU-0.5.13-qhrrn6zr.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.5.13-1qc35s39.mjs +1 -0
- package/dist/chunks/parser-0.5.13-pat6pqc3.mjs +1 -0
- package/dist/chunks/passes-0.5.13-e04rjkwz.mjs +1 -0
- package/dist/chunks/permissions-0.5.13-hayn4a0z.mjs +3 -0
- package/dist/chunks/plan-0.5.13-837bdxnq.mjs +1 -0
- package/dist/chunks/plist-0.5.13-wbmvsbtw.mjs +1 -0
- package/dist/chunks/plugin-0.5.13-wfbqn2r6.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.5.13-6kztma6y.mjs +1 -0
- package/dist/chunks/plugins-0.5.13-661zwqh0.mjs +9 -0
- package/dist/chunks/preActionHook-0.5.13-jnvd55h3.mjs +2 -0
- package/dist/chunks/print-0.5.13-tp9qh9m9.mjs +57 -0
- package/dist/chunks/privacy-settings-0.5.13-kd3r9h57.mjs +1 -0
- package/dist/chunks/process-0.5.13-kkfgtfp6.mjs +1 -0
- package/dist/chunks/processBashCommand-0.5.13-9yggekvh.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.5.13-q15qa3ee.mjs +9 -0
- package/dist/chunks/prompt-0.5.13-h2tvhh01.mjs +1 -0
- package/dist/chunks/prompt-0.5.13-x601wxwy.mjs +1 -0
- package/dist/chunks/prompts-0.5.13-76a9ns5g.mjs +1 -0
- package/dist/chunks/protocolHandler-0.5.13-kvfdrr12.mjs +13 -0
- package/dist/chunks/provider-0.5.13-tgwe2fwj.mjs +2 -0
- package/dist/chunks/providerProfiles-0.5.13-hyx6zffe.mjs +1 -0
- package/dist/chunks/providerValidation-0.5.13-8z62br8d.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.5.13-wz5ew5he.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.5.13-xgwprw2n.mjs +34 -0
- package/dist/chunks/registry-0.5.13-cx3vtv28.mjs +1 -0
- package/dist/chunks/release-notes-0.5.13-pcbc1edt.mjs +5 -0
- package/dist/chunks/reload-plugins-0.5.13-pvwtgp6y.mjs +2 -0
- package/dist/chunks/remote-env-0.5.13-mj63srey.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.5.13-vmb8vyd9.mjs +1 -0
- package/dist/chunks/remoteSession-0.5.13-ext2r1fs.mjs +1 -0
- package/dist/chunks/rename-0.5.13-c388bb34.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.5.13-d9e8m6a4.mjs +1 -0
- package/dist/chunks/replLauncher-0.5.13-q4xjb3n7.mjs +1 -0
- package/dist/chunks/resume-0.5.13-zwms595g.mjs +2 -0
- package/dist/chunks/rewind-0.5.13-nf9en5kj.mjs +1 -0
- package/dist/chunks/rootOptions-0.5.13-ys6f60ez.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.5.13-0kn0krrs.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.5.13-mbhkfqtx.mjs +1 -0
- package/dist/chunks/session-0.5.13-ef059m1s.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.5.13-rqf5h984.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.5.13-skb8p6b9.mjs +1 -0
- package/dist/chunks/sessionStorage-0.5.13-hfsdsdg8.mjs +1 -0
- package/dist/chunks/settings-0.5.13-dvj3rntg.mjs +1 -0
- package/dist/chunks/setup-0.5.13-0qy4tjwk.mjs +5 -0
- package/dist/chunks/sinks-0.5.13-r38g34n1.mjs +1 -0
- package/dist/chunks/skills-0.5.13-zd2n7d2t.mjs +1 -0
- package/dist/chunks/startupProfiler-0.5.13-rvngf74z.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.5.13-kepbkbnb.mjs +1 -0
- package/dist/chunks/state-0.5.13-9j8t0pbx.mjs +1 -0
- package/dist/chunks/stats-0.5.13-6083a1n1.mjs +6 -0
- package/dist/chunks/status-0.5.13-043z2z1k.mjs +1 -0
- package/dist/chunks/stickers-0.5.13-haw56t8e.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.5.13-6fym13ah.mjs +1 -0
- package/dist/chunks/tasks-0.5.13-prxqgrk6.mjs +1 -0
- package/dist/chunks/teamHelpers-0.5.13-ea9wnqk5.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.5.13-fzz13a9m.mjs +1 -0
- package/dist/chunks/teleport-0.5.13-cwvgxg78.mjs +1 -0
- package/dist/chunks/terminalSetup-0.5.13-cswcvej0.mjs +1 -0
- package/dist/chunks/theme-0.5.13-yq4dm16b.mjs +1 -0
- package/dist/chunks/thinkback-0.5.13-gf1n5td1.mjs +1 -0
- package/dist/chunks/thinkback-play-0.5.13-fjwrqzd7.mjs +1 -0
- package/dist/chunks/toolPool-0.5.13-kt2xjpf7.mjs +1 -0
- package/dist/chunks/toolSearch-0.5.13-p0zpbh8d.mjs +1 -0
- package/dist/chunks/tools-0.5.13-jd6408d0.mjs +1 -0
- package/dist/chunks/trustedDevice-0.5.13-8vncqgx8.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.5.13-0pxd6ddw.mjs +69 -0
- package/dist/chunks/ultrareviewCommand-0.5.13-5w0fawcq.mjs +4 -0
- package/dist/chunks/update-0.5.13-r5daertf.mjs +86 -0
- package/dist/chunks/upgrade-0.5.13-02ypar0z.mjs +1 -0
- package/dist/chunks/upstreamproxy-0.5.13-qxsd8pz8.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.5.13-fvyp50k0.mjs +1 -0
- package/dist/chunks/usage-0.5.13-qzx2m9s9.mjs +1 -0
- package/dist/chunks/util-0.5.13-f4gpmja3.mjs +1 -0
- package/dist/chunks/utils-0.5.13-3qpq89q5.mjs +1 -0
- package/dist/chunks/vim-0.5.13-mg62q0nt.mjs +1 -0
- package/dist/chunks/watcher-0.5.13-q568pd2n.mjs +1 -0
- package/dist/chunks/wiki-0.5.13-yzex4wbz.mjs +132 -0
- package/dist/chunks/worktree-0.5.13-7q98jvfb.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.5.13-rhsc6esa.mjs +1 -0
- package/dist/chunks/wrapper-0.5.13-7xwpyrgq.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.5.12-smdrq819.mjs +0 -1
- package/dist/chunks/App-0.5.12-r5wjd7s8.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.5.12-ne9g2ryd.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.5.12-xsd6p7kt.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.5.12-ssrkfkmd.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.5.12-q6qcrrj2.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.12-gfcmcgxz.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.5.12-e1f2czf7.mjs +0 -1
- package/dist/chunks/DiffDialog-0.5.12-vnm4mz9c.mjs +0 -3
- package/dist/chunks/Doctor-0.5.12-rtbvt5mw.mjs +0 -1
- package/dist/chunks/Grove-0.5.12-qv18jfe4.mjs +0 -1
- package/dist/chunks/ITermBackend-0.5.12-tp63kb2y.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.5.12-q3wspzrk.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.5.12-ksv56j0p.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.5.12-ekgs1jgb.mjs +0 -1
- package/dist/chunks/Onboarding-0.5.12-sjtsxgzz.mjs +0 -1
- package/dist/chunks/ProviderManager-0.5.12-sjdymhw7.mjs +0 -1
- package/dist/chunks/REPL-0.5.12-8h9bmdjx.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.5.12-wpm4mfaa.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.5.12-n8kyqhdr.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.5.12-30xn93y9.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.5.12-e3fg3amd.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.5.12-hk2rzdh9.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.5.12-jevh3zhx.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.5.12-9ggdsbtq.mjs +0 -1
- package/dist/chunks/TrustDialog-0.5.12-h0w01e8v.mjs +0 -1
- package/dist/chunks/activeProvider-0.5.12-gs3tp52z.mjs +0 -1
- package/dist/chunks/add-dir-0.5.12-20s2bbpb.mjs +0 -1
- package/dist/chunks/agents-0.5.12-3hsbstfa.mjs +0 -3
- package/dist/chunks/agents-0.5.12-s6qbjsne.mjs +0 -110
- package/dist/chunks/api-0.5.12-0wrh71sa.mjs +0 -1
- package/dist/chunks/asciicast-0.5.12-rjjtzjz5.mjs +0 -1
- package/dist/chunks/assistant-0.5.12-wv5tm7qb.mjs +0 -1
- package/dist/chunks/auth-0.5.12-1jvg770t.mjs +0 -1
- package/dist/chunks/auth-0.5.12-s2b8vrty.mjs +0 -1
- package/dist/chunks/autoMode-0.5.12-ka6ppwmf.mjs +0 -48
- package/dist/chunks/autoUpdater-0.5.12-gdprekp5.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.5.12-1yfjbpvk.mjs +0 -1
- package/dist/chunks/branch-0.5.12-j64r58dd.mjs +0 -4
- package/dist/chunks/bridgePointer-0.5.12-x983by3j.mjs +0 -1
- package/dist/chunks/btw-0.5.12-kgz89wa7.mjs +0 -1
- package/dist/chunks/buddy-0.5.12-r9nysssz.mjs +0 -3
- package/dist/chunks/cacache-0.5.12-4170vfc6.mjs +0 -1
- package/dist/chunks/cache-probe-0.5.12-5nr9y8e3.mjs +0 -21
- package/dist/chunks/cacheStats-0.5.12-bgxk3p2h.mjs +0 -4
- package/dist/chunks/caches-0.5.12-95zf6qzv.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.5.12-23kdtzwn.mjs +0 -1
- package/dist/chunks/claudemd-0.5.12-nyakrtyn.mjs +0 -1
- package/dist/chunks/clear-0.5.12-tngfq6r4.mjs +0 -1
- package/dist/chunks/clearTerminal-0.5.12-g53rj1ba.mjs +0 -1
- package/dist/chunks/cli-0.5.12-02t9z38y.mjs +0 -2
- package/dist/chunks/cli-0.5.12-02yr8j71.mjs +0 -3
- package/dist/chunks/cli-0.5.12-057c2cp2.mjs +0 -5
- package/dist/chunks/cli-0.5.12-07kx3k7b.mjs +0 -2
- package/dist/chunks/cli-0.5.12-097tmfjr.mjs +0 -2
- package/dist/chunks/cli-0.5.12-0qasc0ef.mjs +0 -2
- package/dist/chunks/cli-0.5.12-11b979hs.mjs +0 -2
- package/dist/chunks/cli-0.5.12-15jvdvek.mjs +0 -3
- package/dist/chunks/cli-0.5.12-1fs9t3y1.mjs +0 -2
- package/dist/chunks/cli-0.5.12-1vyz0tt9.mjs +0 -2
- package/dist/chunks/cli-0.5.12-27ngaysm.mjs +0 -2
- package/dist/chunks/cli-0.5.12-2fqmc1dw.mjs +0 -17
- package/dist/chunks/cli-0.5.12-2jxq8gnm.mjs +0 -2
- package/dist/chunks/cli-0.5.12-2thv7xjf.mjs +0 -133
- package/dist/chunks/cli-0.5.12-2tqpkne4.mjs +0 -3
- package/dist/chunks/cli-0.5.12-2wf629mh.mjs +0 -2
- package/dist/chunks/cli-0.5.12-2zcpj03a.mjs +0 -2
- package/dist/chunks/cli-0.5.12-30h4rkq5.mjs +0 -4
- package/dist/chunks/cli-0.5.12-34cd39ve.mjs +0 -2
- package/dist/chunks/cli-0.5.12-36swspqa.mjs +0 -2
- package/dist/chunks/cli-0.5.12-3t06hwwh.mjs +0 -2
- package/dist/chunks/cli-0.5.12-3v7zr435.mjs +0 -2
- package/dist/chunks/cli-0.5.12-3vz2jvfs.mjs +0 -2
- package/dist/chunks/cli-0.5.12-3zwt5bt4.mjs +0 -2
- package/dist/chunks/cli-0.5.12-41eae9ef.mjs +0 -2
- package/dist/chunks/cli-0.5.12-47dbnsz1.mjs +0 -2
- package/dist/chunks/cli-0.5.12-495d826j.mjs +0 -18
- package/dist/chunks/cli-0.5.12-4dn79vqp.mjs +0 -2
- package/dist/chunks/cli-0.5.12-4dxe3951.mjs +0 -2
- package/dist/chunks/cli-0.5.12-4h4yvgep.mjs +0 -4
- package/dist/chunks/cli-0.5.12-5d3qcvf5.mjs +0 -2
- package/dist/chunks/cli-0.5.12-5qad6x1n.mjs +0 -2
- package/dist/chunks/cli-0.5.12-60w1a0bs.mjs +0 -2
- package/dist/chunks/cli-0.5.12-62bfegwf.mjs +0 -3
- package/dist/chunks/cli-0.5.12-63mc4ryd.mjs +0 -2
- package/dist/chunks/cli-0.5.12-6h1z8rhs.mjs +0 -2
- package/dist/chunks/cli-0.5.12-7bxdfxh2.mjs +0 -7
- package/dist/chunks/cli-0.5.12-7c345wdv.mjs +0 -15
- package/dist/chunks/cli-0.5.12-7cn41yy7.mjs +0 -6
- package/dist/chunks/cli-0.5.12-7dj55dt9.mjs +0 -2
- package/dist/chunks/cli-0.5.12-7j2hryxc.mjs +0 -3
- package/dist/chunks/cli-0.5.12-7p67dbr2.mjs +0 -2
- package/dist/chunks/cli-0.5.12-7repzgzv.mjs +0 -2
- package/dist/chunks/cli-0.5.12-7vxpqr5a.mjs +0 -67
- package/dist/chunks/cli-0.5.12-7zb3ptxb.mjs +0 -2
- package/dist/chunks/cli-0.5.12-8j9p82ea.mjs +0 -2
- package/dist/chunks/cli-0.5.12-8v5w8znc.mjs +0 -9
- package/dist/chunks/cli-0.5.12-8vg9yqcp.mjs +0 -3
- package/dist/chunks/cli-0.5.12-8wzyrrzj.mjs +0 -10
- package/dist/chunks/cli-0.5.12-96ne669g.mjs +0 -25
- package/dist/chunks/cli-0.5.12-9mq24qzr.mjs +0 -2
- package/dist/chunks/cli-0.5.12-9q9g02p5.mjs +0 -2
- package/dist/chunks/cli-0.5.12-9qdgpa04.mjs +0 -2
- package/dist/chunks/cli-0.5.12-9zz4wk90.mjs +0 -2
- package/dist/chunks/cli-0.5.12-afky60yh.mjs +0 -2
- package/dist/chunks/cli-0.5.12-ajgk4ksj.mjs +0 -2
- package/dist/chunks/cli-0.5.12-am3j4jcx.mjs +0 -12
- package/dist/chunks/cli-0.5.12-aqgqkjt4.mjs +0 -2
- package/dist/chunks/cli-0.5.12-asbn3d19.mjs +0 -2
- package/dist/chunks/cli-0.5.12-b2d3jjn3.mjs +0 -2
- package/dist/chunks/cli-0.5.12-b73xqvce.mjs +0 -2
- package/dist/chunks/cli-0.5.12-brdpkyjd.mjs +0 -4
- package/dist/chunks/cli-0.5.12-bw549ry1.mjs +0 -2
- package/dist/chunks/cli-0.5.12-bx2t76qp.mjs +0 -3
- package/dist/chunks/cli-0.5.12-bxsvvg0q.mjs +0 -2
- package/dist/chunks/cli-0.5.12-bzab36pn.mjs +0 -15
- package/dist/chunks/cli-0.5.12-c2yq69h9.mjs +0 -17
- package/dist/chunks/cli-0.5.12-c40vvkn4.mjs +0 -2
- package/dist/chunks/cli-0.5.12-c6whkxmz.mjs +0 -2
- package/dist/chunks/cli-0.5.12-c8f4daey.mjs +0 -2
- package/dist/chunks/cli-0.5.12-caz6gx12.mjs +0 -2
- package/dist/chunks/cli-0.5.12-cbevkwg4.mjs +0 -3
- package/dist/chunks/cli-0.5.12-cqv7z22w.mjs +0 -2
- package/dist/chunks/cli-0.5.12-ctqkj6ve.mjs +0 -6
- package/dist/chunks/cli-0.5.12-cw1qs4bg.mjs +0 -24
- package/dist/chunks/cli-0.5.12-cwbm4b6n.mjs +0 -2
- package/dist/chunks/cli-0.5.12-d158qgn4.mjs +0 -2
- package/dist/chunks/cli-0.5.12-dda4jky0.mjs +0 -2
- package/dist/chunks/cli-0.5.12-dpm51wzp.mjs +0 -2
- package/dist/chunks/cli-0.5.12-eb1c0sqs.mjs +0 -2
- package/dist/chunks/cli-0.5.12-ecgx5n54.mjs +0 -2
- package/dist/chunks/cli-0.5.12-f141d2qa.mjs +0 -2
- package/dist/chunks/cli-0.5.12-f15xspgt.mjs +0 -18
- package/dist/chunks/cli-0.5.12-f5pfjvdk.mjs +0 -2
- package/dist/chunks/cli-0.5.12-f8850v2j.mjs +0 -42
- package/dist/chunks/cli-0.5.12-f99c5512.mjs +0 -24
- package/dist/chunks/cli-0.5.12-fqp5s15p.mjs +0 -59
- package/dist/chunks/cli-0.5.12-g4ffbdep.mjs +0 -2
- package/dist/chunks/cli-0.5.12-g4wb8mj2.mjs +0 -193
- package/dist/chunks/cli-0.5.12-gfm1s8a2.mjs +0 -4
- package/dist/chunks/cli-0.5.12-ghtxkxqx.mjs +0 -2
- package/dist/chunks/cli-0.5.12-gt83ysr0.mjs +0 -9
- package/dist/chunks/cli-0.5.12-gwg1e43k.mjs +0 -34
- package/dist/chunks/cli-0.5.12-had5m07e.mjs +0 -2
- package/dist/chunks/cli-0.5.12-hp0508v9.mjs +0 -2
- package/dist/chunks/cli-0.5.12-hvtcdcev.mjs +0 -2
- package/dist/chunks/cli-0.5.12-j3j0qej1.mjs +0 -2
- package/dist/chunks/cli-0.5.12-j75ba781.mjs +0 -2
- package/dist/chunks/cli-0.5.12-jp1r2jw2.mjs +0 -1
- package/dist/chunks/cli-0.5.12-jy79msaa.mjs +0 -2
- package/dist/chunks/cli-0.5.12-k1crwtdc.mjs +0 -2
- package/dist/chunks/cli-0.5.12-k976aej3.mjs +0 -2
- package/dist/chunks/cli-0.5.12-kez9r81a.mjs +0 -2
- package/dist/chunks/cli-0.5.12-khvy67r3.mjs +0 -2
- package/dist/chunks/cli-0.5.12-kkfzbxw6.mjs +0 -2
- package/dist/chunks/cli-0.5.12-kr31tdde.mjs +0 -2
- package/dist/chunks/cli-0.5.12-ktv3envc.mjs +0 -2
- package/dist/chunks/cli-0.5.12-m22yxpb9.mjs +0 -2
- package/dist/chunks/cli-0.5.12-m2gh4ewc.mjs +0 -2
- package/dist/chunks/cli-0.5.12-mgke70yz.mjs +0 -39
- package/dist/chunks/cli-0.5.12-n1ax8ehf.mjs +0 -2
- package/dist/chunks/cli-0.5.12-n1wc50h4.mjs +0 -2
- package/dist/chunks/cli-0.5.12-n4bfatc5.mjs +0 -2
- package/dist/chunks/cli-0.5.12-nb3q4dfs.mjs +0 -4
- package/dist/chunks/cli-0.5.12-nbcjwzzn.mjs +0 -2
- package/dist/chunks/cli-0.5.12-ne0f51vh.mjs +0 -2
- package/dist/chunks/cli-0.5.12-nf7cvq82.mjs +0 -2
- package/dist/chunks/cli-0.5.12-nj5yya0e.mjs +0 -2
- package/dist/chunks/cli-0.5.12-nytegfxk.mjs +0 -4
- package/dist/chunks/cli-0.5.12-p4mf644w.mjs +0 -2
- package/dist/chunks/cli-0.5.12-p5ps8gf0.mjs +0 -6
- package/dist/chunks/cli-0.5.12-p7shsask.mjs +0 -2
- package/dist/chunks/cli-0.5.12-pdqnfqg3.mjs +0 -2
- package/dist/chunks/cli-0.5.12-pp1549k7.mjs +0 -2
- package/dist/chunks/cli-0.5.12-pp1f55mm.mjs +0 -2
- package/dist/chunks/cli-0.5.12-pq058s0e.mjs +0 -2
- package/dist/chunks/cli-0.5.12-pwee4pmy.mjs +0 -2
- package/dist/chunks/cli-0.5.12-pycnjaeg.mjs +0 -16
- package/dist/chunks/cli-0.5.12-pzvv2jfe.mjs +0 -2
- package/dist/chunks/cli-0.5.12-qafa6js8.mjs +0 -2
- package/dist/chunks/cli-0.5.12-qdhvs7zg.mjs +0 -5
- package/dist/chunks/cli-0.5.12-qew4mzgp.mjs +0 -2
- package/dist/chunks/cli-0.5.12-qffnerrz.mjs +0 -2
- package/dist/chunks/cli-0.5.12-qt5dmgd4.mjs +0 -58
- package/dist/chunks/cli-0.5.12-qvbpbpwc.mjs +0 -2
- package/dist/chunks/cli-0.5.12-r1nnkaek.mjs +0 -3
- package/dist/chunks/cli-0.5.12-r1p7bcf8.mjs +0 -2
- package/dist/chunks/cli-0.5.12-r6bpk4tm.mjs +0 -50
- package/dist/chunks/cli-0.5.12-rb8we522.mjs +0 -2
- package/dist/chunks/cli-0.5.12-rc1p9wk6.mjs +0 -3
- package/dist/chunks/cli-0.5.12-rt0k97yj.mjs +0 -12
- package/dist/chunks/cli-0.5.12-rw2tcb8a.mjs +0 -21
- package/dist/chunks/cli-0.5.12-s0h788we.mjs +0 -2
- package/dist/chunks/cli-0.5.12-sb5ec9ms.mjs +0 -2
- package/dist/chunks/cli-0.5.12-sd5469b2.mjs +0 -3
- package/dist/chunks/cli-0.5.12-senanaj4.mjs +0 -15
- package/dist/chunks/cli-0.5.12-ssw8vd5p.mjs +0 -45
- package/dist/chunks/cli-0.5.12-tczcdzf3.mjs +0 -2
- package/dist/chunks/cli-0.5.12-tfdwzg37.mjs +0 -4
- package/dist/chunks/cli-0.5.12-tnk4m7zs.mjs +0 -8
- package/dist/chunks/cli-0.5.12-tnq5ajv3.mjs +0 -2
- package/dist/chunks/cli-0.5.12-va0ce6hc.mjs +0 -2
- package/dist/chunks/cli-0.5.12-vkgwh6kg.mjs +0 -2
- package/dist/chunks/cli-0.5.12-vp5smcs1.mjs +0 -4
- package/dist/chunks/cli-0.5.12-vrbqnjp6.mjs +0 -2
- package/dist/chunks/cli-0.5.12-vs30tjk8.mjs +0 -2
- package/dist/chunks/cli-0.5.12-vw8gp4d2.mjs +0 -2
- package/dist/chunks/cli-0.5.12-vwd5aqnh.mjs +0 -20
- package/dist/chunks/cli-0.5.12-w00qj83e.mjs +0 -133
- package/dist/chunks/cli-0.5.12-w02bmj5v.mjs +0 -2
- package/dist/chunks/cli-0.5.12-w3hy6c60.mjs +0 -2
- package/dist/chunks/cli-0.5.12-w7m7knvf.mjs +0 -4
- package/dist/chunks/cli-0.5.12-wgqarp3j.mjs +0 -2
- package/dist/chunks/cli-0.5.12-wgqshyyq.mjs +0 -2
- package/dist/chunks/cli-0.5.12-whfz3xsx.mjs +0 -2
- package/dist/chunks/cli-0.5.12-wqg58esg.mjs +0 -2
- package/dist/chunks/cli-0.5.12-wqn70xss.mjs +0 -2
- package/dist/chunks/cli-0.5.12-x3r8qtwj.mjs +0 -12
- package/dist/chunks/cli-0.5.12-x479axrj.mjs +0 -2
- package/dist/chunks/cli-0.5.12-xdrtyw81.mjs +0 -2
- package/dist/chunks/cli-0.5.12-xdx5bcxv.mjs +0 -5
- package/dist/chunks/cli-0.5.12-xg7a0dy4.mjs +0 -2
- package/dist/chunks/cli-0.5.12-xhf4y2sm.mjs +0 -2
- package/dist/chunks/cli-0.5.12-xsyxpmwt.mjs +0 -2
- package/dist/chunks/cli-0.5.12-xyf8b9hh.mjs +0 -4
- package/dist/chunks/cli-0.5.12-xysz4vte.mjs +0 -2
- package/dist/chunks/cli-0.5.12-xzeb7mtb.mjs +0 -2
- package/dist/chunks/cli-0.5.12-y2kq7fe8.mjs +0 -2
- package/dist/chunks/cli-0.5.12-y66stscm.mjs +0 -2
- package/dist/chunks/cli-0.5.12-yq8ds97a.mjs +0 -2
- package/dist/chunks/cli-0.5.12-ysy6e9rz.mjs +0 -2
- package/dist/chunks/cli-0.5.12-yxvbh81c.mjs +0 -2
- package/dist/chunks/cli-0.5.12-z100r543.mjs +0 -2
- package/dist/chunks/cli-0.5.12-z2yzdy27.mjs +0 -2
- package/dist/chunks/cli-0.5.12-z6vekb4d.mjs +0 -2
- package/dist/chunks/cli-0.5.12-zbcr8cbk.mjs +0 -2
- package/dist/chunks/cli-0.5.12-zc0qwdy2.mjs +0 -5268
- package/dist/chunks/cli-0.5.12-zd5fps7m.mjs +0 -3
- package/dist/chunks/cli-0.5.12-zf4k1ja2.mjs +0 -2
- package/dist/chunks/cli-0.5.12-zsjs6asf.mjs +0 -2
- package/dist/chunks/client-0.5.12-25cxceb6.mjs +0 -1
- package/dist/chunks/color-0.5.12-7ag99jgh.mjs +0 -1
- package/dist/chunks/compact-0.5.12-tkdapr9z.mjs +0 -3
- package/dist/chunks/config-0.5.12-0c9spewv.mjs +0 -1
- package/dist/chunks/config-0.5.12-vc9je2fj.mjs +0 -1
- package/dist/chunks/context-0.5.12-rznd55j3.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.5.12-fm064xkc.mjs +0 -1
- package/dist/chunks/conversation-0.5.12-rstja52a.mjs +0 -1
- package/dist/chunks/copy-0.5.12-wfyfcx1t.mjs +0 -9
- package/dist/chunks/cost-0.5.12-5t5ppkhd.mjs +0 -1
- package/dist/chunks/createSSHSession-0.5.12-n4gfgvy0.mjs +0 -1
- package/dist/chunks/createSession-0.5.12-vberyedq.mjs +0 -1
- package/dist/chunks/debug-0.5.12-6tk66dq2.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.5.12-cd6kj7vb.mjs +0 -1177
- package/dist/chunks/desktop-0.5.12-t4zetpqs.mjs +0 -1
- package/dist/chunks/detectRepository-0.5.12-4rer36ef.mjs +0 -1
- package/dist/chunks/detection-0.5.12-kc620t5m.mjs +0 -1
- package/dist/chunks/diff-0.5.12-t1nwyr97.mjs +0 -1
- package/dist/chunks/doctor-0.5.12-6ehwnc02.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.5.12-715ngvgm.mjs +0 -1
- package/dist/chunks/earlyInput-0.5.12-9c0k1b2s.mjs +0 -1
- package/dist/chunks/effort-0.5.12-tge1ba18.mjs +0 -10
- package/dist/chunks/envUtils-0.5.12-4210d9jh.mjs +0 -1
- package/dist/chunks/environmentSelection-0.5.12-fpz6s66f.mjs +0 -1
- package/dist/chunks/environments-0.5.12-yjkrj1h3.mjs +0 -1
- package/dist/chunks/errors-0.5.12-hx01gb7f.mjs +0 -1
- package/dist/chunks/exampleCommands-0.5.12-228rhbph.mjs +0 -1
- package/dist/chunks/exit-0.5.12-x0w90ajb.mjs +0 -1
- package/dist/chunks/export-0.5.12-cdv2fqe2.mjs +0 -2
- package/dist/chunks/extra-usage-0.5.12-d0ypcf8h.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.5.12-1xmkn7xb.mjs +0 -1
- package/dist/chunks/fast-0.5.12-pm7p7cea.mjs +0 -1
- package/dist/chunks/feedback-0.5.12-k7w5ac6x.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.5.12-jbg4z87y.mjs +0 -1
- package/dist/chunks/git-0.5.12-rpqpwk1g.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.5.12-gc6bcfrs.mjs +0 -1
- package/dist/chunks/grove-0.5.12-g5c6bca9.mjs +0 -1
- package/dist/chunks/growthbook-0.5.12-d3dr2a5b.mjs +0 -1
- package/dist/chunks/headless-0.5.12-4en0ynj2.mjs +0 -2
- package/dist/chunks/heapdump-0.5.12-bwv2jy65.mjs +0 -6
- package/dist/chunks/help-0.5.12-m0n3bja4.mjs +0 -1
- package/dist/chunks/hookChains-0.5.12-ybpwc19k.mjs +0 -3
- package/dist/chunks/hooks-0.5.12-gd1zgq76.mjs +0 -1
- package/dist/chunks/hooks-0.5.12-kmtv873b.mjs +0 -79
- package/dist/chunks/ide-0.5.12-kh015qjb.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.5.12-gskzpn6n.mjs +0 -1
- package/dist/chunks/index-0.5.12-0qdxjc4v.mjs +0 -30
- package/dist/chunks/index-0.5.12-1ms14gcb.mjs +0 -1
- package/dist/chunks/index-0.5.12-23xwq3mj.mjs +0 -1
- package/dist/chunks/index-0.5.12-3k0mgkby.mjs +0 -5
- package/dist/chunks/index-0.5.12-3qxmsrhf.mjs +0 -1
- package/dist/chunks/index-0.5.12-5nwrep7m.mjs +0 -1
- package/dist/chunks/index-0.5.12-5zp8ghw8.mjs +0 -2
- package/dist/chunks/index-0.5.12-6t3ctwhj.mjs +0 -1
- package/dist/chunks/index-0.5.12-bb0dxhht.mjs +0 -1
- package/dist/chunks/index-0.5.12-cdvaqvrt.mjs +0 -1
- package/dist/chunks/index-0.5.12-e3g06gch.mjs +0 -2
- package/dist/chunks/index-0.5.12-g0waf7b4.mjs +0 -1
- package/dist/chunks/index-0.5.12-k2yx7rgg.mjs +0 -1
- package/dist/chunks/index-0.5.12-pqbbvhvf.mjs +0 -17
- package/dist/chunks/index-0.5.12-v34jg9ty.mjs +0 -1
- package/dist/chunks/index-0.5.12-vd2ps0yn.mjs +0 -1
- package/dist/chunks/index-0.5.12-vk2f44v8.mjs +0 -9
- package/dist/chunks/index-0.5.12-vqmfkmk5.mjs +0 -1
- package/dist/chunks/index-0.5.12-vxrpnsbd.mjs +0 -1
- package/dist/chunks/index-0.5.12-w00wq0mv.mjs +0 -1
- package/dist/chunks/index-0.5.12-wq1ac3z9.mjs +0 -1
- package/dist/chunks/index-0.5.12-z05jb67f.mjs +0 -9
- package/dist/chunks/init-0.5.12-dek8tx6c.mjs +0 -1
- package/dist/chunks/initReplBridge-0.5.12-tzmcc68e.mjs +0 -1
- package/dist/chunks/ink-0.5.12-pa331vem.mjs +0 -1
- package/dist/chunks/insights-0.5.12-5vdjmpbj.mjs +0 -870
- package/dist/chunks/install-0.5.12-vegjn29b.mjs +0 -1
- package/dist/chunks/install-github-app-0.5.12-x1q07njz.mjs +0 -149
- package/dist/chunks/install-slack-app-0.5.12-xdebh0fz.mjs +0 -1
- package/dist/chunks/instrumentation-0.5.12-t5wdqnhp.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.5.12-fs831eqt.mjs +0 -1
- package/dist/chunks/keybindings-0.5.12-c5ptskwf.mjs +0 -2
- package/dist/chunks/knowledge-0.5.12-vqnz3rhj.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.5.12-6ea56sj8.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.5.12-q3cab4jf.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.5.12-teg232ka.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.5.12-zqfepr29.mjs +0 -1
- package/dist/chunks/log-0.5.12-hb77k1c6.mjs +0 -1
- package/dist/chunks/main-0.5.12-a5ye3nrk.mjs +0 -1
- package/dist/chunks/managedEnv-0.5.12-9m0enspy.mjs +0 -1
- package/dist/chunks/mcp-0.5.12-0g4by910.mjs +0 -1
- package/dist/chunks/mcp-0.5.12-kmsa1db8.mjs +0 -17
- package/dist/chunks/mcp-0.5.12-tpprk6qh.mjs +0 -4
- package/dist/chunks/mcpb-0.5.12-40x6rp03.mjs +0 -1
- package/dist/chunks/memory-0.5.12-31smeswe.mjs +0 -3
- package/dist/chunks/mobile-0.5.12-trtv6cx8.mjs +0 -2
- package/dist/chunks/model-0.5.12-dwyagyf8.mjs +0 -2
- package/dist/chunks/model-0.5.12-ncsht9ca.mjs +0 -1
- package/dist/chunks/node-0.5.12-n3y2efbq.mjs +0 -12
- package/dist/chunks/oauth-0.5.12-vz32m3f2.mjs +0 -1
- package/dist/chunks/openaiShim-0.5.12-5vwewpct.mjs +0 -14
- package/dist/chunks/output-style-0.5.12-j7kzxe0j.mjs +0 -1
- package/dist/chunks/package-D6422PQU-0.5.12-pcrvwm89.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.5.12-k9xxsfd1.mjs +0 -1
- package/dist/chunks/parser-0.5.12-dztg8ppe.mjs +0 -1
- package/dist/chunks/passes-0.5.12-5z8tw34t.mjs +0 -1
- package/dist/chunks/permissions-0.5.12-rww5yb80.mjs +0 -3
- package/dist/chunks/plan-0.5.12-69ntjye7.mjs +0 -1
- package/dist/chunks/plist-0.5.12-3ab3ry0j.mjs +0 -1
- package/dist/chunks/plugin-0.5.12-k1c1ggj8.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.5.12-4nzjv877.mjs +0 -1
- package/dist/chunks/plugins-0.5.12-gjxv18dm.mjs +0 -9
- package/dist/chunks/preActionHook-0.5.12-z0z4xe2p.mjs +0 -2
- package/dist/chunks/print-0.5.12-9y9vvttb.mjs +0 -57
- package/dist/chunks/privacy-settings-0.5.12-w3hpvv24.mjs +0 -1
- package/dist/chunks/process-0.5.12-esywnb4j.mjs +0 -1
- package/dist/chunks/processBashCommand-0.5.12-24r2r258.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.5.12-pt79vh2t.mjs +0 -9
- package/dist/chunks/prompt-0.5.12-hc11zacw.mjs +0 -1
- package/dist/chunks/prompt-0.5.12-txnbkzk6.mjs +0 -1
- package/dist/chunks/prompts-0.5.12-r29ww1bz.mjs +0 -1
- package/dist/chunks/protocolHandler-0.5.12-sg2pjg74.mjs +0 -13
- package/dist/chunks/provider-0.5.12-kdvewq5e.mjs +0 -2
- package/dist/chunks/providerProfiles-0.5.12-z3pct3be.mjs +0 -1
- package/dist/chunks/providerValidation-0.5.12-637xxs9q.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.5.12-e7czq7ff.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.5.12-5jq9w7c4.mjs +0 -34
- package/dist/chunks/registry-0.5.12-dcz74t85.mjs +0 -1
- package/dist/chunks/release-notes-0.5.12-acaycqgr.mjs +0 -5
- package/dist/chunks/reload-plugins-0.5.12-07m62xd2.mjs +0 -2
- package/dist/chunks/remote-env-0.5.12-8ffhqnh9.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.5.12-qes76y4j.mjs +0 -1
- package/dist/chunks/remoteSession-0.5.12-wqh0sh5p.mjs +0 -1
- package/dist/chunks/rename-0.5.12-pefg421m.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.5.12-mrx144v7.mjs +0 -1
- package/dist/chunks/replLauncher-0.5.12-xyajjb89.mjs +0 -1
- package/dist/chunks/resume-0.5.12-yz9ysprz.mjs +0 -2
- package/dist/chunks/rewind-0.5.12-7n5x67g8.mjs +0 -1
- package/dist/chunks/rootOptions-0.5.12-mn1xh15m.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.5.12-g1r9b0p8.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.5.12-w1rx9eck.mjs +0 -1
- package/dist/chunks/session-0.5.12-t3cd84ep.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.5.12-905y94g7.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.5.12-9f5qb84p.mjs +0 -1
- package/dist/chunks/sessionStorage-0.5.12-b88eps8r.mjs +0 -1
- package/dist/chunks/settings-0.5.12-ascz750g.mjs +0 -1
- package/dist/chunks/setup-0.5.12-k4bb1v5t.mjs +0 -5
- package/dist/chunks/sinks-0.5.12-wra2rxct.mjs +0 -1
- package/dist/chunks/skills-0.5.12-tzetjssj.mjs +0 -1
- package/dist/chunks/startupProfiler-0.5.12-4mesbnz6.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.5.12-j9pvbhww.mjs +0 -1
- package/dist/chunks/state-0.5.12-fmbxq91j.mjs +0 -1
- package/dist/chunks/stats-0.5.12-6dftg0mb.mjs +0 -6
- package/dist/chunks/status-0.5.12-prhem3mn.mjs +0 -1
- package/dist/chunks/stickers-0.5.12-t4kmsdfn.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.5.12-bbjh5kcq.mjs +0 -1
- package/dist/chunks/tasks-0.5.12-5zkvc91z.mjs +0 -1
- package/dist/chunks/teamHelpers-0.5.12-4993s40p.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.5.12-003j14d2.mjs +0 -1
- package/dist/chunks/teleport-0.5.12-qc9n0e99.mjs +0 -1
- package/dist/chunks/terminalSetup-0.5.12-e0q1ppyp.mjs +0 -1
- package/dist/chunks/theme-0.5.12-j3m1w193.mjs +0 -1
- package/dist/chunks/thinkback-0.5.12-q0g2nxf8.mjs +0 -1
- package/dist/chunks/thinkback-play-0.5.12-q3xptm32.mjs +0 -1
- package/dist/chunks/toolPool-0.5.12-99zz2z7m.mjs +0 -1
- package/dist/chunks/toolSearch-0.5.12-msyjmzw4.mjs +0 -1
- package/dist/chunks/tools-0.5.12-rfpyvm5z.mjs +0 -1
- package/dist/chunks/trustedDevice-0.5.12-x17za0q6.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.5.12-pe30j67r.mjs +0 -69
- package/dist/chunks/ultrareviewCommand-0.5.12-3ns0qpr7.mjs +0 -4
- package/dist/chunks/update-0.5.12-4hgf7mr4.mjs +0 -86
- package/dist/chunks/upgrade-0.5.12-7gs6mxyh.mjs +0 -1
- package/dist/chunks/upstreamproxy-0.5.12-1v1wp95x.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.5.12-2w5y94ch.mjs +0 -1
- package/dist/chunks/usage-0.5.12-e4h5kk04.mjs +0 -1
- package/dist/chunks/util-0.5.12-2p0n6pkd.mjs +0 -1
- package/dist/chunks/utils-0.5.12-6hw9zr7a.mjs +0 -1
- package/dist/chunks/vim-0.5.12-f95wabwk.mjs +0 -1
- package/dist/chunks/watcher-0.5.12-0qy95ccm.mjs +0 -1
- package/dist/chunks/wiki-0.5.12-1h2k88h1.mjs +0 -132
- package/dist/chunks/worktree-0.5.12-0svdfkzh.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.5.12-qxdddvwv.mjs +0 -1
- package/dist/chunks/wrapper-0.5.12-553s8689.mjs +0 -7
- /package/dist/chunks/{cli-0.5.12-9ghkvy4m.mjs → cli-0.5.13-07hv5jdz.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.12-r4t180q2.mjs → cli-0.5.13-c4q1pthh.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.12-paj8nhxk.mjs → cli-0.5.13-epw9z05w.mjs} +0 -0
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{_na as tZ}from"./cli-0.5.12-xzeb7mtb.mjs";var u0=tZ((g0,LZ)=>{function JZ(Z){if(Z instanceof Map)Z.clear=Z.delete=Z.set=function(){throw Error("map is read-only")};else if(Z instanceof Set)Z.add=Z.clear=Z.delete=function(){throw Error("set is read-only")};return Object.freeze(Z),Object.getOwnPropertyNames(Z).forEach(function(J){var z=Z[J];if(typeof z=="object"&&!Object.isFrozen(z))JZ(z)}),Z}var yZ=JZ,aZ=JZ;yZ.default=aZ;class ZZ{constructor(Z){if(Z.data===void 0)Z.data={};this.data=Z.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function M(Z){return Z.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function x(Z,...J){let z=Object.create(null);for(let $ in Z)z[$]=Z[$];return J.forEach(function($){for(let P in $)z[P]=$[P]}),z}var oZ="</span>",GZ=(Z)=>{return!!Z.kind};class HZ{constructor(Z,J){this.buffer="",this.classPrefix=J.classPrefix,Z.walk(this)}addText(Z){this.buffer+=M(Z)}openNode(Z){if(!GZ(Z))return;let J=Z.kind;if(!Z.sublanguage)J=`${this.classPrefix}${J}`;this.span(J)}closeNode(Z){if(!GZ(Z))return;this.buffer+=oZ}value(){return this.buffer}span(Z){this.buffer+=`<span class="${Z}">`}}class QZ{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(Z){this.top.children.push(Z)}openNode(Z){let J={kind:Z,children:[]};this.add(J),this.stack.push(J)}closeNode(){if(this.stack.length>1)return this.stack.pop();return}closeAllNodes(){while(this.closeNode());}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(Z){return this.constructor._walk(Z,this.rootNode)}static _walk(Z,J){if(typeof J==="string")Z.addText(J);else if(J.children)Z.openNode(J),J.children.forEach((z)=>this._walk(Z,z)),Z.closeNode(J);return Z}static _collapse(Z){if(typeof Z==="string")return;if(!Z.children)return;if(Z.children.every((J)=>typeof J==="string"))Z.children=[Z.children.join("")];else Z.children.forEach((J)=>{QZ._collapse(J)})}}class BZ extends QZ{constructor(Z){super();this.options=Z}addKeyword(Z,J){if(Z==="")return;this.openNode(J),this.addText(Z),this.closeNode()}addText(Z){if(Z==="")return;this.add(Z)}addSublanguage(Z,J){let z=Z.root;z.kind=J,z.sublanguage=!0,this.add(z)}toHTML(){return new HZ(this,this.options).value()}finalize(){return!0}}function eZ(Z){return new RegExp(Z.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function E(Z){if(!Z)return null;if(typeof Z==="string")return Z;return Z.source}function Z0(...Z){return Z.map((z)=>E(z)).join("")}function q0(...Z){return"("+Z.map((z)=>E(z)).join("|")+")"}function J0(Z){return new RegExp(Z.toString()+"|").exec("").length-1}function Q0(Z,J){let z=Z&&Z.exec(J);return z&&z.index===0}var X0=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function V0(Z,J="|"){let z=0;return Z.map(($)=>{z+=1;let P=z,v=E($),D="";while(v.length>0){let Q=X0.exec(v);if(!Q){D+=v;break}if(D+=v.substring(0,Q.index),v=v.substring(Q.index+Q[0].length),Q[0][0]==="\\"&&Q[1])D+="\\"+String(Number(Q[1])+P);else if(D+=Q[0],Q[0]==="(")z++}return D}).map(($)=>`(${$})`).join(J)}var z0=/\b\B/,DZ="[a-zA-Z]\\w*",XZ="[a-zA-Z_]\\w*",VZ="\\b\\d+(\\.\\d+)?",CZ="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",kZ="\\b(0b[01]+)",Y0="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",W0=(Z={})=>{let J=/^#![ ]*\//;if(Z.binary)Z.begin=Z0(J,/.*\b/,Z.binary,/\b.*/);return x({className:"meta",begin:J,end:/$/,relevance:0,"on:begin":(z,$)=>{if(z.index!==0)$.ignoreMatch()}},Z)},p={begin:"\\\\[\\s\\S]",relevance:0},$0={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[p]},F0={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[p]},jZ={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},r=function(Z,J,z={}){let $=x({className:"comment",begin:Z,end:J,contains:[]},z);return $.contains.push(jZ),$.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),$},G0=r("//","$"),U0=r("/\\*","\\*/"),K0=r("#","$"),I0={className:"number",begin:VZ,relevance:0},P0={className:"number",begin:CZ,relevance:0},v0={className:"number",begin:kZ,relevance:0},y0={className:"number",begin:VZ+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},H0={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[p,{begin:/\[/,end:/\]/,relevance:0,contains:[p]}]}]},B0={className:"title",begin:DZ,relevance:0},D0={className:"title",begin:XZ,relevance:0},C0={begin:"\\.\\s*"+XZ,relevance:0},k0=function(Z){return Object.assign(Z,{"on:begin":(J,z)=>{z.data._beginMatch=J[1]},"on:end":(J,z)=>{if(z.data._beginMatch!==J[1])z.ignoreMatch()}})},i=Object.freeze({__proto__:null,MATCH_NOTHING_RE:z0,IDENT_RE:DZ,UNDERSCORE_IDENT_RE:XZ,NUMBER_RE:VZ,C_NUMBER_RE:CZ,BINARY_NUMBER_RE:kZ,RE_STARTERS_RE:Y0,SHEBANG:W0,BACKSLASH_ESCAPE:p,APOS_STRING_MODE:$0,QUOTE_STRING_MODE:F0,PHRASAL_WORDS_MODE:jZ,COMMENT:r,C_LINE_COMMENT_MODE:G0,C_BLOCK_COMMENT_MODE:U0,HASH_COMMENT_MODE:K0,NUMBER_MODE:I0,C_NUMBER_MODE:P0,BINARY_NUMBER_MODE:v0,CSS_NUMBER_MODE:y0,REGEXP_MODE:H0,TITLE_MODE:B0,UNDERSCORE_TITLE_MODE:D0,METHOD_GUARD:C0,END_SAME_AS_BEGIN:k0});function j0(Z,J){if(Z.input[Z.index-1]===".")J.ignoreMatch()}function A0(Z,J){if(!J)return;if(!Z.beginKeywords)return;if(Z.begin="\\b("+Z.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Z.__beforeBegin=j0,Z.keywords=Z.keywords||Z.beginKeywords,delete Z.beginKeywords,Z.relevance===void 0)Z.relevance=0}function w0(Z,J){if(!Array.isArray(Z.illegal))return;Z.illegal=q0(...Z.illegal)}function L0(Z,J){if(!Z.match)return;if(Z.begin||Z.end)throw Error("begin & end are not supported with match");Z.begin=Z.match,delete Z.match}function O0(Z,J){if(Z.relevance===void 0)Z.relevance=1}var T0=["of","and","for","in","not","or","if","then","parent","list","value"],R0="keyword";function AZ(Z,J,z=R0){let $={};if(typeof Z==="string")P(z,Z.split(" "));else if(Array.isArray(Z))P(z,Z);else Object.keys(Z).forEach(function(v){Object.assign($,AZ(Z[v],J,v))});return $;function P(v,D){if(J)D=D.map((Q)=>Q.toLowerCase());D.forEach(function(Q){let X=Q.split("|");$[X[0]]=[v,S0(X[0],X[1])]})}}function S0(Z,J){if(J)return Number(J);return _0(Z)?0:1}function _0(Z){return T0.includes(Z.toLowerCase())}function x0(Z,{plugins:J}){function z(Q,X){return new RegExp(E(Q),"m"+(Z.case_insensitive?"i":"")+(X?"g":""))}class ${constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(Q,X){X.position=this.position++,this.matchIndexes[this.matchAt]=X,this.regexes.push([X,Q]),this.matchAt+=J0(Q)+1}compile(){if(this.regexes.length===0)this.exec=()=>null;let Q=this.regexes.map((X)=>X[1]);this.matcherRe=z(V0(Q),!0),this.lastIndex=0}exec(Q){this.matcherRe.lastIndex=this.lastIndex;let X=this.matcherRe.exec(Q);if(!X)return null;let I=X.findIndex((k,S)=>S>0&&k!==void 0),U=this.matchIndexes[I];return X.splice(0,I),Object.assign(X,U)}}class P{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(Q){if(this.multiRegexes[Q])return this.multiRegexes[Q];let X=new $;return this.rules.slice(Q).forEach(([I,U])=>X.addRule(I,U)),X.compile(),this.multiRegexes[Q]=X,X}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(Q,X){if(this.rules.push([Q,X]),X.type==="begin")this.count++}exec(Q){let X=this.getMatcher(this.regexIndex);X.lastIndex=this.lastIndex;let I=X.exec(Q);if(this.resumingScanAtSamePosition())if(I&&I.index===this.lastIndex);else{let U=this.getMatcher(0);U.lastIndex=this.lastIndex+1,I=U.exec(Q)}if(I){if(this.regexIndex+=I.position+1,this.regexIndex===this.count)this.considerAll()}return I}}function v(Q){let X=new P;if(Q.contains.forEach((I)=>X.addRule(I.begin,{rule:I,type:"begin"})),Q.terminatorEnd)X.addRule(Q.terminatorEnd,{type:"end"});if(Q.illegal)X.addRule(Q.illegal,{type:"illegal"});return X}function D(Q,X){let I=Q;if(Q.isCompiled)return I;[L0].forEach((k)=>k(Q,X)),Z.compilerExtensions.forEach((k)=>k(Q,X)),Q.__beforeBegin=null,[A0,w0,O0].forEach((k)=>k(Q,X)),Q.isCompiled=!0;let U=null;if(typeof Q.keywords==="object")U=Q.keywords.$pattern,delete Q.keywords.$pattern;if(Q.keywords)Q.keywords=AZ(Q.keywords,Z.case_insensitive);if(Q.lexemes&&U)throw Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");if(U=U||Q.lexemes||/\w+/,I.keywordPatternRe=z(U,!0),X){if(!Q.begin)Q.begin=/\B|\b/;if(I.beginRe=z(Q.begin),Q.endSameAsBegin)Q.end=Q.begin;if(!Q.end&&!Q.endsWithParent)Q.end=/\B|\b/;if(Q.end)I.endRe=z(Q.end);if(I.terminatorEnd=E(Q.end)||"",Q.endsWithParent&&X.terminatorEnd)I.terminatorEnd+=(Q.end?"|":"")+X.terminatorEnd}if(Q.illegal)I.illegalRe=z(Q.illegal);if(!Q.contains)Q.contains=[];if(Q.contains=[].concat(...Q.contains.map(function(k){return f0(k==="self"?Q:k)})),Q.contains.forEach(function(k){D(k,I)}),Q.starts)D(Q.starts,X);return I.matcher=v(I),I}if(!Z.compilerExtensions)Z.compilerExtensions=[];if(Z.contains&&Z.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Z.classNameAliases=x(Z.classNameAliases||{}),D(Z)}function wZ(Z){if(!Z)return!1;return Z.endsWithParent||wZ(Z.starts)}function f0(Z){if(Z.variants&&!Z.cachedVariants)Z.cachedVariants=Z.variants.map(function(J){return x(Z,{variants:null},J)});if(Z.cachedVariants)return Z.cachedVariants;if(wZ(Z))return x(Z,{starts:Z.starts?x(Z.starts):null});if(Object.isFrozen(Z))return x(Z);return Z}var b0="10.7.3";function N0(Z){return Boolean(Z||Z==="")}function M0(Z){let J={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){if(this.unknownLanguage)return"";return"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!Z.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,M(this.code);let $={};if(this.autoDetect)$=Z.highlightAuto(this.code),this.detectedLanguage=$.language;else $=Z.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language;return $.value},autoDetect(){return!this.language||N0(this.autodetect)},ignoreIllegals(){return!0}},render($){return $("pre",{},[$("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:J,VuePlugin:{install($){$.component("highlightjs",J)}}}}var E0={"after:highlightElement":({el:Z,result:J,text:z})=>{let $=UZ(Z);if(!$.length)return;let P=document.createElement("div");P.innerHTML=J.value,J.value=p0($,UZ(P),z)}};function qZ(Z){return Z.nodeName.toLowerCase()}function UZ(Z){let J=[];return function z($,P){for(let v=$.firstChild;v;v=v.nextSibling)if(v.nodeType===3)P+=v.nodeValue.length;else if(v.nodeType===1){if(J.push({event:"start",offset:P,node:v}),P=z(v,P),!qZ(v).match(/br|hr|img|input/))J.push({event:"stop",offset:P,node:v})}return P}(Z,0),J}function p0(Z,J,z){let $=0,P="",v=[];function D(){if(!Z.length||!J.length)return Z.length?Z:J;if(Z[0].offset!==J[0].offset)return Z[0].offset<J[0].offset?Z:J;return J[0].event==="start"?Z:J}function Q(U){function k(S){return" "+S.nodeName+'="'+M(S.value)+'"'}P+="<"+qZ(U)+[].map.call(U.attributes,k).join("")+">"}function X(U){P+="</"+qZ(U)+">"}function I(U){(U.event==="start"?Q:X)(U.node)}while(Z.length||J.length){let U=D();if(P+=M(z.substring($,U[0].offset)),$=U[0].offset,U===Z){v.reverse().forEach(X);do I(U.splice(0,1)[0]),U=D();while(U===Z&&U.length&&U[0].offset===$);v.reverse().forEach(Q)}else{if(U[0].event==="start")v.push(U[0].node);else v.pop();I(U.splice(0,1)[0])}}return P+M(z.substr($))}var KZ={},o=(Z)=>{console.error(Z)},IZ=(Z,...J)=>{console.log(`WARN: ${Z}`,...J)},w=(Z,J)=>{if(KZ[`${Z}/${J}`])return;console.log(`Deprecated as of ${Z}. ${J}`),KZ[`${Z}/${J}`]=!0},e=M,PZ=x,vZ=Symbol("nomatch"),h0=function(Z){let J=Object.create(null),z=Object.create(null),$=[],P=!0,v=/(^(<[^>]+>|\t|)+|\n)/gm,D="Could not find the language '{}', did you forget to load/include a language module?",Q={disableAutodetect:!0,name:"Plain text",contains:[]},X={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:BZ};function I(q){return X.noHighlightRe.test(q)}function U(q){let V=q.className+" ";V+=q.parentNode?q.parentNode.className:"";let K=X.languageDetectRe.exec(V);if(K){let H=R(K[1]);if(!H)IZ(D.replace("{}",K[1])),IZ("Falling back to no-highlight mode for this block.",q);return H?K[1]:"no-highlight"}return V.split(/\s+/).find((H)=>I(H)||R(H))}function k(q,V,K,H){let C="",f="";if(typeof V==="object")C=q,K=V.ignoreIllegals,f=V.language,H=void 0;else w("10.7.0","highlight(lang, code, ...args) has been deprecated."),w("10.7.0",`Please use highlight(code, options) instead.
|
|
2
|
-
https://github.com/highlightjs/highlight.js/issues/2277`),f=q,C=V;let L={code:C,language:f};c("before:highlight",L);let O=L.result?L.result:S(L.language,L.code,K,H);return O.code=L.code,c("after:highlight",O),O}function S(q,V,K,H){function C(Y,W){let G=b.case_insensitive?W[0].toLowerCase():W[0];return Object.prototype.hasOwnProperty.call(Y.keywords,G)&&Y.keywords[G]}function f(){if(!F.keywords){j.addText(B);return}let Y=0;F.keywordPatternRe.lastIndex=0;let W=F.keywordPatternRe.exec(B),G="";while(W){G+=B.substring(Y,W.index);let y=C(F,W);if(y){let[A,s]=y;if(j.addText(G),G="",g+=s,A.startsWith("_"))G+=W[0];else{let nZ=b.classNameAliases[A]||A;j.addKeyword(W[0],nZ)}}else G+=W[0];Y=F.keywordPatternRe.lastIndex,W=F.keywordPatternRe.exec(B)}G+=B.substr(Y),j.addText(G)}function L(){if(B==="")return;let Y=null;if(typeof F.subLanguage==="string"){if(!J[F.subLanguage]){j.addText(B);return}Y=S(F.subLanguage,B,!0,FZ[F.subLanguage]),FZ[F.subLanguage]=Y.top}else Y=l(B,F.subLanguage.length?F.subLanguage:null);if(F.relevance>0)g+=Y.relevance;j.addSublanguage(Y.emitter,Y.language)}function O(){if(F.subLanguage!=null)L();else f();B=""}function T(Y){if(Y.className)j.openNode(b.classNameAliases[Y.className]||Y.className);return F=Object.create(Y,{parent:{value:F}}),F}function _(Y,W,G){let y=Q0(Y.endRe,G);if(y){if(Y["on:end"]){let A=new ZZ(Y);if(Y["on:end"](W,A),A.isMatchIgnored)y=!1}if(y){while(Y.endsParent&&Y.parent)Y=Y.parent;return Y}}if(Y.endsWithParent)return _(Y.parent,W,G)}function iZ(Y){if(F.matcher.regexIndex===0)return B+=Y[0],1;else return a=!0,0}function rZ(Y){let W=Y[0],G=Y.rule,y=new ZZ(G),A=[G.__beforeBegin,G["on:begin"]];for(let s of A){if(!s)continue;if(s(Y,y),y.isMatchIgnored)return iZ(W)}if(G&&G.endSameAsBegin)G.endRe=eZ(W);if(G.skip)B+=W;else{if(G.excludeBegin)B+=W;if(O(),!G.returnBegin&&!G.excludeBegin)B=W}return T(G),G.returnBegin?0:W.length}function lZ(Y){let W=Y[0],G=V.substr(Y.index),y=_(F,Y,G);if(!y)return vZ;let A=F;if(A.skip)B+=W;else{if(!(A.returnEnd||A.excludeEnd))B+=W;if(O(),A.excludeEnd)B=W}do{if(F.className)j.closeNode();if(!F.skip&&!F.subLanguage)g+=F.relevance;F=F.parent}while(F!==y.parent);if(y.starts){if(y.endSameAsBegin)y.starts.endRe=y.endRe;T(y.starts)}return A.returnEnd?0:W.length}function dZ(){let Y=[];for(let W=F;W!==b;W=W.parent)if(W.className)Y.unshift(W.className);Y.forEach((W)=>j.openNode(W))}let u={};function $Z(Y,W){let G=W&&W[0];if(B+=Y,G==null)return O(),0;if(u.type==="begin"&&W.type==="end"&&u.index===W.index&&G===""){if(B+=V.slice(W.index,W.index+1),!P){let y=Error("0 width match regex");throw y.languageName=q,y.badRule=u.rule,y}return 1}if(u=W,W.type==="begin")return rZ(W);else if(W.type==="illegal"&&!K){let y=Error('Illegal lexeme "'+G+'" for mode "'+(F.className||"<unnamed>")+'"');throw y.mode=F,y}else if(W.type==="end"){let y=lZ(W);if(y!==vZ)return y}if(W.type==="illegal"&&G==="")return 1;if(t>1e5&&t>W.index*3)throw Error("potential infinite loop, way more iterations than matches");return B+=G,G.length}let b=R(q);if(!b)throw o(D.replace("{}",q)),Error('Unknown language: "'+q+'"');let mZ=x0(b,{plugins:$}),n="",F=H||mZ,FZ={},j=new X.__emitter(X);dZ();let B="",g=0,N=0,t=0,a=!1;try{F.matcher.considerAll();for(;;){if(t++,a)a=!1;else F.matcher.considerAll();F.matcher.lastIndex=N;let Y=F.matcher.exec(V);if(!Y)break;let W=V.substring(N,Y.index),G=$Z(W,Y);N=Y.index+G}return $Z(V.substr(N)),j.closeAllNodes(),j.finalize(),n=j.toHTML(),{relevance:Math.floor(g),value:n,language:q,illegal:!1,emitter:j,top:F}}catch(Y){if(Y.message&&Y.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:Y.message,context:V.slice(N-100,N+100),mode:Y.mode},sofar:n,relevance:0,value:e(V),emitter:j};else if(P)return{illegal:!1,relevance:0,value:e(V),emitter:j,language:q,top:F,errorRaised:Y};else throw Y}}function OZ(q){let V={relevance:0,emitter:new X.__emitter(X),value:e(q),illegal:!1,top:Q};return V.emitter.addText(q),V}function l(q,V){V=V||X.languages||Object.keys(J);let K=OZ(q),H=V.filter(R).filter(WZ).map((T)=>S(T,q,!1));H.unshift(K);let C=H.sort((T,_)=>{if(T.relevance!==_.relevance)return _.relevance-T.relevance;if(T.language&&_.language){if(R(T.language).supersetOf===_.language)return 1;else if(R(_.language).supersetOf===T.language)return-1}return 0}),[f,L]=C,O=f;return O.second_best=L,O}function TZ(q){if(!(X.tabReplace||X.useBR))return q;return q.replace(v,(V)=>{if(V===`
|
|
3
|
-
`)return X.useBR?"<br>":V;else if(X.tabReplace)return V.replace(/\t/g,X.tabReplace);return V})}function RZ(q,V,K){let H=V?z[V]:K;if(q.classList.add("hljs"),H)q.classList.add(H)}let SZ={"before:highlightElement":({el:q})=>{if(X.useBR)q.innerHTML=q.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,`
|
|
4
|
-
`)},"after:highlightElement":({result:q})=>{if(X.useBR)q.value=q.value.replace(/\n/g,"<br>")}},_Z=/^(<[^>]+>|\t)+/gm,xZ={"after:highlightElement":({result:q})=>{if(X.tabReplace)q.value=q.value.replace(_Z,(V)=>V.replace(/\t/g,X.tabReplace))}};function h(q){let V=null,K=U(q);if(I(K))return;c("before:highlightElement",{el:q,language:K}),V=q;let H=V.textContent,C=K?k(H,{language:K,ignoreIllegals:!0}):l(H);if(c("after:highlightElement",{el:q,result:C,text:H}),q.innerHTML=C.value,RZ(q,K,C.language),q.result={language:C.language,re:C.relevance,relavance:C.relevance},C.second_best)q.second_best={language:C.second_best.language,re:C.second_best.relevance,relavance:C.second_best.relevance}}function fZ(q){if(q.useBR)w("10.3.0","'useBR' will be removed entirely in v11.0"),w("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559");X=PZ(X,q)}let d=()=>{if(d.called)return;d.called=!0,w("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(h)};function bZ(){w("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),m=!0}let m=!1;function zZ(){if(document.readyState==="loading"){m=!0;return}document.querySelectorAll("pre code").forEach(h)}function NZ(){if(m)zZ()}if(typeof window<"u"&&window.addEventListener)window.addEventListener("DOMContentLoaded",NZ,!1);function MZ(q,V){let K=null;try{K=V(Z)}catch(H){if(o("Language definition for '{}' could not be registered.".replace("{}",q)),!P)throw H;else o(H);K=Q}if(!K.name)K.name=q;if(J[q]=K,K.rawDefinition=V.bind(null,Z),K.aliases)YZ(K.aliases,{languageName:q})}function EZ(q){delete J[q];for(let V of Object.keys(z))if(z[V]===q)delete z[V]}function pZ(){return Object.keys(J)}function hZ(q){w("10.4.0","requireLanguage will be removed entirely in v11."),w("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");let V=R(q);if(V)return V;throw Error("The '{}' language is required, but not loaded.".replace("{}",q))}function R(q){return q=(q||"").toLowerCase(),J[q]||J[z[q]]}function YZ(q,{languageName:V}){if(typeof q==="string")q=[q];q.forEach((K)=>{z[K.toLowerCase()]=V})}function WZ(q){let V=R(q);return V&&!V.disableAutodetect}function cZ(q){if(q["before:highlightBlock"]&&!q["before:highlightElement"])q["before:highlightElement"]=(V)=>{q["before:highlightBlock"](Object.assign({block:V.el},V))};if(q["after:highlightBlock"]&&!q["after:highlightElement"])q["after:highlightElement"]=(V)=>{q["after:highlightBlock"](Object.assign({block:V.el},V))}}function uZ(q){cZ(q),$.push(q)}function c(q,V){let K=q;$.forEach(function(H){if(H[K])H[K](V)})}function gZ(q){return w("10.2.0","fixMarkup will be removed entirely in v11.0"),w("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),TZ(q)}function sZ(q){return w("10.7.0","highlightBlock will be removed entirely in v12.0"),w("10.7.0","Please use highlightElement now."),h(q)}Object.assign(Z,{highlight:k,highlightAuto:l,highlightAll:zZ,fixMarkup:gZ,highlightElement:h,highlightBlock:sZ,configure:fZ,initHighlighting:d,initHighlightingOnLoad:bZ,registerLanguage:MZ,unregisterLanguage:EZ,listLanguages:pZ,getLanguage:R,registerAliases:YZ,requireLanguage:hZ,autoDetection:WZ,inherit:PZ,addPlugin:uZ,vuePlugin:M0(Z).VuePlugin}),Z.debugMode=function(){P=!1},Z.safeMode=function(){P=!0},Z.versionString=b0;for(let q in i)if(typeof i[q]==="object")yZ(i[q]);return Object.assign(Z,i),Z.addPlugin(SZ),Z.addPlugin(E0),Z.addPlugin(xZ),Z},c0=h0({});LZ.exports=c0});
|
|
5
|
-
export{u0 as G5};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{xe as V,ze as B}from"./cli-0.5.12-senanaj4.mjs";import{Ci as L,NK as U,PK as w,Pw as Q,Qw as q,SN as F}from"./cli-0.5.12-zc0qwdy2.mjs";import{U8 as K,Z8 as k}from"./cli-0.5.12-g4wb8mj2.mjs";import{fga as I,iga as $}from"./cli-0.5.12-p5ps8gf0.mjs";import{Gga as _,zga as G}from"./cli-0.5.12-tfdwzg37.mjs";import{aoa as Z}from"./cli-0.5.12-xzeb7mtb.mjs";async function h(W,X){let E=V(W);if(!E)return null;try{let A=await U({systemPrompt:Q(['Generate a short kebab-case name (2-4 words) that captures the main topic of this conversation. Use lowercase words separated by hyphens. Examples: "fix-login-bug", "add-auth-feature", "refactor-api-client", "debug-test-failures". Return JSON with a "name" field.']),userPrompt:E,outputFormat:{type:"json_schema",schema:{type:"object",properties:{name:{type:"string"}},required:["name"],additionalProperties:!1}},signal:X,options:{querySource:"rename_generate_name",agents:[],isNonInteractiveSession:!1,hasAppendSystemPrompt:!1,mcpTools:[]}}),Y=L(A.message.content),z=K(Y);if(z&&typeof z==="object"&&"name"in z&&typeof z.name==="string")return z.name;return null}catch(A){return I(`generateSessionName failed: ${G(A)}`,{level:"error"}),null}}var D=Z(()=>{w();$();_();k();F();B();q()});
|
|
2
|
-
export{h as ve,D as we};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{db as c}from"./cli-0.5.12-qvbpbpwc.mjs";import{eb as S}from"./cli-0.5.12-p4mf644w.mjs";import{rc as P,vc as Vq}from"./cli-0.5.12-27ngaysm.mjs";import{Ac as v,Bc as $,Cc as Wq,zc as I}from"./cli-0.5.12-zf4k1ja2.mjs";import{$r as N,CH as E,DH as Qq,Hs as L,Is as qq,NC as M,OC as Jq,Os as h,Qs as Bq,Qt as A,Rt as _,Tt as Gq,UI as f,XI as Tq,as as e,rn as C,tn as r}from"./cli-0.5.12-zc0qwdy2.mjs";import{EZ as s}from"./cli-0.5.12-w3hy6c60.mjs";import{Bca as F,Jca as a,M6 as D,O6 as n,q8 as w,s8 as t}from"./cli-0.5.12-g4wb8mj2.mjs";import{dfa as x,ffa as d}from"./cli-0.5.12-2jxq8gnm.mjs";import{fga as j,iga as o}from"./cli-0.5.12-p5ps8gf0.mjs";import{Gga as l,yga as y}from"./cli-0.5.12-tfdwzg37.mjs";import{Yna as p}from"./cli-0.5.12-xzeb7mtb.mjs";Jq();d();Bq();Gq();Wq();t();o();n();l();a();e();Qq();var V=p(s(),1);qq();r();Vq();Tq();function Lq({enabled:W=!0}={}){let b=V.useSyncExternalStore(v,I,I),H=_(),O=A((J)=>J.plugins.needsRefresh),{addNotification:z}=M(),R=V.useCallback(async()=>{try{let{enabled:J,disabled:T,errors:Q}=await f();await c();let X=P();if(Object.keys(X).length>0)z({key:"plugin-delisted-flagged",text:"Plugins flagged. Check /plugins",color:"warning",priority:"high"});let Y=[],Z=[];try{Y=await E(),$(Y)}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-commands",error:`Failed to load plugin commands: ${B}`}),$([])}try{Z=await N()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-agents",error:`Failed to load plugin agents: ${B}`})}try{await S()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-hooks",error:`Failed to load plugin hooks: ${B}`})}let u=(await Promise.all(J.map(async(q)=>{if(q.mcpServers)return Object.keys(q.mcpServers).length;let B=await C(q,Q);if(B)q.mcpServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0),m=(await Promise.all(J.map(async(q)=>{if(q.lspServers)return Object.keys(q.lspServers).length;let B=await L(q,Q);if(B)q.lspServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0);h(),H((q)=>{let B=q.plugins.errors.filter((G)=>G.source==="lsp-manager"||G.source.startsWith("plugin:")),K=new Set(Q.map((G)=>G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`)),U=[...B.filter((G)=>{let i=G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`;return!K.has(i)}),...Q];return{...q,plugins:{...q.plugins,enabled:J,disabled:T,commands:[],errors:U}}}),j(`Loaded plugins - Enabled: ${J.length}, Disabled: ${T.length}, Commands: ${Y.length}, Agents: ${Z.length}, Errors: ${Q.length}`);let g=J.reduce((q,B)=>{if(!B.hooksConfig)return q;return q+Object.values(B.hooksConfig).reduce((K,k)=>K+(k?.reduce((U,G)=>U+G.hooks.length,0)??0),0)},0);return{enabled_count:J.length,disabled_count:T.length,inline_count:w(J,(q)=>q.source.endsWith("@inline")),marketplace_count:w(J,(q)=>!q.source.endsWith("@inline")),error_count:Q.length,skill_count:Y.length,agent_count:Z.length,hook_count:g,mcp_count:u,lsp_count:m}}catch(J){let T=y(J);return F(T),j(`Error loading plugins: ${J}`),$([]),H((Q)=>{let X=Q.plugins.errors.filter((Z)=>Z.source==="lsp-manager"||Z.source.startsWith("plugin:")),Y={type:"generic-error",source:"plugin-system",error:T.message};return{...Q,plugins:{...Q.plugins,enabled:[],disabled:[],commands:[],errors:[...X,Y]}}}),{enabled_count:0,disabled_count:0,inline_count:0,marketplace_count:0,error_count:1,skill_count:0,agent_count:0,hook_count:0,mcp_count:0,lsp_count:0,load_failed:!0,ant_enabled_names:void 0}}},[H,z]);return V.useEffect(()=>{if(!W)return;R().then((J)=>{let{ant_enabled_names:T,...Q}=J,X={...Q,has_custom_plugin_cache_dir:!!process.env.CLAUDE_CODE_PLUGIN_CACHE_DIR};x("tengu_plugins_loaded",{...X,...T!==void 0&&{enabled_names:T}}),D("info","tengu_plugins_loaded",X)})},[R,W]),V.useEffect(()=>{if(W)return;$([])},[W]),V.useEffect(()=>{if(!W||!O)return;z({key:"plugin-reload-pending",text:"Plugins changed. Run /reload-plugins to activate.",color:"suggestion",priority:"low"})},[W,O,z]),W?b:[]}
|
|
2
|
-
export{Lq as cb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{aoa as V}from"./cli-0.5.12-xzeb7mtb.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 sma,E0 as tma,I0 as uma,D0 as vma,b as wma,T as xma,K as yma,z as zma,B as Ama,x as Bma,k as Cma,m as Dma,G as Ema,O as Fma,y as Gma,l as Hma,o as Ima,i as Jma,D as Kma,R as Lma,x0 as Mma,O0 as Nma,M as Oma,p0 as Pma,j6 as Qma,nq as Rma};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{nh as H,ph as C}from"./cli-0.5.12-d158qgn4.mjs";import{qh as k,rh as y}from"./cli-0.5.12-bxsvvg0q.mjs";import{SZ as X,UZ as Y,ZZ as R}from"./cli-0.5.12-khvy67r3.mjs";import{Q3 as B,d4 as f,x0 as w,y0 as E}from"./cli-0.5.12-pycnjaeg.mjs";import{C4 as G,D4 as m}from"./cli-0.5.12-cbevkwg4.mjs";import{Bca as Q,Jaa as S,Jca as D,Maa as j,eba as x}from"./cli-0.5.12-g4wb8mj2.mjs";import{bfa as V,cfa as b}from"./cli-0.5.12-k1crwtdc.mjs";import{Dna as I,lna as W}from"./cli-0.5.12-495d826j.mjs";import{aoa as Z}from"./cli-0.5.12-xzeb7mtb.mjs";async function _(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests`;return(await W.post(J,L,{headers:K})).data}async function $(L,N){let{accessToken:P,orgUUID:K}=await X(),J={...Y(P),"x-organization-uuid":K},F=`${V().BASE_API_URL}/api/oauth/organizations/${K}/admin_requests/me?request_type=${L}`;for(let v of N)F+=`&statuses=${v}`;return(await W.get(F,{headers:J})).data}async function z(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests/eligibility?request_type=${L}`;return(await W.get(J,{headers:K})).data}var M=Z(()=>{I();b();R()});async function i(){if(!j().hasVisitedExtraUsage)S((J)=>({...J,hasVisitedExtraUsage:!0}));H();let L=B(),N=L==="team"||L==="enterprise";if(!w()&&N){let J;try{J=(await k())?.extra_usage}catch(F){Q(F)}if(J?.is_enabled&&J.monthly_limit===null)return{type:"message",value:"Your organization already has unlimited extra usage. No request needed."};try{if((await z("limit_increase"))?.is_allowed===!1)return{type:"message",value:"Please contact your admin to manage extra usage settings."}}catch(F){Q(F)}try{let F=await $("limit_increase",["pending","dismissed"]);if(F&&F.length>0)return{type:"message",value:"You have already submitted a request for extra usage to your admin."}}catch(F){Q(F)}try{return await _({request_type:"limit_increase",details:null}),{type:"message",value:J?.is_enabled?"Request sent to your admin to increase extra usage.":"Request sent to your admin to enable extra usage."}}catch(F){Q(F)}return{type:"message",value:"Please contact your admin to manage extra usage settings."}}let K=N?"https://claude.ai/admin-settings/usage":"https://claude.ai/settings/usage";try{let J=await G(K);return{type:"browser-opened",url:K,opened:J}}catch(J){return Q(J),{type:"message",value:`Failed to open browser. Please visit ${K} to manage extra usage.`}}}var A=Z(()=>{M();C();y();f();E();m();x();D()});
|
|
2
|
-
export{i as kh,A as lh};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{gd as m,hd as v,id as wk}from"./cli-0.5.12-k976aej3.mjs";import{Ps as l,Qs as Vk,UD as n,VD as V,WD as i,Yl as p,ZD as Tk,Zl as zk,fL as o,hL as t,kL as Dk,oL as e,pL as Uk,sC as g,tC as a,tO as r,uO as kk,vy as s,wy as Gk,yC as Lk,yO as jk}from"./cli-0.5.12-zc0qwdy2.mjs";import{P0 as d,R0 as Ok,n0 as T,s0 as Jk}from"./cli-0.5.12-pycnjaeg.mjs";import{j4 as f,k4 as Ik,u4 as c,x4 as Mk}from"./cli-0.5.12-8v5w8znc.mjs";import{l6 as S,q6 as _k}from"./cli-0.5.12-ecgx5n54.mjs";import{H$ as j,M6 as K,Maa as x,O6 as Zk,P7 as P,Qaa as b,T7 as $k,W$ as Kk,Zaa as u,eba as $,mca as _,pca as Hk}from"./cli-0.5.12-g4wb8mj2.mjs";import{jda as J,oda as Yk}from"./cli-0.5.12-vp5smcs1.mjs";import{bfa as L,cfa as Bk}from"./cli-0.5.12-k1crwtdc.mjs";import{fga as B,ifa as O,iga as U,kfa as Rk}from"./cli-0.5.12-p5ps8gf0.mjs";import{Gga as Xk,tga as h,zga as Y}from"./cli-0.5.12-tfdwzg37.mjs";import{Mga as E,Wga as Wk}from"./cli-0.5.12-60w1a0bs.mjs";import{Xja as F,Zja as y,nka as w,rma as z}from"./cli-0.5.12-c8f4daey.mjs";import{Qma as A,Rma as Qk}from"./cli-0.5.12-0qasc0ef.mjs";import{boa as W}from"./cli-0.5.12-xzeb7mtb.mjs";Yk();z();$();Qk();z();z();Vk();Ok();Lk();Tk();Bk();Hk();Jk();var G=!1;function D(){if(G)return;if(G=!0,T()!=="firstParty")return;let k=_()?.transport;if(k==="bedrock"||k==="vertex"||k==="foundry")return;if(process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||process.env.ANTHROPIC_UNIX_SOCKET||process.env.CLAUDE_CODE_CLIENT_CERT||process.env.CLAUDE_CODE_CLIENT_KEY)return;let q=_(),N=(q?.transport==="anthropic"?q.baseUrl:void 0)||L().BASE_API_URL;fetch(N,{method:"HEAD",signal:AbortSignal.timeout(1e4)}).catch(()=>{})}$();U();Kk();function C(){if(process.env.NODE_EXTRA_CA_CERTS)return;let k=Nk();if(k)process.env.NODE_EXTRA_CA_CERTS=k,B(`CA certs: Applied NODE_EXTRA_CA_CERTS from config to process.env: ${k}`)}function Nk(){try{let q=x()?.env,Q=j("userSettings")?.env;B(`CA certs: Config fallback - globalEnv keys: ${q?Object.keys(q).join(","):"none"}, settingsEnv keys: ${Q?Object.keys(Q).join(","):"none"}`);let R=Q?.NODE_EXTRA_CA_CERTS||q?.NODE_EXTRA_CA_CERTS;if(R)B(`CA certs: Found NODE_EXTRA_CA_CERTS in config/settings: ${R}`);return R}catch(k){B(`CA certs: Config fallback failed: ${k}`,{level:"error"});return}}Rk();$();U();_k();Zk();zk();Wk();Xk();jk();wk();Ik();Dk();Mk();Uk();Gk();$k();var I=!1,Yq=A(async()=>{let k=Date.now();K("info","init_started"),J("init_function_start");try{let q=Date.now();b(),K("info","init_configs_enabled",{duration_ms:Date.now()-q}),J("init_configs_enabled");let N=Date.now();if(m(),C(),K("info","init_safe_env_vars_applied",{duration_ms:Date.now()-N}),J("init_safe_env_vars_applied"),r(),J("init_after_graceful_shutdown"),Promise.all([import("./firstPartyEventLogger-0.5.12-jbg4z87y.mjs"),import("./growthbook-0.5.12-d3dr2a5b.mjs")]).then(([H,X])=>{H.initialize1PEventLogging(),X.onGrowthBookRefresh(()=>{H.reinitialize1PEventLoggingIfConfigChanged()})}),J("init_after_1p_event_logging"),d(),J("init_after_oauth_populate"),p(),J("init_after_jetbrains_detection"),S(),V())n();if(a())g();J("init_after_remote_settings_check"),u();let Q=Date.now();B("[init] configureGlobalMTLS starting"),f(),K("info","init_mtls_configured",{duration_ms:Date.now()-Q}),B("[init] configureGlobalMTLS complete");let R=Date.now();if(B("[init] configureGlobalAgents starting"),c(),K("info","init_proxy_configured",{duration_ms:Date.now()-R}),B("[init] configureGlobalAgents complete"),J("init_network_configured"),D(),E(process.env.CLAUDE_CODE_REMOTE))try{let{initUpstreamProxy:H,getUpstreamProxyEnv:X}=await import("./upstreamproxy-0.5.12-1v1wp95x.mjs"),{registerUpstreamProxyEnvFn:Z}=await import("./subprocessEnv-0.5.12-bbjh5kcq.mjs");Z(X),await H()}catch(H){B(`[init] upstreamproxy init failed: ${H instanceof Error?H.message:String(H)}; continuing without proxy`,{level:"warn"})}if(P(),O(l),O(async()=>{let{cleanupSessionTeams:H}=await import("./teamHelpers-0.5.12-4993s40p.mjs");await H()}),o()){let H=Date.now();await t(),K("info","init_scratchpad_created",{duration_ms:Date.now()-H})}K("info","init_completed",{duration_ms:Date.now()-k}),J("init_function_end")}catch(q){if(q instanceof h){if(w()){process.stderr.write(`Configuration error in ${q.filePath}: ${q.message}
|
|
2
|
-
`),kk(1);return}return import("./InvalidConfigDialog-0.5.12-q3wspzrk.mjs").then((N)=>N.showInvalidConfigDialog({error:q}))}else throw q}});function Zq(){if(V()){if(w()&&e())M().catch((k)=>{B(`[3P telemetry] Eager telemetry init failed (beta tracing): ${Y(k)}`,{level:"error"})});B("[3P telemetry] Waiting for remote managed settings before telemetry init"),i().then(async()=>{B("[3P telemetry] Remote managed settings loaded, initializing telemetry"),v(),await M()}).catch((k)=>{B(`[3P telemetry] Telemetry init failed (remote settings path): ${Y(k)}`,{level:"error"})})}else M().catch((k)=>{B(`[3P telemetry] Telemetry init failed: ${Y(k)}`,{level:"error"})})}async function M(){if(I)return;I=!0;try{await xk()}catch(k){throw I=!1,k}}async function xk(){let{initializeTelemetry:k}=await import("./instrumentation-0.5.12-t5wdqnhp.mjs"),q=await k();if(q)F(q,(Q,R)=>{let H=q?.createCounter(Q,R);return{add(X,Z={}){let qk={...s(),...Z};H?.add(X,qk)}}}),y()?.add(1)}
|
|
3
|
-
export{Yq as da,Zq as ea};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Bw as I,Cw as P,Fw as t,Kn as W,Ln as n}from"./cli-0.5.12-zc0qwdy2.mjs";import{JZ as H,KZ as p}from"./cli-0.5.12-5d3qcvf5.mjs";import{LZ as C,NZ as i}from"./cli-0.5.12-f141d2qa.mjs";import{F3 as R,L3 as V,d4 as l,e3 as v,n0 as S,s0 as c}from"./cli-0.5.12-pycnjaeg.mjs";import{Bca as D,Jaa as E,Jca as m,Maa as X,cca as T,dca as Y,eba as O,gaa as q,haa as u,jca as y,mca as k,pca as g}from"./cli-0.5.12-g4wb8mj2.mjs";import{Oda as G,Qda as f,Rda as $,Sda as h}from"./cli-0.5.12-7vxpqr5a.mjs";import{Yea as Z,bfa as _,cfa as M}from"./cli-0.5.12-k1crwtdc.mjs";import{fga as x,iga as b}from"./cli-0.5.12-p5ps8gf0.mjs";import{Dna as A,lna as Q}from"./cli-0.5.12-495d826j.mjs";import{aoa as U}from"./cli-0.5.12-xzeb7mtb.mjs";async function s(){if(q())return x("[Bootstrap] Skipped: Nonessential traffic disabled"),null;if(S()!=="firstParty")return x("[Bootstrap] Skipped: 3P provider"),null;let w=v();if(!(R()?.accessToken&&V())&&!w)return x("[Bootstrap] Skipped: no usable OAuth or API key"),null;let J=`${_().BASE_API_URL}/api/claude_cli/bootstrap`;try{return await H(async()=>{let j=R()?.accessToken,z;if(j&&V())z={Authorization:`Bearer ${j}`,"anthropic-beta":Z};else if(w)z={"x-api-key":w};else return x("[Bootstrap] No auth available on retry, aborting"),null;x("[Bootstrap] Fetching");let N=await Q.get(J,{headers:{"Content-Type":"application/json","User-Agent":C(),...z},timeout:5000}),B=d().safeParse(N.data);if(!B.success)return x(`[Bootstrap] Response failed validation: ${B.error.message}`),null;return x("[Bootstrap] Fetch ok"),B.data})}catch(j){if(Q.isAxiosError(j)){let z=j.response?.status??"no-response",N=j.code??"unknown-code",B=j.config?.method?.toUpperCase()??"UNKNOWN",K=j.config?.url??"unknown-url",L=j.message??"unknown axios error";x(`[Bootstrap] Fetch failed: status=${z} code=${N} method=${B} url=${K} message=${L}`)}else{let z=j instanceof Error?j.message:String(j);x(`[Bootstrap] Fetch failed: ${z}`)}throw j}}async function a(){let w=Y();if(!w?.startsWith("openai:"))return null;let{baseUrl:F}=T(),J=await P({baseUrl:F,apiKey:k()?.apiKey});if(J===null)return x("[Bootstrap] Local OpenAI model discovery failed"),null;let j=I(F);return{clientData:X().clientDataCache??null,additionalModelOptionsScope:w,additionalModelOptions:J.map((z)=>({value:z,label:z,description:`Detected from ${j}`}))}}async function Yj(){try{let w=Y(),F=null;if(w==="firstParty"){let B=await s();if(!B)return;F={clientData:B.client_data??null,additionalModelOptions:B.additional_model_options??[],additionalModelOptionsScope:w}}else if(w?.startsWith("openai:")){if(F=await a(),!F)return}else{x("[Bootstrap] Skipped: no additional model source");return}let{clientData:J,additionalModelOptions:j,additionalModelOptionsScope:z}=F,N=X();if(W(N.clientDataCache,J)&&W(N.additionalModelOptionsCache,j)&&N.additionalModelOptionsCacheScope===z){x("[Bootstrap] Cache unchanged, skipping write");return}x("[Bootstrap] Cache updated, persisting to disk"),E((B)=>({...B,clientDataCache:J,additionalModelOptionsCache:j,additionalModelOptionsCacheScope:z}))}catch(w){D(w)}}var d;var r=U(()=>{A();n();l();f();M();O();b();p();h();m();c();u();t();i();g();y();d=$(()=>G.object({client_data:G.record(G.string(),G.unknown()).nullish(),additional_model_options:G.array(G.object({model:G.string(),name:G.string(),description:G.string()}).transform(({model:w,name:F,description:J})=>({value:w,label:F,description:J}))).nullish()}))});
|
|
2
|
-
export{Yj as Kb,r as Lb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$na as Q,aoa as U}from"./cli-0.5.12-xzeb7mtb.mjs";var w={};Q(w,{default:()=>x,createSupportsColor:()=>K});import M from"node:process";import V from"node:os";import O from"node:tty";function z(q,B=globalThis.Deno?globalThis.Deno.args:M.argv){let D=q.startsWith("-")?"":q.length===1?"-":"--",E=B.indexOf(D+q),G=B.indexOf("--");return E!==-1&&(G===-1||E<G)}function X(){if(!("FORCE_COLOR"in j))return;if(j.FORCE_COLOR==="true")return 1;if(j.FORCE_COLOR==="false")return 0;if(j.FORCE_COLOR.length===0)return 1;let q=Math.min(Number.parseInt(j.FORCE_COLOR,10),3);if(![0,1,2,3].includes(q))return;return q}function Z(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function $(q,{streamIsTTY:B,sniffFlags:D=!0}={}){let E=X();if(E!==void 0)H=E;let G=D?H:E;if(G===0)return 0;if(D){if(z("color=16m")||z("color=full")||z("color=truecolor"))return 3;if(z("color=256"))return 2}if("TF_BUILD"in j&&"AGENT_NAME"in j)return 1;if(q&&!B&&G===void 0)return 0;let J=G||0;if(j.TERM==="dumb")return J;if(M.platform==="win32"){let A=V.release().split(".");if(Number(A[0])>=10&&Number(A[2])>=10586)return Number(A[2])>=14931?3:2;return 1}if("CI"in j){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((A)=>(A in j)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((A)=>(A in j))||j.CI_NAME==="codeship")return 1;return J}if("TEAMCITY_VERSION"in j)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(j.TEAMCITY_VERSION)?1:0;if(j.COLORTERM==="truecolor")return 3;if(j.TERM==="xterm-kitty")return 3;if(j.TERM==="xterm-ghostty")return 3;if(j.TERM==="wezterm")return 3;if("TERM_PROGRAM"in j){let A=Number.parseInt((j.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(j.TERM_PROGRAM){case"iTerm.app":return A>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(j.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(j.TERM))return 1;if("COLORTERM"in j)return 1;return J}function K(q,B={}){let D=$(q,{streamIsTTY:q&&q.isTTY,...B});return Z(D)}var j,H,b,x;var L=U(()=>{({env:j}=M);if(z("no-color")||z("no-colors")||z("color=false")||z("color=never"))H=0;else if(z("color")||z("colors")||z("color=true")||z("color=always"))H=1;b={stdout:K({isTTY:O.isatty(1)}),stderr:K({isTTY:O.isatty(2)})},x=b});
|
|
2
|
-
export{K as Jna,w as Kna,L as Lna};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{gn as Z,ln as G}from"./cli-0.5.12-zc0qwdy2.mjs";import{Bca as X,Jca as R}from"./cli-0.5.12-g4wb8mj2.mjs";import{Kfa as v,Lfa as B,Pfa as A,Tfa as C,Xfa as M,fga as U,iga as O}from"./cli-0.5.12-p5ps8gf0.mjs";import{aoa as b}from"./cli-0.5.12-xzeb7mtb.mjs";import{randomBytes as L}from"crypto";import{readFile as N,rename as S,unlink as T,writeFile as _}from"fs/promises";import{join as E}from"path";function Y(){return E(Z(),j)}function k(q){let x=B(q);if(typeof x!=="object"||x===null||!("plugins"in x)||typeof x.plugins!=="object"||x.plugins===null)return{};let z=x.plugins,J={};for(let[Q,K]of Object.entries(z))if(K&&typeof K==="object"&&"flaggedAt"in K&&typeof K.flaggedAt==="string"){let $={flaggedAt:K.flaggedAt};if("seenAt"in K&&typeof K.seenAt==="string")$.seenAt=K.seenAt;J[Q]=$}return J}async function V(){try{let q=await N(Y(),{encoding:"utf-8"});return k(q)}catch{return{}}}async function W(q){let x=Y(),z=`${x}.${L(8).toString("hex")}.tmp`;try{await C().mkdir(Z());let J=v({plugins:q},null,2);await _(z,J,{encoding:"utf-8",mode:384}),await S(z,x),H=q}catch(J){X(J);try{await T(z)}catch{}}}async function o(){let q=await V(),x=Date.now(),z=!1;for(let[J,Q]of Object.entries(q))if(Q.seenAt&&x-new Date(Q.seenAt).getTime()>=f)delete q[J],z=!0;if(H=q,z)await W(q)}function c(){return H??{}}async function p(q){if(H===null)H=await V();let x={...H,[q]:{flaggedAt:new Date().toISOString()}};await W(x),U(`Flagged plugin: ${q}`)}async function d(q){if(H===null)H=await V();let x=new Date().toISOString(),z=!1,J={...H};for(let Q of q){let K=J[Q];if(K&&!K.seenAt)J[Q]={...K,seenAt:x},z=!0}if(z)await W(J)}async function g(q){if(H===null)H=await V();if(!(q in H))return;let{[q]:x,...z}=H;H=z,await W(z)}var j="flagged-plugins.json",f=172800000,H=null;var w=b(()=>{O();M();R();A();G()});
|
|
2
|
-
export{o as qc,c as rc,p as sc,d as tc,g as uc,w as vc};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import{_na as y,boa as b}from"./cli-0.5.12-xzeb7mtb.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-0.5.12-cdvaqvrt.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 Rna,h1 as Sna,D0 as Tna,C$ as Una,F0 as Vna,ST as Wna,C0 as Xna};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$na as n,aoa as o}from"./cli-0.5.12-xzeb7mtb.mjs";var p={};n(p,{stripProtoFields:()=>e,logEventAsync:()=>c,logEvent:()=>i,attachAnalyticsSink:()=>r,_resetForTesting:()=>s});function e(t){return t}function r(){}function i(){}async function c(){}function s(){}var u=()=>{};
|
|
2
|
-
export{i as dfa,p as efa,u as ffa};
|