@claudiolabs/claudin 1.1.36 → 1.1.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/App-1.1.37-gvacrdsk.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.37-rnnbn40a.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.37-g6ta4m2v.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.37-pk4aghdz.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.37-hymvtk1w.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.37-p8fwd4tm.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.37-hb26z7b7.mjs +6 -0
- package/dist/chunks/Doctor-1.1.37-g60gf1vr.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.37-w0ek8efz.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.37-tp4qnkf7.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.37-5ds363er.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.37-qaz2nf35.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.37-cxe5gn9z.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.37-jsrbvfaa.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.37-kmfet3bc.mjs +1 -0
- package/dist/chunks/REPL-1.1.37-mx8g4asq.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.37-1j1egpzv.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.37-s6gpj3tk.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.37-06r6s8k3.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.37-vk5478hq.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.37-08ypek7f.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.37-j3j1tnac.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.37-dy4r3sef.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.37-r4p9gt6p.mjs +1 -0
- package/dist/chunks/add-dir-1.1.37-hsgnnqm5.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.37-e0zrjgxd.mjs +1 -0
- package/dist/chunks/agents-1.1.37-770krh9a.mjs +110 -0
- package/dist/chunks/agents-1.1.37-n5gk09na.mjs +3 -0
- package/dist/chunks/api-1.1.37-bwy6n0v8.mjs +1 -0
- package/dist/chunks/asciicast-1.1.37-t7zpdmt1.mjs +1 -0
- package/dist/chunks/auth-1.1.37-apskerg1.mjs +1 -0
- package/dist/chunks/auth-1.1.37-t0yjn0qg.mjs +1 -0
- package/dist/chunks/autoMode-1.1.37-a94rgbvb.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.37-8g5tdnzc.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.37-pe8hzmys.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.37-r98mdthk.mjs +1 -0
- package/dist/chunks/branch-1.1.37-1a761dqp.mjs +4 -0
- package/dist/chunks/bridge-1.1.37-djx2nh0s.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.37-wsz2v4gw.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.37-pht9tpgd.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.37-btaaq723.mjs +64 -0
- package/dist/chunks/bridgePointer-1.1.37-97bjx2gt.mjs +1 -0
- package/dist/chunks/btw-1.1.37-kzbnzfwv.mjs +1 -0
- package/dist/chunks/buddy-1.1.37-r155thdv.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.37-szdjedc6.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.37-zcq6bfv7.mjs +4 -0
- package/dist/chunks/caches-1.1.37-m3bsp8q4.mjs +1 -0
- package/dist/chunks/cd-1.1.37-bgh3jr0j.mjs +3 -0
- package/dist/chunks/claudeDesktop-1.1.37-d5rmp7j9.mjs +1 -0
- package/dist/chunks/claudemd-1.1.37-zqxz2brp.mjs +1 -0
- package/dist/chunks/clear-1.1.37-a28jd9f5.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.37-1vwtn9rv.mjs +1 -0
- package/dist/chunks/cli-1.1.37-07v28734.mjs +24 -0
- package/dist/chunks/cli-1.1.37-0g18ppvn.mjs +2 -0
- package/dist/chunks/cli-1.1.37-0t8trtcs.mjs +135 -0
- package/dist/chunks/cli-1.1.37-160hvn22.mjs +2 -0
- package/dist/chunks/cli-1.1.37-16r2w6eh.mjs +2 -0
- package/dist/chunks/cli-1.1.37-16ycb15m.mjs +2 -0
- package/dist/chunks/cli-1.1.37-1esm8vyn.mjs +2 -0
- package/dist/chunks/cli-1.1.37-1nx0h24b.mjs +34 -0
- package/dist/chunks/cli-1.1.37-1sn4ganc.mjs +6 -0
- package/dist/chunks/cli-1.1.37-22erav9m.mjs +2 -0
- package/dist/chunks/cli-1.1.37-240c02km.mjs +4 -0
- package/dist/chunks/cli-1.1.37-26cht952.mjs +4 -0
- package/dist/chunks/cli-1.1.37-2gsgt0yq.mjs +2 -0
- package/dist/chunks/cli-1.1.37-2xne39h9.mjs +6 -0
- package/dist/chunks/cli-1.1.37-37swmf5n.mjs +2 -0
- package/dist/chunks/cli-1.1.37-39bw2pz6.mjs +2 -0
- package/dist/chunks/cli-1.1.37-3j7g0j34.mjs +2 -0
- package/dist/chunks/cli-1.1.37-3k4d07av.mjs +2 -0
- package/dist/chunks/cli-1.1.37-3pyzesy7.mjs +2 -0
- package/dist/chunks/cli-1.1.37-41q5f236.mjs +63 -0
- package/dist/chunks/cli-1.1.37-422098yx.mjs +26 -0
- package/dist/chunks/cli-1.1.37-45phxq6t.mjs +2 -0
- package/dist/chunks/cli-1.1.37-46pcgpjk.mjs +5 -0
- package/dist/chunks/cli-1.1.37-4829k99z.mjs +8 -0
- package/dist/chunks/cli-1.1.37-4cwzzzkp.mjs +2 -0
- package/dist/chunks/cli-1.1.37-4cyg3kha.mjs +15 -0
- package/dist/chunks/cli-1.1.37-4s29t03n.mjs +2 -0
- package/dist/chunks/cli-1.1.37-519yanf4.mjs +2 -0
- package/dist/chunks/cli-1.1.37-51efrsrh.mjs +2 -0
- package/dist/chunks/cli-1.1.37-58pbecmv.mjs +2 -0
- package/dist/chunks/cli-1.1.37-5gj77q8j.mjs +2 -0
- package/dist/chunks/cli-1.1.37-5k40cazp.mjs +2 -0
- package/dist/chunks/cli-1.1.37-5ppknhpq.mjs +50 -0
- package/dist/chunks/cli-1.1.37-67ncf860.mjs +2 -0
- package/dist/chunks/cli-1.1.37-6defhmsy.mjs +2 -0
- package/dist/chunks/cli-1.1.37-6k9f1kb2.mjs +6 -0
- package/dist/chunks/cli-1.1.37-6pcx2j1q.mjs +2 -0
- package/dist/chunks/cli-1.1.37-72ezs6b8.mjs +2 -0
- package/dist/chunks/cli-1.1.37-7483gf56.mjs +3 -0
- package/dist/chunks/cli-1.1.37-7614bfhm.mjs +25 -0
- package/dist/chunks/cli-1.1.37-7f3hdq3p.mjs +2 -0
- package/dist/chunks/cli-1.1.37-7h3edez5.mjs +2 -0
- package/dist/chunks/cli-1.1.37-7prgb5qb.mjs +2 -0
- package/dist/chunks/cli-1.1.37-7qda9cmg.mjs +2 -0
- package/dist/chunks/cli-1.1.37-8n5vy3kh.mjs +2 -0
- package/dist/chunks/cli-1.1.37-8v3e4pnr.mjs +2 -0
- package/dist/chunks/cli-1.1.37-8wfxbqcm.mjs +20 -0
- package/dist/chunks/cli-1.1.37-944j3qt1.mjs +2 -0
- package/dist/chunks/cli-1.1.37-94bfnv5a.mjs +2 -0
- package/dist/chunks/cli-1.1.37-96sf5t1p.mjs +2 -0
- package/dist/chunks/cli-1.1.37-9x24mgyx.mjs +2 -0
- package/dist/chunks/cli-1.1.37-a3xp4gqs.mjs +3 -0
- package/dist/chunks/cli-1.1.37-a489vqjv.mjs +2 -0
- package/dist/chunks/cli-1.1.37-a5ddx2f0.mjs +2 -0
- package/dist/chunks/cli-1.1.37-a6pppj4k.mjs +2 -0
- package/dist/chunks/cli-1.1.37-a7jrq85d.mjs +2 -0
- package/dist/chunks/cli-1.1.37-ayhzfa69.mjs +2 -0
- package/dist/chunks/cli-1.1.37-ayqpwfm4.mjs +2 -0
- package/dist/chunks/cli-1.1.37-b26at90a.mjs +4 -0
- package/dist/chunks/cli-1.1.37-be0x6tdq.mjs +18 -0
- package/dist/chunks/cli-1.1.37-bkp0a6f1.mjs +2 -0
- package/dist/chunks/cli-1.1.37-cmbtcpwy.mjs +2 -0
- package/dist/chunks/cli-1.1.37-crpgw5qe.mjs +133 -0
- package/dist/chunks/cli-1.1.37-cw718qh8.mjs +42 -0
- package/dist/chunks/cli-1.1.37-d1fcgxg0.mjs +2 -0
- package/dist/chunks/cli-1.1.37-d23vxnm9.mjs +2 -0
- package/dist/chunks/cli-1.1.37-d6n91ex7.mjs +15 -0
- package/dist/chunks/cli-1.1.37-dj2tqhmt.mjs +2 -0
- package/dist/chunks/cli-1.1.37-dt1m5cht.mjs +2 -0
- package/dist/chunks/cli-1.1.37-ecm5tm4s.mjs +2 -0
- package/dist/chunks/cli-1.1.37-ekft3ygw.mjs +2 -0
- package/dist/chunks/cli-1.1.37-ev14s3y6.mjs +4 -0
- package/dist/chunks/cli-1.1.37-ex5tn3t8.mjs +6 -0
- package/dist/chunks/cli-1.1.37-f4cc288j.mjs +2 -0
- package/dist/chunks/cli-1.1.37-f7e57y66.mjs +2 -0
- package/dist/chunks/cli-1.1.37-f9mv7jky.mjs +2 -0
- package/dist/chunks/cli-1.1.37-fdkc3sf9.mjs +2 -0
- package/dist/chunks/cli-1.1.37-fksjv0et.mjs +2 -0
- package/dist/chunks/cli-1.1.37-fsjyvbbb.mjs +2 -0
- package/dist/chunks/cli-1.1.37-g7m905sy.mjs +3 -0
- package/dist/chunks/cli-1.1.37-g7xfccj8.mjs +2 -0
- package/dist/chunks/cli-1.1.37-g9d8qc79.mjs +2 -0
- package/dist/chunks/cli-1.1.37-gfbpxehy.mjs +2 -0
- package/dist/chunks/cli-1.1.37-gpk56nss.mjs +2 -0
- package/dist/chunks/cli-1.1.37-grsmntjy.mjs +5557 -0
- package/dist/chunks/cli-1.1.37-gswxz7xc.mjs +25 -0
- package/dist/chunks/cli-1.1.37-h0jx10pf.mjs +11 -0
- package/dist/chunks/cli-1.1.37-h4spe8tn.mjs +16 -0
- package/dist/chunks/cli-1.1.37-h7r11vsm.mjs +15 -0
- package/dist/chunks/cli-1.1.37-he99jbx1.mjs +2 -0
- package/dist/chunks/cli-1.1.37-hef24tpw.mjs +3 -0
- package/dist/chunks/cli-1.1.37-hgz1n58h.mjs +2 -0
- package/dist/chunks/cli-1.1.37-htprtn3s.mjs +2 -0
- package/dist/chunks/cli-1.1.37-hwan9xgw.mjs +2 -0
- package/dist/chunks/cli-1.1.37-j1vf4g9d.mjs +4 -0
- package/dist/chunks/cli-1.1.37-j6kremq2.mjs +2 -0
- package/dist/chunks/cli-1.1.37-jb5tx7mz.mjs +2 -0
- package/dist/chunks/cli-1.1.37-jbqk7r70.mjs +2 -0
- package/dist/chunks/cli-1.1.37-jfqs1fqm.mjs +2 -0
- package/dist/chunks/cli-1.1.37-jr1vseya.mjs +4 -0
- package/dist/chunks/cli-1.1.37-jr69vbpp.mjs +3 -0
- package/dist/chunks/cli-1.1.37-jv2bhmv9.mjs +2 -0
- package/dist/chunks/cli-1.1.37-jz75ctqt.mjs +4 -0
- package/dist/chunks/cli-1.1.37-kahw2epk.mjs +39 -0
- package/dist/chunks/cli-1.1.37-kb946f3c.mjs +2 -0
- package/dist/chunks/cli-1.1.37-kemsps6y.mjs +60 -0
- package/dist/chunks/cli-1.1.37-khfxdt5q.mjs +2 -0
- package/dist/chunks/cli-1.1.37-kn42c81a.mjs +3 -0
- package/dist/chunks/cli-1.1.37-kwaccfak.mjs +2 -0
- package/dist/chunks/cli-1.1.37-m1fep5be.mjs +2 -0
- package/dist/chunks/cli-1.1.37-m456xrwv.mjs +2 -0
- package/dist/chunks/cli-1.1.37-m5yt8y0j.mjs +2 -0
- package/dist/chunks/cli-1.1.37-m6gntr6v.mjs +2 -0
- package/dist/chunks/cli-1.1.37-ma9krcyk.mjs +2 -0
- package/dist/chunks/cli-1.1.37-mexv9k9t.mjs +2 -0
- package/dist/chunks/cli-1.1.37-mf2q6gmp.mjs +2 -0
- package/dist/chunks/cli-1.1.37-mqc9bwxe.mjs +2 -0
- package/dist/chunks/cli-1.1.37-mrvnfwyz.mjs +2 -0
- package/dist/chunks/cli-1.1.37-mw2jz1zw.mjs +7 -0
- package/dist/chunks/cli-1.1.37-n183zk9b.mjs +24 -0
- package/dist/chunks/cli-1.1.37-n5rtec8d.mjs +2 -0
- package/dist/chunks/cli-1.1.37-n96tca8q.mjs +2 -0
- package/dist/chunks/cli-1.1.37-ncfrm58b.mjs +2 -0
- package/dist/chunks/cli-1.1.37-nhcj6483.mjs +2 -0
- package/dist/chunks/cli-1.1.37-nmaxyg7j.mjs +2 -0
- package/dist/chunks/cli-1.1.37-nzbxb3mg.mjs +2 -0
- package/dist/chunks/cli-1.1.37-p6s3mz30.mjs +9 -0
- package/dist/chunks/cli-1.1.37-pek0pwba.mjs +2 -0
- package/dist/chunks/cli-1.1.37-ptf1j7na.mjs +2 -0
- package/dist/chunks/cli-1.1.37-pvh445g5.mjs +3 -0
- package/dist/chunks/cli-1.1.37-pw36zafa.mjs +2 -0
- package/dist/chunks/cli-1.1.37-q1053cc2.mjs +17 -0
- package/dist/chunks/cli-1.1.37-qcn1j79h.mjs +2 -0
- package/dist/chunks/cli-1.1.37-qq29akkh.mjs +2 -0
- package/dist/chunks/cli-1.1.37-qx20qhv7.mjs +2 -0
- package/dist/chunks/cli-1.1.37-rdmqbzqh.mjs +2 -0
- package/dist/chunks/cli-1.1.37-rwsh9ddm.mjs +3 -0
- package/dist/chunks/cli-1.1.37-ryrmx9mz.mjs +10 -0
- package/dist/chunks/cli-1.1.37-s09fpmwg.mjs +2 -0
- package/dist/chunks/cli-1.1.37-s66bx6wx.mjs +24 -0
- package/dist/chunks/cli-1.1.37-sf9mv58v.mjs +10 -0
- package/dist/chunks/cli-1.1.37-sm7wj6sf.mjs +4 -0
- package/dist/chunks/cli-1.1.37-sqyyjrzq.mjs +5 -0
- package/dist/chunks/cli-1.1.37-ss1k0v1c.mjs +2 -0
- package/dist/chunks/cli-1.1.37-ssstmvw3.mjs +3 -0
- package/dist/chunks/cli-1.1.37-sxzqtyda.mjs +2 -0
- package/dist/chunks/cli-1.1.37-syfanvjj.mjs +2 -0
- package/dist/chunks/cli-1.1.37-sygz2s62.mjs +2 -0
- package/dist/chunks/cli-1.1.37-tkdarzaz.mjs +2 -0
- package/dist/chunks/cli-1.1.37-tntw41wr.mjs +2 -0
- package/dist/chunks/cli-1.1.37-tqgcfdy1.mjs +2 -0
- package/dist/chunks/cli-1.1.37-v43zxjn1.mjs +2 -0
- package/dist/chunks/cli-1.1.37-v7ra9bdg.mjs +10 -0
- package/dist/chunks/cli-1.1.37-v901k2xy.mjs +2 -0
- package/dist/chunks/cli-1.1.37-v90enr9t.mjs +2 -0
- package/dist/chunks/cli-1.1.37-vfcg5s15.mjs +2 -0
- package/dist/chunks/cli-1.1.37-vg7rr3sv.mjs +2 -0
- package/dist/chunks/cli-1.1.37-vhmf8afh.mjs +2 -0
- package/dist/chunks/cli-1.1.37-vhmsvame.mjs +2 -0
- package/dist/chunks/cli-1.1.37-vrdgh1e0.mjs +2 -0
- package/dist/chunks/cli-1.1.37-w0tvj01c.mjs +2 -0
- package/dist/chunks/cli-1.1.37-wm28b2wb.mjs +2 -0
- package/dist/chunks/cli-1.1.37-wv9phckk.mjs +9 -0
- package/dist/chunks/cli-1.1.37-x03y4qkg.mjs +2 -0
- package/dist/chunks/cli-1.1.37-x0nz472y.mjs +2 -0
- package/dist/chunks/cli-1.1.37-x27pf2df.mjs +2 -0
- package/dist/chunks/cli-1.1.37-x363x6yv.mjs +12 -0
- package/dist/chunks/cli-1.1.37-xqs4w5xj.mjs +2 -0
- package/dist/chunks/cli-1.1.37-xxa2yvvm.mjs +2 -0
- package/dist/chunks/cli-1.1.37-y101rdsg.mjs +2 -0
- package/dist/chunks/cli-1.1.37-y2c4zsfh.mjs +6 -0
- package/dist/chunks/cli-1.1.37-y3knvtaz.mjs +2 -0
- package/dist/chunks/cli-1.1.37-ye5hkqff.mjs +2 -0
- package/dist/chunks/cli-1.1.37-yx7j10g7.mjs +2 -0
- package/dist/chunks/cli-1.1.37-z0tedaby.mjs +2 -0
- package/dist/chunks/cli-1.1.37-z414tkgs.mjs +2 -0
- package/dist/chunks/cli-1.1.37-z4wav0zf.mjs +251 -0
- package/dist/chunks/cli-1.1.37-z6pkdynf.mjs +2 -0
- package/dist/chunks/cli-1.1.37-z9fbkmx6.mjs +2 -0
- package/dist/chunks/cli-1.1.37-zb319x4t.mjs +21 -0
- package/dist/chunks/cli-1.1.37-zdpyj00a.mjs +2 -0
- package/dist/chunks/cli-1.1.37-zmvkkbkz.mjs +2 -0
- package/dist/chunks/cli-1.1.37-zp02yw3a.mjs +7 -0
- package/dist/chunks/cli-1.1.37-zv5qmddr.mjs +2 -0
- package/dist/chunks/cli-1.1.37-zyh3q51q.mjs +2 -0
- package/dist/chunks/client-1.1.37-xgmkbazy.mjs +1 -0
- package/dist/chunks/color-1.1.37-y730edtg.mjs +1 -0
- package/dist/chunks/compact-1.1.37-w4h4spv3.mjs +2 -0
- package/dist/chunks/config-1.1.37-kw2by168.mjs +1 -0
- package/dist/chunks/config-1.1.37-nxkma2y7.mjs +1 -0
- package/dist/chunks/constants-1.1.37-ctp81rsa.mjs +1 -0
- package/dist/chunks/context-1.1.37-ayxgyhvf.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.37-9fnpakkn.mjs +1 -0
- package/dist/chunks/conversation-1.1.37-c5qptech.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.37-2jh9xkzj.mjs +1 -0
- package/dist/chunks/copy-1.1.37-3x6yh3re.mjs +9 -0
- package/dist/chunks/cost-1.1.37-k4egf2cb.mjs +1 -0
- package/dist/chunks/createSession-1.1.37-ps0330f5.mjs +1 -0
- package/dist/chunks/debug-1.1.37-rg6428fc.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.37-0p69kpbf.mjs +1458 -0
- package/dist/chunks/desktop-1.1.37-vw4rzhtp.mjs +2 -0
- package/dist/chunks/detectRepository-1.1.37-de5st3z1.mjs +1 -0
- package/dist/chunks/detection-1.1.37-2ah57ykf.mjs +1 -0
- package/dist/chunks/diff-1.1.37-h35ry5bf.mjs +1 -0
- package/dist/chunks/doctor-1.1.37-4sdv75rj.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.37-aj2q1yxr.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.37-f1bz41ba.mjs +1 -0
- package/dist/chunks/effort-1.1.37-qme7s71h.mjs +13 -0
- package/dist/chunks/engine-1.1.37-vhnerrj8.mjs +1 -0
- package/dist/chunks/envUtils-1.1.37-jmnztajb.mjs +1 -0
- package/dist/chunks/errors-1.1.37-gx18q68s.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.37-jeewe5zp.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.37-9znv87jk.mjs +1 -0
- package/dist/chunks/exit-1.1.37-g21nsxb0.mjs +1 -0
- package/dist/chunks/explorer-1.1.37-x26rvwxm.mjs +1 -0
- package/dist/chunks/export-1.1.37-f9367qzp.mjs +2 -0
- package/dist/chunks/fast-1.1.37-66kcejyq.mjs +1 -0
- package/dist/chunks/feedback-1.1.37-cmzfc89p.mjs +16 -0
- package/dist/chunks/git-1.1.37-2v8rmfsp.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.37-qa9ahy75.mjs +1 -0
- package/dist/chunks/goal-1.1.37-qxqx92gp.mjs +4 -0
- package/dist/chunks/headless-1.1.37-dkg8aqth.mjs +2 -0
- package/dist/chunks/heapdump-1.1.37-4hzv26jg.mjs +6 -0
- package/dist/chunks/help-1.1.37-94a27s9t.mjs +1 -0
- package/dist/chunks/hooks-1.1.37-ekx4v46c.mjs +79 -0
- package/dist/chunks/hooks-1.1.37-yeewd50h.mjs +1 -0
- package/dist/chunks/ide-1.1.37-knedgvva.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.37-cdpery4t.mjs +1 -0
- package/dist/chunks/import-1.1.37-e6j4yen6.mjs +261 -0
- package/dist/chunks/inboundAttachments-1.1.37-jjm28zc3.mjs +1 -0
- package/dist/chunks/index-1.1.37-21b053j0.mjs +1 -0
- package/dist/chunks/index-1.1.37-3v1qr5g5.mjs +9 -0
- package/dist/chunks/index-1.1.37-5jd6yv91.mjs +1 -0
- package/dist/chunks/index-1.1.37-5m0x7mgr.mjs +2 -0
- package/dist/chunks/index-1.1.37-7p4s9e93.mjs +5 -0
- package/dist/chunks/index-1.1.37-8d8wz2jd.mjs +1 -0
- package/dist/chunks/index-1.1.37-8nj0y31t.mjs +1 -0
- package/dist/chunks/index-1.1.37-9mdrpppp.mjs +1 -0
- package/dist/chunks/index-1.1.37-fsrw22yr.mjs +1 -0
- package/dist/chunks/index-1.1.37-gbkrjwx2.mjs +1 -0
- package/dist/chunks/index-1.1.37-j22mymj3.mjs +1 -0
- package/dist/chunks/index-1.1.37-j7mg2v2z.mjs +1 -0
- package/dist/chunks/index-1.1.37-jt0qvhqx.mjs +9 -0
- package/dist/chunks/index-1.1.37-kqbx8bd4.mjs +1 -0
- package/dist/chunks/index-1.1.37-md3nqn7b.mjs +1 -0
- package/dist/chunks/index-1.1.37-nvrt1jkm.mjs +1 -0
- package/dist/chunks/index-1.1.37-qs532q75.mjs +2 -0
- package/dist/chunks/index-1.1.37-vrf2sks4.mjs +1 -0
- package/dist/chunks/index-1.1.37-w2vtqz1f.mjs +30 -0
- package/dist/chunks/index-1.1.37-wtf428dj.mjs +1 -0
- package/dist/chunks/index-1.1.37-x3qnjdnj.mjs +23 -0
- package/dist/chunks/index-1.1.37-xvds1tk7.mjs +1 -0
- package/dist/chunks/index-1.1.37-ycghwm8a.mjs +1 -0
- package/dist/chunks/init-1.1.37-rej95xjh.mjs +2 -0
- package/dist/chunks/initReplBridge-1.1.37-fg8xhcbg.mjs +1 -0
- package/dist/chunks/ink-1.1.37-9hasxe0p.mjs +1 -0
- package/dist/chunks/insights-1.1.37-t8pdcny6.mjs +870 -0
- package/dist/chunks/install-1.1.37-3qw7jywz.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.37-xxm8pfc7.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.37-k2gvh481.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.37-65a5va0g.mjs +1 -0
- package/dist/chunks/latestVersionCache-1.1.37-3a47ekt3.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.37-tacjzkxh.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.37-xp0k0sev.mjs +1 -0
- package/dist/chunks/log-1.1.37-zxjr2p0h.mjs +1 -0
- package/dist/chunks/main-1.1.37-z5knsc2c.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.37-v6d9x7gc.mjs +1 -0
- package/dist/chunks/mcp-1.1.37-2f8vksgy.mjs +1 -0
- package/dist/chunks/mcp-1.1.37-t42e1h6v.mjs +17 -0
- package/dist/chunks/mcp-1.1.37-z5yx7ce8.mjs +4 -0
- package/dist/chunks/mcpb-1.1.37-nxn1ew24.mjs +1 -0
- package/dist/chunks/memory-1.1.37-e17frzj2.mjs +128 -0
- package/dist/chunks/model-1.1.37-415ebhh8.mjs +2 -0
- package/dist/chunks/model-1.1.37-51zfsc21.mjs +1 -0
- package/dist/chunks/new-1.1.37-qmpxmvhh.mjs +1 -0
- package/dist/chunks/node-1.1.37-60r1zc7a.mjs +1 -0
- package/dist/chunks/node-1.1.37-bzzjhz9b.mjs +15 -0
- package/dist/chunks/oauth-1.1.37-an1mr5z0.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.37-d7tbje1m.mjs +14 -0
- package/dist/chunks/output-style-1.1.37-ky7bh1p8.mjs +1 -0
- package/dist/chunks/package-F6O7J2XI-1.1.37-cpdvge3d.mjs +1 -0
- package/dist/chunks/permissions-1.1.37-jfdwfjhx.mjs +1 -0
- package/dist/chunks/permissions-1.1.37-xa1rr619.mjs +3 -0
- package/dist/chunks/plan-1.1.37-mkad4kke.mjs +1 -0
- package/dist/chunks/plist-1.1.37-jp82073r.mjs +1 -0
- package/dist/chunks/plugin-1.1.37-4y7stngn.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.37-mb876t1m.mjs +1 -0
- package/dist/chunks/plugins-1.1.37-vgwj76jr.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.37-y5x9wxpb.mjs +2 -0
- package/dist/chunks/print-1.1.37-39471kxm.mjs +57 -0
- package/dist/chunks/process-1.1.37-0sxw7yj7.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.37-3a9hjw0c.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.37-qkdzw4bn.mjs +9 -0
- package/dist/chunks/prompt-1.1.37-7ty4xbzv.mjs +1 -0
- package/dist/chunks/prompt-1.1.37-t1pkc4hm.mjs +1 -0
- package/dist/chunks/prompts-1.1.37-vc8tkqtx.mjs +1 -0
- package/dist/chunks/provider-1.1.37-d5ky3fex.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.37-qds9eqzt.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.37-njz9qc5m.mjs +6 -0
- package/dist/chunks/registerSubcommands-1.1.37-mh25jf7y.mjs +26 -0
- package/dist/chunks/registry-1.1.37-j99mgf8f.mjs +1 -0
- package/dist/chunks/release-notes-1.1.37-9gkg8tfr.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.37-4sptja72.mjs +2 -0
- package/dist/chunks/remote-env-1.1.37-t2zt0dx6.mjs +1 -0
- package/dist/chunks/rename-1.1.37-r3rf1zcp.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.37-q72zpdec.mjs +1 -0
- package/dist/chunks/resume-1.1.37-7y7v8kjq.mjs +2 -0
- package/dist/chunks/rewind-1.1.37-g7g9fq2x.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.37-gab9zhq2.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.37-hfkacx24.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.37-0z182pcd.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.37-qpef07xe.mjs +1 -0
- package/dist/chunks/session-1.1.37-23e3vg40.mjs +2 -0
- package/dist/chunks/sessionStorage-1.1.37-80sj7d1y.mjs +1 -0
- package/dist/chunks/settings-1.1.37-9ydtb00s.mjs +1 -0
- package/dist/chunks/setup-1.1.37-zw16kqhk.mjs +12 -0
- package/dist/chunks/sinks-1.1.37-zfyvj9zb.mjs +1 -0
- package/dist/chunks/skills-1.1.37-k5m03dxr.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.37-c215kgmn.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.37-gkvkp8j3.mjs +1 -0
- package/dist/chunks/state-1.1.37-n5ptmgvs.mjs +1 -0
- package/dist/chunks/stats-1.1.37-aa4vr5s9.mjs +1 -0
- package/dist/chunks/status-1.1.37-ay3wwhz4.mjs +1 -0
- package/dist/chunks/stickers-1.1.37-9s6a0we7.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.37-j60ejzj9.mjs +1 -0
- package/dist/chunks/tasks-1.1.37-0kkyatcs.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.37-bh946f2s.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.37-hvr3p8hm.mjs +1 -0
- package/dist/chunks/teleport-1.1.37-r8pztaf5.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.37-db8a6fsx.mjs +1 -0
- package/dist/chunks/theme-1.1.37-syjd1g1y.mjs +1 -0
- package/dist/chunks/toolPool-1.1.37-99ckwfft.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.37-w702g2e2.mjs +1 -0
- package/dist/chunks/tools-1.1.37-q0g8gdy1.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.37-p3av7xdw.mjs +69 -0
- package/dist/chunks/types-1.1.37-0zw1rq84.mjs +1 -0
- package/dist/chunks/update-1.1.37-njeg6bcd.mjs +72 -0
- package/dist/chunks/upload-1.1.37-gzm0qpn7.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.37-v8bpt97q.mjs +14 -0
- package/dist/chunks/usage-1.1.37-b2a8dppj.mjs +1 -0
- package/dist/chunks/util-1.1.37-psbfj1x5.mjs +1 -0
- package/dist/chunks/utils-1.1.37-efqgjtyn.mjs +1 -0
- package/dist/chunks/vim-1.1.37-3vwhey1j.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.37-hmgj516c.mjs +13 -0
- package/dist/chunks/wiki-1.1.37-y24wnewk.mjs +132 -0
- package/dist/chunks/workflows-1.1.37-eywdbk9a.mjs +1 -0
- package/dist/chunks/worktree-1.1.37-k9y7x7fq.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.37-bq8bmkt7.mjs +1 -0
- package/dist/chunks/wrapper-1.1.37-mam70w68.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/App-1.1.36-4ypa2ky6.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.36-r5r4cwsv.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.36-v3mtkjve.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.36-m4wb4rn1.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.36-7v5ebgve.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.36-xpxzdymv.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.36-f49re5tc.mjs +0 -6
- package/dist/chunks/Doctor-1.1.36-2dspbc9p.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.36-9ajm3kh8.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.36-js7zf4na.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.36-4qp5v3qb.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.36-vesfpg6k.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.36-bg3y18da.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.36-n2rz26c0.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.36-tr7atyyg.mjs +0 -1
- package/dist/chunks/REPL-1.1.36-k3q58fha.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.36-qa0m768f.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.36-sg79pgf7.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.36-2q0d269f.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.36-rngjq7f6.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.36-mrzttk9n.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.36-ycekhs3r.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.36-awrjghme.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.36-r7zqb99r.mjs +0 -1
- package/dist/chunks/add-dir-1.1.36-mrfh3vg4.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.36-50aq6x28.mjs +0 -1
- package/dist/chunks/agents-1.1.36-p154bdnq.mjs +0 -110
- package/dist/chunks/agents-1.1.36-qvdrqv2q.mjs +0 -3
- package/dist/chunks/api-1.1.36-fw1zvw5c.mjs +0 -1
- package/dist/chunks/asciicast-1.1.36-pabx88c3.mjs +0 -1
- package/dist/chunks/auth-1.1.36-nxs2defd.mjs +0 -1
- package/dist/chunks/auth-1.1.36-vxpyyv86.mjs +0 -1
- package/dist/chunks/autoMode-1.1.36-ew03cpb1.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.36-m3aspqak.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.36-dvg6tvq8.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.36-q1ejq881.mjs +0 -1
- package/dist/chunks/branch-1.1.36-ev37nqdg.mjs +0 -4
- package/dist/chunks/bridge-1.1.36-1yp5eghy.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.36-yxs52053.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.36-ghh2yqhm.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.36-6v5c06t6.mjs +0 -64
- package/dist/chunks/bridgePointer-1.1.36-2rgfyyde.mjs +0 -1
- package/dist/chunks/btw-1.1.36-065ma89f.mjs +0 -1
- package/dist/chunks/buddy-1.1.36-a1z9gs49.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.36-bvheegzj.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.36-0bq3fz34.mjs +0 -4
- package/dist/chunks/caches-1.1.36-8swj463y.mjs +0 -1
- package/dist/chunks/cd-1.1.36-wwqk3h8r.mjs +0 -3
- package/dist/chunks/claudeDesktop-1.1.36-325wbhtb.mjs +0 -1
- package/dist/chunks/claudemd-1.1.36-2vv85v0v.mjs +0 -1
- package/dist/chunks/clear-1.1.36-xnqf2tm7.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.36-g72pkm2k.mjs +0 -1
- package/dist/chunks/cli-1.1.36-02vb8r9t.mjs +0 -2
- package/dist/chunks/cli-1.1.36-0ar5v8he.mjs +0 -2
- package/dist/chunks/cli-1.1.36-0d7qj290.mjs +0 -2
- package/dist/chunks/cli-1.1.36-0qdd3hmz.mjs +0 -2
- package/dist/chunks/cli-1.1.36-0qtyffhw.mjs +0 -2
- package/dist/chunks/cli-1.1.36-0v8c69pm.mjs +0 -2
- package/dist/chunks/cli-1.1.36-0zzq8bfp.mjs +0 -2
- package/dist/chunks/cli-1.1.36-12bsh7j9.mjs +0 -2
- package/dist/chunks/cli-1.1.36-1dhxpexj.mjs +0 -2
- package/dist/chunks/cli-1.1.36-1dr6aakq.mjs +0 -2
- package/dist/chunks/cli-1.1.36-1fmfztzp.mjs +0 -2
- package/dist/chunks/cli-1.1.36-1yk5zdh0.mjs +0 -2
- package/dist/chunks/cli-1.1.36-1z1m015s.mjs +0 -2
- package/dist/chunks/cli-1.1.36-2720p0e9.mjs +0 -2
- package/dist/chunks/cli-1.1.36-2awc366j.mjs +0 -2
- package/dist/chunks/cli-1.1.36-2mqhd52j.mjs +0 -2
- package/dist/chunks/cli-1.1.36-2sbmjg5a.mjs +0 -2
- package/dist/chunks/cli-1.1.36-33pcdm87.mjs +0 -2
- package/dist/chunks/cli-1.1.36-34sqd3h3.mjs +0 -15
- package/dist/chunks/cli-1.1.36-3fe93rwy.mjs +0 -2
- package/dist/chunks/cli-1.1.36-3gx0bht8.mjs +0 -4
- package/dist/chunks/cli-1.1.36-3kd43x1y.mjs +0 -2
- package/dist/chunks/cli-1.1.36-3mmakdzj.mjs +0 -2
- package/dist/chunks/cli-1.1.36-3xkn8kcw.mjs +0 -2
- package/dist/chunks/cli-1.1.36-3z14wtaa.mjs +0 -2
- package/dist/chunks/cli-1.1.36-40x4f5k7.mjs +0 -34
- package/dist/chunks/cli-1.1.36-422dmh6w.mjs +0 -2
- package/dist/chunks/cli-1.1.36-43fkjqy9.mjs +0 -2
- package/dist/chunks/cli-1.1.36-451x9avw.mjs +0 -2
- package/dist/chunks/cli-1.1.36-4ajy0ys9.mjs +0 -2
- package/dist/chunks/cli-1.1.36-4g1wf6an.mjs +0 -2
- package/dist/chunks/cli-1.1.36-4jwgcerx.mjs +0 -2
- package/dist/chunks/cli-1.1.36-4pfza5vq.mjs +0 -2
- package/dist/chunks/cli-1.1.36-4ssz80b2.mjs +0 -60
- package/dist/chunks/cli-1.1.36-5de80y14.mjs +0 -26
- package/dist/chunks/cli-1.1.36-5few49rp.mjs +0 -7
- package/dist/chunks/cli-1.1.36-5kmv74s2.mjs +0 -2
- package/dist/chunks/cli-1.1.36-5nkhhy5f.mjs +0 -7
- package/dist/chunks/cli-1.1.36-5nkv3yj2.mjs +0 -2
- package/dist/chunks/cli-1.1.36-5zzwcyt7.mjs +0 -2
- package/dist/chunks/cli-1.1.36-659qh6fs.mjs +0 -15
- package/dist/chunks/cli-1.1.36-65fkb20j.mjs +0 -12
- package/dist/chunks/cli-1.1.36-69zmc79s.mjs +0 -2
- package/dist/chunks/cli-1.1.36-6g1w2zbr.mjs +0 -4
- package/dist/chunks/cli-1.1.36-6jv1ss2p.mjs +0 -2
- package/dist/chunks/cli-1.1.36-6q7sfj4e.mjs +0 -4
- package/dist/chunks/cli-1.1.36-6yqvdwyp.mjs +0 -2
- package/dist/chunks/cli-1.1.36-703pmf6z.mjs +0 -135
- package/dist/chunks/cli-1.1.36-72hptg9d.mjs +0 -2
- package/dist/chunks/cli-1.1.36-72p8zdsg.mjs +0 -2
- package/dist/chunks/cli-1.1.36-72sph7cp.mjs +0 -3
- package/dist/chunks/cli-1.1.36-775g6c3z.mjs +0 -2
- package/dist/chunks/cli-1.1.36-789jh18m.mjs +0 -2
- package/dist/chunks/cli-1.1.36-79jcadbx.mjs +0 -2
- package/dist/chunks/cli-1.1.36-7byzkddk.mjs +0 -3
- package/dist/chunks/cli-1.1.36-7tprmtpr.mjs +0 -2
- package/dist/chunks/cli-1.1.36-7xx3rm4x.mjs +0 -2
- package/dist/chunks/cli-1.1.36-7ywn6pq1.mjs +0 -2
- package/dist/chunks/cli-1.1.36-7z5n90ex.mjs +0 -3
- package/dist/chunks/cli-1.1.36-80gqbr44.mjs +0 -2
- package/dist/chunks/cli-1.1.36-814rb1qn.mjs +0 -2
- package/dist/chunks/cli-1.1.36-89dhnv3q.mjs +0 -2
- package/dist/chunks/cli-1.1.36-8k2z8yvv.mjs +0 -4
- package/dist/chunks/cli-1.1.36-8mc299mk.mjs +0 -6
- package/dist/chunks/cli-1.1.36-8s4n3bf2.mjs +0 -2
- package/dist/chunks/cli-1.1.36-8vncd2t8.mjs +0 -2
- package/dist/chunks/cli-1.1.36-90xk1ctt.mjs +0 -4
- package/dist/chunks/cli-1.1.36-97zq0wp5.mjs +0 -2
- package/dist/chunks/cli-1.1.36-9k371kgm.mjs +0 -15
- package/dist/chunks/cli-1.1.36-9xnre98h.mjs +0 -2
- package/dist/chunks/cli-1.1.36-a4gh459t.mjs +0 -2
- package/dist/chunks/cli-1.1.36-adsb7266.mjs +0 -2
- package/dist/chunks/cli-1.1.36-ahr5fnjy.mjs +0 -2
- package/dist/chunks/cli-1.1.36-apycha28.mjs +0 -2
- package/dist/chunks/cli-1.1.36-as3jtdj6.mjs +0 -4
- package/dist/chunks/cli-1.1.36-aypab30m.mjs +0 -2
- package/dist/chunks/cli-1.1.36-b0rge62y.mjs +0 -133
- package/dist/chunks/cli-1.1.36-b54n0msa.mjs +0 -2
- package/dist/chunks/cli-1.1.36-b77v7k9g.mjs +0 -3
- package/dist/chunks/cli-1.1.36-bsfazmtt.mjs +0 -2
- package/dist/chunks/cli-1.1.36-bxrew2k8.mjs +0 -2
- package/dist/chunks/cli-1.1.36-bywrsksg.mjs +0 -2
- package/dist/chunks/cli-1.1.36-c3rd4cfc.mjs +0 -10
- package/dist/chunks/cli-1.1.36-c4k9g1dk.mjs +0 -2
- package/dist/chunks/cli-1.1.36-c4pkjm54.mjs +0 -2
- package/dist/chunks/cli-1.1.36-cm2kys6t.mjs +0 -2
- package/dist/chunks/cli-1.1.36-cya5x9g3.mjs +0 -2
- package/dist/chunks/cli-1.1.36-d4bd8qw2.mjs +0 -4
- package/dist/chunks/cli-1.1.36-dpn3xp4e.mjs +0 -2
- package/dist/chunks/cli-1.1.36-dt9kgcr3.mjs +0 -2
- package/dist/chunks/cli-1.1.36-e5xkjjtj.mjs +0 -21
- package/dist/chunks/cli-1.1.36-ef3vjg8b.mjs +0 -9
- package/dist/chunks/cli-1.1.36-f6yxszv5.mjs +0 -2
- package/dist/chunks/cli-1.1.36-fd7xaf6g.mjs +0 -2
- package/dist/chunks/cli-1.1.36-fhnpvzaf.mjs +0 -6
- package/dist/chunks/cli-1.1.36-fj9nx7k4.mjs +0 -10
- package/dist/chunks/cli-1.1.36-fw6d7jyv.mjs +0 -2
- package/dist/chunks/cli-1.1.36-fxpd9jmz.mjs +0 -2
- package/dist/chunks/cli-1.1.36-gfn4xejp.mjs +0 -17
- package/dist/chunks/cli-1.1.36-gfx5kkq4.mjs +0 -2
- package/dist/chunks/cli-1.1.36-ggr2pkp7.mjs +0 -2
- package/dist/chunks/cli-1.1.36-gpks9z9m.mjs +0 -2
- package/dist/chunks/cli-1.1.36-h74yjk66.mjs +0 -2
- package/dist/chunks/cli-1.1.36-haxnmraq.mjs +0 -24
- package/dist/chunks/cli-1.1.36-hqmz0657.mjs +0 -3
- package/dist/chunks/cli-1.1.36-hvnr6rta.mjs +0 -2
- package/dist/chunks/cli-1.1.36-jnftcw4c.mjs +0 -2
- package/dist/chunks/cli-1.1.36-jpcwwd65.mjs +0 -5
- package/dist/chunks/cli-1.1.36-jqn2tez7.mjs +0 -2
- package/dist/chunks/cli-1.1.36-jx3e7dft.mjs +0 -9
- package/dist/chunks/cli-1.1.36-k14jc4fv.mjs +0 -2
- package/dist/chunks/cli-1.1.36-kzxdhaaz.mjs +0 -2
- package/dist/chunks/cli-1.1.36-m11p0exg.mjs +0 -2
- package/dist/chunks/cli-1.1.36-m981mqsb.mjs +0 -39
- package/dist/chunks/cli-1.1.36-mam7e8zn.mjs +0 -11
- package/dist/chunks/cli-1.1.36-mmre9943.mjs +0 -2
- package/dist/chunks/cli-1.1.36-n44emd29.mjs +0 -2
- package/dist/chunks/cli-1.1.36-n5etyd9m.mjs +0 -2
- package/dist/chunks/cli-1.1.36-n9knhbs6.mjs +0 -6
- package/dist/chunks/cli-1.1.36-nnzqwcsc.mjs +0 -2
- package/dist/chunks/cli-1.1.36-nqy7mzrt.mjs +0 -45
- package/dist/chunks/cli-1.1.36-nw3mandv.mjs +0 -50
- package/dist/chunks/cli-1.1.36-p0w1dm9g.mjs +0 -2
- package/dist/chunks/cli-1.1.36-p375v620.mjs +0 -6
- package/dist/chunks/cli-1.1.36-p7w1197h.mjs +0 -2
- package/dist/chunks/cli-1.1.36-psd41gmc.mjs +0 -2
- package/dist/chunks/cli-1.1.36-pwszcwqb.mjs +0 -2
- package/dist/chunks/cli-1.1.36-pxy9g55g.mjs +0 -20
- package/dist/chunks/cli-1.1.36-q2e0arg8.mjs +0 -2
- package/dist/chunks/cli-1.1.36-q4a30pjq.mjs +0 -2
- package/dist/chunks/cli-1.1.36-q9xgs0j5.mjs +0 -3
- package/dist/chunks/cli-1.1.36-qdefh0tg.mjs +0 -2
- package/dist/chunks/cli-1.1.36-qm9492fw.mjs +0 -2
- package/dist/chunks/cli-1.1.36-qn4td7gm.mjs +0 -4
- package/dist/chunks/cli-1.1.36-qxdw7xas.mjs +0 -3
- package/dist/chunks/cli-1.1.36-qyd8fnkc.mjs +0 -2
- package/dist/chunks/cli-1.1.36-r241fh82.mjs +0 -5
- package/dist/chunks/cli-1.1.36-r2svaxxt.mjs +0 -25
- package/dist/chunks/cli-1.1.36-rh00pabh.mjs +0 -2
- package/dist/chunks/cli-1.1.36-rkcfjk5n.mjs +0 -8
- package/dist/chunks/cli-1.1.36-rp1ck3rr.mjs +0 -2
- package/dist/chunks/cli-1.1.36-rqhp2xt1.mjs +0 -24
- package/dist/chunks/cli-1.1.36-rv222he2.mjs +0 -2
- package/dist/chunks/cli-1.1.36-rwa4g74g.mjs +0 -3
- package/dist/chunks/cli-1.1.36-rwqe4psg.mjs +0 -2
- package/dist/chunks/cli-1.1.36-s8jcsdgb.mjs +0 -16
- package/dist/chunks/cli-1.1.36-s9ar9y3g.mjs +0 -42
- package/dist/chunks/cli-1.1.36-sd51t79y.mjs +0 -2
- package/dist/chunks/cli-1.1.36-ss62b517.mjs +0 -63
- package/dist/chunks/cli-1.1.36-t0ncrwb0.mjs +0 -2
- package/dist/chunks/cli-1.1.36-t6sjxpcb.mjs +0 -251
- package/dist/chunks/cli-1.1.36-tda1q99k.mjs +0 -2
- package/dist/chunks/cli-1.1.36-tvr7rnm0.mjs +0 -2
- package/dist/chunks/cli-1.1.36-v0s0vqmm.mjs +0 -5551
- package/dist/chunks/cli-1.1.36-v5nxnkwj.mjs +0 -2
- package/dist/chunks/cli-1.1.36-vdy55pxe.mjs +0 -2
- package/dist/chunks/cli-1.1.36-vz7m93en.mjs +0 -2
- package/dist/chunks/cli-1.1.36-w1nf9wd0.mjs +0 -10
- package/dist/chunks/cli-1.1.36-w23zxn8g.mjs +0 -2
- package/dist/chunks/cli-1.1.36-wdrt641n.mjs +0 -25
- package/dist/chunks/cli-1.1.36-wdvzyaky.mjs +0 -2
- package/dist/chunks/cli-1.1.36-wfgjsqkk.mjs +0 -2
- package/dist/chunks/cli-1.1.36-wwwj09sw.mjs +0 -2
- package/dist/chunks/cli-1.1.36-x0qqxv1t.mjs +0 -2
- package/dist/chunks/cli-1.1.36-x11fzb6n.mjs +0 -2
- package/dist/chunks/cli-1.1.36-x1761kx6.mjs +0 -2
- package/dist/chunks/cli-1.1.36-xf45p3qr.mjs +0 -2
- package/dist/chunks/cli-1.1.36-xj95r55n.mjs +0 -2
- package/dist/chunks/cli-1.1.36-xs4p38vb.mjs +0 -6
- package/dist/chunks/cli-1.1.36-xvwc8bka.mjs +0 -2
- package/dist/chunks/cli-1.1.36-ya2s1rfy.mjs +0 -18
- package/dist/chunks/cli-1.1.36-yew13j62.mjs +0 -2
- package/dist/chunks/cli-1.1.36-ykz9vwbf.mjs +0 -2
- package/dist/chunks/cli-1.1.36-yrgfywq5.mjs +0 -24
- package/dist/chunks/cli-1.1.36-z5djkbwy.mjs +0 -2
- package/dist/chunks/cli-1.1.36-zax3mr51.mjs +0 -2
- package/dist/chunks/cli-1.1.36-zbn66hn9.mjs +0 -2
- package/dist/chunks/cli-1.1.36-zd032ger.mjs +0 -2
- package/dist/chunks/cli-1.1.36-zeahx79z.mjs +0 -2
- package/dist/chunks/cli-1.1.36-zey2drb2.mjs +0 -2
- package/dist/chunks/cli-1.1.36-zv6ffhhy.mjs +0 -2
- package/dist/chunks/cli-1.1.36-zw8q3z61.mjs +0 -2
- package/dist/chunks/cli-1.1.36-zzpdy0k8.mjs +0 -2
- package/dist/chunks/client-1.1.36-ydq31jce.mjs +0 -1
- package/dist/chunks/color-1.1.36-9fjvayey.mjs +0 -1
- package/dist/chunks/compact-1.1.36-p42ft3yq.mjs +0 -2
- package/dist/chunks/config-1.1.36-42ab04bq.mjs +0 -1
- package/dist/chunks/config-1.1.36-x636yezt.mjs +0 -1
- package/dist/chunks/constants-1.1.36-ba1bvty5.mjs +0 -1
- package/dist/chunks/context-1.1.36-zjvkgfrr.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.36-f5rax1ah.mjs +0 -1
- package/dist/chunks/conversation-1.1.36-jd5867c5.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.36-dg9s10xt.mjs +0 -1
- package/dist/chunks/copy-1.1.36-95ds743c.mjs +0 -9
- package/dist/chunks/cost-1.1.36-vhm8f7tp.mjs +0 -1
- package/dist/chunks/createSession-1.1.36-haxa0dvw.mjs +0 -1
- package/dist/chunks/debug-1.1.36-fvyvxmx1.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.36-24ag19wj.mjs +0 -1458
- package/dist/chunks/desktop-1.1.36-n6x2epmn.mjs +0 -2
- package/dist/chunks/detectRepository-1.1.36-ktxtd4ej.mjs +0 -1
- package/dist/chunks/detection-1.1.36-s8z7d4bm.mjs +0 -1
- package/dist/chunks/diff-1.1.36-0mrzd4kw.mjs +0 -1
- package/dist/chunks/doctor-1.1.36-tta8yrqq.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.36-1j38851d.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.36-rv44jymf.mjs +0 -1
- package/dist/chunks/effort-1.1.36-yd22tc48.mjs +0 -13
- package/dist/chunks/engine-1.1.36-cf09xwf2.mjs +0 -1
- package/dist/chunks/envUtils-1.1.36-e9dd4q6g.mjs +0 -1
- package/dist/chunks/errors-1.1.36-86veg19m.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.36-nmf2s84f.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.36-naz9kbtt.mjs +0 -1
- package/dist/chunks/exit-1.1.36-53t418pg.mjs +0 -1
- package/dist/chunks/explorer-1.1.36-pgghex3j.mjs +0 -1
- package/dist/chunks/export-1.1.36-1ynxg1wb.mjs +0 -2
- package/dist/chunks/fast-1.1.36-f64h2t2k.mjs +0 -1
- package/dist/chunks/feedback-1.1.36-vgb10qbs.mjs +0 -16
- package/dist/chunks/git-1.1.36-f934674g.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.36-f2yec5gh.mjs +0 -1
- package/dist/chunks/goal-1.1.36-yyy0jkwz.mjs +0 -4
- package/dist/chunks/headless-1.1.36-47ts4j1h.mjs +0 -2
- package/dist/chunks/heapdump-1.1.36-hhwpz3jf.mjs +0 -6
- package/dist/chunks/help-1.1.36-zr7z9tga.mjs +0 -1
- package/dist/chunks/hooks-1.1.36-and1agcb.mjs +0 -79
- package/dist/chunks/hooks-1.1.36-qgd5x79v.mjs +0 -1
- package/dist/chunks/ide-1.1.36-afc5wn8q.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.36-ycj021z0.mjs +0 -1
- package/dist/chunks/import-1.1.36-jrjb5s4n.mjs +0 -261
- package/dist/chunks/inboundAttachments-1.1.36-h1yrtqms.mjs +0 -1
- package/dist/chunks/index-1.1.36-048ng2px.mjs +0 -1
- package/dist/chunks/index-1.1.36-1mbx6axa.mjs +0 -1
- package/dist/chunks/index-1.1.36-1rzdb7w0.mjs +0 -1
- package/dist/chunks/index-1.1.36-312tvs2v.mjs +0 -2
- package/dist/chunks/index-1.1.36-46vz4hm5.mjs +0 -5
- package/dist/chunks/index-1.1.36-4dth0mx8.mjs +0 -1
- package/dist/chunks/index-1.1.36-5bc8t250.mjs +0 -9
- package/dist/chunks/index-1.1.36-6mpk59p2.mjs +0 -1
- package/dist/chunks/index-1.1.36-83wpkv8f.mjs +0 -30
- package/dist/chunks/index-1.1.36-8s1fe47p.mjs +0 -9
- package/dist/chunks/index-1.1.36-95xjkxf6.mjs +0 -1
- package/dist/chunks/index-1.1.36-c90kzpg9.mjs +0 -1
- package/dist/chunks/index-1.1.36-ectpcy01.mjs +0 -1
- package/dist/chunks/index-1.1.36-f33wa99v.mjs +0 -1
- package/dist/chunks/index-1.1.36-fgj4arq3.mjs +0 -23
- package/dist/chunks/index-1.1.36-fr144w7s.mjs +0 -1
- package/dist/chunks/index-1.1.36-keejgmvt.mjs +0 -1
- package/dist/chunks/index-1.1.36-knytd0n4.mjs +0 -1
- package/dist/chunks/index-1.1.36-m21fh89b.mjs +0 -1
- package/dist/chunks/index-1.1.36-n3tpswv4.mjs +0 -1
- package/dist/chunks/index-1.1.36-q6468dg7.mjs +0 -1
- package/dist/chunks/index-1.1.36-svzjvq7t.mjs +0 -1
- package/dist/chunks/index-1.1.36-vpaaz84z.mjs +0 -2
- package/dist/chunks/init-1.1.36-16rj95sf.mjs +0 -2
- package/dist/chunks/initReplBridge-1.1.36-xganfz86.mjs +0 -1
- package/dist/chunks/ink-1.1.36-ayvk483m.mjs +0 -1
- package/dist/chunks/insights-1.1.36-0kqbkgbz.mjs +0 -870
- package/dist/chunks/install-1.1.36-3v0b55mh.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.36-6ybyxdq5.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.36-040ssrxp.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.36-2fm0smr3.mjs +0 -1
- package/dist/chunks/latestVersionCache-1.1.36-9fa4kpt8.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.36-t9mhqgv5.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.36-vf3yqk6b.mjs +0 -1
- package/dist/chunks/log-1.1.36-zazc6e80.mjs +0 -1
- package/dist/chunks/main-1.1.36-r3b0ysm4.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.36-nksy6dte.mjs +0 -1
- package/dist/chunks/mcp-1.1.36-7fbqeb90.mjs +0 -17
- package/dist/chunks/mcp-1.1.36-d2df02nr.mjs +0 -4
- package/dist/chunks/mcp-1.1.36-dj3ctzg2.mjs +0 -1
- package/dist/chunks/mcpb-1.1.36-7hcc3bm8.mjs +0 -1
- package/dist/chunks/memory-1.1.36-4h4pw21v.mjs +0 -128
- package/dist/chunks/model-1.1.36-3vvdafvs.mjs +0 -1
- package/dist/chunks/model-1.1.36-pvrxzcbd.mjs +0 -2
- package/dist/chunks/node-1.1.36-xhks7s8w.mjs +0 -15
- package/dist/chunks/node-1.1.36-z1nceabc.mjs +0 -1
- package/dist/chunks/oauth-1.1.36-w0jf6x39.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.36-m75hvh8e.mjs +0 -14
- package/dist/chunks/output-style-1.1.36-c0mgemjb.mjs +0 -1
- package/dist/chunks/package-F6O7J2XI-1.1.36-kfm7v15k.mjs +0 -1
- package/dist/chunks/permissions-1.1.36-20jz1yq3.mjs +0 -3
- package/dist/chunks/permissions-1.1.36-mtf6m3pf.mjs +0 -1
- package/dist/chunks/plan-1.1.36-r2k6ysce.mjs +0 -1
- package/dist/chunks/plist-1.1.36-8vg2xrj2.mjs +0 -1
- package/dist/chunks/plugin-1.1.36-xa4j4bj2.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.36-7bczq621.mjs +0 -1
- package/dist/chunks/plugins-1.1.36-ck8ycs01.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.36-yt9dm2yh.mjs +0 -2
- package/dist/chunks/print-1.1.36-gcmgxxx7.mjs +0 -57
- package/dist/chunks/process-1.1.36-4kdmcjeq.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.36-5tbfja2m.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.36-db99hjpc.mjs +0 -9
- package/dist/chunks/prompt-1.1.36-7qyxemw6.mjs +0 -1
- package/dist/chunks/prompt-1.1.36-tx374tzn.mjs +0 -1
- package/dist/chunks/prompts-1.1.36-gj1pggdg.mjs +0 -1
- package/dist/chunks/provider-1.1.36-d73knpnr.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.36-v0p0gdag.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.36-bzznd00d.mjs +0 -6
- package/dist/chunks/registerSubcommands-1.1.36-8s9pb6g7.mjs +0 -26
- package/dist/chunks/registry-1.1.36-4bt4ac4z.mjs +0 -1
- package/dist/chunks/release-notes-1.1.36-zbexvzjp.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.36-n8nwygb8.mjs +0 -2
- package/dist/chunks/remote-env-1.1.36-fr8j8hcc.mjs +0 -1
- package/dist/chunks/rename-1.1.36-x06agpgx.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.36-2hp08v6r.mjs +0 -1
- package/dist/chunks/resume-1.1.36-1srfb0q2.mjs +0 -2
- package/dist/chunks/rewind-1.1.36-zkycjr7d.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.36-4m9s4acv.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.36-jbtcynyc.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.36-xrvrh2qp.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.36-2yw8m1jq.mjs +0 -1
- package/dist/chunks/session-1.1.36-dxen3cg6.mjs +0 -2
- package/dist/chunks/sessionStorage-1.1.36-dbt045aw.mjs +0 -1
- package/dist/chunks/settings-1.1.36-jb6t4nt2.mjs +0 -1
- package/dist/chunks/setup-1.1.36-7ady6j9j.mjs +0 -12
- package/dist/chunks/sinks-1.1.36-j124tdmn.mjs +0 -1
- package/dist/chunks/skills-1.1.36-wad885e2.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.36-0xnygcy5.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.36-6mvjw2sk.mjs +0 -1
- package/dist/chunks/state-1.1.36-mwqgyp6n.mjs +0 -1
- package/dist/chunks/stats-1.1.36-yzk5t8nc.mjs +0 -1
- package/dist/chunks/status-1.1.36-8b177p6e.mjs +0 -1
- package/dist/chunks/stickers-1.1.36-kdxt4s8f.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.36-g1a43154.mjs +0 -1
- package/dist/chunks/tasks-1.1.36-cnmsc211.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.36-1pwk4n3y.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.36-2stc51nw.mjs +0 -1
- package/dist/chunks/teleport-1.1.36-tdvpgdhd.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.36-agbzd4wd.mjs +0 -1
- package/dist/chunks/theme-1.1.36-2w481ds6.mjs +0 -1
- package/dist/chunks/toolPool-1.1.36-hdw9b8ht.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.36-ccs29nek.mjs +0 -1
- package/dist/chunks/tools-1.1.36-zqsjpqnk.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.36-pwcp7479.mjs +0 -69
- package/dist/chunks/types-1.1.36-bwfasf0g.mjs +0 -1
- package/dist/chunks/update-1.1.36-hzk0xj2g.mjs +0 -72
- package/dist/chunks/upload-1.1.36-mb3a5t01.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.36-x1y5p82n.mjs +0 -14
- package/dist/chunks/usage-1.1.36-qzytaj6z.mjs +0 -1
- package/dist/chunks/util-1.1.36-kb0yef79.mjs +0 -1
- package/dist/chunks/utils-1.1.36-fm3eywyj.mjs +0 -1
- package/dist/chunks/vim-1.1.36-x7adhmdd.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.36-4s334wzz.mjs +0 -13
- package/dist/chunks/wiki-1.1.36-dn9csm8a.mjs +0 -132
- package/dist/chunks/workflows-1.1.36-v5b9khnt.mjs +0 -1
- package/dist/chunks/worktree-1.1.36-cesdwabt.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.36-m20cdekt.mjs +0 -1
- package/dist/chunks/wrapper-1.1.36-1m0td68t.mjs +0 -7
- /package/dist/chunks/{cli-1.1.36-7v42aqn9.mjs → cli-1.1.37-tb7ktts9.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.36-6kq395h8.mjs → cli-1.1.37-tfvyj3nx.mjs} +0 -0
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{wT as O,xT as S}from"./cli-1.1.36-6jv1ss2p.mjs";import{D$ as _,F9 as B,G$ as z,H$ as A,H9 as v,V_ as D,W_ as I,_da as k,k$ as M,l$ as R,ufa as G,zfa as y}from"./cli-1.1.36-t6sjxpcb.mjs";import{Lga as q,Nga as x}from"./cli-1.1.36-jqn2tez7.mjs";import{apa as K,bpa as W}from"./cli-1.1.36-cm2kys6t.mjs";W();x();k();v();I();_();y();S();var b=[/(?:^|\/)(?:package-lock\.json|yarn\.lock|bun\.lock|bun\.lockb|pnpm-lock\.yaml|Pipfile\.lock|poetry\.lock|Cargo\.lock|Gemfile\.lock|go\.sum|composer\.lock|uv\.lock)$/,/\.generated\./,/(?:^|\/)(?:dist|build|out|target|node_modules|\.next|__pycache__)\//,/\.(?:min\.js|min\.css|map|pyc|pyo)$/,/\.(?:json|ya?ml|toml|xml|ini|cfg|conf|env|lock|txt|md|mdx|rst|csv|log|svg)$/i,/(?:^|\/)\.?(?:eslintrc|prettierrc|babelrc|editorconfig|gitignore|gitattributes|dockerignore|npmrc)/,/(?:^|\/)(?:tsconfig|jsconfig|biome|vitest\.config|jest\.config|webpack\.config|vite\.config|rollup\.config)\.[a-z]+$/,/(?:^|\/)\.(?:github|vscode|idea|claude)\//,/(?:^|\/)(?:CHANGELOG|LICENSE|CONTRIBUTING|CODEOWNERS|README)(?:\.[a-z]+)?$/i];function F(L){return!b.some((Q)=>Q.test(L))}function P(L,Q){let J=[],X=new Set,U=new Map;for(let H=1;J.length<Q&&H<=Q;H++)for(let V of L){if(J.length>=Q)break;if(!F(V))continue;let Y=Math.max(V.lastIndexOf("/"),V.lastIndexOf("\\")),Z=Y>=0?V.slice(Y+1):V;if(!Z||X.has(Z))continue;let $=Y>=0?V.slice(0,Y):".";if((U.get($)??0)>=H)continue;J.push(Z),X.add(Z),U.set($,(U.get($)??0)+1)}return J.length>=Q?J:[]}async function N(){if(B.platform==="win32")return[];if(!await R())return[];try{let L=await O(),Q=["log","-n","1000","--pretty=format:","--name-only","--diff-filter=M"],J=new Map,X=(H)=>{for(let V of H.split(`
|
|
2
|
-
`)){let Y=V.trim();if(Y)J.set(Y,(J.get(Y)??0)+1)}};if(L){let{stdout:H}=await D("git",[...Q,`--author=${L}`],{cwd:q()});X(H)}if(J.size<10){let{stdout:H}=await D(M(),Q,{cwd:q()});X(H)}let U=Array.from(J.entries()).sort((H,V)=>V[1]-H[1]).map(([H])=>H);return P(U,5)}catch(L){return G(L),[]}}var T=604800000;function E(L){let Q=z(),J=Q.exampleFiles?.length?Q.exampleFiles:["<filepath>"],U=[...["fix lint errors","fix typecheck errors",`how does ${J[0]} work?`,`refactor ${J[Math.floor(J.length/2)]}`,"how do I log an error?",`edit ${J[J.length-1]} to...`,`write a test for ${J[0]}`,"create a util logging.py that..."]];for(let H=U.length-1;H>0;H--){let V=Math.floor(Math.random()*(H+1));[U[H],U[V]]=[U[V],U[H]]}return U.slice(0,L).map((H)=>`Try "${H}"`)}var d=K((L)=>{return E(L)}),p=K(async()=>{let L=z(),Q=Date.now(),J=L.exampleFilesGeneratedAt??0;if(Q-J>T)L.exampleFiles=[];if(!L.exampleFiles?.length)N().then((X)=>{if(X.length)A((U)=>({...U,exampleFiles:X,exampleFilesGeneratedAt:Date.now()}))})});
|
|
3
|
-
export{P as La,d as Ma,p as Na};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{MV as O}from"./cli-1.1.36-4ssz80b2.mjs";import{c1 as X,e1 as Q}from"./cli-1.1.36-z5djkbwy.mjs";import{f1 as b}from"./cli-1.1.36-apycha28.mjs";import{H$ as W,_da as P}from"./cli-1.1.36-t6sjxpcb.mjs";import{Npa as U}from"./cli-1.1.36-c4pkjm54.mjs";P();Q();var Y=U(O(),1),J=U(b(),1);function L(D,z){let F=z/100*(D.length-1),q=Math.floor(F),k=Math.ceil(F);if(q===k)return D[q];return D[q]+(D[k]-D[q])*(F-q)}var T=1024;function V(){let D=new Map,z=new Map,F=new Map;return{increment(q,k=1){D.set(q,(D.get(q)??0)+k)},set(q,k){D.set(q,k)},observe(q,k){let y=z.get(q);if(!y)y={reservoir:[],count:0,sum:0,min:k,max:k},z.set(q,y);if(y.count++,y.sum+=k,k<y.min)y.min=k;if(k>y.max)y.max=k;if(y.reservoir.length<T)y.reservoir.push(k);else{let B=Math.floor(Math.random()*y.count);if(B<T)y.reservoir[B]=k}},add(q,k){let y=F.get(q);if(!y)y=new Set,F.set(q,y);y.add(k)},getAll(){let q=Object.fromEntries(D);for(let[k,y]of z){if(y.count===0)continue;q[`${k}_count`]=y.count,q[`${k}_min`]=y.min,q[`${k}_max`]=y.max,q[`${k}_avg`]=y.sum/y.count;let B=[...y.reservoir].sort((G,H)=>G-H);q[`${k}_p50`]=L(B,50),q[`${k}_p95`]=L(B,95),q[`${k}_p99`]=L(B,99)}for(let[k,y]of F)q[k]=y.size;return q}}}var Z=J.createContext(null);function C(D){let z=Y.c(7),{store:F,children:q}=D,k;if(z[0]===Symbol.for("react.memo_cache_sentinel"))k=V(),z[0]=k;else k=z[0];let B=F??k,G,H;if(z[1]!==B)G=()=>{let M=()=>{let N=B.getAll();if(Object.keys(N).length>0)W((A)=>({...A,lastSessionMetrics:N}))};return process.on("exit",M),()=>{process.off("exit",M)}},H=[B],z[1]=B,z[2]=G,z[3]=H;else G=z[2],H=z[3];J.useEffect(G,H);let K;if(z[4]!==q||z[5]!==B)K=X(Z.Provider,{value:B,children:q}),z[4]=q,z[5]=B,z[6]=K;else K=z[6];return K}
|
|
2
|
-
export{V as Fb,C as Gb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{BF as z,CF as h,oO as L,pO as M,tn as J,un as Z}from"./cli-1.1.36-v0s0vqmm.mjs";import{MV as X}from"./cli-1.1.36-4ssz80b2.mjs";import{f1 as W}from"./cli-1.1.36-apycha28.mjs";import{Boa as H,Doa as V}from"./cli-1.1.36-bsfazmtt.mjs";import{Npa as D,Rpa as U}from"./cli-1.1.36-c4pkjm54.mjs";function v(){let b=P.c(6),{addNotification:k,removeNotification:l}=L(),[j,Q]=x.useState(u),p;if(b[0]===Symbol.for("react.memo_cache_sentinel"))p=()=>{let{errors:y}=z();Q(y)},b[0]=p;else p=b[0];J(p);let q,w;if(b[1]!==k||b[2]!==j||b[3]!==l)q=()=>{if(H())return;if(j.length>0){let y=`Found ${j.length} settings ${j.length===1?"issue":"issues"} · /doctor for details`;k({key:B,text:y,color:"warning",priority:"high",timeoutMs:60000})}else l(B)},w=[j,k,l],b[1]=k,b[2]=j,b[3]=l,b[4]=q,b[5]=w;else q=b[4],w=b[5];return x.useEffect(q,w),j}function u(){let{errors:b}=z();return b}var P,x,B="settings-errors";var A=U(()=>{M();V();h();Z();P=D(X(),1),x=D(W(),1)});
|
|
2
|
-
export{v as ag,A as bg};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{Mf as Wz,Nf as NJ}from"./cli-1.1.36-rwa4g74g.mjs";import{Xf as xq,Yf as rq,Zf as pz}from"./cli-1.1.36-5few49rp.mjs";import{$f as wJ,_f as bz}from"./cli-1.1.36-4pfza5vq.mjs";import{ag as Lz,bg as BJ}from"./cli-1.1.36-qm9492fw.mjs";import{cg as gq,dg as mz}from"./cli-1.1.36-wdvzyaky.mjs";import{eg as Nq,fg as aq,gg as jz}from"./cli-1.1.36-a4gh459t.mjs";import{hg as Rz,ig as XJ}from"./cli-1.1.36-7ywn6pq1.mjs";import{AI as VJ,AS as sq,Ax as QJ,Dn as Zz,En as Yz,FS as xz,Fn as tz,Kq as h,Lq as pq,TP as nq,VP as $z,as as Kz,bs as qJ,cx as Gz,dx as zJ,gx as Vz,hQ as Oq,hx as JJ,kO as $,kQ as gz,lF as Mq,mF as YJ,nF as wz,nO as yJ,oF as KJ,pF as Nz,qF as Bz,rF as Uz,rS as Bq,sF as GJ,sS as eq,yI as Fz,zI as Hz,zx as vq}from"./cli-1.1.36-v0s0vqmm.mjs";import{gT as yz,iT as Xz,kT as ZJ}from"./cli-1.1.36-659qh6fs.mjs";import{EX as mq,MV as uq,YW as B,_W as J}from"./cli-1.1.36-4ssz80b2.mjs";import{b1 as R,c1 as G,d1 as Q,e1 as wq}from"./cli-1.1.36-z5djkbwy.mjs";import{f1 as sz}from"./cli-1.1.36-apycha28.mjs";import{E3 as $q,Q3 as Qz,R3 as ez,f3 as lq,m3 as Jz}from"./cli-1.1.36-s8jcsdgb.mjs";import{Bca as uz,L$ as qz,L_ as iz,M$ as oz,R8 as l,S8 as az,bda as zz,oda as nz,p_ as Iq,pca as cq,qca as fz,tca as Pq}from"./cli-1.1.36-t6sjxpcb.mjs";import{ija as tq,tja as rz}from"./cli-1.1.36-0qtyffhw.mjs";import{Doa as Tq,fka as Uq}from"./cli-1.1.36-bsfazmtt.mjs";import{Npa as Lq,Rpa as hq}from"./cli-1.1.36-c4pkjm54.mjs";function _q(){let z=jq.c(2);if(!h.isSupportedPlatform())return null;if(!h.isSandboxEnabledInSettings())return null;let q,y;if(z[0]===Symbol.for("react.memo_cache_sentinel")){y=Symbol.for("react.early_return_sentinel");q:{let K=h.checkDependencies(),Y=K.errors.length>0,V=K.warnings.length>0;if(!Y&&!V){y=null;break q}q=Q(B,{flexDirection:"column",children:[G(J,{bold:!0,children:"Sandbox"}),Q(J,{children:["└ Status: ",G(J,{color:Y?"error":"warning",children:Y?"Missing dependencies":"Available (with warnings)"})]}),K.errors.map(Ez),K.warnings.map(Sz),Y&&G(J,{dimColor:!0,children:"└ Run /sandbox for install instructions"})]})}z[0]=q,z[1]=y}else q=z[0],y=z[1];if(y!==Symbol.for("react.early_return_sentinel"))return y;return q}function Sz(z,q){return Q(J,{color:"warning",children:["└ ",z]},q)}function Ez(z,q){return Q(J,{color:"error",children:["└ ",z]},q)}var jq;var dq=hq(()=>{mq();pq();wq();jq=Lq(uq(),1)});async function _z(){let z=eq(await sq());if(z.length===0)return null;let q=z.sort((K,Y)=>Y.content.length-K.content.length).map((K)=>`${K.path}: ${K.content.length.toLocaleString()} chars`);return{type:"claudemd_files",severity:"warning",message:z.length===1?`Large CLAUDE.md file detected (${z[0].content.length.toLocaleString()} chars > ${Bq.toLocaleString()})`:`${z.length} large CLAUDE.md files detected (each > ${Bq.toLocaleString()} chars)`,details:q,currentValue:z.length,threshold:Bq}}async function dz(z){if(!z)return null;let q=aq(z);if(q<=Nq)return null;let y=z.activeAgents.filter((Y)=>Y.source!=="built-in").map((Y)=>{let V=`${Y.agentType}: ${Y.whenToUse}`;return{name:Y.agentType,tokens:Oq(V)}}).sort((Y,V)=>V.tokens-Y.tokens),K=y.slice(0,5).map((Y)=>`${Y.name}: ~${Y.tokens.toLocaleString()} tokens`);if(y.length>5)K.push(`(${y.length-5} more custom agents)`);return{type:"agent_descriptions",severity:"warning",message:`Large agent descriptions (~${q.toLocaleString()} tokens > ${Nq.toLocaleString()})`,details:K,currentValue:q,threshold:Nq}}async function Tz(z,q,y){let K=z.filter((Y)=>Y.isMcp);if(K.length===0)return null;try{let Y=lq(),{mcpToolTokens:V,mcpToolDetails:N}=await nq(z,q,y,Y);if(V<=c)return null;let w=new Map;for(let b of N){let g=b.name.split("__")[1]||"unknown",X=w.get(g)||{count:0,tokens:0};w.set(g,{count:X.count+1,tokens:X.tokens+b.tokens})}let H=Array.from(w.entries()).sort((b,U)=>U[1].tokens-b[1].tokens),Z=H.slice(0,5).map(([b,U])=>`${b}: ${U.count} tools (~${U.tokens.toLocaleString()} tokens)`);if(H.length>5)Z.push(`(${H.length-5} more servers)`);return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${V.toLocaleString()} tokens > ${c.toLocaleString()})`,details:Z,currentValue:V,threshold:c}}catch(Y){let V=K.reduce((N,w)=>{let H=(w.name?.length||0)+w.description.length;return N+Oq(H.toString())},0);if(V<=c)return null;return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${V.toLocaleString()} tokens estimated > ${c.toLocaleString()})`,details:[`${K.length} MCP tools detected (token count estimated)`],currentValue:V,threshold:c}}}async function cz(z){let q=await z(),y=h.isSandboxingEnabled()&&h.isAutoAllowBashIfSandboxedEnabled(),K=gq(q,{sandboxAutoAllowEnabled:y});if(K.length===0)return null;let Y=K.flatMap((V)=>[`${cq(V.rule.ruleValue)}: ${V.reason}`,` Fix: ${V.fix}`]);return{type:"unreachable_rules",severity:"warning",message:`${K.length} ${Pq(K.length,"unreachable permission rule")} detected`,details:Y,currentValue:K.length,threshold:0}}async function lz(){let z=Uq(),{findings:q}=await xq({root:z});if(q.length===0)return null;let y=q.filter((Y)=>Y.severity==="error"),K=q.map((Y)=>`${rq(z,Y.file)}: ${Y.message}`);return{type:"rule_files",severity:y.length>0?"error":"warning",message:`${q.length} rule ${Pq(q.length,"file problem")} detected`,details:K,currentValue:q.length,threshold:0}}async function iq(z,q,y){let[K,Y,V,N,w]=await Promise.all([_z(),dz(q),Tz(z,y,q),cz(y),lz()]);return{claudeMdWarning:K,agentWarning:Y,mcpWarning:V,unreachableRulesWarning:N,ruleFilesWarning:w}}var c=25000;var oq=hq(()=>{Tq();gz();$z();xz();$q();fz();mz();pz();pq();jz();uz()});import{join as Aq}from"path";function UJ(z){let q=Cq.c(8),{promise:y}=z,K=F.use(y);if(!K.latest){let w;if(q[0]===Symbol.for("react.memo_cache_sentinel"))w=G(J,{dimColor:!0,children:"└ Failed to fetch versions"}),q[0]=w;else w=q[0];return w}let Y;if(q[1]!==K.stable)Y=K.stable&&Q(J,{children:["└ Stable version: ",K.stable]}),q[1]=K.stable,q[2]=Y;else Y=q[2];let V;if(q[3]!==K.latest)V=Q(J,{children:["└ Latest version: ",K.latest]}),q[3]=K.latest,q[4]=V;else V=q[4];let N;if(q[5]!==Y||q[6]!==V)N=Q(R,{children:[Y,V]}),q[5]=Y,q[6]=V,q[7]=N;else N=q[7];return N}function kQ(z){let q=Cq.c(84),{onDone:y}=z,K=$(mJ),Y=$(uJ),V=$(fJ),N=$(EJ);Vz();let w;if(q[0]!==Y)w=Y||[],q[0]=Y,q[1]=w;else w=q[1];let H=w,[Z,b]=F.useState(null),[U,g]=F.useState(null),[X,hz]=F.useState(null),[L,kq]=F.useState(null),Fq=Lz(),x;if(q[2]===Symbol.for("react.memo_cache_sentinel"))x=Mq().then(DJ),q[2]=x;else x=q[2];let Pz=x,Oz=zz()?.autoUpdatesChannel??"latest",r;if(q[3]!==Fq)r=Fq.filter(kJ),q[3]=Fq,q[4]=r;else r=q[4];let a=r,i;if(q[5]===Symbol.for("react.memo_cache_sentinel"))i=[{name:"BASH_MAX_OUTPUT_LENGTH",default:Yz,upperLimit:Zz},{name:"TASK_MAX_OUTPUT_LENGTH",default:Hz,upperLimit:Fz},{name:"CLAUDIN_MAX_OUTPUT_TOKENS",...Qz(Jz())}].map(CJ).filter(MJ),q[5]=i;else i=q[5];let Dq=i,o,n;if(q[6]!==K||q[7]!==V||q[8]!==H)o=()=>{Mq().then(b),(async()=>{let W=Aq(tq(),"agents"),Sq=Aq(Uq(),".claudin","agents"),{activeAgents:Eq,allAgents:Az,failedFiles:fq}=K,[Iz,vz]=await Promise.all([Iq(W),Iq(Sq)]),Mz={activeAgents:Eq.map(vJ),userAgentsDir:W,projectAgentsDir:Sq,userDirExists:Iz,projectDirExists:vz,failedFiles:fq};g(Mz);let Cz=await iq(H,{activeAgents:Eq,allAgents:Az,failedFiles:fq},async()=>V);if(hz(Cz),Nz()){let Wq=Aq(wz(),"claude","locks"),kz=Uz(Wq),Dz=Bz(Wq);kq({enabled:!0,locks:Dz,locksDir:Wq,staleLocksCleaned:kz})}else kq({enabled:!1,locks:[],locksDir:"",staleLocksCleaned:0})})()},n=[V,H,K],q[6]=K,q[7]=V,q[8]=H,q[9]=o,q[10]=n;else o=q[9],n=q[10];F.useEffect(o,n);let e;if(q[11]!==y)e=()=>{y("Claudin diagnostics dismissed",{display:"system"})},q[11]=y,q[12]=e;else e=q[12];let s=e,t;if(q[13]!==s)t={"confirm:yes":s,"confirm:no":s},q[13]=s,q[14]=t;else t=q[14];let qq;if(q[15]===Symbol.for("react.memo_cache_sentinel"))qq={context:"Confirmation"},q[15]=qq;else qq=q[15];if(Gz(t,qq),!Z){let W;if(q[16]===Symbol.for("react.memo_cache_sentinel"))W=G(vq,{children:G(J,{dimColor:!0,children:"Checking installation status…"})}),q[16]=W;else W=q[16];return W}let zq;if(q[17]===Symbol.for("react.memo_cache_sentinel"))zq=G(J,{bold:!0,children:"Diagnostics"}),q[17]=zq;else zq=q[17];let P;if(q[18]!==Z.installationType||q[19]!==Z.version)P=Q(J,{children:["└ Currently running: ",Z.installationType," (",Z.version,")"]}),q[18]=Z.installationType,q[19]=Z.version,q[20]=P;else P=q[20];let O;if(q[21]!==Z.packageManager)O=Z.packageManager&&Q(J,{children:["└ Package manager: ",Z.packageManager]}),q[21]=Z.packageManager,q[22]=O;else O=q[22];let A;if(q[23]!==Z.installationPath)A=Q(J,{children:["└ Path: ",Z.installationPath]}),q[23]=Z.installationPath,q[24]=A;else A=q[24];let I;if(q[25]!==Z.invokedBinary)I=Q(J,{children:["└ Invoked: ",Z.invokedBinary]}),q[25]=Z.invokedBinary,q[26]=I;else I=q[26];let v;if(q[27]!==Z.configInstallMethod)v=Q(J,{children:["└ Config install method: ",Z.configInstallMethod]}),q[27]=Z.configInstallMethod,q[28]=v;else v=q[28];let Hq=Z.ripgrepStatus.working?"OK":"Not working",Rq=Z.ripgrepStatus.mode==="embedded"?"bundled":Z.ripgrepStatus.mode==="builtin"?"vendor":Z.ripgrepStatus.systemPath||"system",M;if(q[29]!==Hq||q[30]!==Rq)M=Q(J,{children:["└ Search: ",Hq," (",Rq,")"]}),q[29]=Hq,q[30]=Rq,q[31]=M;else M=q[31];let C;if(q[32]!==Z.recommendation)C=Z.recommendation&&Q(R,{children:[G(J,{}),Q(J,{color:"warning",children:["Recommendation: ",Z.recommendation.split(`
|
|
2
|
-
`)[0]]}),G(J,{dimColor:!0,children:Z.recommendation.split(`
|
|
3
|
-
`)[1]})]}),q[32]=Z.recommendation,q[33]=C;else C=q[33];let k;if(q[34]!==Z.multipleInstallations)k=Z.multipleInstallations.length>1&&Q(R,{children:[G(J,{}),G(J,{color:"warning",children:"Warning: Multiple installations found"}),Z.multipleInstallations.map(IJ)]}),q[34]=Z.multipleInstallations,q[35]=k;else k=q[35];let D;if(q[36]!==Z.warnings)D=Z.warnings.length>0&&Q(R,{children:[G(J,{}),Z.warnings.map(AJ)]}),q[36]=Z.warnings,q[37]=D;else D=q[37];let S;if(q[38]!==a)S=a.length>0&&Q(B,{flexDirection:"column",marginTop:1,marginBottom:1,children:[G(J,{bold:!0,children:"Invalid Settings"}),G(Wz,{errors:a})]}),q[38]=a,q[39]=S;else S=q[39];let E;if(q[40]!==P||q[41]!==O||q[42]!==A||q[43]!==I||q[44]!==v||q[45]!==M||q[46]!==C||q[47]!==k||q[48]!==D||q[49]!==S)E=Q(B,{flexDirection:"column",children:[zq,P,O,A,I,v,M,C,k,D,S]}),q[40]=P,q[41]=O,q[42]=A,q[43]=I,q[44]=v,q[45]=M,q[46]=C,q[47]=k,q[48]=D,q[49]=S,q[50]=E;else E=q[50];let Jq;if(q[51]===Symbol.for("react.memo_cache_sentinel"))Jq=G(J,{bold:!0,children:"Updates"}),q[51]=Jq;else Jq=q[51];let bq=Z.packageManager?"Managed by package manager":Z.autoUpdates,f;if(q[52]!==bq)f=Q(J,{children:["└ Auto-updates:"," ",bq]}),q[52]=bq,q[53]=f;else f=q[53];let u;if(q[54]!==Z.hasUpdatePermissions)u=Z.hasUpdatePermissions!==null&&Q(J,{children:["└ Update permissions:"," ",Z.hasUpdatePermissions?"Yes":"No (requires sudo)"]}),q[54]=Z.hasUpdatePermissions,q[55]=u;else u=q[55];let Qq;if(q[56]===Symbol.for("react.memo_cache_sentinel"))Qq=Q(J,{children:["└ Auto-update channel: ",Oz]}),q[56]=Qq;else Qq=q[56];let Zq;if(q[57]===Symbol.for("react.memo_cache_sentinel"))Zq=G(F.Suspense,{fallback:null,children:G(UJ,{promise:Pz})}),q[57]=Zq;else Zq=q[57];let m;if(q[58]!==f||q[59]!==u)m=Q(B,{flexDirection:"column",children:[Jq,f,u,Qq,Zq]}),q[58]=f,q[59]=u,q[60]=m;else m=q[60];let Yq,Kq,Gq,Vq;if(q[61]===Symbol.for("react.memo_cache_sentinel"))Yq=G(_q,{}),Kq=G(Rz,{}),Gq=null,Vq=Dq.length>0&&Q(B,{flexDirection:"column",children:[G(J,{bold:!0,children:"Environment Variables"}),Dq.map(OJ)]}),q[61]=Yq,q[62]=Kq,q[63]=Gq,q[64]=Vq;else Yq=q[61],Kq=q[62],Gq=q[63],Vq=q[64];let p;if(q[65]!==L)p=L?.enabled&&Q(B,{flexDirection:"column",children:[G(J,{bold:!0,children:"Version Locks"}),L.staleLocksCleaned>0&&Q(J,{dimColor:!0,children:["└ Cleaned ",L.staleLocksCleaned," stale lock(s)"]}),L.locks.length===0?G(J,{dimColor:!0,children:"└ No active version locks"}):L.locks.map(PJ)]}),q[65]=L,q[66]=p;else p=q[66];let j;if(q[67]!==U)j=U?.failedFiles&&U.failedFiles.length>0&&Q(B,{flexDirection:"column",children:[G(J,{bold:!0,color:"error",children:"Agent Parse Errors"}),Q(J,{color:"error",children:["└ Failed to parse ",U.failedFiles.length," agent file(s):"]}),U.failedFiles.map(hJ)]}),q[67]=U,q[68]=j;else j=q[68];let _;if(q[69]!==N)_=N.length>0&&Q(B,{flexDirection:"column",children:[G(J,{bold:!0,color:"error",children:"Plugin Errors"}),Q(J,{color:"error",children:["└ ",N.length," plugin error(s) detected:"]}),N.map(LJ)]}),q[69]=N,q[70]=_;else _=q[70];let d;if(q[71]!==X)d=X?.unreachableRulesWarning&&Q(B,{flexDirection:"column",children:[G(J,{bold:!0,color:"warning",children:"Unreachable Permission Rules"}),Q(J,{children:["└"," ",Q(J,{color:"warning",children:[l.warning," ",X.unreachableRulesWarning.message]})]}),X.unreachableRulesWarning.details.map(WJ)]}),q[71]=X,q[72]=d;else d=q[72];let T;if(q[73]!==X)T=X&&(X.claudeMdWarning||X.agentWarning||X.mcpWarning||X.ruleFilesWarning)&&Q(B,{flexDirection:"column",children:[G(J,{bold:!0,children:"Context Usage Warnings"}),X.claudeMdWarning&&Q(R,{children:[Q(J,{children:["└"," ",Q(J,{color:"warning",children:[l.warning," ",X.claudeMdWarning.message]})]}),Q(J,{children:[" ","└ Files:"]}),X.claudeMdWarning.details.map(bJ)]}),X.agentWarning&&Q(R,{children:[Q(J,{children:["└"," ",Q(J,{color:"warning",children:[l.warning," ",X.agentWarning.message]})]}),Q(J,{children:[" ","└ Top contributors:"]}),X.agentWarning.details.map(RJ)]}),X.mcpWarning&&Q(R,{children:[Q(J,{children:["└"," ",Q(J,{color:"warning",children:[l.warning," ",X.mcpWarning.message]})]}),Q(J,{children:[" ","└ MCP servers:"]}),X.mcpWarning.details.map(HJ)]}),X.ruleFilesWarning&&Q(R,{children:[Q(J,{children:["└"," ",Q(J,{color:X.ruleFilesWarning.severity==="error"?"error":"warning",children:[l.warning," ",X.ruleFilesWarning.message]})]}),Q(J,{children:[" ","└ Rules:"]}),X.ruleFilesWarning.details.map(FJ)]})]}),q[73]=X,q[74]=T;else T=q[74];let yq;if(q[75]===Symbol.for("react.memo_cache_sentinel"))yq=G(B,{children:G(bz,{})}),q[75]=yq;else yq=q[75];let Xq;if(q[76]!==E||q[77]!==m||q[78]!==p||q[79]!==j||q[80]!==_||q[81]!==d||q[82]!==T)Xq=Q(vq,{children:[E,m,Yq,Kq,Gq,Vq,p,j,_,d,T,yq]}),q[76]=E,q[77]=m,q[78]=p,q[79]=j,q[80]=_,q[81]=d,q[82]=T,q[83]=Xq;else Xq=q[83];return Xq}function FJ(z,q){return Q(J,{dimColor:!0,children:[" ","└ ",z]},q)}function HJ(z,q){return Q(J,{dimColor:!0,children:[" ","└ ",z]},q)}function RJ(z,q){return Q(J,{dimColor:!0,children:[" ","└ ",z]},q)}function bJ(z,q){return Q(J,{dimColor:!0,children:[" ","└ ",z]},q)}function WJ(z,q){return Q(J,{dimColor:!0,children:[" ","└ ",z]},q)}function LJ(z,q){return Q(J,{dimColor:!0,children:[" ","└ ",z.source||"unknown","plugin"in z&&z.plugin?` [${z.plugin}]`:"",":"," ",Kz(z)]},q)}function hJ(z,q){return Q(J,{dimColor:!0,children:[" ","└ ",z.path,": ",z.error]},q)}function PJ(z,q){return Q(J,{children:["└ ",z.version,": PID ",z.pid," ",z.isProcessRunning?G(J,{children:"(running)"}):G(J,{color:"warning",children:"(stale)"})]},q)}function OJ(z,q){return Q(J,{children:["└ ",z.name,":"," ",G(J,{color:z.status==="capped"?"warning":"error",children:z.message})]},q)}function AJ(z,q){return Q(B,{flexDirection:"column",children:[Q(J,{color:"warning",children:["Warning: ",z.issue]}),Q(J,{children:["Fix: ",z.fix]})]},q)}function IJ(z,q){return Q(J,{children:["└ ",z.type," at ",z.path]},q)}function vJ(z){return{agentType:z.agentType,source:z.source}}function MJ(z){return z.status!=="valid"}function CJ(z){let q=process.env[z.name],y=qz(z.name,q,z.default,z.upperLimit);return{name:z.name,...y}}function kJ(z){return z.mcpErrorMetadata===void 0}function DJ(z){return(z.installationType==="native"?Xz:yz)().catch(SJ)}function SJ(){return{latest:null,stable:null}}function EJ(z){return z.plugins.errors}function fJ(z){return z.toolPermissionContext}function uJ(z){return z.mcp.tools}function mJ(z){return z.agentDefinitions}var Cq,F;var pJ=hq(()=>{az();XJ();ez();$q();rz();Tq();QJ();wJ();dq();NJ();BJ();JJ();mq();zJ();yJ();qJ();ZJ();oq();YJ();oz();iz();GJ();nz();tz();VJ();KJ();wq();Cq=Lq(uq(),1),F=Lq(sz(),1)});
|
|
4
|
-
export{kQ as Kf,pJ as Lf};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{AE as Vq,Ak as zq,Bj as Oq,Bx as S,CN as P,Cx as Qq,DN as Zq,Jl as m,OR as Aq,PR as Yq,Sl as R,Tl as W,_l as p,am as Hq,lm as F,qm as Kq,tG as M,uG as Xq,zE as c,zj as a,zk as g}from"./cli-1.1.36-v0s0vqmm.mjs";import{sT as i,tT as Gq}from"./cli-1.1.36-6jv1ss2p.mjs";import{EX as Jq,MV as Bq,YW as E,_W as j}from"./cli-1.1.36-4ssz80b2.mjs";import{c1 as Q,d1 as v,e1 as y}from"./cli-1.1.36-z5djkbwy.mjs";import{f1 as Iq}from"./cli-1.1.36-apycha28.mjs";import{U_ as T,W_ as qq}from"./cli-1.1.36-t6sjxpcb.mjs";import{Aia as $,Dia as e}from"./cli-1.1.36-jpcwwd65.mjs";import{Npa as w,Opa as s,Rpa as k}from"./cli-1.1.36-c4pkjm54.mjs";function f(){(Yq(),s(Aq)).saveWorktreeState(null),g()}function l({onDone:G,onCancel:I}){let[V,H]=X.useState("loading"),[J,O]=X.useState([]),[z,Z]=X.useState(0),[_,K]=X.useState(),q=m();if(X.useEffect(()=>{async function A(){let B=[],Y=await T("git",["status","--porcelain"]);if(Y.stdout)B=Y.stdout.split(`
|
|
2
|
-
`).filter((U)=>U.trim()!==""),O(B);if(q){let{stdout:U}=await T("git",["rev-list","--count",`${q.originalHeadCommit}..HEAD`]),x=parseInt(U.trim())||0;if(Z(x),B.length===0&&x===0){H("removing"),W().then(()=>{process.chdir(q.originalCwd),P(q.originalCwd),F.cache.clear?.(),K("Worktree removed (no changes)")}).catch((t)=>{$(`Failed to clean up worktree: ${t}`,{level:"error"}),K("Worktree cleanup failed, exiting anyway")}).finally(()=>{f()}).then(()=>{H("done")});return}else H("asking")}}A()},[q]),X.useEffect(()=>{if(V==="done")G(_)},[V,G,_]),!q)return G("No active worktree session found",{display:"system"}),null;if(V==="loading"||V==="done")return null;async function d(A){if(!q)return;let B=Boolean(q.tmuxSessionName);if(A==="keep"||A==="keep-with-tmux"){H("keeping"),await R();try{process.chdir(q.originalCwd),P(q.originalCwd)}finally{f()}if(F.cache.clear?.(),B)K(`Worktree kept. Your work is saved at ${q.worktreePath} on branch ${q.worktreeBranch}. Reattach to tmux session with: tmux attach -t ${q.tmuxSessionName}`);else K(`Worktree kept. Your work is saved at ${q.worktreePath} on branch ${q.worktreeBranch}`);H("done")}else if(A==="keep-kill-tmux"){if(H("keeping"),q.tmuxSessionName)await p(q.tmuxSessionName);await R();try{process.chdir(q.originalCwd),P(q.originalCwd)}finally{f()}F.cache.clear?.(),K(`Worktree kept at ${q.worktreePath} on branch ${q.worktreeBranch}. Tmux session terminated.`),H("done")}else if(A==="remove"||A==="remove-with-tmux"){if(H("removing"),q.tmuxSessionName)await p(q.tmuxSessionName);try{await W(),process.chdir(q.originalCwd),P(q.originalCwd),F.cache.clear?.()}catch(U){$(`Failed to clean up worktree: ${U}`,{level:"error"}),K("Worktree cleanup failed, exiting anyway"),H("done");return}finally{f()}let Y=B?" Tmux session terminated.":"";if(z>0&&J.length>0)K(`Worktree removed. ${z} ${z===1?"commit":"commits"} and uncommitted changes were discarded.${Y}`);else if(z>0)K(`Worktree removed. ${z} ${z===1?"commit":"commits"} on ${q.worktreeBranch} ${z===1?"was":"were"} discarded.${Y}`);else if(J.length>0)K(`Worktree removed. Uncommitted changes were discarded.${Y}`);else K(`Worktree removed.${Y}`);H("done")}}if(V==="keeping")return v(E,{flexDirection:"row",marginY:1,children:[Q(M,{}),Q(j,{children:"Keeping worktree…"})]});if(V==="removing")return v(E,{flexDirection:"row",marginY:1,children:[Q(M,{}),Q(j,{children:"Removing worktree…"})]});let D=q.worktreeBranch,N=J.length>0,b=z>0,L="";if(N&&b)L=`You have ${J.length} uncommitted ${J.length===1?"file":"files"} and ${z} ${z===1?"commit":"commits"} on ${D}. All will be lost if you remove.`;else if(N)L=`You have ${J.length} uncommitted ${J.length===1?"file":"files"}. These will be lost if you remove the worktree.`;else if(b)L=`You have ${z} ${z===1?"commit":"commits"} on ${D}. The branch will be deleted if you remove the worktree.`;else L="You are working in a worktree. Keep it to continue working there, or remove it to clean up.";function r(){if(I){I();return}d("keep")}let h=N||b?"All changes and commits will be lost.":"Clean up the worktree directory.",C=Boolean(q.tmuxSessionName),o=C?[{label:"Keep worktree and tmux session",value:"keep-with-tmux",description:`Stays at ${q.worktreePath}. Reattach with: tmux attach -t ${q.tmuxSessionName}`},{label:"Keep worktree, kill tmux session",value:"keep-kill-tmux",description:`Keeps worktree at ${q.worktreePath}, terminates tmux session.`},{label:"Remove worktree and tmux session",value:"remove-with-tmux",description:h}]:[{label:"Keep worktree",value:"keep",description:`Stays at ${q.worktreePath}`},{label:"Remove worktree",value:"remove",description:h}];return Q(S,{title:"Exiting worktree session",subtitle:L,onCancel:r,children:Q(c,{defaultFocusValue:C?"keep-with-tmux":"keep",options:o,onChange:d})})}var X;var u=k(()=>{e();Jq();qq();Kq();zq();Zq();Hq();Vq();Qq();Xq();y();X=w(Iq(),1)});function Uq(){return i(Lq)??"Goodbye!"}function hq(G){let I=n.c(5),{showWorktree:V,onDone:H,onCancel:J}=G,O;if(I[0]!==H)O=async function(_){H(_??Uq()),await a(0,"prompt_input_exit")},I[0]=H,I[1]=O;else O=I[1];let z=O;if(V){let Z;if(I[2]!==J||I[3]!==z)Z=Q(l,{onDone:z,onCancel:J}),I[2]=J,I[3]=z,I[4]=Z;else Z=I[4];return Z}return null}var n,Lq;var Fq=k(()=>{Gq();Oq();u();y();n=w(Bq(),1),Lq=["Goodbye!","See ya!","Bye!","Catch you later!"]});
|
|
3
|
-
export{hq as Jb,Fq as Kb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Vc as O,Wc as Q,Zc as U,_c as $}from"./cli-1.1.36-69zmc79s.mjs";import{LE as _,zE as N}from"./cli-1.1.36-v0s0vqmm.mjs";import{EX as Z,YW as G,_W as w}from"./cli-1.1.36-4ssz80b2.mjs";import{c1 as q,d1 as F,e1 as K}from"./cli-1.1.36-z5djkbwy.mjs";import{f1 as Y}from"./cli-1.1.36-apycha28.mjs";import{Npa as W,Rpa as X}from"./cli-1.1.36-c4pkjm54.mjs";function R({enabled:J,onDismiss:H}){let[z,A]=V.useState(()=>J?{kind:"prompt"}:{kind:"hidden"});if(!J||z.kind==="hidden")return null;if(z.kind==="running")return F(G,{flexDirection:"column",marginBottom:1,children:[q(w,{color:"warning",bold:!0,children:"Migrating ~/.claude/ to ~/.claudin/..."}),q(w,{dimColor:!0,children:"Copying API tokens and provider profiles."})]});if(z.kind==="success"||z.kind==="error"){let I=z.kind==="success"?"success":"warning",E=z.kind==="success"?"Migration complete":"Migration finished with warnings";return F(G,{flexDirection:"column",marginBottom:1,children:[q(w,{color:I,bold:!0,children:E}),q(w,{children:Q(z.report)}),q(w,{dimColor:!0,children:"Next: /import brings skills, MCP servers, agents and slash commands — from Claude Code, and from Codex, Gemini CLI, Qwen Code, opencode, Kimi CLI and Cursor."})]})}return F(G,{flexDirection:"column",marginBottom:1,children:[q(w,{color:"warning",bold:!0,children:"Found Claude Code config at ~/.claude/"}),q(w,{children:"Copy the Claude Code sign-in — API tokens and provider profiles — into ~/.claudin/?"}),q(N,{options:[{value:"migrate",label:"Copy my sign-in",description:"Tokens only. Run /import for skills, MCP, agents."},{value:"skip",label:"Skip — start fresh",description:"Don't ask again this profile."}],onChange:(I)=>{if(I==="skip"){U(),A({kind:"hidden"}),H?.("skipped");return}A({kind:"running"}),(async()=>{let E=await O();A({kind:E.errors.length===0?"success":"error",report:E}),H?.("migrated")})()},onCancel:()=>{A({kind:"hidden"}),H?.("skipped")},visibleOptionCount:2})]})}var V;var f=X(()=>{Z();$();_();K();V=W(Y(),1)});
|
|
2
|
-
export{R as Tc,f as Uc};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{EO as a,Tx as y,Xx as r,uO as F,vO as S,yO as C}from"./cli-1.1.36-v0s0vqmm.mjs";import{KV as z,LV as b}from"./cli-1.1.36-4ssz80b2.mjs";import{DZ as D,EZ as o}from"./cli-1.1.36-p7w1197h.mjs";import{A9 as u,w9 as R,x9 as l,z9 as T}from"./cli-1.1.36-t6sjxpcb.mjs";import{Aia as N,Dia as g,gia as O,iia as c,mia as L,qia as d}from"./cli-1.1.36-jpcwwd65.mjs";import{apa as _,bpa as I}from"./cli-1.1.36-cm2kys6t.mjs";import{Rpa as j}from"./cli-1.1.36-c4pkjm54.mjs";import{spawn as G,spawnSync as w}from"child_process";import{basename as k}from"path";function P(q){return!!T(q)}function V(q){let H=k(q.split(" ")[0]??"");return h.find((B)=>H.includes(B))}function p(q,H,B){if(!B)return[H];if(m.has(q))return["-g",`${H}:${B}`];if(q==="subl")return[`${H}:${B}`];return[H]}function Qq(q,H){let B=v();if(!B)return!1;let J=B.split(" "),X=J[0]??B,K=J.slice(1),Q=V(B);if(Q){let W=p(Q,q,H),Z={detached:!0,stdio:"ignore"},M;if(process.platform==="win32"){let U=W.map((E)=>`"${E}"`).join(" ");M=G(`${B} ${U}`,{...Z,shell:!0})}else M=G(X,[...K,...W],Z);return M.on("error",(U)=>N(`editor spawn failed: ${U}`,{level:"error"})),M.unref(),!0}let $=z.get(process.stdout);if(!$)return!1;let Y=H&&f.test(k(X));$.enterAlternateScreen();try{let W={stdio:"inherit"},Z;if(process.platform==="win32"){let M=Y?`+${H} `:"";Z=w(`${B} ${M}"${q}"`,{...W,shell:!0})}else{let M=[...K,...Y?[`+${H}`,q]:[q]];Z=w(X,M,W)}if(Z.error)return N(`editor spawn failed: ${Z.error}`,{level:"error"}),!1;return!0}finally{$.exitAlternateScreen()}}var h,f,m,v;var x=j(()=>{I();b();g();u();h=["code","cursor","windsurf","codium","subl","atom","gedit","notepad++","notepad"],f=/\b(vi|vim|nvim|nano|emacs|pico|micro|helix|hx)\b/,m=new Set(["code","cursor","windsurf","codium"]);v=_(()=>{if(process.env.VISUAL?.trim())return process.env.VISUAL.trim();if(process.env.EDITOR?.trim())return process.env.EDITOR.trim();if(process.platform==="win32")return"start /wait notepad";return["code","vi","nano"].find((H)=>P(H))})});function s(q){return V(q)!==void 0}function i(q){let H=L(),B=z.get(process.stdout);if(!B)throw Error("Ink instance not found - cannot pause rendering");let J=v();if(!J)return{content:null};try{H.statSync(q)}catch{return{content:null}}let X=!s(J);if(X)B.enterAlternateScreen();else B.pause(),B.suspendStdin();try{let K=Object.hasOwn(A,J)?A[J]:J;return R(`${K} "${q}"`,{stdio:"inherit"}),{content:H.readFileSync(q,{encoding:"utf-8"})}}catch(K){if(typeof K==="object"&&K!==null&&"status"in K&&typeof K.status==="number"){let Q=K.status;if(Q!==0)return{content:null,error:`${y(J)} exited with code ${Q}`}}return{content:null}}finally{if(X)B.exitAlternateScreen();else B.resumeStdin(),B.resume()}}function n(q,H,B){let J=q;for(let[X,K]of Object.entries(B))if(K.type==="text"){let Q=parseInt(X),$=K.content,Y=J.indexOf($);if(Y!==-1){let W=F($),Z=S(Q,W);J=J.slice(0,Y)+Z+J.slice(Y+$.length)}}return J}function Vq(q,H){let B=L(),J=D();try{let X=H?C(q,H):q;O(J,X,{encoding:"utf-8",flush:!0});let K=i(J);if(K.content===null)return K;let Q=K.content;if(Q.endsWith(`
|
|
2
|
-
`)&&!Q.endsWith(`
|
|
3
|
-
|
|
4
|
-
`))Q=Q.slice(0,-1);if(H)Q=n(Q,q,H);return{content:Q}}finally{try{B.unlinkSync(J)}catch{}}}var A;var t=j(()=>{a();b();x();l();d();r();c();o();A={code:"code -w",subl:"subl --wait"}});
|
|
5
|
-
export{Qq as jg,v as kg,x as lg,i as mg,Vq as ng,t as og};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import{A7 as Qc,B7 as Bc,C7 as ra,D7 as Xc,E7 as Yc,F7 as Zc,G7 as Jc,H7 as el,I7 as Hc,J7 as cr,K7 as Cc,L7 as Ts,M7 as gl,m7 as nt,n7 as hl,o7 as bl,p7 as ml,q7 as fn,r7 as $c,s7 as fu,t7 as Al,u7 as ys,v7 as El,w7 as st,x7 as hs,y7 as k,z7 as ur}from"./cli-1.1.36-pxy9g55g.mjs";import{N7 as ie}from"./cli-1.1.36-b77v7k9g.mjs";import{Q7 as kc,R7 as Le}from"./cli-1.1.36-ef3vjg8b.mjs";import{Fpa as Vc}from"./cli-1.1.36-as3jtdj6.mjs";import{Hpa as Fe,Ipa as ve,Lpa as De,Mpa as ee}from"./cli-1.1.36-gfn4xejp.mjs";import{Ppa as E,Spa as Bs}from"./cli-1.1.36-c4pkjm54.mjs";var _t=E((S)=>{Object.defineProperty(S,"__esModule",{value:!0});S.resolveHttpHandlerRuntimeConfig=S.getHttpHandlerExtensionConfiguration=S.isValidHostname=S.HttpResponse=S.HttpRequest=S.Fields=S.Field=void 0;var N=ee();Object.defineProperty(S,"Field",{enumerable:!0,get:function(){return N.Field}});Object.defineProperty(S,"Fields",{enumerable:!0,get:function(){return N.Fields}});Object.defineProperty(S,"HttpRequest",{enumerable:!0,get:function(){return N.HttpRequest}});Object.defineProperty(S,"HttpResponse",{enumerable:!0,get:function(){return N.HttpResponse}});Object.defineProperty(S,"isValidHostname",{enumerable:!0,get:function(){return N.isValidHostname}});Object.defineProperty(S,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return N.getHttpHandlerExtensionConfiguration}});Object.defineProperty(S,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return N.resolveHttpHandlerRuntimeConfig}})});var Ot=E((c)=>{Object.defineProperty(c,"__esModule",{value:!0});c.createAggregatedClient=c.convertMap=c._json=c.ServiceException=c.SENSITIVE_STRING=c.NoOpLogger=c.Command=c.Client=c.strictParseShort=c.strictParseLong=c.strictParseInt32=c.strictParseInt=c.strictParseFloat32=c.strictParseFloat=c.strictParseDouble=c.strictParseByte=c.splitHeader=c.splitEvery=c.quoteHeader=c.parseRfc7231DateTime=c.parseRfc3339DateTimeWithOffset=c.parseRfc3339DateTime=c.parseEpochTimestamp=c.parseBoolean=c.nv=c.logger=c.limitedParseFloat32=c.limitedParseFloat=c.limitedParseDouble=c.handleFloat=c.generateIdempotencyToken=c.expectUnion=c.expectString=c.expectShort=c.expectObject=c.expectNumber=c.expectNonNull=c.expectLong=c.expectInt32=c.expectInt=c.expectFloat32=c.expectByte=c.expectBoolean=c.dateToUtcString=c.copyDocumentWithTransform=c._parseRfc7231DateTime=c._parseRfc3339DateTimeWithOffset=c._parseEpochTimestamp=c.NumericValue=c.LazyJsonString=void 0;c.resolvedPath=c.extendedEncodeURIComponent=c.collectBody=c.withBaseException=c.throwDefaultError=c.take=c.serializeFloat=c.serializeDateTime=c.resolveDefaultRuntimeConfig=c.map=c.loadConfigsForDefaultMode=c.isSerializableHeaderValue=c.getValueFromTextNode=c.getDefaultExtensionConfiguration=c.getDefaultClientConfiguration=c.getArrayIfSingleItem=c.emitWarningIfUnsupportedVersion=c.decorateServiceException=void 0;var p=De();Object.defineProperty(c,"LazyJsonString",{enumerable:!0,get:function(){return p.LazyJsonString}});Object.defineProperty(c,"NumericValue",{enumerable:!0,get:function(){return p.NumericValue}});Object.defineProperty(c,"_parseEpochTimestamp",{enumerable:!0,get:function(){return p._parseEpochTimestamp}});Object.defineProperty(c,"_parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return p._parseRfc3339DateTimeWithOffset}});Object.defineProperty(c,"_parseRfc7231DateTime",{enumerable:!0,get:function(){return p._parseRfc7231DateTime}});Object.defineProperty(c,"copyDocumentWithTransform",{enumerable:!0,get:function(){return p.copyDocumentWithTransform}});Object.defineProperty(c,"dateToUtcString",{enumerable:!0,get:function(){return p.dateToUtcString}});Object.defineProperty(c,"expectBoolean",{enumerable:!0,get:function(){return p.expectBoolean}});Object.defineProperty(c,"expectByte",{enumerable:!0,get:function(){return p.expectByte}});Object.defineProperty(c,"expectFloat32",{enumerable:!0,get:function(){return p.expectFloat32}});Object.defineProperty(c,"expectInt",{enumerable:!0,get:function(){return p.expectInt}});Object.defineProperty(c,"expectInt32",{enumerable:!0,get:function(){return p.expectInt32}});Object.defineProperty(c,"expectLong",{enumerable:!0,get:function(){return p.expectLong}});Object.defineProperty(c,"expectNonNull",{enumerable:!0,get:function(){return p.expectNonNull}});Object.defineProperty(c,"expectNumber",{enumerable:!0,get:function(){return p.expectNumber}});Object.defineProperty(c,"expectObject",{enumerable:!0,get:function(){return p.expectObject}});Object.defineProperty(c,"expectShort",{enumerable:!0,get:function(){return p.expectShort}});Object.defineProperty(c,"expectString",{enumerable:!0,get:function(){return p.expectString}});Object.defineProperty(c,"expectUnion",{enumerable:!0,get:function(){return p.expectUnion}});Object.defineProperty(c,"generateIdempotencyToken",{enumerable:!0,get:function(){return p.generateIdempotencyToken}});Object.defineProperty(c,"handleFloat",{enumerable:!0,get:function(){return p.handleFloat}});Object.defineProperty(c,"limitedParseDouble",{enumerable:!0,get:function(){return p.limitedParseDouble}});Object.defineProperty(c,"limitedParseFloat",{enumerable:!0,get:function(){return p.limitedParseFloat}});Object.defineProperty(c,"limitedParseFloat32",{enumerable:!0,get:function(){return p.limitedParseFloat32}});Object.defineProperty(c,"logger",{enumerable:!0,get:function(){return p.logger}});Object.defineProperty(c,"nv",{enumerable:!0,get:function(){return p.nv}});Object.defineProperty(c,"parseBoolean",{enumerable:!0,get:function(){return p.parseBoolean}});Object.defineProperty(c,"parseEpochTimestamp",{enumerable:!0,get:function(){return p.parseEpochTimestamp}});Object.defineProperty(c,"parseRfc3339DateTime",{enumerable:!0,get:function(){return p.parseRfc3339DateTime}});Object.defineProperty(c,"parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return p.parseRfc3339DateTimeWithOffset}});Object.defineProperty(c,"parseRfc7231DateTime",{enumerable:!0,get:function(){return p.parseRfc7231DateTime}});Object.defineProperty(c,"quoteHeader",{enumerable:!0,get:function(){return p.quoteHeader}});Object.defineProperty(c,"splitEvery",{enumerable:!0,get:function(){return p.splitEvery}});Object.defineProperty(c,"splitHeader",{enumerable:!0,get:function(){return p.splitHeader}});Object.defineProperty(c,"strictParseByte",{enumerable:!0,get:function(){return p.strictParseByte}});Object.defineProperty(c,"strictParseDouble",{enumerable:!0,get:function(){return p.strictParseDouble}});Object.defineProperty(c,"strictParseFloat",{enumerable:!0,get:function(){return p.strictParseFloat}});Object.defineProperty(c,"strictParseFloat32",{enumerable:!0,get:function(){return p.strictParseFloat32}});Object.defineProperty(c,"strictParseInt",{enumerable:!0,get:function(){return p.strictParseInt}});Object.defineProperty(c,"strictParseInt32",{enumerable:!0,get:function(){return p.strictParseInt32}});Object.defineProperty(c,"strictParseLong",{enumerable:!0,get:function(){return p.strictParseLong}});Object.defineProperty(c,"strictParseShort",{enumerable:!0,get:function(){return p.strictParseShort}});var A=ve();Object.defineProperty(c,"Client",{enumerable:!0,get:function(){return A.Client}});Object.defineProperty(c,"Command",{enumerable:!0,get:function(){return A.Command}});Object.defineProperty(c,"NoOpLogger",{enumerable:!0,get:function(){return A.NoOpLogger}});Object.defineProperty(c,"SENSITIVE_STRING",{enumerable:!0,get:function(){return A.SENSITIVE_STRING}});Object.defineProperty(c,"ServiceException",{enumerable:!0,get:function(){return A.ServiceException}});Object.defineProperty(c,"_json",{enumerable:!0,get:function(){return A._json}});Object.defineProperty(c,"convertMap",{enumerable:!0,get:function(){return A.convertMap}});Object.defineProperty(c,"createAggregatedClient",{enumerable:!0,get:function(){return A.createAggregatedClient}});Object.defineProperty(c,"decorateServiceException",{enumerable:!0,get:function(){return A.decorateServiceException}});Object.defineProperty(c,"emitWarningIfUnsupportedVersion",{enumerable:!0,get:function(){return A.emitWarningIfUnsupportedVersion}});Object.defineProperty(c,"getArrayIfSingleItem",{enumerable:!0,get:function(){return A.getArrayIfSingleItem}});Object.defineProperty(c,"getDefaultClientConfiguration",{enumerable:!0,get:function(){return A.getDefaultClientConfiguration}});Object.defineProperty(c,"getDefaultExtensionConfiguration",{enumerable:!0,get:function(){return A.getDefaultExtensionConfiguration}});Object.defineProperty(c,"getValueFromTextNode",{enumerable:!0,get:function(){return A.getValueFromTextNode}});Object.defineProperty(c,"isSerializableHeaderValue",{enumerable:!0,get:function(){return A.isSerializableHeaderValue}});Object.defineProperty(c,"loadConfigsForDefaultMode",{enumerable:!0,get:function(){return A.loadConfigsForDefaultMode}});Object.defineProperty(c,"map",{enumerable:!0,get:function(){return A.map}});Object.defineProperty(c,"resolveDefaultRuntimeConfig",{enumerable:!0,get:function(){return A.resolveDefaultRuntimeConfig}});Object.defineProperty(c,"serializeDateTime",{enumerable:!0,get:function(){return A.serializeDateTime}});Object.defineProperty(c,"serializeFloat",{enumerable:!0,get:function(){return A.serializeFloat}});Object.defineProperty(c,"take",{enumerable:!0,get:function(){return A.take}});Object.defineProperty(c,"throwDefaultError",{enumerable:!0,get:function(){return A.throwDefaultError}});Object.defineProperty(c,"withBaseException",{enumerable:!0,get:function(){return A.withBaseException}});var Ie=ee();Object.defineProperty(c,"collectBody",{enumerable:!0,get:function(){return Ie.collectBody}});Object.defineProperty(c,"extendedEncodeURIComponent",{enumerable:!0,get:function(){return Ie.extendedEncodeURIComponent}});Object.defineProperty(c,"resolvedPath",{enumerable:!0,get:function(){return Ie.resolvedPath}})});var xt=E((Nt)=>{Object.defineProperty(Nt,"__esModule",{value:!0});Nt.toStream=Ys;var Xs=Bs("node:stream");function Ys(e){return Xs.Readable.from(Buffer.from(e))}});var jt=E((ro)=>{var Js=(e)=>typeof e==="string"&&e.indexOf("arn:")===0&&e.split(":").length>=6,eo=(e)=>{let t=e.split(":");if(t.length<6||t[0]!=="arn")throw Error("Malformed ARN");let[,r,n,s,o,...a]=t;return{partition:r,service:n,region:s,accountId:o,resource:a.join(":")}},to=(e)=>{let{partition:t="aws",service:r,region:n,accountId:s,resource:o}=e;if([r,n,s,o].some((a)=>typeof a!=="string"))throw Error("Input ARN object is invalid");return`arn:${t}:${r}:${n}:${s}:${o}`};ro.build=to;ro.parse=eo;ro.validate=Js});var or=E((ho)=>{var v=De(),$t=ve(),W=ee();class Mt{format(e){let t=[];for(let s of Object.keys(e)){let o=v.fromUtf8(s);t.push(Uint8Array.from([o.byteLength]),o,this.formatHeaderValue(e[s]))}let r=new Uint8Array(t.reduce((s,o)=>s+o.byteLength,0)),n=0;for(let s of t)r.set(s,n),n+=s.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":let n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":let s=new DataView(new ArrayBuffer(3+e.value.byteLength));s.setUint8(0,6),s.setUint16(1,e.value.byteLength,!1);let o=new Uint8Array(s.buffer);return o.set(e.value,3),o;case"string":let a=v.fromUtf8(e.value),u=new DataView(new ArrayBuffer(3+a.byteLength));u.setUint8(0,7),u.setUint16(1,a.byteLength,!1);let i=new Uint8Array(u.buffer);return i.set(a,3),i;case"timestamp":let d=new Uint8Array(9);return d[0]=8,d.set(_e.fromNumber(e.value.valueOf()).bytes,1),d;case"uuid":if(!ao.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let l=new Uint8Array(17);return l[0]=9,l.set(v.fromHex(e.value.replace(/\-/g,"")),1),l}}}var Ht;(function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"})(Ht||(Ht={}));var ao=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class _e{bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>9223372036854776000||e<-9223372036854776000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;if(e<0)Ct(t);return new _e(t)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;if(t)Ct(e);return parseInt(v.toHex(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function Ct(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1;t--)if(e[t]++,e[t]!==0)break}var Ft="X-Amz-Algorithm",Lt="X-Amz-Credential",Oe="X-Amz-Date",Gt="X-Amz-SignedHeaders",Wt="X-Amz-Expires",Ne="X-Amz-Signature",xe="X-Amz-Security-Token",io="X-Amz-Region-Set",je="authorization",$e=Oe.toLowerCase(),Kt="date",zt=[je,$e,Kt],qt=Ne.toLowerCase(),oe="x-amz-content-sha256",Vt=xe.toLowerCase(),uo="host",kt={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},Qt=/^proxy-/,Bt=/^sec-/,co=[/^proxy-/i,/^sec-/i],te="AWS4-HMAC-SHA256",lo="AWS4-ECDSA-P256-SHA256",Xt="AWS4-HMAC-SHA256-PAYLOAD",Yt="UNSIGNED-PAYLOAD",Zt=50,He="aws4_request",Jt=604800,er=({query:e={}})=>{let t=[],r={};for(let n of Object.keys(e)){if(n.toLowerCase()===qt)continue;let s=W.escapeUri(n);t.push(s);let o=e[n];if(typeof o==="string")r[s]=`${s}=${W.escapeUri(o)}`;else if(Array.isArray(o))r[s]=o.slice(0).reduce((a,u)=>a.concat([`${s}=${W.escapeUri(u)}`]),[]).sort().join("&")}return t.sort().map((n)=>r[n]).filter((n)=>n).join("&")},po=(e)=>fo(e).toISOString().replace(/\.\d{3}Z$/,"Z"),fo=(e)=>{if(typeof e==="number")return new Date(e*1000);if(typeof e==="string"){if(Number(e))return new Date(Number(e)*1000);return new Date(e)}return e};class Ce{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){this.service=n,this.sha256=s,this.uriEscapePath=o,this.applyChecksum=typeof e==="boolean"?e:!0,this.regionProvider=$t.normalizeProvider(r),this.credentialProvider=$t.normalizeProvider(t)}createCanonicalRequest(e,t,r){let n=Object.keys(t).sort();return`${e.method}
|
|
2
|
-
${this.getCanonicalPath(e)}
|
|
3
|
-
${er(e)}
|
|
4
|
-
${n.map((s)=>`${s}:${t[s]}`).join(`
|
|
5
|
-
`)}
|
|
6
|
-
|
|
7
|
-
${n.join(";")}
|
|
8
|
-
${r}`}async createStringToSign(e,t,r,n){let s=new this.sha256;s.update(v.toUint8Array(r));let o=await s.digest();return`${n}
|
|
9
|
-
${e}
|
|
10
|
-
${t}
|
|
11
|
-
${v.toHex(o)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let s of e.split("/")){if(s?.length===0)continue;if(s===".")continue;if(s==="..")t.pop();else t.push(s)}let r=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`;return W.escapeUri(r).replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if(typeof e!=="object"||typeof e.accessKeyId!=="string"||typeof e.secretAccessKey!=="string")throw Error("Resolved credential object is not valid")}formatDate(e){let t=po(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}var G={},re=[],ne=(e,t,r)=>`${e}/${t}/${r}/${He}`,tr=async(e,t,r,n,s)=>{let o=await Ut(e,t.secretAccessKey,t.accessKeyId),a=`${r}:${n}:${s}:${v.toHex(o)}:${t.sessionToken}`;if(a in G)return G[a];re.push(a);while(re.length>Zt)delete G[re.shift()];let u=`AWS4${t.secretAccessKey}`;for(let i of[r,n,s,He])u=await Ut(e,u,i);return G[a]=u},go=()=>{re.length=0,Object.keys(G).forEach((e)=>{delete G[e]})},Ut=(e,t,r)=>{let n=new e(t);return n.update(v.toUint8Array(r)),n.digest()},Te=({headers:e},t,r)=>{let n={};for(let s of Object.keys(e).sort()){if(e[s]==null)continue;let o=s.toLowerCase();if(o in kt||t?.has(o)||Qt.test(o)||Bt.test(o)){if(!r||r&&!r.has(o))continue}n[o]=e[s].trim().replace(/\s+/g," ")}return n},se=async({headers:e,body:t},r)=>{for(let n of Object.keys(e))if(n.toLowerCase()===oe)return e[n];if(t==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof t==="string"||ArrayBuffer.isView(t)||v.isArrayBuffer(t)){let n=new r;return n.update(v.toUint8Array(t)),v.toHex(await n.digest())}return Yt},rr=(e,t)=>{e=e.toLowerCase();for(let r of Object.keys(t))if(e===r.toLowerCase())return!0;return!1},nr=(e,t={})=>{let{headers:r,query:n={}}=W.HttpRequest.clone(e);for(let s of Object.keys(r)){let o=s.toLowerCase();if(o.slice(0,6)==="x-amz-"&&!t.unhoistableHeaders?.has(o)||t.hoistableHeaders?.has(o))n[s]=r[s],delete r[s]}return{...e,headers:r,query:n}},Se=(e)=>{e=W.HttpRequest.clone(e);for(let t of Object.keys(e.headers))if(zt.indexOf(t.toLowerCase())>-1)delete e.headers[t];return e};class sr extends Ce{headerFormatter=new Mt;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){super({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o})}async presign(e,t={}){let{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:s,unhoistableHeaders:o,signableHeaders:a,hoistableHeaders:u,signingRegion:i,signingService:d}=t,l=await this.credentialProvider();this.validateResolvedCredentials(l);let b=i??await this.regionProvider(),{longDate:y,shortDate:h}=this.formatDate(r);if(n>Jt)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let R=ne(h,b,d??this.service),g=nr(Se(e),{unhoistableHeaders:o,hoistableHeaders:u});if(l.sessionToken)g.query[xe]=l.sessionToken;g.query[Ft]=te,g.query[Lt]=`${l.accessKeyId}/${R}`,g.query[Oe]=y,g.query[Wt]=n.toString(10);let T=Te(g,s,a);return g.query[Gt]=this.getCanonicalHeaderList(T),g.query[Ne]=await this.getSignature(y,R,this.getSigningKey(l,b,h,d),this.createCanonicalRequest(g,T,await se(e,this.sha256))),g}async sign(e,t){if(typeof e==="string")return this.signString(e,t);else if(e.headers&&e.payload)return this.signEvent(e,t);else if(e.message)return this.signMessage(e,t);else return this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:s,signingService:o,eventStreamCredentials:a}){let u=s??await this.regionProvider(),{shortDate:i,longDate:d}=this.formatDate(r),l=ne(i,u,o??this.service),b=await se({headers:{},body:t},this.sha256),y=new this.sha256;y.update(e);let h=v.toHex(await y.digest()),R=[Xt,d,l,n,h,b].join(`
|
|
12
|
-
`);return this.signString(R,{signingDate:r,signingRegion:u,signingService:o,eventStreamCredentials:a})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature,eventStreamCredentials:s}).then((a)=>{return{message:e.message,signature:a}})}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}={}){let o=s??await this.credentialProvider();this.validateResolvedCredentials(o);let a=r??await this.regionProvider(),{shortDate:u}=this.formatDate(t),i=new this.sha256(await this.getSigningKey(o,a,u,n));return i.update(v.toUint8Array(e)),v.toHex(await i.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:s,signingService:o}={}){let a=await this.credentialProvider();this.validateResolvedCredentials(a);let u=s??await this.regionProvider(),i=Se(e),{longDate:d,shortDate:l}=this.formatDate(t),b=ne(l,u,o??this.service);if(i.headers[$e]=d,a.sessionToken)i.headers[Vt]=a.sessionToken;let y=await se(i,this.sha256);if(!rr(oe,i.headers)&&this.applyChecksum)i.headers[oe]=y;let h=Te(i,n,r),R=await this.getSignature(d,b,this.getSigningKey(a,u,l,o),this.createCanonicalRequest(i,h,y));return i.headers[je]=`${te} Credential=${a.accessKeyId}/${b}, SignedHeaders=${this.getCanonicalHeaderList(h)}, Signature=${R}`,i}async getSignature(e,t,r,n){let s=await this.createStringToSign(e,t,n,te),o=new this.sha256(await r);return o.update(v.toUint8Array(s)),v.toHex(await o.digest())}getSigningKey(e,t,r,n){return tr(this.sha256,e,r,t,n||this.service)}}var yo={SignatureV4a:null};ho.ALGORITHM_IDENTIFIER=te;ho.ALGORITHM_IDENTIFIER_V4A=lo;ho.ALGORITHM_QUERY_PARAM=Ft;ho.ALWAYS_UNSIGNABLE_HEADERS=kt;ho.AMZ_DATE_HEADER=$e;ho.AMZ_DATE_QUERY_PARAM=Oe;ho.AUTH_HEADER=je;ho.CREDENTIAL_QUERY_PARAM=Lt;ho.DATE_HEADER=Kt;ho.EVENT_ALGORITHM_IDENTIFIER=Xt;ho.EXPIRES_QUERY_PARAM=Wt;ho.GENERATED_HEADERS=zt;ho.HOST_HEADER=uo;ho.KEY_TYPE_IDENTIFIER=He;ho.MAX_CACHE_SIZE=Zt;ho.MAX_PRESIGNED_TTL=Jt;ho.PROXY_HEADER_PATTERN=Qt;ho.REGION_SET_PARAM=io;ho.SEC_HEADER_PATTERN=Bt;ho.SHA256_HEADER=oe;ho.SIGNATURE_HEADER=qt;ho.SIGNATURE_QUERY_PARAM=Ne;ho.SIGNED_HEADERS_QUERY_PARAM=Gt;ho.SignatureV4=sr;ho.SignatureV4Base=Ce;ho.TOKEN_HEADER=Vt;ho.TOKEN_QUERY_PARAM=xe;ho.UNSIGNABLE_PATTERNS=co;ho.UNSIGNED_PAYLOAD=Yt;ho.clearCredentialCache=go;ho.createScope=ne;ho.getCanonicalHeaders=Te;ho.getCanonicalQuery=er;ho.getPayloadHash=se;ho.getSigningKey=tr;ho.hasHeader=rr;ho.moveHeadersToQuery=nr;ho.prepareRequest=Se;ho.signatureV4aContainer=yo});var _r=E(($a)=>{var X=_t(),lr=Ot(),na=xt(),sa=jt(),oa=cr(),aa=Fe(),ia=or(),ae=ra(),ua=Le(),dr=ie(),ca=ur(),la="content-length",da="x-amz-decoded-content-length";function pr(){return(e,t)=>async(r)=>{let{request:n}=r;if(X.HttpRequest.isInstance(n)){if(!(la in n.headers)&&!(da in n.headers))if(typeof t?.logger?.warn==="function"&&!(t.logger instanceof lr.NoOpLogger))t.logger.warn("Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.");else console.warn("Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.")}return e({...r})}}var fr={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0},pa=(e)=>({applyToStack:(t)=>{t.add(pr(),fr)}}),gr=(e)=>{return(t,r)=>async(n)=>{let s=await e.region(),o=e.region,a=()=>{};if(r.__s3RegionRedirect)Object.defineProperty(e,"region",{writable:!1,value:async()=>{return r.__s3RegionRedirect}}),a=()=>Object.defineProperty(e,"region",{writable:!0,value:o});try{let u=await t(n);if(r.__s3RegionRedirect){a();let i=await e.region();if(s!==i)throw Error("Region was not restored following S3 region redirect.")}return u}catch(u){throw a(),u}}},yr={tags:["REGION_REDIRECT","S3"],name:"regionRedirectEndpointMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};function hr(e){return(t,r)=>async(n)=>{try{return await t(n)}catch(s){if(e.followRegionRedirects){let o=s?.$metadata?.httpStatusCode,a=r.commandName==="HeadBucketCommand",u=s?.$response?.headers?.["x-amz-bucket-region"];if(u){if(o===301||o===400&&(s?.name==="IllegalLocationConstraintException"||a)){try{let i=u;r.logger?.debug(`Redirecting from ${await e.region()} to ${i}`),r.__s3RegionRedirect=i}catch(i){throw Error("Region redirect failed: "+i)}return t(n)}}}throw s}}}var br={step:"initialize",tags:["REGION_REDIRECT","S3"],name:"regionRedirectMiddleware",override:!0},fa=(e)=>({applyToStack:(t)=>{t.add(hr(e),br),t.addRelativeTo(gr(e),yr)}}),mr=(e)=>{return(t,r)=>async(n)=>{let s=await t(n),{response:o}=s;if(X.HttpResponse.isInstance(o)){if(o.headers.expires){o.headers.expiresstring=o.headers.expires;try{lr.parseRfc7231DateTime(o.headers.expires)}catch(a){r.logger?.warn(`AWS SDK Warning for ${r.clientName}::${r.commandName} response parsing (${o.headers.expires}): ${a}`),delete o.headers.expires}}}return s}},Ar={tags:["S3"],name:"s3ExpiresMiddleware",override:!0,relation:"after",toMiddleware:"deserializerMiddleware"},ga=(e)=>({applyToStack:(t)=>{t.addRelativeTo(mr(),Ar)}});class ue{data;lastPurgeTime=Date.now();static EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=30000;constructor(e={}){this.data=e}get(e){let t=this.data[e];if(!t)return;return t}set(e,t){return this.data[e]=t,t}delete(e){delete this.data[e]}async purgeExpired(){let e=Date.now();if(this.lastPurgeTime+ue.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>e)return;for(let t in this.data){let r=this.data[t];if(!r.isRefreshing){let n=await r.identity;if(n.expiration){if(n.expiration.getTime()<e)delete this.data[t]}}}}}class B{_identity;isRefreshing;accessed;constructor(e,t=!1,r=Date.now()){this._identity=e,this.isRefreshing=t,this.accessed=r}get identity(){return this.accessed=Date.now(),this._identity}}class ce{createSessionFn;cache;static REFRESH_WINDOW_MS=60000;constructor(e,t=new ue){this.createSessionFn=e,this.cache=t}async getS3ExpressIdentity(e,t){let r=t.Bucket,{cache:n}=this,s=n.get(r);if(s)return s.identity.then((o)=>{if((o.expiration?.getTime()??0)<Date.now())return n.set(r,new B(this.getIdentity(r))).identity;if((o.expiration?.getTime()??0)<Date.now()+ce.REFRESH_WINDOW_MS&&!s.isRefreshing)s.isRefreshing=!0,this.getIdentity(r).then((i)=>{n.set(r,new B(Promise.resolve(i)))});return o});return n.set(r,new B(this.getIdentity(r))).identity}async getIdentity(e){await this.cache.purgeExpired().catch((n)=>{console.warn(`Error while clearing expired entries in S3ExpressIdentityCache:
|
|
13
|
-
`+n)});let t=await this.createSessionFn(e);if(!t.Credentials?.AccessKeyId||!t.Credentials?.SecretAccessKey)throw Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey.");return{accessKeyId:t.Credentials.AccessKeyId,secretAccessKey:t.Credentials.SecretAccessKey,sessionToken:t.Credentials.SessionToken,expiration:t.Credentials.Expiration?new Date(t.Credentials.Expiration):void 0}}}var ya="Directory",ha="S3Express",ba="sigv4-s3express",Ue="X-Amz-S3session-Token",Me=Ue.toLowerCase(),ma="AWS_S3_DISABLE_EXPRESS_SESSION_AUTH",Aa="s3_disable_express_session_auth",Ea={environmentVariableSelector:(e)=>ae.booleanSelector(e,ma,ae.SelectorType.ENV),configFileSelector:(e)=>ae.booleanSelector(e,Aa,ae.SelectorType.CONFIG),default:!1};class Er extends ia.SignatureV4{async signWithCredentials(e,t,r){let n=ar(t);e.headers[Me]=t.sessionToken;let s=this;return ir(s,n),s.signRequest(e,r??{})}async presignWithCredentials(e,t,r){let n=ar(t);return delete e.headers[Me],e.headers[Ue]=t.sessionToken,e.query=e.query??{},e.query[Ue]=t.sessionToken,ir(this,n),this.presign(e,r)}}function ar(e){return{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey,expiration:e.expiration}}function ir(e,t){let r=setTimeout(()=>{throw Error("SignatureV4S3Express credential override was created but not called.")},10),n=e.credentialProvider,s=()=>{return clearTimeout(r),e.credentialProvider=n,Promise.resolve(t)};e.credentialProvider=s}var Rr=(e)=>{return(t,r)=>async(n)=>{if(r.endpointV2){let s=r.endpointV2,o=s.properties?.authSchemes?.[0]?.name===ba;if(s.properties?.backend===ha||s.properties?.bucketType===ya)ua.setFeature(r,"S3_EXPRESS_BUCKET","J"),r.isS3ExpressBucket=!0;if(o){let u=n.input.Bucket;if(u){let i=await e.s3ExpressIdentityProvider.getS3ExpressIdentity(await e.credentials(),{Bucket:u});if(r.s3ExpressIdentity=i,X.HttpRequest.isInstance(n.request)&&i.sessionToken)n.request.headers[Me]=i.sessionToken}}}return t(n)}},wr={name:"s3ExpressMiddleware",step:"build",tags:["S3","S3_EXPRESS"],override:!0},Ra=(e)=>({applyToStack:(t)=>{t.add(Rr(e),wr)}}),wa=async(e,t,r,n)=>{let s=await n.signWithCredentials(r,e,{});if(s.headers["X-Amz-Security-Token"]||s.headers["x-amz-security-token"])throw Error("X-Amz-Security-Token must not be set for s3-express requests.");return s},Pa=(e)=>(t)=>{throw t},va=(e,t)=>{},Da=dr.httpSigningMiddlewareOptions,Pr=(e)=>(t,r)=>async(n)=>{if(!X.HttpRequest.isInstance(n.request))return t(n);let o=ca.getSmithyContext(r).selectedHttpAuthScheme;if(!o)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:a={}},identity:u,signer:i}=o,d;if(r.s3ExpressIdentity)d=await wa(r.s3ExpressIdentity,a,n.request,await e.signer());else d=await i.sign(n.request,u,a);let l=await t({...n,request:d}).catch((i.errorHandler||Pa)(a));return(i.successHandler||va)(l.response,a),l},Ia=(e)=>({applyToStack:(t)=>{t.addRelativeTo(Pr(e),dr.httpSigningMiddlewareOptions)}}),Ta=(e,{session:t})=>{let[r,n]=t,{forcePathStyle:s,useAccelerateEndpoint:o,disableMultiregionAccessPoints:a,followRegionRedirects:u,s3ExpressIdentityProvider:i,bucketEndpoint:d,expectContinueHeader:l}=e;return Object.assign(e,{forcePathStyle:s??!1,useAccelerateEndpoint:o??!1,disableMultiregionAccessPoints:a??!1,followRegionRedirects:u??!1,s3ExpressIdentityProvider:i??new ce(async(b)=>r().send(new n({Bucket:b}))),bucketEndpoint:d??!1,expectContinueHeader:l??2097152})},Sa={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},vr=(e)=>(t,r)=>async(n)=>{let s=await t(n),{response:o}=s;if(!X.HttpResponse.isInstance(o))return s;let{statusCode:a,body:u}=o;if(a<200||a>=300)return s;let i=await _a(u,e);if(o.body=na.toStream(i),i.length===0&&Sa[r.commandName]){let l=Error("S3 aborted request");throw l.$metadata={httpStatusCode:503},l.name="InternalError",l}let d=e.utf8Encoder(i.subarray(i.length-16));if(d&&d.endsWith("</Error>"))o.statusCode=503;return s},_a=(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return Promise.resolve(e);return t.streamCollector(e)||Promise.resolve(new Uint8Array)},Dr={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},Oa=(e)=>({applyToStack:(t)=>{t.addRelativeTo(vr(e),Dr)}});function Na(e){return(t,r)=>async(n)=>{if(e.bucketEndpoint){let s=r.endpointV2;if(s){let o=n.input.Bucket;if(typeof o==="string")try{let a=new URL(o);r.endpointV2={...s,url:a}}catch(a){let u=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${o} could not be parsed as URL.`;if(r.logger?.constructor?.name==="NoOpLogger")console.warn(u);else r.logger?.warn?.(u);throw a}}}return t(n)}}var xa={name:"bucketEndpointMiddleware",override:!0,relation:"after",toMiddleware:"endpointV2Middleware"};function Ir({bucketEndpoint:e}){return(t)=>async(r)=>{let{input:{Bucket:n}}=r;if(!e&&typeof n==="string"&&!sa.validate(n)&&n.indexOf("/")>=0){let s=Error(`Bucket name shouldn't contain '/', received '${n}'`);throw s.name="InvalidBucketName",s}return t({...r})}}var Tr={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0},ja=(e)=>({applyToStack:(t)=>{t.add(Ir(e),Tr),t.addRelativeTo(Na(e),xa)}});class Sr extends oa.AwsRestXmlProtocol{async serializeRequest(e,t,r){let n=await super.serializeRequest(e,t,r),s=aa.NormalizedSchema.of(e.input),o=s.getSchema(),a=0,u=o[6]??0;if(t&&typeof t==="object")for(let[i,d]of s.structIterator()){if(++a>u)break;if(i==="Bucket"){if(!t.Bucket&&d.getMergedTraits().httpLabel)throw Error("No value provided for input HTTP label: Bucket.");break}}return n}}$a.NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS=Ea;$a.S3ExpressIdentityCache=ue;$a.S3ExpressIdentityCacheEntry=B;$a.S3ExpressIdentityProviderImpl=ce;$a.S3RestXmlProtocol=Sr;$a.SignatureV4S3Express=Er;$a.checkContentLengthHeader=pr;$a.checkContentLengthHeaderMiddlewareOptions=fr;$a.getCheckContentLengthHeaderPlugin=pa;$a.getRegionRedirectMiddlewarePlugin=fa;$a.getS3ExpiresMiddlewarePlugin=ga;$a.getS3ExpressHttpSigningPlugin=Ia;$a.getS3ExpressPlugin=Ra;$a.getThrow200ExceptionsPlugin=Oa;$a.getValidateBucketNamePlugin=ja;$a.regionRedirectEndpointMiddleware=gr;$a.regionRedirectEndpointMiddlewareOptions=yr;$a.regionRedirectMiddleware=hr;$a.regionRedirectMiddlewareOptions=br;$a.resolveS3Config=Ta;$a.s3ExpiresMiddleware=mr;$a.s3ExpiresMiddlewareOptions=Ar;$a.s3ExpressHttpSigningMiddleware=Pr;$a.s3ExpressHttpSigningMiddlewareOptions=Da;$a.s3ExpressMiddleware=Rr;$a.s3ExpressMiddlewareOptions=wr;$a.throw200ExceptionsMiddleware=vr;$a.throw200ExceptionsMiddlewareOptions=Dr;$a.validateBucketNameMiddleware=Ir;$a.validateBucketNameMiddlewareOptions=Tr});var tn=E((Ei)=>{var D=De(),Or=ve(),z=ee();class $r{format(e){let t=[];for(let s of Object.keys(e)){let o=D.fromUtf8(s);t.push(Uint8Array.from([o.byteLength]),o,this.formatHeaderValue(e[s]))}let r=new Uint8Array(t.reduce((s,o)=>s+o.byteLength,0)),n=0;for(let s of t)r.set(s,n),n+=s.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":let n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":let s=new DataView(new ArrayBuffer(3+e.value.byteLength));s.setUint8(0,6),s.setUint16(1,e.value.byteLength,!1);let o=new Uint8Array(s.buffer);return o.set(e.value,3),o;case"string":let a=D.fromUtf8(e.value),u=new DataView(new ArrayBuffer(3+a.byteLength));u.setUint8(0,7),u.setUint16(1,a.byteLength,!1);let i=new Uint8Array(u.buffer);return i.set(a,3),i;case"timestamp":let d=new Uint8Array(9);return d[0]=8,d.set(Ke.fromNumber(e.value.valueOf()).bytes,1),d;case"uuid":if(!di.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let l=new Uint8Array(17);return l[0]=9,l.set(D.fromHex(e.value.replace(/\-/g,"")),1),l}}}var Nr;(function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"})(Nr||(Nr={}));var di=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class Ke{bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>9223372036854776000||e<-9223372036854776000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;if(e<0)xr(t);return new Ke(t)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;if(t)xr(e);return parseInt(D.toHex(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function xr(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1;t--)if(e[t]++,e[t]!==0)break}var Hr="X-Amz-Algorithm",Cr="X-Amz-Credential",ze="X-Amz-Date",Ur="X-Amz-SignedHeaders",Mr="X-Amz-Expires",qe="X-Amz-Signature",Ve="X-Amz-Security-Token",pi="X-Amz-Region-Set",ke="authorization",Qe=ze.toLowerCase(),Fr="date",Lr=[ke,Qe,Fr],Gr=qe.toLowerCase(),ge="x-amz-content-sha256",Wr=Ve.toLowerCase(),fi="host",Kr={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},zr=/^proxy-/,qr=/^sec-/,gi=[/^proxy-/i,/^sec-/i],le="AWS4-HMAC-SHA256",yi="AWS4-ECDSA-P256-SHA256",Vr="AWS4-HMAC-SHA256-PAYLOAD",kr="UNSIGNED-PAYLOAD",Qr=50,Be="aws4_request",Br=604800,Xr=({query:e={}})=>{let t=[],r={};for(let n of Object.keys(e)){if(n.toLowerCase()===Gr)continue;let s=z.escapeUri(n);t.push(s);let o=e[n];if(typeof o==="string")r[s]=`${s}=${z.escapeUri(o)}`;else if(Array.isArray(o))r[s]=o.slice(0).reduce((a,u)=>a.concat([`${s}=${z.escapeUri(u)}`]),[]).sort().join("&")}return t.sort().map((n)=>r[n]).filter((n)=>n).join("&")},hi=(e)=>bi(e).toISOString().replace(/\.\d{3}Z$/,"Z"),bi=(e)=>{if(typeof e==="number")return new Date(e*1000);if(typeof e==="string"){if(Number(e))return new Date(Number(e)*1000);return new Date(e)}return e};class Xe{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){this.service=n,this.sha256=s,this.uriEscapePath=o,this.applyChecksum=typeof e==="boolean"?e:!0,this.regionProvider=Or.normalizeProvider(r),this.credentialProvider=Or.normalizeProvider(t)}createCanonicalRequest(e,t,r){let n=Object.keys(t).sort();return`${e.method}
|
|
14
|
-
${this.getCanonicalPath(e)}
|
|
15
|
-
${Xr(e)}
|
|
16
|
-
${n.map((s)=>`${s}:${t[s]}`).join(`
|
|
17
|
-
`)}
|
|
18
|
-
|
|
19
|
-
${n.join(";")}
|
|
20
|
-
${r}`}async createStringToSign(e,t,r,n){let s=new this.sha256;s.update(D.toUint8Array(r));let o=await s.digest();return`${n}
|
|
21
|
-
${e}
|
|
22
|
-
${t}
|
|
23
|
-
${D.toHex(o)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let s of e.split("/")){if(s?.length===0)continue;if(s===".")continue;if(s==="..")t.pop();else t.push(s)}let r=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`;return z.escapeUri(r).replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if(typeof e!=="object"||typeof e.accessKeyId!=="string"||typeof e.secretAccessKey!=="string")throw Error("Resolved credential object is not valid")}formatDate(e){let t=hi(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}var K={},de=[],pe=(e,t,r)=>`${e}/${t}/${r}/${Be}`,Yr=async(e,t,r,n,s)=>{let o=await jr(e,t.secretAccessKey,t.accessKeyId),a=`${r}:${n}:${s}:${D.toHex(o)}:${t.sessionToken}`;if(a in K)return K[a];de.push(a);while(de.length>Qr)delete K[de.shift()];let u=`AWS4${t.secretAccessKey}`;for(let i of[r,n,s,Be])u=await jr(e,u,i);return K[a]=u},mi=()=>{de.length=0,Object.keys(K).forEach((e)=>{delete K[e]})},jr=(e,t,r)=>{let n=new e(t);return n.update(D.toUint8Array(r)),n.digest()},Ge=({headers:e},t,r)=>{let n={};for(let s of Object.keys(e).sort()){if(e[s]==null)continue;let o=s.toLowerCase();if(o in Kr||t?.has(o)||zr.test(o)||qr.test(o)){if(!r||r&&!r.has(o))continue}n[o]=e[s].trim().replace(/\s+/g," ")}return n},fe=async({headers:e,body:t},r)=>{for(let n of Object.keys(e))if(n.toLowerCase()===ge)return e[n];if(t==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof t==="string"||ArrayBuffer.isView(t)||D.isArrayBuffer(t)){let n=new r;return n.update(D.toUint8Array(t)),D.toHex(await n.digest())}return kr},Zr=(e,t)=>{e=e.toLowerCase();for(let r of Object.keys(t))if(e===r.toLowerCase())return!0;return!1},Jr=(e,t={})=>{let{headers:r,query:n={}}=z.HttpRequest.clone(e);for(let s of Object.keys(r)){let o=s.toLowerCase();if(o.slice(0,6)==="x-amz-"&&!t.unhoistableHeaders?.has(o)||t.hoistableHeaders?.has(o))n[s]=r[s],delete r[s]}return{...e,headers:r,query:n}},We=(e)=>{e=z.HttpRequest.clone(e);for(let t of Object.keys(e.headers))if(Lr.indexOf(t.toLowerCase())>-1)delete e.headers[t];return e};class en extends Xe{headerFormatter=new $r;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){super({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o})}async presign(e,t={}){let{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:s,unhoistableHeaders:o,signableHeaders:a,hoistableHeaders:u,signingRegion:i,signingService:d}=t,l=await this.credentialProvider();this.validateResolvedCredentials(l);let b=i??await this.regionProvider(),{longDate:y,shortDate:h}=this.formatDate(r);if(n>Br)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let R=pe(h,b,d??this.service),g=Jr(We(e),{unhoistableHeaders:o,hoistableHeaders:u});if(l.sessionToken)g.query[Ve]=l.sessionToken;g.query[Hr]=le,g.query[Cr]=`${l.accessKeyId}/${R}`,g.query[ze]=y,g.query[Mr]=n.toString(10);let T=Ge(g,s,a);return g.query[Ur]=this.getCanonicalHeaderList(T),g.query[qe]=await this.getSignature(y,R,this.getSigningKey(l,b,h,d),this.createCanonicalRequest(g,T,await fe(e,this.sha256))),g}async sign(e,t){if(typeof e==="string")return this.signString(e,t);else if(e.headers&&e.payload)return this.signEvent(e,t);else if(e.message)return this.signMessage(e,t);else return this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:s,signingService:o,eventStreamCredentials:a}){let u=s??await this.regionProvider(),{shortDate:i,longDate:d}=this.formatDate(r),l=pe(i,u,o??this.service),b=await fe({headers:{},body:t},this.sha256),y=new this.sha256;y.update(e);let h=D.toHex(await y.digest()),R=[Vr,d,l,n,h,b].join(`
|
|
24
|
-
`);return this.signString(R,{signingDate:r,signingRegion:u,signingService:o,eventStreamCredentials:a})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature,eventStreamCredentials:s}).then((a)=>{return{message:e.message,signature:a}})}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}={}){let o=s??await this.credentialProvider();this.validateResolvedCredentials(o);let a=r??await this.regionProvider(),{shortDate:u}=this.formatDate(t),i=new this.sha256(await this.getSigningKey(o,a,u,n));return i.update(D.toUint8Array(e)),D.toHex(await i.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:s,signingService:o}={}){let a=await this.credentialProvider();this.validateResolvedCredentials(a);let u=s??await this.regionProvider(),i=We(e),{longDate:d,shortDate:l}=this.formatDate(t),b=pe(l,u,o??this.service);if(i.headers[Qe]=d,a.sessionToken)i.headers[Wr]=a.sessionToken;let y=await fe(i,this.sha256);if(!Zr(ge,i.headers)&&this.applyChecksum)i.headers[ge]=y;let h=Ge(i,n,r),R=await this.getSignature(d,b,this.getSigningKey(a,u,l,o),this.createCanonicalRequest(i,h,y));return i.headers[ke]=`${le} Credential=${a.accessKeyId}/${b}, SignedHeaders=${this.getCanonicalHeaderList(h)}, Signature=${R}`,i}async getSignature(e,t,r,n){let s=await this.createStringToSign(e,t,n,le),o=new this.sha256(await r);return o.update(D.toUint8Array(s)),D.toHex(await o.digest())}getSigningKey(e,t,r,n){return Yr(this.sha256,e,r,t,n||this.service)}}var Ai={SignatureV4a:null};Ei.ALGORITHM_IDENTIFIER=le;Ei.ALGORITHM_IDENTIFIER_V4A=yi;Ei.ALGORITHM_QUERY_PARAM=Hr;Ei.ALWAYS_UNSIGNABLE_HEADERS=Kr;Ei.AMZ_DATE_HEADER=Qe;Ei.AMZ_DATE_QUERY_PARAM=ze;Ei.AUTH_HEADER=ke;Ei.CREDENTIAL_QUERY_PARAM=Cr;Ei.DATE_HEADER=Fr;Ei.EVENT_ALGORITHM_IDENTIFIER=Vr;Ei.EXPIRES_QUERY_PARAM=Mr;Ei.GENERATED_HEADERS=Lr;Ei.HOST_HEADER=fi;Ei.KEY_TYPE_IDENTIFIER=Be;Ei.MAX_CACHE_SIZE=Qr;Ei.MAX_PRESIGNED_TTL=Br;Ei.PROXY_HEADER_PATTERN=zr;Ei.REGION_SET_PARAM=pi;Ei.SEC_HEADER_PATTERN=qr;Ei.SHA256_HEADER=ge;Ei.SIGNATURE_HEADER=Gr;Ei.SIGNATURE_QUERY_PARAM=qe;Ei.SIGNED_HEADERS_QUERY_PARAM=Ur;Ei.SignatureV4=en;Ei.SignatureV4Base=Xe;Ei.TOKEN_HEADER=Wr;Ei.TOKEN_QUERY_PARAM=Ve;Ei.UNSIGNABLE_PATTERNS=gi;Ei.UNSIGNED_PAYLOAD=kr;Ei.clearCredentialCache=mi;Ei.createScope=pe;Ei.getCanonicalHeaders=Ge;Ei.getCanonicalQuery=Xr;Ei.getPayloadHash=fe;Ei.getSigningKey=Yr;Ei.hasHeader=Zr;Ei.moveHeadersToQuery=Jr;Ei.prepareRequest=We;Ei.signatureV4aContainer=Ai});var Ye=E((iu)=>{var au=_r(),rn=tn(),Y={CrtSignerV4:null};class nn{sigv4aSigner;sigv4Signer;signerOptions;static sigv4aDependency(){if(typeof Y.CrtSignerV4==="function")return"crt";else if(typeof rn.signatureV4aContainer.SignatureV4a==="function")return"js";return"none"}constructor(e){this.sigv4Signer=new au.SignatureV4S3Express(e),this.signerOptions=e}async sign(e,t={}){if(t.signingRegion==="*")return this.getSigv4aSigner().sign(e,t);return this.sigv4Signer.sign(e,t)}async signWithCredentials(e,t,r={}){if(r.signingRegion==="*"){let n=this.getSigv4aSigner(),s=Y.CrtSignerV4;if(s&&n instanceof s)return n.signWithCredentials(e,t,r);else throw Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.signWithCredentials(e,t,r)}async presign(e,t={}){if(t.signingRegion==="*"){let r=this.getSigv4aSigner(),n=Y.CrtSignerV4;if(n&&r instanceof n)return r.presign(e,t);else throw Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.presign(e,t)}async presignWithCredentials(e,t,r={}){if(r.signingRegion==="*")throw Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(e,t,r)}getSigv4aSigner(){if(!this.sigv4aSigner){let e=Y.CrtSignerV4,t=rn.signatureV4aContainer.SignatureV4a;if(this.signerOptions.runtime==="node"){if(!e&&!t)throw Error("Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt");if(e&&typeof e==="function")this.sigv4aSigner=new e({...this.signerOptions,signingAlgorithm:1});else if(t&&typeof t==="function")this.sigv4aSigner=new t({...this.signerOptions});else throw Error("Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt")}else{if(!t||typeof t!=="function")throw Error("JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a");this.sigv4aSigner=new t({...this.signerOptions})}}return this.sigv4aSigner}}iu.SignatureV4MultiRegion=nn;iu.signatureV4CrtContainer=Y});var bn=E((yn)=>{Object.defineProperty(yn,"__esModule",{value:!0});yn.bdd=void 0;var lu=fn(),V="ref",x=-1,Z=!0,sn="isSet",gn="PartitionResult",J="booleanEquals",w="stringEquals",Ze="getAttr",on="us-east-1",an="sigv4",un="sts",cn="https://sts.{Region}.{PartitionResult#dnsSuffix}",ln={[V]:"Endpoint"},P={[V]:"Region"},Je={[V]:gn},q={},dn=[P],pn={conditions:[[sn,[ln]],[sn,dn],["aws.partition",dn,gn],[J,[{[V]:"UseFIPS"},Z]],[J,[{[V]:"UseDualStack"},Z]],[w,[P,"aws-global"]],[J,[{[V]:"UseGlobalEndpoint"},Z]],[w,[P,"eu-central-1"]],[J,[{fn:Ze,argv:[Je,"supportsDualStack"]},Z]],[J,[{fn:Ze,argv:[Je,"supportsFIPS"]},Z]],[w,[P,"ap-south-1"]],[w,[P,"eu-north-1"]],[w,[P,"eu-west-1"]],[w,[P,"eu-west-2"]],[w,[P,"eu-west-3"]],[w,[P,"sa-east-1"]],[w,[P,on]],[w,[P,"us-east-2"]],[w,[P,"us-west-2"]],[w,[P,"us-west-1"]],[w,[P,"ca-central-1"]],[w,[P,"ap-southeast-1"]],[w,[P,"ap-northeast-1"]],[w,[P,"ap-southeast-2"]],[w,[{fn:Ze,argv:[Je,"name"]},"aws-us-gov"]]],results:[[x],["https://sts.amazonaws.com",{authSchemes:[{name:an,signingName:un,signingRegion:on}]}],[cn,{authSchemes:[{name:an,signingName:un,signingRegion:"{Region}"}]}],[x,"Invalid Configuration: FIPS and custom endpoint are not supported"],[x,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[ln,q],["https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",q],[x,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://sts.{Region}.amazonaws.com",q],["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",q],[x,"FIPS is enabled but this partition does not support FIPS"],["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",q],[x,"DualStack is enabled but this partition does not support DualStack"],[cn,q],[x,"Invalid Configuration: Missing Region"]]},du=2,f=1e8,pu=new Int32Array([-1,1,-1,0,30,3,1,4,f+14,2,5,f+14,3,25,6,4,24,7,5,f+1,8,6,9,f+13,7,f+1,10,10,f+1,11,11,f+1,12,12,f+1,13,13,f+1,14,14,f+1,15,15,f+1,16,16,f+1,17,17,f+1,18,18,f+1,19,19,f+1,20,20,f+1,21,21,f+1,22,22,f+1,23,23,f+1,f+2,8,f+11,f+12,4,28,26,9,27,f+10,24,f+8,f+9,8,29,f+7,9,f+6,f+7,3,f+3,31,4,f+4,f+5]);yn.bdd=lu.BinaryDecisionDiagram.from(pu,du,pn.conditions,pn.results)});var tt=E((mn)=>{Object.defineProperty(mn,"__esModule",{value:!0});mn.defaultEndpointResolver=void 0;var gu=fu(),et=fn(),yu=bn(),hu=new et.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS","UseGlobalEndpoint"]}),bu=(e,t={})=>{return hu.get(e,()=>(0,et.decideEndpoint)(yu.bdd,{endpointParams:e,logger:t.logger}))};mn.defaultEndpointResolver=bu;et.customEndpointFunctions.aws=gu.awsEndpointFunctions});var ot=E((Pn)=>{Object.defineProperty(Pn,"__esModule",{value:!0});Pn.resolveHttpAuthSchemeConfig=Pn.resolveStsAuthConfig=Pn.defaultSTSHttpAuthSchemeProvider=Pn.defaultSTSHttpAuthSchemeParametersProvider=void 0;var En=nt(),mu=Ye(),Au=st(),ye=ur(),Eu=tt(),Ru=at(),wu=(e)=>async(t,r,n)=>{if(!n)throw Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let s=await e(t,r,n),o=(0,ye.getSmithyContext)(r)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!o)throw Error(`getEndpointParameterInstructions() is not defined on '${r.commandName}'`);let a=await(0,Au.resolveParams)(n,{getEndpointParameterInstructions:o},t);return Object.assign(s,a)},Pu=async(e,t,r)=>{return{operation:(0,ye.getSmithyContext)(t).operation,region:await(0,ye.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};Pn.defaultSTSHttpAuthSchemeParametersProvider=wu(Pu);function Rn(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(t,r)=>({signingProperties:{config:t,context:r}})}}function rt(e){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(t,r)=>({signingProperties:{config:t,context:r}})}}function wn(e){return{schemeId:"smithy.api#noAuth"}}var vu=(e,t,r)=>{return(s)=>{let a=e(s).properties?.authSchemes;if(!a)return t(s);let u=[];for(let i of a){let{name:d,properties:l={},...b}=i,y=d.toLowerCase();if(d!==y)console.warn(`HttpAuthScheme has been normalized with lowercasing: '${d}' to '${y}'`);let h;if(y==="sigv4a"){h="aws.auth#sigv4a";let T=a.find((Pe)=>{let St=Pe.name.toLowerCase();return St!=="sigv4a"&&St.startsWith("sigv4")});if(mu.SignatureV4MultiRegion.sigv4aDependency()==="none"&&T)continue}else if(y.startsWith("sigv4"))h="aws.auth#sigv4";else throw Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${y}'`);let R=r[h];if(!R)throw Error(`Could not find HttpAuthOption create function for '${h}'`);let g=R(s);g.schemeId=h,g.signingProperties={...g.signingProperties||{},...b,...l},u.push(g)}return u}},Du=(e)=>{let t=[];switch(e.operation){case"AssumeRoleWithWebIdentity":{t.push(wn(e)),t.push(rt(e));break}default:t.push(Rn(e)),t.push(rt(e))}return t};Pn.defaultSTSHttpAuthSchemeProvider=vu(Eu.defaultEndpointResolver,Du,{"aws.auth#sigv4":Rn,"aws.auth#sigv4a":rt,"smithy.api#noAuth":wn});var Iu=(e)=>Object.assign(e,{stsClientCtor:Ru.STSClient});Pn.resolveStsAuthConfig=Iu;var Tu=(e)=>{let t=Pn.resolveStsAuthConfig(e),r=(0,En.resolveAwsSdkSigV4Config)(t),n=(0,En.resolveAwsSdkSigV4AConfig)(r);return Object.assign(n,{authSchemePreference:(0,ye.normalizeProvider)(e.authSchemePreference??[])})};Pn.resolveHttpAuthSchemeConfig=Tu});var it=E((In)=>{Object.defineProperty(In,"__esModule",{value:!0});In.commonParams=In.resolveClientEndpointParameters=void 0;var Ou=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,defaultSigningName:"sts"})};In.resolveClientEndpointParameters=Ou;In.commonParams={UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}});var he=E((ct)=>{Object.defineProperty(ct,"__esModule",{value:!0});ct.STSServiceException=ct.__ServiceException=void 0;var Sn=k();Object.defineProperty(ct,"__ServiceException",{enumerable:!0,get:function(){return Sn.ServiceException}});class ut extends Sn.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,ut.prototype)}}ct.STSServiceException=ut});var bt=E((On)=>{Object.defineProperty(On,"__esModule",{value:!0});On.IDPCommunicationErrorException=On.InvalidIdentityTokenException=On.IDPRejectedClaimException=On.RegionDisabledException=On.PackedPolicyTooLargeException=On.MalformedPolicyDocumentException=On.ExpiredTokenException=void 0;var j=he();class lt extends j.STSServiceException{name="ExpiredTokenException";$fault="client";constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});Object.setPrototypeOf(this,lt.prototype)}}On.ExpiredTokenException=lt;class dt extends j.STSServiceException{name="MalformedPolicyDocumentException";$fault="client";constructor(e){super({name:"MalformedPolicyDocumentException",$fault:"client",...e});Object.setPrototypeOf(this,dt.prototype)}}On.MalformedPolicyDocumentException=dt;class pt extends j.STSServiceException{name="PackedPolicyTooLargeException";$fault="client";constructor(e){super({name:"PackedPolicyTooLargeException",$fault:"client",...e});Object.setPrototypeOf(this,pt.prototype)}}On.PackedPolicyTooLargeException=pt;class ft extends j.STSServiceException{name="RegionDisabledException";$fault="client";constructor(e){super({name:"RegionDisabledException",$fault:"client",...e});Object.setPrototypeOf(this,ft.prototype)}}On.RegionDisabledException=ft;class gt extends j.STSServiceException{name="IDPRejectedClaimException";$fault="client";constructor(e){super({name:"IDPRejectedClaimException",$fault:"client",...e});Object.setPrototypeOf(this,gt.prototype)}}On.IDPRejectedClaimException=gt;class yt extends j.STSServiceException{name="InvalidIdentityTokenException";$fault="client";constructor(e){super({name:"InvalidIdentityTokenException",$fault:"client",...e});Object.setPrototypeOf(this,yt.prototype)}}On.InvalidIdentityTokenException=yt;class ht extends j.STSServiceException{name="IDPCommunicationErrorException";$fault="client";$retryable={};constructor(e){super({name:"IDPCommunicationErrorException",$fault:"client",...e});Object.setPrototypeOf(this,ht.prototype)}}On.IDPCommunicationErrorException=ht});var Pt=E((Wn)=>{Object.defineProperty(Wn,"__esModule",{value:!0});Wn.AssumeRoleWithWebIdentity$=Wn.AssumeRole$=Wn.Tag$=Wn.ProvidedContext$=Wn.PolicyDescriptorType$=Wn.Credentials$=Wn.AssumeRoleWithWebIdentityResponse$=Wn.AssumeRoleWithWebIdentityRequest$=Wn.AssumeRoleResponse$=Wn.AssumeRoleRequest$=Wn.AssumedRoleUser$=Wn.errorTypeRegistries=Wn.RegionDisabledException$=Wn.PackedPolicyTooLargeException$=Wn.MalformedPolicyDocumentException$=Wn.InvalidIdentityTokenException$=Wn.IDPRejectedClaimException$=Wn.IDPCommunicationErrorException$=Wn.ExpiredTokenException$=Wn.STSServiceException$=void 0;var Mu="Arn",Fu="AccessKeyId",Lu="AssumeRole",Gu="AssumedRoleId",Wu="AssumeRoleRequest",Ku="AssumeRoleResponse",mt="AssumedRoleUser",zu="AssumeRoleWithWebIdentity",qu="AssumeRoleWithWebIdentityRequest",Vu="AssumeRoleWithWebIdentityResponse",ku="Audience",At="Credentials",Qu="ContextAssertion",xn="DurationSeconds",Bu="Expiration",Xu="ExternalId",Yu="ExpiredTokenException",Zu="IDPCommunicationErrorException",Ju="IDPRejectedClaimException",ec="InvalidIdentityTokenException",tc="Key",rc="MalformedPolicyDocumentException",jn="Policy",$n="PolicyArns",nc="ProviderArn",sc="ProvidedContexts",oc="ProvidedContextsListType",ac="ProvidedContext",ic="PolicyDescriptorType",uc="ProviderId",Hn="PackedPolicySize",cc="PackedPolicyTooLargeException",lc="Provider",Cn="RoleArn",dc="RegionDisabledException",Un="RoleSessionName",pc="SecretAccessKey",fc="SubjectFromWebIdentityToken",Et="SourceIdentity",gc="SerialNumber",yc="SessionToken",hc="Tags",bc="TokenCode",mc="TransitiveTagKeys",Ac="Tag",Ec="Value",Rc="WebIdentityToken",wc="arn",Pc="accessKeySecretType",$="awsQueryError",H="client",vc="clientTokenType",C="error",U="httpError",M="message",Dc="policyDescriptorListType",Mn="smithy.ts.sdk.synthetic.com.amazonaws.sts",Ic="tagListType",m="com.amazonaws.sts",Fn=Fe(),F=bt(),Tc=he(),Ln=Fn.TypeRegistry.for(Mn);Wn.STSServiceException$=[-3,Mn,"STSServiceException",0,[],[]];Ln.registerError(Wn.STSServiceException$,Tc.STSServiceException);var _=Fn.TypeRegistry.for(m);Wn.ExpiredTokenException$=[-3,m,Yu,{[$]:["ExpiredTokenException",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.ExpiredTokenException$,F.ExpiredTokenException);Wn.IDPCommunicationErrorException$=[-3,m,Zu,{[$]:["IDPCommunicationError",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.IDPCommunicationErrorException$,F.IDPCommunicationErrorException);Wn.IDPRejectedClaimException$=[-3,m,Ju,{[$]:["IDPRejectedClaim",403],[C]:H,[U]:403},[M],[0]];_.registerError(Wn.IDPRejectedClaimException$,F.IDPRejectedClaimException);Wn.InvalidIdentityTokenException$=[-3,m,ec,{[$]:["InvalidIdentityToken",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.InvalidIdentityTokenException$,F.InvalidIdentityTokenException);Wn.MalformedPolicyDocumentException$=[-3,m,rc,{[$]:["MalformedPolicyDocument",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.MalformedPolicyDocumentException$,F.MalformedPolicyDocumentException);Wn.PackedPolicyTooLargeException$=[-3,m,cc,{[$]:["PackedPolicyTooLarge",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.PackedPolicyTooLargeException$,F.PackedPolicyTooLargeException);Wn.RegionDisabledException$=[-3,m,dc,{[$]:["RegionDisabledException",403],[C]:H,[U]:403},[M],[0]];_.registerError(Wn.RegionDisabledException$,F.RegionDisabledException);Wn.errorTypeRegistries=[Ln,_];var Sc=[0,m,Pc,8,0],_c=[0,m,vc,8,0];Wn.AssumedRoleUser$=[3,m,mt,0,[Gu,Mu],[0,0],2];Wn.AssumeRoleRequest$=[3,m,Wu,0,[Cn,Un,$n,jn,xn,hc,mc,Xu,gc,bc,Et,sc],[0,0,()=>Gn,0,1,()=>Nc,64,0,0,0,0,()=>Oc],2];Wn.AssumeRoleResponse$=[3,m,Ku,0,[At,mt,Hn,Et],[[()=>Wn.Credentials$,0],()=>Wn.AssumedRoleUser$,1,0]];Wn.AssumeRoleWithWebIdentityRequest$=[3,m,qu,0,[Cn,Un,Rc,uc,$n,jn,xn],[0,0,[()=>_c,0],0,()=>Gn,0,1],3];Wn.AssumeRoleWithWebIdentityResponse$=[3,m,Vu,0,[At,fc,mt,Hn,lc,ku,Et],[[()=>Wn.Credentials$,0],0,()=>Wn.AssumedRoleUser$,1,0,0,0]];Wn.Credentials$=[3,m,At,0,[Fu,pc,yc,Bu],[0,[()=>Sc,0],0,4],4];Wn.PolicyDescriptorType$=[3,m,ic,0,[wc],[0]];Wn.ProvidedContext$=[3,m,ac,0,[nc,Qu],[0,0]];Wn.Tag$=[3,m,Ac,0,[tc,Ec],[0,0],2];var Gn=[1,m,Dc,0,()=>Wn.PolicyDescriptorType$],Oc=[1,m,oc,0,()=>Wn.ProvidedContext$],Nc=[1,m,Ic,0,()=>Wn.Tag$];Wn.AssumeRole$=[9,m,Lu,0,()=>Wn.AssumeRoleRequest$,()=>Wn.AssumeRoleResponse$];Wn.AssumeRoleWithWebIdentity$=[9,m,zu,0,()=>Wn.AssumeRoleWithWebIdentityRequest$,()=>Wn.AssumeRoleWithWebIdentityResponse$]});var ls=E((us)=>{Object.defineProperty(us,"__esModule",{value:!0});us.getRuntimeConfig=void 0;var os=nt(),Uc=cr(),Mc=Ye(),Fc=ie(),Lc=k(),Gc=$c(),as=Cc(),is=Hc(),Wc=ot(),Kc=tt(),zc=Pt(),qc=(e)=>{return{apiVersion:"2011-06-15",base64Decoder:e?.base64Decoder??as.fromBase64,base64Encoder:e?.base64Encoder??as.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??Kc.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Wc.defaultSTSHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4"),signer:new os.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4a"),signer:new os.AwsSdkSigV4ASigner},{schemeId:"smithy.api#noAuth",identityProvider:(t)=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new Fc.NoAuthSigner}],logger:e?.logger??new Lc.NoOpLogger,protocol:e?.protocol??Uc.AwsQueryProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.sts",errorTypeRegistries:zc.errorTypeRegistries,xmlNamespace:"https://sts.amazonaws.com/doc/2011-06-15/",version:"2011-06-15",serviceTarget:"AWSSecurityTokenServiceV20110615"},serviceId:e?.serviceId??"STS",signerConstructor:e?.signerConstructor??Mc.SignatureV4MultiRegion,urlParser:e?.urlParser??Gc.parseUrl,utf8Decoder:e?.utf8Decoder??is.fromUtf8,utf8Encoder:e?.utf8Encoder??is.toUtf8}};us.getRuntimeConfig=qc});var As=E((bs)=>{Object.defineProperty(bs,"__esModule",{value:!0});bs.getRuntimeConfig=void 0;var tl=Qc(),rl=tl.__importDefault(Bc()),nl=Le(),be=nt(),ds=Xc(),me=ys(),sl=ie(),ol=Yc(),ps=hs(),O=Zc(),fs=Vc(),gs=k(),al=Jc(),il=el(),ul=kc(),cl=ls(),ll=(e)=>{(0,gs.emitWarningIfUnsupportedVersion)(process.version);let t=(0,il.resolveDefaultsModeConfig)(e),r=()=>t().then(gs.loadConfigsForDefaultMode),n=(0,cl.getRuntimeConfig)(e);(0,nl.emitWarningIfUnsupportedVersion)(process.version);let s={profile:e?.profile,logger:n.logger};return{...n,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??(0,O.loadConfig)(be.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,s),bodyLengthChecker:e?.bodyLengthChecker??al.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,ds.createDefaultUserAgentProvider)({serviceId:n.serviceId,clientVersion:rl.default.version}),httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(o)=>o.getIdentityProvider("aws.auth#sigv4")||(async(a)=>await e.credentialDefaultProvider(a?.__config||{})()),signer:new be.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(o)=>o.getIdentityProvider("aws.auth#sigv4a"),signer:new be.AwsSdkSigV4ASigner},{schemeId:"smithy.api#noAuth",identityProvider:(o)=>o.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new sl.NoAuthSigner}],maxAttempts:e?.maxAttempts??(0,O.loadConfig)(ps.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,O.loadConfig)(me.NODE_REGION_CONFIG_OPTIONS,{...me.NODE_REGION_CONFIG_FILE_OPTIONS,...s}),requestHandler:fs.NodeHttpHandler.create(e?.requestHandler??r),retryMode:e?.retryMode??(0,O.loadConfig)({...ps.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await r()).retryMode||ul.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??ol.Hash.bind(null,"sha256"),sigv4aSigningRegionSet:e?.sigv4aSigningRegionSet??(0,O.loadConfig)(be.NODE_SIGV4A_CONFIG_OPTIONS,s),streamCollector:e?.streamCollector??fs.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,O.loadConfig)(me.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,s),useFipsEndpoint:e?.useFipsEndpoint??(0,O.loadConfig)(me.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,s),userAgentAppId:e?.userAgentAppId??(0,O.loadConfig)(ds.NODE_APP_ID_CONFIG_OPTIONS,s)}};bs.getRuntimeConfig=ll});var ws=E((Es)=>{Object.defineProperty(Es,"__esModule",{value:!0});Es.resolveHttpAuthRuntimeConfig=Es.getHttpAuthExtensionConfiguration=void 0;var dl=(e)=>{let{httpAuthSchemes:t,httpAuthSchemeProvider:r,credentials:n}=e;return{setHttpAuthScheme(s){let o=t.findIndex((a)=>a.schemeId===s.schemeId);if(o===-1)t.push(s);else t.splice(o,1,s)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(s){r=s},httpAuthSchemeProvider(){return r},setCredentials(s){n=s},credentials(){return n}}};Es.getHttpAuthExtensionConfiguration=dl;var pl=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}};Es.resolveHttpAuthRuntimeConfig=pl});var Os=E((Ss)=>{Object.defineProperty(Ss,"__esModule",{value:!0});Ss.resolveRuntimeExtensions=void 0;var Ps=Ts(),vs=gl(),Ds=k(),Is=ws(),yl=(e,t)=>{let r=Object.assign((0,Ps.getAwsRegionExtensionConfiguration)(e),(0,Ds.getDefaultExtensionConfiguration)(e),(0,vs.getHttpHandlerExtensionConfiguration)(e),(0,Is.getHttpAuthExtensionConfiguration)(e));return t.forEach((n)=>n.configure(r)),Object.assign(e,(0,Ps.resolveAwsRegionExtensionConfiguration)(r),(0,Ds.resolveDefaultRuntimeConfig)(r),(0,vs.resolveHttpHandlerRuntimeConfig)(r),(0,Is.resolveHttpAuthRuntimeConfig)(r))};Ss.resolveRuntimeExtensions=yl});var at=E((Dt)=>{Object.defineProperty(Dt,"__esModule",{value:!0});Dt.STSClient=Dt.__Client=void 0;var Ns=hl(),Rl=bl(),wl=ml(),xs=Al(),Pl=ys(),vt=ie(),vl=Fe(),Dl=El(),Il=st(),js=hs(),Hs=k();Object.defineProperty(Dt,"__Client",{enumerable:!0,get:function(){return Hs.Client}});var $s=ot(),Tl=it(),Sl=As(),_l=Os();class Cs extends Hs.Client{config;constructor(...[e]){let t=(0,Sl.getRuntimeConfig)(e||{});super(t);this.initConfig=t;let r=(0,Tl.resolveClientEndpointParameters)(t),n=(0,xs.resolveUserAgentConfig)(r),s=(0,js.resolveRetryConfig)(n),o=(0,Pl.resolveRegionConfig)(s),a=(0,Ns.resolveHostHeaderConfig)(o),u=(0,Il.resolveEndpointConfig)(a),i=(0,$s.resolveHttpAuthSchemeConfig)(u),d=(0,_l.resolveRuntimeExtensions)(i,e?.extensions||[]);this.config=d,this.middlewareStack.use((0,vl.getSchemaSerdePlugin)(this.config)),this.middlewareStack.use((0,xs.getUserAgentPlugin)(this.config)),this.middlewareStack.use((0,js.getRetryPlugin)(this.config)),this.middlewareStack.use((0,Dl.getContentLengthPlugin)(this.config)),this.middlewareStack.use((0,Ns.getHostHeaderPlugin)(this.config)),this.middlewareStack.use((0,Rl.getLoggerPlugin)(this.config)),this.middlewareStack.use((0,wl.getRecursionDetectionPlugin)(this.config)),this.middlewareStack.use((0,vt.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config,{httpAuthSchemeParametersProvider:$s.defaultSTSHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(l)=>new vt.DefaultIdentityProviderConfig({"aws.auth#sigv4":l.credentials,"aws.auth#sigv4a":l.credentials})})),this.middlewareStack.use((0,vt.getHttpSigningPlugin)(this.config))}destroy(){super.destroy()}}Dt.STSClient=Cs});var zl=E((I)=>{var L=at(),Ee=k(),Ms=st(),Fs=it(),Q=Pt(),Ae=bt(),It=Le(),Ol=Ts(),Nl=he();class Re extends Ee.Command.classBuilder().ep(Fs.commonParams).m(function(e,t,r,n){return[Ms.getEndpointPlugin(r,e.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRole",{}).n("STSClient","AssumeRoleCommand").sc(Q.AssumeRole$).build(){}class we extends Ee.Command.classBuilder().ep(Fs.commonParams).m(function(e,t,r,n){return[Ms.getEndpointPlugin(r,e.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRoleWithWebIdentity",{}).n("STSClient","AssumeRoleWithWebIdentityCommand").sc(Q.AssumeRoleWithWebIdentity$).build(){}var xl={AssumeRoleCommand:Re,AssumeRoleWithWebIdentityCommand:we};class Tt extends L.STSClient{}Ee.createAggregatedClient(xl,Tt);var Ls=(e)=>{if(typeof e?.Arn==="string"){let t=e.Arn.split(":");if(t.length>4&&t[4]!=="")return t[4]}return},Gs=async(e,t,r,n={})=>{let s=typeof e==="function"?await e():e,o=typeof t==="function"?await t():t,a="",u=s??o??(a=await Ol.stsRegionDefaultResolver(n)());return r?.debug?.("@aws-sdk/client-sts::resolveRegion","accepting first of:",`${s} (credential provider clientConfig)`,`${o} (contextual client)`,`${a} (STS default: AWS_REGION, profile region, or us-east-1)`),u},jl=(e,t)=>{let r,n;return async(s,o)=>{if(n=s,!r){let{logger:l=e?.parentClientConfig?.logger,profile:b=e?.parentClientConfig?.profile,region:y,requestHandler:h=e?.parentClientConfig?.requestHandler,credentialProviderLogger:R,userAgentAppId:g=e?.parentClientConfig?.userAgentAppId}=e,T=await Gs(y,e?.parentClientConfig?.region,R,{logger:l,profile:b}),Pe=!Ws(h);r=new t({...e,userAgentAppId:g,profile:b,credentialDefaultProvider:()=>async()=>n,region:T,requestHandler:Pe?h:void 0,logger:l})}let{Credentials:a,AssumedRoleUser:u}=await r.send(new Re(o));if(!a||!a.AccessKeyId||!a.SecretAccessKey)throw Error(`Invalid response from STS.assumeRole call with role ${o.RoleArn}`);let i=Ls(u),d={accessKeyId:a.AccessKeyId,secretAccessKey:a.SecretAccessKey,sessionToken:a.SessionToken,expiration:a.Expiration,...a.CredentialScope&&{credentialScope:a.CredentialScope},...i&&{accountId:i}};return It.setCredentialFeature(d,"CREDENTIALS_STS_ASSUME_ROLE","i"),d}},$l=(e,t)=>{let r;return async(n)=>{if(!r){let{logger:i=e?.parentClientConfig?.logger,profile:d=e?.parentClientConfig?.profile,region:l,requestHandler:b=e?.parentClientConfig?.requestHandler,credentialProviderLogger:y,userAgentAppId:h=e?.parentClientConfig?.userAgentAppId}=e,R=await Gs(l,e?.parentClientConfig?.region,y,{logger:i,profile:d}),g=!Ws(b);r=new t({...e,userAgentAppId:h,profile:d,region:R,requestHandler:g?b:void 0,logger:i})}let{Credentials:s,AssumedRoleUser:o}=await r.send(new we(n));if(!s||!s.AccessKeyId||!s.SecretAccessKey)throw Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${n.RoleArn}`);let a=Ls(o),u={accessKeyId:s.AccessKeyId,secretAccessKey:s.SecretAccessKey,sessionToken:s.SessionToken,expiration:s.Expiration,...s.CredentialScope&&{credentialScope:s.CredentialScope},...a&&{accountId:a}};if(a)It.setCredentialFeature(u,"RESOLVED_ACCOUNT_ID","T");return It.setCredentialFeature(u,"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID","k"),u}},Ws=(e)=>{return e?.metadata?.handlerProtocol==="h2"},Ks=(e,t)=>{if(!t)return e;else return class extends e{constructor(n){super(n);for(let s of t)this.middlewareStack.use(s)}}},zs=(e={},t)=>jl(e,Ks(L.STSClient,t)),qs=(e={},t)=>$l(e,Ks(L.STSClient,t)),Hl=(e)=>(t)=>e({roleAssumer:zs(t),roleAssumerWithWebIdentity:qs(t),...t});I.$Command=Ee.Command;I.STSServiceException=Nl.STSServiceException;I.AssumeRoleCommand=Re;I.AssumeRoleWithWebIdentityCommand=we;I.STS=Tt;I.decorateDefaultCredentialProvider=Hl;I.getDefaultRoleAssumer=zs;I.getDefaultRoleAssumerWithWebIdentity=qs;Object.prototype.hasOwnProperty.call(L,"__proto__")&&!Object.prototype.hasOwnProperty.call(I,"__proto__")&&Object.defineProperty(I,"__proto__",{enumerable:!0,value:L.__proto__});Object.keys(L).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(I,e))I[e]=L[e]});Object.prototype.hasOwnProperty.call(Q,"__proto__")&&!Object.prototype.hasOwnProperty.call(I,"__proto__")&&Object.defineProperty(I,"__proto__",{enumerable:!0,value:Q.__proto__});Object.keys(Q).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(I,e))I[e]=Q[e]});Object.prototype.hasOwnProperty.call(Ae,"__proto__")&&!Object.prototype.hasOwnProperty.call(I,"__proto__")&&Object.defineProperty(I,"__proto__",{enumerable:!0,value:Ae.__proto__});Object.keys(Ae).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(I,e))I[e]=Ae[e]})});
|
|
25
|
-
export{zl as l7};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{M9 as P,_da as y}from"./cli-1.1.36-t6sjxpcb.mjs";import{Rpa as U}from"./cli-1.1.36-c4pkjm54.mjs";var j,D,G,M,N,Y,C,_,R,E,I,f,k,A,h,b,u,T,p,m,w,L,O,X,$,e;var W=U(()=>{j=["common","uncommon","rare","epic","legendary"],D=String.fromCharCode,G=D(100,117,99,107),M=D(103,111,111,115,101),N=D(98,108,111,98),Y=D(99,97,116),C=D(100,114,97,103,111,110),_=D(111,99,116,111,112,117,115),R=D(111,119,108),E=D(112,101,110,103,117,105,110),I=D(116,117,114,116,108,101),f=D(115,110,97,105,108),k=D(103,104,111,115,116),A=D(97,120,111,108,111,116,108),h=D(99,97,112,121,98,97,114,97),b=D(99,97,99,116,117,115),u=D(114,111,98,111,116),T=D(114,97,98,98,105,116),p=D(109,117,115,104,114,111,111,109),m=D(99,104,111,110,107),w=[G,M,N,Y,C,_,R,E,I,f,k,A,h,b,u,T,p,m],L=["·","✦","×","◉","@","°"],O=["none","crown","tophat","propeller","halo","wizard","beanie","tinyduck"],X=["DEBUGGING","PATIENCE","CHAOS","WISDOM","SNARK"],$={common:60,uncommon:25,rare:10,epic:4,legendary:1},e={common:"inactive",uncommon:"success",rare:"permission",epic:"autoAccept",legendary:"warning"}});function v(q){let z=q>>>0;return function(){z|=0,z=z+1831565813|0;let B=Math.imul(z^z>>>15,1|z);return B=B+Math.imul(B^B>>>7,61|B)^B,((B^B>>>14)>>>0)/4294967296}}function F(q){if(typeof Bun<"u")return Number(BigInt(Bun.hash(q))&0xffffffffn);let z=2166136261;for(let B=0;B<q.length;B++)z^=q.charCodeAt(B),z=Math.imul(z,16777619);return z>>>0}function K(q,z){return z[Math.floor(q()*z.length)]}function S(q){let z=Object.values($).reduce((J,Q)=>J+Q,0),B=q()*z;for(let J of j)if(B-=$[J],B<0)return J;return"common"}function i(q,z){let B=d[z],J=K(q,X),Q=K(q,X);while(Q===J)Q=K(q,X);let Z={};for(let V of X)if(V===J)Z[V]=Math.min(100,B+50+Math.floor(q()*30));else if(V===Q)Z[V]=Math.max(1,B-10+Math.floor(q()*15));else Z[V]=B+Math.floor(q()*40);return Z}function H(q){let z=S(q);return{bones:{rarity:z,species:K(q,w),eye:K(q,L),hat:z==="common"?"none":K(q,O),shiny:q()<0.01,stats:i(q,z)},inspirationSeed:Math.floor(q()*1e9)}}function l(q){let z=q+c;if(x?.key===z)return x.value;let B=H(v(F(z)));return x={key:z,value:B},B}function a(q){return H(v(F(q)))}function s(){let q=P();return q.oauthAccount?.accountUuid??q.userID??"anon"}function r(){let q=P().companion;if(!q)return;let{bones:z}=l(s());return{...q,...z}}var d,c="friend-2026-401",x;var g=U(()=>{y();W();d={common:5,uncommon:15,rare:25,epic:35,legendary:50}});
|
|
2
|
-
export{G as aV,M as bV,N as cV,Y as dV,C as eV,_ as fV,R as gV,E as hV,I as iV,f as jV,k as kV,A as lV,h as mV,b as nV,u as oV,T as pV,p as qV,m as rV,e as sV,W as tV,a as uV,s as vV,r as wV,g as xV};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{lb as j}from"./cli-1.1.36-dt9kgcr3.mjs";import{Df as cq,yf as Oq}from"./cli-1.1.36-hqmz0657.mjs";import{HS as F,JS as pq}from"./cli-1.1.36-v0s0vqmm.mjs";import{CZ as bq,DZ as a,EZ as Cq,wZ as l}from"./cli-1.1.36-p7w1197h.mjs";import{$4 as Uq,E1 as O,E3 as Qq,Z4 as Wq,b5 as x,d3 as Yq,h3 as Zq,h5 as Lq,l3 as $q,u3 as Hq,x3 as P,z1 as U,z3 as Kq}from"./cli-1.1.36-s8jcsdgb.mjs";import{D5 as y,E5 as Mq}from"./cli-1.1.36-8mc299mk.mjs";import{G$ as r,H$ as t,J$ as Gq,K9 as Y,M9 as J,T9 as T,V9 as dq,Yca as H,_ca as Z,_da as W,bda as yq,eda as o,laa as p,m9 as d,oda as B,paa as jq,r9 as Eq,s9 as c,ufa as V,v9 as Fq,zfa as _}from"./cli-1.1.36-t6sjxpcb.mjs";import{$fa as E,dga as uq}from"./cli-1.1.36-6q7sfj4e.mjs";import{gia as v,iia as Rq,jia as m,mia as S,qia as Iq}from"./cli-1.1.36-jpcwwd65.mjs";import{Iia as u,Jia as Pq}from"./cli-1.1.36-n5etyd9m.mjs";import{_ia as R,aja as f,fja as Dq}from"./cli-1.1.36-6g1w2zbr.mjs";import{lja as Aq,tja as Sq}from"./cli-1.1.36-0qtyffhw.mjs";import{Cma as A,Doa as k,Ema as G,Tma as D,Xma as Tq,Yma as kq,pna as C,zna as h}from"./cli-1.1.36-bsfazmtt.mjs";Mq();bq();k();Fq();Dq();Iq();Eq();_();Pq();jq();Tq();Rq();Cq();import{readFileSync as hq}from"node:fs";var fq=/--inspect(-brk)?/,b=/--inspect(-brk)?|--debug(-brk)?/;function $z(){let q=c()?fq:b,K=process.execArgv.some((X)=>q.test(X)),Q=!!process.env.NODE_OPTIONS&&b.test(process.env.NODE_OPTIONS);try{return!!global.require("inspector").url()||K||Q}catch{return K||Q}}function Hz(){(process.stderr.isTTY?process.stderr:process.stdout.isTTY?process.stdout:void 0)?.write(l)}function Jz(z){if(typeof z!=="object"||z===null)return{};let q=z,K=q.teammateMode;return{agentId:typeof q.agentId==="string"?q.agentId:void 0,agentName:typeof q.agentName==="string"?q.agentName:void 0,teamName:typeof q.teamName==="string"?q.teamName:void 0,agentColor:typeof q.agentColor==="string"?q.agentColor:void 0,planModeRequired:typeof q.planModeRequired==="boolean"?q.planModeRequired:void 0,parentSessionId:typeof q.parentSessionId==="string"?q.parentSessionId:void 0,teammateMode:K==="auto"||K==="tmux"||K==="in-process"?K:void 0,agentType:typeof q.agentType==="string"?q.agentType:void 0}}function g(z){try{let q=z.trim(),K=q.startsWith("{")&&q.endsWith("}"),Q;if(K){if(!d(q))process.stderr.write(y.red(`Error: Invalid JSON provided to --settings
|
|
2
|
-
`)),process.exit(1);Q=a("claude-settings",".json",{contentHash:q}),v(Q,q,"utf8")}else{let{resolvedPath:X}=m(S(),z);try{hq(X,"utf8")}catch($){if(f($))process.stderr.write(y.red(`Error: Settings file not found: ${X}
|
|
3
|
-
`)),process.exit(1);throw $}Q=X}C(Q),D()}catch(q){if(q instanceof Error)V(q);process.stderr.write(y.red(`Error processing settings: ${R(q)}
|
|
4
|
-
`)),process.exit(1)}}function n(z){try{let q=p(z);h(q),D()}catch(q){if(q instanceof Error)V(q);process.stderr.write(y.red(`Error processing --setting-sources: ${R(q)}
|
|
5
|
-
`)),process.exit(1)}}async function Vz(z,q){if(!process.stdin.isTTY&&!process.argv.includes("mcp")){if(q==="stream-json")return process.stdin;process.stdin.setEncoding("utf8");let K="",Q=($)=>{K+=$};process.stdin.on("data",Q);let X=await u(process.stdin,3000);if(process.stdin.off("data",Q),X)process.stderr.write(`Warning: no stdin data received in 3s, proceeding without it. If piping from a slow command, redirect stdin explicitly: < /dev/null to skip, or wait longer.
|
|
6
|
-
`);return[z,K].filter(Boolean).join(`
|
|
7
|
-
`)}return z}uq();pq();W();dq();Sq();W();_();B();function i(){let z=J();if(z.autoUpdates!==!1||z.autoUpdatesProtectedForNative===!0)return;try{let q=H("userSettings")||{};Z("userSettings",{...q,env:{...q.env,DISABLE_AUTOUPDATER:"1"}}),process.env.DISABLE_AUTOUPDATER="1",Y((K)=>{let{autoUpdates:Q,autoUpdatesProtectedForNative:X,...$}=K;return $})}catch(q){V(Error(`Failed to migrate auto-updates: ${q}`))}}W();_();B();function s(){if(!J().bypassPermissionsModeAccepted)return;try{if(!o())Z("userSettings",{skipDangerousModePermissionPrompt:!0});Y((q)=>{if(!("bypassPermissionsModeAccepted"in q))return q;let{bypassPermissionsModeAccepted:K,...Q}=q;return Q})}catch(q){V(Error(`Failed to migrate bypass permissions accepted: ${q}`))}}W();_();B();function e(){let z=r(),q=z.enableAllProjectMcpServers!==void 0,K=z.enabledMcpjsonServers&&z.enabledMcpjsonServers.length>0,Q=z.disabledMcpjsonServers&&z.disabledMcpjsonServers.length>0;if(!q&&!K&&!Q)return;try{let X=H("localSettings")||{},$={},L=[];if(q&&X.enableAllProjectMcpServers===void 0)$.enableAllProjectMcpServers=z.enableAllProjectMcpServers,L.push("enableAllProjectMcpServers");else if(q)L.push("enableAllProjectMcpServers");if(K&&z.enabledMcpjsonServers){let N=X.enabledMcpjsonServers||[];$.enabledMcpjsonServers=[...new Set([...N,...z.enabledMcpjsonServers])],L.push("enabledMcpjsonServers")}if(Q&&z.disabledMcpjsonServers){let N=X.disabledMcpjsonServers||[];$.disabledMcpjsonServers=[...new Set([...N,...z.disabledMcpjsonServers])],L.push("disabledMcpjsonServers")}if(Object.keys($).length>0)Z("localSettings",$);if(L.includes("enableAllProjectMcpServers")||L.includes("enabledMcpjsonServers")||L.includes("disabledMcpjsonServers"))t((N)=>{let{enableAllProjectMcpServers:lq,enabledMcpjsonServers:aq,disabledMcpjsonServers:gq,...xq}=N;return xq})}catch(X){V(X)}}k();W();B();var I=new Map([["claude-fable-5","claude-fable-5-1"],["anthropic.claude-fable-5","anthropic.claude-fable-5-1"]]);function w(z){return I.get(z)??z}function vq(z){if(!z)return null;let q={};if(z.model!==void 0){let K=w(z.model);if(K!==z.model)q.model=K}if(z.advisorModel!==void 0){let K=w(z.advisorModel);if(K!==z.advisorModel)q.advisorModel=K}if(z.availableModels){let K=z.availableModels.map(w);if(K.some((Q,X)=>Q!==z.availableModels?.[X]))q.availableModels=K}if(z.modelOverrides){let K=Object.entries(z.modelOverrides),Q=K.filter(([X])=>I.has(X));if(Q.length>0)q.modelOverrides={...Object.fromEntries(Q.map(([X])=>[X,void 0])),...Object.fromEntries(K.map(([X,$])=>[w(X),$]))}}return Object.keys(q).length>0?q:null}function mq(z){if(!z)return null;let K=Object.entries(z).filter(([,X])=>X.activeModelForProject!==void 0&&I.has(X.activeModelForProject));if(K.length===0)return null;let Q={...z};for(let[X,$]of K)Q[X]={...$,activeModelForProject:w($.activeModelForProject)};return Q}function qq(){let z=vq(H("userSettings"));if(z)Z("userSettings",z);let q=mq(J().projects);if(q)Y((Q)=>({...Q,projects:q}));let K=A();if(K){let Q=w(K);if(Q!==K)G(Q)}}B();function zq(){let q=H("userSettings")?.model;if(typeof q==="string"){if(q.startsWith("fennec-latest[1m]"))Z("userSettings",{model:"opus[1m]"});else if(q.startsWith("fennec-latest"))Z("userSettings",{model:"opus"});else if(q.startsWith("fennec-fast-latest")||q.startsWith("opus-4-5-fast"))Z("userSettings",{model:"opus[1m]",fastMode:!0})}}W();Qq();O();B();function Xq(){if(U()!=="firstParty")return;if(!Kq())return;let z=H("userSettings")?.model;if(z!=="claude-opus-4-20250514"&&z!=="claude-opus-4-1-20250805"&&z!=="claude-opus-4-0"&&z!=="claude-opus-4-1")return;Z("userSettings",{model:"opus"}),Y((q)=>({...q,legacyOpusMigrationTimestamp:Date.now()}))}Qq();B();function Jq(){if(!Hq())return;if(H("userSettings")?.model!=="opus")return;if(Yq(Zq()))return;let q="opus[1m]",K=P(q)===P($q())?void 0:q;Z("userSettings",{model:K})}W();function Vq(){Y((z)=>{let q=z.replBridgeEnabled;if(q===void 0)return z;if(z.remoteControlAtStartup!==void 0)return z;let K={...z,remoteControlAtStartup:Boolean(q)};return delete K.replBridgeEnabled,K})}k();W();O();B();function Bq(){if(U()!=="firstParty")return;if(J().sonnet1m45MigrationComplete)return;if(H("userSettings")?.model==="sonnet[1m]")Z("userSettings",{model:"sonnet-4-5-20250929[1m]"});if(A()==="sonnet[1m]")G("sonnet-4-5-20250929[1m]");Y((Q)=>({...Q,sonnet1m45MigrationComplete:!0}))}Lq();W();O();B();function wq(){if(U()!=="firstParty")return;if(!x()&&!Wq()&&!Uq())return;let z=H("userSettings")?.model;if(z!=="claude-sonnet-4-5-20250929"&&z!=="claude-sonnet-4-5-20250929[1m]"&&z!=="sonnet-4-5-20250929"&&z!=="sonnet-4-5-20250929[1m]")return;let q=z.endsWith("[1m]");if(Z("userSettings",{model:q?"sonnet[1m]":"sonnet"}),J().numStartups>1)Y((Q)=>({...Q,sonnet45To46MigrationTimestamp:Date.now()}))}W();_();B();function Nq(){if(J().hasResetAutoModeOptInForDefaultOffer)return;try{let q=H("userSettings");if(q?.skipAutoPermissionPrompt&&q?.permissions?.defaultMode!=="auto")Z("userSettings",{skipAutoPermissionPrompt:void 0});Y((K)=>{if(K.hasResetAutoModeOptInForDefaultOffer)return K;return{...K,hasResetAutoModeOptInForDefaultOffer:!0}})}catch(q){V(Error(`Failed to reset auto mode opt-in: ${q}`))}}Lq();W();O();B();function _q(){if(J().opusProMigrationComplete)return;if(U()!=="firstParty"||!x()){Y((Q)=>({...Q,opusProMigrationComplete:!0}));return}if(yq()?.model===void 0){let Q=Date.now();Y((X)=>({...X,opusProMigrationComplete:!0,opusProMigrationTimestamp:Q}))}else Y((Q)=>({...Q,opusProMigrationComplete:!0}))}cq();k();var M=13;function IK(){if(J().migrationVersion!==M)i(),s(),e(),_q(),Bq(),Xq(),wq(),zq(),Jq(),Vq(),qq(),Nq(),Y((z)=>z.migrationVersion===M?z:{...z,migrationVersion:M});Oq().catch(()=>{})}function PK(){if(kq()){T("info","prefetch_system_context_non_interactive"),F();return}if(Gq())T("info","prefetch_system_context_has_trust"),F();else T("info","prefetch_system_context_skipped_no_trust")}function MK(){E("eagerLoadSettings_start");let z=j("--settings");if(z)g(z);let q=j("--setting-sources");if(q!==void 0)n(q);E("eagerLoadSettings_end")}function EK(z){if(process.env.CLAUDE_CODE_ENTRYPOINT)return;let q=process.argv.slice(2),K=q.indexOf("mcp");if(K!==-1&&q[K+1]==="serve"){process.env.CLAUDE_CODE_ENTRYPOINT="mcp";return}if(Aq(process.env.CLAUDE_CODE_ACTION)){process.env.CLAUDE_CODE_ENTRYPOINT="claude-code-github-action";return}process.env.CLAUDE_CODE_ENTRYPOINT=z?"sdk-cli":"cli"}
|
|
8
|
-
export{$z as J,Hz as K,Jz as L,Vz as M,IK as N,PK as O,MK as P,EK as Q};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ed as j,fd as m}from"./cli-1.1.36-4jwgcerx.mjs";import{ld as k,md as O,nd as P}from"./cli-1.1.36-0ar5v8he.mjs";import{D4 as K,I4 as V,h5 as E,z4 as I}from"./cli-1.1.36-s8jcsdgb.mjs";import{H$ as U,K9 as N,M9 as J,_da as G,dba as W,eba as $,fea as F,kba as x,ufa as H,wea as h,zfa as b}from"./cli-1.1.36-t6sjxpcb.mjs";import{Zia as _,fja as L}from"./cli-1.1.36-6g1w2zbr.mjs";import{Doa as T,Ema as R}from"./cli-1.1.36-bsfazmtt.mjs";import{Rpa as y}from"./cli-1.1.36-c4pkjm54.mjs";function l(){X=!0}function f(){if(!X)return!1;return X=!1,!0}function s(q){return(B)=>({...B,...typeof q.permission_mode==="string"?{toolPermissionContext:{...B.toolPermissionContext,mode:$(q.permission_mode)}}:{}})}function S({newState:q,oldState:B}){let Y=f(),Z=B.toolPermissionContext.mode,Q=q.toolPermissionContext.mode;if(Z!==Q){let z=W(Z),D=W(Q);if(z!==D)k({permission_mode:D});O(Q)}if(q.mainLoopModel!==B.mainLoopModel&&q.mainLoopModel===null){if(R(null),!Y)U((z)=>({...z,activeModelForProject:void 0,activeModelForProjectProfileId:void 0}))}if(q.mainLoopModel!==B.mainLoopModel&&q.mainLoopModel!==null){if(R(q.mainLoopModel),!Y){let z=F()?.id;U((D)=>({...D,activeModelForProject:q.mainLoopModel??void 0,activeModelForProjectProfileId:z}))}}if(q.expandedView!==B.expandedView){let z=q.expandedView==="tasks",D=q.expandedView==="teammates";if(J().showExpandedTodos!==z||J().showSpinnerTree!==D)N((A)=>({...A,showExpandedTodos:z,showSpinnerTree:D}))}if(q.verbose!==B.verbose&&J().verbose!==q.verbose){let z=q.verbose;N((D)=>({...D,verbose:z}))}if(q.collapseSubagentProgress!==B.collapseSubagentProgress&&J().collapseSubagentProgress!==q.collapseSubagentProgress){let z=q.collapseSubagentProgress;N((D)=>({...D,collapseSubagentProgress:z}))}if(q.settings!==B.settings)try{if(I(),K(),V(),q.settings.env!==B.settings.env)j()}catch(z){H(_(z))}}var X=!1;var u=y(()=>{T();E();G();L();b();m();h();x();P()});
|
|
2
|
-
export{l as $c,s as ad,S as bd,u as cd};
|