@claudiolabs/claudin 1.1.35 → 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-tb7ktts9.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.35-r3nj6jfs.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.35-8nvhxyw9.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.35-1ywwnh39.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.35-bvk75rww.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.35-1ct3fw8c.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.35-nt22bzb6.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.35-98xrgmtc.mjs +0 -6
- package/dist/chunks/Doctor-1.1.35-k34y3jy9.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.35-nan1wyke.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.35-kt3ng0j6.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.35-k7wnc3v8.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.35-3dp4jb6e.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.35-6pa67bzn.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.35-4sje6bjv.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.35-99y8t1j9.mjs +0 -1
- package/dist/chunks/REPL-1.1.35-0vqh1ns0.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.35-104fszyr.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.35-xcz2dypc.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.35-nfckw5cx.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.35-6528ybrk.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.35-rqncjk99.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.35-0t2d7g7n.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.35-j9d3asbg.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.35-fkjy6sz1.mjs +0 -1
- package/dist/chunks/add-dir-1.1.35-4gh89hh4.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.35-nx5q66t5.mjs +0 -1
- package/dist/chunks/agents-1.1.35-0kyfdt7w.mjs +0 -3
- package/dist/chunks/agents-1.1.35-1vzstv4y.mjs +0 -110
- package/dist/chunks/api-1.1.35-ab0j2x7t.mjs +0 -1
- package/dist/chunks/asciicast-1.1.35-xgjp2wrs.mjs +0 -1
- package/dist/chunks/auth-1.1.35-2fpa9v9f.mjs +0 -1
- package/dist/chunks/auth-1.1.35-deksnwe8.mjs +0 -1
- package/dist/chunks/autoMode-1.1.35-8d2qr79q.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.35-hg5dxv1t.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.35-5pzsrenf.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.35-2kythx4m.mjs +0 -1
- package/dist/chunks/branch-1.1.35-tmksh596.mjs +0 -4
- package/dist/chunks/bridge-1.1.35-0za41yjp.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.35-qtvayvc3.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.35-3mhemdrx.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.35-7awverkv.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.35-5gpfg6h4.mjs +0 -1
- package/dist/chunks/btw-1.1.35-6hy8wabr.mjs +0 -1
- package/dist/chunks/buddy-1.1.35-8z3tb1ne.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.35-adn6dpak.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.35-z3268gay.mjs +0 -4
- package/dist/chunks/caches-1.1.35-1qqfgvsm.mjs +0 -1
- package/dist/chunks/cd-1.1.35-vqy7n0x0.mjs +0 -3
- package/dist/chunks/claudeDesktop-1.1.35-enw3hpss.mjs +0 -1
- package/dist/chunks/claudemd-1.1.35-wsav3shz.mjs +0 -1
- package/dist/chunks/clear-1.1.35-21ry6n0m.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.35-sg808cbp.mjs +0 -1
- package/dist/chunks/cli-1.1.35-02qx9a8j.mjs +0 -2
- package/dist/chunks/cli-1.1.35-0axe3ev5.mjs +0 -2
- package/dist/chunks/cli-1.1.35-0feday40.mjs +0 -20
- package/dist/chunks/cli-1.1.35-0p69hr1j.mjs +0 -2
- package/dist/chunks/cli-1.1.35-0qrw70p1.mjs +0 -2
- package/dist/chunks/cli-1.1.35-0tc3wmtp.mjs +0 -5
- package/dist/chunks/cli-1.1.35-0vpxr2rk.mjs +0 -2
- package/dist/chunks/cli-1.1.35-0zkzg6at.mjs +0 -2
- package/dist/chunks/cli-1.1.35-1618y169.mjs +0 -2
- package/dist/chunks/cli-1.1.35-18wszrez.mjs +0 -15
- package/dist/chunks/cli-1.1.35-1bzyzrvt.mjs +0 -2
- package/dist/chunks/cli-1.1.35-1ceb2tjb.mjs +0 -2
- package/dist/chunks/cli-1.1.35-1gae8a5m.mjs +0 -2
- package/dist/chunks/cli-1.1.35-1x2wb524.mjs +0 -2
- package/dist/chunks/cli-1.1.35-21w0bna1.mjs +0 -2
- package/dist/chunks/cli-1.1.35-22q1jqqq.mjs +0 -2
- package/dist/chunks/cli-1.1.35-2gxxpyvc.mjs +0 -2
- package/dist/chunks/cli-1.1.35-2sm1x5n8.mjs +0 -2
- package/dist/chunks/cli-1.1.35-2x0m7ewe.mjs +0 -9
- package/dist/chunks/cli-1.1.35-34h7nfzz.mjs +0 -11
- package/dist/chunks/cli-1.1.35-389ej7r1.mjs +0 -2
- package/dist/chunks/cli-1.1.35-38s8y5cf.mjs +0 -2
- package/dist/chunks/cli-1.1.35-3keqk8xr.mjs +0 -2
- package/dist/chunks/cli-1.1.35-3zrjqd93.mjs +0 -2
- package/dist/chunks/cli-1.1.35-41srzc8c.mjs +0 -2
- package/dist/chunks/cli-1.1.35-46bm9f8q.mjs +0 -2
- package/dist/chunks/cli-1.1.35-4d0cm3mc.mjs +0 -2
- package/dist/chunks/cli-1.1.35-4d9merys.mjs +0 -2
- package/dist/chunks/cli-1.1.35-4g77zek0.mjs +0 -24
- package/dist/chunks/cli-1.1.35-4kft2wxe.mjs +0 -2
- package/dist/chunks/cli-1.1.35-4njf7z42.mjs +0 -2
- package/dist/chunks/cli-1.1.35-4typvdqe.mjs +0 -2
- package/dist/chunks/cli-1.1.35-589b1qht.mjs +0 -2
- package/dist/chunks/cli-1.1.35-5b39mwe0.mjs +0 -2
- package/dist/chunks/cli-1.1.35-5j12hjjm.mjs +0 -2
- package/dist/chunks/cli-1.1.35-5v115fee.mjs +0 -2
- package/dist/chunks/cli-1.1.35-61gmwbbt.mjs +0 -2
- package/dist/chunks/cli-1.1.35-688xsqg8.mjs +0 -2
- package/dist/chunks/cli-1.1.35-6c4v5dpe.mjs +0 -15
- package/dist/chunks/cli-1.1.35-6nhv8vhv.mjs +0 -2
- package/dist/chunks/cli-1.1.35-6p10e278.mjs +0 -2
- package/dist/chunks/cli-1.1.35-7g4yw92j.mjs +0 -2
- package/dist/chunks/cli-1.1.35-7hfdc6xn.mjs +0 -2
- package/dist/chunks/cli-1.1.35-7mxbj45y.mjs +0 -2
- package/dist/chunks/cli-1.1.35-7mz6cnfb.mjs +0 -6
- package/dist/chunks/cli-1.1.35-7nsr0a6p.mjs +0 -2
- package/dist/chunks/cli-1.1.35-7p1685r1.mjs +0 -2
- package/dist/chunks/cli-1.1.35-7tt5b2wx.mjs +0 -2
- package/dist/chunks/cli-1.1.35-7y74em05.mjs +0 -2
- package/dist/chunks/cli-1.1.35-82ak1wpt.mjs +0 -7
- package/dist/chunks/cli-1.1.35-854kyr9a.mjs +0 -3
- package/dist/chunks/cli-1.1.35-85zb0hfp.mjs +0 -2
- package/dist/chunks/cli-1.1.35-873xb9w7.mjs +0 -2
- package/dist/chunks/cli-1.1.35-8b1qqrev.mjs +0 -135
- package/dist/chunks/cli-1.1.35-8d9f31xx.mjs +0 -2
- package/dist/chunks/cli-1.1.35-8qdvqjz3.mjs +0 -2
- package/dist/chunks/cli-1.1.35-8ttx7y70.mjs +0 -2
- package/dist/chunks/cli-1.1.35-959df5vk.mjs +0 -2
- package/dist/chunks/cli-1.1.35-9817kkw4.mjs +0 -3
- package/dist/chunks/cli-1.1.35-9dkpx812.mjs +0 -2
- package/dist/chunks/cli-1.1.35-9tnc0a3x.mjs +0 -2
- package/dist/chunks/cli-1.1.35-9z4kwrpr.mjs +0 -6
- package/dist/chunks/cli-1.1.35-a7ygtwdr.mjs +0 -5
- package/dist/chunks/cli-1.1.35-a8677mcz.mjs +0 -2
- package/dist/chunks/cli-1.1.35-a9y8qxsj.mjs +0 -6
- package/dist/chunks/cli-1.1.35-an20pj6q.mjs +0 -2
- package/dist/chunks/cli-1.1.35-arj7fm1n.mjs +0 -2
- package/dist/chunks/cli-1.1.35-b0n88pf7.mjs +0 -2
- package/dist/chunks/cli-1.1.35-bbq4frhw.mjs +0 -2
- package/dist/chunks/cli-1.1.35-bhmad6rp.mjs +0 -3
- package/dist/chunks/cli-1.1.35-bka68014.mjs +0 -2
- package/dist/chunks/cli-1.1.35-bq7wadxz.mjs +0 -2
- package/dist/chunks/cli-1.1.35-c05841mj.mjs +0 -2
- package/dist/chunks/cli-1.1.35-c3vqfrj0.mjs +0 -45
- package/dist/chunks/cli-1.1.35-c4thx500.mjs +0 -26
- package/dist/chunks/cli-1.1.35-cj42e7aq.mjs +0 -24
- package/dist/chunks/cli-1.1.35-cjdzbmst.mjs +0 -2
- package/dist/chunks/cli-1.1.35-cjsf2kh3.mjs +0 -2
- package/dist/chunks/cli-1.1.35-cm0anghq.mjs +0 -2
- package/dist/chunks/cli-1.1.35-cp6wwahj.mjs +0 -4
- package/dist/chunks/cli-1.1.35-d6kd2zv5.mjs +0 -2
- package/dist/chunks/cli-1.1.35-d7n85zf2.mjs +0 -2
- package/dist/chunks/cli-1.1.35-da72zgbs.mjs +0 -50
- package/dist/chunks/cli-1.1.35-dfcj4fkz.mjs +0 -2
- package/dist/chunks/cli-1.1.35-dk4f6kgr.mjs +0 -2
- package/dist/chunks/cli-1.1.35-dnacc640.mjs +0 -252
- package/dist/chunks/cli-1.1.35-dw3fv0g8.mjs +0 -60
- package/dist/chunks/cli-1.1.35-dwaz1jv4.mjs +0 -2
- package/dist/chunks/cli-1.1.35-e08b8j98.mjs +0 -18
- package/dist/chunks/cli-1.1.35-eqcgyqke.mjs +0 -39
- package/dist/chunks/cli-1.1.35-ewtk80cp.mjs +0 -3
- package/dist/chunks/cli-1.1.35-f6sa351s.mjs +0 -5
- package/dist/chunks/cli-1.1.35-f8jgxvev.mjs +0 -2
- package/dist/chunks/cli-1.1.35-fgkpe9g9.mjs +0 -2
- package/dist/chunks/cli-1.1.35-fjtf9x1v.mjs +0 -2
- package/dist/chunks/cli-1.1.35-fr8gap0y.mjs +0 -2
- package/dist/chunks/cli-1.1.35-ftvtbdm6.mjs +0 -4
- package/dist/chunks/cli-1.1.35-fwyc7v71.mjs +0 -7
- package/dist/chunks/cli-1.1.35-fz50q22a.mjs +0 -2
- package/dist/chunks/cli-1.1.35-g2vg6fw2.mjs +0 -2
- package/dist/chunks/cli-1.1.35-g7086zkj.mjs +0 -2
- package/dist/chunks/cli-1.1.35-g74y15na.mjs +0 -2
- package/dist/chunks/cli-1.1.35-gcjyc9x3.mjs +0 -2
- package/dist/chunks/cli-1.1.35-gr966v4t.mjs +0 -2
- package/dist/chunks/cli-1.1.35-h06ng57d.mjs +0 -2
- package/dist/chunks/cli-1.1.35-h262sgvd.mjs +0 -4
- package/dist/chunks/cli-1.1.35-h71ph12s.mjs +0 -2
- package/dist/chunks/cli-1.1.35-h7qpm4z8.mjs +0 -3
- package/dist/chunks/cli-1.1.35-hm1wpf1w.mjs +0 -2
- package/dist/chunks/cli-1.1.35-htvjtg4f.mjs +0 -2
- package/dist/chunks/cli-1.1.35-hwphkmp4.mjs +0 -2
- package/dist/chunks/cli-1.1.35-hy9jtbmb.mjs +0 -5570
- package/dist/chunks/cli-1.1.35-hyqzaskn.mjs +0 -2
- package/dist/chunks/cli-1.1.35-j1ypjsz5.mjs +0 -2
- package/dist/chunks/cli-1.1.35-j7xxkgf1.mjs +0 -133
- package/dist/chunks/cli-1.1.35-jajp8grw.mjs +0 -2
- package/dist/chunks/cli-1.1.35-jdqn8gkp.mjs +0 -2
- package/dist/chunks/cli-1.1.35-jfzp91gv.mjs +0 -2
- package/dist/chunks/cli-1.1.35-jn52m495.mjs +0 -2
- package/dist/chunks/cli-1.1.35-jq1wvnwe.mjs +0 -17
- package/dist/chunks/cli-1.1.35-jrexyjt9.mjs +0 -2
- package/dist/chunks/cli-1.1.35-jvhs6ypf.mjs +0 -10
- package/dist/chunks/cli-1.1.35-jx42cnmn.mjs +0 -15
- package/dist/chunks/cli-1.1.35-k6jh38a3.mjs +0 -2
- package/dist/chunks/cli-1.1.35-kbrngf5h.mjs +0 -2
- package/dist/chunks/cli-1.1.35-kcgcs2dj.mjs +0 -2
- package/dist/chunks/cli-1.1.35-kdw3m4z1.mjs +0 -25
- package/dist/chunks/cli-1.1.35-kh8s6rf2.mjs +0 -4
- package/dist/chunks/cli-1.1.35-kkhrpw6q.mjs +0 -2
- package/dist/chunks/cli-1.1.35-kp2hgrdb.mjs +0 -24
- package/dist/chunks/cli-1.1.35-ktb8z2s9.mjs +0 -3
- package/dist/chunks/cli-1.1.35-kvw88dmk.mjs +0 -2
- package/dist/chunks/cli-1.1.35-kz5tydkv.mjs +0 -2
- package/dist/chunks/cli-1.1.35-m20xytkt.mjs +0 -2
- package/dist/chunks/cli-1.1.35-m6efjk78.mjs +0 -2
- package/dist/chunks/cli-1.1.35-ma6czbht.mjs +0 -2
- package/dist/chunks/cli-1.1.35-ms3xdp4c.mjs +0 -42
- package/dist/chunks/cli-1.1.35-ms5g0jwj.mjs +0 -2
- package/dist/chunks/cli-1.1.35-nahyfraf.mjs +0 -2
- package/dist/chunks/cli-1.1.35-ne21zedp.mjs +0 -2
- package/dist/chunks/cli-1.1.35-ngg53c9c.mjs +0 -2
- package/dist/chunks/cli-1.1.35-pa3rjff6.mjs +0 -2
- package/dist/chunks/cli-1.1.35-pgcrgrc3.mjs +0 -2
- package/dist/chunks/cli-1.1.35-pms9wnd8.mjs +0 -2
- package/dist/chunks/cli-1.1.35-pr69kkhz.mjs +0 -2
- package/dist/chunks/cli-1.1.35-prf6sjs7.mjs +0 -2
- package/dist/chunks/cli-1.1.35-ps66nanc.mjs +0 -2
- package/dist/chunks/cli-1.1.35-pycaqt81.mjs +0 -2
- package/dist/chunks/cli-1.1.35-q1axe4bk.mjs +0 -2
- package/dist/chunks/cli-1.1.35-qb0eb8th.mjs +0 -2
- package/dist/chunks/cli-1.1.35-qbahm5cg.mjs +0 -2
- package/dist/chunks/cli-1.1.35-qgjs5ex0.mjs +0 -7
- package/dist/chunks/cli-1.1.35-qnfq8bw4.mjs +0 -4
- package/dist/chunks/cli-1.1.35-qvdpj1qb.mjs +0 -2
- package/dist/chunks/cli-1.1.35-qxj39xzd.mjs +0 -8
- package/dist/chunks/cli-1.1.35-qygaywxg.mjs +0 -34
- package/dist/chunks/cli-1.1.35-r4rm2297.mjs +0 -4
- package/dist/chunks/cli-1.1.35-r80cjbt8.mjs +0 -2
- package/dist/chunks/cli-1.1.35-rmfsk9nw.mjs +0 -2
- package/dist/chunks/cli-1.1.35-s05wj44h.mjs +0 -3
- package/dist/chunks/cli-1.1.35-s066wwsj.mjs +0 -3
- package/dist/chunks/cli-1.1.35-s367nd6g.mjs +0 -2
- package/dist/chunks/cli-1.1.35-s3d0nchc.mjs +0 -2
- package/dist/chunks/cli-1.1.35-s6n3pb03.mjs +0 -2
- package/dist/chunks/cli-1.1.35-s85hd24a.mjs +0 -16
- package/dist/chunks/cli-1.1.35-sg0tga4d.mjs +0 -2
- package/dist/chunks/cli-1.1.35-swxcv3xf.mjs +0 -6
- package/dist/chunks/cli-1.1.35-szkn08rr.mjs +0 -2
- package/dist/chunks/cli-1.1.35-t2vx6b45.mjs +0 -17
- package/dist/chunks/cli-1.1.35-t5kexs8c.mjs +0 -6
- package/dist/chunks/cli-1.1.35-t8c5b3qj.mjs +0 -4
- package/dist/chunks/cli-1.1.35-ta15z2yx.mjs +0 -10
- package/dist/chunks/cli-1.1.35-tsrq3cxy.mjs +0 -2
- package/dist/chunks/cli-1.1.35-tsx8c30n.mjs +0 -2
- package/dist/chunks/cli-1.1.35-ve889dy8.mjs +0 -3
- package/dist/chunks/cli-1.1.35-w1mzdb9s.mjs +0 -2
- package/dist/chunks/cli-1.1.35-w6kgq9n5.mjs +0 -2
- package/dist/chunks/cli-1.1.35-w73x0912.mjs +0 -2
- package/dist/chunks/cli-1.1.35-w9wzew2x.mjs +0 -4
- package/dist/chunks/cli-1.1.35-wmcp8vyj.mjs +0 -2
- package/dist/chunks/cli-1.1.35-wpa5rfnt.mjs +0 -12
- package/dist/chunks/cli-1.1.35-wtjyzsga.mjs +0 -2
- package/dist/chunks/cli-1.1.35-ww28b5vj.mjs +0 -2
- package/dist/chunks/cli-1.1.35-x5ft52g3.mjs +0 -2
- package/dist/chunks/cli-1.1.35-xbhjhs1c.mjs +0 -3
- package/dist/chunks/cli-1.1.35-xdzsf38z.mjs +0 -2
- package/dist/chunks/cli-1.1.35-xs5mj8ee.mjs +0 -21
- package/dist/chunks/cli-1.1.35-y6bdqv7z.mjs +0 -2
- package/dist/chunks/cli-1.1.35-y6xhcehv.mjs +0 -25
- package/dist/chunks/cli-1.1.35-yns1ngnz.mjs +0 -2
- package/dist/chunks/cli-1.1.35-yta9zrj6.mjs +0 -2
- package/dist/chunks/cli-1.1.35-zbz78cha.mjs +0 -9
- package/dist/chunks/cli-1.1.35-zf7zq3kb.mjs +0 -63
- package/dist/chunks/client-1.1.35-2j9sd0sg.mjs +0 -1
- package/dist/chunks/color-1.1.35-nf9dqw3m.mjs +0 -1
- package/dist/chunks/compact-1.1.35-h8mqxxs0.mjs +0 -2
- package/dist/chunks/config-1.1.35-7t0vfbst.mjs +0 -1
- package/dist/chunks/config-1.1.35-cfhvn2fq.mjs +0 -1
- package/dist/chunks/constants-1.1.35-kst22e3x.mjs +0 -1
- package/dist/chunks/context-1.1.35-2nc26t9y.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.35-0ym77q3t.mjs +0 -1
- package/dist/chunks/conversation-1.1.35-0q4g6qt8.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.35-7a5mc98p.mjs +0 -1
- package/dist/chunks/copy-1.1.35-n37rvhzj.mjs +0 -9
- package/dist/chunks/cost-1.1.35-hjmwjk6s.mjs +0 -1
- package/dist/chunks/createSession-1.1.35-v7c15fc8.mjs +0 -1
- package/dist/chunks/debug-1.1.35-2hf8mhst.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.35-15jcbncs.mjs +0 -1480
- package/dist/chunks/desktop-1.1.35-6w6gjpff.mjs +0 -2
- package/dist/chunks/detectRepository-1.1.35-eztj0q3f.mjs +0 -1
- package/dist/chunks/detection-1.1.35-rfkb2dxe.mjs +0 -1
- package/dist/chunks/diff-1.1.35-xb27tkcx.mjs +0 -1
- package/dist/chunks/doctor-1.1.35-ddg564v7.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.35-1gfkz0p1.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.35-5wsb4bkz.mjs +0 -1
- package/dist/chunks/effort-1.1.35-r53ttmc3.mjs +0 -13
- package/dist/chunks/engine-1.1.35-xthhbk9w.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.35-t6narn79.mjs +0 -1
- package/dist/chunks/envUtils-1.1.35-t6yq14ba.mjs +0 -1
- package/dist/chunks/errors-1.1.35-6m0kryy5.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.35-c7dhfj0z.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.35-39xh2ycx.mjs +0 -1
- package/dist/chunks/exit-1.1.35-zc8g5mnv.mjs +0 -1
- package/dist/chunks/explorer-1.1.35-784hbx9r.mjs +0 -1
- package/dist/chunks/export-1.1.35-5q6zdykx.mjs +0 -2
- package/dist/chunks/fast-1.1.35-fpsnnadp.mjs +0 -1
- package/dist/chunks/feedback-1.1.35-mdm8easg.mjs +0 -16
- package/dist/chunks/git-1.1.35-j2med41y.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.35-4xzf0z5w.mjs +0 -1
- package/dist/chunks/goal-1.1.35-yp44rshy.mjs +0 -4
- package/dist/chunks/headless-1.1.35-rxvrbe58.mjs +0 -2
- package/dist/chunks/heapdump-1.1.35-xkthm0kj.mjs +0 -6
- package/dist/chunks/help-1.1.35-6ppc7eee.mjs +0 -1
- package/dist/chunks/hooks-1.1.35-0e80c1wz.mjs +0 -79
- package/dist/chunks/hooks-1.1.35-f791gbgk.mjs +0 -1
- package/dist/chunks/ide-1.1.35-pz8m36fj.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.35-56y5k454.mjs +0 -1
- package/dist/chunks/import-1.1.35-fcn1y643.mjs +0 -261
- package/dist/chunks/inboundAttachments-1.1.35-n6b7ppqk.mjs +0 -1
- package/dist/chunks/index-1.1.35-434cwyrk.mjs +0 -1
- package/dist/chunks/index-1.1.35-4ngbsgjz.mjs +0 -1
- package/dist/chunks/index-1.1.35-7nsjazx1.mjs +0 -1
- package/dist/chunks/index-1.1.35-8rnbf6ea.mjs +0 -1
- package/dist/chunks/index-1.1.35-e5amgccf.mjs +0 -1
- package/dist/chunks/index-1.1.35-eejex06g.mjs +0 -5
- package/dist/chunks/index-1.1.35-epm25vr2.mjs +0 -9
- package/dist/chunks/index-1.1.35-jxpschvm.mjs +0 -1
- package/dist/chunks/index-1.1.35-mdgw0byv.mjs +0 -9
- package/dist/chunks/index-1.1.35-n36e4pzf.mjs +0 -1
- package/dist/chunks/index-1.1.35-nnrmrgn5.mjs +0 -30
- package/dist/chunks/index-1.1.35-p1fttaxb.mjs +0 -1
- package/dist/chunks/index-1.1.35-p3ttta20.mjs +0 -1
- package/dist/chunks/index-1.1.35-pjz1v5fa.mjs +0 -1
- package/dist/chunks/index-1.1.35-pqswr512.mjs +0 -23
- package/dist/chunks/index-1.1.35-q464ks4t.mjs +0 -1
- package/dist/chunks/index-1.1.35-r5cefbke.mjs +0 -2
- package/dist/chunks/index-1.1.35-rf0z1h76.mjs +0 -1
- package/dist/chunks/index-1.1.35-wg3dwx0w.mjs +0 -2
- package/dist/chunks/index-1.1.35-xcm76j0n.mjs +0 -1
- package/dist/chunks/index-1.1.35-y7q90201.mjs +0 -1
- package/dist/chunks/index-1.1.35-y9scvznb.mjs +0 -1
- package/dist/chunks/index-1.1.35-yy5qsdz8.mjs +0 -1
- package/dist/chunks/init-1.1.35-hawgzj6s.mjs +0 -2
- package/dist/chunks/initReplBridge-1.1.35-aee08exn.mjs +0 -1
- package/dist/chunks/ink-1.1.35-9vhjhx60.mjs +0 -1
- package/dist/chunks/insights-1.1.35-2782qak6.mjs +0 -870
- package/dist/chunks/install-1.1.35-nptjkfk3.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.35-v4ahg5m0.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.35-rc6ch1k0.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.35-1755rb8a.mjs +0 -1
- package/dist/chunks/keybindings-1.1.35-9qz4bvrq.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.35-ff7kd1x3.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.35-nwtm30nv.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.35-jxqkv874.mjs +0 -1
- package/dist/chunks/log-1.1.35-h5x69tbw.mjs +0 -1
- package/dist/chunks/main-1.1.35-1e6064ax.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.35-s6143dpv.mjs +0 -1
- package/dist/chunks/mcp-1.1.35-0tswravz.mjs +0 -1
- package/dist/chunks/mcp-1.1.35-bdv2pgpj.mjs +0 -17
- package/dist/chunks/mcp-1.1.35-khngfse0.mjs +0 -4
- package/dist/chunks/mcpb-1.1.35-p4jn8q66.mjs +0 -1
- package/dist/chunks/memory-1.1.35-zvk9c80b.mjs +0 -128
- package/dist/chunks/model-1.1.35-j8hp9tcm.mjs +0 -1
- package/dist/chunks/model-1.1.35-mb41ksj1.mjs +0 -2
- package/dist/chunks/node-1.1.35-312s6waw.mjs +0 -1
- package/dist/chunks/node-1.1.35-zzk2fc7x.mjs +0 -15
- package/dist/chunks/oauth-1.1.35-2pwvpgey.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.35-6gbm01ym.mjs +0 -14
- package/dist/chunks/output-style-1.1.35-gbk18883.mjs +0 -1
- package/dist/chunks/package-F6O7J2XI-1.1.35-0z3efknf.mjs +0 -1
- package/dist/chunks/permissions-1.1.35-c11nnhp0.mjs +0 -3
- package/dist/chunks/permissions-1.1.35-vqtbrznv.mjs +0 -1
- package/dist/chunks/plan-1.1.35-5nz3m4kh.mjs +0 -1
- package/dist/chunks/plist-1.1.35-4bd0g91w.mjs +0 -1
- package/dist/chunks/plugin-1.1.35-0tg6jzxg.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.35-z1parxqs.mjs +0 -1
- package/dist/chunks/plugins-1.1.35-z14pz0dr.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.35-9dyzn96j.mjs +0 -2
- package/dist/chunks/print-1.1.35-89rm2txf.mjs +0 -57
- package/dist/chunks/process-1.1.35-7x8d7kyn.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.35-hj8xz358.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.35-egejjqfw.mjs +0 -9
- package/dist/chunks/prompt-1.1.35-aaz8q4j6.mjs +0 -1
- package/dist/chunks/prompt-1.1.35-f3fackax.mjs +0 -1
- package/dist/chunks/prompts-1.1.35-58wwfjfd.mjs +0 -1
- package/dist/chunks/provider-1.1.35-xwj158q8.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.35-6wzwgty6.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.35-z9h8ampz.mjs +0 -6
- package/dist/chunks/registerSubcommands-1.1.35-7ewvmysm.mjs +0 -26
- package/dist/chunks/registry-1.1.35-y4zandg8.mjs +0 -1
- package/dist/chunks/release-notes-1.1.35-s31rkdxh.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.35-18xd3nwy.mjs +0 -2
- package/dist/chunks/remote-env-1.1.35-0v4tk5np.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.35-ev420056.mjs +0 -1
- package/dist/chunks/rename-1.1.35-m8chhebj.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.35-483j4br6.mjs +0 -1
- package/dist/chunks/resume-1.1.35-vaxxp18n.mjs +0 -2
- package/dist/chunks/rewind-1.1.35-scs8763b.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.35-9j5y8k9x.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.35-zjy5t791.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.35-qrmypwca.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.35-c2k8p98n.mjs +0 -1
- package/dist/chunks/session-1.1.35-78ew080a.mjs +0 -2
- package/dist/chunks/sessionStorage-1.1.35-0tyr8wn3.mjs +0 -1
- package/dist/chunks/settings-1.1.35-808m5j14.mjs +0 -1
- package/dist/chunks/setup-1.1.35-ebpewe9s.mjs +0 -12
- package/dist/chunks/sinks-1.1.35-nj35kk9h.mjs +0 -1
- package/dist/chunks/skills-1.1.35-zczajd48.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.35-wa5psc2j.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.35-0wac30ap.mjs +0 -1
- package/dist/chunks/state-1.1.35-gcp827qz.mjs +0 -1
- package/dist/chunks/stats-1.1.35-f1kndsge.mjs +0 -1
- package/dist/chunks/status-1.1.35-gwtdrkx2.mjs +0 -1
- package/dist/chunks/stickers-1.1.35-fa69zd3v.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.35-8wsc86ft.mjs +0 -1
- package/dist/chunks/tasks-1.1.35-0wd1t6v2.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.35-13qqfhxa.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.35-wdbfsm1h.mjs +0 -1
- package/dist/chunks/teleport-1.1.35-tmhzqx90.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.35-6xq5nt25.mjs +0 -1
- package/dist/chunks/theme-1.1.35-4b6gd2dx.mjs +0 -1
- package/dist/chunks/thinkback-1.1.35-x88djqdz.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.35-g6n14rjh.mjs +0 -1
- package/dist/chunks/toolPool-1.1.35-0qd67zrc.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.35-54dpcvf8.mjs +0 -1
- package/dist/chunks/tools-1.1.35-3hjsc7mm.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.35-szkdvqcz.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.35-4azkv4s5.mjs +0 -69
- package/dist/chunks/types-1.1.35-ncfe8wzg.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.35-d271ddpn.mjs +0 -4
- package/dist/chunks/update-1.1.35-5zabq625.mjs +0 -72
- package/dist/chunks/upload-1.1.35-gey82edy.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.35-bbztgd01.mjs +0 -14
- package/dist/chunks/usage-1.1.35-sx2ahz77.mjs +0 -1
- package/dist/chunks/util-1.1.35-aph6a5hy.mjs +0 -1
- package/dist/chunks/utils-1.1.35-avpezj08.mjs +0 -1
- package/dist/chunks/vim-1.1.35-e0jh10q6.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.35-baxd01b0.mjs +0 -13
- package/dist/chunks/wiki-1.1.35-cns1572n.mjs +0 -132
- package/dist/chunks/workflows-1.1.35-0r21887z.mjs +0 -1
- package/dist/chunks/worktree-1.1.35-0mj24by3.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.35-6ej7pdyw.mjs +0 -1
- package/dist/chunks/wrapper-1.1.35-fpcy8t3v.mjs +0 -7
- /package/dist/chunks/{cli-1.1.35-hnqagxgk.mjs → cli-1.1.37-tfvyj3nx.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Xra as V}from"./cli-1.1.35-c05841mj.mjs";function Q(q){return typeof q==="number"&&Number.isFinite(q)?q:0}function U(q,J){let z=q;for(let $ of J){if(z==null||typeof z!=="object")return;z=z[$]}return z}function L(q){if(!q)return!1;let J="";try{J=new URL(q).hostname.toLowerCase()}catch{}if(!J){let K=q.toLowerCase();return K.includes("localhost")||K.includes("127.0.0.1")||K.includes("::1")}let z=J.startsWith("[")&&J.endsWith("]")?J.slice(1,-1):J;if(z==="localhost"||z.endsWith(".localhost")||z.endsWith(".local")||z.endsWith(".lan")||z.endsWith(".internal")||z.endsWith(".intranet")||z.endsWith(".home.arpa"))return!0;let $=z.match(A);if($){let K=Number($[1]),j=Number($[2]);if(K===10)return!0;if(K===172&&j>=16&&j<=31)return!0;if(K===192&&j===168)return!0;if(K===127)return!0;if(K===169&&j===254)return!0;if(K===100&&j>=64&&j<=127)return!0}if(z==="::1"||z==="::")return!0;if(z.startsWith("fe80:")||Y.test(z)||B.test(z))return!0;return!1}function T(q,J){if(q==="github")return J?.githubNativeAnthropic?"copilot-claude":"copilot";if(q==="firstParty"||q==="bedrock"||q==="vertex"||q==="foundry")return"anthropic";if(q==="gemini")return"gemini";if(q==="codex")return"codex";if(q==="openai"){let z=J?.openAiBaseUrl??"";if(L(z))return"self-hosted";let $=z.toLowerCase();if($.includes(":11434"))return"ollama";if($.includes("moonshot")||$.includes("kimi"))return"kimi";if($.includes("deepseek"))return"deepseek";return"openai"}return"openai"}function I(q){if(!q||typeof q!=="object")return 0;let J=q,z=Q(J.cache_read_input_tokens);if(z>0)return z;let $=Q(U(q,["input_tokens_details","cached_tokens"]))||Q(U(q,["prompt_tokens_details","cached_tokens"]));if($>0)return $;let K=Q(J.cached_tokens);if(K>0)return K;let j=Q(J.prompt_cache_hit_tokens);if(j>0)return j;let X=Q(J.cached_content_token_count);if(X>0)return X;return 0}function x(q){if(!q||typeof q!=="object")return 0;let z=Q(q.cache_creation_input_tokens);if(z>0)return z;return Q(U(q,["cache_creation","ephemeral_5m_input_tokens"]))+Q(U(q,["cache_creation","ephemeral_1h_input_tokens"]))}function _(q){let J=I(q),z=q??{},$=Q(z.input_tokens)||Q(z.prompt_tokens),K=$>=J?$-J:$,j=Q(z.output_tokens)||Q(z.completion_tokens);return{input_tokens:K,output_tokens:j,cache_creation_input_tokens:x(q),cache_read_input_tokens:J}}function w(q,J){if(!q||typeof q!=="object")return F;let z=q,$=Q(z.cache_read_input_tokens),K=Q(z.cache_creation_input_tokens),j=Q(z.input_tokens);if(J==="copilot"||J==="ollama")return F;if(J==="self-hosted"&&$===0&&K===0)return F;let X=$+K+j;return{read:$,created:K,total:X,hitRate:X>0?Math.min(1,$/X):null,supported:!0}}function O(q){let J=[],z=new Map;for(let $ of q){let K=M.exec($);if(!K){J.push($);continue}let j=K[4],X=z.get(j);if(X){X.events++,X.results+=Number(K[1]),X.inputs+=Number(K[2]??0),X.tokensK+=Number(K[3]);continue}z.set(j,{index:J.length,events:1,results:Number(K[1]),inputs:Number(K[2]??0),tokensK:Number(K[3])}),J.push($)}for(let[$,K]of z){if(K.events===1)continue;let j=K.inputs>0?` + ${K.inputs} inputs`:"";J[K.index]=`relief clip ×${K.events} (${K.results} tool results${j}, ~${K.tokensK}k tokens, ${$} lane)`}return J}function g(q,J,z,$){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";if(q.read===0&&q.created===0)return"[Cache: cold]";let K=[`${G(q.read)} read`];if(q.hitRate!==null)K.push(`hit ${Math.round(q.hitRate*100)}%`);let j=P(J);if(j)K.push(j);if(z&&z.length>0)K.push(`prefix rewritten: ${O(z).join(", ")}`);if($&&$.length>0)K.push(`cache break: ${$.join("; ")}`);return`[Cache: ${K.join(" • ")}]`}function C(q,J,z,$){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";let K=[`read=${G(q.read)}`,`created=${G(q.created)}`];if(q.hitRate!==null)K.push(`hit=${Math.round(q.hitRate*100)}%`);else K.push("hit=n/a");if(J&&J.clearedInputTokens>0)K.push(`server_cleared=${J.clearedToolUses}(-${G(J.clearedInputTokens)})`);if(z&&z.length>0)K.push(`rewrite=${O(z).join("+")}`);if($&&$.length>0)K.push(`break=${$.join("+")}`);return`[Cache: ${K.join(" ")}]`}function P(q){if(!q||q.clearedInputTokens===0)return"";let J=q.clearedToolUses===1?"tool result":"tool results";return`server cleared ${q.clearedToolUses} ${J} (-${G(q.clearedInputTokens)})`}function G(q){if(q<1000)return String(q);if(q<1e6)return`${(q/1000).toFixed(1).replace(D,"")}k`;return`${(q/1e6).toFixed(1).replace(D,"")}m`}function y(q,J){if(!q.supported&&!J.supported)return F;if(!q.supported)return J;if(!J.supported)return q;let z=q.read+J.read,$=q.created+J.created,K=q.total+J.total;return{read:z,created:$,total:K,hitRate:K>0?z/K:null,supported:!0}}var F,A,Y,B,D,M;var N=V(()=>{F={read:0,created:0,total:0,hitRate:null,supported:!1};A=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,Y=/^fc[0-9a-f]{0,2}:/,B=/^fd[0-9a-f]{0,2}:/,D=/\.0$/;M=/^relief clip \((\d+) tool results(?: \+ (\d+) inputs)?, ~(\d+)k tokens, (\w+) lane\)$/});function k(q){return{currentTurn:Z,session:Z,currentTurnServerClears:H,sessionServerClears:H,currentTurnPrefixRewrites:[],currentTurnCacheBreaks:[],history:Array(q),historyWriteIdx:0,historySize:0,historyMax:q}}function n(q,J){W.currentTurn=y(W.currentTurn,q),W.session=y(W.session,q);let z={timestamp:Date.now(),label:J,metrics:q};if(W.history[W.historyWriteIdx]=z,W.historyWriteIdx=(W.historyWriteIdx+1)%W.historyMax,W.historySize<W.historyMax)W.historySize++}function v(q){let J=(z)=>({events:z.events+1,clearedToolUses:z.clearedToolUses+q.clearedToolUses,clearedInputTokens:z.clearedInputTokens+q.clearedInputTokens});W.currentTurnServerClears=J(W.currentTurnServerClears),W.sessionServerClears=J(W.sessionServerClears)}function R(q){W.currentTurnPrefixRewrites=[...W.currentTurnPrefixRewrites,q]}function h(q){W.currentTurnCacheBreaks=[...W.currentTurnCacheBreaks,q]}function d(){W.currentTurn=Z,W.currentTurnServerClears=H,W.currentTurnPrefixRewrites=[],W.currentTurnCacheBreaks=[]}function m(){W.currentTurn=Z,W.session=Z,W.currentTurnServerClears=H,W.sessionServerClears=H,W.currentTurnPrefixRewrites=[],W.currentTurnCacheBreaks=[],W.history=Array(W.historyMax),W.historyWriteIdx=0,W.historySize=0}function l(){return W.currentTurn}function o(){return W.currentTurnServerClears}function u(){return W.currentTurnPrefixRewrites}function p(){return W.currentTurnCacheBreaks}function i(){return W.sessionServerClears}function c(){return W.session}function s(){if(W.historySize<W.historyMax)return W.history.slice(0,W.historySize);let q=W.history.slice(W.historyWriteIdx),J=W.history.slice(0,W.historyWriteIdx);return q.concat(J)}var H,S=500,Z,W;var f=V(()=>{N();H={events:0,clearedToolUses:0,clearedInputTokens:0},Z={read:0,created:0,total:0,hitRate:null,supported:!1};W=k(S)});
|
|
2
|
-
export{T as T0,_ as U0,w as V0,g as W0,C as X0,G as Y0,N as Z0,n as _0,v as $0,R as a1,h as b1,d as c1,m as d1,l as e1,o as f1,u as g1,p as h1,i as i1,c as j1,s as k1,f as l1};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{oi as L,ui as h}from"./cli-1.1.35-qnfq8bw4.mjs";import{$T as G,Bu as $,Cu as A,EC as N,EQ as o,FC as m,Fv as B,Gv as D,Js as _,KN as C,Kj as Z,LP as W,Lj as v,Ls as P,MP as n,Nv as M,Ov as p,QH as V,VH as S,XT as x,_T as c,aU as R,bE as U,bU as f,cU as l,dE as g,gj as Y,hj as k,qN as j,rN as d,uN as E,vQ as b}from"./cli-1.1.35-hy9jtbmb.mjs";import{D_ as X,J_ as I}from"./cli-1.1.35-tsrq3cxy.mjs";import{maa as O,mba as Q,naa as T,tba as u}from"./cli-1.1.35-dnacc640.mjs";import{Cqa as K,Fla as J,Jqa as F}from"./cli-1.1.35-1ceb2tjb.mjs";import{Xra as y,Yra as w}from"./cli-1.1.35-c05841mj.mjs";function Nq(H=new Set){let z=H.size>0;if(f.cache.clear?.(),R.cache.clear?.(),G.cache.clear?.(),Y.cache.clear?.(),L(),b(),!z)B();if(J(null),W(),E(),x("session_start"),U(),O.clear(),Z(),!z)V();if(X(),_(),!z)N();K(H),Q(),j(),M(),$(),import("./utils-1.1.35-avpezj08.mjs").then(({clearWebFetchCache:q})=>q()),import("./ToolSearchTool-1.1.35-0t2d7g7n.mjs").then(({clearToolSearchDescriptionCache:q})=>q()),import("./loadAgentsDir-1.1.35-nwtm30nv.mjs").then(({clearAgentDefinitionsCache:q})=>q()),import("./prompt-1.1.35-f3fackax.mjs").then(({clearPromptCache:q})=>q())}var i=y(()=>{F();o();k();l();h();S();m();D();v();n();p();d();C();P();c();I();u();T();g();A()});
|
|
2
|
-
export{Nq as di,i as ei};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{W2 as $J,Z2 as TJ}from"./cli-1.1.35-8ttx7y70.mjs";import{Eha as m,G$ as QJ,I$ as jJ,L$ as w,dga as E,iba as K,ifa as ZJ,jba as f,paa as YJ,qaa as xJ,u$ as U,vfa as NJ,w$ as P,zha as q}from"./cli-1.1.35-dnacc640.mjs";import{Fka as W,Ika as wJ,ika as k,jka as L,nka as b,rka as y,vka as D}from"./cli-1.1.35-a7ygtwdr.mjs";import{Pka as JJ,ela as M,fla as B,ila as g,kla as N}from"./cli-1.1.35-w9wzew2x.mjs";import{nla as O,yla as I}from"./cli-1.1.35-g74y15na.mjs";import{Xra as x}from"./cli-1.1.35-c05841mj.mjs";import{access as u,chmod as vJ,writeFile as BJ}from"fs/promises";import{homedir as d}from"os";import{join as v}from"path";function T(){return v(O(),"local")}function GJ(J=d()){return v(J,".claude","local")}function h(J){let Q=J?.homeDir??d(),Y=J?.configHomeDir??O();return Array.from(new Set([v(Y,"local"),GJ(Q)]))}function p(J){return[v(J,"node_modules",".bin","claudin"),v(J,"node_modules",".bin","claude")]}function RJ(J){let Q=J.replace(/\\+/g,"/");return Q.includes("/.claudin/local/node_modules/")||Q.includes("/.claude/local/node_modules/")}function A(){return v(T(),"claudin")}function iJ(){return RJ(U())}async function F(J,Q,Y){try{return await BJ(J,Q,{encoding:"utf8",flag:"wx",mode:Y}),!0}catch(Z){if(M(Z)==="EEXIST")return!1;throw Z}}async function _J(){try{let J=T();await y().mkdir(J),await F(v(J,"package.json"),k({name:"claudin-local",version:"0.0.1",private:!0},null,2));let Q=A();if(await F(Q,`#!/bin/sh
|
|
2
|
-
exec "${J}/node_modules/.bin/claudin" "$@"`,493))await vJ(Q,493);return!0}catch(J){return q(J),!1}}async function eJ(J,Q){try{if(!await _J())return"install_failed";let Z=await K("npm",["install",`@claudiolabs/claudin@${Q?Q:J==="stable"?"stable":"latest"}`],{cwd:T(),maxBuffer:1e6});if(Z.code!==0){let $=Error(`Failed to install Claude CLI package: ${Z.stderr}`);return q($),Z.code===190?"in_progress":"install_failed"}return w(($)=>({...$,installMethod:"local"})),"success"}catch(Y){return q(Y),"install_failed"}}async function rJ(){for(let J of h())for(let Q of p(J))try{return await u(Q),!0}catch{}return!1}async function JQ(){for(let J of h())for(let Q of p(J))try{return await u(Q),J}catch{}return null}function QQ(){let J=process.env.SHELL||"";if(J.includes("zsh"))return"zsh";if(J.includes("bash"))return"bash";if(J.includes("fish"))return"fish";return"unknown"}var c=x(()=>{P();E();I();N();f();D();m();b()});import{open as OJ,readFile as MJ,stat as yJ}from"fs/promises";import{homedir as n}from"os";import{join as V}from"path";function C(J){let Q=J?.homedir??n(),Z=(J?.env??process.env).ZDOTDIR||Q;return{zsh:V(Z,".zshrc"),bash:V(Q,".bashrc"),fish:V(Q,".config/fish/config.fish")}}function s(J){let Q=!1;return{filtered:J.filter((Z)=>{if(t.test(Z)){let $=Z.match(/alias\s+claude\s*=\s*["']([^"']+)["']/);if(!$)$=Z.match(/alias\s+claude\s*=\s*([^#\n]+)/);if($&&$[1]){if($[1].trim()===A())return Q=!0,!1}}return!0}),hadAlias:Q}}async function S(J){try{return(await MJ(J,{encoding:"utf8"})).split(`
|
|
3
|
-
`)}catch(Q){if(g(Q))return null;throw Q}}async function l(J,Q){let Y=await OJ(J,"w");try{await Y.writeFile(Q.join(`
|
|
4
|
-
`),{encoding:"utf8"}),await Y.datasync()}finally{await Y.close()}}async function UJ(J){let Q=C(J);for(let Y of Object.values(Q)){let Z=await S(Y);if(!Z)continue;for(let $ of Z)if(t.test($)){let X=$.match(/alias\s+claude=["']?([^"'\s]+)/);if(X&&X[1])return X[1]}}return null}async function XQ(J){let Q=await UJ(J);if(!Q)return null;let Y=J?.homedir??n(),Z=Q.startsWith("~")?Q.replace("~",Y):Q;try{let $=await yJ(Z);if($.isFile()||$.isSymbolicLink())return Q}catch{}return null}var t;var a=x(()=>{N();c();t=/^\s*alias\s+claude\s*=/});import{constants as qJ}from"fs";import{access as KJ,readFile as AJ,stat as VJ,writeFile as o}from"fs/promises";import{homedir as z}from"os";import{join as H}from"path";function CJ(){let J=U();if(J.includes("/.bun/install/global/"))return!0;let Q=process.env.BUN_INSTALL;if(Q&&J.startsWith(Q))return!0;return!1}function WJ(){return CJ()?"bun":"npm"}function XJ(){let J=process.env.BUN_INSTALL||H(z(),".bun");return H(J,"install","global","node_modules","@claudiolabs/claudin")}async function FJ(){let J=await K("npm",["-g","config","get","prefix"],{cwd:z()});if(J.code!==0)return null;let Q=J.stdout.trim();if(!Q)return null;return YJ()==="windows"?H(Q,"node_modules","@claudiolabs/claudin"):H(Q,"lib","node_modules","@claudiolabs/claudin")}async function i(J){try{let Q=await AJ(H(J,"package.json"),"utf8"),Y=L(Q);return typeof Y.version==="string"?Y.version:null}catch(Q){if(!B(Q))q(Q);return null}}function e(J){return J==="bun"?Promise.resolve(XJ()):FJ()}async function IJ(J,Q,Y){let Z=J==="npm"?"bun":"npm",$=await e(Z);if(!$)return;let X=await i($);if(!X)return;let R=await e(J),_=R?await i(R):null;if(_&&X===_)return;W(`update: repairing stale ${Z} install ${X} at ${$}`);let j=await K(Z,Z==="npm"?["install","-g","--force",Q]:["install","-g",Q],{cwd:z()});if(j.code!==0){q(new G(`Failed to refresh the ${Z} global install at ${$}: ${j.stdout} ${j.stderr}`));return}if(Z==="bun")await zJ();Y?.(`Repaired old version ${X} at ${$}`)}async function kJ(J,Q){let Y=await K("node",[J],{cwd:Q});if(Y.code===0)return!0;if(!LJ.test(Y.error??""))return q(new G(`Skipped postinstall failed under node: ${Y.stdout} ${Y.stderr}`)),!1;let Z=await K("bun",[J],{cwd:Q});if(Z.code===0)return!0;return q(new G(`Skipped postinstall failed under bun: ${Z.stdout} ${Z.stderr}`)),!1}async function zJ(){let J=XJ(),Q=H(J,"install.cjs"),Y=H(J,"bin","claudin.exe");try{await KJ(Q,qJ.F_OK)}catch(Z){if(!B(Z))q(Z);return!1}try{if((await VJ(Y)).size>SJ)return!1}catch(Z){if(!B(Z))return q(Z),!1}if(!await kJ(Q,J))return!1;return W("update: repaired Bun global launcher via install.cjs"),!0}async function SQ(){}async function LQ(){return}async function FQ(){return}function IQ(J){let Y=ZJ()?.minimumVersion;if(!Y)return!1;let Z=!$J(J,Y);if(Z)W(`Skipping update to ${J} - below minimumVersion ${Y}`);return Z}function HJ(){return H(O(),".update.lock")}async function bJ(){let J=y(),Q=HJ();try{let Y=await J.stat(Q);if(Date.now()-Y.mtimeMs<r)return!1;try{let $=await J.stat(Q);if(Date.now()-$.mtimeMs<r)return!1;await J.unlink(Q)}catch($){if(!B($))return q($),!1}}catch(Y){if(!B(Y))return q(Y),!1}try{return await o(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch(Y){let Z=M(Y);if(Z==="EEXIST")return!1;if(Z==="ENOENT")try{return await J.mkdir(O()),await o(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch($){if(M($)==="EEXIST")return!1;return q($),!1}return q(Y),!1}}async function DJ(){let J=y(),Q=HJ();try{if(await J.readFile(Q,{encoding:"utf8"})===`${process.pid}`)await J.unlink(Q)}catch(Y){if(B(Y))return;q(Y)}}async function PJ(){let J=WJ()==="bun",Q=null;if(J)Q=await K("bun",["pm","bin","-g"],{cwd:z()});else Q=await K("npm",["-g","config","get","prefix"],{cwd:z()});if(Q.code!==0)return q(Error(`Failed to check ${J?"bun":"npm"} permissions`)),null;return Q.stdout.trim()}async function fJ(){try{let J=await PJ();if(!J)return{hasPermissions:!1,npmPrefix:null};try{return await KJ(J,qJ.W_OK),{hasPermissions:!0,npmPrefix:J}}catch{return q(new G("Insufficient permissions for global npm install.")),{hasPermissions:!1,npmPrefix:J}}}catch(J){return q(J),{hasPermissions:!1,npmPrefix:null}}}async function kQ(J,Q={}){let Y=J==="stable"?"stable":"latest",Z=Q.timeoutMs??5000,$=await K("npm",["view",`@claudiolabs/claudin@${Y}`,"version","--prefer-online"],{abortSignal:AbortSignal.timeout(Z),cwd:z()});if($.code!==0){if(W(`npm view failed with code ${$.code}`),$.stderr)W(`npm stderr: ${$.stderr.trim()}`);else W("npm stderr: (empty)");if($.stdout)W(`npm stdout: ${$.stdout.trim()}`);return null}return $.stdout.trim()}async function bQ(){let J=await K("npm",["view","@claudiolabs/claudin","dist-tags","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(5000),cwd:z()});if(J.code!==0)return W(`npm view dist-tags failed with code ${J.code}`),{latest:null,stable:null};try{let Q=L(J.stdout.trim());return{latest:typeof Q.latest==="string"?Q.latest:null,stable:typeof Q.stable==="string"?Q.stable:null}}catch(Q){return W(`Failed to parse dist-tags: ${Q}`),{latest:null,stable:null}}}async function DQ(J){return null}async function PQ(){return{latest:null,stable:null}}async function fQ(J,Q){if(!await bJ())return q(new G("Another process is currently installing an update")),"in_progress";try{await EJ();let Y=WJ();if(Y==="npm"&&QJ.isNpmFromWindowsPath())return q(Error("Windows NPM detected in WSL environment")),console.error(`
|
|
5
|
-
Error: Windows NPM detected in WSL
|
|
6
|
-
|
|
7
|
-
You're running Claudin in WSL but using the Windows NPM installation from /mnt/c/.
|
|
8
|
-
This configuration is not supported for updates.
|
|
9
|
-
|
|
10
|
-
To fix this issue:
|
|
11
|
-
1. Install Node.js within your Linux distribution: e.g. sudo apt install nodejs npm
|
|
12
|
-
2. Make sure Linux NPM is in your PATH before the Windows version
|
|
13
|
-
3. Try updating again with 'claudin update'
|
|
14
|
-
`),"install_failed";let{hasPermissions:Z}=await fJ();if(!Z)return"no_permissions";let $=J?`@claudiolabs/claudin@${J}`:"@claudiolabs/claudin",R=await K(Y,Y==="npm"?["install","-g","--force",$]:["install","-g",$],{cwd:z()});if(R.code!==0){let _=new G(`Failed to install new version of claude: ${R.stdout} ${R.stderr}`);return q(_),"install_failed"}return await zJ(),await IJ(Y,$,Q?.onProgress),w((_)=>({..._,installMethod:"global"})),"success"}finally{await DJ()}}async function EJ(){let J=C();for(let[,Q]of Object.entries(J))try{let Y=await S(Q);if(!Y)continue;let{filtered:Z,hadAlias:$}=s(Y);if($)await l(Q,Z),W(`Removed claude alias from ${Q}`)}catch(Y){W(`Failed to remove alias from ${Q}: ${Y}`,{level:"error"})}}var G,SJ=4096,LJ,r=300000;var mJ=x(()=>{P();E();wJ();jJ();I();N();f();D();m();xJ();TJ();NJ();a();b();G=class G extends JJ{};LJ=/ENOENT/i});
|
|
15
|
-
export{iJ as mU,eJ as nU,rJ as oU,JQ as pU,QQ as qU,c as rU,C as sU,s as tU,S as uU,l as vU,UJ as wU,XQ as xU,a as yU,XJ as zU,zJ as AU,SQ as BU,LQ as CU,FQ as DU,IQ as EU,HJ as FU,fJ as GU,kQ as HU,bQ as IU,DQ as JU,PQ as KU,fQ as LU,mJ as MU};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Xra as z}from"./cli-1.1.35-c05841mj.mjs";function B(j){switch(j.type){case"connected":return"connected";case"disabled":return"disabled";case"needs-auth":return"needs authentication";case"failed":return"failed";case"pending":{let{reconnectAttempt:q,maxReconnectAttempts:y}=j;return q&&y?`reconnecting (${q}/${y})…`:"connecting…"}}}function D(j){return j.type==="disabled"?"disconnected":B(j)}function E(j){switch(j.type){case"connected":return"active";case"failed":return"failed";case"pending":case"needs-auth":case"disabled":return"inactive"}}var C=()=>{};
|
|
2
|
-
export{B as Xf,D as Yf,E as Zf,C as _f};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$qa as iY,Kqa as nQ,Lqa as H8,Mqa as d,Nqa as g1,Oqa as F5,Pqa as RY,Qqa as q,Rqa as A,Sqa as m,Tqa as bQ,Uqa as P,Vqa as Q1,Wqa as Q$,Xqa as J7,Yqa as E5,Zqa as vY,_qa as v,ara as C,bra as G1,cra as y,dra as VQ,era as a,fra as MQ,gra as X$,hra as B7}from"./cli-1.1.35-tsx8c30n.mjs";import{Wra as K5,Xra as X}from"./cli-1.1.35-c05841mj.mjs";import{randomUUID as s}from"crypto";var I1=()=>{};import{realpathSync as HQ}from"fs";import{cwd as t$}from"process";function e$(Q){return _1.add(Q),()=>_1.delete(Q)}function QJ(){g()}function g(){for(let Q of _1)try{Q()}catch{}}function k1(){let Q="";if(typeof process<"u"&&typeof process.cwd==="function"&&typeof HQ==="function"){let Y=t$();try{Q=HQ(Y).normalize("NFC")}catch{Q=Y.normalize("NFC")}}return{originalCwd:Q,projectRoot:Q,totalCostUSD:0,totalAPIDuration:0,totalAPIDurationWithoutRetries:0,totalToolDuration:0,turnHookDurationMs:0,turnToolDurationMs:0,turnClassifierDurationMs:0,turnToolCount:0,turnHookCount:0,turnClassifierCount:0,startTime:Date.now(),activeDurationMs:0,turnActiveSince:null,lastInteractionTime:Date.now(),totalLinesAdded:0,totalLinesRemoved:0,hasUnknownModelCost:!1,cwd:Q,modelUsage:{},mainLoopModelOverride:void 0,initialMainLoopModel:null,modelStrings:null,isInteractive:!1,kairosActive:!1,strictToolResultPairing:!1,sdkAgentProgressSummariesEnabled:!1,userMsgOptIn:!1,clientType:"cli",sessionSource:void 0,questionPreviewFormat:void 0,sessionIngressToken:void 0,oauthTokenFromFd:void 0,apiKeyFromFd:void 0,flagSettingsPath:void 0,flagSettingsInline:null,allowedSettingSources:["userSettings","projectSettings","localSettings","flagSettings","policySettings"],statsStore:null,sessionId:s(),parentSessionId:void 0,agentColorMap:new Map,agentColorIndex:0,lastAPIRequest:null,lastAPIRequestMessages:null,lastClassifierRequests:null,cachedClaudeMdContent:null,inMemoryErrorLog:[],inlinePlugins:[],useCoworkPlugins:!1,sessionBypassPermissionsMode:!1,scheduledTasksEnabled:!1,sessionCronTasks:[],pendingSessionWakeup:null,sessionCreatedTeams:new Set,sessionTrustAccepted:!1,sessionPersistenceDisabled:!1,hasExitedPlanMode:!1,needsPlanModeExitAttachment:!1,needsAutoModeExitAttachment:!1,initJsonSchema:null,registeredHooks:null,planSlugCache:new Map,teleportedSessionInfo:null,invokedSkills:new Map,slowOperations:[],sdkBetas:void 0,mainThreadAgentType:void 0,isRemoteMode:!1,directConnectServerUrl:void 0,systemPromptSectionCache:new Map,lastEmittedDate:null,additionalDirectoriesForClaudeMd:[],allowedChannels:[],hasDevChannels:!1,sessionProjectDir:null,largeSystemPromptDetected:null,afkModeHeaderLatched:null,fastModeHeaderLatched:null,thinkingClearLatched:null,lspDeferLatchedTools:null,deferredDeltaLegacySession:!1,sessionEpochMs:Date.now()-process.uptime()*1000,promptId:null,lastMainRequestId:void 0,lastApiCompletionTimestamp:null,pendingPostCompaction:!1}}var _1,$;var V=X(()=>{I1();_1=new Set;$=k1()});function $J(){return $.systemPromptSectionCache}function JJ(Q,J){$.systemPromptSectionCache.set(Q,J)}function YJ(){$.systemPromptSectionCache.clear()}function ZJ(){return $.lastEmittedDate}function XJ(Q){$.lastEmittedDate=Q}function HJ(){return $.additionalDirectoriesForClaudeMd}function WJ(Q){$.additionalDirectoriesForClaudeMd=Q}function xJ(){return $.allowedChannels}function UJ(Q){$.allowedChannels=Q,g()}function KJ(){return $.hasDevChannels}function GJ(Q){$.hasDevChannels=Q}function BJ(){return $.largeSystemPromptDetected}function NJ(Q){$.largeSystemPromptDetected=Q}function wJ(){return $.afkModeHeaderLatched}function zJ(Q){$.afkModeHeaderLatched=Q}function FJ(){return $.fastModeHeaderLatched}function RJ(Q){$.fastModeHeaderLatched=Q}function qJ(){return $.thinkingClearLatched}function DJ(Q){$.thinkingClearLatched=Q}function OJ(Q){return $.lspDeferLatchedTools?.has(Q)??!1}function VJ(Q){if(!$.lspDeferLatchedTools)$.lspDeferLatchedTools=new Set;$.lspDeferLatchedTools.add(Q)}function MJ(){return $.deferredDeltaLegacySession}function LJ(Q){$.deferredDeltaLegacySession=Q}function E1(){$.afkModeHeaderLatched=null,$.fastModeHeaderLatched=null,$.thinkingClearLatched=null,$.lspDeferLatchedTools=null,$.deferredDeltaLegacySession=!1}function PJ(){return $.sessionEpochMs}function fJ(){return $.promptId}function CJ(Q){$.promptId=Q}function IJ(){return!1}function _J(){return null}var v1=X(()=>{V()});function WQ(){let Q=new Set;return{subscribe(J){return Q.add(J),()=>{Q.delete(J)}},emit(...J){for(let Y of Q)Y(...J)},clear(){Q.clear()}}}var xQ=()=>{};function kJ(){return $.sessionId}function EJ(Q={}){if(Q.setCurrentAsParent)$.parentSessionId=$.sessionId;return $.planSlugCache.delete($.sessionId),$.sessionId=s(),$.sessionProjectDir=null,KQ($.sessionId),$.sessionId}function vJ(){return $.parentSessionId}function gJ(Q,J=null){$.planSlugCache.delete($.sessionId),$.sessionId=Q,$.sessionProjectDir=J,KQ(Q)}function KQ(Q){$.pendingSessionWakeup=null,E1(),$.sessionEpochMs=Date.now(),UQ.emit(Q)}function yJ(){return $.sessionProjectDir}var UQ,dJ;var GQ=X(()=>{I1();v1();V();xQ();UQ=WQ();dJ=UQ.subscribe});function SJ(){return $.originalCwd}function pJ(){return $.projectRoot}function AJ(Q){$.originalCwd=Q.normalize("NFC")}function mJ(Q){$.projectRoot=Q.normalize("NFC")}function hJ(){return $.cwd}function jJ(Q){$.cwd=Q.normalize("NFC")}function nJ(){return $.directConnectServerUrl}function bJ(Q){$.directConnectServerUrl=Q}var BQ=X(()=>{V()});function iJ(){this.__data__=new d,this.size=0}var NQ;var wQ=X(()=>{g1();NQ=iJ});function uJ(Q){var J=this.__data__,Y=J.delete(Q);return this.size=J.size,Y}var zQ;var FQ=X(()=>{zQ=uJ});function TJ(Q){return this.__data__.get(Q)}var RQ;var qQ=X(()=>{RQ=TJ});function lJ(Q){return this.__data__.has(Q)}var DQ;var OQ=X(()=>{DQ=lJ});function rJ(Q,J){var Y=this.__data__;if(Y instanceof d){var Z=Y.__data__;if(!y||Z.length<cJ-1)return Z.push([Q,J]),this.size=++Y.size,this;Y=this.__data__=new a(Z)}return Y.set(Q,J),this.size=Y.size,this}var cJ=200,LQ;var PQ=X(()=>{g1();VQ();MQ();LQ=rJ});function S(Q){var J=this.__data__=new d(Q);this.size=J.size}var p;var d1=X(()=>{g1();wQ();FQ();qQ();OQ();PQ();S.prototype.clear=NQ;S.prototype.delete=zQ;S.prototype.get=RQ;S.prototype.has=DQ;S.prototype.set=LQ;p=S});function sJ(Q){return this.__data__.set(Q,oJ),this}var oJ="__lodash_hash_undefined__",fQ;var CQ=X(()=>{fQ=sJ});function aJ(Q){return this.__data__.has(Q)}var IQ;var _Q=X(()=>{IQ=aJ});function t(Q){var J=-1,Y=Q==null?0:Q.length;this.__data__=new a;while(++J<Y)this.add(Q[J])}var kQ;var EQ=X(()=>{MQ();CQ();_Q();t.prototype.add=t.prototype.push=fQ;t.prototype.has=IQ;kQ=t});function tJ(Q,J){var Y=-1,Z=Q==null?0:Q.length;while(++Y<Z)if(J(Q[Y],Y,Q))return!0;return!1}var vQ;var gQ=X(()=>{vQ=tJ});function eJ(Q,J){return Q.has(J)}var dQ;var yQ=X(()=>{dQ=eJ});function J8(Q,J,Y,Z,H,W){var x=Y&Q8,U=Q.length,B=J.length;if(U!=B&&!(x&&B>U))return!1;var K=W.get(Q),F=W.get(J);if(K&&F)return K==J&&F==Q;var z=-1,N=!0,M=Y&$8?new kQ:void 0;W.set(Q,J),W.set(J,Q);while(++z<U){var R=Q[z],D=J[z];if(Z)var f=x?Z(D,R,z,J,Q,W):Z(R,D,z,Q,J,W);if(f!==void 0){if(f)continue;N=!1;break}if(M){if(!vQ(J,function(_,k){if(!dQ(M,k)&&(R===_||H(R,_,Y,Z,W)))return M.push(k)})){N=!1;break}}else if(!(R===D||H(R,D,Y,Z,W))){N=!1;break}}return W.delete(Q),W.delete(J),N}var Q8=1,$8=2,e;var y1=X(()=>{EQ();gQ();yQ();e=J8});var Y8,S1;var SQ=X(()=>{A();Y8=q.Uint8Array,S1=Y8});function Z8(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z,H){Y[++J]=[H,Z]}),Y}var pQ;var AQ=X(()=>{pQ=Z8});function X8(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z){Y[++J]=Z}),Y}var mQ;var hQ=X(()=>{mQ=X8});function O8(Q,J,Y,Z,H,W,x){switch(Y){case D8:if(Q.byteLength!=J.byteLength||Q.byteOffset!=J.byteOffset)return!1;Q=Q.buffer,J=J.buffer;case q8:if(Q.byteLength!=J.byteLength||!W(new S1(Q),new S1(J)))return!1;return!0;case U8:case K8:case N8:return nQ(+Q,+J);case G8:return Q.name==J.name&&Q.message==J.message;case w8:case F8:return Q==J+"";case B8:var U=pQ;case z8:var B=Z&W8;if(U||(U=mQ),Q.size!=J.size&&!B)return!1;var K=x.get(Q);if(K)return K==J;Z|=x8,x.set(Q,J);var F=e(U(Q),U(J),Z,H,W,x);return x.delete(Q),F;case R8:if(p1)return p1.call(Q)==p1.call(J)}return!1}var W8=1,x8=2,U8="[object Boolean]",K8="[object Date]",G8="[object Error]",B8="[object Map]",N8="[object Number]",w8="[object RegExp]",z8="[object Set]",F8="[object String]",R8="[object Symbol]",q8="[object ArrayBuffer]",D8="[object DataView]",jQ,p1,iQ;var uQ=X(()=>{bQ();SQ();H8();y1();AQ();hQ();jQ=m?m.prototype:void 0,p1=jQ?jQ.valueOf:void 0;iQ=O8});function V8(Q,J){var Y=-1,Z=J.length,H=Q.length;while(++Y<Z)Q[H+Y]=J[Y];return Q}var TQ;var lQ=X(()=>{TQ=V8});var M8,w;var L=X(()=>{M8=Array.isArray,w=M8});function L8(Q,J,Y){var Z=J(Q);return w(Q)?Z:TQ(Z,Y(Q))}var cQ;var rQ=X(()=>{lQ();L();cQ=L8});function P8(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=0,W=[];while(++Y<Z){var x=Q[Y];if(J(x,Y,Q))W[H++]=x}return W}var oQ;var sQ=X(()=>{oQ=P8});function f8(){return[]}var aQ;var tQ=X(()=>{aQ=f8});var C8,I8,eQ,_8,Q5;var $5=X(()=>{sQ();tQ();C8=Object.prototype,I8=C8.propertyIsEnumerable,eQ=Object.getOwnPropertySymbols,_8=!eQ?aQ:function(Q){if(Q==null)return[];return Q=Object(Q),oQ(eQ(Q),function(J){return I8.call(Q,J)})},Q5=_8});function k8(Q,J){var Y=-1,Z=Array(Q);while(++Y<Q)Z[Y]=J(Y);return Z}var J5;var Y5=X(()=>{J5=k8});function E8(Q){return Q!=null&&typeof Q=="object"}var O;var h=X(()=>{O=E8});function g8(Q){return O(Q)&&P(Q)==v8}var v8="[object Arguments]",A1;var Z5=X(()=>{Q1();h();A1=g8});var X5,d8,y8,S8,$1;var m1=X(()=>{Z5();h();X5=Object.prototype,d8=X5.hasOwnProperty,y8=X5.propertyIsEnumerable,S8=A1(function(){return arguments}())?A1:function(Q){return O(Q)&&d8.call(Q,"callee")&&!y8.call(Q,"callee")},$1=S8});function p8(){return!1}var H5;var W5=X(()=>{H5=p8});var Y1={};K5(Y1,{default:()=>j});var G5,x5,A8,U5,m8,h8,j;var h1=X(()=>{A();W5();G5=typeof Y1=="object"&&Y1&&!Y1.nodeType&&Y1,x5=G5&&typeof J1=="object"&&J1&&!J1.nodeType&&J1,A8=x5&&x5.exports===G5,U5=A8?q.Buffer:void 0,m8=U5?U5.isBuffer:void 0,h8=m8||H5,j=h8});function b8(Q,J){var Y=typeof Q;return J=J==null?j8:J,!!J&&(Y=="number"||Y!="symbol"&&n8.test(Q))&&(Q>-1&&Q%1==0&&Q<J)}var j8=9007199254740991,n8,Z1;var j1=X(()=>{n8=/^(?:0|[1-9]\d*)$/;Z1=b8});function u8(Q){return typeof Q=="number"&&Q>-1&&Q%1==0&&Q<=i8}var i8=9007199254740991,n;var X1=X(()=>{n=u8});function zY(Q){return O(Q)&&n(Q.length)&&!!G[P(Q)]}var T8="[object Arguments]",l8="[object Array]",c8="[object Boolean]",r8="[object Date]",o8="[object Error]",s8="[object Function]",a8="[object Map]",t8="[object Number]",e8="[object Object]",QY="[object RegExp]",$Y="[object Set]",JY="[object String]",YY="[object WeakMap]",ZY="[object ArrayBuffer]",XY="[object DataView]",HY="[object Float32Array]",WY="[object Float64Array]",xY="[object Int8Array]",UY="[object Int16Array]",KY="[object Int32Array]",GY="[object Uint8Array]",BY="[object Uint8ClampedArray]",NY="[object Uint16Array]",wY="[object Uint32Array]",G,B5;var N5=X(()=>{Q1();X1();h();G={};G[HY]=G[WY]=G[xY]=G[UY]=G[KY]=G[GY]=G[BY]=G[NY]=G[wY]=!0;G[T8]=G[l8]=G[ZY]=G[c8]=G[XY]=G[r8]=G[o8]=G[s8]=G[a8]=G[t8]=G[e8]=G[QY]=G[$Y]=G[JY]=G[YY]=!1;B5=zY});function FY(Q){return function(J){return Q(J)}}var w5;var z5=X(()=>{w5=FY});var W1={};K5(W1,{default:()=>x1});var R5,T,qY,n1,DY,x1;var q5=X(()=>{RY();R5=typeof W1=="object"&&W1&&!W1.nodeType&&W1,T=R5&&typeof H1=="object"&&H1&&!H1.nodeType&&H1,qY=T&&T.exports===R5,n1=qY&&F5.process,DY=function(){try{var Q=T&&T.require&&T.require("util").types;if(Q)return Q;return n1&&n1.binding&&n1.binding("util")}catch(J){}}(),x1=DY});var D5,OY,U1;var b1=X(()=>{N5();z5();q5();D5=x1&&x1.isTypedArray,OY=D5?w5(D5):B5,U1=OY});function LY(Q,J){var Y=w(Q),Z=!Y&&$1(Q),H=!Y&&!Z&&j(Q),W=!Y&&!Z&&!H&&U1(Q),x=Y||Z||H||W,U=x?J5(Q.length,String):[],B=U.length;for(var K in Q)if((J||MY.call(Q,K))&&!(x&&(K=="length"||H&&(K=="offset"||K=="parent")||W&&(K=="buffer"||K=="byteLength"||K=="byteOffset")||Z1(K,B))))U.push(K);return U}var VY,MY,O5;var V5=X(()=>{Y5();m1();L();h1();j1();b1();VY=Object.prototype,MY=VY.hasOwnProperty;O5=LY});function fY(Q){var J=Q&&Q.constructor,Y=typeof J=="function"&&J.prototype||PY;return Q===Y}var PY,M5;var L5=X(()=>{PY=Object.prototype;M5=fY});function CY(Q,J){return function(Y){return Q(J(Y))}}var P5;var f5=X(()=>{P5=CY});var IY,C5;var I5=X(()=>{f5();IY=P5(Object.keys,Object),C5=IY});function EY(Q){if(!M5(Q))return C5(Q);var J=[];for(var Y in Object(Q))if(kY.call(Q,Y)&&Y!="constructor")J.push(Y);return J}var _Y,kY,_5;var k5=X(()=>{L5();I5();_Y=Object.prototype,kY=_Y.hasOwnProperty;_5=EY});function gY(Q){return Q!=null&&n(Q.length)&&!E5(Q)}var v5;var g5=X(()=>{vY();X1();v5=gY});function dY(Q){return v5(Q)?O5(Q):_5(Q)}var K1;var i1=X(()=>{V5();k5();g5();K1=dY});function yY(Q){return cQ(Q,K1,Q5)}var u1;var d5=X(()=>{rQ();$5();i1();u1=yY});function mY(Q,J,Y,Z,H,W){var x=Y&SY,U=u1(Q),B=U.length,K=u1(J),F=K.length;if(B!=F&&!x)return!1;var z=B;while(z--){var N=U[z];if(!(x?N in J:AY.call(J,N)))return!1}var M=W.get(Q),R=W.get(J);if(M&&R)return M==J&&R==Q;var D=!0;W.set(Q,J),W.set(J,Q);var f=x;while(++z<B){N=U[z];var _=Q[N],k=J[N];if(Z)var XQ=x?Z(k,_,N,J,Q,W):Z(_,k,N,Q,J,W);if(!(XQ===void 0?_===k||H(_,k,Y,Z,W):XQ)){D=!1;break}f||(f=N=="constructor")}if(D&&!f){var r=Q.constructor,o=J.constructor;if(r!=o&&(("constructor"in Q)&&("constructor"in J))&&!(typeof r=="function"&&r instanceof r&&typeof o=="function"&&o instanceof o))D=!1}return W.delete(Q),W.delete(J),D}var SY=1,pY,AY,y5;var S5=X(()=>{d5();pY=Object.prototype,AY=pY.hasOwnProperty;y5=mY});var hY,B1;var p5=X(()=>{G1();A();hY=C(q,"DataView"),B1=hY});var jY,N1;var A5=X(()=>{G1();A();jY=C(q,"Promise"),N1=jY});var nY,w1;var m5=X(()=>{G1();A();nY=C(q,"Set"),w1=nY});var bY,z1;var h5=X(()=>{G1();A();bY=C(q,"WeakMap"),z1=bY});var j5="[object Map]",uY="[object Object]",n5="[object Promise]",b5="[object Set]",i5="[object WeakMap]",u5="[object DataView]",TY,lY,cY,rY,oY,E,T1;var T5=X(()=>{p5();VQ();A5();m5();h5();Q1();iY();TY=v(B1),lY=v(y),cY=v(N1),rY=v(w1),oY=v(z1),E=P;if(B1&&E(new B1(new ArrayBuffer(1)))!=u5||y&&E(new y)!=j5||N1&&E(N1.resolve())!=n5||w1&&E(new w1)!=b5||z1&&E(new z1)!=i5)E=function(Q){var J=P(Q),Y=J==uY?Q.constructor:void 0,Z=Y?v(Y):"";if(Z)switch(Z){case TY:return u5;case lY:return j5;case cY:return n5;case rY:return b5;case oY:return i5}return J};T1=E});function tY(Q,J,Y,Z,H,W){var x=w(Q),U=w(J),B=x?c5:T1(Q),K=U?c5:T1(J);B=B==l5?F1:B,K=K==l5?F1:K;var F=B==F1,z=K==F1,N=B==K;if(N&&j(Q)){if(!j(J))return!1;x=!0,F=!1}if(N&&!F)return W||(W=new p),x||U1(Q)?e(Q,J,Y,Z,H,W):iQ(Q,J,B,Y,Z,H,W);if(!(Y&sY)){var M=F&&r5.call(Q,"__wrapped__"),R=z&&r5.call(J,"__wrapped__");if(M||R){var D=M?Q.value():Q,f=R?J.value():J;return W||(W=new p),H(D,f,Y,Z,W)}}if(!N)return!1;return W||(W=new p),y5(Q,J,Y,Z,H,W)}var sY=1,l5="[object Arguments]",c5="[object Array]",F1="[object Object]",aY,r5,o5;var s5=X(()=>{d1();y1();uQ();S5();T5();L();h1();b1();aY=Object.prototype,r5=aY.hasOwnProperty;o5=tY});function a5(Q,J,Y,Z,H){if(Q===J)return!0;if(Q==null||J==null||!O(Q)&&!O(J))return Q!==Q&&J!==J;return o5(Q,J,Y,Z,a5,H)}var R1;var l1=X(()=>{s5();h();R1=a5});function $7(Q,J,Y,Z){var H=Y.length,W=H,x=!Z;if(Q==null)return!W;Q=Object(Q);while(H--){var U=Y[H];if(x&&U[2]?U[1]!==Q[U[0]]:!(U[0]in Q))return!1}while(++H<W){U=Y[H];var B=U[0],K=Q[B],F=U[1];if(x&&U[2]){if(K===void 0&&!(B in Q))return!1}else{var z=new p;if(Z)var N=Z(K,F,B,Q,J,z);if(!(N===void 0?R1(F,K,eY|Q7,Z,z):N))return!1}}return!0}var eY=1,Q7=2,t5;var e5=X(()=>{d1();l1();t5=$7});function Y7(Q){return Q===Q&&!Q$(Q)}var q1;var c1=X(()=>{J7();q1=Y7});function Z7(Q){var J=K1(Q),Y=J.length;while(Y--){var Z=J[Y],H=Q[Z];J[Y]=[Z,H,q1(H)]}return J}var $$;var J$=X(()=>{c1();i1();$$=Z7});function X7(Q,J){return function(Y){if(Y==null)return!1;return Y[Q]===J&&(J!==void 0||(Q in Object(Y)))}}var D1;var r1=X(()=>{D1=X7});function H7(Q){var J=$$(Q);if(J.length==1&&J[0][2])return D1(J[0][0],J[0][1]);return function(Y){return Y===Q||t5(Y,Q,J)}}var Y$;var Z$=X(()=>{e5();J$();r1();Y$=H7});function x7(Q){return typeof Q=="symbol"||O(Q)&&P(Q)==W7}var W7="[object Symbol]",b;var O1=X(()=>{Q1();h();b=x7});function G7(Q,J){if(w(Q))return!1;var Y=typeof Q;if(Y=="number"||Y=="symbol"||Y=="boolean"||Q==null||b(Q))return!0;return K7.test(Q)||!U7.test(Q)||J!=null&&Q in Object(J)}var U7,K7,i;var V1=X(()=>{L();O1();U7=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,K7=/^\w*$/;i=G7});function w7(Q){var J=X$(Q,function(Z){if(Y.size===N7)Y.clear();return Z}),Y=J.cache;return J}var N7=500,H$;var W$=X(()=>{B7();H$=w7});var z7,F7,R7,x$;var U$=X(()=>{W$();z7=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,F7=/\\(\\)?/g,R7=H$(function(Q){var J=[];if(Q.charCodeAt(0)===46)J.push("");return Q.replace(z7,function(Y,Z,H,W){J.push(H?W.replace(F7,"$1"):Z||Y)}),J}),x$=R7});function q7(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=Array(Z);while(++Y<Z)H[Y]=J(Q[Y],Y,Q);return H}var K$;var G$=X(()=>{K$=q7});function w$(Q){if(typeof Q=="string")return Q;if(w(Q))return K$(Q,w$)+"";if(b(Q))return N$?N$.call(Q):"";var J=Q+"";return J=="0"&&1/Q==-D7?"-0":J}var D7=1/0,B$,N$,z$;var F$=X(()=>{bQ();G$();L();O1();B$=m?m.prototype:void 0,N$=B$?B$.toString:void 0;z$=w$});function O7(Q){return Q==null?"":z$(Q)}var R$;var q$=X(()=>{F$();R$=O7});function V7(Q,J){if(w(Q))return Q;return i(Q,J)?[Q]:x$(R$(Q))}var M1;var o1=X(()=>{L();V1();U$();q$();M1=V7});function L7(Q){if(typeof Q=="string"||b(Q))return Q;var J=Q+"";return J=="0"&&1/Q==-M7?"-0":J}var M7=1/0,I;var l=X(()=>{O1();I=L7});function P7(Q,J){J=M1(J,Q);var Y=0,Z=J.length;while(Q!=null&&Y<Z)Q=Q[I(J[Y++])];return Y&&Y==Z?Q:void 0}var L1;var s1=X(()=>{o1();l();L1=P7});function f7(Q,J,Y){var Z=Q==null?void 0:L1(Q,J);return Z===void 0?Y:Z}var D$;var O$=X(()=>{s1();D$=f7});function C7(Q,J){return Q!=null&&J in Object(Q)}var V$;var M$=X(()=>{V$=C7});function I7(Q,J,Y){J=M1(J,Q);var Z=-1,H=J.length,W=!1;while(++Z<H){var x=I(J[Z]);if(!(W=Q!=null&&Y(Q,x)))break;Q=Q[x]}if(W||++Z!=H)return W;return H=Q==null?0:Q.length,!!H&&n(H)&&Z1(x,H)&&(w(Q)||$1(Q))}var L$;var P$=X(()=>{o1();m1();L();j1();X1();l();L$=I7});function _7(Q,J){return Q!=null&&L$(Q,J,V$)}var f$;var C$=X(()=>{M$();P$();f$=_7});function v7(Q,J){if(i(Q)&&q1(J))return D1(I(Q),J);return function(Y){var Z=D$(Y,Q);return Z===void 0&&Z===J?f$(Y,Q):R1(J,Z,k7|E7)}}var k7=1,E7=2,I$;var _$=X(()=>{l1();O$();C$();V1();c1();r1();l();I$=v7});function g7(Q){return Q}var k$;var E$=X(()=>{k$=g7});function d7(Q){return function(J){return J==null?void 0:J[Q]}}var v$;var g$=X(()=>{v$=d7});function y7(Q){return function(J){return L1(J,Q)}}var d$;var y$=X(()=>{s1();d$=y7});function S7(Q){return i(Q)?v$(I(Q)):d$(Q)}var S$;var p$=X(()=>{g$();y$();V1();l();S$=S7});function p7(Q){if(typeof Q=="function")return Q;if(Q==null)return k$;if(typeof Q=="object")return w(Q)?I$(Q[0],Q[1]):Y$(Q);return S$(Q)}var A$;var m$=X(()=>{Z$();_$();E$();L();p$();A$=p7});function A7(Q,J){var Y,Z=-1,H=Q.length;while(++Z<H){var W=J(Q[Z]);if(W!==void 0)Y=Y===void 0?W:Y+W}return Y}var h$;var j$=X(()=>{h$=A7});function m7(Q,J){return Q&&Q.length?h$(Q,A$(J,2)):0}var u;var n$=X(()=>{m$();j$();u=m7});function h7(Q,J){$.totalAPIDuration+=Q,$.totalAPIDurationWithoutRetries+=J}function j7(){$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalCostUSD=0}function n7(Q,J,Y){$.modelUsage[Y]=J,$.totalCostUSD+=Q}function b7(){return $.totalCostUSD}function i7(){return $.totalAPIDuration}function u7(){if($.turnActiveSince==null)$.turnActiveSince=Date.now()}function T7(){if($.turnActiveSince!=null)$.activeDurationMs+=Date.now()-$.turnActiveSince,$.turnActiveSince=null}function l7(){return $.activeDurationMs+($.turnActiveSince!=null?Date.now()-$.turnActiveSince:0)}function c7(){return $.totalAPIDurationWithoutRetries}function r7(){return $.totalToolDuration}function o7(Q){$.totalToolDuration+=Q,$.turnToolDurationMs+=Q,$.turnToolCount++}function s7(){return $.turnHookDurationMs}function a7(Q){$.turnHookDurationMs+=Q,$.turnHookCount++}function t7(){$.turnHookDurationMs=0,$.turnHookCount=0}function e7(){return $.turnHookCount}function QZ(){return $.turnToolDurationMs}function $Z(){$.turnToolDurationMs=0,$.turnToolCount=0}function JZ(){return $.turnToolCount}function YZ(){return $.turnClassifierDurationMs}function ZZ(Q){$.turnClassifierDurationMs+=Q,$.turnClassifierCount++}function XZ(){$.turnClassifierDurationMs=0,$.turnClassifierCount=0}function HZ(){return $.turnClassifierCount}function WZ(){return $.statsStore}function xZ(Q){$.statsStore=Q}function UZ(Q){if(Q)b$();else a1=!0}function KZ(){if(a1)b$()}function b$(){$.lastInteractionTime=Date.now(),a1=!1}function GZ(Q,J){$.totalLinesAdded+=Q,$.totalLinesRemoved+=J}function BZ(){return $.totalLinesAdded}function NZ(){return $.totalLinesRemoved}function wZ(){return u(Object.values($.modelUsage),"inputTokens")}function t1(){return u(Object.values($.modelUsage),"outputTokens")}function zZ(){return u(Object.values($.modelUsage),"cacheReadInputTokens")}function FZ(){return u(Object.values($.modelUsage),"cacheCreationInputTokens")}function RZ(){return u(Object.values($.modelUsage),"webSearchRequests")}function qZ(){return t1()-e1}function DZ(){return QQ}function OZ(Q){e1=t1(),QQ=Q,f1=0}function VZ(){return f1}function MZ(){f1++}function i$(){e1=0,QQ=null,f1=0}function LZ(){$.hasUnknownModelCost=!0}function PZ(){return $.hasUnknownModelCost}function fZ(){return $.lastMainRequestId}function CZ(Q){$.lastMainRequestId=Q}function IZ(){return $.lastApiCompletionTimestamp}function _Z(Q){$.lastApiCompletionTimestamp=Q}function kZ(){$.pendingPostCompaction=!0}function EZ(){let Q=$.pendingPostCompaction;return $.pendingPostCompaction=!1,Q}function vZ(){return $.lastInteractionTime}function gZ(){if(P1=!0,c)clearTimeout(c);c=setTimeout(()=>{P1=!1,c=void 0},u$),c.unref?.()}function dZ(){return P1}async function yZ(){while(P1)await new Promise((Q)=>setTimeout(Q,u$).unref?.())}function SZ(){return $.modelUsage}function pZ(Q){return $.modelUsage[Q]}function AZ(){return $.mainLoopModelOverride}function mZ(){return $.initialMainLoopModel}function hZ(Q){$.mainLoopModelOverride=Q}function jZ(Q){$.initialMainLoopModel=Q}function nZ(){return $.sdkBetas}function bZ(Q){$.sdkBetas=Q}function iZ(){$.totalCostUSD=0,$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalToolDuration=0,$.startTime=Date.now(),$.activeDurationMs=0,$.turnActiveSince=null,$.totalLinesAdded=0,$.totalLinesRemoved=0,$.hasUnknownModelCost=!1,$.modelUsage={},$.promptId=null}function uZ({totalCostUSD:Q,totalAPIDuration:J,totalAPIDurationWithoutRetries:Y,totalToolDuration:Z,totalLinesAdded:H,totalLinesRemoved:W,lastDuration:x,modelUsage:U}){if($.totalCostUSD=Q,$.totalAPIDuration=J,$.totalAPIDurationWithoutRetries=Y,$.totalToolDuration=Z,$.totalLinesAdded=H,$.totalLinesRemoved=W,U)$.modelUsage=U;$.activeDurationMs=x??0,$.turnActiveSince=null}function TZ(){return $.modelStrings}function lZ(Q){$.modelStrings=Q}function cZ(){$.modelStrings=null}var a1=!1,e1=0,QQ=null,f1=0,P1=!1,c,u$=150;var $Q=X(()=>{n$();V()});function T3(){return JQ}function l3(Q){JQ=Q}function c3(Q){return C1.has(Q)?C1.get(Q):void 0}function r3(Q,J){C1.set(Q,J)}function o3(Q){return YQ.get(Q)}function s3(Q,J){YQ.set(Q,J)}function T$(){JQ=null,C1.clear(),YQ.clear()}function a3(){return ZQ}function t3(Q){ZQ=Q}function e3(){ZQ=void 0}var JQ=null,C1,YQ,ZQ;var l$=X(()=>{C1=new Map;YQ=new Map});function c$(){return!$.isInteractive}function rZ(){return $.isInteractive}function oZ(Q){$.isInteractive=Q}function sZ(){return $.clientType}function aZ(Q){$.clientType=Q}function tZ(){return $.sdkAgentProgressSummariesEnabled}function eZ(Q){$.sdkAgentProgressSummariesEnabled=Q}function Q6(){return $.kairosActive}function $6(Q){$.kairosActive=Q,g()}function J6(){return $.strictToolResultPairing}function Y6(Q){$.strictToolResultPairing=Q}function Z6(){return $.userMsgOptIn}function X6(Q){$.userMsgOptIn=Q,g()}function H6(){return $.sessionSource}function W6(Q){$.sessionSource=Q}function x6(){return $.questionPreviewFormat}function U6(Q){$.questionPreviewFormat=Q}function K6(){return $.agentColorMap}function G6(){return $.flagSettingsPath}function B6(Q){$.flagSettingsPath=Q}function N6(){return $.flagSettingsInline}function w6(Q){$.flagSettingsInline=Q}function z6(){return $.sessionIngressToken}function F6(Q){$.sessionIngressToken=Q}function R6(){return $.oauthTokenFromFd}function q6(Q){$.oauthTokenFromFd=Q}function D6(){return $.apiKeyFromFd}function O6(Q){$.apiKeyFromFd=Q}function V6(){return $.allowedSettingSources}function M6(Q){$.allowedSettingSources=Q}function L6(){return c$()&&$.clientType!=="claude-vscode"}function P6(Q){$.inlinePlugins=Q}function f6(){return $.inlinePlugins}function C6(Q){$.useCoworkPlugins=Q,T$()}function I6(){return $.useCoworkPlugins}function _6(Q){$.sessionBypassPermissionsMode=Q}function k6(){return $.sessionBypassPermissionsMode}function E6(Q){$.scheduledTasksEnabled=Q}function v6(){return $.scheduledTasksEnabled}var r$=X(()=>{l$();V()});function g6(Q){$.lastAPIRequest=Q}function d6(){return $.lastAPIRequest}function y6(Q){$.lastAPIRequestMessages=Q}function S6(){return $.lastAPIRequestMessages}function p6(Q){$.lastClassifierRequests=Q}function A6(){return $.lastClassifierRequests}function m6(Q){$.cachedClaudeMdContent=Q}function h6(){return $.cachedClaudeMdContent}function j6(Q){if($.inMemoryErrorLog.length>=100)$.inMemoryErrorLog.shift();$.inMemoryErrorLog.push(Q)}function n6(Q){$.initJsonSchema=Q}function b6(){return $.initJsonSchema}function i6(Q){if(!$.registeredHooks)$.registeredHooks={};for(let[J,Y]of Object.entries(Q)){let Z=J;if(!$.registeredHooks[Z])$.registeredHooks[Z]=[];$.registeredHooks[Z].push(...Y)}}function u6(){return $.registeredHooks}function T6(){$.registeredHooks=null}function l6(){if(!$.registeredHooks)return;let Q={};for(let[J,Y]of Object.entries($.registeredHooks)){let Z=Y.filter((H)=>!("pluginRoot"in H));if(Z.length>0)Q[J]=Z}$.registeredHooks=Object.keys(Q).length>0?Q:null}function c6(){$.initJsonSchema=null,$.registeredHooks=null}var o$=X(()=>{V()});function r6(){return $.sessionCronTasks}function o6(Q){$.sessionCronTasks.push(Q)}function s6(Q){if(Q.length===0)return 0;let J=new Set(Q),Y=$.sessionCronTasks.filter((H)=>!J.has(H.id)),Z=$.sessionCronTasks.length-Y.length;if(Z===0)return 0;return $.sessionCronTasks=Y,Z}function a6(){return $.pendingSessionWakeup}function t6(Q){let J=$.pendingSessionWakeup!==null;return $.pendingSessionWakeup=Q,J}function e6(){$.pendingSessionWakeup=null}function QX(Q){$.sessionTrustAccepted=Q}function $X(){return $.sessionTrustAccepted}function JX(Q){$.sessionPersistenceDisabled=Q}function YX(){return $.sessionPersistenceDisabled}function ZX(){return $.hasExitedPlanMode}function XX(Q){$.hasExitedPlanMode=Q}function HX(){return $.needsPlanModeExitAttachment}function WX(Q){$.needsPlanModeExitAttachment=Q}function xX(Q,J){if(J==="plan"&&Q!=="plan")$.needsPlanModeExitAttachment=!1;if(Q==="plan"&&J!=="plan")$.needsPlanModeExitAttachment=!0}function UX(){return $.needsAutoModeExitAttachment}function KX(Q){$.needsAutoModeExitAttachment=Q}function GX(Q,J){if(Q==="auto"&&J==="plan"||Q==="plan"&&J==="auto")return;let Y=Q==="auto",Z=J==="auto";if(Z&&!Y)$.needsAutoModeExitAttachment=!1;if(Y&&!Z)$.needsAutoModeExitAttachment=!0}function BX(){return $.planSlugCache}function NX(){return $.sessionCreatedTeams}function wX(Q){$.teleportedSessionInfo={isTeleported:!0,hasLoggedFirstMessage:!1,sessionId:Q.sessionId}}function zX(){return $.teleportedSessionInfo}function FX(){if($.teleportedSessionInfo)$.teleportedSessionInfo.hasLoggedFirstMessage=!0}function RX(Q,J,Y,Z=null){let H=`${Z??""}:${Q}`;$.invokedSkills.set(H,{skillName:Q,skillPath:J,content:Y,invokedAt:Date.now(),agentId:Z})}function qX(){return $.invokedSkills}function DX(Q){let J=Q??null,Y=new Map;for(let[Z,H]of $.invokedSkills)if(H.agentId===J)Y.set(Z,H);return Y}function OX(Q){if(!Q||Q.size===0){$.invokedSkills.clear();return}for(let[J,Y]of $.invokedSkills)if(Y.agentId===null||!Q.has(Y.agentId))$.invokedSkills.delete(J)}function VX(Q){for(let[J,Y]of $.invokedSkills)if(Y.agentId===Q)$.invokedSkills.delete(J)}function MX(){return $.mainThreadAgentType}function LX(Q){$.mainThreadAgentType=Q}function PX(){return $.isRemoteMode}function fX(Q){$.isRemoteMode=Q}var s$=X(()=>{V()});function CX(){throw Error("resetStateForTests can only be called in tests")}var a$=X(()=>{$Q();V()});var IX=X(()=>{V();v1();GQ();BQ();$Q();r$();o$();s$();a$()});
|
|
2
|
-
export{e$ as zla,QJ as Ala,$J as Bla,JJ as Cla,YJ as Dla,ZJ as Ela,XJ as Fla,HJ as Gla,WJ as Hla,xJ as Ila,UJ as Jla,KJ as Kla,GJ as Lla,BJ as Mla,NJ as Nla,wJ as Ola,zJ as Pla,FJ as Qla,RJ as Rla,qJ as Sla,DJ as Tla,OJ as Ula,VJ as Vla,MJ as Wla,LJ as Xla,E1 as Yla,PJ as Zla,fJ as _la,CJ as $la,IJ as ama,_J as bma,WQ as cma,xQ as dma,kJ as ema,EJ as fma,vJ as gma,gJ as hma,dJ as ima,yJ as jma,SJ as kma,pJ as lma,AJ as mma,mJ as nma,hJ as oma,jJ as pma,nJ as qma,bJ as rma,p as sma,d1 as tma,kQ as uma,EQ as vma,dQ as wma,yQ as xma,S1 as yma,SQ as zma,mQ as Ama,hQ as Bma,TQ as Cma,lQ as Dma,w as Ema,L as Fma,cQ as Gma,rQ as Hma,oQ as Ima,sQ as Jma,aQ as Kma,tQ as Lma,Q5 as Mma,$5 as Nma,O as Oma,h as Pma,$1 as Qma,m1 as Rma,j as Sma,h1 as Tma,Z1 as Uma,j1 as Vma,w5 as Wma,z5 as Xma,x1 as Yma,q5 as Zma,U1 as _ma,b1 as $ma,O5 as ana,V5 as bna,M5 as cna,L5 as dna,P5 as ena,f5 as fna,v5 as gna,g5 as hna,K1 as ina,i1 as jna,u1 as kna,d5 as lna,w1 as mna,m5 as nna,T1 as ona,T5 as pna,R1 as qna,l1 as rna,b as sna,O1 as tna,K$ as una,G$ as vna,R$ as wna,q$ as xna,M1 as yna,o1 as zna,I as Ana,l as Bna,L1 as Cna,s1 as Dna,k$ as Ena,E$ as Fna,A$ as Gna,m$ as Hna,h7 as Ina,j7 as Jna,n7 as Kna,b7 as Lna,i7 as Mna,u7 as Nna,T7 as Ona,l7 as Pna,c7 as Qna,r7 as Rna,o7 as Sna,s7 as Tna,a7 as Una,t7 as Vna,e7 as Wna,QZ as Xna,$Z as Yna,JZ as Zna,YZ as _na,ZZ as $na,XZ as aoa,HZ as boa,WZ as coa,xZ as doa,UZ as eoa,KZ as foa,GZ as goa,BZ as hoa,NZ as ioa,wZ as joa,t1 as koa,zZ as loa,FZ as moa,RZ as noa,qZ as ooa,DZ as poa,OZ as qoa,VZ as roa,MZ as soa,LZ as toa,PZ as uoa,fZ as voa,CZ as woa,IZ as xoa,_Z as yoa,kZ as zoa,EZ as Aoa,vZ as Boa,gZ as Coa,dZ as Doa,yZ as Eoa,SZ as Foa,pZ as Goa,AZ as Hoa,mZ as Ioa,hZ as Joa,jZ as Koa,nZ as Loa,bZ as Moa,iZ as Noa,uZ as Ooa,TZ as Poa,lZ as Qoa,cZ as Roa,T3 as Soa,l3 as Toa,c3 as Uoa,r3 as Voa,o3 as Woa,s3 as Xoa,T$ as Yoa,a3 as Zoa,t3 as _oa,e3 as $oa,l$ as apa,c$ as bpa,rZ as cpa,oZ as dpa,sZ as epa,aZ as fpa,tZ as gpa,eZ as hpa,Q6 as ipa,$6 as jpa,J6 as kpa,Y6 as lpa,Z6 as mpa,X6 as npa,H6 as opa,W6 as ppa,x6 as qpa,U6 as rpa,K6 as spa,G6 as tpa,B6 as upa,N6 as vpa,w6 as wpa,z6 as xpa,F6 as ypa,R6 as zpa,q6 as Apa,D6 as Bpa,O6 as Cpa,V6 as Dpa,M6 as Epa,L6 as Fpa,P6 as Gpa,f6 as Hpa,C6 as Ipa,I6 as Jpa,_6 as Kpa,k6 as Lpa,E6 as Mpa,v6 as Npa,g6 as Opa,d6 as Ppa,y6 as Qpa,S6 as Rpa,p6 as Spa,A6 as Tpa,m6 as Upa,h6 as Vpa,j6 as Wpa,n6 as Xpa,b6 as Ypa,i6 as Zpa,u6 as _pa,T6 as $pa,l6 as aqa,c6 as bqa,r6 as cqa,o6 as dqa,s6 as eqa,a6 as fqa,t6 as gqa,e6 as hqa,QX as iqa,$X as jqa,JX as kqa,YX as lqa,ZX as mqa,XX as nqa,HX as oqa,WX as pqa,xX as qqa,UX as rqa,KX as sqa,GX as tqa,BX as uqa,NX as vqa,wX as wqa,zX as xqa,FX as yqa,RX as zqa,qX as Aqa,DX as Bqa,OX as Cqa,VX as Dqa,MX as Eqa,LX as Fqa,PX as Gqa,fX as Hqa,CX as Iqa,IX as Jqa};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{EQ as P,KN as n,LT as p,Zu as A,dv as T,mN as K,oN as b,pN as j,rN as u,uN as I,uQ as _,vQ as f}from"./cli-1.1.35-hy9jtbmb.mjs";import{SW as M,TW as m}from"./cli-1.1.35-szkn08rr.mjs";import{Fka as Z,Ija as E,Ika as S,Kja as c,rka as F,vka as C}from"./cli-1.1.35-a7ygtwdr.mjs";import{Gla as Y,Jqa as k,cma as v,dma as g}from"./cli-1.1.35-1ceb2tjb.mjs";m();k();P();u();n();c();S();C();p();g();import*as H from"path";var r=1000,i=500,d=300,o=2000,l=typeof Bun<"u",x=null,y=null,Q=new Set,B=!1,D=!1,V=!1,X=null,W=v(),U=null;async function e(){if(B||D)return;if(B=!0,!V)V=!0,j(()=>{_(),W.emit()});let q=await t();if(q.length===0)return;Z(`Watching for changes in skill/command directories: ${q.join(", ")}...`),x=M.watch(q,{persistent:!1,ignoreInitial:!0,depth:2,awaitWriteFinish:{stabilityThreshold:U?.stabilityThreshold??r,pollInterval:U?.pollInterval??i},ignored:(w,z)=>{if(z&&!z.isFile()&&!z.isDirectory())return!0;return w.split(H.sep).some((J)=>J===".git")},ignorePermissionErrors:!0,usePolling:l,interval:U?.chokidarInterval??o,atomic:!0}),x.on("add",$),x.on("change",$),x.on("unlink",$),X=E(async()=>{await L()})}function L(){if(D=!0,X)X(),X=null;let q=Promise.resolve();if(x)q=x.close(),x=null;if(y)clearTimeout(y),y=null;return Q.clear(),W.clear(),q}var h=W.subscribe;async function t(){let q=F(),w=[],z=K("userSettings","skills");if(z)try{await q.stat(z),w.push(z)}catch{}let J=K("userSettings","commands");if(J)try{await q.stat(J),w.push(J)}catch{}let N=K("projectSettings","skills");if(N)try{let G=H.resolve(N);await q.stat(G),w.push(G)}catch{}let O=K("projectSettings","commands");if(O)try{let G=H.resolve(O);await q.stat(G),w.push(G)}catch{}for(let G of Y()){let R=H.join(G,".claudin","skills");try{await q.stat(R),w.push(R)}catch{}}return w}function $(q){Z(`Detected skill change: ${q}`),s(q)}function s(q){if(Q.add(q),y)clearTimeout(y);y=setTimeout(async()=>{y=null;let w=[...Q];Q.clear();let z=await T("skills",w[0]);if(A(z)){Z(`ConfigChange hook blocked skill reload (${w.length} paths)`);return}b(),f(),I(),W.emit()},U?.reloadDebounce??d)}async function a(q){if(x)await x.close(),x=null;if(y)clearTimeout(y),y=null;Q.clear(),W.clear(),B=!1,D=!1,U=q??null}var Uq={initialize:e,dispose:L,subscribe:h,resetForTesting:a};
|
|
2
|
-
export{Uq as ub};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{XV as f,YV as h,kV as C,mW as u,wV as d}from"./cli-1.1.35-s6n3pb03.mjs";import{LZ as w,NZ as F}from"./cli-1.1.35-kbrngf5h.mjs";import{B3 as i,w3 as O}from"./cli-1.1.35-s85hd24a.mjs";import{B7 as I,l7 as x,o7 as v,v7 as M,w7 as A}from"./cli-1.1.35-wpa5rfnt.mjs";import{Eha as j,zha as K}from"./cli-1.1.35-dnacc640.mjs";import{Eja as R,Fja as _}from"./cli-1.1.35-7p1685r1.mjs";import{Fka as J,Ika as W,ika as X,jka as P,nka as T}from"./cli-1.1.35-a7ygtwdr.mjs";import{dla as y,kla as p}from"./cli-1.1.35-w9wzew2x.mjs";import{Yra as q}from"./cli-1.1.35-c05841mj.mjs";W();j();F();_();W();p();j();v();I();T();import{randomUUID as S}from"crypto";var L=2000,k=5,c=30000,Y=3,E=new Set([4003]);function b(B){if(typeof B!=="object"||B===null||!("type"in B))return!1;return typeof B.type==="string"}class U{sessionId;orgUuid;getAccessToken;callbacks;ws=null;state="closed";reconnectAttempts=0;sessionNotFoundRetries=0;pingInterval=null;reconnectTimer=null;constructor(B,z,Q,G){this.sessionId=B;this.orgUuid=z;this.getAccessToken=Q;this.callbacks=G}async connect(){if(this.state==="connecting"){J("[SessionsWebSocket] Already connecting");return}this.state="connecting";let z=`${R().BASE_API_URL.replace("https://","wss://")}/v1/sessions/ws/${this.sessionId}/subscribe?organization_uuid=${this.orgUuid}`;J(`[SessionsWebSocket] Connecting to ${z}`);let G={Authorization:`Bearer ${this.getAccessToken()}`,"anthropic-version":"2023-06-01"};if(typeof Bun<"u"){let $=new globalThis.WebSocket(z,{headers:G,proxy:A(z),tls:x()||void 0});this.ws=$,$.addEventListener("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),$.addEventListener("message",(Z)=>{let H=typeof Z.data==="string"?Z.data:String(Z.data);this.handleMessage(H)}),$.addEventListener("error",()=>{let Z=Error("[SessionsWebSocket] WebSocket error");K(Z),this.callbacks.onError?.(Z)}),$.addEventListener("close",(Z)=>{J(`[SessionsWebSocket] Closed: code=${Z.code} reason=${Z.reason}`),this.handleClose(Z.code)}),$.addEventListener("pong",()=>{J("[SessionsWebSocket] Pong received")})}else{let{default:$}=await import("./wrapper-1.1.35-fpcy8t3v.mjs"),Z=new $(z,{headers:G,agent:M(z),...x()});this.ws=Z,Z.on("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),Z.on("message",(H)=>{this.handleMessage(H.toString())}),Z.on("error",(H)=>{K(Error(`[SessionsWebSocket] Error: ${H.message}`)),this.callbacks.onError?.(H)}),Z.on("close",(H,V)=>{J(`[SessionsWebSocket] Closed: code=${H} reason=${V.toString()}`),this.handleClose(H)}),Z.on("pong",()=>{J("[SessionsWebSocket] Pong received")})}}handleMessage(B){try{let z=P(B);if(b(z))this.callbacks.onMessage(z);else J(`[SessionsWebSocket] Ignoring message type: ${typeof z==="object"&&z!==null&&"type"in z?String(z.type):"unknown"}`)}catch(z){K(Error(`[SessionsWebSocket] Failed to parse message: ${y(z)}`))}}handleClose(B){if(this.stopPingInterval(),this.state==="closed")return;this.ws=null;let z=this.state;if(this.state="closed",E.has(B)){J(`[SessionsWebSocket] Permanent close code ${B}, not reconnecting`),this.callbacks.onClose?.();return}if(B===4001){if(this.sessionNotFoundRetries++,this.sessionNotFoundRetries>Y){J(`[SessionsWebSocket] 4001 retry budget exhausted (${Y}), not reconnecting`),this.callbacks.onClose?.();return}this.scheduleReconnect(L*this.sessionNotFoundRetries,`4001 attempt ${this.sessionNotFoundRetries}/${Y}`);return}if(z==="connected"&&this.reconnectAttempts<k)this.reconnectAttempts++,this.scheduleReconnect(L,`attempt ${this.reconnectAttempts}/${k}`);else J("[SessionsWebSocket] Not reconnecting"),this.callbacks.onClose?.()}scheduleReconnect(B,z){this.callbacks.onReconnecting?.(),J(`[SessionsWebSocket] Scheduling reconnect (${z}) in ${B}ms`),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},B)}startPingInterval(){this.stopPingInterval(),this.pingInterval=setInterval(()=>{if(this.ws&&this.state==="connected")try{this.ws.ping?.()}catch{}},c)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}sendControlResponse(B){if(!this.ws||this.state!=="connected"){K(Error("[SessionsWebSocket] Cannot send: not connected"));return}J("[SessionsWebSocket] Sending control response"),this.ws.send(X(B))}sendControlRequest(B){if(!this.ws||this.state!=="connected"){K(Error("[SessionsWebSocket] Cannot send: not connected"));return}let z={type:"control_request",request_id:S(),request:B};J(`[SessionsWebSocket] Sending control request: ${B.subtype}`),this.ws.send(X(z))}isConnected(){return this.state==="connected"}close(){if(J("[SessionsWebSocket] Closing connection"),this.state="closed",this.stopPingInterval(),this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.ws)this.ws.close(),this.ws=null}reconnect(){J("[SessionsWebSocket] Force reconnecting"),this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.close(),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},500)}}function D(B){return B.type!=="control_request"&&B.type!=="control_response"&&B.type!=="control_cancel_request"}class N{config;callbacks;websocket=null;pendingPermissionRequests=new Map;constructor(B,z){this.config=B;this.callbacks=z}connect(){J(`[RemoteSessionManager] Connecting to session ${this.config.sessionId}`);let B={onMessage:(z)=>this.handleMessage(z),onConnected:()=>{J("[RemoteSessionManager] Connected"),this.callbacks.onConnected?.()},onClose:()=>{J("[RemoteSessionManager] Disconnected"),this.callbacks.onDisconnected?.()},onReconnecting:()=>{J("[RemoteSessionManager] Reconnecting"),this.callbacks.onReconnecting?.()},onError:(z)=>{K(z),this.callbacks.onError?.(z)}};this.websocket=new U(this.config.sessionId,this.config.orgUuid,this.config.getAccessToken,B),this.websocket.connect()}handleMessage(B){if(B.type==="control_request"){this.handleControlRequest(B);return}if(B.type==="control_cancel_request"){let{request_id:z}=B,Q=this.pendingPermissionRequests.get(z);J(`[RemoteSessionManager] Permission request cancelled: ${z}`),this.pendingPermissionRequests.delete(z),this.callbacks.onPermissionCancelled?.(z,Q?.tool_use_id);return}if(B.type==="control_response"){J("[RemoteSessionManager] Received control response");return}if(D(B))this.callbacks.onMessage(B)}handleControlRequest(B){let{request_id:z,request:Q}=B;if(Q.subtype==="can_use_tool")J(`[RemoteSessionManager] Permission request for tool: ${Q.tool_name}`),this.pendingPermissionRequests.set(z,Q),this.callbacks.onPermissionRequest(Q,z);else{J(`[RemoteSessionManager] Unsupported control request subtype: ${Q.subtype}`);let G={type:"control_response",response:{subtype:"error",request_id:z,error:`Unsupported control request subtype: ${Q.subtype}`}};this.websocket?.sendControlResponse(G)}}async sendMessage(B,z){J(`[RemoteSessionManager] Sending message to session ${this.config.sessionId}`);let Q=await w(this.config.sessionId,B,z);if(!Q)K(Error(`[RemoteSessionManager] Failed to send message to session ${this.config.sessionId}`));return Q}respondToPermissionRequest(B,z){if(!this.pendingPermissionRequests.get(B)){K(Error(`[RemoteSessionManager] No pending permission request with ID: ${B}`));return}this.pendingPermissionRequests.delete(B);let G={type:"control_response",response:{subtype:"success",request_id:B,response:{behavior:z.behavior,...z.behavior==="allow"?{updatedInput:z.updatedInput}:{message:z.message}}}};J(`[RemoteSessionManager] Sending permission response: ${z.behavior}`),this.websocket?.sendControlResponse(G)}isConnected(){return this.websocket?.isConnected()??!1}cancelSession(){J("[RemoteSessionManager] Sending interrupt signal"),this.websocket?.sendControlRequest({subtype:"interrupt"})}getSessionId(){return this.config.sessionId}disconnect(){J("[RemoteSessionManager] Disconnecting"),this.websocket?.close(),this.websocket=null,this.pendingPermissionRequests.clear()}reconnect(){J("[RemoteSessionManager] Reconnecting WebSocket"),this.websocket?.reconnect()}}function $z(B,z,Q,G=!1,$=!1){return{sessionId:B,getAccessToken:z,orgUuid:Q,hasInitialPrompt:G,viewerOnly:$}}W();j();d();u();function Xz(){let B=C();if(!B?.teamName||!B?.agentName){J("[Reconnection] computeInitialTeamContext: No teammate context set (not a teammate)");return}let{teamName:z,agentId:Q,agentName:G}=B,$=h(z);if(!$){K(Error(`[computeInitialTeamContext] Could not read team file for ${z}`));return}let Z=f(z),H=!Q;return J(`[Reconnection] Computed initial team context for ${H?"leader":`teammate ${G}`} in team ${z}`),{teamName:z,teamFilePath:Z,leadAgentId:$.leadAgentId,selfAgentId:Q,selfAgentName:G,isLeader:H,teammates:{}}}function xz(B,z,Q){let G=h(z);if(!G){K(Error(`[initializeTeammateContextFromSession] Could not read team file for ${z} (agent: ${Q})`));return}let $=G.members.find((V)=>V.name===Q);if(!$)J(`[Reconnection] Member ${Q} not found in team ${z} - may have been removed`);let Z=$?.agentId,H=f(z);B((V)=>({...V,teamContext:{teamName:z,teamFilePath:H,leadAgentId:G.leadAgentId,selfAgentId:Z,selfAgentName:Q,isLeader:!1,teammates:{}}})),J(`[Reconnection] Initialized agent context from session for ${Q} in team ${z}`)}i();var m={"claude-3-opus":{modelName:"Claude 3 Opus",retirementDates:{firstParty:"January 5, 2026",bedrock:"January 15, 2026",vertex:"January 5, 2026",foundry:"January 5, 2026"}},"claude-3-7-sonnet":{modelName:"Claude 3.7 Sonnet",retirementDates:{firstParty:"February 19, 2026",bedrock:"April 28, 2026",vertex:"May 11, 2026",foundry:"February 19, 2026"}},"claude-3-5-haiku":{modelName:"Claude 3.5 Haiku",retirementDates:{firstParty:"February 19, 2026",bedrock:null,vertex:null,foundry:null}}};function l(B){let z=B.toLowerCase(),Q=O();for(let[G,$]of Object.entries(m)){let Z=$.retirementDates[Q];if(!z.includes(G)||!Z)continue;return{isDeprecated:!0,modelName:$.modelName,retirementDate:Z}}return{isDeprecated:!1}}function Uz(B){if(!B)return null;let z=l(B);if(!z.isDeprecated)return null;return`⚠ ${z.modelName} will be retired on ${z.retirementDate}. Consider switching to a newer model.`}
|
|
2
|
-
export{N as Xa,$z as Ya,Xz as Za,xz as _a,Uz as $a};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{QB as I,TB as X}from"./cli-1.1.35-hy9jtbmb.mjs";import{qla as H,yla as W}from"./cli-1.1.35-g74y15na.mjs";import{Xra as V}from"./cli-1.1.35-c05841mj.mjs";function q(f){J=f}function F(f){z=f}function K(f){N=f}function Q(){return O}function R(f,B){if(O=f,J?.(f,B),f==="requires_action"&&B)G=!0,z?.({pending_action:B});else if(G)G=!1,z?.({pending_action:null});if(f==="idle")z?.({task_summary:null});if(H(process.env.CLAUDE_CODE_EMIT_SESSION_STATE_EVENTS))I({type:"system",subtype:"session_state_changed",state:f})}function _(f){z?.(f)}function j(f){N?.(f)}var J=null,z=null,N=null,G=!1,O="idle";var Y=V(()=>{W();X()});
|
|
2
|
-
export{q as zc,F as Ac,K as Bc,Q as Cc,R as Dc,_ as Ec,j as Fc,Y as Gc};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Fka as Y,Ika as H,ika as X,nka as z}from"./cli-1.1.35-a7ygtwdr.mjs";import{dla as W,kla as $}from"./cli-1.1.35-w9wzew2x.mjs";import{Xra as Z}from"./cli-1.1.35-c05841mj.mjs";function w(q){return q.replace(P,(x,J,K)=>{if(K.length<k)return`"${J}":"[REDACTED]"`;let Q=`${K.slice(0,8)}...${K.slice(-4)}`;return`"${J}":"${Q}"`})}function B(q){let x=q.replace(/\n/g,"\\n");if(x.length<=V)return x;return x.slice(0,V)+`... (${x.length} chars)`}function C(q){let x=typeof q==="string"?q:X(q),J=w(x);if(J.length<=V)return J;return J.slice(0,V)+`... (${J.length} chars)`}function N(q){let x=W(q);if(q&&typeof q==="object"&&"response"in q){let J=q.response;if(J?.data&&typeof J.data==="object"){let K=J.data,Q=typeof K.message==="string"?K.message:typeof K.error==="object"&&K.error&&("message"in K.error)&&typeof K.error.message==="string"?K.error.message:void 0;if(Q)return`${x}: ${Q}`}}return x}function R(q){if(q&&typeof q==="object"&&"response"in q&&q.response&&typeof q.response.status==="number")return q.response.status;return}function U(q){if(!q||typeof q!=="object")return;if("message"in q&&typeof q.message==="string")return q.message;if("error"in q&&q.error!==null&&typeof q.error==="object"&&"message"in q.error&&typeof q.error.message==="string")return q.error.message;return}function m(q,x,J){if(x)Y(x)}var V=2000,O,P,k=16;var F=Z(()=>{H();$();z();O=["session_ingress_token","environment_secret","access_token","secret","token"],P=new RegExp(`"(${O.join("|")})"\\s*:\\s*"([^"]*)"`,"g")});
|
|
2
|
-
export{B as of,C as pf,N as qf,R as rf,U as sf,m as tf,F as uf};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{gU as m,hU as b,iU as H,kU as N,lU as K}from"./cli-1.1.35-7y74em05.mjs";import{A7 as O,B7 as _,i7 as x,j7 as M,m7 as D,o7 as R,y7 as L}from"./cli-1.1.35-wpa5rfnt.mjs";import{Aca as j,Cca as P,N$ as Y,dfa as X,dga as G,ifa as Z,vfa as A}from"./cli-1.1.35-dnacc640.mjs";import{qla as $,yla as I}from"./cli-1.1.35-g74y15na.mjs";import{Xra as F}from"./cli-1.1.35-c05841mj.mjs";function V(q){if(!q||!process.env.ANTHROPIC_UNIX_SOCKET)return q||{};let{ANTHROPIC_UNIX_SOCKET:z,ANTHROPIC_BASE_URL:B,ANTHROPIC_API_KEY:Q,ANTHROPIC_AUTH_TOKEN:w,CLAUDE_CODE_OAUTH_TOKEN:C,...U}=q;return U}function k(q){if(!q)return{};if(!$(process.env.CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST))return q;let z={};for(let[B,Q]of Object.entries(q))if(!H(B))z[B]=Q;return z}function p(q){if(!q||!W)return q||{};let z={};for(let[B,Q]of Object.entries(q))if(!W.has(B))z[B]=Q;return z}function J(q){return p(k(V(q)))}function S(){if(W===void 0)W=process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop"?new Set(Object.keys(process.env)):null;Object.assign(process.env,J(Y().env));for(let z of h){if(z==="policySettings")continue;if(!j(z))continue;Object.assign(process.env,J(X(z)?.env))}m(),Object.assign(process.env,J(X("policySettings")?.env));let q=J(Z()?.env);for(let[z,B]of Object.entries(q))if(N.has(z.toUpperCase()))process.env[z]=B}function a(){Object.assign(process.env,J(Y().env)),Object.assign(process.env,J(Z()?.env)),x(),D(),O(),L()}var W,h;var T=F(()=>{b();M();G();I();K();R();_();P();A();h=["userSettings","flagSettings","policySettings"]});
|
|
2
|
-
export{S as wc,a as xc,T as yc};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{M as K}from"./cli-1.1.35-qxj39xzd.mjs";import{tb as L}from"./cli-1.1.35-t8c5b3qj.mjs";import{ub as N}from"./cli-1.1.35-1gae8a5m.mjs";import{Qn as E,Rn as W,bU as J,bo as F,cU as Z,co as X}from"./cli-1.1.35-hy9jtbmb.mjs";import{PU as H,SU as Y}from"./cli-1.1.35-7mxbj45y.mjs";import{I6 as y,J6 as z,h7 as V}from"./cli-1.1.35-s85hd24a.mjs";import{oha as v,rha as Q}from"./cli-1.1.35-dnacc640.mjs";import{Qia as q,Sia as P}from"./cli-1.1.35-h06ng57d.mjs";import{qla as b,sla as j,yla as O}from"./cli-1.1.35-g74y15na.mjs";O();Y();Z();Q();V();X();P();W();function A(){if(b(process.env.CLAUDIN_EXIT_AFTER_FIRST_RENDER)||j())return;H(),J(),K(),L();let m=v()?.transport;if(m==="bedrock"&&!b(process.env.CLAUDIN_SKIP_BEDROCK_AUTH))z();if(m==="vertex"&&!b(process.env.CLAUDIN_SKIP_VERTEX_AUTH))y();if(F(q(),AbortSignal.timeout(3000),[]),E.initialize(),!j())N.initialize()}
|
|
2
|
-
export{A};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{Ora as V_,Pra as su,Rra as K_,Sra as f_}from"./cli-1.1.35-t2vx6b45.mjs";import{Vra as H,Yra as $_}from"./cli-1.1.35-c05841mj.mjs";var W_=H((k_)=>{var z_=$_("node:stream"),v=V_(),K=f_(),q=K_(),m=(_)=>_?.body instanceof z_.Readable||typeof ReadableStream<"u"&&_?.body instanceof ReadableStream,G_=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],J_=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],X_=["TimeoutError","RequestTimeout","RequestTimeoutException"],C_=[500,502,503,504],d_=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],Z_=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],A=(_)=>_?.$retryable!==void 0,p=(_)=>G_.includes(_.name),y=(_)=>_.$metadata?.clockSkewCorrected,s=(_)=>{let u=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!(_&&_ instanceof TypeError))return!1;return u.has(_.message)},J=(_)=>_.$metadata?.httpStatusCode===429||J_.includes(_.name)||_.$retryable?.throttling==!0,X=(_,u=0)=>A(_)||y(_)||_.name==="InvalidSignatureException"&&_.message?.includes("Signature expired")||X_.includes(_.name)||d_.includes(_?.code||"")||Z_.includes(_?.code||"")||C_.includes(_.$metadata?.httpStatusCode||0)||s(_)||o(_)||_.cause!==void 0&&u<=10&&X(_.cause,u+1),a=(_)=>{if(_.$metadata?.httpStatusCode!==void 0){let u=_.$metadata.httpStatusCode;if(500<=u&&u<=599&&!X(_))return!0;return!1}return!1};function o(_){return _.code==="ERR_HTTP2_STREAM_ERROR"&&_.message.includes("NGHTTP2_REFUSED_STREAM")}var e=100,Q=20000,t=500,Z=500,r=5,__=10,g=1,c="amz-sdk-invocation-id",w="amz-sdk-request";function u_(_,u){if(!K.HttpResponse.isInstance(_))return;for(let E of Object.keys(_.headers)){let O=E.toLowerCase();if(O==="retry-after"){let T=_.headers[E],b=NaN;if(T.endsWith("GMT"))try{b=(q.parseRfc7231DateTime(T).getTime()-Date.now())/1000}catch(L){u?.trace?.("Failed to parse retry-after header"),u?.trace?.(L)}else if(T.match(/ GMT, ((\d+)|(\d+\.\d+))$/))b=Number(T.match(/ GMT, ([\d.]+)$/)?.[1]);else if(T.match(/^((\d+)|(\d+\.\d+))$/))b=Number(T);else if(Date.parse(T)>=Date.now())b=(Date.parse(T)-Date.now())/1000;if(isNaN(b))return;return new Date(Date.now()+b*1000)}else if(O==="x-amz-retry-after"){let T=_.headers[E],b=Number(T);if(isNaN(b)){u?.trace?.(`Failed to parse x-amz-retry-after=${T}`);return}return new Date(Date.now()+b)}}}function H_(_,u){return u_(_,u)}var E_=(_)=>{if(_ instanceof Error)return _;if(_ instanceof Object)return Object.assign(Error(),_);if(typeof _==="string")return Error(_);return Error(`AWS SDK error wrapper for ${_}`)};function O_(_){return(u)=>(E,O)=>async(T)=>{let b=await u.retryStrategy(),L=await u.maxAttempts();if(Q_(b)){b=b;let N=await b.acquireInitialRetryToken((O.partition_id??"")+(O.__retryLongPoll?":longpoll":"")),j=Error(),Y=0,F=0,{request:I}=T,R=K.HttpRequest.isInstance(I);if(R)I.headers[c]=q.v4();while(!0)try{if(R)I.headers[w]=`attempt=${Y+1}; max=${L}`;let{response:V,output:z}=await E(T);return b.recordSuccess(N),z.$metadata.attempts=Y+1,z.$metadata.totalRetryDelay=F,{response:V,output:z}}catch(V){let z=c_(V,u.logger);if(j=E_(V),R&&_(I))throw(O.logger instanceof v.NoOpLogger?console:O.logger)?.warn("An error was encountered in a non-retryable streaming request."),j;try{N=await b.refreshRetryTokenForRetry(N,z)}catch(x){if(typeof x.$backoff==="number")await l(x.$backoff);if(!j.$metadata)j.$metadata={};throw j.$metadata.attempts=Y+1,j.$metadata.totalRetryDelay=F,j}Y=N.getRetryCount();let k=N.getRetryDelay();F+=k,await l(k)}}else{if(b=b,b?.mode)O.userAgent=[...O.userAgent||[],["cfg/retry-mode",b.mode]];return b.retry(E,T)}}}var l=(_)=>new Promise((u)=>setTimeout(u,_)),Q_=(_)=>typeof _.acquireInitialRetryToken<"u"&&typeof _.refreshRetryTokenForRetry<"u"&&typeof _.recordSuccess<"u",c_=(_,u)=>{let E={error:_,errorType:w_(_)},O=u_(_.$response,u);if(O)E.retryAfterHint=O;return E},w_=(_)=>{if(J(_))return"THROTTLING";if(X(_))return"TRANSIENT";if(a(_))return"SERVER_ERROR";return"CLIENT_ERROR"},b_={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};function B_(_){let u=O_(_);return(E)=>({applyToStack:(O)=>{O.add(u(E),b_)}})}class C{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(_){this.beta=_?.beta??0.7,this.minCapacity=_?.minCapacity??1,this.minFillRate=_?.minFillRate??0.5,this.scaleConstant=_?.scaleConstant??0.4,this.smooth=_?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(_){let u;this.updateMeasuredRate();let E=_;if(E?.errorType==="THROTTLING"||J(E?.error??_)){let b=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=b,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),u=this.cubicThrottle(b),this.enableTokenBucket()}else this.calculateTimeWindow(),u=this.cubicSuccess(this.getCurrentTimeInSeconds());let T=Math.min(u,2*this.measuredTxRate);this.updateTokenBucketRate(T)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket(_){if(!this.enabled)return;this.refillTokenBucket();while(_>this.availableTokens){let u=(_-this.availableTokens)/this.fillRate*1000;await new Promise((E)=>C.setTimeoutFn(E,u)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-_}refillTokenBucket(){let _=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=_;return}let u=(_-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+u),this.lastTimestamp=_}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(_){return this.getPrecise(_*this.beta)}cubicSuccess(_){return this.getPrecise(this.scaleConstant*Math.pow(_-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(_){this.refillTokenBucket(),this.fillRate=Math.max(_,this.minFillRate),this.maxCapacity=Math.max(_,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let _=this.getCurrentTimeInSeconds(),u=Math.floor(_*2)/2;if(this.requestCount++,u>this.lastTxRateBucket){let E=this.requestCount/(u-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(E*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=u}}getPrecise(_){return parseFloat(_.toFixed(8))}}class M{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return M.v2026?50:100}static throttlingDelay(){return M.v2026?1000:500}static cost(){return M.v2026?14:5}static throttlingCost(){return M.v2026?5:10}static modifiedCostType(){return M.v2026?"THROTTLING":"TRANSIENT"}}class T_{x=M.delay();computeNextBackoffDelay(_){let u=Math.random(),E=2,O=u*Math.min(this.x*2**_,Q);return Math.floor(O)}setDelayBase(_){this.x=_}}class h{delay;count;cost;longPoll;constructor(_,u,E,O){this.delay=_,this.count=u,this.cost=E,this.longPoll=O}getRetryCount(){return this.count}getRetryDelay(){return Math.min(Q,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}k_.RETRY_MODES=void 0;(function(_){_.STANDARD="standard",_.ADAPTIVE="adaptive"})(k_.RETRY_MODES||(k_.RETRY_MODES={}));var $=3,Y_=k_.RETRY_MODES.STANDARD,d={incompatible:1,attempts:2,capacity:3},G=class{mode=k_.RETRY_MODES.STANDARD;capacity=Z;retryBackoffStrategy;maxAttemptsProvider;baseDelay;constructor(u){if(typeof u==="number")this.maxAttemptsProvider=async()=>u;else if(typeof u==="function")this.maxAttemptsProvider=u;else if(u&&typeof u==="object")this.maxAttemptsProvider=async()=>u.maxAttempts,this.baseDelay=u.baseDelay,this.retryBackoffStrategy=u.backoff;this.maxAttemptsProvider??=async()=>$,this.baseDelay??=M.delay(),this.retryBackoffStrategy??=new T_}async acquireInitialRetryToken(u){return new h(M.delay(),0,void 0,M.v2026&&u.includes(":longpoll"))}async refreshRetryTokenForRetry(u,E){let O=await this.getMaxAttempts(),T=this.retryCode(u,E,O),b=T===0,L=u.isLongPoll?.();if(b||L){let N=E.errorType;this.retryBackoffStrategy.setDelayBase(N==="THROTTLING"?M.throttlingDelay():this.baseDelay);let j=this.retryBackoffStrategy.computeNextBackoffDelay(u.getRetryCount()),Y=j;if(E.retryAfterHint instanceof Date)Y=Math.max(j,Math.min(E.retryAfterHint.getTime()-Date.now(),j+5000));if(!b)throw Object.assign(Error("No retry token available"),{$backoff:M.v2026&&T===d.capacity&&L?Y:0});else{let F=this.getCapacityCost(N);return this.capacity-=F,new h(Y,u.getRetryCount()+1,F,u.isLongPoll?.()??!1)}}throw Error("No retry token available")}recordSuccess(u){this.capacity=Math.min(Z,this.capacity+(u.getRetryCost()??g))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(u){return console.warn(`Max attempts provider could not resolve. Using default of ${$}`),$}}retryCode(u,E,O){let T=u.getRetryCount()+1,b=this.isRetryableError(E.errorType)?0:d.incompatible,L=T<O?0:d.attempts,N=this.capacity>=this.getCapacityCost(E.errorType)?0:d.capacity;return b||L||N}getCapacityCost(u){return u===M.modifiedCostType()?M.throttlingCost():M.cost()}isRetryableError(u){return u==="THROTTLING"||u==="TRANSIENT"}},j_=class{mode=k_.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(u,E){let{rateLimiter:O}=E??{};this.rateLimiter=O??new C,this.standardRetryStrategy=E?new G({maxAttempts:typeof u==="number"?u:3,...E}):new G(u)}async acquireInitialRetryToken(u){let E=await this.standardRetryStrategy.acquireInitialRetryToken(u);return await this.rateLimiter.getSendToken(),E}async refreshRetryTokenForRetry(u,E){this.rateLimiter.updateClientSendingRate(E);let O=await this.standardRetryStrategy.refreshRetryTokenForRetry(u,E);return await this.rateLimiter.getSendToken(),O}recordSuccess(u){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(u)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};class P_ extends G{computeNextBackoffDelay;constructor(_,u=M.delay()){super(typeof _==="function"?_:async()=>_);if(typeof u==="number")this.computeNextBackoffDelay=()=>u;else this.computeNextBackoffDelay=u}async refreshRetryTokenForRetry(_,u){let E=await super.refreshRetryTokenForRetry(_,u);return E.getRetryDelay=()=>this.computeNextBackoffDelay(E.getRetryCount()),E}}var v_=(_,u)=>{let E=_,O=g,T=r,b=__,L=_,N=(I)=>I.name==="TimeoutError"?b:T,j=(I)=>N(I)<=L;return Object.freeze({hasRetryTokens:j,retrieveRetryTokens:(I)=>{if(!j(I))throw Error("No retry token available");let R=N(I);return L-=R,R},releaseRetryTokens:(I)=>{L+=I??O,L=Math.min(L,E)}})},L_=(_,u)=>Math.floor(Math.min(Q,Math.random()*2**u*_)),N_=(_)=>{if(!_)return!1;return A(_)||p(_)||J(_)||X(_)};class n{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=k_.RETRY_MODES.STANDARD;constructor(_,u){this.maxAttemptsProvider=_,this.retryDecider=u?.retryDecider??N_,this.delayDecider=u?.delayDecider??L_,this.retryQuota=u?.retryQuota??v_(Z)}shouldRetry(_,u,E){return u<E&&this.retryDecider(_)&&this.retryQuota.hasRetryTokens(_)}async getMaxAttempts(){let _;try{_=await this.maxAttemptsProvider()}catch(u){_=$}return _}async retry(_,u,E){let O,T=0,b=0,L=await this.getMaxAttempts(),{request:N}=u;if(K.HttpRequest.isInstance(N))N.headers[c]=q.v4();while(!0)try{if(K.HttpRequest.isInstance(N))N.headers[w]=`attempt=${T+1}; max=${L}`;if(E?.beforeRequest)await E.beforeRequest();let{response:j,output:Y}=await _(u);if(E?.afterRequest)E.afterRequest(j);return this.retryQuota.releaseRetryTokens(O),Y.$metadata.attempts=T+1,Y.$metadata.totalRetryDelay=b,{response:j,output:Y}}catch(j){let Y=E_(j);if(T++,this.shouldRetry(Y,T,L)){O=this.retryQuota.retrieveRetryTokens(Y);let F=this.delayDecider(J(Y)?t:e,T),I=h_(Y.$response),R=Math.max(I||0,F);b+=R,await new Promise((V)=>setTimeout(V,R));continue}if(!Y.$metadata)Y.$metadata={};throw Y.$metadata.attempts=T,Y.$metadata.totalRetryDelay=b,Y}}}var h_=(_)=>{if(!K.HttpResponse.isInstance(_))return;let u=Object.keys(_.headers).find((b)=>b.toLowerCase()==="retry-after");if(!u)return;let E=_.headers[u],O=Number(E);if(!Number.isNaN(O))return O*1000;return new Date(E).getTime()-Date.now()};class M_ extends n{rateLimiter;constructor(_,u){let{rateLimiter:E,...O}=u??{};super(_,O);this.rateLimiter=E??new C,this.mode=k_.RETRY_MODES.ADAPTIVE}async retry(_,u){return super.retry(_,u,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(E)=>{this.rateLimiter.updateClientSendingRate(E)}})}}var S="AWS_MAX_ATTEMPTS",i="max_attempts",S_={environmentVariableSelector:(_)=>{let u=_[S];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Environment variable ${S} mast be a number, got "${u}"`);return E},configFileSelector:(_)=>{let u=_[i];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Shared config file entry ${i} mast be a number, got "${u}"`);return E},default:$},i_=(_)=>{let{retryStrategy:u,retryMode:E}=_,O=v.normalizeProvider(_.maxAttempts??$),T=u?Promise.resolve(u):void 0,b=async()=>await v.normalizeProvider(E)()===k_.RETRY_MODES.ADAPTIVE?new j_(O):new G(O);return Object.assign(_,{maxAttempts:O,retryStrategy:()=>T??=b()})},U_="AWS_RETRY_MODE",I_="retry_mode",q_={environmentVariableSelector:(_)=>_[U_],configFileSelector:(_)=>_[I_],default:Y_},F_=()=>(_)=>async(u)=>{let{request:E}=u;if(K.HttpRequest.isInstance(E))delete E.headers[c],delete E.headers[w];return _(u)},R_={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},A_=(_)=>({applyToStack:(u)=>{u.addRelativeTo(F_(),R_)}}),g_=O_(m),n_=B_(m);k_.AdaptiveRetryStrategy=j_;k_.CONFIG_MAX_ATTEMPTS=i;k_.CONFIG_RETRY_MODE=I_;k_.ConfiguredRetryStrategy=P_;k_.DEFAULT_MAX_ATTEMPTS=$;k_.DEFAULT_RETRY_DELAY_BASE=e;k_.DEFAULT_RETRY_MODE=Y_;k_.DefaultRateLimiter=C;k_.DeprecatedAdaptiveRetryStrategy=M_;k_.DeprecatedStandardRetryStrategy=n;k_.ENV_MAX_ATTEMPTS=S;k_.ENV_RETRY_MODE=U_;k_.INITIAL_RETRY_TOKENS=Z;k_.INVOCATION_ID_HEADER=c;k_.MAXIMUM_RETRY_DELAY=Q;k_.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=S_;k_.NODE_RETRY_MODE_CONFIG_OPTIONS=q_;k_.NO_RETRY_INCREMENT=g;k_.REQUEST_HEADER=w;k_.RETRY_COST=r;k_.Retry=M;k_.StandardRetryStrategy=G;k_.THROTTLING_RETRY_DELAY_BASE=t;k_.TIMEOUT_RETRY_COST=__;k_.defaultDelayDecider=L_;k_.defaultRetryDecider=N_;k_.getOmitRetryHeadersPlugin=A_;k_.getRetryAfterHint=H_;k_.getRetryPlugin=n_;k_.isBrowserNetworkError=s;k_.isClockSkewCorrectedError=y;k_.isClockSkewError=p;k_.isNodeJsHttp2TransientError=o;k_.isRetryableByTrait=A;k_.isServerError=a;k_.isThrottlingError=J;k_.isTransientError=X;k_.omitRetryHeadersMiddleware=F_;k_.omitRetryHeadersMiddlewareOptions=R_;k_.resolveRetryConfig=i_;k_.retryMiddleware=g_;k_.retryMiddlewareOptions=b_});var D_=H((P)=>{Object.defineProperty(P,"__esModule",{value:!0});P.TIMEOUT_RETRY_COST=P.THROTTLING_RETRY_DELAY_BASE=P.Retry=P.RETRY_MODES=P.RETRY_COST=P.NO_RETRY_INCREMENT=P.REQUEST_HEADER=P.MAXIMUM_RETRY_DELAY=P.INVOCATION_ID_HEADER=P.INITIAL_RETRY_TOKENS=P.DEFAULT_RETRY_MODE=P.DEFAULT_RETRY_DELAY_BASE=P.DEFAULT_MAX_ATTEMPTS=P.StandardRetryStrategy=P.DefaultRateLimiter=P.ConfiguredRetryStrategy=P.AdaptiveRetryStrategy=void 0;var U=W_();Object.defineProperty(P,"AdaptiveRetryStrategy",{enumerable:!0,get:function(){return U.AdaptiveRetryStrategy}});Object.defineProperty(P,"ConfiguredRetryStrategy",{enumerable:!0,get:function(){return U.ConfiguredRetryStrategy}});Object.defineProperty(P,"DefaultRateLimiter",{enumerable:!0,get:function(){return U.DefaultRateLimiter}});Object.defineProperty(P,"StandardRetryStrategy",{enumerable:!0,get:function(){return U.StandardRetryStrategy}});Object.defineProperty(P,"DEFAULT_MAX_ATTEMPTS",{enumerable:!0,get:function(){return U.DEFAULT_MAX_ATTEMPTS}});Object.defineProperty(P,"DEFAULT_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_DELAY_BASE}});Object.defineProperty(P,"DEFAULT_RETRY_MODE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_MODE}});Object.defineProperty(P,"INITIAL_RETRY_TOKENS",{enumerable:!0,get:function(){return U.INITIAL_RETRY_TOKENS}});Object.defineProperty(P,"INVOCATION_ID_HEADER",{enumerable:!0,get:function(){return U.INVOCATION_ID_HEADER}});Object.defineProperty(P,"MAXIMUM_RETRY_DELAY",{enumerable:!0,get:function(){return U.MAXIMUM_RETRY_DELAY}});Object.defineProperty(P,"REQUEST_HEADER",{enumerable:!0,get:function(){return U.REQUEST_HEADER}});Object.defineProperty(P,"NO_RETRY_INCREMENT",{enumerable:!0,get:function(){return U.NO_RETRY_INCREMENT}});Object.defineProperty(P,"RETRY_COST",{enumerable:!0,get:function(){return U.RETRY_COST}});Object.defineProperty(P,"RETRY_MODES",{enumerable:!0,get:function(){return U.RETRY_MODES}});Object.defineProperty(P,"Retry",{enumerable:!0,get:function(){return U.Retry}});Object.defineProperty(P,"THROTTLING_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.THROTTLING_RETRY_DELAY_BASE}});Object.defineProperty(P,"TIMEOUT_RETRY_COST",{enumerable:!0,get:function(){return U.TIMEOUT_RETRY_COST}})});var yu=H((gu)=>{var wu=D_(),B={warningEmitted:!1},Bu=(_)=>{if(_&&!B.warningEmitted){if(process.env.AWS_SDK_JS_NODE_VERSION_SUPPORT_WARNING_DISABLED==="true"){B.warningEmitted=!0;return}let u=parseInt(_.substring(1,_.indexOf("."))),E=22;if(u<E)B.warningEmitted=!0,process.emitWarning(`NodeVersionSupportWarning: The AWS SDK for JavaScript (v3)
|
|
2
|
-
versions published after the first week of January 2027
|
|
3
|
-
will require node >=${E}. You are running node ${_}.
|
|
4
|
-
|
|
5
|
-
To continue receiving updates to AWS services, bug fixes,
|
|
6
|
-
and security updates please upgrade to node >=${E}.
|
|
7
|
-
|
|
8
|
-
More information can be found at: https://a.co/c895JFp`)}},vu=()=>(_,u)=>async(E)=>{return u.__retryLongPoll=!0,_(E)},hu={name:"longPollMiddleware",tags:["RETRY"],step:"initialize",override:!0},Su=(_)=>({applyToStack:(u)=>{u.add(vu(),hu)}});function iu(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}wu.Retry.v2026||=typeof process==="object"&&process.env?.AWS_NEW_RETRIES_2026==="true";function qu(_,u,E){if(!_.__aws_sdk_context)_.__aws_sdk_context={features:{}};else if(!_.__aws_sdk_context.features)_.__aws_sdk_context.features={};_.__aws_sdk_context.features[u]=E}function Au(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}gu.emitWarningIfUnsupportedVersion=Bu;gu.getLongPollPlugin=Su;gu.setCredentialFeature=iu;gu.setFeature=qu;gu.setTokenFeature=Au;gu.state=B});var ou=H((D)=>{Object.defineProperty(D,"__esModule",{value:!0});D.memoize=D.fromStatic=D.chain=D.TokenProviderError=D.CredentialsProviderError=D.ProviderError=void 0;var f=su();Object.defineProperty(D,"ProviderError",{enumerable:!0,get:function(){return f.ProviderError}});Object.defineProperty(D,"CredentialsProviderError",{enumerable:!0,get:function(){return f.CredentialsProviderError}});Object.defineProperty(D,"TokenProviderError",{enumerable:!0,get:function(){return f.TokenProviderError}});Object.defineProperty(D,"chain",{enumerable:!0,get:function(){return f.chain}});Object.defineProperty(D,"fromStatic",{enumerable:!0,get:function(){return f.fromValue}});Object.defineProperty(D,"memoize",{enumerable:!0,get:function(){return f.memoize}})});
|
|
9
|
-
export{W_ as P9,D_ as Q9,yu as R9,ou as S9};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import{d8 as x,f8 as d}from"./cli-1.1.35-85zb0hfp.mjs";import{g8 as E,h8 as C,j8 as j,k8 as $,m8 as I,n8 as u}from"./cli-1.1.35-4typvdqe.mjs";import{Eha as F,L$ as O,N$ as Z,dga as T,hba as Q,iba as X,jba as D,paa as B,qaa as b,zha as f}from"./cli-1.1.35-dnacc640.mjs";import{Fka as q,Ika as A}from"./cli-1.1.35-a7ygtwdr.mjs";import{Jqa as m,bpa as p}from"./cli-1.1.35-1ceb2tjb.mjs";import{Xra as N,Yra as R}from"./cli-1.1.35-c05841mj.mjs";import{homedir as Y}from"os";async function e(){if((await Q("which",["uv"])).code===0)return q("[it2Setup] Found uv (will use uv tool install)"),"uvx";if((await Q("which",["pipx"])).code===0)return q("[it2Setup] Found pipx package manager"),"pipx";if((await Q("which",["pip"])).code===0)return q("[it2Setup] Found pip package manager"),"pip";if((await Q("which",["pip3"])).code===0)return q("[it2Setup] Found pip3 package manager"),"pip";return q("[it2Setup] No Python package manager found"),null}async function k(){return(await Q("which",["it2"])).code===0}async function qq(z){q(`[it2Setup] Installing it2 using ${z}`);let H;switch(z){case"uvx":H=await X("uv",["tool","install","it2"],{cwd:Y()});break;case"pipx":H=await X("pipx",["install","it2"],{cwd:Y()});break;case"pip":if(H=await X("pip",["install","--user","it2"],{cwd:Y()}),H.code!==0)H=await X("pip3",["install","--user","it2"],{cwd:Y()});break}if(H.code!==0){let J=H.stderr||"Unknown installation error";return f(Error(`[it2Setup] Failed to install it2: ${J}`)),{success:!1,error:J,packageManager:z}}return q("[it2Setup] it2 installed successfully"),{success:!0,packageManager:z}}async function zq(){if(q("[it2Setup] Verifying it2 setup..."),!await k())return{success:!1,error:"it2 CLI is not installed or not in PATH"};let H=await Q("it2",["session","list"]);if(H.code!==0){let J=H.stderr.toLowerCase();if(J.includes("api")||J.includes("python")||J.includes("connection refused")||J.includes("not enabled"))return q("[it2Setup] Python API not enabled in iTerm2"),{success:!1,error:"Python API not enabled in iTerm2 preferences",needsPythonApiEnabled:!0};return{success:!1,error:H.stderr||"Failed to communicate with iTerm2"}}return q("[it2Setup] it2 setup verified successfully"),{success:!0}}function Hq(){return["Almost done! Enable the Python API in iTerm2:",""," iTerm2 → Settings → General → Magic → Enable Python API","","After enabling, you may need to restart iTerm2."]}function Jq(){if(Z().iterm2It2SetupComplete!==!0)O((H)=>({...H,iterm2It2SetupComplete:!0})),q("[it2Setup] Marked it2 setup as complete")}function Kq(z){if(Z().preferTmuxOverIterm2!==z)O((J)=>({...J,preferTmuxOverIterm2:z})),q(`[it2Setup] Set preferTmuxOverIterm2 = ${z}`)}function w(){return Z().preferTmuxOverIterm2===!0}var v=N(()=>{T();A();D();F()});async function s(){if(y)return;await import("./TmuxBackend-1.1.35-rqncjk99.mjs"),await import("./ITermBackend-1.1.35-kt3ng0j6.mjs"),y=!0}function _q(z){S=z}function $q(z){q(`[registry] registerITermBackend called, class=${z?.name||"undefined"}`),W=z}function _(){if(!S)throw Error("TmuxBackend not registered. Import TmuxBackend.ts before using the registry.");return new S}function h(){if(!W)throw Error("ITermBackend not registered. Import ITermBackend.ts before using the registry.");return new W}async function Oq(){if(await s(),K)return q(`[BackendRegistry] Using cached backend: ${K.backend.type}`),K;q("[BackendRegistry] Starting backend detection...");let z=await C(),H=$();if(q(`[BackendRegistry] Environment: insideTmux=${z}, inITerm2=${H}`),z){q("[BackendRegistry] Selected: tmux (running inside tmux session)");let L=_();return U=L,K={backend:L,isNative:!0,needsIt2Setup:!1},K}if(H){let L=w();if(L)q("[BackendRegistry] User prefers tmux over iTerm2, skipping iTerm2 detection");else{let V=await I();if(q(`[BackendRegistry] iTerm2 detected, it2 CLI available: ${V}`),V){q("[BackendRegistry] Selected: iterm2 (native iTerm2 with it2 CLI)");let M=h();return U=M,K={backend:M,isNative:!0,needsIt2Setup:!1},K}}let P=await j();if(q(`[BackendRegistry] it2 not available, tmux available: ${P}`),P){q("[BackendRegistry] Selected: tmux (fallback in iTerm2, it2 setup recommended)");let V=_();return U=V,K={backend:V,isNative:!1,needsIt2Setup:!L},K}throw q("[BackendRegistry] ERROR: iTerm2 detected but no it2 CLI and no tmux"),Error("iTerm2 detected but it2 CLI not installed. Install it2 with: pip install it2")}let J=await j();if(q(`[BackendRegistry] Not in tmux or iTerm2, tmux available: ${J}`),J){q("[BackendRegistry] Selected: tmux (external session mode)");let L=_();return U=L,K={backend:L,isNative:!1,needsIt2Setup:!1},K}throw q("[BackendRegistry] ERROR: No pane backend available"),Error(t())}function t(){switch(B()){case"macos":return`To use agent swarms, install tmux:
|
|
2
|
-
brew install tmux
|
|
3
|
-
Then start a tmux session with: tmux new-session -s claude`;case"linux":case"wsl":return`To use agent swarms, install tmux:
|
|
4
|
-
sudo apt install tmux # Ubuntu/Debian
|
|
5
|
-
sudo dnf install tmux # Fedora/RHEL
|
|
6
|
-
Then start a tmux session with: tmux new-session -s claude`;case"windows":return`To use agent swarms, you need tmux which requires WSL (Windows Subsystem for Linux).
|
|
7
|
-
Install WSL first, then inside WSL run:
|
|
8
|
-
sudo apt install tmux
|
|
9
|
-
Then start a tmux session with: tmux new-session -s claude`;default:return`To use agent swarms, install tmux using your system's package manager.
|
|
10
|
-
Then start a tmux session with: tmux new-session -s claude`}}function Eq(z){switch(z){case"tmux":return _();case"iterm2":return h()}}function jq(){return U}function yq(){return K}function Sq(){q("[BackendRegistry] Marking in-process fallback as active"),G=!0}function i(){return x()}function l(){if(p())return q("[BackendRegistry] isInProcessEnabled: true (non-interactive session)"),!0;let z=i(),H;if(z==="in-process")H=!0;else if(z==="tmux")H=!1;else{if(G)return q("[BackendRegistry] isInProcessEnabled: true (fallback after pane backend unavailable)"),!0;let J=E(),L=$();H=!J&&!L}return q(`[BackendRegistry] isInProcessEnabled: ${H} (mode=${z}, insideTmux=${E()}, inITerm2=${$()})`),H}function Wq(){return l()?"in-process":"tmux"}function Gq(){U=null,K=null,y=!1,G=!1}var U=null,K=null,y=!1,G=!1,S=null,W=null;var n=N(()=>{m();A();b();u();v();d()});
|
|
11
|
-
export{e as I7,qq as J7,zq as K7,Hq as L7,Jq as M7,Kq as N7,v as O7,s as P7,_q as Q7,$q as R7,Oq as S7,Eq as T7,jq as U7,yq as V7,Sq as W7,l as X7,Wq as Y7,Gq as Z7,n as _7};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{U3 as P,V3 as z,W3 as q,X3 as u}from"./cli-1.1.35-s85hd24a.mjs";import{U$ as V,W$ as f}from"./cli-1.1.35-dnacc640.mjs";import{Fka as C,Ija as W,Ika as I,Kja as v,rka as w,vka as F}from"./cli-1.1.35-a7ygtwdr.mjs";import{dla as Y,kla as j}from"./cli-1.1.35-w9wzew2x.mjs";import{qla as J,yla as b}from"./cli-1.1.35-g74y15na.mjs";import{Jqa as R,xpa as X,ypa as N}from"./cli-1.1.35-1ceb2tjb.mjs";import{Xra as M}from"./cli-1.1.35-c05841mj.mjs";function m(){return"claude-code/99.0.0"}function n(){let _=process.env.CLAUDE_CODE_ENTRYPOINT??"cli",A=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",D=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claudin/1.1.35 (${_}${A}${D})`}var H=()=>{};function g(){let _=X();if(_!==void 0)return _;let A=process.env.CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR;if(!A){let U=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??P,K=q(U,"session ingress token");return N(K),K}let D=parseInt(A,10);if(Number.isNaN(D))return C(`CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR must be a valid file descriptor number, got: ${A}`,{level:"error"}),N(null),null;try{let U=w(),K=process.platform==="darwin"||process.platform==="freebsd"?`/dev/fd/${D}`:`/proc/self/fd/${D}`,$=U.readFileSync(K,{encoding:"utf8"}).trim();if(!$)return C("File descriptor contained empty token",{level:"error"}),N(null),null;return C(`Successfully read token from file descriptor ${D}`),N($),z(P,$,"session ingress token"),$}catch(U){C(`Failed to read token from file descriptor ${D}: ${Y(U)}`,{level:"error"});let K=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??P,$=q(K,"session ingress token");return N($),$}}function y(){let _=process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN;if(_)return _;return g()}function a(){let _=y();if(!_)return{};if(_.startsWith("sk-ant-sid")){let A={Cookie:`sessionKey=${_}`},D=process.env.CLAUDE_CODE_ORGANIZATION_UUID;if(D)A["X-Organization-Uuid"]=D;return A}return{Authorization:`Bearer ${_}`}}function t(_){process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN=_}var k=M(()=>{R();u();I();j();F()});function B(){Q(),O=setInterval(()=>{if(V("debug","session_keepalive_heartbeat",{refcount:E}),J(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))p?.()},Z)}function d(){if(Q(),p===null)return;G=setTimeout(()=>{V("info","session_idle_30s"),G=null},Z)}function Q(){if(G!==null)clearTimeout(G),G=null}function E_(_){if(p=_,E>0&&O===null)B()}function O_(){if(p=null,O!==null)clearInterval(O),O=null;Q()}function $_(){if(J(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))p?.()}function p_(){return p!==null}function K_(_){if(E++,L.set(_,(L.get(_)??0)+1),E===1){if(x=Date.now(),p!==null&&O===null)B()}if(!S)S=!0,W(async()=>{V("info","session_activity_at_shutdown",{refcount:E,active:Object.fromEntries(L),oldest_activity_ms:E>0&&x!==null?Date.now()-x:null})})}function N_(_){if(E>0)E--;let A=(L.get(_)??0)-1;if(A>0)L.set(_,A);else L.delete(_);if(E===0&&O!==null)clearInterval(O),O=null,d()}var Z=30000,p=null,E=0,L,x=null,O=null,G=null,S=!1;var T=M(()=>{v();f();b();L=new Map});var U_;var h=M(()=>{U_={input_tokens:0,cache_creation_input_tokens:0,cache_read_input_tokens:0,output_tokens:0,output_tokens_details:{thinking_tokens:0},server_tool_use:{web_search_requests:0,web_fetch_requests:0},service_tier:"standard",cache_creation:{ephemeral_1h_input_tokens:0,ephemeral_5m_input_tokens:0},inference_geo:"",iterations:[],speed:"standard"}});
|
|
2
|
-
export{y as nW,a as oW,t as pW,k as qW,m as rW,n as sW,H as tW,E_ as uW,O_ as vW,$_ as wW,p_ as xW,K_ as yW,N_ as zW,T as AW,U_ as BW,h as CW};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$A as T,Bx as S,Cx as Zq,Dx as p,Ex as $q,Fx as V,Gx as zq,Jx as u,Kx as Wq,Sj as H,UA as g,Uj as Jq,XA as c,YA as _q,aB as Vq,iF as r,iP as h,jP as a,lP as Iq,qm as w,rm as Qq,uF as Fq,ux as m,vx as Xq,wx as d,yx as Yq}from"./cli-1.1.35-hy9jtbmb.mjs";import{IX as v,JX as y,KX as j,QY as J,SY as N,xZ as Nq}from"./cli-1.1.35-dw3fv0g8.mjs";import{$2 as q,_2 as _,a3 as G,b3 as b}from"./cli-1.1.35-b0n88pf7.mjs";import{c3 as Lq}from"./cli-1.1.35-bq7wadxz.mjs";import{ffa as B,vfa as Gq}from"./cli-1.1.35-dnacc640.mjs";import{Tra as e,Xra as qq}from"./cli-1.1.35-c05841mj.mjs";function mq({onThemeSelect:F,showIntroText:I=!1,helpText:X="",showHelpTextBelow:O=!1,hideEscToCancel:x=!1,skipExitHandling:$=!1,onCancel:A}){let[K]=v(),U=y(),{columns:i}=w(),Y=Q.useMemo(()=>g(),[]),Z=Y===null?c(K):null,{setPreviewTheme:k,savePreview:M,cancelPreview:R}=j(),z=h((L)=>L.settings.syntaxHighlightingDisabled??!1),f=a();m("ThemePicker",!0);let W=p("theme:toggleSyntaxHighlighting","ThemePicker","ctrl+t"),l=Q.useCallback(()=>{if(Y===null){let L=!z;B("userSettings",{syntaxHighlightingDisabled:L}),f((P)=>({...P,settings:{...P.settings,syntaxHighlightingDisabled:L}}))}},[Y,z,f]);d("theme:toggleSyntaxHighlighting",l,{context:"ThemePicker"});let D=S($?()=>{}:void 0),E=Q.useMemo(()=>[...[],{label:"Dark mode",value:"dark"},{label:"Light mode",value:"light"},{label:"Dark mode (colorblind-friendly)",value:"dark-daltonized"},{label:"Light mode (colorblind-friendly)",value:"light-daltonized"},{label:"Dark mode (ANSI colors only)",value:"dark-ansi"},{label:"Light mode (ANSI colors only)",value:"light-ansi"},{label:"Terminal default (inherit colors)",value:"terminal"},{label:"Dracula",value:"dracula"},{label:"Catppuccin Mocha (dark)",value:"catppuccin-mocha"},{label:"Catppuccin Latte (light)",value:"catppuccin-latte"},{label:"Tokyo Night",value:"tokyo-night"},{label:"Nord",value:"nord"},{label:"Gruvbox Dark",value:"gruvbox-dark"}],[]),o=Q.useCallback((L)=>{k(L)},[k]),n=Q.useCallback((L)=>{M(),F(L)},[M,F]),s=Q.useCallback(()=>{if(R(),$)A?.();else H(0)},[R,A,$]),t=Y==="env"?`Syntax highlighting disabled (via CLAUDIN_SYNTAX_HIGHLIGHT=${process.env.CLAUDIN_SYNTAX_HIGHLIGHT})`:z?`Syntax highlighting disabled (${W} to enable)`:Z?`Syntax theme: ${Z.theme}${Z.source?` (from ${Z.source})`:""} (${W} to disable)`:`Syntax highlighting enabled (${W} to disable)`,C=G(J,{flexDirection:"column",gap:1,children:[G(J,{flexDirection:"column",gap:1,children:[I?q(N,{children:"Let's get started."}):q(N,{bold:!0,color:"permission",children:"Theme"}),G(J,{flexDirection:"column",children:[q(N,{bold:!0,children:"Choose the text style that looks best with your terminal"}),X&&!O?q(N,{dimColor:!0,children:X}):null]}),q(r,{options:E,onFocus:o,onChange:n,onCancel:s,visibleOptionCount:E.length,defaultValue:U,defaultFocusValue:U})]}),G(J,{flexDirection:"column",width:"100%",children:[q(J,{flexDirection:"column",borderTop:!0,borderBottom:!0,borderLeft:!1,borderRight:!1,borderStyle:"dashed",borderColor:"subtle",children:q(Oq,{patch:Aq,dim:!1,filePath:"demo.js",firstLine:null,width:i})},K),G(N,{dimColor:!0,children:[" ",t]})]})]});if(!I)return G(_,{children:[q(J,{flexDirection:"column",children:C}),O&&X?q(J,{marginLeft:3,children:q(N,{dimColor:!0,children:X})}):null,!x?q(J,{marginTop:1,children:q(N,{dimColor:!0,italic:!0,children:D.pending?G(_,{children:["Press ",D.keyName," again to exit"]}):G(u,{children:[q(V,{shortcut:"Enter",action:"select"}),q(V,{shortcut:"Esc",action:"cancel"})]})})}):null]});return C}var Q,Oq,Aq;var Kq=qq(()=>{Zq();Qq();Nq();Xq();Yq();$q();Iq();Jq();Gq();Fq();Wq();zq();_q();Vq();b();Q=e(Lq(),1),Oq=T,Aq={oldStart:1,newStart:1,oldLines:3,newLines:3,lines:[" function greet() {",'- console.log("Hello, World!");','+ console.log("Hello, Claude!");'," }"]}});
|
|
2
|
-
export{mq as th,Kq as uh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{EX as u2,IX as Z,QY as Y,SY as u,xZ as e2}from"./cli-1.1.35-dw3fv0g8.mjs";import{$2 as t,a3 as o,b3 as U}from"./cli-1.1.35-b0n88pf7.mjs";import{G$ as X,I$ as j}from"./cli-1.1.35-dnacc640.mjs";import{Tra as s}from"./cli-1.1.35-c05841mj.mjs";e2();j();U();var Q=s(u2(),1),K=58;function c2(){let l=Q.c(35),[e]=Z();if(X.terminal==="Apple_Terminal"){let c;if(l[0]!==e)c=t(t2,{theme:e,welcomeMessage:"Welcome to Claudin"}),l[0]=e,l[1]=c;else c=l[1];return c}if(["light","light-daltonized","light-ansi"].includes(e)){let c,O,R,k,A,a,I,i,V;if(l[2]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","1.1.35"," "]})]}),O=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),R=t(u,{children:" "}),k=t(u,{children:" "}),A=t(u,{children:" "}),a=t(u,{children:" ░░░░░░ "}),I=t(u,{children:" ░░░ ░░░░░░░░░░ "}),i=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),V=t(u,{children:" "}),l[2]=c,l[3]=O,l[4]=R,l[5]=k,l[6]=A,l[7]=a,l[8]=I,l[9]=i,l[10]=V;else c=l[2],O=l[3],R=l[4],k=l[5],A=l[6],a=l[7],I=l[8],i=l[9],V=l[10];let M;if(l[11]===Symbol.for("react.memo_cache_sentinel"))M=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),l[11]=M;else M=l[11];let E,W;if(l[12]===Symbol.for("react.memo_cache_sentinel"))E=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),W=t(u,{children:" ▒▒ ██ ▒"}),l[12]=E,l[13]=W;else E=l[12],W=l[13];let N;if(l[14]===Symbol.for("react.memo_cache_sentinel"))N=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ▒▒░░▒▒ ▒ ▒▒"]}),l[14]=N;else N=l[14];let L;if(l[15]===Symbol.for("react.memo_cache_sentinel"))L=o(u,{children:[" ",t(u,{color:"clawd_body",backgroundColor:"clawd_background",children:"██▄█████▄██"})," ▒▒ ▒▒ "]}),l[15]=L;else L=l[15];let P;if(l[16]===Symbol.for("react.memo_cache_sentinel"))P=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ░ ▒ "]}),l[16]=P;else P=l[16];let v;if(l[17]===Symbol.for("react.memo_cache_sentinel"))v=t(Y,{width:K,children:o(u,{children:[c,O,R,k,A,a,I,i,V,M,E,W,N,L,P,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"……………………………………………………………………░…………………………▒…………"]})]})}),l[17]=v;else v=l[17];return v}let B,r,D,T,d,m,n;if(l[18]===Symbol.for("react.memo_cache_sentinel"))B=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","1.1.35"," "]})]}),r=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),D=t(u,{children:" "}),T=t(u,{children:" * █████▓▓░ "}),d=t(u,{children:" * ███▓░ ░░ "}),m=t(u,{children:" ░░░░░░ ███▓░ "}),n=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),l[18]=B,l[19]=r,l[20]=D,l[21]=T,l[22]=d,l[23]=m,l[24]=n;else B=l[18],r=l[19],D=l[20],T=l[21],d=l[22],m=l[23],n=l[24];let b,f,_,y,h;if(l[25]===Symbol.for("react.memo_cache_sentinel"))_=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),y=t(u,{children:" ░▓▓███▓▓░ "}),h=t(u,{dimColor:!0,children:" * ░░░░ "}),b=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),f=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),l[25]=b,l[26]=f,l[27]=_,l[28]=y,l[29]=h;else b=l[25],f=l[26],_=l[27],y=l[28],h=l[29];let C;if(l[30]===Symbol.for("react.memo_cache_sentinel"))C=t(u,{color:"clawd_body",children:" █████████ "}),l[30]=C;else C=l[30];let S;if(l[31]===Symbol.for("react.memo_cache_sentinel"))S=o(u,{children:[" ",C," ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),l[31]=S;else S=l[31];let w;if(l[32]===Symbol.for("react.memo_cache_sentinel"))w=o(u,{children:[" ",t(u,{color:"clawd_body",children:"██▄█████▄██"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),l[32]=w;else w=l[32];let g;if(l[33]===Symbol.for("react.memo_cache_sentinel"))g=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," * "]}),l[33]=g;else g=l[33];let p;if(l[34]===Symbol.for("react.memo_cache_sentinel"))p=t(Y,{width:K,children:o(u,{children:[B,r,D,T,d,m,n,_,y,h,b,f,S,w,g,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"………………………………………………………………………………………………………………"]})]})}),l[34]=p;else p=l[34];return p}function t2(l){let e=Q.c(44),{theme:B,welcomeMessage:r}=l;if(["light","light-daltonized","light-ansi"].includes(B)){let a;if(e[0]!==r)a=o(u,{color:"claude",children:[r," "]}),e[0]=r,e[1]=a;else a=e[1];let I;if(e[2]===Symbol.for("react.memo_cache_sentinel"))I=o(u,{dimColor:!0,children:["v","1.1.35"," "]}),e[2]=I;else I=e[2];let i;if(e[3]!==a)i=o(u,{children:[a,I]}),e[3]=a,e[4]=i;else i=e[4];let V,M,E,W,N,L,P,v;if(e[5]===Symbol.for("react.memo_cache_sentinel"))E=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),W=t(u,{children:" "}),N=t(u,{children:" "}),L=t(u,{children:" "}),P=t(u,{children:" ░░░░░░ "}),v=t(u,{children:" ░░░ ░░░░░░░░░░ "}),V=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),M=t(u,{children:" "}),e[5]=V,e[6]=M,e[7]=E,e[8]=W,e[9]=N,e[10]=L,e[11]=P,e[12]=v;else V=e[5],M=e[6],E=e[7],W=e[8],N=e[9],L=e[10],P=e[11],v=e[12];let z;if(e[13]===Symbol.for("react.memo_cache_sentinel"))z=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),e[13]=z;else z=e[13];let $,x,H;if(e[14]===Symbol.for("react.memo_cache_sentinel"))$=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),x=t(u,{children:" ▒▒ ██ ▒"}),H=t(u,{children:" ▒▒░░▒▒ ▒ ▒▒"}),e[14]=$,e[15]=x,e[16]=H;else $=e[14],x=e[15],H=e[16];let q;if(e[17]===Symbol.for("react.memo_cache_sentinel"))q=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"})," ▒▒ ▒▒ "]}),e[17]=q;else q=e[17];let F;if(e[18]===Symbol.for("react.memo_cache_sentinel"))F=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," ░ ▒ "]}),e[18]=F;else F=e[18];let G;if(e[19]===Symbol.for("react.memo_cache_sentinel"))G=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"……………………………………………………………………░…………………………▒…………"]}),e[19]=G;else G=e[19];let J;if(e[20]!==i)J=t(Y,{width:K,children:o(u,{children:[i,E,W,N,L,P,v,V,M,z,$,x,H,q,F,G]})}),e[20]=i,e[21]=J;else J=e[21];return J}let T;if(e[22]!==r)T=o(u,{color:"claude",children:[r," "]}),e[22]=r,e[23]=T;else T=e[23];let d;if(e[24]===Symbol.for("react.memo_cache_sentinel"))d=o(u,{dimColor:!0,children:["v","1.1.35"," "]}),e[24]=d;else d=e[24];let m;if(e[25]!==T)m=o(u,{children:[T,d]}),e[25]=T,e[26]=m;else m=e[26];let n,b,f,_,y,h;if(e[27]===Symbol.for("react.memo_cache_sentinel"))n=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),b=t(u,{children:" "}),f=t(u,{children:" * █████▓▓░ "}),_=t(u,{children:" * ███▓░ ░░ "}),y=t(u,{children:" ░░░░░░ ███▓░ "}),h=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),e[27]=n,e[28]=b,e[29]=f,e[30]=_,e[31]=y,e[32]=h;else n=e[27],b=e[28],f=e[29],_=e[30],y=e[31],h=e[32];let C,S,w,g,p;if(e[33]===Symbol.for("react.memo_cache_sentinel"))C=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),S=t(u,{children:" ░▓▓███▓▓░ "}),w=t(u,{dimColor:!0,children:" * ░░░░ "}),g=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),p=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),e[33]=C,e[34]=S,e[35]=w,e[36]=g,e[37]=p;else C=e[33],S=e[34],w=e[35],g=e[36],p=e[37];let c;if(e[38]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[" ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),e[38]=c;else c=e[38];let O;if(e[39]===Symbol.for("react.memo_cache_sentinel"))O=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),e[39]=O;else O=e[39];let R;if(e[40]===Symbol.for("react.memo_cache_sentinel"))R=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," * "]}),e[40]=R;else R=e[40];let k;if(e[41]===Symbol.for("react.memo_cache_sentinel"))k=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"………………………………………………………………………………………………………………"]}),e[41]=k;else k=e[41];let A;if(e[42]!==m)A=t(Y,{width:K,children:o(u,{children:[m,n,b,f,_,y,h,C,S,w,g,p,c,O,R,k]})}),e[42]=m,e[43]=A;else A=e[43];return A}
|
|
2
|
-
export{c2 as Q};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$9 as H,r_ as N}from"./cli-1.1.35-4g77zek0.mjs";import{ika as E,jka as F,nka as M}from"./cli-1.1.35-a7ygtwdr.mjs";N();M();function V(z){let C=Buffer.from(z,"base64url").toString("utf-8"),q=F(C);if(!q||typeof q!=="object"||!("version"in q)||q.version!==1)throw Error(`Unsupported work secret version: ${q&&typeof q==="object"&&"version"in q?q.version:"unknown"}`);let A=q;if(typeof A.session_ingress_token!=="string"||A.session_ingress_token.length===0)throw Error("Invalid work secret: missing or empty session_ingress_token");if(typeof A.api_base_url!=="string")throw Error("Invalid work secret: missing api_base_url");return q}function W(z,C){let q=new URL(z).hostname,A=q==="localhost"||q==="127.0.0.1",D=A?"ws":"wss",J=A?"v2":"v1",K=z.replace(/^https?:\/\//,"").replace(/\/+$/,"");return`${D}://${K}/${J}/session_ingress/ws/${C}`}function X(z,C){if(z===C)return!0;let q=z.slice(z.lastIndexOf("_")+1),A=C.slice(C.lastIndexOf("_")+1);return q.length>=4&&q===A}function Y(z,C){return`${z.replace(/\/+$/,"")}/v1/code/sessions/${C}`}async function Z(z,C){let q=await H.post(`${z}/worker/register`,{},{headers:{Authorization:`Bearer ${C}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"},timeout:1e4}),A=q.data?.worker_epoch,D=typeof A==="string"?Number(A):A;if(typeof D!=="number"||!Number.isFinite(D)||!Number.isSafeInteger(D))throw Error(`registerWorker: invalid worker_epoch in response: ${E(q.data)}`);return D}
|
|
2
|
-
export{V as ia,W as ja,X as ka,Y as la,Z as ma};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Lo as m,No as A,Oo as v,fO as C,jO as E,qp as L,ro as U,rp as R,so as F,vp as D}from"./cli-1.1.35-hy9jtbmb.mjs";import{Eha as y,Pda as H,Xda as f,dfa as B,ffa as M,vfa as j,zha as N}from"./cli-1.1.35-dnacc640.mjs";import{Qia as G,Sia as b}from"./cli-1.1.35-h06ng57d.mjs";import{Fka as w,Ika as h}from"./cli-1.1.35-a7ygtwdr.mjs";import{Xra as _}from"./cli-1.1.35-c05841mj.mjs";import{join as T}from"path";function g(){let q=new Map,Q=U();for(let[x,z]of Object.entries(Q)){if(!x.includes("@"))continue;if(z===!0)q.set(x,"flag");else if(z===!1)q.delete(x)}let X=[{scope:"managed",source:"policySettings"},{scope:"user",source:"userSettings"},{scope:"project",source:"projectSettings"},{scope:"local",source:"localSettings"},{scope:"flag",source:"flagSettings"}];for(let{scope:x,source:z}of X){let Z=B(z);if(!Z?.enabledPlugins)continue;for(let[J,V]of Object.entries(Z.enabledPlugins)){if(!J.includes("@"))continue;if(J in Q&&Q[J]!==V)w(`Plugin ${J} from --add-dir (${Q[J]}) overridden by ${z} (${V})`);if(V===!0)q.set(J,x);else if(V===!1)q.delete(J)}}return w(`Found ${q.size} enabled plugins with scopes: ${Array.from(q.entries()).map(([x,z])=>`${x}(${z})`).join(", ")}`),q}function i(q){return m[q]}async function n(q,Q,X="user"){let x=X!=="user"?G():void 0,z=A(X),Z=B(z),J={...Z?.enabledPlugins},V=[],k=[];for(let $=0;$<q.length;$++){let K=q[$];if(!K)continue;if(Q)Q(K,$+1,q.length);try{let W=await C(K);if(!W){k.push({name:K,error:"Plugin not found in any marketplace"});continue}let{entry:Y,marketplaceInstallLocation:O}=W;if(!H(Y.source))await L(K,Y,X,x);else R({pluginId:K,installPath:T(O,Y.source),version:Y.version},X,x);J[K]=!0,V.push(K)}catch(W){let Y=W instanceof Error?W.message:String(W);k.push({name:K,error:Y}),N(W)}}return M(z,{...Z,enabledPlugins:J}),{installed:V,failed:k}}var S=_(()=>{b();h();y();j();F();E();v();D();f()});
|
|
2
|
-
export{g as Ld,i as Md,n as Nd,S as Od};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
function t(s){if(s===null||typeof s!=="object")return s;let e=s;if("requestId"in e&&!("request_id"in e))e.request_id=e.requestId,delete e.requestId;if("response"in e&&e.response!==null&&typeof e.response==="object"){let n=e.response;if("requestId"in n&&!("request_id"in n))n.request_id=n.requestId,delete n.requestId}return s}
|
|
2
|
-
export{t as Db};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Cm as W,Fm as P,LK as Y,mS as R,rk as Q,sk as I}from"./cli-1.1.35-hy9jtbmb.mjs";import{Fha as B,Gha as f}from"./cli-1.1.35-r4rm2297.mjs";import{Zia as H,_ia as J,vja as F}from"./cli-1.1.35-h06ng57d.mjs";import{Jqa as $,ema as x}from"./cli-1.1.35-1ceb2tjb.mjs";import{Xra as Z}from"./cli-1.1.35-c05841mj.mjs";import{randomUUID as U}from"crypto";function S(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:h.message,uuid:h.uuid,requestId:void 0,timestamp:new Date().toISOString()}];case"user":return[{type:"user",message:h.message,uuid:h.uuid??U(),timestamp:h.timestamp??new Date().toISOString(),isMeta:h.isSynthetic}];case"system":if(h.subtype==="compact_boundary")return[{type:"system",content:"Conversation compacted",level:"info",subtype:"compact_boundary",compactMetadata:X(h.compact_metadata),uuid:h.uuid,timestamp:new Date().toISOString()}];return[];default:return[]}})}function V(j){let h=j.preservedSegment;return{trigger:j.trigger,pre_tokens:j.preTokens,...h&&{preserved_segment:{head_uuid:h.headUuid,anchor_uuid:h.anchorUuid,tail_uuid:h.tailUuid}}}}function X(j){let h=j.preserved_segment;return{trigger:j.trigger,preTokens:j.pre_tokens,...h&&{preservedSegment:{headUuid:h.head_uuid,anchorUuid:h.anchor_uuid,tailUuid:h.tail_uuid}}}}function r(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:{...z(h),stop_details:null},session_id:x(),parent_tool_use_id:null,uuid:h.uuid,error:h.error}];case"user":return[{type:"user",message:h.message,session_id:x(),parent_tool_use_id:null,uuid:h.uuid,timestamp:h.timestamp,isSynthetic:h.isMeta||h.isVisibleInTranscriptOnly,...h.toolUseResult!==void 0?{tool_use_result:h.toolUseResult}:{}}];case"system":if(h.subtype==="compact_boundary"&&h.compactMetadata)return[{type:"system",subtype:"compact_boundary",session_id:x(),uuid:h.uuid,compact_metadata:V(h.compactMetadata)}];if(h.subtype==="local_command"&&(h.content.includes(`<${H}>`)||h.content.includes(`<${J}>`)))return[w(h.content,h.uuid)];return[];default:return[]}})}function w(j,h){let v=B(j).replace(/<local-command-stdout>([\s\S]*?)<\/local-command-stdout>/,"$1").replace(/<local-command-stderr>([\s\S]*?)<\/local-command-stderr>/,"$1").trim();return{type:"assistant",message:{...Y({content:v}).message,stop_details:null},parent_tool_use_id:null,session_id:x(),uuid:h}}function T(j){if(!j)return;return{status:j.status,...j.resetsAt!==void 0&&{resetsAt:j.resetsAt},...j.rateLimitType!==void 0&&{rateLimitType:j.rateLimitType},...j.utilization!==void 0&&{utilization:j.utilization},...j.overageStatus!==void 0&&{overageStatus:j.overageStatus},...j.overageResetsAt!==void 0&&{overageResetsAt:j.overageResetsAt},...j.overageDisabledReason!==void 0&&{overageDisabledReason:j.overageDisabledReason},...j.isUsingOverage!==void 0&&{isUsingOverage:j.isUsingOverage},...j.surpassedThreshold!==void 0&&{surpassedThreshold:j.surpassedThreshold}}}function z(j){let h=j.message.content;if(!Array.isArray(h))return j.message;let v=h.map((q)=>{if(q.type!=="tool_use")return q;if(q.name===Q){let y=W();if(y)return{...q,input:{...q.input,plan:y}}}return q});return{...j.message,content:v}}var G=Z(()=>{$();F();I();f();R();P()});
|
|
2
|
-
export{S as We,V as Xe,X as Ye,r as Ze,w as _e,T as $e,G as af};
|