@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 +0,0 @@
|
|
|
1
|
-
import{A7 as Vt,B7 as Wt,D7 as Yt,E7 as Jt,F7 as Kt,G7 as Xt,H7 as Ct,I7 as ft,J7 as Ft,K7 as $t,L7 as uo,M7 as Oo,m7 as w,n7 as so,o7 as no,p7 as co,q7 as ce,r7 as Rt,s7 as Rr,t7 as ao,u7 as _e,v7 as po,w7 as lo,x7 as ge,y7 as h,z7 as vr}from"./cli-1.1.36-pxy9g55g.mjs";import{N7 as Ye}from"./cli-1.1.36-b77v7k9g.mjs";import{Q7 as Tt,R7 as Bt}from"./cli-1.1.36-ef3vjg8b.mjs";import{Fpa as Lt}from"./cli-1.1.36-as3jtdj6.mjs";import{Hpa as xe}from"./cli-1.1.36-gfn4xejp.mjs";import{Ppa as v}from"./cli-1.1.36-c4pkjm54.mjs";var U=v((re)=>{Object.defineProperty(re,"__esModule",{value:!0});re.resolveHttpAuthSchemeConfig=re.defaultSSOOIDCHttpAuthSchemeProvider=re.defaultSSOOIDCHttpAuthSchemeParametersProvider=void 0;var Er=w(),j=vr(),Sr=async(e,r,i)=>{return{operation:(0,j.getSmithyContext)(r).operation,region:await(0,j.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};re.defaultSSOOIDCHttpAuthSchemeParametersProvider=Sr;function Ir(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sso-oauth",region:e.region},propertiesExtractor:(r,i)=>({signingProperties:{config:r,context:i}})}}function Pr(e){return{schemeId:"smithy.api#noAuth"}}var xr=(e)=>{let r=[];switch(e.operation){case"CreateToken":{r.push(Pr(e));break}default:r.push(Ir(e))}return r};re.defaultSSOOIDCHttpAuthSchemeProvider=xr;var Dr=(e)=>{let r=(0,Er.resolveAwsSdkSigV4Config)(e);return Object.assign(r,{authSchemePreference:(0,j.normalizeProvider)(e.authSchemePreference??[])})};re.resolveHttpAuthSchemeConfig=Dr});var le=v((ae)=>{Object.defineProperty(ae,"__esModule",{value:!0});ae.bdd=void 0;var yr=ce(),D="ref",S=-1,y=!0,oe="isSet",de="PartitionResult",N="booleanEquals",M="getAttr",ie={[D]:"Endpoint"},A={[D]:de},x={},se=[{[D]:"Region"}],ne={conditions:[[oe,[ie]],[oe,se],["aws.partition",se,de],[N,[{[D]:"UseFIPS"},y]],[N,[{[D]:"UseDualStack"},y]],[N,[{fn:M,argv:[A,"supportsDualStack"]},y]],[N,[{fn:M,argv:[A,"supportsFIPS"]},y]],["stringEquals",[{fn:M,argv:[A,"name"]},"aws-us-gov"]]],results:[[S],[S,"Invalid Configuration: FIPS and custom endpoint are not supported"],[S,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[ie,x],["https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",x],[S,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://oidc.{Region}.amazonaws.com",x],["https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",x],[S,"FIPS is enabled but this partition does not support FIPS"],["https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",x],[S,"DualStack is enabled but this partition does not support DualStack"],["https://oidc.{Region}.{PartitionResult#dnsSuffix}",x],[S,"Invalid Configuration: Missing Region"]]},Nr=2,n=1e8,hr=new Int32Array([-1,1,-1,0,13,3,1,4,n+12,2,5,n+12,3,8,6,4,7,n+11,5,n+9,n+10,4,11,9,6,10,n+8,7,n+6,n+7,5,12,n+5,6,n+4,n+5,3,n+1,14,4,n+2,n+3]);ae.bdd=yr.BinaryDecisionDiagram.from(hr,Nr,ne.conditions,ne.results)});var ve=v((ue)=>{Object.defineProperty(ue,"__esModule",{value:!0});ue.defaultEndpointResolver=void 0;var fr=Rr(),G=ce(),Fr=le(),$r=new G.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),jr=(e,r={})=>{return $r.get(e,()=>(0,G.decideEndpoint)(Fr.bdd,{endpointParams:e,logger:r.logger}))};ue.defaultEndpointResolver=jr;G.customEndpointFunctions.aws=fr.awsEndpointFunctions});var R=v((z)=>{Object.defineProperty(z,"__esModule",{value:!0});z.SSOOIDCServiceException=z.__ServiceException=void 0;var Ee=h();Object.defineProperty(z,"__ServiceException",{enumerable:!0,get:function(){return Ee.ServiceException}});class m extends Ee.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,m.prototype)}}z.SSOOIDCServiceException=m});var Q=v((Ie)=>{Object.defineProperty(Ie,"__esModule",{value:!0});Ie.UnsupportedGrantTypeException=Ie.UnauthorizedClientException=Ie.SlowDownException=Ie.InvalidScopeException=Ie.InvalidRequestException=Ie.InvalidGrantException=Ie.InvalidClientException=Ie.InternalServerException=Ie.ExpiredTokenException=Ie.AuthorizationPendingException=Ie.AccessDeniedException=void 0;var a=R();class H extends a.SSOOIDCServiceException{name="AccessDeniedException";$fault="client";error;reason;error_description;constructor(e){super({name:"AccessDeniedException",$fault:"client",...e});Object.setPrototypeOf(this,H.prototype),this.error=e.error,this.reason=e.reason,this.error_description=e.error_description}}Ie.AccessDeniedException=H;class L extends a.SSOOIDCServiceException{name="AuthorizationPendingException";$fault="client";error;error_description;constructor(e){super({name:"AuthorizationPendingException",$fault:"client",...e});Object.setPrototypeOf(this,L.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.AuthorizationPendingException=L;class T extends a.SSOOIDCServiceException{name="ExpiredTokenException";$fault="client";error;error_description;constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});Object.setPrototypeOf(this,T.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.ExpiredTokenException=T;class B extends a.SSOOIDCServiceException{name="InternalServerException";$fault="server";error;error_description;constructor(e){super({name:"InternalServerException",$fault:"server",...e});Object.setPrototypeOf(this,B.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.InternalServerException=B;class V extends a.SSOOIDCServiceException{name="InvalidClientException";$fault="client";error;error_description;constructor(e){super({name:"InvalidClientException",$fault:"client",...e});Object.setPrototypeOf(this,V.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.InvalidClientException=V;class W extends a.SSOOIDCServiceException{name="InvalidGrantException";$fault="client";error;error_description;constructor(e){super({name:"InvalidGrantException",$fault:"client",...e});Object.setPrototypeOf(this,W.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.InvalidGrantException=W;class Y extends a.SSOOIDCServiceException{name="InvalidRequestException";$fault="client";error;reason;error_description;constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});Object.setPrototypeOf(this,Y.prototype),this.error=e.error,this.reason=e.reason,this.error_description=e.error_description}}Ie.InvalidRequestException=Y;class J extends a.SSOOIDCServiceException{name="InvalidScopeException";$fault="client";error;error_description;constructor(e){super({name:"InvalidScopeException",$fault:"client",...e});Object.setPrototypeOf(this,J.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.InvalidScopeException=J;class K extends a.SSOOIDCServiceException{name="SlowDownException";$fault="client";error;error_description;constructor(e){super({name:"SlowDownException",$fault:"client",...e});Object.setPrototypeOf(this,K.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.SlowDownException=K;class X extends a.SSOOIDCServiceException{name="UnauthorizedClientException";$fault="client";error;error_description;constructor(e){super({name:"UnauthorizedClientException",$fault:"client",...e});Object.setPrototypeOf(this,X.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.UnauthorizedClientException=X;class C extends a.SSOOIDCServiceException{name="UnsupportedGrantTypeException";$fault="client";error;error_description;constructor(e){super({name:"UnsupportedGrantTypeException",$fault:"client",...e});Object.setPrototypeOf(this,C.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.UnsupportedGrantTypeException=C});var Z=v((Re)=>{Object.defineProperty(Re,"__esModule",{value:!0});Re.CreateToken$=Re.CreateTokenResponse$=Re.CreateTokenRequest$=Re.errorTypeRegistries=Re.UnsupportedGrantTypeException$=Re.UnauthorizedClientException$=Re.SlowDownException$=Re.InvalidScopeException$=Re.InvalidRequestException$=Re.InvalidGrantException$=Re.InvalidClientException$=Re.InternalServerException$=Re.ExpiredTokenException$=Re.AuthorizationPendingException$=Re.AccessDeniedException$=Re.SSOOIDCServiceException$=void 0;var Br="AccessDeniedException",Vr="AuthorizationPendingException",Wr="AccessToken",Yr="ClientSecret",Jr="CreateToken",Kr="CreateTokenRequest",Xr="CreateTokenResponse",Cr="CodeVerifier",Qr="ExpiredTokenException",Zr="InvalidClientException",kr="InvalidGrantException",_r="InvalidRequestException",gr="InternalServerException",et="InvalidScopeException",rt="IdToken",tt="RefreshToken",ot="SlowDownException",it="UnauthorizedClientException",st="UnsupportedGrantTypeException",nt="accessToken",O="client",ct="clientId",dt="clientSecret",at="codeVerifier",pt="code",lt="deviceCode",t="error",ut="expiresIn",p="error_description",Ot="grantType",vt="http",l="httpError",Et="idToken",De="reason",be="refreshToken",St="redirectUri",qe="smithy.ts.sdk.synthetic.com.amazonaws.ssooidc",It="scope",Pt="server",xt="tokenType",o="com.amazonaws.ssooidc",ye=xe(),u=Q(),Dt=R(),Ne=ye.TypeRegistry.for(qe);Re.SSOOIDCServiceException$=[-3,qe,"SSOOIDCServiceException",0,[],[]];Ne.registerError(Re.SSOOIDCServiceException$,Dt.SSOOIDCServiceException);var c=ye.TypeRegistry.for(o);Re.AccessDeniedException$=[-3,o,Br,{[t]:O,[l]:400},[t,De,p],[0,0,0]];c.registerError(Re.AccessDeniedException$,u.AccessDeniedException);Re.AuthorizationPendingException$=[-3,o,Vr,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.AuthorizationPendingException$,u.AuthorizationPendingException);Re.ExpiredTokenException$=[-3,o,Qr,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.ExpiredTokenException$,u.ExpiredTokenException);Re.InternalServerException$=[-3,o,gr,{[t]:Pt,[l]:500},[t,p],[0,0]];c.registerError(Re.InternalServerException$,u.InternalServerException);Re.InvalidClientException$=[-3,o,Zr,{[t]:O,[l]:401},[t,p],[0,0]];c.registerError(Re.InvalidClientException$,u.InvalidClientException);Re.InvalidGrantException$=[-3,o,kr,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.InvalidGrantException$,u.InvalidGrantException);Re.InvalidRequestException$=[-3,o,_r,{[t]:O,[l]:400},[t,De,p],[0,0,0]];c.registerError(Re.InvalidRequestException$,u.InvalidRequestException);Re.InvalidScopeException$=[-3,o,et,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.InvalidScopeException$,u.InvalidScopeException);Re.SlowDownException$=[-3,o,ot,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.SlowDownException$,u.SlowDownException);Re.UnauthorizedClientException$=[-3,o,it,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.UnauthorizedClientException$,u.UnauthorizedClientException);Re.UnsupportedGrantTypeException$=[-3,o,st,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.UnsupportedGrantTypeException$,u.UnsupportedGrantTypeException);Re.errorTypeRegistries=[Ne,c];var bt=[0,o,Wr,8,0],qt=[0,o,Yr,8,0],yt=[0,o,Cr,8,0],Nt=[0,o,rt,8,0],he=[0,o,tt,8,0];Re.CreateTokenRequest$=[3,o,Kr,0,[ct,dt,Ot,lt,pt,be,It,St,at],[0,[()=>qt,0],0,0,0,[()=>he,0],64,0,[()=>yt,0]],3];Re.CreateTokenResponse$=[3,o,Xr,0,[nt,xt,ut,be,Et],[[()=>bt,0],0,1,[()=>he,0],[()=>Nt,0]]];Re.CreateToken$=[9,o,Jr,{[vt]:["POST","/token",200]},()=>Re.CreateTokenRequest$,()=>Re.CreateTokenResponse$]});var Xe=v((Je)=>{Object.defineProperty(Je,"__esModule",{value:!0});Je.getRuntimeConfig=void 0;var jt=w(),wt=Ft(),Ut=Ye(),Mt=h(),At=Rt(),Ve=$t(),We=ft(),Gt=U(),mt=ve(),zt=Z(),Ht=(e)=>{return{apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??Ve.fromBase64,base64Encoder:e?.base64Encoder??Ve.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??mt.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Gt.defaultSSOOIDCHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(r)=>r.getIdentityProvider("aws.auth#sigv4"),signer:new jt.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(r)=>r.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new Ut.NoAuthSigner}],logger:e?.logger??new Mt.NoOpLogger,protocol:e?.protocol??wt.AwsRestJsonProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.ssooidc",errorTypeRegistries:zt.errorTypeRegistries,version:"2019-06-10",serviceTarget:"AWSSSOOIDCService"},serviceId:e?.serviceId??"SSO OIDC",urlParser:e?.urlParser??At.parseUrl,utf8Decoder:e?.utf8Decoder??We.fromUtf8,utf8Encoder:e?.utf8Encoder??We.toUtf8}};Je.getRuntimeConfig=Ht});var tr=v((er)=>{Object.defineProperty(er,"__esModule",{value:!0});er.getRuntimeConfig=void 0;var Qt=Vt(),Zt=Qt.__importDefault(Wt()),kt=Bt(),_t=w(),Ce=Yt(),f=_e(),gt=Jt(),Qe=ge(),I=Kt(),Ze=Lt(),ke=h(),eo=Xt(),ro=Ct(),to=Tt(),oo=Xe(),io=(e)=>{(0,ke.emitWarningIfUnsupportedVersion)(process.version);let r=(0,ro.resolveDefaultsModeConfig)(e),i=()=>r().then(ke.loadConfigsForDefaultMode),d=(0,oo.getRuntimeConfig)(e);(0,kt.emitWarningIfUnsupportedVersion)(process.version);let s={profile:e?.profile,logger:d.logger};return{...d,...e,runtime:"node",defaultsMode:r,authSchemePreference:e?.authSchemePreference??(0,I.loadConfig)(_t.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,s),bodyLengthChecker:e?.bodyLengthChecker??eo.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,Ce.createDefaultUserAgentProvider)({serviceId:d.serviceId,clientVersion:Zt.default.version}),maxAttempts:e?.maxAttempts??(0,I.loadConfig)(Qe.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,I.loadConfig)(f.NODE_REGION_CONFIG_OPTIONS,{...f.NODE_REGION_CONFIG_FILE_OPTIONS,...s}),requestHandler:Ze.NodeHttpHandler.create(e?.requestHandler??i),retryMode:e?.retryMode??(0,I.loadConfig)({...Qe.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await i()).retryMode||to.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??gt.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??Ze.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,I.loadConfig)(f.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,s),useFipsEndpoint:e?.useFipsEndpoint??(0,I.loadConfig)(f.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,s),userAgentAppId:e?.userAgentAppId??(0,I.loadConfig)(Ce.NODE_APP_ID_CONFIG_OPTIONS,s)}};er.getRuntimeConfig=io});var zo=v((E)=>{var or=so(),vo=no(),Eo=co(),ir=ao(),So=_e(),k=Ye(),Io=xe(),Po=po(),ar=lo(),sr=ge(),P=h(),nr=U(),xo=tr(),cr=uo(),dr=Oo(),b=Z(),F=Q(),Do=R(),bo=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"sso-oauth"})},qo={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},yo=(e)=>{let{httpAuthSchemes:r,httpAuthSchemeProvider:i,credentials:d}=e;return{setHttpAuthScheme(s){let q=r.findIndex(($)=>$.schemeId===s.schemeId);if(q===-1)r.push(s);else r.splice(q,1,s)},httpAuthSchemes(){return r},setHttpAuthSchemeProvider(s){i=s},httpAuthSchemeProvider(){return i},setCredentials(s){d=s},credentials(){return d}}},No=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}},ho=(e,r)=>{let i=Object.assign(cr.getAwsRegionExtensionConfiguration(e),P.getDefaultExtensionConfiguration(e),dr.getHttpHandlerExtensionConfiguration(e),yo(e));return r.forEach((d)=>d.configure(i)),Object.assign(e,cr.resolveAwsRegionExtensionConfiguration(i),P.resolveDefaultRuntimeConfig(i),dr.resolveHttpHandlerRuntimeConfig(i),No(i))};class _ extends P.Client{config;constructor(...[e]){let r=xo.getRuntimeConfig(e||{});super(r);this.initConfig=r;let i=bo(r),d=ir.resolveUserAgentConfig(i),s=sr.resolveRetryConfig(d),q=So.resolveRegionConfig(s),$=or.resolveHostHeaderConfig(q),pr=ar.resolveEndpointConfig($),lr=nr.resolveHttpAuthSchemeConfig(pr),ur=ho(lr,e?.extensions||[]);this.config=ur,this.middlewareStack.use(Io.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(ir.getUserAgentPlugin(this.config)),this.middlewareStack.use(sr.getRetryPlugin(this.config)),this.middlewareStack.use(Po.getContentLengthPlugin(this.config)),this.middlewareStack.use(or.getHostHeaderPlugin(this.config)),this.middlewareStack.use(vo.getLoggerPlugin(this.config)),this.middlewareStack.use(Eo.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(k.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:nr.defaultSSOOIDCHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(Or)=>new k.DefaultIdentityProviderConfig({"aws.auth#sigv4":Or.credentials})})),this.middlewareStack.use(k.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class g extends P.Command.classBuilder().ep(qo).m(function(e,r,i,d){return[ar.getEndpointPlugin(i,e.getEndpointParameterInstructions())]}).s("AWSSSOOIDCService","CreateToken",{}).n("SSOOIDCClient","CreateTokenCommand").sc(b.CreateToken$).build(){}var Ro={CreateTokenCommand:g};class ee extends _{}P.createAggregatedClient(Ro,ee);var fo={KMS_ACCESS_DENIED:"KMS_AccessDeniedException"},Fo={KMS_DISABLED_KEY:"KMS_DisabledException",KMS_INVALID_KEY_USAGE:"KMS_InvalidKeyUsageException",KMS_INVALID_STATE:"KMS_InvalidStateException",KMS_KEY_NOT_FOUND:"KMS_NotFoundException"};E.$Command=P.Command;E.__Client=P.Client;E.SSOOIDCServiceException=Do.SSOOIDCServiceException;E.AccessDeniedExceptionReason=fo;E.CreateTokenCommand=g;E.InvalidRequestExceptionReason=Fo;E.SSOOIDC=ee;E.SSOOIDCClient=_;Object.prototype.hasOwnProperty.call(b,"__proto__")&&!Object.prototype.hasOwnProperty.call(E,"__proto__")&&Object.defineProperty(E,"__proto__",{enumerable:!0,value:b.__proto__});Object.keys(b).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(E,e))E[e]=b[e]});Object.prototype.hasOwnProperty.call(F,"__proto__")&&!Object.prototype.hasOwnProperty.call(E,"__proto__")&&Object.defineProperty(E,"__proto__",{enumerable:!0,value:F.__proto__});Object.keys(F).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(E,e))E[e]=F[e]})});export default zo();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Lpa as ls}from"./cli-1.1.36-gfn4xejp.mjs";import{Ppa as z,Rpa as hs,Spa as Xn}from"./cli-1.1.36-c4pkjm54.mjs";var V=z((js,Z)=>{var _,nn,en,sn,tn,hn,ln,cn,yn,wn,Sn,an,fn,Q,F,bn,un,gn,T,Mn,Un,Bn,$n,In,On,zn,Nn,Gn,X,rn,Cn,Tn;(function(n){var s=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(a){n(c(s,c(a)))});else if(typeof Z==="object"&&typeof js==="object")n(c(s,c(js)));else n(c(s));function c(a,w){if(a!==s)if(typeof Object.create==="function")Object.defineProperty(a,"__esModule",{value:!0});else a.__esModule=!0;return function(e,t){return a[e]=w?w(e,t):t}}})(function(n){var s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var h in t)if(Object.prototype.hasOwnProperty.call(t,h))e[h]=t[h]};_=function(e,t){if(typeof t!=="function"&&t!==null)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");s(e,t);function h(){this.constructor=e}e.prototype=t===null?Object.create(t):(h.prototype=t.prototype,new h)},nn=Object.assign||function(e){for(var t,h=1,l=arguments.length;h<l;h++){t=arguments[h];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e},en=function(e,t){var h={};for(var l in e)if(Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0)h[l]=e[l];if(e!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var i=0,l=Object.getOwnPropertySymbols(e);i<l.length;i++)if(t.indexOf(l[i])<0&&Object.prototype.propertyIsEnumerable.call(e,l[i]))h[l[i]]=e[l[i]]}return h},sn=function(e,t,h,l){var i=arguments.length,y=i<3?t:l===null?l=Object.getOwnPropertyDescriptor(t,h):l,S;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")y=Reflect.decorate(e,t,h,l);else for(var b=e.length-1;b>=0;b--)if(S=e[b])y=(i<3?S(y):i>3?S(t,h,y):S(t,h))||y;return i>3&&y&&Object.defineProperty(t,h,y),y},tn=function(e,t){return function(h,l){t(h,l,e)}},hn=function(e,t,h,l,i,y){function S(r){if(r!==void 0&&typeof r!=="function")throw TypeError("Function expected");return r}var b=l.kind,g=b==="getter"?"get":b==="setter"?"set":"value",f=!t&&e?l.static?e:e.prototype:null,u=t||(f?Object.getOwnPropertyDescriptor(f,l.name):{}),U,B=!1;for(var M=h.length-1;M>=0;M--){var I={};for(var O in l)I[O]=O==="access"?{}:l[O];for(var O in l.access)I.access[O]=l.access[O];I.addInitializer=function(r){if(B)throw TypeError("Cannot add initializers after decoration has completed");y.push(S(r||null))};var $=(0,h[M])(b==="accessor"?{get:u.get,set:u.set}:u[g],I);if(b==="accessor"){if($===void 0)continue;if($===null||typeof $!=="object")throw TypeError("Object expected");if(U=S($.get))u.get=U;if(U=S($.set))u.set=U;if(U=S($.init))i.unshift(U)}else if(U=S($))if(b==="field")i.unshift(U);else u[g]=U}if(f)Object.defineProperty(f,l.name,u);B=!0},ln=function(e,t,h){var l=arguments.length>2;for(var i=0;i<t.length;i++)h=l?t[i].call(e,h):t[i].call(e);return l?h:void 0},cn=function(e){return typeof e==="symbol"?e:"".concat(e)},yn=function(e,t,h){if(typeof t==="symbol")t=t.description?"[".concat(t.description,"]"):"";return Object.defineProperty(e,"name",{configurable:!0,value:h?"".concat(h," ",t):t})},wn=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)},Sn=function(e,t,h,l){function i(y){return y instanceof h?y:new h(function(S){S(y)})}return new(h||(h=Promise))(function(y,S){function b(u){try{f(l.next(u))}catch(U){S(U)}}function g(u){try{f(l.throw(u))}catch(U){S(U)}}function f(u){u.done?y(u.value):i(u.value).then(b,g)}f((l=l.apply(e,t||[])).next())})},an=function(e,t){var h={label:0,sent:function(){if(y[0]&1)throw y[1];return y[1]},trys:[],ops:[]},l,i,y,S=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return S.next=b(0),S.throw=b(1),S.return=b(2),typeof Symbol==="function"&&(S[Symbol.iterator]=function(){return this}),S;function b(f){return function(u){return g([f,u])}}function g(f){if(l)throw TypeError("Generator is already executing.");while(S&&(S=0,f[0]&&(h=0)),h)try{if(l=1,i&&(y=f[0]&2?i.return:f[0]?i.throw||((y=i.return)&&y.call(i),0):i.next)&&!(y=y.call(i,f[1])).done)return y;if(i=0,y)f=[f[0]&2,y.value];switch(f[0]){case 0:case 1:y=f;break;case 4:return h.label++,{value:f[1],done:!1};case 5:h.label++,i=f[1],f=[0];continue;case 7:f=h.ops.pop(),h.trys.pop();continue;default:if((y=h.trys,!(y=y.length>0&&y[y.length-1]))&&(f[0]===6||f[0]===2)){h=0;continue}if(f[0]===3&&(!y||f[1]>y[0]&&f[1]<y[3])){h.label=f[1];break}if(f[0]===6&&h.label<y[1]){h.label=y[1],y=f;break}if(y&&h.label<y[2]){h.label=y[2],h.ops.push(f);break}if(y[2])h.ops.pop();h.trys.pop();continue}f=t.call(e,h)}catch(u){f=[6,u],i=0}finally{l=y=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},fn=function(e,t){for(var h in e)if(h!=="default"&&!Object.prototype.hasOwnProperty.call(t,h))X(t,e,h)},X=Object.create?function(e,t,h,l){if(l===void 0)l=h;var i=Object.getOwnPropertyDescriptor(t,h);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable))i={enumerable:!0,get:function(){return t[h]}};Object.defineProperty(e,l,i)}:function(e,t,h,l){if(l===void 0)l=h;e[l]=t[h]},Q=function(e){var t=typeof Symbol==="function"&&Symbol.iterator,h=t&&e[t],l=0;if(h)return h.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&l>=e.length)e=void 0;return{value:e&&e[l++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},F=function(e,t){var h=typeof Symbol==="function"&&e[Symbol.iterator];if(!h)return e;var l=h.call(e),i,y=[],S;try{while((t===void 0||t-- >0)&&!(i=l.next()).done)y.push(i.value)}catch(b){S={error:b}}finally{try{if(i&&!i.done&&(h=l.return))h.call(l)}finally{if(S)throw S.error}}return y},bn=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(F(arguments[t]));return e},un=function(){for(var e=0,t=0,h=arguments.length;t<h;t++)e+=arguments[t].length;for(var l=Array(e),i=0,t=0;t<h;t++)for(var y=arguments[t],S=0,b=y.length;S<b;S++,i++)l[i]=y[S];return l},gn=function(e,t,h){if(h||arguments.length===2){for(var l=0,i=t.length,y;l<i;l++)if(y||!(l in t)){if(!y)y=Array.prototype.slice.call(t,0,l);y[l]=t[l]}}return e.concat(y||Array.prototype.slice.call(t))},T=function(e){return this instanceof T?(this.v=e,this):new T(e)},Mn=function(e,t,h){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var l=h.apply(e,t||[]),i,y=[];return i=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),b("next"),b("throw"),b("return",S),i[Symbol.asyncIterator]=function(){return this},i;function S(M){return function(I){return Promise.resolve(I).then(M,U)}}function b(M,I){if(l[M]){if(i[M]=function(O){return new Promise(function($,r){y.push([M,O,$,r])>1||g(M,O)})},I)i[M]=I(i[M])}}function g(M,I){try{f(l[M](I))}catch(O){B(y[0][3],O)}}function f(M){M.value instanceof T?Promise.resolve(M.value.v).then(u,U):B(y[0][2],M)}function u(M){g("next",M)}function U(M){g("throw",M)}function B(M,I){if(M(I),y.shift(),y.length)g(y[0][0],y[0][1])}},Un=function(e){var t,h;return t={},l("next"),l("throw",function(i){throw i}),l("return"),t[Symbol.iterator]=function(){return this},t;function l(i,y){t[i]=e[i]?function(S){return(h=!h)?{value:T(e[i](S)),done:!1}:y?y(S):S}:y}},Bn=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],h;return t?t.call(e):(e=typeof Q==="function"?Q(e):e[Symbol.iterator](),h={},l("next"),l("throw"),l("return"),h[Symbol.asyncIterator]=function(){return this},h);function l(y){h[y]=e[y]&&function(S){return new Promise(function(b,g){S=e[y](S),i(b,g,S.done,S.value)})}}function i(y,S,b,g){Promise.resolve(g).then(function(f){y({value:f,done:b})},S)}},$n=function(e,t){if(Object.defineProperty)Object.defineProperty(e,"raw",{value:t});else e.raw=t;return e};var c=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},a=function(e){return a=Object.getOwnPropertyNames||function(t){var h=[];for(var l in t)if(Object.prototype.hasOwnProperty.call(t,l))h[h.length]=l;return h},a(e)};In=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var h=a(e),l=0;l<h.length;l++)if(h[l]!=="default")X(t,e,h[l])}return c(t,e),t},On=function(e){return e&&e.__esModule?e:{default:e}},zn=function(e,t,h,l){if(h==="a"&&!l)throw TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!l:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return h==="m"?l:h==="a"?l.call(e):l?l.value:t.get(e)},Nn=function(e,t,h,l,i){if(l==="m")throw TypeError("Private method is not writable");if(l==="a"&&!i)throw TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return l==="a"?i.call(e,h):i?i.value=h:t.set(e,h),h},Gn=function(e,t){if(t===null||typeof t!=="object"&&typeof t!=="function")throw TypeError("Cannot use 'in' operator on non-object");return typeof e==="function"?t===e:e.has(t)},rn=function(e,t,h){if(t!==null&&t!==void 0){if(typeof t!=="object"&&typeof t!=="function")throw TypeError("Object expected.");var l,i;if(h){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");l=t[Symbol.asyncDispose]}if(l===void 0){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");if(l=t[Symbol.dispose],h)i=l}if(typeof l!=="function")throw TypeError("Object not disposable.");if(i)l=function(){try{i.call(this)}catch(y){return Promise.reject(y)}};e.stack.push({value:t,dispose:l,async:h})}else if(h)e.stack.push({async:!0});return t};var w=typeof SuppressedError==="function"?SuppressedError:function(e,t,h){var l=Error(h);return l.name="SuppressedError",l.error=e,l.suppressed=t,l};Cn=function(e){function t(y){e.error=e.hasError?new w(y,e.error,"An error was suppressed during disposal."):y,e.hasError=!0}var h,l=0;function i(){while(h=e.stack.pop())try{if(!h.async&&l===1)return l=0,e.stack.push(h),Promise.resolve().then(i);if(h.dispose){var y=h.dispose.call(h.value);if(h.async)return l|=2,Promise.resolve(y).then(i,function(S){return t(S),i()})}else l|=1}catch(S){t(S)}if(l===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return i()},Tn=function(e,t){if(typeof e==="string"&&/^\.\.?\//.test(e))return e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(h,l,i,y,S){return l?t?".jsx":".js":i&&(!y||!S)?h:i+y+"."+S.toLowerCase()+"js"});return e},n("__extends",_),n("__assign",nn),n("__rest",en),n("__decorate",sn),n("__param",tn),n("__esDecorate",hn),n("__runInitializers",ln),n("__propKey",cn),n("__setFunctionName",yn),n("__metadata",wn),n("__awaiter",Sn),n("__generator",an),n("__exportStar",fn),n("__createBinding",X),n("__values",Q),n("__read",F),n("__spread",bn),n("__spreadArrays",un),n("__spreadArray",gn),n("__await",T),n("__asyncGenerator",Mn),n("__asyncDelegator",Un),n("__asyncValues",Bn),n("__makeTemplateObject",$n),n("__importStar",In),n("__importDefault",On),n("__classPrivateFieldGet",zn),n("__classPrivateFieldSet",Nn),n("__classPrivateFieldIn",Gn),n("__addDisposableResource",rn),n("__disposeResources",Cn),n("__rewriteRelativeImportExtension",Tn)})});var Qn=z((Es,Wn)=>{var{defineProperty:H,getOwnPropertyDescriptor:fe,getOwnPropertyNames:be}=Object,ue=Object.prototype.hasOwnProperty,ge=(n,s)=>H(n,"name",{value:s,configurable:!0}),Me=(n,s)=>{for(var c in s)H(n,c,{get:s[c],enumerable:!0})},Ue=(n,s,c,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let w of be(s))if(!ue.call(n,w)&&w!==c)H(n,w,{get:()=>s[w],enumerable:!(a=fe(s,w))||a.enumerable})}return n},Be=(n)=>Ue(H({},"__esModule",{value:!0}),n),Ln={};Me(Ln,{isArrayBuffer:()=>$e});Wn.exports=Be(Ln);var $e=ge((n)=>typeof ArrayBuffer==="function"&&n instanceof ArrayBuffer||Object.prototype.toString.call(n)==="[object ArrayBuffer]","isArrayBuffer")});var Kn=z((Ps,qn)=>{var{defineProperty:q,getOwnPropertyDescriptor:Ie,getOwnPropertyNames:Oe}=Object,ze=Object.prototype.hasOwnProperty,Zn=(n,s)=>q(n,"name",{value:s,configurable:!0}),Ne=(n,s)=>{for(var c in s)q(n,c,{get:s[c],enumerable:!0})},Ge=(n,s,c,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let w of Oe(s))if(!ze.call(n,w)&&w!==c)q(n,w,{get:()=>s[w],enumerable:!(a=Ie(s,w))||a.enumerable})}return n},re=(n)=>Ge(q({},"__esModule",{value:!0}),n),Hn={};Ne(Hn,{fromArrayBuffer:()=>Te,fromString:()=>Le});qn.exports=re(Hn);var Ce=Qn(),J=Xn("buffer"),Te=Zn((n,s=0,c=n.byteLength-s)=>{if(!(0,Ce.isArrayBuffer)(n))throw TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof n} (${n})`);return J.Buffer.from(n,s,c)},"fromArrayBuffer"),Le=Zn((n,s)=>{if(typeof n!=="string")throw TypeError(`The "input" argument must be of type string. Received type ${typeof n} (${n})`);return s?J.Buffer.from(n,s):J.Buffer.from(n)},"fromString")});var An=z((ks,mn)=>{var{defineProperty:K,getOwnPropertyDescriptor:We,getOwnPropertyNames:Qe}=Object,Xe=Object.prototype.hasOwnProperty,m=(n,s)=>K(n,"name",{value:s,configurable:!0}),Ze=(n,s)=>{for(var c in s)K(n,c,{get:s[c],enumerable:!0})},He=(n,s,c,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let w of Qe(s))if(!Xe.call(n,w)&&w!==c)K(n,w,{get:()=>s[w],enumerable:!(a=We(s,w))||a.enumerable})}return n},qe=(n)=>He(K({},"__esModule",{value:!0}),n),Fn={};Ze(Fn,{fromUtf8:()=>Jn,toUint8Array:()=>Ke,toUtf8:()=>Fe});mn.exports=qe(Fn);var Vn=Kn(),Jn=m((n)=>{let s=(0,Vn.fromString)(n,"utf8");return new Uint8Array(s.buffer,s.byteOffset,s.byteLength/Uint8Array.BYTES_PER_ELEMENT)},"fromUtf8"),Ke=m((n)=>{if(typeof n==="string")return Jn(n);if(ArrayBuffer.isView(n))return new Uint8Array(n.buffer,n.byteOffset,n.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(n)},"toUint8Array"),Fe=m((n)=>{if(typeof n==="string")return n;if(typeof n!=="object"||typeof n.byteOffset!=="number"||typeof n.byteLength!=="number")throw Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return(0,Vn.fromArrayBuffer)(n.buffer,n.byteOffset,n.byteLength).toString("utf8")},"toUtf8")});var Dn=z((Rn)=>{Object.defineProperty(Rn,"__esModule",{value:!0});Rn.convertToBuffer=void 0;var Ve=An(),Je=typeof Buffer<"u"&&Buffer.from?function(n){return Buffer.from(n,"utf8")}:Ve.fromUtf8;function me(n){if(n instanceof Uint8Array)return n;if(typeof n==="string")return Je(n);if(ArrayBuffer.isView(n))return new Uint8Array(n.buffer,n.byteOffset,n.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(n)}Rn.convertToBuffer=me});var Pn=z((jn)=>{Object.defineProperty(jn,"__esModule",{value:!0});jn.isEmptyData=void 0;function Ae(n){if(typeof n==="string")return n.length===0;return n.byteLength===0}jn.isEmptyData=Ae});var dn=z((kn)=>{Object.defineProperty(kn,"__esModule",{value:!0});kn.numToUint8=void 0;function Re(n){return new Uint8Array([(n&4278190080)>>24,(n&16711680)>>16,(n&65280)>>8,n&255])}kn.numToUint8=Re});var pn=z((on)=>{Object.defineProperty(on,"__esModule",{value:!0});on.uint32ArrayFrom=void 0;function Ye(n){if(!Uint32Array.from){var s=new Uint32Array(n.length),c=0;while(c<n.length)s[c]=n[c],c+=1;return s}return Uint32Array.from(n)}on.uint32ArrayFrom=Ye});var A=z((L)=>{Object.defineProperty(L,"__esModule",{value:!0});L.uint32ArrayFrom=L.numToUint8=L.isEmptyData=L.convertToBuffer=void 0;var De=Dn();Object.defineProperty(L,"convertToBuffer",{enumerable:!0,get:function(){return De.convertToBuffer}});var je=Pn();Object.defineProperty(L,"isEmptyData",{enumerable:!0,get:function(){return je.isEmptyData}});var Ee=dn();Object.defineProperty(L,"numToUint8",{enumerable:!0,get:function(){return Ee.numToUint8}});var Pe=pn();Object.defineProperty(L,"uint32ArrayFrom",{enumerable:!0,get:function(){return Pe.uint32ArrayFrom}})});var te=z((ee)=>{Object.defineProperty(ee,"__esModule",{value:!0});ee.AwsCrc32=void 0;var _n=V(),R=A(),ne=Y(),ve=function(){function n(){this.crc32=new ne.Crc32}return n.prototype.update=function(s){if((0,R.isEmptyData)(s))return;this.crc32.update((0,R.convertToBuffer)(s))},n.prototype.digest=function(){return _n.__awaiter(this,void 0,void 0,function(){return _n.__generator(this,function(s){return[2,(0,R.numToUint8)(this.crc32.digest())]})})},n.prototype.reset=function(){this.crc32=new ne.Crc32},n}();ee.AwsCrc32=ve});var Y=z((D)=>{Object.defineProperty(D,"__esModule",{value:!0});D.AwsCrc32=D.Crc32=D.crc32=void 0;var de=V(),oe=A();function xe(n){return new he().update(n).digest()}D.crc32=xe;var he=function(){function n(){this.checksum=4294967295}return n.prototype.update=function(s){var c,a;try{for(var w=de.__values(s),e=w.next();!e.done;e=w.next()){var t=e.value;this.checksum=this.checksum>>>8^_e[(this.checksum^t)&255]}}catch(h){c={error:h}}finally{try{if(e&&!e.done&&(a=w.return))a.call(w)}finally{if(c)throw c.error}}return this},n.prototype.digest=function(){return(this.checksum^4294967295)>>>0},n}();D.Crc32=he;var pe=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],_e=(0,oe.uint32ArrayFrom)(pe),ns=te();Object.defineProperty(D,"AwsCrc32",{enumerable:!0,get:function(){return ns.AwsCrc32}})});class W{bytes;constructor(n){if(this.bytes=n,n.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(n){if(n>9223372036854776000||n<-9223372036854776000)throw Error(`${n} is too large (or, if negative, too small) to represent as an Int64`);let s=new Uint8Array(8);for(let c=7,a=Math.abs(Math.round(n));c>-1&&a>0;c--,a/=256)s[c]=a;if(n<0)le(s);return new W(s)}valueOf(){let n=this.bytes.slice(0),s=n[0]&128;if(s)le(n);return parseInt(N.toHex(n),16)*(s?-1:1)}toString(){return String(this.valueOf())}}function le(n){for(let s=0;s<8;s++)n[s]^=255;for(let s=7;s>-1;s--)if(n[s]++,n[s]!==0)break}class j{toUtf8;fromUtf8;constructor(n,s){this.toUtf8=n,this.fromUtf8=s}format(n){let s=[];for(let w of Object.keys(n)){let e=this.fromUtf8(w);s.push(Uint8Array.from([e.byteLength]),e,this.formatHeaderValue(n[w]))}let c=new Uint8Array(s.reduce((w,e)=>w+e.byteLength,0)),a=0;for(let w of s)c.set(w,a),a+=w.byteLength;return c}formatHeaderValue(n){switch(n.type){case"boolean":return Uint8Array.from([n.value?0:1]);case"byte":return Uint8Array.from([2,n.value]);case"short":let s=new DataView(new ArrayBuffer(3));return s.setUint8(0,3),s.setInt16(1,n.value,!1),new Uint8Array(s.buffer);case"integer":let c=new DataView(new ArrayBuffer(5));return c.setUint8(0,4),c.setInt32(1,n.value,!1),new Uint8Array(c.buffer);case"long":let a=new Uint8Array(9);return a[0]=5,a.set(n.value.bytes,1),a;case"binary":let w=new DataView(new ArrayBuffer(3+n.value.byteLength));w.setUint8(0,6),w.setUint16(1,n.value.byteLength,!1);let e=new Uint8Array(w.buffer);return e.set(n.value,3),e;case"string":let t=this.fromUtf8(n.value),h=new DataView(new ArrayBuffer(3+t.byteLength));h.setUint8(0,7),h.setUint16(1,t.byteLength,!1);let l=new Uint8Array(h.buffer);return l.set(t,3),l;case"timestamp":let i=new Uint8Array(9);return i[0]=8,i.set(W.fromNumber(n.value.valueOf()).bytes,1),i;case"uuid":if(!gs.test(n.value))throw Error(`Invalid UUID received: ${n.value}`);let y=new Uint8Array(17);return y[0]=9,y.set(N.fromHex(n.value.replace(/\-/g,"")),1),y}}parse(n){let s={},c=0;while(c<n.byteLength){let a=n.getUint8(c++),w=this.toUtf8(new Uint8Array(n.buffer,n.byteOffset+c,a));switch(c+=a,n.getUint8(c++)){case 0:s[w]={type:ye,value:!0};break;case 1:s[w]={type:ye,value:!1};break;case 2:s[w]={type:ys,value:n.getInt8(c++)};break;case 3:s[w]={type:is,value:n.getInt16(c,!1)},c+=2;break;case 4:s[w]={type:ws,value:n.getInt32(c,!1)},c+=4;break;case 5:s[w]={type:Ss,value:new W(new Uint8Array(n.buffer,n.byteOffset+c,8))},c+=8;break;case 6:let e=n.getUint16(c,!1);c+=2,s[w]={type:as,value:new Uint8Array(n.buffer,n.byteOffset+c,e)},c+=e;break;case 7:let t=n.getUint16(c,!1);c+=2,s[w]={type:fs,value:this.toUtf8(new Uint8Array(n.buffer,n.byteOffset+c,t))},c+=t;break;case 8:s[w]={type:bs,value:new Date(new W(new Uint8Array(n.buffer,n.byteOffset+c,8)).valueOf())},c+=8;break;case 9:let h=new Uint8Array(n.buffer,n.byteOffset+c,16);c+=16,s[w]={type:us,value:`${N.toHex(h.subarray(0,4))}-${N.toHex(h.subarray(4,6))}-${N.toHex(h.subarray(6,8))}-${N.toHex(h.subarray(8,10))}-${N.toHex(h.subarray(10))}`};break;default:throw Error("Unrecognized header type tag")}}return s}}function Us({byteLength:n,byteOffset:s,buffer:c}){if(n<Ms)throw Error("Provided message too short to accommodate event stream message overhead");let a=new DataView(c,s,n),w=a.getUint32(0,!1);if(n!==w)throw Error("Reported message length does not match received message length");let e=a.getUint32(we,!1),t=a.getUint32(G,!1),h=a.getUint32(n-C,!1),l=new ie.Crc32().update(new Uint8Array(c,s,G));if(t!==l.digest())throw Error(`The prelude checksum specified in the message (${t}) does not match the calculated CRC32 checksum (${l.digest()})`);if(l.update(new Uint8Array(c,s+G,n-(G+C))),h!==l.digest())throw Error(`The message checksum (${l.digest()}) did not match the expected value of ${h}`);return{headers:new DataView(c,s+G+C,e),body:new Uint8Array(c,s+G+C+e,w-e-(G+C+C))}}class E{headerMarshaller;messageBuffer;isEndOfStream;constructor(n,s){this.headerMarshaller=new j(n,s),this.messageBuffer=[],this.isEndOfStream=!1}feed(n){this.messageBuffer.push(this.decode(n))}endOfStream(){this.isEndOfStream=!0}getMessage(){let n=this.messageBuffer.pop(),s=this.isEndOfStream;return{getMessage(){return n},isEndOfStream(){return s}}}getAvailableMessages(){let n=this.messageBuffer;this.messageBuffer=[];let s=this.isEndOfStream;return{getMessages(){return n},isEndOfStream(){return s}}}encode({headers:n,body:s}){let c=this.headerMarshaller.format(n),a=c.byteLength+s.byteLength+16,w=new Uint8Array(a),e=new DataView(w.buffer,w.byteOffset,w.byteLength),t=new ie.Crc32;return e.setUint32(0,a,!1),e.setUint32(4,c.byteLength,!1),e.setUint32(8,t.update(w.subarray(0,8)).digest(),!1),w.set(c,12),w.set(s,c.byteLength+12),e.setUint32(a-4,t.update(w.subarray(8,a-4)).digest(),!1),w}decode(n){let{headers:s,body:c}=Us(n);return{headers:this.headerMarshaller.parse(s),body:c}}formatHeaders(n){return this.headerMarshaller.format(n)}}function Se(n){let s=0,c=0,a=null,w=null,e=(h)=>{if(typeof h!=="number")throw Error("Attempted to allocate an event message where size was not a number: "+h);s=h,c=4,a=new Uint8Array(h),new DataView(a.buffer).setUint32(0,h,!1)},t=async function*(){let h=n[Symbol.asyncIterator]();while(!0){let{value:l,done:i}=await h.next();if(i){if(!s)return;else if(s===c)yield a;else throw Error("Truncated event message received.");return}let y=l.length,S=0;while(S<y){if(!a){let g=y-S;if(!w)w=new Uint8Array(4);let f=Math.min(4-c,g);if(w.set(l.slice(S,S+f),c),c+=f,S+=f,c<4)break;e(new DataView(w.buffer).getUint32(0,!1)),w=null}let b=Math.min(s-c,y-S);if(a.set(l.slice(S,S+b),c),c+=b,S+=b,s&&s===c)yield a,a=null,s=0,c=0}}};return{[Symbol.asyncIterator]:t}}function Bs(n,s){let c=o(s.deserializer,s.toUtf8);return{[Symbol.asyncIterator]:async function*(){for await(let a of n){let w=s.eventStreamCodec.decode(a),e=await c(w);if(e===void 0)continue;yield e}}}}function o(n,s){return async function(c){let{value:a}=c.headers[":message-type"];if(a==="error"){let w=Error(c.headers[":error-message"].value||"UnknownError");throw w.name=c.headers[":error-code"].value,w}else if(a==="exception"){let w=c.headers[":exception-type"].value,e={[w]:c},t=await n(e);if(t.$unknown){let h=Error(s(c.body));throw h.name=w,h}throw t[w]}else if(a==="event"){let w={[c.headers[":event-type"].value]:c},e=await n(w);if(e.$unknown)return;return e}else throw Error(`Unrecognizable event type: ${c.headers[":event-type"].value}`)}}class p{universalMarshaller;constructor({utf8Encoder:n,utf8Decoder:s}){this.universalMarshaller=new x({utf8Decoder:s,utf8Encoder:n})}deserialize(n,s){let c=typeof n[Symbol.asyncIterator]==="function"?n:Os(n);return this.universalMarshaller.deserialize(c,s)}serialize(n,s){return cs.Readable.from(this.universalMarshaller.serialize(n,s))}}async function*Os(n){let s=!1,c=!1,a=[];n.on("error",(w)=>{if(!s)s=!0;if(w)throw w}),n.on("data",(w)=>{a.push(w)}),n.on("end",()=>{s=!0});while(!c){let w=await new Promise((e)=>setTimeout(()=>e(a.shift()),0));if(w)yield w;c=s&&a.length===0}}class ae{marshaller;serializer;deserializer;serdeContext;defaultContentType;constructor({marshaller:n,serializer:s,deserializer:c,serdeContext:a,defaultContentType:w}){this.marshaller=n,this.serializer=s,this.deserializer=c,this.serdeContext=a,this.defaultContentType=w}async serializeEventStream({eventStream:n,requestSchema:s,initialRequest:c}){let a=this.marshaller,w=s.getEventStreamMember(),e=s.getMemberSchema(w),t=this.serializer,h=this.defaultContentType,l=Symbol("initialRequestMarker"),i={async*[Symbol.asyncIterator](){if(c){let y={":event-type":{type:"string",value:"initial-request"},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:h}};t.write(s,c);let S=t.flush();yield{[l]:!0,headers:y,body:S}}for await(let y of n)yield y}};return a.serialize(i,(y)=>{if(y[l])return{headers:y.headers,body:y.body};let S="";for(let B in y)if(B!=="__type"){S=B;break}let{additionalHeaders:b,body:g,eventType:f,explicitPayloadContentType:u}=this.writeEventBody(S,e,y);return{headers:{":event-type":{type:"string",value:f},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:u??h},...b},body:g}})}async deserializeEventStream({response:n,responseSchema:s,initialResponseContainer:c}){let a=this.marshaller,w=s.getEventStreamMember(),t=s.getMemberSchema(w).getMemberSchemas(),h=Symbol("initialResponseMarker"),l=a.deserialize(n.body,async(S)=>{let b="";for(let f in S)if(f!=="__type"){b=f;break}let g=S[b].body;if(b==="initial-response"){let f=await this.deserializer.read(s,g);return delete f[w],{[h]:!0,...f}}else if(b in t){let f=t[b];if(f.isStructSchema()){let u={},U=!1;for(let[B,M]of f.structIterator()){let{eventHeader:I,eventPayload:O}=M.getMergedTraits();if(U=U||Boolean(I||O),O){if(M.isBlobSchema())u[B]=g;else if(M.isStringSchema())u[B]=(this.serdeContext?.utf8Encoder??N.toUtf8)(g);else if(M.isStructSchema())u[B]=await this.deserializer.read(M,g)}else if(I){let $=S[b].headers[B]?.value;if($!=null)if(M.isNumericSchema())if($&&typeof $==="object"&&"bytes"in $)u[B]=BigInt($.toString());else u[B]=Number($);else u[B]=$}}if(U)return{[b]:u};if(g.byteLength===0)return{[b]:{}}}return{[b]:await this.deserializer.read(f,g)}}else return{$unknown:S}}),i=l[Symbol.asyncIterator](),y=await i.next();if(y.done)return l;if(y.value?.[h]){if(!s)throw Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");for(let S in y.value)c[S]=y.value[S]}return{async*[Symbol.asyncIterator](){if(!y?.value?.[h])yield y.value;while(!0){let{done:S,value:b}=await i.next();if(S)break;yield b}}}}writeEventBody(n,s,c){let a=this.serializer,w=n,e=null,t,h=(()=>{return s.getSchema()[4].includes(n)})(),l={};if(!h){let[S,b]=c[n];w=S,a.write(15,b)}else{let S=s.getMemberSchema(n);if(S.isStructSchema()){for(let[b,g]of S.structIterator()){let{eventHeader:f,eventPayload:u}=g.getMergedTraits();if(u)e=b;else if(f){let U=c[n][b],B="binary";if(g.isNumericSchema())if(-2147483648<=U&&U<=2147483647)B="integer";else B="long";else if(g.isTimestampSchema())B="timestamp";else if(g.isStringSchema())B="string";else if(g.isBooleanSchema())B="boolean";if(U!=null)l[b]={type:B,value:U},delete c[n][b]}}if(e!==null){let b=S.getMemberSchema(e);if(b.isBlobSchema())t="application/octet-stream";else if(b.isStringSchema())t="text/plain";a.write(b,c[n][e])}else a.write(S,c[n])}else if(S.isUnitSchema())a.write(S,{});else throw Error("@smithy/core/event-streams - non-struct member not supported in event stream union.")}let i=a.flush()??new Uint8Array;return{body:typeof i==="string"?(this.serdeContext?.utf8Decoder??N.fromUtf8)(i):i,eventType:w,explicitPayloadContentType:t,additionalHeaders:l}}}var ie,N,cs,ce,ye="boolean",ys="byte",is="short",ws="integer",Ss="long",as="binary",fs="string",bs="timestamp",us="uuid",gs,we=4,G,C=4,Ms,P,k,v,d,x=class{eventStreamCodec;utfEncoder;constructor({utf8Encoder:s,utf8Decoder:c}){this.eventStreamCodec=new E(s,c),this.utfEncoder=s}deserialize(s,c){let a=Se(s);return new v({messageStream:new P({inputStream:a,decoder:this.eventStreamCodec}),deserializer:o(c,this.utfEncoder)})}serialize(s,c){return new k({messageStream:new d({inputStream:s,serializer:c}),encoder:this.eventStreamCodec,includeEndFrame:!0})}},$s=(n)=>new x(n),Is=(n)=>new p(n),zs=(n)=>({[Symbol.asyncIterator]:async function*(){let s=n.getReader();try{while(!0){let{done:c,value:a}=await s.read();if(c)return;yield a}}finally{s.releaseLock()}}}),Ns=(n)=>{let s=n[Symbol.asyncIterator]();return new ReadableStream({async pull(c){let{done:a,value:w}=await s.next();if(a)return c.close();c.enqueue(w)}})},Gs=(n)=>Object.assign(n,{eventStreamMarshaller:n.eventStreamSerdeProvider(n)}),rs,Cs,Ts,Ls,Ws,Qs,Xs,Zs,Hs,qs,Ks,Fs,Vs,Js,ms,As,Rs,Ys;var Ds=hs(()=>{ie=Y(),N=ls(),cs=Xn("node:stream");(function(n){n[n.boolTrue=0]="boolTrue",n[n.boolFalse=1]="boolFalse",n[n.byte=2]="byte",n[n.short=3]="short",n[n.integer=4]="integer",n[n.long=5]="long",n[n.byteArray=6]="byteArray",n[n.string=7]="string",n[n.timestamp=8]="timestamp",n[n.uuid=9]="uuid"})(ce||(ce={}));gs=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,G=we*2,Ms=G+C*2;P=class P{options;constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.inputStream)yield this.options.decoder.decode(n)}};k=class k{options;constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.messageStream)yield this.options.encoder.encode(n);if(this.options.includeEndFrame)yield new Uint8Array(0)}};v=class v{options;constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.messageStream){let s=await this.options.deserializer(n);if(s===void 0)continue;yield s}}};d=class d{options;constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.inputStream)yield this.options.serializer(n)}};rs=E,Cs=p,Ts=ae,Ls=j,Ws=W,Qs=P,Xs=k,Zs=v,Hs=d,qs=x,Ks=Is,Fs=Se,Vs=o,Js=Bs,ms=Ns,As=zs,Rs=Gs,Ys=$s});Ds();export{Ys as universalEventStreamSerdeProvider,Rs as resolveEventStreamSerdeConfig,As as readableStreamToIterable,ms as iterableToReadableStream,Js as getUnmarshalledStream,Vs as getMessageUnmarshaller,Fs as getChunkedStream,Ks as eventStreamSerdeProvider,qs as UniversalEventStreamMarshaller,Hs as SmithyMessageEncoderStream,Zs as SmithyMessageDecoderStream,Xs as MessageEncoderStream,Qs as MessageDecoderStream,Ws as Int64,Ls as HeaderMarshaller,Ts as EventStreamSerde,Cs as EventStreamMarshaller,rs as EventStreamCodec};export default {get universalEventStreamSerdeProvider(){return Ys},get resolveEventStreamSerdeConfig(){return Rs},get readableStreamToIterable(){return As},get iterableToReadableStream(){return ms},get getUnmarshalledStream(){return Js},get getMessageUnmarshaller(){return Vs},get getChunkedStream(){return Fs},get eventStreamSerdeProvider(){return Ks},get UniversalEventStreamMarshaller(){return qs},get SmithyMessageEncoderStream(){return Hs},get SmithyMessageDecoderStream(){return Zs},get MessageEncoderStream(){return Xs},get MessageDecoderStream(){return Qs},get Int64(){return Ws},get HeaderMarshaller(){return Ls},get EventStreamSerde(){return Ts},get EventStreamMarshaller(){return Cs},get EventStreamCodec(){return rs}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A7 as Sr,B7 as Or,D7 as Ir,E7 as br,F7 as qr,G7 as Dr,H7 as Rr,I7 as tr,J7 as rr,K7 as sr,L7 as Ar,M7 as Br,m7 as G,n7 as fr,o7 as Hr,p7 as Lr,q7 as oe,r7 as er,s7 as Ut,t7 as Vr,u7 as et,v7 as zr,w7 as hr,x7 as tt,y7 as D,z7 as St}from"./cli-1.1.36-pxy9g55g.mjs";import{N7 as Qe}from"./cli-1.1.36-b77v7k9g.mjs";import{Q7 as Er,R7 as Pr}from"./cli-1.1.36-ef3vjg8b.mjs";import{Fpa as vr}from"./cli-1.1.36-as3jtdj6.mjs";import{Hpa as we}from"./cli-1.1.36-gfn4xejp.mjs";import{Ppa as a}from"./cli-1.1.36-c4pkjm54.mjs";var $=a((_)=>{Object.defineProperty(_,"__esModule",{value:!0});_.resolveHttpAuthSchemeConfig=_.defaultSigninHttpAuthSchemeProvider=_.defaultSigninHttpAuthSchemeParametersProvider=void 0;var Ot=G(),g=St(),It=async(e,t,r)=>{return{operation:(0,g.getSmithyContext)(t).operation,region:await(0,g.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};_.defaultSigninHttpAuthSchemeParametersProvider=It;function bt(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"signin",region:e.region},propertiesExtractor:(t,r)=>({signingProperties:{config:t,context:r}})}}function qt(e){return{schemeId:"smithy.api#noAuth"}}var Dt=(e)=>{let t=[];switch(e.operation){case"CreateOAuth2Token":{t.push(qt(e));break}default:t.push(bt(e))}return t};_.defaultSigninHttpAuthSchemeProvider=Dt;var Rt=(e)=>{let t=(0,Ot.resolveAwsSdkSigV4Config)(e);return Object.assign(t,{authSchemePreference:(0,g.normalizeProvider)(e.authSchemePreference??[])})};_.resolveHttpAuthSchemeConfig=Rt});var ae=a((ie)=>{Object.defineProperty(ie,"__esModule",{value:!0});ie.bdd=void 0;var Nt=oe(),P="ref",c=-1,b=!0,ee="isSet",ne="PartitionResult",q="booleanEquals",L="getAttr",f="stringEquals",te={[P]:"Endpoint"},V={[P]:ne},H={fn:L,argv:[V,"name"]},l={},re=[{[P]:"Region"}],se={conditions:[[ee,[te]],[ee,re],["aws.partition",re,ne],[q,[{[P]:"UseFIPS"},b]],[q,[{[P]:"UseDualStack"},b]],[q,[{fn:L,argv:[V,"supportsDualStack"]},b]],[q,[{fn:L,argv:[V,"supportsFIPS"]},b]],[f,[H,"aws"]],[f,[H,"aws-cn"]],[f,[H,"aws-us-gov"]]],results:[[c],[c,"Invalid Configuration: FIPS and custom endpoint are not supported"],[c,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[te,l],["https://{Region}.signin.aws.amazon.com",l],["https://{Region}.signin.amazonaws.cn",l],["https://{Region}.signin.amazonaws-us-gov.com",l],["https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",l],[c,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://signin-fips.{Region}.{PartitionResult#dnsSuffix}",l],[c,"FIPS is enabled but this partition does not support FIPS"],["https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}",l],[c,"DualStack is enabled but this partition does not support DualStack"],["https://signin.{Region}.{PartitionResult#dnsSuffix}",l],[c,"Invalid Configuration: Missing Region"]]},Mt=2,s=1e8,wt=new Int32Array([-1,1,-1,0,15,3,1,4,s+14,2,5,s+14,3,11,6,4,10,7,7,s+4,8,8,s+5,9,9,s+6,s+13,5,s+11,s+12,4,13,12,6,s+9,s+10,5,14,s+8,6,s+7,s+8,3,s+1,16,4,s+2,s+3]);ie.bdd=Nt.BinaryDecisionDiagram.from(wt,Mt,se.conditions,se.results)});var pe=a((ue)=>{Object.defineProperty(ue,"__esModule",{value:!0});ue.defaultEndpointResolver=void 0;var xt=Ut(),z=oe(),gt=ae(),Gt=new z.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),$t=(e,t={})=>{return Gt.get(e,()=>(0,z.decideEndpoint)(gt.bdd,{endpointParams:e,logger:t.logger}))};ue.defaultEndpointResolver=$t;z.customEndpointFunctions.aws=xt.awsEndpointFunctions});var R=a((A)=>{Object.defineProperty(A,"__esModule",{value:!0});A.SigninServiceException=A.__ServiceException=void 0;var ce=D();Object.defineProperty(A,"__ServiceException",{enumerable:!0,get:function(){return ce.ServiceException}});class h extends ce.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,h.prototype)}}A.SigninServiceException=h});var J=a((Ee)=>{Object.defineProperty(Ee,"__esModule",{value:!0});Ee.ValidationException=Ee.TooManyRequestsError=Ee.InternalServerException=Ee.AccessDeniedException=void 0;var y=R();class B extends y.SigninServiceException{name="AccessDeniedException";$fault="client";error;constructor(e){super({name:"AccessDeniedException",$fault:"client",...e});Object.setPrototypeOf(this,B.prototype),this.error=e.error}}Ee.AccessDeniedException=B;class W extends y.SigninServiceException{name="InternalServerException";$fault="server";error;constructor(e){super({name:"InternalServerException",$fault:"server",...e});Object.setPrototypeOf(this,W.prototype),this.error=e.error}}Ee.InternalServerException=W;class Y extends y.SigninServiceException{name="TooManyRequestsError";$fault="client";error;constructor(e){super({name:"TooManyRequestsError",$fault:"client",...e});Object.setPrototypeOf(this,Y.prototype),this.error=e.error}}Ee.TooManyRequestsError=Y;class j extends y.SigninServiceException{name="ValidationException";$fault="client";error;constructor(e){super({name:"ValidationException",$fault:"client",...e});Object.setPrototypeOf(this,j.prototype),this.error=e.error}}Ee.ValidationException=j});var Z=a(($e)=>{Object.defineProperty($e,"__esModule",{value:!0});$e.CreateOAuth2Token$=$e.CreateOAuth2TokenResponseBody$=$e.CreateOAuth2TokenResponse$=$e.CreateOAuth2TokenRequestBody$=$e.CreateOAuth2TokenRequest$=$e.AccessToken$=$e.errorTypeRegistries=$e.ValidationException$=$e.TooManyRequestsError$=$e.InternalServerException$=$e.AccessDeniedException$=$e.SigninServiceException$=void 0;var Vt="AccessDeniedException",zt="AccessToken",ht="CreateOAuth2Token",At="CreateOAuth2TokenRequest",Bt="CreateOAuth2TokenRequestBody",Wt="CreateOAuth2TokenResponseBody",Yt="CreateOAuth2TokenResponse",jt="InternalServerException",Jt="RefreshToken",Xt="TooManyRequestsError",Qt="ValidationException",Se="accessKeyId",Oe="accessToken",X="client",Ie="clientId",be="codeVerifier",Zt="code",p="error",qe="expiresIn",De="grantType",Kt="http",Q="httpError",Re="idToken",n="jsonName",N="message",F="refreshToken",ye="redirectUri",Ue="smithy.ts.sdk.synthetic.com.amazonaws.signin",Fe="secretAccessKey",Ne="sessionToken",Tt="server",mt="tokenInput",kt="tokenOutput",Me="tokenType",i="com.amazonaws.signin",xe=we(),M=J(),_t=R(),ge=xe.TypeRegistry.for(Ue);$e.SigninServiceException$=[-3,Ue,"SigninServiceException",0,[],[]];ge.registerError($e.SigninServiceException$,_t.SigninServiceException);var S=xe.TypeRegistry.for(i);$e.AccessDeniedException$=[-3,i,Vt,{[p]:X},[p,N],[0,0],2];S.registerError($e.AccessDeniedException$,M.AccessDeniedException);$e.InternalServerException$=[-3,i,jt,{[p]:Tt,[Q]:500},[p,N],[0,0],2];S.registerError($e.InternalServerException$,M.InternalServerException);$e.TooManyRequestsError$=[-3,i,Xt,{[p]:X,[Q]:429},[p,N],[0,0],2];S.registerError($e.TooManyRequestsError$,M.TooManyRequestsError);$e.ValidationException$=[-3,i,Qt,{[p]:X,[Q]:400},[p,N],[0,0],2];S.registerError($e.ValidationException$,M.ValidationException);$e.errorTypeRegistries=[ge,S];var Ge=[0,i,Jt,8,0];$e.AccessToken$=[3,i,zt,8,[Se,Fe,Ne],[[0,{[n]:Se}],[0,{[n]:Fe}],[0,{[n]:Ne}]],3];$e.CreateOAuth2TokenRequest$=[3,i,At,0,[mt],[[()=>$e.CreateOAuth2TokenRequestBody$,16]],1];$e.CreateOAuth2TokenRequestBody$=[3,i,Bt,0,[Ie,De,Zt,ye,be,F],[[0,{[n]:Ie}],[0,{[n]:De}],0,[0,{[n]:ye}],[0,{[n]:be}],[()=>Ge,{[n]:F}]],2];$e.CreateOAuth2TokenResponse$=[3,i,Yt,0,[kt],[[()=>$e.CreateOAuth2TokenResponseBody$,16]],1];$e.CreateOAuth2TokenResponseBody$=[3,i,Wt,0,[Oe,Me,qe,F,Re],[[()=>$e.AccessToken$,{[n]:Oe}],[0,{[n]:Me}],[1,{[n]:qe}],[()=>Ge,{[n]:F}],[0,{[n]:Re}]],4];$e.CreateOAuth2Token$=[9,i,ht,{[Kt]:["POST","/v1/token",200]},()=>$e.CreateOAuth2TokenRequest$,()=>$e.CreateOAuth2TokenResponse$]});var Te=a((Ze)=>{Object.defineProperty(Ze,"__esModule",{value:!0});Ze.getRuntimeConfig=void 0;var or=G(),nr=rr(),ir=Qe(),dr=D(),ar=er(),Je=sr(),Xe=tr(),ur=$(),lr=pe(),pr=Z(),cr=(e)=>{return{apiVersion:"2023-01-01",base64Decoder:e?.base64Decoder??Je.fromBase64,base64Encoder:e?.base64Encoder??Je.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??lr.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??ur.defaultSigninHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4"),signer:new or.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(t)=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new ir.NoAuthSigner}],logger:e?.logger??new dr.NoOpLogger,protocol:e?.protocol??nr.AwsRestJsonProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.signin",errorTypeRegistries:pr.errorTypeRegistries,version:"2023-01-01",serviceTarget:"Signin"},serviceId:e?.serviceId??"Signin",urlParser:e?.urlParser??ar.parseUrl,utf8Decoder:e?.utf8Decoder??Xe.fromUtf8,utf8Encoder:e?.utf8Encoder??Xe.toUtf8}};Ze.getRuntimeConfig=cr});var ot=a((rt)=>{Object.defineProperty(rt,"__esModule",{value:!0});rt.getRuntimeConfig=void 0;var yr=Sr(),Fr=yr.__importDefault(Or()),Nr=Pr(),Mr=G(),me=Ir(),w=et(),wr=br(),ke=tt(),v=qr(),_e=vr(),Ce=D(),Ur=Dr(),xr=Rr(),gr=Er(),Gr=Te(),$r=(e)=>{(0,Ce.emitWarningIfUnsupportedVersion)(process.version);let t=(0,xr.resolveDefaultsModeConfig)(e),r=()=>t().then(Ce.loadConfigsForDefaultMode),d=(0,Gr.getRuntimeConfig)(e);(0,Nr.emitWarningIfUnsupportedVersion)(process.version);let o={profile:e?.profile,logger:d.logger};return{...d,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??(0,v.loadConfig)(Mr.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,o),bodyLengthChecker:e?.bodyLengthChecker??Ur.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,me.createDefaultUserAgentProvider)({serviceId:d.serviceId,clientVersion:Fr.default.version}),maxAttempts:e?.maxAttempts??(0,v.loadConfig)(ke.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,v.loadConfig)(w.NODE_REGION_CONFIG_OPTIONS,{...w.NODE_REGION_CONFIG_FILE_OPTIONS,...o}),requestHandler:_e.NodeHttpHandler.create(e?.requestHandler??r),retryMode:e?.retryMode??(0,v.loadConfig)({...ke.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await r()).retryMode||gr.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??wr.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??_e.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,v.loadConfig)(w.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,o),useFipsEndpoint:e?.useFipsEndpoint??(0,v.loadConfig)(w.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,o),userAgentAppId:e?.userAgentAppId??(0,v.loadConfig)(me.NODE_APP_ID_CONFIG_OPTIONS,o)}};rt.getRuntimeConfig=$r});var as=a((u)=>{var nt=fr(),Wr=Hr(),Yr=Lr(),it=Vr(),jr=et(),K=Qe(),Jr=we(),Xr=zr(),pt=hr(),dt=tt(),E=D(),at=$(),Qr=ot(),ut=Ar(),lt=Br(),O=Z(),U=J(),Zr=R(),Kr=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"signin"})},Tr={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},mr=(e)=>{let{httpAuthSchemes:t,httpAuthSchemeProvider:r,credentials:d}=e;return{setHttpAuthScheme(o){let I=t.findIndex((x)=>x.schemeId===o.schemeId);if(I===-1)t.push(o);else t.splice(I,1,o)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(o){r=o},httpAuthSchemeProvider(){return r},setCredentials(o){d=o},credentials(){return d}}},kr=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}},_r=(e,t)=>{let r=Object.assign(ut.getAwsRegionExtensionConfiguration(e),E.getDefaultExtensionConfiguration(e),lt.getHttpHandlerExtensionConfiguration(e),mr(e));return t.forEach((d)=>d.configure(r)),Object.assign(e,ut.resolveAwsRegionExtensionConfiguration(r),E.resolveDefaultRuntimeConfig(r),lt.resolveHttpHandlerRuntimeConfig(r),kr(r))};class T extends E.Client{config;constructor(...[e]){let t=Qr.getRuntimeConfig(e||{});super(t);this.initConfig=t;let r=Kr(t),d=it.resolveUserAgentConfig(r),o=dt.resolveRetryConfig(d),I=jr.resolveRegionConfig(o),x=nt.resolveHostHeaderConfig(I),ct=pt.resolveEndpointConfig(x),vt=at.resolveHttpAuthSchemeConfig(ct),Et=_r(vt,e?.extensions||[]);this.config=Et,this.middlewareStack.use(Jr.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(it.getUserAgentPlugin(this.config)),this.middlewareStack.use(dt.getRetryPlugin(this.config)),this.middlewareStack.use(Xr.getContentLengthPlugin(this.config)),this.middlewareStack.use(nt.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Wr.getLoggerPlugin(this.config)),this.middlewareStack.use(Yr.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(K.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:at.defaultSigninHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(Pt)=>new K.DefaultIdentityProviderConfig({"aws.auth#sigv4":Pt.credentials})})),this.middlewareStack.use(K.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class m extends E.Command.classBuilder().ep(Tr).m(function(e,t,r,d){return[pt.getEndpointPlugin(r,e.getEndpointParameterInstructions())]}).s("Signin","CreateOAuth2Token",{}).n("SigninClient","CreateOAuth2TokenCommand").sc(O.CreateOAuth2Token$).build(){}var Cr={CreateOAuth2TokenCommand:m};class k extends T{}E.createAggregatedClient(Cr,k);var es={AUTHCODE_EXPIRED:"AUTHCODE_EXPIRED",INSUFFICIENT_PERMISSIONS:"INSUFFICIENT_PERMISSIONS",INVALID_REQUEST:"INVALID_REQUEST",SERVER_ERROR:"server_error",TOKEN_EXPIRED:"TOKEN_EXPIRED",USER_CREDENTIALS_CHANGED:"USER_CREDENTIALS_CHANGED"};u.$Command=E.Command;u.__Client=E.Client;u.SigninServiceException=Zr.SigninServiceException;u.CreateOAuth2TokenCommand=m;u.OAuth2ErrorCode=es;u.Signin=k;u.SigninClient=T;Object.prototype.hasOwnProperty.call(O,"__proto__")&&!Object.prototype.hasOwnProperty.call(u,"__proto__")&&Object.defineProperty(u,"__proto__",{enumerable:!0,value:O.__proto__});Object.keys(O).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(u,e))u[e]=O[e]});Object.prototype.hasOwnProperty.call(U,"__proto__")&&!Object.prototype.hasOwnProperty.call(u,"__proto__")&&Object.defineProperty(u,"__proto__",{enumerable:!0,value:U.__proto__});Object.keys(U).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(u,e))u[e]=U[e]})});export default as();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{k7 as a}from"./cli-1.1.36-789jh18m.mjs";import"./cli-1.1.36-ef3vjg8b.mjs";import"./cli-1.1.36-gfn4xejp.mjs";import"./cli-1.1.36-c4pkjm54.mjs";export default a();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F5 as a}from"./cli-1.1.36-b0rge62y.mjs";import"./cli-1.1.36-c4pkjm54.mjs";export default a();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O7 as P}from"./cli-1.1.36-xf45p3qr.mjs";import{R7 as p,S7 as w}from"./cli-1.1.36-ef3vjg8b.mjs";import"./cli-1.1.36-gfn4xejp.mjs";import{Rpa as u,Spa as a}from"./cli-1.1.36-c4pkjm54.mjs";var d,t,f,E,_,v=(r,e,s)=>{if(e.Version!==1)throw Error(`Profile ${r} credential_process did not return Version 1.`);if(e.AccessKeyId===void 0||e.SecretAccessKey===void 0)throw Error(`Profile ${r} credential_process returned invalid credentials.`);if(e.Expiration){let i=new Date;if(new Date(e.Expiration)<i)throw Error(`Profile ${r} credential_process returned expired credentials.`)}let o=e.AccountId;if(!o&&s?.[r]?.aws_account_id)o=s[r].aws_account_id;let n={accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretAccessKey,...e.SessionToken&&{sessionToken:e.SessionToken},...e.Expiration&&{expiration:new Date(e.Expiration)},...e.CredentialScope&&{credentialScope:e.CredentialScope},...o&&{accountId:o}};return _.setCredentialFeature(n,"CREDENTIALS_PROCESS","w"),n},x=async(r,e,s)=>{let o=e[r];if(e[r]){let n=o.credential_process;if(n!==void 0){let i=E.promisify(d.externalDataInterceptor?.getTokenRecord?.().exec??f.exec);try{let{stdout:c}=await i(n),l;try{l=JSON.parse(c.trim())}catch{throw Error(`Profile ${r} credential_process returned invalid JSON.`)}return v(r,l,e)}catch(c){throw new t.CredentialsProviderError(c.message,{logger:s})}}else throw new t.CredentialsProviderError(`Profile ${r} did not contain credential_process.`,{logger:s})}else throw new t.CredentialsProviderError(`Profile ${r} could not be found in shared credentials file.`,{logger:s})},h=(r={})=>async({callerClientConfig:e}={})=>{r.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");let s=await d.parseKnownFiles(r);return x(d.getProfileName({profile:r.profile??e?.profile}),s,r.logger)},y;var S=u(()=>{d=P(),t=w(),f=a("node:child_process"),E=a("node:util"),_=p();y=h});S();export{y as fromProcess};export default {get fromProcess(){return y}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Fpa as a}from"./cli-1.1.36-as3jtdj6.mjs";import"./cli-1.1.36-gfn4xejp.mjs";import"./cli-1.1.36-c4pkjm54.mjs";export default a();
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Jpa as u,Mpa as k}from"./cli-1.1.36-gfn4xejp.mjs";import{Rpa as f,Spa as y}from"./cli-1.1.36-c4pkjm54.mjs";function j(z){return new Promise((G,U)=>{let K=g.request({method:"GET",...z,hostname:z.hostname?.replace(/^\[(.+)\]$/,"$1")});K.on("error",(Q)=>{U(Object.assign(new X.ProviderError("Unable to connect to instance metadata service"),Q)),K.destroy()}),K.on("timeout",()=>{U(new X.ProviderError("TimeoutError from instance metadata service")),K.destroy()}),K.on("response",(Q)=>{let{statusCode:Z=400}=Q;if(Z<200||300<=Z)U(Object.assign(new X.ProviderError("Error response received from instance metadata service"),{statusCode:Z})),K.destroy();let w=[];Q.on("data",($)=>{w.push($)}),Q.on("end",()=>{G(Buffer.concat(w)),K.destroy()})}),K.end()})}var m,X,g,c,C=(z)=>Boolean(z)&&typeof z==="object"&&typeof z.AccessKeyId==="string"&&typeof z.SecretAccessKey==="string"&&typeof z.Token==="string"&&typeof z.Expiration==="string",T=(z)=>({accessKeyId:z.AccessKeyId,secretAccessKey:z.SecretAccessKey,sessionToken:z.Token,expiration:new Date(z.Expiration),...z.AccountId&&{accountId:z.AccountId}}),b=1000,F=0,M=({maxRetries:z=F,timeout:G=b})=>({maxRetries:z,timeout:G}),N=(z,G)=>{let U=z();for(let K=0;K<G;K++)U=U.catch(z);return U},L="AWS_CONTAINER_CREDENTIALS_FULL_URI",_="AWS_CONTAINER_CREDENTIALS_RELATIVE_URI",P="AWS_CONTAINER_AUTHORIZATION_TOKEN",p=(z={})=>{let{timeout:G,maxRetries:U}=M(z);return()=>N(async()=>{let K=await n({logger:z.logger}),Q=JSON.parse(await d(G,K));if(!C(Q))throw new X.CredentialsProviderError("Invalid response received from instance metadata service.",{logger:z.logger});return T(Q)},U)},d=async(z,G)=>{if(process.env[P])G.headers={...G.headers,Authorization:process.env[P]};return(await j({...G,timeout:z})).toString()},l="169.254.170.2",a,s,n=async({logger:z})=>{if(process.env[_])return{hostname:l,path:process.env[_]};if(process.env[L]){let G=m.parse(process.env[L]);if(!G.hostname||!(G.hostname in a))throw new X.CredentialsProviderError(`${G.hostname} is not a valid container metadata service hostname`,{tryNextLink:!1,logger:z});if(!G.protocol||!(G.protocol in s))throw new X.CredentialsProviderError(`${G.protocol} is not a valid container metadata service protocol`,{tryNextLink:!1,logger:z});return{...G,port:G.port?parseInt(G.port,10):void 0}}throw new X.CredentialsProviderError(`The container metadata credential provider cannot be used unless the ${_} or ${L} environment variable is set`,{tryNextLink:!1,logger:z})},V,S=void 0,o="AWS_EC2_METADATA_SERVICE_ENDPOINT",t="ec2_metadata_service_endpoint",i,A,r="AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE",e="ec2_metadata_service_endpoint_mode",zz,v=async()=>c.parseUrl(await Gz()||await Kz()),Gz=async()=>X.loadConfig(i)(),Kz=async()=>{let z=await X.loadConfig(zz)();switch(z){case A.IPv4:return S.IPv4;case A.IPv6:return S.IPv6;default:throw Error(`Unsupported endpoint mode: ${z}. Select from ${Object.values(A)}`)}},Qz=300,Uz=300,Xz="https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html",h=(z,G)=>{let U=Qz+Math.floor(Math.random()*Uz),K=new Date(Date.now()+U*1000);G.warn(`Attempting credential expiration extension due to a credential service availability issue. A refresh of these credentials will be attempted after ${new Date(K)}.
|
|
2
|
-
For more information, please visit: `+Xz);let Q=z.originalExpiration??z.expiration;return{...z,...Q?{originalExpiration:Q}:{},expiration:K}},Zz=(z,G={})=>{let U=G?.logger||console,K;return async()=>{let Q;try{if(Q=await z(),Q.expiration&&Q.expiration.getTime()<Date.now())Q=h(Q,U)}catch(Z){if(K)U.warn("Credential renew failed: ",Z),Q=h(K,U);else throw Z}return K=Q,Q}},x="/latest/meta-data/iam/security-credentials/",$z="/latest/api/token",B="AWS_EC2_METADATA_V1_DISABLED",q="ec2_metadata_v1_disabled",I="x-aws-ec2-metadata-token",Hz=(z={})=>Zz(Jz(z),{logger:z.logger}),Jz=(z={})=>{let G=!1,{logger:U,profile:K}=z,{timeout:Q,maxRetries:Z}=M(z),w=async($,D)=>{if(G||D.headers?.[I]==null){let H=!1,J=!1,R=await X.loadConfig({environmentVariableSelector:(Y)=>{let W=Y[B];if(J=!!W&&W!=="false",W===void 0)throw new X.CredentialsProviderError(`${B} not set in env, checking config file next.`,{logger:z.logger});return J},configFileSelector:(Y)=>{let W=Y[q];return H=!!W&&W!=="false",H},default:!1},{profile:K})();if(z.ec2MetadataV1Disabled||R){let Y=[];if(z.ec2MetadataV1Disabled)Y.push("credential provider initialization (runtime option ec2MetadataV1Disabled)");if(H)Y.push(`config file profile (${q})`);if(J)Y.push(`process environment variable (${B})`);throw new V(`AWS EC2 Metadata v1 fallback has been blocked by AWS SDK configuration in the following: [${Y.join(", ")}].`)}}let E=(await N(async()=>{let H;try{H=await wz(D)}catch(J){if(J.statusCode===401)G=!1;throw J}return H},$)).trim();return N(async()=>{let H;try{H=await Dz(E,D,z)}catch(J){if(J.statusCode===401)G=!1;throw J}return H},$)};return async()=>{let $=await v();if(G)return U?.debug("AWS SDK Instance Metadata","using v1 fallback (no token fetch)"),w(Z,{...$,timeout:Q});else{let D;try{D=(await Yz({...$,timeout:Q})).toString()}catch(O){if(O?.statusCode===400)throw Object.assign(O,{message:"EC2 Metadata token request returned error"});else if(O.message==="TimeoutError"||[403,404,405].includes(O.statusCode))G=!0;return U?.debug("AWS SDK Instance Metadata","using v1 fallback (initial)"),w(Z,{...$,timeout:Q})}return w(Z,{...$,headers:{[I]:D},timeout:Q})}}},Yz=async(z)=>j({...z,path:$z,method:"PUT",headers:{"x-aws-ec2-metadata-token-ttl-seconds":"21600"}}),wz=async(z)=>(await j({...z,path:x})).toString(),Dz=async(z,G,U)=>{let K=JSON.parse((await j({...G,path:x+z})).toString());if(!C(K))throw new X.CredentialsProviderError("Invalid response received from instance metadata service.",{logger:U.logger});return T(K)},Wz,Az,Oz,Sz,jz,Lz,_z,Bz,Nz,Pz;var Mz=f(()=>{m=y("node:url"),X=u(),g=y("node:http"),c=k();a={localhost:!0,"127.0.0.1":!0},s={"http:":!0,"https:":!0};V=class V extends X.CredentialsProviderError{tryNextLink;name="InstanceMetadataV1FallbackError";constructor(z,G=!0){super(z,G);this.tryNextLink=G,Object.setPrototypeOf(this,V.prototype)}};(function(z){z.IPv4="http://169.254.169.254",z.IPv6="http://[fd00:ec2::254]"})(S||(S={}));i={environmentVariableSelector:(z)=>z[o],configFileSelector:(z)=>z[t],default:void 0};(function(z){z.IPv4="IPv4",z.IPv6="IPv6"})(A||(A={}));zz={environmentVariableSelector:(z)=>z[r],configFileSelector:(z)=>z[e],default:A.IPv4};Wz=F,Az=b,Oz=P,Sz=L,jz=_,Lz=p,_z=Hz,Bz=v,Nz=j,Pz=M});Mz();export{Pz as providerConfigFromInit,Nz as httpRequest,Bz as getInstanceMetadataEndpoint,_z as fromInstanceMetadata,Lz as fromContainerMetadata,S as Endpoint,jz as ENV_CMDS_RELATIVE_URI,Sz as ENV_CMDS_FULL_URI,Oz as ENV_CMDS_AUTH_TOKEN,Az as DEFAULT_TIMEOUT,Wz as DEFAULT_MAX_RETRIES};export default {get providerConfigFromInit(){return Pz},get httpRequest(){return Nz},get getInstanceMetadataEndpoint(){return Bz},get fromInstanceMetadata(){return _z},get fromContainerMetadata(){return Lz},get Endpoint(){return S},get ENV_CMDS_RELATIVE_URI(){return jz},get ENV_CMDS_FULL_URI(){return Sz},get ENV_CMDS_AUTH_TOKEN(){return Oz},get DEFAULT_TIMEOUT(){return Az},get DEFAULT_MAX_RETRIES(){return Wz}};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{dd as E,fd as Rk}from"./cli-1.1.36-4jwgcerx.mjs";import{Bj as Wk,Hk as d,Jk as S,Kk as Xk,UE as v,VE as p,Vw as m,Ww as Zk,ZE as $k,av as f,bv as Yk,cE as P,dE as c,lE as _k,wj as u,xj as h}from"./cli-1.1.36-v0s0vqmm.mjs";import"./cli-1.1.36-c4k9g1dk.mjs";import"./cli-1.1.36-659qh6fs.mjs";import"./cli-1.1.36-zey2drb2.mjs";import"./cli-1.1.36-6jv1ss2p.mjs";import"./cli-1.1.36-v5nxnkwj.mjs";import"./cli-1.1.36-1dhxpexj.mjs";import"./cli-1.1.36-f6yxszv5.mjs";import"./cli-1.1.36-ahr5fnjy.mjs";import"./cli-1.1.36-3mmakdzj.mjs";import"./cli-1.1.36-rh00pabh.mjs";import"./cli-1.1.36-40x4f5k7.mjs";import"./cli-1.1.36-4ssz80b2.mjs";import"./cli-1.1.36-72sph7cp.mjs";import"./cli-1.1.36-wfgjsqkk.mjs";import"./cli-1.1.36-1yk5zdh0.mjs";import"./cli-1.1.36-zd032ger.mjs";import"./cli-1.1.36-zax3mr51.mjs";import"./cli-1.1.36-7z5n90ex.mjs";import"./cli-1.1.36-p0w1dm9g.mjs";import"./cli-1.1.36-p7w1197h.mjs";import"./cli-1.1.36-3kd43x1y.mjs";import"./cli-1.1.36-7tprmtpr.mjs";import"./cli-1.1.36-z5djkbwy.mjs";import"./cli-1.1.36-apycha28.mjs";import"./cli-1.1.36-p375v620.mjs";import{E1 as g,U1 as b,W1 as Qk,z1 as z}from"./cli-1.1.36-s8jcsdgb.mjs";import{B5 as Nk,n5 as F,o5 as Kk,y5 as y}from"./cli-1.1.36-65fkb20j.mjs";import"./cli-1.1.36-8mc299mk.mjs";import"./cli-1.1.36-b0rge62y.mjs";import"./cli-1.1.36-0qdd3hmz.mjs";import"./cli-1.1.36-mam7e8zn.mjs";import"./cli-1.1.36-5zzwcyt7.mjs";import"./cli-1.1.36-451x9avw.mjs";import"./cli-1.1.36-7xx3rm4x.mjs";import"./cli-1.1.36-0d7qj290.mjs";import"./cli-1.1.36-n9knhbs6.mjs";import"./cli-1.1.36-rqhp2xt1.mjs";import"./cli-1.1.36-xs4p38vb.mjs";import"./cli-1.1.36-tda1q99k.mjs";import{E8 as U,I8 as Jk}from"./cli-1.1.36-hvnr6rta.mjs";import{M9 as O,R_ as D,T9 as K,Uda as x,V9 as Bk,Yca as V,_da as Y,d_ as C,h_ as Hk,jfa as X,mfa as n,oda as i}from"./cli-1.1.36-t6sjxpcb.mjs";import{$fa as H,dga as qk}from"./cli-1.1.36-6q7sfj4e.mjs";import"./cli-1.1.36-m11p0exg.mjs";import"./cli-1.1.36-bxrew2k8.mjs";import"./cli-1.1.36-ss62b517.mjs";import"./cli-1.1.36-jqn2tez7.mjs";import{Aha as s,zha as $}from"./cli-1.1.36-6yqvdwyp.mjs";import{Aia as B,Dha as Z,Dia as M,Fha as t}from"./cli-1.1.36-jpcwwd65.mjs";import"./cli-1.1.36-n5etyd9m.mjs";import{Uia as L,fja as kk}from"./cli-1.1.36-6g1w2zbr.mjs";import{lja as G,tja as r}from"./cli-1.1.36-0qtyffhw.mjs";import{Doa as A,Yma as T}from"./cli-1.1.36-bsfazmtt.mjs";import{apa as w,bpa as e}from"./cli-1.1.36-cm2kys6t.mjs";import"./cli-1.1.36-s9ar9y3g.mjs";import{Spa as W}from"./cli-1.1.36-c4pkjm54.mjs";qk();A();Y();e();A();Yk();Qk();_k();$k();s();n();g();var _=!1;function I(){if(_)return;if(_=!0,z()!=="firstParty")return;let q=X()?.transport;if(q==="bedrock"||q==="vertex"||q==="foundry")return;if(process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||process.env.ANTHROPIC_UNIX_SOCKET||process.env.CLAUDIN_CLIENT_CERT||process.env.CLAUDIN_CLIENT_KEY)return;let k=X(),N=(k?.transport==="anthropic"?k.baseUrl:void 0)||$().BASE_API_URL;fetch(N,{method:"HEAD",signal:AbortSignal.timeout(1e4)}).catch(()=>{})}Y();M();i();function j(){if(process.env.NODE_EXTRA_CA_CERTS)return;let q=o();if(q)process.env.NODE_EXTRA_CA_CERTS=q,B(`CA certs: Applied NODE_EXTRA_CA_CERTS from config to process.env: ${q}`)}function o(){try{let k=O()?.env,Q=V("userSettings")?.env;B(`CA certs: Config fallback - globalEnv keys: ${k?Object.keys(k).join(","):"none"}, settingsEnv keys: ${Q?Object.keys(Q).join(","):"none"}`);let R=Q?.NODE_EXTRA_CA_CERTS||k?.NODE_EXTRA_CA_CERTS;if(R)B(`CA certs: Found NODE_EXTRA_CA_CERTS in config/settings: ${R}`);return R}catch(q){B(`CA certs: Config fallback failed: ${q}`,{level:"error"});return}}t();Y();M();Jk();Bk();Zk();r();kk();Wk();Rk();Kk();Xk();Nk();Hk();var gk=w(async()=>{let q=Date.now();K("info","init_started"),H("init_function_start");try{let k=Date.now();D(),K("info","init_configs_enabled",{duration_ms:Date.now()-k}),H("init_configs_enabled");let N=Date.now();if(E(),j(),K("info","init_safe_env_vars_applied",{duration_ms:Date.now()-N}),H("init_safe_env_vars_applied"),u(),H("init_after_graceful_shutdown"),b(),H("init_after_oauth_populate"),m(),H("init_after_jetbrains_detection"),U(),p())v();if(c())P();H("init_after_remote_settings_check"),x();let Q=Date.now();B("[init] configureGlobalMTLS starting"),F(),K("info","init_mtls_configured",{duration_ms:Date.now()-Q}),B("[init] configureGlobalMTLS complete");let R=Date.now();if(B("[init] configureGlobalAgents starting"),y(),K("info","init_proxy_configured",{duration_ms:Date.now()-R}),B("[init] configureGlobalAgents complete"),H("init_network_configured"),I(),G(process.env.CLAUDE_CODE_REMOTE))try{let{initUpstreamProxy:J,getUpstreamProxyEnv:l}=await import("./upstreamproxy-1.1.36-x1y5p82n.mjs"),{registerUpstreamProxyEnvFn:a}=await import("./subprocessEnv-1.1.36-g1a43154.mjs");a(l),await J()}catch(J){B(`[init] upstreamproxy init failed: ${J instanceof Error?J.message:String(J)}; continuing without proxy`,{level:"warn"})}if(C(),Z(f),Z(async()=>{let{cleanupSessionTeams:J}=await import("./teamHelpers-1.1.36-1pwk4n3y.mjs");await J()}),d()){let J=Date.now();await S(),K("info","init_scratchpad_created",{duration_ms:Date.now()-J})}K("info","init_completed",{duration_ms:Date.now()-q}),H("init_function_end")}catch(k){if(k instanceof L){if(T()){process.stderr.write(`Configuration error in ${k.filePath}: ${k.message}
|
|
2
|
-
`),h(1);return}return import("./InvalidConfigDialog-1.1.36-4qp5v3qb.mjs").then((N)=>N.showInvalidConfigDialog({error:k}))}else throw k}});export{gk as init};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{U as PQ,W as sJ,X as rJ}from"./cli-1.1.36-fj9nx7k4.mjs";import{$ as OQ,Y as WQ,Z as AJ,_ as LQ,aa as _Q,ba as AQ,ca as RQ,da as bJ,ea as yQ,fa as nJ,ga as UQ}from"./cli-1.1.36-adsb7266.mjs";import{ha as IJ,ia as rQ}from"./cli-1.1.36-89dhnv3q.mjs";import{ob as hJ,pb as NQ,qb as BQ,rb as qQ,sb as mJ,tb as SJ}from"./cli-1.1.36-x0qqxv1t.mjs";import"./cli-1.1.36-7v42aqn9.mjs";import"./cli-1.1.36-fd7xaf6g.mjs";import{Be as fZ,ye as oQ}from"./cli-1.1.36-zzpdy0k8.mjs";import{De as gQ,Fe as iQ,Ge as tQ,He as wZ}from"./cli-1.1.36-814rb1qn.mjs";import{Ke as GQ,Le as xQ,Ne as xZ}from"./cli-1.1.36-ggr2pkp7.mjs";import{Qe as lQ,Re as aQ,Se as MZ}from"./cli-1.1.36-9k371kgm.mjs";import{ai as cQ,ci as XJ,di as uQ,ei as UZ}from"./cli-1.1.36-aypab30m.mjs";import{CJ as HQ,FQ as sQ,GJ as GZ,Mj as SQ,PR as TZ,UQ as FZ,eE as IQ,fE as pQ,gm as bQ,hm as yZ,lE as PZ,pj as WJ,qj as oJ,sR as OJ,zQ as nQ}from"./cli-1.1.36-v0s0vqmm.mjs";import"./cli-1.1.36-c4k9g1dk.mjs";import"./cli-1.1.36-659qh6fs.mjs";import"./cli-1.1.36-zey2drb2.mjs";import"./cli-1.1.36-6jv1ss2p.mjs";import{BT as EZ,zT as dQ}from"./cli-1.1.36-v5nxnkwj.mjs";import"./cli-1.1.36-1dhxpexj.mjs";import"./cli-1.1.36-f6yxszv5.mjs";import"./cli-1.1.36-ahr5fnjy.mjs";import"./cli-1.1.36-3mmakdzj.mjs";import"./cli-1.1.36-rh00pabh.mjs";import"./cli-1.1.36-40x4f5k7.mjs";import"./cli-1.1.36-4ssz80b2.mjs";import"./cli-1.1.36-72sph7cp.mjs";import"./cli-1.1.36-wfgjsqkk.mjs";import{UX as XQ,VX as VQ,XX as HZ}from"./cli-1.1.36-1yk5zdh0.mjs";import"./cli-1.1.36-zd032ger.mjs";import"./cli-1.1.36-zax3mr51.mjs";import"./cli-1.1.36-7z5n90ex.mjs";import"./cli-1.1.36-p0w1dm9g.mjs";import"./cli-1.1.36-p7w1197h.mjs";import"./cli-1.1.36-3kd43x1y.mjs";import"./cli-1.1.36-7tprmtpr.mjs";import"./cli-1.1.36-z5djkbwy.mjs";import"./cli-1.1.36-apycha28.mjs";import"./cli-1.1.36-p375v620.mjs";import{P4 as pJ,R4 as hQ,T1 as CQ,T4 as mQ,W1 as AZ,h5 as RZ}from"./cli-1.1.36-s8jcsdgb.mjs";import"./cli-1.1.36-65fkb20j.mjs";import"./cli-1.1.36-8mc299mk.mjs";import"./cli-1.1.36-b0rge62y.mjs";import{G5 as JJ,H5 as QQ}from"./cli-1.1.36-0qdd3hmz.mjs";import"./cli-1.1.36-mam7e8zn.mjs";import"./cli-1.1.36-5zzwcyt7.mjs";import"./cli-1.1.36-451x9avw.mjs";import"./cli-1.1.36-7xx3rm4x.mjs";import"./cli-1.1.36-0d7qj290.mjs";import"./cli-1.1.36-n9knhbs6.mjs";import"./cli-1.1.36-rqhp2xt1.mjs";import"./cli-1.1.36-xs4p38vb.mjs";import"./cli-1.1.36-tda1q99k.mjs";import"./cli-1.1.36-hvnr6rta.mjs";import{D$ as NZ,K9 as FQ,M9 as TQ,T9 as KJ,V9 as VZ,_da as BZ,ofa as DQ,p$ as kQ,qfa as qZ,r$ as vQ}from"./cli-1.1.36-t6sjxpcb.mjs";import"./cli-1.1.36-6q7sfj4e.mjs";import"./cli-1.1.36-m11p0exg.mjs";import"./cli-1.1.36-bxrew2k8.mjs";import"./cli-1.1.36-ss62b517.mjs";import"./cli-1.1.36-jqn2tez7.mjs";import"./cli-1.1.36-6yqvdwyp.mjs";import{Aia as J,Dha as jQ,Dia as qJ,Fha as KZ}from"./cli-1.1.36-jpcwwd65.mjs";import"./cli-1.1.36-n5etyd9m.mjs";import{_ia as f,fja as kJ}from"./cli-1.1.36-6g1w2zbr.mjs";import{lja as KQ,tja as XZ}from"./cli-1.1.36-0qtyffhw.mjs";import{$ja as LJ,Doa as _Z,fka as fQ}from"./cli-1.1.36-bsfazmtt.mjs";import"./cli-1.1.36-cm2kys6t.mjs";import"./cli-1.1.36-s9ar9y3g.mjs";import{Spa as jZ}from"./cli-1.1.36-c4pkjm54.mjs";_Z();AZ();PZ();RZ();BZ();qJ();qZ();kJ();NZ();fZ();FZ();TZ();MZ();yZ();UZ();EZ();wZ();import{hostname as kZ}from"os";import{randomUUID as ZQ}from"crypto";qJ();VZ();KZ();HZ();GZ();qJ();kJ();oJ();function eJ(j){return{write:(Z)=>j.write(Z),writeBatch:(Z)=>j.writeBatch(Z),close:()=>j.close(),isConnectedStatus:()=>j.isConnectedStatus(),getStateLabel:()=>j.getStateLabel(),setOnData:(Z)=>j.setOnData(Z),setOnClose:(Z)=>j.setOnClose(Z),setOnConnect:(Z)=>j.setOnConnect(Z),connect:()=>void j.connect(),getLastSequenceNum:()=>0,get droppedBatchCount(){return j.droppedBatchCount},reportState:()=>{},reportMetadata:()=>{},reportDelivery:()=>{},flush:()=>Promise.resolve()}}async function JQ(j){let{sessionUrl:Z,ingressToken:q,sessionId:L,initialSequenceNum:S,getAuthToken:b}=j,w;if(b)w=()=>{let z=b();if(!z)return{};return{Authorization:`Bearer ${z}`}};else WJ(q);let U=j.epoch??await nJ(Z,q);J(`[bridge:repl] CCR v2: worker sessionId=${L} epoch=${U}${j.epoch!==void 0?" (from /bridge)":" (via registerWorker)"}`);let F=new URL(Z);F.pathname=F.pathname.replace(/\/$/,"")+"/worker/events/stream";let E=new rJ(F,{},L,void 0,S,w),p,N=new sJ(E,new URL(Z),{getAuthHeaders:w,heartbeatIntervalMs:j.heartbeatIntervalMs,heartbeatJitterFraction:j.heartbeatJitterFraction,onEpochMismatch:()=>{J("[bridge:repl] CCR v2: epoch superseded (409) — closing for poll-loop recovery");try{N.close(),E.close(),p?.(4090)}catch(z){J(`[bridge:repl] CCR v2: error during epoch-mismatch cleanup: ${f(z)}`,{level:"error"})}throw Error("epoch superseded")}});E.setOnEvent((z)=>{N.reportDelivery(z.event_id,"received"),N.reportDelivery(z.event_id,"processed")});let n,h=!1,A=!1;return{write(z){return N.writeEvent(z)},async writeBatch(z){for(let T of z){if(A)break;await N.writeEvent(T)}},close(){A=!0,N.close(),E.close()},isConnectedStatus(){return h},getStateLabel(){if(E.isClosedStatus())return"closed";if(E.isConnectedStatus())return h?"connected":"init";return"connecting"},setOnData(z){E.setOnData(z)},setOnClose(z){p=z,E.setOnClose((T)=>{N.close(),z(T??4092)})},setOnConnect(z){n=z},getLastSequenceNum(){return E.getLastSequenceNum()},droppedBatchCount:0,reportState(z){N.reportState(z)},reportMetadata(z){N.reportMetadata(z)},reportDelivery(z,T){N.reportDelivery(z,T)},flush(){return N.flush()},connect(){if(!j.outboundOnly)E.connect();N.initialize(U).then(()=>{h=!0,J(`[bridge:repl] v2 transport ready for writes (epoch=${U}, sse=${E.isConnectedStatus()?"open":"opening"})`),n?.()},(z)=>{J(`[bridge:repl] CCR v2 initialize failed: ${f(z)}`,{level:"error"}),N.close(),E.close(),p?.(4091)})}}}oJ();XZ();xZ();class vJ{_active=!1;_pending=[];get active(){return this._active}get pendingCount(){return this._pending.length}start(){this._active=!0}end(){return this._active=!1,this._pending.splice(0)}enqueue(...j){if(!this._active)return!1;return this._pending.push(...j),!0}drop(){this._active=!1;let j=this._pending.length;return this._pending.length=0,j}deactivate(){this._active=!1}}kJ();QQ();qJ();QQ();var DJ={maxAttempts:5,baseDelayMs:500,jitterFraction:0.25,maxDelayMs:4000};function zZ(j,Z,q=Math.random){let L=Z.baseDelayMs*2**(j-1),S=L*Z.jitterFraction*(2*q()-1);return Math.min(L+S,Z.maxDelayMs)}async function CJ(j,Z){let{label:q,logPrefix:L="[bridge]",signal:S,isRetryable:b}=Z;for(let w=1;w<=Z.maxAttempts;w++){let U=await j();if(U!==null)return U;if(b&&!b())return J(`${L} ${q} failed permanently on attempt ${w}/${Z.maxAttempts}, not retrying`),null;if(S?.aborted)return J(`${L} ${q} aborted after attempt ${w}/${Z.maxAttempts}`),null;if(w<Z.maxAttempts){let F=zZ(w,Z);J(`${L} ${q} failed (attempt ${w}/${Z.maxAttempts}), retrying in ${Math.round(F)}ms`),await JJ(F)}}return null}var WZ=2000,$Q=60000,YQ=900000,LZ=0;function zQ(j){return j?.detail??"Session creation failed"}async function EQ(j){let{dir:Z,machineName:q,branch:L,gitRepoUrl:S,title:b,baseUrl:w,sessionIngressUrl:U,workerType:F,getAccessToken:E,createSession:p,archiveSession:N,getCurrentTitle:n=()=>b,toSDKMessages:h=()=>{throw Error("BridgeCoreParams.toSDKMessages not provided. Pass it if you use writeMessages() or initialMessages — daemon callers that only use writeSdkMessages() never hit this path.")},onAuth401:A,getPollIntervalConfig:z=()=>IJ,initialHistoryCap:T=200,initialMessages:R,previouslyFlushedUUIDs:D,onInboundMessage:i,onPermissionResponse:QJ,onInterrupt:t,onSetModel:_,onSetMaxThinkingTokens:m,onSetPermissionMode:k,onStateChange:M,onUserMessage:c,perpetual:X,initialSSESequenceNum:x=0}=j,V=++LZ,{writeBridgePointer:W,clearBridgePointer:u,readBridgePointer:s}=await import("./bridgePointer-1.1.36-2rgfyyde.mjs"),ZJ=X?await s(Z):null,C=ZJ?.source==="repl"?ZJ:null;J(`[bridge:repl] initBridgeCore #${V} starting (initialMessages=${R?.length??0}${C?` perpetual prior=env:${C.environmentId}`:""})`);let d=LQ({baseUrl:w,getAccessToken:E,runnerVersion:"99.0.0",onDebug:J,onAuth401:A}),VJ={dir:Z,machineName:q,branch:L,gitRepoUrl:S,maxSessions:1,spawnMode:"single-session",verbose:!1,sandbox:!1,bridgeId:ZQ(),workerType:F,environmentId:ZQ(),reuseEnvironmentId:C?.environmentId,apiBaseUrl:w,sessionIngressUrl:U},H,_J;try{let Q=await d.registerBridgeEnvironment(VJ);H=Q.environment_id,_J=Q.environment_secret}catch(Q){if(J(`[bridge:repl] Environment registration failed: ${f(Q)}`),C)await u(Z);return M?.("failed",f(Q)),null}J(`[bridge:repl] Environment registered: ${H}`),KJ("info","bridge_repl_env_registered");async function cJ(Q,Y){if(H!==Q)return J(`[bridge:repl] Env mismatch (requested ${Q}, got ${H}) — cannot reconnect in place`),!1;let B=VQ(Y),O=B===Y?[Y]:[Y,B];for(let G of O)try{return await d.reconnectSession(H,G),J(`[bridge:repl] Reconnected session ${G} in place on env ${H}`),!0}catch(a){J(`[bridge:repl] reconnectSession(${G}) failed: ${f(a)}`)}return J("[bridge:repl] reconnectSession exhausted — falling through to fresh session"),!1}let RJ=C?await cJ(C.environmentId,C.sessionId):!1;if(C&&!RJ)await u(Z);let K;if(RJ&&C){if(K=C.sessionId,J(`[bridge:repl] Perpetual session reused: ${K}`),R&&D)for(let Q of R)D.add(Q.uuid)}else{let Q,Y=await CJ(()=>p({environmentId:H,title:b,gitRepoUrl:S,branch:L,signal:AbortSignal.timeout(15000),onFailure:(B)=>{Q=B}}),{...DJ,label:"createSession",logPrefix:"[bridge:repl]",isRetryable:()=>Q?.retryable!==!1});if(!Y)return J("[bridge:repl] Session creation failed, deregistering environment"),await d.deregisterEnvironment(H).catch(()=>{}),M?.("failed",zQ(Q)),null;K=Y,J(`[bridge:repl] Session created: ${K}`)}await W(Z,{sessionId:K,environmentId:H,source:"repl"}),KJ("info","bridge_repl_session_created");let yJ=new Set;if(R)for(let Q of R)yJ.add(Q.uuid);let r=new SJ(2000);for(let Q of yJ)r.add(Q);let uJ=new SJ(2000),l=new AbortController,$=null,$J=0,I=RJ?x:0,v=null,YJ=null,dJ=UQ(l.signal),HJ=dJ.wake,eQ=dJ.signal,o=new vJ,PJ=!c,UJ=3,e=0,zJ=null;async function lJ(){if(zJ)return zJ;zJ=JZ();try{return await zJ}finally{zJ=null}}async function JZ(){if(e++,$J++,J(`[bridge:repl] Reconnecting after env lost (attempt ${e}/${UJ})`),e>UJ)return J(`[bridge:repl] Environment reconnect limit reached (${UJ}), giving up`),!1;if($){let G=$.getLastSequenceNum();if(G>I)I=G;$.close(),$=null}if(HJ(),o.drop(),v){let G=v;if(await d.stopWork(H,G,!1).catch(()=>{}),v!==G)return J("[bridge:repl] Poll loop recovered during stopWork await — deferring to it"),e=0,!0;v=null,YJ=null}if(l.signal.aborted)return J("[bridge:repl] Reconnect aborted by teardown"),!1;let Q=H;VJ.reuseEnvironmentId=Q;try{let G=await d.registerBridgeEnvironment(VJ);H=G.environment_id,_J=G.environment_secret}catch(G){return VJ.reuseEnvironmentId=void 0,J(`[bridge:repl] Environment re-registration failed: ${f(G)}`),!1}if(VJ.reuseEnvironmentId=void 0,J(`[bridge:repl] Re-registered: requested=${Q} got=${H}`),l.signal.aborted)return J("[bridge:repl] Reconnect aborted after env registration, cleaning up"),await d.deregisterEnvironment(H).catch(()=>{}),!1;if($!==null)return J("[bridge:repl] Poll loop recovered during registerBridgeEnvironment await — deferring to it"),e=0,!0;if(await cJ(Q,K))return e=0,!0;if(await N(K),l.signal.aborted)return J("[bridge:repl] Reconnect aborted after archive, cleaning up"),await d.deregisterEnvironment(H).catch(()=>{}),!1;let Y=n(),B,O=await CJ(()=>p({environmentId:H,title:Y,gitRepoUrl:S,branch:L,signal:AbortSignal.timeout(15000),onFailure:(G)=>{B=G}}),{...DJ,label:"createSession (reconnect)",logPrefix:"[bridge:repl]",signal:l.signal,isRetryable:()=>B?.retryable!==!1});if(!O)return J(`[bridge:repl] Session creation failed during reconnection: ${zQ(B)}`),!1;if(l.signal.aborted)return J("[bridge:repl] Reconnect aborted after session creation, cleaning up"),await N(O),!1;return K=O,HQ(XQ(O)).catch(()=>{}),I=0,uJ.clear(),PJ=!c,J(`[bridge:repl] Re-created session: ${K}`),await W(Z,{sessionId:K,environmentId:H,source:"repl"}),D?.clear(),e=0,!0}function EJ(){return E()}function aJ(){let Q=o.end();if(Q.length===0)return;if(!$){J(`[bridge:repl] Cannot drain ${Q.length} pending message(s): no transport`);return}for(let O of Q)r.add(O.uuid);let B=h(Q).map((O)=>({...O,session_id:K}));J(`[bridge:repl] Drained ${Q.length} pending message(s) after flush`),$.writeBatch(B)}let NJ=null;function MJ(){NJ?.()}function QZ(Q){if(J(`[bridge:repl] Transport permanently closed: code=${Q}`),$){let B=$.getLastSequenceNum();if(B>I)I=B;$=null}HJ();let Y=o.drop();if(Y>0)J(`[bridge:repl] Dropping ${Y} pending message(s) on transport close (code=${Q})`,{level:"warn"});if(Q===1000){M?.("failed","session ended"),l.abort(),MJ();return}M?.("reconnecting",`Remote Control connection lost (code ${Q})`),J(`[bridge:repl] Transport reconnect budget exhausted (code=${Q}), attempting env reconnect`),lJ().then((B)=>{if(B)return;if(l.signal.aborted)return;J("[bridge:repl] reconnectEnvironmentWithSession resolved false — tearing down"),M?.("failed","reconnection failed"),MJ()})}let ZZ={api:d,getCredentials:()=>({environmentId:H,environmentSecret:_J}),signal:l.signal,getPollIntervalConfig:z,onStateChange:M,getWsState:()=>$?.getStateLabel()??"null",isAtCapacity:()=>$!==null,capacitySignal:eQ,onFatalError:MJ,getHeartbeatInfo:()=>{if(!v||!YJ)return null;return{environmentId:H,workId:v,sessionToken:YJ}},onHeartbeatFatal:(Q)=>{if(J(`[bridge:repl] heartbeatWork fatal (status=${Q.status}) — tearing down work item for fast re-dispatch`),$){let Y=$.getLastSequenceNum();if(Y>I)I=Y;$.close(),$=null}if(o.drop(),v)d.stopWork(H,v,!1).catch((Y)=>{J(`[bridge:repl] stopWork after heartbeat fatal: ${f(Y)}`)});v=null,YJ=null,HJ(),M?.("reconnecting","Work item lease expired, fetching fresh token")},async onEnvironmentLost(){if(!await lJ())return null;return{environmentId:H,environmentSecret:_J}},onWorkReceived:(Q,Y,B,O)=>{if($?.isConnectedStatus())J(`[bridge:repl] Work received while transport connected, replacing with fresh token (workId=${B})`);if(J(`[bridge:repl] Work received: workId=${B} workSessionId=${Q} currentSessionId=${K} match=${bJ(Q,K)}`),W(Z,{sessionId:K,environmentId:H,source:"repl"}),!bJ(Q,K)){J(`[bridge:repl] Rejecting foreign session: expected=${K} got=${Q}`);return}v=B,YJ=Y;let G=O||KQ(process.env.CLAUDE_BRIDGE_USE_CCR_V2),a;if(!G){if(a=EJ(),!a){J("[bridge:repl] No OAuth token available for session ingress, skipping work");return}WJ(a)}if($){let y=$;$=null;let P=y.getLastSequenceNum();if(P>I)I=P;y.close()}o.deactivate();let YZ=(y)=>qQ(y,{transport:$,sessionId:K,onInterrupt:t,onSetModel:_,onSetMaxThinkingTokens:m,onSetPermissionMode:k}),TJ=!1,iJ=(y)=>{if($=y,y.setOnConnect(()=>{if($!==y)return;if(J("[bridge:repl] Ingress transport connected"),!G){let P=EJ();if(P)WJ(P)}if(FJ=!1,!TJ&&R&&R.length>0){TJ=!0;let P=T,g=R.filter((BJ)=>hJ(BJ)&&!D?.has(BJ.uuid)),GJ=P>0&&g.length>P?g.slice(-P):g;if(GJ.length<g.length)J(`[bridge:repl] Capped initial flush: ${g.length} -> ${GJ.length} (cap=${P})`);let xJ=h(GJ);if(xJ.length>0){J(`[bridge:repl] Flushing ${xJ.length} initial message(s) via transport`);let BJ=xJ.map((jJ)=>({...jJ,session_id:K})),tJ=y.droppedBatchCount;y.writeBatch(BJ).then(()=>{if(y.droppedBatchCount>tJ){J(`[bridge:repl] Initial flush dropped ${y.droppedBatchCount-tJ} batch(es) — not marking ${xJ.length} UUID(s) as flushed`);return}if(D){for(let jJ of xJ)if(jJ.uuid)D.add(jJ.uuid)}}).catch((jJ)=>J(`[bridge:repl] Initial flush failed: ${jJ}`)).finally(()=>{if($!==y)return;aJ(),M?.("connected")})}else aJ(),M?.("connected")}else if(!o.active)M?.("connected")}),y.setOnData((P)=>{BQ(P,r,uJ,i,QJ,YZ)}),y.setOnClose((P)=>{if($!==y)return;QZ(P)}),!TJ&&R&&R.length>0)o.start();y.connect()};if($J++,G){let y=yQ(w,Q),P=$J;J(`[bridge:repl] CCR v2: sessionUrl=${y} session=${Q} gen=${P}`),JQ({sessionUrl:y,ingressToken:Y,sessionId:Q,initialSequenceNum:I}).then((g)=>{if(l.signal.aborted){g.close();return}if(P!==$J){J(`[bridge:repl] CCR v2: discarding stale handshake gen=${P} current=${$J}`),g.close();return}iJ(g)},(g)=>{if(J(`[bridge:repl] CCR v2: createV2ReplTransport failed: ${f(g)}`,{level:"error"}),P!==$J)return;if(v)d.stopWork(H,v,!1).catch((GJ)=>{J(`[bridge:repl] stopWork after v2 init failure: ${f(GJ)}`)}),v=null,YJ=null;HJ()})}else{let y=RQ(U,Q);J(`[bridge:repl] Ingress URL: ${y}`),J(`[bridge:repl] Creating HybridTransport: session=${Q}`);let P=a??"";iJ(eJ(new PQ(new URL(y),{Authorization:`Bearer ${P}`,"anthropic-version":"2023-06-01"},Q,()=>({Authorization:`Bearer ${EJ()??P}`,"anthropic-version":"2023-06-01"}),{maxConsecutiveFailures:50,onBatchDropped:()=>{M?.("reconnecting","Lost sync with Remote Control — events could not be delivered"),HJ()}})))}}};OZ(ZZ);let wJ=X?setInterval(()=>{if(zJ)return;W(Z,{sessionId:K,environmentId:H,source:"repl"})},3600000):null;wJ?.unref?.();let gJ=z().session_keepalive_interval_v2_ms,fJ=gJ>0?setInterval(()=>{if(!$)return;J("[bridge:repl] keep_alive sent"),$.write({type:"keep_alive"}).catch((Q)=>{J(`[bridge:repl] keep_alive write failed: ${f(Q)}`)})},gJ):null;fJ?.unref?.();let FJ=!1;NJ=async()=>{if(FJ){J(`[bridge:repl] Teardown already in progress, skipping duplicate call env=${H} session=${K}`);return}FJ=!0;let Q=Date.now();if(J(`[bridge:repl] Teardown starting: env=${H} session=${K} workId=${v??"none"} transportState=${$?.getStateLabel()??"null"}`),wJ!==null)clearInterval(wJ);if(fJ!==null)clearInterval(fJ);if(l.abort(),J("[bridge:repl] Teardown: poll loop aborted"),$){let O=$.getLastSequenceNum();if(O>I)I=O}if(X){$=null,o.drop(),await W(Z,{sessionId:K,environmentId:H,source:"repl"}),J(`[bridge:repl] Teardown (perpetual): leaving env=${H} session=${K} alive on server, duration=${Date.now()-Q}ms`);return}let Y=$;if($=null,o.drop(),Y)Y.write(mJ(K));let B=v?d.stopWork(H,v,!0).then(()=>{J("[bridge:repl] Teardown: stopWork completed")}).catch((O)=>{J(`[bridge:repl] Teardown stopWork failed: ${f(O)}`)}):Promise.resolve();await Promise.all([B,N(K)]),Y?.close(),J("[bridge:repl] Teardown: transport closed"),await d.deregisterEnvironment(H).catch((O)=>{J(`[bridge:repl] Teardown deregister failed: ${f(O)}`)}),await u(Z),J(`[bridge:repl] Teardown complete: env=${H} duration=${Date.now()-Q}ms`)};let $Z=jQ(()=>NJ?.());return J(`[bridge:repl] Ready: env=${H} session=${K}`),M?.("ready"),{get bridgeSessionId(){return K},get environmentId(){return H},getSSESequenceNum(){let Q=$?.getLastSequenceNum()??0;return Math.max(I,Q)},sessionIngressUrl:U,writeMessages(Q){let Y=Q.filter((G)=>hJ(G)&&!yJ.has(G.uuid)&&!r.has(G.uuid));if(Y.length===0)return;if(!PJ)for(let G of Y){let a=NQ(G);if(a!==void 0&&c?.(a,K)){PJ=!0;break}}if(o.enqueue(...Y)){J(`[bridge:repl] Queued ${Y.length} message(s) during initial flush`);return}if(!$){let G=Y.map((a)=>a.type).join(",");J(`[bridge:repl] Transport not configured, dropping ${Y.length} message(s) [${G}] for session=${K}`,{level:"warn"});return}for(let G of Y)r.add(G.uuid);J(`[bridge:repl] Sending ${Y.length} message(s) via transport`);let O=h(Y).map((G)=>({...G,session_id:K}));$.writeBatch(O)},writeSdkMessages(Q){let Y=Q.filter((O)=>!O.uuid||!r.has(O.uuid));if(Y.length===0)return;if(!$){J(`[bridge:repl] Transport not configured, dropping ${Y.length} SDK message(s) for session=${K}`,{level:"warn"});return}for(let O of Y)if(O.uuid)r.add(O.uuid);let B=Y.map((O)=>({...O,session_id:K}));$.writeBatch(B)},sendControlRequest(Q){if(!$){J("[bridge:repl] Transport not configured, skipping control_request");return}let Y={...Q,session_id:K};$.write(Y),J(`[bridge:repl] Sent control_request request_id=${Q.request_id}`)},sendControlResponse(Q){if(!$){J("[bridge:repl] Transport not configured, skipping control_response");return}let Y={...Q,session_id:K};$.write(Y),J("[bridge:repl] Sent control_response")},sendControlCancelRequest(Q){if(!$){J("[bridge:repl] Transport not configured, skipping control_cancel_request");return}let Y={type:"control_cancel_request",request_id:Q,session_id:K};$.write(Y),J(`[bridge:repl] Sent control_cancel_request request_id=${Q}`)},sendResult(){if(!$){J(`[bridge:repl] sendResult: skipping, transport not configured session=${K}`);return}$.write(mJ(K)),J(`[bridge:repl] Sent result for session=${K}`)},async teardown(){$Z(),await NJ?.(),J("[bridge:repl] Torn down")}}}async function OZ({api:j,getCredentials:Z,signal:q,onStateChange:L,onWorkReceived:S,onEnvironmentLost:b,getWsState:w,isAtCapacity:U,capacitySignal:F,onFatalError:E,getPollIntervalConfig:p=()=>IJ,getHeartbeatInfo:N,onHeartbeatFatal:n}){J(`[bridge:repl] Starting work poll loop for env=${Z().environmentId}`);let A=0,z=null,T=null,R=0,D=!1;while(!q.aborted){let{environmentId:i,environmentSecret:QJ}=Z(),t=p();try{let _=await j.pollForWork(i,QJ,q,t.reclaim_older_than_ms);if(R=0,A>0)J(`[bridge:repl] Poll recovered after ${A} consecutive error(s)`),A=0,z=null,T=null,L?.("ready");if(!_){let k=D;if(D=!1,U?.()&&F&&!k){let M=t.poll_interval_ms_at_capacity;if(t.non_exclusive_heartbeat_interval_ms>0&&N){let X=M>0?Date.now()+M:null,x=!1,V=0;while(!q.aborted&&U()&&(X===null||Date.now()<X)){let u=p();if(u.non_exclusive_heartbeat_interval_ms<=0)break;let s=N();if(!s)break;let ZJ=F();try{await j.heartbeatWork(s.environmentId,s.workId,s.sessionToken)}catch(C){if(J(`[bridge:repl:heartbeat] Failed: ${f(C)}`),C instanceof AJ){if(ZJ.cleanup(),n)n(C),J(`[bridge:repl:heartbeat] Fatal (status=${C.status}), work state cleared — fast-polling for re-dispatch`);else x=!0;break}}V++,await JJ(u.non_exclusive_heartbeat_interval_ms,ZJ.signal),ZJ.cleanup()}let W=x?"error":q.aborted?"shutdown":!U()?"capacity_changed":X!==null&&Date.now()>=X?"poll_due":"config_disabled";if(!x){if(W==="poll_due")J(`[bridge:repl] Heartbeat poll_due after ${V} cycles — falling through to pollForWork`);continue}}let c=M>0?M:t.non_exclusive_heartbeat_interval_ms;if(c>0){let X=F(),x=Date.now();await JJ(c,X.signal),X.cleanup();let V=Date.now()-x-c;if(V>60000)J(`[bridge:repl] At-capacity sleep overran by ${Math.round(V/1000)}s — process suspension detected, forcing one fast-poll cycle`),D=!0}}else await JJ(t.poll_interval_ms_not_at_capacity,q);continue}let m;try{m=AQ(_.secret)}catch(k){J(`[bridge:repl] Failed to decode work secret: ${f(k)}`),await j.stopWork(i,_.id,!1).catch(()=>{});continue}J(`[bridge:repl] Acknowledging workId=${_.id}`);try{await j.acknowledgeWork(i,_.id,m.session_ingress_token)}catch(k){J(`[bridge:repl] Acknowledge failed workId=${_.id}: ${f(k)}`)}if(_.data.type==="healthcheck"){J("[bridge:repl] Healthcheck received");continue}if(_.data.type==="session"){let k=_.data.id;try{WQ(k,"session_id")}catch{J(`[bridge:repl] Invalid session_id in work: ${k}`);continue}S(k,m.session_ingress_token,_.id,m.use_code_sessions===!0),J("[bridge:repl] Work accepted, continuing poll loop")}}catch(_){if(q.aborted)break;if(_ instanceof AJ&&_.status===404&&b){let V=Z().environmentId;if(i!==V){J(`[bridge:repl] Stale poll error for old env=${i}, current env=${V} — skipping onEnvironmentLost`),A=0,z=null;continue}if(R++,J(`[bridge:repl] Environment deleted, attempting re-registration (attempt ${R}/3)`),R>3){J("[bridge:repl] Environment re-registration limit reached (3), giving up"),L?.("failed","Environment deleted and re-registration limit reached"),E?.();break}L?.("reconnecting","environment lost, recreating session");let W=await b();if(q.aborted)break;if(W){A=0,z=null,L?.("ready"),J(`[bridge:repl] Re-registered environment: ${W.environmentId}`);continue}L?.("failed","Environment deleted and re-registration failed"),E?.();break}if(_ instanceof AJ){let V=OQ(_.errorType),W=_Q(_);if(J(`[bridge:repl] Fatal poll error: ${_.message} (status=${_.status}, type=${_.errorType??"unknown"})${W?" (suppressed)":""}`),KJ(V?"info":"error","bridge_repl_fatal_error",{status:_.status,error_type:_.errorType}),!W)L?.("failed",V?"session expired · /remote-control to reconnect":_.message);E?.();break}let m=Date.now();if(T!==null&&m-T>$Q*2)J(`[bridge:repl] Detected system sleep (${Math.round((m-T)/1000)}s gap), resetting poll error budget`),KJ("info","bridge_repl_poll_sleep_detected",{gapMs:m-T}),A=0,z=null;if(T=m,A++,z===null)z=m;let k=m-z,M=xQ(_),c=GQ(_),X=w?.()??"unknown";if(J(`[bridge:repl] Poll error (attempt ${A}, elapsed ${Math.round(k/1000)}s, ws=${X}): ${c}`),A===1)L?.("reconnecting",c);if(k>=YQ){J(`[bridge:repl] Poll failures exceeded ${YQ/1000}s (${A} errors), giving up`),KJ("info","bridge_repl_poll_give_up"),L?.("failed","connection to server lost");break}let x=Math.min(WZ*2**(A-1),$Q);if(p().non_exclusive_heartbeat_interval_ms>0){let V=N?.();if(V)try{await j.heartbeatWork(V.environmentId,V.workId,V.sessionToken)}catch{}}await JJ(x,q)}}J(`[bridge:repl] Work poll loop ended (aborted=${q.aborted}) env=${Z().environmentId}`)}var vZ=200;async function D0(j){let{onInboundMessage:Z,onPermissionResponse:q,onInterrupt:L,onSetModel:S,onSetMaxThinkingTokens:b,onSetPermissionMode:w,onStateChange:U,initialMessages:F,getMessages:E,previouslyFlushedUUIDs:p,initialName:N,perpetual:n}=j??{};if(!await dQ())return J("[bridge:repl] Skipping: bridge not enabled"),null;if(!XJ())return J("[bridge:repl] Skipping: no OAuth tokens"),U?.("failed","/login"),null;if(await IQ(),!pQ("allow_remote_control"))return J("[bridge:repl] Skipping: allow_remote_control policy not allowed"),U?.("failed","disabled by your organization's policy"),null;if(!cQ()){let X=TQ();if(X.bridgeOauthDeadExpiresAt!=null&&(X.bridgeOauthDeadFailCount??0)>=3&&pJ()?.expiresAt===X.bridgeOauthDeadExpiresAt)return J(`[bridge:repl] Skipping: cross-process backoff (dead token seen ${X.bridgeOauthDeadFailCount} times)`),U?.("failed","sign-in expired — run /login"),null;await mQ();let x=pJ();if(x&&x.expiresAt!==null&&x.expiresAt<=Date.now()){J("[bridge:repl] Skipping: OAuth token expired and refresh failed (re-login required)"),U?.("failed","/login");let V=x.expiresAt;return FQ((W)=>({...W,bridgeOauthDeadExpiresAt:V,bridgeOauthDeadFailCount:W.bridgeOauthDeadExpiresAt===V?(W.bridgeOauthDeadFailCount??0)+1:1})),null}}let h=uQ(),A=`remote-control-${bQ()}`,z=!1,T=!1;if(N)A=N,z=!0,T=!0;else{let X=LJ(),x=X?OJ(X):void 0;if(x)A=x,z=!0,T=!0;else if(F&&F.length>0)for(let V=F.length-1;V>=0;V--){let W=F[V];if(W.type!=="user"||W.isMeta||W.toolUseResult||W.isCompactSummary||W.origin&&W.origin.kind!=="human"||nQ(W))continue;let u=SQ(W.message.content);if(!u)continue;let s=wQ(u);if(!s)continue;A=s,z=!0;break}}let R=0,D,i=0,QJ=(X,x,V)=>{z=!0,A=X,J(`[bridge:repl] derived title from message ${V}: ${X}`),tQ(x,X,{baseUrl:h,getAccessToken:XJ}).catch(()=>{})},t=(X,x)=>{let V=++i,W=R;aQ(X,AbortSignal.timeout(15000)).then((u)=>{if(u&&V===i&&D===x&&!OJ(LJ()))QJ(u,x,W)})},_=(X,x)=>{if(T||OJ(LJ()))return!0;if(D!==void 0&&D!==x)R=0;if(D=x,R++,R===1&&!z){let V=wQ(X);if(V)QJ(V,x,R);t(X,x)}else if(R===3){let V=E?.(),W=V?lQ(sQ(V)):X;t(W,x)}return R>=3};if(!await CQ())return J("[bridge:repl] Skipping: no org UUID"),U?.("failed","/login"),null;let k=await kQ(),M=await vQ(),c=process.env.CLAUDE_BRIDGE_SESSION_INGRESS_URL||h;return EQ({dir:fQ(),machineName:kZ(),branch:k,gitRepoUrl:M,title:A,baseUrl:h,sessionIngressUrl:c,workerType:"claude_code",getAccessToken:XJ,createSession:(X)=>gQ({...X,events:[],baseUrl:h,getAccessToken:XJ}),archiveSession:(X)=>iQ(X,{baseUrl:h,getAccessToken:XJ,timeoutMs:1500}).catch((x)=>{J(`[bridge:repl] archiveBridgeSession threw: ${f(x)}`,{level:"error"})}),getCurrentTitle:()=>OJ(LJ())??A,onUserMessage:_,toSDKMessages:oQ,onAuth401:hQ,getPollIntervalConfig:rQ,initialHistoryCap:vZ,initialMessages:F,previouslyFlushedUUIDs:p,onInboundMessage:Z,onPermissionResponse:q,onInterrupt:L,onSetModel:S,onSetMaxThinkingTokens:b,onSetPermissionMode:w,onStateChange:U,perpetual:n})}var MQ=50;function wQ(j){let Z=DQ(j),L=(/^(.*?[.!?])\s/.exec(Z)?.[1]??Z).replace(/\s+/g," ").trim();if(!L)return;return L.length>MQ?L.slice(0,MQ-1)+"…":L}export{D0 as initReplBridge};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$V as h,AW as l,AX as I,BX as J,CX as K,DX as L,EX as M,FW as m,HW as n,PV as b,PW as o,QV as c,RV as d,SV as e,WW as p,YW as q,ZV as f,_V as g,_W as r,aW as i,cX as s,eX as t,fX as u,gX as v,hX as w,iX as x,jX as y,kW as j,kX as z,mX as A,nX as B,oW as k,sX as C,tX as D,uX as E,vX as F,wX as G,zX as H}from"./cli-1.1.36-4ssz80b2.mjs";import"./cli-1.1.36-72sph7cp.mjs";import{SZ as a}from"./cli-1.1.36-p7w1197h.mjs";import"./cli-1.1.36-3kd43x1y.mjs";import"./cli-1.1.36-7tprmtpr.mjs";import"./cli-1.1.36-z5djkbwy.mjs";import"./cli-1.1.36-apycha28.mjs";import"./cli-1.1.36-8mc299mk.mjs";import"./cli-1.1.36-tda1q99k.mjs";import"./cli-1.1.36-t6sjxpcb.mjs";import"./cli-1.1.36-6q7sfj4e.mjs";import"./cli-1.1.36-m11p0exg.mjs";import"./cli-1.1.36-bxrew2k8.mjs";import"./cli-1.1.36-ss62b517.mjs";import"./cli-1.1.36-jqn2tez7.mjs";import"./cli-1.1.36-6yqvdwyp.mjs";import"./cli-1.1.36-jpcwwd65.mjs";import"./cli-1.1.36-n5etyd9m.mjs";import"./cli-1.1.36-6g1w2zbr.mjs";import"./cli-1.1.36-0qtyffhw.mjs";import"./cli-1.1.36-bsfazmtt.mjs";import"./cli-1.1.36-cm2kys6t.mjs";import"./cli-1.1.36-s9ar9y3g.mjs";import"./cli-1.1.36-c4pkjm54.mjs";M();export{j as wrapText,d as useThemeSetting,c as useTheme,z as useTerminalViewport,H as useTerminalTitle,l as useTerminalFocus,C as useStdin,G as useSelection,e as usePreviewTheme,F as useInterval,D as useInput,B as useApp,E as useAnimationTimer,A as useAnimationFrame,a as supportsTabStatus,K as render,J as measureElement,I as measureAbsoluteRect,L as createRoot,p as color,b as ThemeProvider,r as Text,i as TerminalFocusEvent,y as Spacer,x as RawAnsi,w as NoSelect,v as Newline,s as Link,h as InputEvent,k as FocusManager,g as EventEmitter,f as Event,o as ClickEvent,u as Button,q as Box,n as BaseText,m as BaseBox,t as Ansi};
|