@claudiolabs/claudin 1.1.21 → 1.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AgentTool-1.1.23-vycpz7yt.mjs +1 -0
- package/dist/chunks/App-1.1.23-4e8j2bd3.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.23-zst4089h.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.23-5hcs6ecz.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.23-dd0gy0z6.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.23-st6gcnzm.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.23-9q5hv0m5.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.23-37xx0cvg.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.23-0mhma9am.mjs +6 -0
- package/dist/chunks/Doctor-1.1.23-er5wr07d.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.23-r0q2mdyq.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.23-9w1hnwqa.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.23-pceysmem.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.23-wqg7m1yb.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.23-jvwd5evb.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.23-12qbzfp4.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.23-gz4gqcm4.mjs +1 -0
- package/dist/chunks/REPL-1.1.23-vg0qg9my.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.23-ma5pytfz.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.23-j0x7q43m.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.23-5fbd2jd2.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.23-zx9qhe0w.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.23-2fpwy0ej.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.23-fjghg3n9.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.23-ct6qdm0d.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.23-ajcjhwrt.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.23-taz5qq4d.mjs +1 -0
- package/dist/chunks/add-dir-1.1.23-yb7mzffx.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.23-779zy67c.mjs +1 -0
- package/dist/chunks/agents-1.1.23-13ae3y31.mjs +110 -0
- package/dist/chunks/agents-1.1.23-mz2jsne2.mjs +3 -0
- package/dist/chunks/api-1.1.23-sadzsv9h.mjs +1 -0
- package/dist/chunks/asciicast-1.1.23-ccrtpq7h.mjs +1 -0
- package/dist/chunks/assistant-1.1.23-35t6yajq.mjs +1 -0
- package/dist/chunks/auth-1.1.23-2mazt66r.mjs +1 -0
- package/dist/chunks/auth-1.1.23-f804wpq0.mjs +1 -0
- package/dist/chunks/autoMode-1.1.23-14t0khqy.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.23-xxctnwmg.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.23-wjwsw0rs.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.23-pdgb72sw.mjs +1 -0
- package/dist/chunks/branch-1.1.23-df4c0964.mjs +4 -0
- package/dist/chunks/bridge-1.1.23-kkp1c9j5.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.23-5xm11ndj.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.23-tjahj3z4.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.23-0pzcvrp1.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.23-6rp86r12.mjs +1 -0
- package/dist/chunks/btw-1.1.23-8eq1q86j.mjs +1 -0
- package/dist/chunks/buddy-1.1.23-1raw3vjp.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.23-t476aagd.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.23-r3dg9dbs.mjs +4 -0
- package/dist/chunks/caches-1.1.23-6eegsnhk.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.1.23-rwmxta3h.mjs +1 -0
- package/dist/chunks/claudemd-1.1.23-av012etb.mjs +1 -0
- package/dist/chunks/clear-1.1.23-z6d1gwfs.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.23-stp5kwm2.mjs +1 -0
- package/dist/chunks/cli-1.1.23-08g4ya29.mjs +2 -0
- package/dist/chunks/cli-1.1.23-0mg2h5ny.mjs +4 -0
- package/dist/chunks/cli-1.1.23-13w02myd.mjs +2 -0
- package/dist/chunks/cli-1.1.23-18zz9bbk.mjs +2 -0
- package/dist/chunks/cli-1.1.23-1a2n71wn.mjs +5 -0
- package/dist/chunks/cli-1.1.23-1e9zjn1z.mjs +3 -0
- package/dist/chunks/cli-1.1.23-1fexxp20.mjs +2 -0
- package/dist/chunks/cli-1.1.23-1fy18jhn.mjs +4 -0
- package/dist/chunks/cli-1.1.23-1r6w3hc9.mjs +2 -0
- package/dist/chunks/cli-1.1.23-1rea0qrn.mjs +2 -0
- package/dist/chunks/cli-1.1.23-1rv4y64b.mjs +2 -0
- package/dist/chunks/cli-1.1.23-2arbhkcc.mjs +24 -0
- package/dist/chunks/cli-1.1.23-2cqrzcwp.mjs +4 -0
- package/dist/chunks/cli-1.1.23-2g7503ny.mjs +133 -0
- package/dist/chunks/cli-1.1.23-2gax24jg.mjs +2 -0
- package/dist/chunks/cli-1.1.23-2swa87qn.mjs +2 -0
- package/dist/chunks/cli-1.1.23-2zmj7bmt.mjs +2 -0
- package/dist/chunks/cli-1.1.23-39e6gsmv.mjs +7 -0
- package/dist/chunks/cli-1.1.23-3hnz7314.mjs +2 -0
- package/dist/chunks/cli-1.1.23-3myqt8k1.mjs +2 -0
- package/dist/chunks/cli-1.1.23-3t45wkcy.mjs +2 -0
- package/dist/chunks/cli-1.1.23-3tbvgbsz.mjs +24 -0
- package/dist/chunks/cli-1.1.23-3v88zfgv.mjs +2 -0
- package/dist/chunks/cli-1.1.23-3vzk6gte.mjs +2 -0
- package/dist/chunks/cli-1.1.23-4r2e2zqk.mjs +2 -0
- package/dist/chunks/cli-1.1.23-4tcfdexs.mjs +3 -0
- package/dist/chunks/cli-1.1.23-4z00tj56.mjs +20 -0
- package/dist/chunks/cli-1.1.23-534g4n3n.mjs +2 -0
- package/dist/chunks/cli-1.1.23-5bcs19jr.mjs +2 -0
- package/dist/chunks/cli-1.1.23-5jka5ps0.mjs +2 -0
- package/dist/chunks/cli-1.1.23-5nf6hd1y.mjs +3 -0
- package/dist/chunks/cli-1.1.23-5xfyp6fr.mjs +2 -0
- package/dist/chunks/cli-1.1.23-61q858yx.mjs +24 -0
- package/dist/chunks/cli-1.1.23-67rrc0m6.mjs +6 -0
- package/dist/chunks/cli-1.1.23-6801e7pm.mjs +34 -0
- package/dist/chunks/cli-1.1.23-69bhvv0j.mjs +2 -0
- package/dist/chunks/cli-1.1.23-6d34yw4z.mjs +2 -0
- package/dist/chunks/cli-1.1.23-6dmkrxmn.mjs +3 -0
- package/dist/chunks/cli-1.1.23-6eg5g01d.mjs +2 -0
- package/dist/chunks/cli-1.1.23-6f46jqfm.mjs +2 -0
- package/dist/chunks/cli-1.1.23-6fa2z4j7.mjs +2 -0
- package/dist/chunks/cli-1.1.23-6jn1rxac.mjs +3 -0
- package/dist/chunks/cli-1.1.23-6svwd47h.mjs +2 -0
- package/dist/chunks/cli-1.1.23-6vn61k3h.mjs +4 -0
- package/dist/chunks/cli-1.1.23-6zb0fha5.mjs +2 -0
- package/dist/chunks/cli-1.1.23-7081am2r.mjs +60 -0
- package/dist/chunks/cli-1.1.23-73rtfe6f.mjs +2 -0
- package/dist/chunks/cli-1.1.23-7672wfdw.mjs +2 -0
- package/dist/chunks/cli-1.1.23-79fjt009.mjs +2 -0
- package/dist/chunks/cli-1.1.23-7btdskbp.mjs +2 -0
- package/dist/chunks/cli-1.1.23-7jpsfgxt.mjs +2 -0
- package/dist/chunks/cli-1.1.23-7ke90t8x.mjs +2 -0
- package/dist/chunks/cli-1.1.23-7p15pph2.mjs +2 -0
- package/dist/chunks/cli-1.1.23-84j1qdx5.mjs +2 -0
- package/dist/chunks/cli-1.1.23-89dm39zw.mjs +2 -0
- package/dist/chunks/cli-1.1.23-8cwhqjmg.mjs +2 -0
- package/dist/chunks/cli-1.1.23-8qrr5zea.mjs +2 -0
- package/dist/chunks/cli-1.1.23-8sb0xktt.mjs +1 -0
- package/dist/chunks/cli-1.1.23-8tv84m75.mjs +2 -0
- package/dist/chunks/cli-1.1.23-8yb4p9wj.mjs +4 -0
- package/dist/chunks/cli-1.1.23-8zysx8xg.mjs +6 -0
- package/dist/chunks/cli-1.1.23-913hrrgx.mjs +2 -0
- package/dist/chunks/cli-1.1.23-91n79mdp.mjs +2 -0
- package/dist/chunks/cli-1.1.23-971f3zzk.mjs +2 -0
- package/dist/chunks/cli-1.1.23-9b08qsth.mjs +2 -0
- package/dist/chunks/cli-1.1.23-9bpzr9w9.mjs +2 -0
- package/dist/chunks/cli-1.1.23-9h8vjbtg.mjs +2 -0
- package/dist/chunks/cli-1.1.23-9qe28y65.mjs +16 -0
- package/dist/chunks/cli-1.1.23-9txgxd8x.mjs +2 -0
- package/dist/chunks/cli-1.1.23-9vqnsq1x.mjs +2 -0
- package/dist/chunks/cli-1.1.23-9zrhw582.mjs +2 -0
- package/dist/chunks/cli-1.1.23-a1w72kgd.mjs +12 -0
- package/dist/chunks/cli-1.1.23-a6h0h87f.mjs +18 -0
- package/dist/chunks/cli-1.1.23-a95wepyn.mjs +66 -0
- package/dist/chunks/cli-1.1.23-a9b5aae8.mjs +2 -0
- package/dist/chunks/cli-1.1.23-afsrnsz6.mjs +7 -0
- package/dist/chunks/cli-1.1.23-ah6fas1q.mjs +2 -0
- package/dist/chunks/cli-1.1.23-akghy19s.mjs +58 -0
- package/dist/chunks/cli-1.1.23-b00bqmpw.mjs +2 -0
- package/dist/chunks/cli-1.1.23-bdj1ne1r.mjs +2 -0
- package/dist/chunks/cli-1.1.23-beazn1ym.mjs +45 -0
- package/dist/chunks/cli-1.1.23-bfcbpz9k.mjs +15 -0
- package/dist/chunks/cli-1.1.23-bghc6n12.mjs +2 -0
- package/dist/chunks/cli-1.1.23-bkd2235z.mjs +2 -0
- package/dist/chunks/cli-1.1.23-bqb900hx.mjs +2 -0
- package/dist/chunks/cli-1.1.23-btem08d6.mjs +2 -0
- package/dist/chunks/cli-1.1.23-c49xxwj4.mjs +2 -0
- package/dist/chunks/cli-1.1.23-c5rb4b67.mjs +2 -0
- package/dist/chunks/cli-1.1.23-cdsq9bfc.mjs +2 -0
- package/dist/chunks/cli-1.1.23-cf9wpsc7.mjs +3 -0
- package/dist/chunks/cli-1.1.23-cg8mndc0.mjs +2 -0
- package/dist/chunks/cli-1.1.23-cmmvjc9g.mjs +2 -0
- package/dist/chunks/cli-1.1.23-cp5z31eb.mjs +2 -0
- package/dist/chunks/cli-1.1.23-cpdr6mcc.mjs +50 -0
- package/dist/chunks/cli-1.1.23-d98p8mnw.mjs +2 -0
- package/dist/chunks/cli-1.1.23-dd8dp11f.mjs +2 -0
- package/dist/chunks/cli-1.1.23-dm6get34.mjs +42 -0
- package/dist/chunks/cli-1.1.23-dmc5g4zs.mjs +2 -0
- package/dist/chunks/cli-1.1.23-dnf57r3v.mjs +2 -0
- package/dist/chunks/cli-1.1.23-dspgg8gk.mjs +2 -0
- package/dist/chunks/cli-1.1.23-dxtv4be7.mjs +2 -0
- package/dist/chunks/cli-1.1.23-e3g5ahaf.mjs +2 -0
- package/dist/chunks/cli-1.1.23-e3zf752q.mjs +2 -0
- package/dist/chunks/cli-1.1.23-e7vvcy9q.mjs +2 -0
- package/dist/chunks/cli-1.1.23-ea3wd7a4.mjs +9 -0
- package/dist/chunks/cli-1.1.23-eh1w5te8.mjs +2 -0
- package/dist/chunks/cli-1.1.23-eyrgaj5n.mjs +15 -0
- package/dist/chunks/cli-1.1.23-f001cyx3.mjs +2 -0
- package/dist/chunks/cli-1.1.23-f1xqkfa1.mjs +2 -0
- package/dist/chunks/cli-1.1.23-f3x0gp77.mjs +2 -0
- package/dist/chunks/cli-1.1.23-fd4gay6z.mjs +2 -0
- package/dist/chunks/cli-1.1.23-ft6azs1x.mjs +3 -0
- package/dist/chunks/cli-1.1.23-fxt20eva.mjs +2 -0
- package/dist/chunks/cli-1.1.23-fxyf1cph.mjs +2 -0
- package/dist/chunks/cli-1.1.23-g16f6f0k.mjs +6 -0
- package/dist/chunks/cli-1.1.23-g3ps2zfa.mjs +2 -0
- package/dist/chunks/cli-1.1.23-g6b9c447.mjs +2 -0
- package/dist/chunks/cli-1.1.23-gfa8cfzz.mjs +2 -0
- package/dist/chunks/cli-1.1.23-gqpma6kp.mjs +2 -0
- package/dist/chunks/cli-1.1.23-gqzmsste.mjs +2 -0
- package/dist/chunks/cli-1.1.23-gt2whh9g.mjs +25 -0
- package/dist/chunks/cli-1.1.23-h8qgj8ca.mjs +17 -0
- package/dist/chunks/cli-1.1.23-h9a97qvh.mjs +17 -0
- package/dist/chunks/cli-1.1.23-hdrz15yh.mjs +2 -0
- package/dist/chunks/cli-1.1.23-hemwg8ag.mjs +2 -0
- package/dist/chunks/cli-1.1.23-hkttfc6z.mjs +2 -0
- package/dist/chunks/cli-1.1.23-hmtg8m65.mjs +2 -0
- package/dist/chunks/cli-1.1.23-hynrf6x1.mjs +5456 -0
- package/dist/chunks/cli-1.1.23-j1834bmw.mjs +8 -0
- package/dist/chunks/cli-1.1.23-j50f02dv.mjs +3 -0
- package/dist/chunks/cli-1.1.23-j8pns1dc.mjs +9 -0
- package/dist/chunks/cli-1.1.23-j9tza8qb.mjs +2 -0
- package/dist/chunks/cli-1.1.23-jam2qpf9.mjs +2 -0
- package/dist/chunks/cli-1.1.23-jax91df0.mjs +2 -0
- package/dist/chunks/cli-1.1.23-jb9w45wb.mjs +2 -0
- package/dist/chunks/cli-1.1.23-jefmjg1q.mjs +2 -0
- package/dist/chunks/cli-1.1.23-jf6jqrkj.mjs +4 -0
- package/dist/chunks/cli-1.1.23-jv6dcqe2.mjs +2 -0
- package/dist/chunks/cli-1.1.23-kc1tbe8y.mjs +6 -0
- package/dist/chunks/cli-1.1.23-keftnbc6.mjs +206 -0
- package/dist/chunks/cli-1.1.23-kqechz3h.mjs +3 -0
- package/dist/chunks/cli-1.1.23-kwbgn4rk.mjs +4 -0
- package/dist/chunks/cli-1.1.23-mdnfpw2r.mjs +4 -0
- package/dist/chunks/cli-1.1.23-mg8gngc9.mjs +2 -0
- package/dist/chunks/cli-1.1.23-mqhr3zhn.mjs +2 -0
- package/dist/chunks/cli-1.1.23-mtz1dxjx.mjs +2 -0
- package/dist/chunks/cli-1.1.23-n0182x8j.mjs +2 -0
- package/dist/chunks/cli-1.1.23-n2b7hpwm.mjs +2 -0
- package/dist/chunks/cli-1.1.23-n3aqpv08.mjs +2 -0
- package/dist/chunks/cli-1.1.23-n73gbfxf.mjs +2 -0
- package/dist/chunks/cli-1.1.23-nr6xamsd.mjs +2 -0
- package/dist/chunks/cli-1.1.23-p3m54nrk.mjs +12 -0
- package/dist/chunks/cli-1.1.23-pjmjhm4y.mjs +2 -0
- package/dist/chunks/cli-1.1.23-pw5hm4mz.mjs +3 -0
- package/dist/chunks/cli-1.1.23-qn9572e2.mjs +2 -0
- package/dist/chunks/cli-1.1.23-qrr9yfsn.mjs +2 -0
- package/dist/chunks/cli-1.1.23-r21frpa6.mjs +6 -0
- package/dist/chunks/cli-1.1.23-r3rsk08v.mjs +2 -0
- package/dist/chunks/cli-1.1.23-r3waeyk4.mjs +2 -0
- package/dist/chunks/cli-1.1.23-r6f0jbrx.mjs +2 -0
- package/dist/chunks/cli-1.1.23-rcxg7gfm.mjs +25 -0
- package/dist/chunks/cli-1.1.23-rd74yzp6.mjs +2 -0
- package/dist/chunks/cli-1.1.23-re0ge1zr.mjs +2 -0
- package/dist/chunks/cli-1.1.23-rgc4d03t.mjs +2 -0
- package/dist/chunks/cli-1.1.23-rjt1xt8g.mjs +2 -0
- package/dist/chunks/cli-1.1.23-rpxkp0kh.mjs +2 -0
- package/dist/chunks/cli-1.1.23-s21f8qza.mjs +2 -0
- package/dist/chunks/cli-1.1.23-s2pn202f.mjs +4 -0
- package/dist/chunks/cli-1.1.23-s943evpq.mjs +2 -0
- package/dist/chunks/cli-1.1.23-sbyq9afq.mjs +21 -0
- package/dist/chunks/cli-1.1.23-sch1s17t.mjs +2 -0
- package/dist/chunks/cli-1.1.23-se379e5e.mjs +15 -0
- package/dist/chunks/cli-1.1.23-swf2c8db.mjs +2 -0
- package/dist/chunks/cli-1.1.23-syq3k5mp.mjs +2 -0
- package/dist/chunks/cli-1.1.23-v22erb37.mjs +2 -0
- package/dist/chunks/cli-1.1.23-v2fscr2z.mjs +5 -0
- package/dist/chunks/cli-1.1.23-v5e3cr99.mjs +2 -0
- package/dist/chunks/cli-1.1.23-v9bysq9w.mjs +3 -0
- package/dist/chunks/cli-1.1.23-vjgmph3s.mjs +2 -0
- package/dist/chunks/cli-1.1.23-vns1fwxz.mjs +2 -0
- package/dist/chunks/cli-1.1.23-vvcr72vv.mjs +2 -0
- package/dist/chunks/cli-1.1.23-vyf2j831.mjs +2 -0
- package/dist/chunks/cli-1.1.23-w16rdkte.mjs +3 -0
- package/dist/chunks/cli-1.1.23-w96hh9h7.mjs +3 -0
- package/dist/chunks/cli-1.1.23-wd48c77m.mjs +24 -0
- package/dist/chunks/cli-1.1.23-wgecwfx4.mjs +18 -0
- package/dist/chunks/cli-1.1.23-wkvjbzna.mjs +2 -0
- package/dist/chunks/cli-1.1.23-wnxxa385.mjs +4 -0
- package/dist/chunks/cli-1.1.23-wt4jgek9.mjs +39 -0
- package/dist/chunks/cli-1.1.23-x3te6rkf.mjs +2 -0
- package/dist/chunks/cli-1.1.23-x7yfmrs9.mjs +3 -0
- package/dist/chunks/cli-1.1.23-xafxg4a2.mjs +2 -0
- package/dist/chunks/cli-1.1.23-xgst7vty.mjs +2 -0
- package/dist/chunks/cli-1.1.23-xkt2056f.mjs +2 -0
- package/dist/chunks/cli-1.1.23-xyjeajm2.mjs +2 -0
- package/dist/chunks/cli-1.1.23-xzwwmz59.mjs +2 -0
- package/dist/chunks/cli-1.1.23-y3ea6683.mjs +2 -0
- package/dist/chunks/cli-1.1.23-y3fpdh43.mjs +2 -0
- package/dist/chunks/cli-1.1.23-ywvfrc54.mjs +2 -0
- package/dist/chunks/cli-1.1.23-yy2jcnc3.mjs +133 -0
- package/dist/chunks/cli-1.1.23-z1mvb05m.mjs +2 -0
- package/dist/chunks/cli-1.1.23-zb8savhy.mjs +6 -0
- package/dist/chunks/cli-1.1.23-zwpmh1ab.mjs +2 -0
- package/dist/chunks/client-1.1.23-mcea9qxt.mjs +1 -0
- package/dist/chunks/color-1.1.23-e9h5ff51.mjs +1 -0
- package/dist/chunks/compact-1.1.23-66s1gsw9.mjs +3 -0
- package/dist/chunks/config-1.1.23-j8frjsmx.mjs +1 -0
- package/dist/chunks/config-1.1.23-kedfvs1w.mjs +1 -0
- package/dist/chunks/constants-1.1.23-9gn99pw5.mjs +1 -0
- package/dist/chunks/context-1.1.23-bbrdpmdb.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.23-f8h7s1k6.mjs +1 -0
- package/dist/chunks/conversation-1.1.23-s003tkm4.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.23-ktfjf8vp.mjs +1 -0
- package/dist/chunks/copy-1.1.23-vydqekfj.mjs +9 -0
- package/dist/chunks/cost-1.1.23-wp3xmmkp.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.23-0dtjaw6b.mjs +1 -0
- package/dist/chunks/createSession-1.1.23-bx4zk9g9.mjs +1 -0
- package/dist/chunks/debug-1.1.23-7kg6d3tr.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.23-gpfa81s0.mjs +1534 -0
- package/dist/chunks/desktop-1.1.23-0kbkasx9.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.23-cjja5tc4.mjs +1 -0
- package/dist/chunks/detection-1.1.23-j30fjqtk.mjs +1 -0
- package/dist/chunks/diff-1.1.23-97rmmwmn.mjs +1 -0
- package/dist/chunks/doctor-1.1.23-xm4qcrg3.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.23-04mtjnab.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.23-cjvssdzr.mjs +1 -0
- package/dist/chunks/effort-1.1.23-9wwy3zcx.mjs +13 -0
- package/dist/chunks/engine-1.1.23-zted98hq.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.23-ga3cphpb.mjs +1 -0
- package/dist/chunks/envUtils-1.1.23-rqpvwp80.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.23-mv2a2h1j.mjs +1 -0
- package/dist/chunks/environments-1.1.23-4jsfjwva.mjs +1 -0
- package/dist/chunks/errors-1.1.23-9xwf7tdw.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.23-80yr756b.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.23-psbfft6h.mjs +1 -0
- package/dist/chunks/exit-1.1.23-vrg1sh8k.mjs +1 -0
- package/dist/chunks/explorer-1.1.23-g4rr4dbw.mjs +1 -0
- package/dist/chunks/export-1.1.23-811x7m0f.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.23-ytv7q7g9.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.23-kfdpp2zp.mjs +1 -0
- package/dist/chunks/fast-1.1.23-vxqr4rn1.mjs +1 -0
- package/dist/chunks/feedback-1.1.23-sfxf5wts.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.23-1gh6mqe9.mjs +1 -0
- package/dist/chunks/git-1.1.23-ybtn6n7y.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.23-ty811pr3.mjs +1 -0
- package/dist/chunks/goal-1.1.23-cmzk221k.mjs +4 -0
- package/dist/chunks/growthbook-1.1.23-3q1rbkkk.mjs +1 -0
- package/dist/chunks/headless-1.1.23-bkk5p8rm.mjs +2 -0
- package/dist/chunks/heapdump-1.1.23-ea8pzqst.mjs +6 -0
- package/dist/chunks/help-1.1.23-r7j3xk0t.mjs +1 -0
- package/dist/chunks/hookChains-1.1.23-3gw3ts22.mjs +3 -0
- package/dist/chunks/hooks-1.1.23-nh96m542.mjs +1 -0
- package/dist/chunks/hooks-1.1.23-pggycv75.mjs +79 -0
- package/dist/chunks/ide-1.1.23-qfkj03dp.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.23-etg91fj9.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.1.23-gct8j14t.mjs +1 -0
- package/dist/chunks/index-1.1.23-04w67ps4.mjs +1 -0
- package/dist/chunks/index-1.1.23-0qn8x2ym.mjs +2 -0
- package/dist/chunks/index-1.1.23-16krzxwz.mjs +1 -0
- package/dist/chunks/index-1.1.23-2mwhvv7z.mjs +2 -0
- package/dist/chunks/index-1.1.23-5xkpaxba.mjs +1 -0
- package/dist/chunks/index-1.1.23-87bctdxv.mjs +1 -0
- package/dist/chunks/index-1.1.23-894gw6j8.mjs +1 -0
- package/dist/chunks/index-1.1.23-bcrdf2k3.mjs +9 -0
- package/dist/chunks/index-1.1.23-ed1jbmt6.mjs +1 -0
- package/dist/chunks/index-1.1.23-hzafkcpn.mjs +30 -0
- package/dist/chunks/index-1.1.23-jfybaapb.mjs +9 -0
- package/dist/chunks/index-1.1.23-mbvmhq60.mjs +1 -0
- package/dist/chunks/index-1.1.23-nq44z8sn.mjs +1 -0
- package/dist/chunks/index-1.1.23-p84yrb6r.mjs +1 -0
- package/dist/chunks/index-1.1.23-sd9cv8pk.mjs +23 -0
- package/dist/chunks/index-1.1.23-v3pvt45w.mjs +1 -0
- package/dist/chunks/index-1.1.23-vnn2xc4y.mjs +1 -0
- package/dist/chunks/index-1.1.23-vw0ns36r.mjs +1 -0
- package/dist/chunks/index-1.1.23-xb876pe7.mjs +5 -0
- package/dist/chunks/index-1.1.23-xfzxwabm.mjs +1 -0
- package/dist/chunks/index-1.1.23-yjt3kte0.mjs +1 -0
- package/dist/chunks/index-1.1.23-ymq59t45.mjs +1 -0
- package/dist/chunks/index-1.1.23-ytps69pn.mjs +1 -0
- package/dist/chunks/init-1.1.23-68d7nbfy.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.23-zaa5v40e.mjs +1 -0
- package/dist/chunks/ink-1.1.23-vb2phcn9.mjs +1 -0
- package/dist/chunks/insights-1.1.23-hnbtjced.mjs +870 -0
- package/dist/chunks/install-1.1.23-ayas8qxr.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.23-mph12hm0.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.23-9fs5jpzj.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.23-g4we2v3z.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.23-72qdetj8.mjs +1 -0
- package/dist/chunks/keybindings-1.1.23-qb0smw96.mjs +2 -0
- package/dist/chunks/knowledge-1.1.23-05gqt07k.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.23-1xrk6v9s.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.23-x9vbg6j3.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.23-b0kt93we.mjs +1 -0
- package/dist/chunks/log-1.1.23-raemwqxy.mjs +1 -0
- package/dist/chunks/main-1.1.23-ktwpj2m3.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.23-wnqxm7br.mjs +1 -0
- package/dist/chunks/mcp-1.1.23-mtw0ktrf.mjs +17 -0
- package/dist/chunks/mcp-1.1.23-s9pkvzz6.mjs +4 -0
- package/dist/chunks/mcp-1.1.23-wcc13fhx.mjs +1 -0
- package/dist/chunks/mcpb-1.1.23-90y8tgct.mjs +1 -0
- package/dist/chunks/memory-1.1.23-bvsjvxnw.mjs +72 -0
- package/dist/chunks/model-1.1.23-m65499d4.mjs +1 -0
- package/dist/chunks/model-1.1.23-rdvj7rvy.mjs +2 -0
- package/dist/chunks/node-1.1.23-bqy7dzrh.mjs +14 -0
- package/dist/chunks/oauth-1.1.23-x33h0bwk.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.23-0bheqhmg.mjs +14 -0
- package/dist/chunks/output-style-1.1.23-kxxfbqnj.mjs +1 -0
- package/dist/chunks/package-ZOVFJE7Z-1.1.23-cvn9aynn.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.23-r2c69hpj.mjs +1 -0
- package/dist/chunks/parser-1.1.23-9gjy8yyd.mjs +1 -0
- package/dist/chunks/passes-1.1.23-jt18rvzt.mjs +1 -0
- package/dist/chunks/permissions-1.1.23-krb3w1g6.mjs +3 -0
- package/dist/chunks/permissions-1.1.23-r2894sce.mjs +1 -0
- package/dist/chunks/plan-1.1.23-z731dw1m.mjs +1 -0
- package/dist/chunks/plist-1.1.23-5761s0b4.mjs +1 -0
- package/dist/chunks/plugin-1.1.23-p7pdz7d1.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.23-mm4bszh7.mjs +1 -0
- package/dist/chunks/plugins-1.1.23-egkwh4yf.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.23-v994g2s0.mjs +2 -0
- package/dist/chunks/print-1.1.23-g988xjb3.mjs +57 -0
- package/dist/chunks/process-1.1.23-eh0mn414.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.23-cnnyqpaq.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.23-vs9vb8en.mjs +9 -0
- package/dist/chunks/prompt-1.1.23-4mk9fy81.mjs +1 -0
- package/dist/chunks/prompt-1.1.23-qmqyfem4.mjs +1 -0
- package/dist/chunks/prompts-1.1.23-jeeypg6w.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.23-1davtsam.mjs +13 -0
- package/dist/chunks/provider-1.1.23-x1hzx1zj.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.23-bkm9vq79.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.23-z2rg5707.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.23-f0hm4mbj.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.23-mhtafhr6.mjs +26 -0
- package/dist/chunks/registry-1.1.23-hyqgjbyg.mjs +1 -0
- package/dist/chunks/release-notes-1.1.23-q1am84ke.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.23-nd1fctqt.mjs +2 -0
- package/dist/chunks/remote-env-1.1.23-m2zzn0f8.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.23-vd210k89.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.23-1jpg062g.mjs +1 -0
- package/dist/chunks/rename-1.1.23-ma9ny7xb.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.23-08pq9q2p.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.23-wsqwfhc4.mjs +1 -0
- package/dist/chunks/resume-1.1.23-hkg0scyr.mjs +2 -0
- package/dist/chunks/rewind-1.1.23-jd6j4sgm.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.23-m526t4yf.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.23-8mxg8581.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.23-pb9hd8jw.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.23-38kf297y.mjs +1 -0
- package/dist/chunks/session-1.1.23-mws1tmy1.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.23-8819q77c.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.23-zq8cgfyk.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.23-m9mm0gy5.mjs +1 -0
- package/dist/chunks/settings-1.1.23-3fm1v708.mjs +1 -0
- package/dist/chunks/setup-1.1.23-rf97k4ha.mjs +12 -0
- package/dist/chunks/sinks-1.1.23-qgn22fd9.mjs +1 -0
- package/dist/chunks/skills-1.1.23-aed2c5zd.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.23-qrw1wxzd.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.23-pwj6hq5b.mjs +1 -0
- package/dist/chunks/state-1.1.23-jxkq1t17.mjs +1 -0
- package/dist/chunks/stats-1.1.23-5kg21t1n.mjs +6 -0
- package/dist/chunks/status-1.1.23-zkcmaawr.mjs +1 -0
- package/dist/chunks/stickers-1.1.23-qag1twc4.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.23-ahy63kbs.mjs +1 -0
- package/dist/chunks/tasks-1.1.23-89zfdmw0.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.23-wnq5c429.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.23-zrc83hqd.mjs +1 -0
- package/dist/chunks/teleport-1.1.23-cabj7qs6.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.23-3jp21th9.mjs +1 -0
- package/dist/chunks/theme-1.1.23-n5t1dngt.mjs +1 -0
- package/dist/chunks/thinkback-1.1.23-4a2rem3s.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.23-3928h8m5.mjs +1 -0
- package/dist/chunks/toolPool-1.1.23-yeszysf1.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.23-x75878b7.mjs +1 -0
- package/dist/chunks/tools-1.1.23-m04a9j6h.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.23-rxgc65b0.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.23-e39vsv0v.mjs +69 -0
- package/dist/chunks/types-1.1.23-pca5g3df.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.23-mr97q52h.mjs +4 -0
- package/dist/chunks/update-1.1.23-3xmkkhns.mjs +72 -0
- package/dist/chunks/upgrade-1.1.23-8vn6552j.mjs +1 -0
- package/dist/chunks/upload-1.1.23-cx2aj445.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.23-8rxwm8d3.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.23-5e49greb.mjs +1 -0
- package/dist/chunks/usage-1.1.23-bndk03g2.mjs +1 -0
- package/dist/chunks/util-1.1.23-cb0nrsh4.mjs +1 -0
- package/dist/chunks/utils-1.1.23-t0mge2p3.mjs +1 -0
- package/dist/chunks/vim-1.1.23-trn7yz9v.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.23-m61k9zxv.mjs +13 -0
- package/dist/chunks/watcher-1.1.23-vbwspp2c.mjs +1 -0
- package/dist/chunks/wiki-1.1.23-a9pe4h8f.mjs +132 -0
- package/dist/chunks/workflows-1.1.23-nbvbwe56.mjs +1 -0
- package/dist/chunks/worktree-1.1.23-tdh9qszq.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.23-bhescr26.mjs +1 -0
- package/dist/chunks/wrapper-1.1.23-xbpjcwkh.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.21-enrxqdsb.mjs +0 -1
- package/dist/chunks/App-1.1.21-x1hrya65.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.21-q3rfm86r.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.21-djjt8wjf.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.21-8rxzv91c.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.21-2mv1yf69.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.21-qk8b7h6c.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.21-26vykmpr.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.21-3xgr69zd.mjs +0 -6
- package/dist/chunks/Doctor-1.1.21-yv90ebbh.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.21-xbb9damr.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.21-vghjz16w.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.21-s80vswk4.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.21-vcrwctz5.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.21-dx1ga7w0.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.21-v9s07bhb.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.21-r9zcajjp.mjs +0 -1
- package/dist/chunks/REPL-1.1.21-6jn26haf.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.21-s9pjbbba.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.21-e2efafxn.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.21-sbtxsq9w.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.21-jbdthnzv.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.21-rg1e4ya1.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.21-th8y0yfa.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.21-ns92ypnd.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.21-tk81657g.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.21-8b6473mc.mjs +0 -1
- package/dist/chunks/add-dir-1.1.21-y2qcrtjr.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.21-0c6btjcc.mjs +0 -1
- package/dist/chunks/agents-1.1.21-1t7q92hk.mjs +0 -3
- package/dist/chunks/agents-1.1.21-jppr4jq8.mjs +0 -110
- package/dist/chunks/api-1.1.21-g8sbqk15.mjs +0 -1
- package/dist/chunks/asciicast-1.1.21-bvqngtzz.mjs +0 -1
- package/dist/chunks/assistant-1.1.21-1zc3dwty.mjs +0 -1
- package/dist/chunks/auth-1.1.21-65a9bbnh.mjs +0 -1
- package/dist/chunks/auth-1.1.21-f0ghh3mq.mjs +0 -1
- package/dist/chunks/autoMode-1.1.21-n2a8t9t3.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.21-9fx83p2j.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.21-52ky9ghk.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.21-j6t4h3jn.mjs +0 -1
- package/dist/chunks/branch-1.1.21-71gampws.mjs +0 -4
- package/dist/chunks/bridge-1.1.21-d1gzs1zz.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.21-9pps44qe.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.21-50r8crvp.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.21-e92yewh9.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.21-ckngyn7x.mjs +0 -1
- package/dist/chunks/btw-1.1.21-aqj4z7z7.mjs +0 -1
- package/dist/chunks/buddy-1.1.21-74rtch74.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.21-a8ne39rt.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.21-pw082ztb.mjs +0 -4
- package/dist/chunks/caches-1.1.21-7s65hxx4.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.1.21-0fp1r8xs.mjs +0 -1
- package/dist/chunks/claudemd-1.1.21-q4k3d1km.mjs +0 -1
- package/dist/chunks/clear-1.1.21-9jjttvr0.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.21-jr9rxdmx.mjs +0 -1
- package/dist/chunks/cli-1.1.21-03kdy8xc.mjs +0 -2
- package/dist/chunks/cli-1.1.21-04brya8b.mjs +0 -2
- package/dist/chunks/cli-1.1.21-0dp6e2at.mjs +0 -2
- package/dist/chunks/cli-1.1.21-0etv5x2s.mjs +0 -2
- package/dist/chunks/cli-1.1.21-0g1a3shp.mjs +0 -2
- package/dist/chunks/cli-1.1.21-0mn9qshg.mjs +0 -2
- package/dist/chunks/cli-1.1.21-0n54q1mb.mjs +0 -12
- package/dist/chunks/cli-1.1.21-0sqcznka.mjs +0 -4
- package/dist/chunks/cli-1.1.21-0w4y6zch.mjs +0 -2
- package/dist/chunks/cli-1.1.21-13kr6en7.mjs +0 -2
- package/dist/chunks/cli-1.1.21-15f55e7j.mjs +0 -2
- package/dist/chunks/cli-1.1.21-1a9968t0.mjs +0 -3
- package/dist/chunks/cli-1.1.21-1h90n4wy.mjs +0 -2
- package/dist/chunks/cli-1.1.21-1hdfkyjv.mjs +0 -2
- package/dist/chunks/cli-1.1.21-1mhmk0z3.mjs +0 -2
- package/dist/chunks/cli-1.1.21-1mxg753a.mjs +0 -2
- package/dist/chunks/cli-1.1.21-1y508j57.mjs +0 -2
- package/dist/chunks/cli-1.1.21-27a8sw98.mjs +0 -2
- package/dist/chunks/cli-1.1.21-29jp27ks.mjs +0 -2
- package/dist/chunks/cli-1.1.21-2b91fkp9.mjs +0 -66
- package/dist/chunks/cli-1.1.21-2cj3wv9s.mjs +0 -3
- package/dist/chunks/cli-1.1.21-2cqbdmfj.mjs +0 -2
- package/dist/chunks/cli-1.1.21-2gsy9rkt.mjs +0 -7
- package/dist/chunks/cli-1.1.21-2nezc8rm.mjs +0 -2
- package/dist/chunks/cli-1.1.21-2txzm68v.mjs +0 -2
- package/dist/chunks/cli-1.1.21-2zvrsnnb.mjs +0 -15
- package/dist/chunks/cli-1.1.21-36nmjsvc.mjs +0 -3
- package/dist/chunks/cli-1.1.21-3g5qq5vn.mjs +0 -2
- package/dist/chunks/cli-1.1.21-3n2szerd.mjs +0 -2
- package/dist/chunks/cli-1.1.21-3v1e2mge.mjs +0 -3
- package/dist/chunks/cli-1.1.21-3x0d0qkq.mjs +0 -2
- package/dist/chunks/cli-1.1.21-4010086n.mjs +0 -39
- package/dist/chunks/cli-1.1.21-4jzagkc6.mjs +0 -2
- package/dist/chunks/cli-1.1.21-4ka4k9j1.mjs +0 -2
- package/dist/chunks/cli-1.1.21-4s3mz86q.mjs +0 -2
- package/dist/chunks/cli-1.1.21-510h0rfd.mjs +0 -2
- package/dist/chunks/cli-1.1.21-5bxzgpbd.mjs +0 -16
- package/dist/chunks/cli-1.1.21-5jkvz9tr.mjs +0 -2
- package/dist/chunks/cli-1.1.21-5srfgw0e.mjs +0 -2
- package/dist/chunks/cli-1.1.21-5znk8g89.mjs +0 -2
- package/dist/chunks/cli-1.1.21-61eyxvr8.mjs +0 -2
- package/dist/chunks/cli-1.1.21-6drn6rpn.mjs +0 -2
- package/dist/chunks/cli-1.1.21-71yrrgxv.mjs +0 -2
- package/dist/chunks/cli-1.1.21-72p8ma2g.mjs +0 -2
- package/dist/chunks/cli-1.1.21-76ttz1tt.mjs +0 -2
- package/dist/chunks/cli-1.1.21-7bq44n89.mjs +0 -2
- package/dist/chunks/cli-1.1.21-7fymk48z.mjs +0 -2
- package/dist/chunks/cli-1.1.21-7gxr15wj.mjs +0 -2
- package/dist/chunks/cli-1.1.21-7q6ajew6.mjs +0 -6
- package/dist/chunks/cli-1.1.21-8022a544.mjs +0 -3
- package/dist/chunks/cli-1.1.21-811zr6vq.mjs +0 -15
- package/dist/chunks/cli-1.1.21-87rs5rvq.mjs +0 -2
- package/dist/chunks/cli-1.1.21-89hqsfpf.mjs +0 -2
- package/dist/chunks/cli-1.1.21-8db7fdfr.mjs +0 -133
- package/dist/chunks/cli-1.1.21-8f3dmt8c.mjs +0 -2
- package/dist/chunks/cli-1.1.21-8mbdp47n.mjs +0 -34
- package/dist/chunks/cli-1.1.21-8p4zm65z.mjs +0 -4
- package/dist/chunks/cli-1.1.21-8w2yv4xp.mjs +0 -3
- package/dist/chunks/cli-1.1.21-92zh5twv.mjs +0 -2
- package/dist/chunks/cli-1.1.21-93zvwec9.mjs +0 -6
- package/dist/chunks/cli-1.1.21-9fnv418t.mjs +0 -24
- package/dist/chunks/cli-1.1.21-9jq126pc.mjs +0 -2
- package/dist/chunks/cli-1.1.21-9za692z5.mjs +0 -2
- package/dist/chunks/cli-1.1.21-a6pwx2r1.mjs +0 -2
- package/dist/chunks/cli-1.1.21-aa0dfxt3.mjs +0 -17
- package/dist/chunks/cli-1.1.21-admbc6bh.mjs +0 -2
- package/dist/chunks/cli-1.1.21-adykpnkk.mjs +0 -2
- package/dist/chunks/cli-1.1.21-an07xgtv.mjs +0 -25
- package/dist/chunks/cli-1.1.21-arjp8fch.mjs +0 -50
- package/dist/chunks/cli-1.1.21-as9g92fa.mjs +0 -4
- package/dist/chunks/cli-1.1.21-atvca4b4.mjs +0 -2
- package/dist/chunks/cli-1.1.21-ayg2p1x9.mjs +0 -133
- package/dist/chunks/cli-1.1.21-b7q4e2tp.mjs +0 -2
- package/dist/chunks/cli-1.1.21-b7y0x2mz.mjs +0 -3
- package/dist/chunks/cli-1.1.21-b92n11f5.mjs +0 -2
- package/dist/chunks/cli-1.1.21-badssmqg.mjs +0 -25
- package/dist/chunks/cli-1.1.21-bbnxyfz6.mjs +0 -4
- package/dist/chunks/cli-1.1.21-bc6x1hhj.mjs +0 -2
- package/dist/chunks/cli-1.1.21-bjdtgm9x.mjs +0 -2
- package/dist/chunks/cli-1.1.21-bp86y1rn.mjs +0 -2
- package/dist/chunks/cli-1.1.21-c27qrh9k.mjs +0 -2
- package/dist/chunks/cli-1.1.21-cb82p9ss.mjs +0 -24
- package/dist/chunks/cli-1.1.21-ccarwr2t.mjs +0 -2
- package/dist/chunks/cli-1.1.21-cdk96yzq.mjs +0 -2
- package/dist/chunks/cli-1.1.21-cgspbjjg.mjs +0 -2
- package/dist/chunks/cli-1.1.21-cqsmyvsx.mjs +0 -6
- package/dist/chunks/cli-1.1.21-dvkgw1dj.mjs +0 -4
- package/dist/chunks/cli-1.1.21-e28mvxq4.mjs +0 -2
- package/dist/chunks/cli-1.1.21-e4qvgw9g.mjs +0 -4
- package/dist/chunks/cli-1.1.21-e8cbfmn6.mjs +0 -2
- package/dist/chunks/cli-1.1.21-ekphtr04.mjs +0 -6
- package/dist/chunks/cli-1.1.21-eqmp9rz1.mjs +0 -2
- package/dist/chunks/cli-1.1.21-er4j34m5.mjs +0 -4
- package/dist/chunks/cli-1.1.21-eray52nd.mjs +0 -5426
- package/dist/chunks/cli-1.1.21-ev8srpeg.mjs +0 -18
- package/dist/chunks/cli-1.1.21-exwxjwrp.mjs +0 -17
- package/dist/chunks/cli-1.1.21-f3caatgb.mjs +0 -2
- package/dist/chunks/cli-1.1.21-fbxz5jg5.mjs +0 -21
- package/dist/chunks/cli-1.1.21-fdf1j366.mjs +0 -3
- package/dist/chunks/cli-1.1.21-fn4xyb5w.mjs +0 -2
- package/dist/chunks/cli-1.1.21-ftenq1jj.mjs +0 -24
- package/dist/chunks/cli-1.1.21-fyryzam5.mjs +0 -2
- package/dist/chunks/cli-1.1.21-g2fr5c6z.mjs +0 -3
- package/dist/chunks/cli-1.1.21-g6wtm4qg.mjs +0 -206
- package/dist/chunks/cli-1.1.21-g7ve83cr.mjs +0 -2
- package/dist/chunks/cli-1.1.21-g9rmmx1z.mjs +0 -6
- package/dist/chunks/cli-1.1.21-gg6ksnw9.mjs +0 -2
- package/dist/chunks/cli-1.1.21-gyh1fxbr.mjs +0 -20
- package/dist/chunks/cli-1.1.21-h2y2n4jq.mjs +0 -2
- package/dist/chunks/cli-1.1.21-h82yh3wp.mjs +0 -2
- package/dist/chunks/cli-1.1.21-hdc9e0dr.mjs +0 -2
- package/dist/chunks/cli-1.1.21-hjkr35qk.mjs +0 -2
- package/dist/chunks/cli-1.1.21-hmex7wtk.mjs +0 -4
- package/dist/chunks/cli-1.1.21-hn93q5ch.mjs +0 -1
- package/dist/chunks/cli-1.1.21-j0qbp8ym.mjs +0 -2
- package/dist/chunks/cli-1.1.21-j5f9b05q.mjs +0 -2
- package/dist/chunks/cli-1.1.21-jkqtb9j1.mjs +0 -2
- package/dist/chunks/cli-1.1.21-jmrjkgt7.mjs +0 -2
- package/dist/chunks/cli-1.1.21-jqy3a4ze.mjs +0 -9
- package/dist/chunks/cli-1.1.21-kc7af745.mjs +0 -5
- package/dist/chunks/cli-1.1.21-kf8s641e.mjs +0 -2
- package/dist/chunks/cli-1.1.21-kkaftzqq.mjs +0 -2
- package/dist/chunks/cli-1.1.21-krwdkyza.mjs +0 -18
- package/dist/chunks/cli-1.1.21-kv15mvd0.mjs +0 -3
- package/dist/chunks/cli-1.1.21-m53y3ydn.mjs +0 -2
- package/dist/chunks/cli-1.1.21-m7dy7yxc.mjs +0 -2
- package/dist/chunks/cli-1.1.21-m84cxaww.mjs +0 -2
- package/dist/chunks/cli-1.1.21-mqxc9x6p.mjs +0 -3
- package/dist/chunks/cli-1.1.21-mysvm055.mjs +0 -8
- package/dist/chunks/cli-1.1.21-n00fkex6.mjs +0 -15
- package/dist/chunks/cli-1.1.21-nh0wz4ab.mjs +0 -2
- package/dist/chunks/cli-1.1.21-nqzn2wyp.mjs +0 -2
- package/dist/chunks/cli-1.1.21-ns0xhhjk.mjs +0 -2
- package/dist/chunks/cli-1.1.21-pbxjvmxd.mjs +0 -2
- package/dist/chunks/cli-1.1.21-phnkc3q1.mjs +0 -2
- package/dist/chunks/cli-1.1.21-pq9par9t.mjs +0 -2
- package/dist/chunks/cli-1.1.21-pqweg9t6.mjs +0 -3
- package/dist/chunks/cli-1.1.21-q2k4myze.mjs +0 -2
- package/dist/chunks/cli-1.1.21-q2xyk8fc.mjs +0 -2
- package/dist/chunks/cli-1.1.21-qgc6dd5n.mjs +0 -2
- package/dist/chunks/cli-1.1.21-qj7gkh71.mjs +0 -2
- package/dist/chunks/cli-1.1.21-qs47skyh.mjs +0 -2
- package/dist/chunks/cli-1.1.21-qvxw9ea2.mjs +0 -2
- package/dist/chunks/cli-1.1.21-qxx08ev5.mjs +0 -2
- package/dist/chunks/cli-1.1.21-qz8ykx4a.mjs +0 -2
- package/dist/chunks/cli-1.1.21-r90yap4s.mjs +0 -4
- package/dist/chunks/cli-1.1.21-rb0ytqxh.mjs +0 -2
- package/dist/chunks/cli-1.1.21-rtcccwys.mjs +0 -2
- package/dist/chunks/cli-1.1.21-rvm9rmen.mjs +0 -2
- package/dist/chunks/cli-1.1.21-rwr3npv8.mjs +0 -2
- package/dist/chunks/cli-1.1.21-s076czd6.mjs +0 -60
- package/dist/chunks/cli-1.1.21-sa93ge05.mjs +0 -2
- package/dist/chunks/cli-1.1.21-sk1w1xc8.mjs +0 -2
- package/dist/chunks/cli-1.1.21-sqrqvfx9.mjs +0 -2
- package/dist/chunks/cli-1.1.21-srp2gqhn.mjs +0 -2
- package/dist/chunks/cli-1.1.21-st3azfy2.mjs +0 -2
- package/dist/chunks/cli-1.1.21-syphtp6b.mjs +0 -2
- package/dist/chunks/cli-1.1.21-t4e7t3gb.mjs +0 -2
- package/dist/chunks/cli-1.1.21-tf5jnyct.mjs +0 -2
- package/dist/chunks/cli-1.1.21-tgkmdth7.mjs +0 -3
- package/dist/chunks/cli-1.1.21-tjgcqqx5.mjs +0 -12
- package/dist/chunks/cli-1.1.21-v8edsbtk.mjs +0 -24
- package/dist/chunks/cli-1.1.21-vb6krv5p.mjs +0 -2
- package/dist/chunks/cli-1.1.21-vbewc9m8.mjs +0 -2
- package/dist/chunks/cli-1.1.21-vgqvfdjj.mjs +0 -45
- package/dist/chunks/cli-1.1.21-vhz2g6dh.mjs +0 -2
- package/dist/chunks/cli-1.1.21-vpc12nrb.mjs +0 -2
- package/dist/chunks/cli-1.1.21-vqyps5tc.mjs +0 -2
- package/dist/chunks/cli-1.1.21-vtnh7am3.mjs +0 -2
- package/dist/chunks/cli-1.1.21-vtrbe9na.mjs +0 -2
- package/dist/chunks/cli-1.1.21-vyzdf2h8.mjs +0 -2
- package/dist/chunks/cli-1.1.21-w17d43nx.mjs +0 -2
- package/dist/chunks/cli-1.1.21-wermyahx.mjs +0 -2
- package/dist/chunks/cli-1.1.21-wq125rgf.mjs +0 -2
- package/dist/chunks/cli-1.1.21-wwrjy8z7.mjs +0 -2
- package/dist/chunks/cli-1.1.21-x34spqyp.mjs +0 -2
- package/dist/chunks/cli-1.1.21-x652vc6g.mjs +0 -7
- package/dist/chunks/cli-1.1.21-xa36je2k.mjs +0 -2
- package/dist/chunks/cli-1.1.21-xc1ka519.mjs +0 -2
- package/dist/chunks/cli-1.1.21-xds4bha6.mjs +0 -2
- package/dist/chunks/cli-1.1.21-xg5fsk6h.mjs +0 -6
- package/dist/chunks/cli-1.1.21-xkd51fv8.mjs +0 -2
- package/dist/chunks/cli-1.1.21-xngg1p8f.mjs +0 -2
- package/dist/chunks/cli-1.1.21-xrh2trhz.mjs +0 -2
- package/dist/chunks/cli-1.1.21-xsjr5sq9.mjs +0 -2
- package/dist/chunks/cli-1.1.21-xtdgxynh.mjs +0 -9
- package/dist/chunks/cli-1.1.21-xtysnd33.mjs +0 -2
- package/dist/chunks/cli-1.1.21-xx8dx3jd.mjs +0 -4
- package/dist/chunks/cli-1.1.21-y0d1dgzh.mjs +0 -58
- package/dist/chunks/cli-1.1.21-ybbcrjyr.mjs +0 -2
- package/dist/chunks/cli-1.1.21-ym854mnb.mjs +0 -2
- package/dist/chunks/cli-1.1.21-ymepfykz.mjs +0 -2
- package/dist/chunks/cli-1.1.21-ypkp1djh.mjs +0 -5
- package/dist/chunks/cli-1.1.21-yt2eqsfh.mjs +0 -2
- package/dist/chunks/cli-1.1.21-ytgz6a2f.mjs +0 -2
- package/dist/chunks/cli-1.1.21-yx5x54tp.mjs +0 -2
- package/dist/chunks/cli-1.1.21-yxj3mby7.mjs +0 -2
- package/dist/chunks/cli-1.1.21-yzg6k72r.mjs +0 -2
- package/dist/chunks/cli-1.1.21-z008y1nv.mjs +0 -2
- package/dist/chunks/cli-1.1.21-z3qkwz5y.mjs +0 -2
- package/dist/chunks/cli-1.1.21-z6tzkkrz.mjs +0 -2
- package/dist/chunks/cli-1.1.21-zmkcqsqx.mjs +0 -42
- package/dist/chunks/cli-1.1.21-zyz9s3k0.mjs +0 -3
- package/dist/chunks/client-1.1.21-2z9qpd9x.mjs +0 -1
- package/dist/chunks/color-1.1.21-hx6pdrvg.mjs +0 -1
- package/dist/chunks/compact-1.1.21-nwq0kqfv.mjs +0 -3
- package/dist/chunks/config-1.1.21-6a9bh364.mjs +0 -1
- package/dist/chunks/config-1.1.21-mk64wy1s.mjs +0 -1
- package/dist/chunks/constants-1.1.21-6t9m2kc1.mjs +0 -1
- package/dist/chunks/context-1.1.21-0q6bzccr.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.21-4hsfsph7.mjs +0 -1
- package/dist/chunks/conversation-1.1.21-7b7x9kge.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.21-h7jcrbjr.mjs +0 -1
- package/dist/chunks/copy-1.1.21-733m4ede.mjs +0 -9
- package/dist/chunks/cost-1.1.21-wygsny1s.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.21-xbfgy7b5.mjs +0 -1
- package/dist/chunks/createSession-1.1.21-mz06dkby.mjs +0 -1
- package/dist/chunks/debug-1.1.21-1mr7a9zd.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.21-vax6c0kp.mjs +0 -1534
- package/dist/chunks/desktop-1.1.21-pgp4t084.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.21-4kgqz7gj.mjs +0 -1
- package/dist/chunks/detection-1.1.21-fpdqjz2w.mjs +0 -1
- package/dist/chunks/diff-1.1.21-eh8phe15.mjs +0 -1
- package/dist/chunks/doctor-1.1.21-qsk3dp6v.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.21-vk3kxvax.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.21-hhk47ba3.mjs +0 -1
- package/dist/chunks/effort-1.1.21-ekeecb10.mjs +0 -13
- package/dist/chunks/engine-1.1.21-d6pnpzs9.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.21-45xt8y53.mjs +0 -1
- package/dist/chunks/envUtils-1.1.21-602cy0p0.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.21-sdkr95ba.mjs +0 -1
- package/dist/chunks/environments-1.1.21-xc2zd8j5.mjs +0 -1
- package/dist/chunks/errors-1.1.21-zpsc24qr.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.21-wktrh3tf.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.21-h0jd5fma.mjs +0 -1
- package/dist/chunks/exit-1.1.21-s6bxy0s5.mjs +0 -1
- package/dist/chunks/explorer-1.1.21-yecddj8m.mjs +0 -1
- package/dist/chunks/export-1.1.21-b5aa7w8q.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.21-ccmxd1ga.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.21-jysky3gv.mjs +0 -1
- package/dist/chunks/fast-1.1.21-wdpp74vz.mjs +0 -1
- package/dist/chunks/feedback-1.1.21-gc3be80r.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.21-cs1b38yg.mjs +0 -1
- package/dist/chunks/git-1.1.21-ncfwpbjz.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.21-qya4z4p9.mjs +0 -1
- package/dist/chunks/goal-1.1.21-a70wv2cb.mjs +0 -4
- package/dist/chunks/growthbook-1.1.21-hmscgg3x.mjs +0 -1
- package/dist/chunks/headless-1.1.21-dwdnz8rt.mjs +0 -2
- package/dist/chunks/heapdump-1.1.21-tvazwzf0.mjs +0 -6
- package/dist/chunks/help-1.1.21-c9hbdjta.mjs +0 -1
- package/dist/chunks/hookChains-1.1.21-acyv2xry.mjs +0 -3
- package/dist/chunks/hooks-1.1.21-cfmmnnah.mjs +0 -1
- package/dist/chunks/hooks-1.1.21-w12e5h5b.mjs +0 -79
- package/dist/chunks/ide-1.1.21-wywpj723.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.21-yhb521r3.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.1.21-kk58cty9.mjs +0 -1
- package/dist/chunks/index-1.1.21-3b6xa2yf.mjs +0 -1
- package/dist/chunks/index-1.1.21-3d6h7ke1.mjs +0 -1
- package/dist/chunks/index-1.1.21-57kd6ptp.mjs +0 -1
- package/dist/chunks/index-1.1.21-593vrygw.mjs +0 -23
- package/dist/chunks/index-1.1.21-5fmfkm8y.mjs +0 -9
- package/dist/chunks/index-1.1.21-6zxs2rfg.mjs +0 -1
- package/dist/chunks/index-1.1.21-8bhdk6jc.mjs +0 -5
- package/dist/chunks/index-1.1.21-adb7btws.mjs +0 -1
- package/dist/chunks/index-1.1.21-etcjfd99.mjs +0 -1
- package/dist/chunks/index-1.1.21-fy80jkp2.mjs +0 -1
- package/dist/chunks/index-1.1.21-hbxv4pgp.mjs +0 -1
- package/dist/chunks/index-1.1.21-hytfcvqs.mjs +0 -1
- package/dist/chunks/index-1.1.21-m0a3fv04.mjs +0 -30
- package/dist/chunks/index-1.1.21-m167t33s.mjs +0 -1
- package/dist/chunks/index-1.1.21-q5vrbm1a.mjs +0 -1
- package/dist/chunks/index-1.1.21-s1aj62xz.mjs +0 -1
- package/dist/chunks/index-1.1.21-srxg6mfj.mjs +0 -1
- package/dist/chunks/index-1.1.21-vcbqyp49.mjs +0 -1
- package/dist/chunks/index-1.1.21-wqh7rgwt.mjs +0 -2
- package/dist/chunks/index-1.1.21-xc8hadvs.mjs +0 -9
- package/dist/chunks/index-1.1.21-y0mjkxt4.mjs +0 -1
- package/dist/chunks/index-1.1.21-zn4zb4j6.mjs +0 -2
- package/dist/chunks/index-1.1.21-zphh9zyt.mjs +0 -1
- package/dist/chunks/init-1.1.21-3rsjrj70.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.21-t8zgkgkq.mjs +0 -1
- package/dist/chunks/ink-1.1.21-zrg02gjq.mjs +0 -1
- package/dist/chunks/insights-1.1.21-08rs6ycg.mjs +0 -870
- package/dist/chunks/install-1.1.21-fvsrnj75.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.21-kbd8kwxx.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.21-pvac1nvj.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.21-3ah0jawp.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.21-y8fy1vbg.mjs +0 -1
- package/dist/chunks/keybindings-1.1.21-wmvt9cka.mjs +0 -2
- package/dist/chunks/knowledge-1.1.21-z92hhppb.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.21-cv8x9bkm.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.21-kwpyjgm3.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.21-m59wf0fn.mjs +0 -1
- package/dist/chunks/log-1.1.21-xwc604af.mjs +0 -1
- package/dist/chunks/main-1.1.21-mpr5depp.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.21-nk3htdmq.mjs +0 -1
- package/dist/chunks/mcp-1.1.21-e7spj6dg.mjs +0 -1
- package/dist/chunks/mcp-1.1.21-mv23tsxc.mjs +0 -17
- package/dist/chunks/mcp-1.1.21-wa8c077q.mjs +0 -4
- package/dist/chunks/mcpb-1.1.21-bv8pwy9m.mjs +0 -1
- package/dist/chunks/memory-1.1.21-gqa797mn.mjs +0 -72
- package/dist/chunks/model-1.1.21-3dg8jye0.mjs +0 -1
- package/dist/chunks/model-1.1.21-3x98v8x4.mjs +0 -2
- package/dist/chunks/node-1.1.21-zxmyqm2z.mjs +0 -14
- package/dist/chunks/oauth-1.1.21-4ffdtf1q.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.21-9p741891.mjs +0 -14
- package/dist/chunks/output-style-1.1.21-kxvx8zbe.mjs +0 -1
- package/dist/chunks/package-ZOVFJE7Z-1.1.21-myehvasc.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.21-dtjr5vb7.mjs +0 -1
- package/dist/chunks/parser-1.1.21-jaqdwq7t.mjs +0 -1
- package/dist/chunks/passes-1.1.21-g830qx07.mjs +0 -1
- package/dist/chunks/permissions-1.1.21-ec5a6xxt.mjs +0 -3
- package/dist/chunks/permissions-1.1.21-qdday4sh.mjs +0 -1
- package/dist/chunks/plan-1.1.21-f5qe7hem.mjs +0 -1
- package/dist/chunks/plist-1.1.21-y82gjgzs.mjs +0 -1
- package/dist/chunks/plugin-1.1.21-0kfwxmv2.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.21-f5ddb5rc.mjs +0 -1
- package/dist/chunks/plugins-1.1.21-exphk1gb.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.21-jhp4m01m.mjs +0 -2
- package/dist/chunks/print-1.1.21-rcjs5pc4.mjs +0 -57
- package/dist/chunks/process-1.1.21-03zz92gq.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.21-zey1mfgx.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.21-cwxbh5pw.mjs +0 -9
- package/dist/chunks/prompt-1.1.21-49amsrvt.mjs +0 -1
- package/dist/chunks/prompt-1.1.21-gv2b1rk5.mjs +0 -1
- package/dist/chunks/prompts-1.1.21-hggxct4d.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.21-e974kgtb.mjs +0 -13
- package/dist/chunks/provider-1.1.21-xnprbehk.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.21-b4tnf9te.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.21-0n0739n4.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.21-s59gtr3x.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.21-wb1mef7h.mjs +0 -26
- package/dist/chunks/registry-1.1.21-knz7xa0h.mjs +0 -1
- package/dist/chunks/release-notes-1.1.21-mvr373q4.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.21-b4czg147.mjs +0 -2
- package/dist/chunks/remote-env-1.1.21-dbnxeqkg.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.21-fr3w35kv.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.21-5fvz5bsw.mjs +0 -1
- package/dist/chunks/rename-1.1.21-6rvag2s4.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.21-tay6v7n4.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.21-nzx71pts.mjs +0 -1
- package/dist/chunks/resume-1.1.21-mp3a9npp.mjs +0 -2
- package/dist/chunks/rewind-1.1.21-njh0btq2.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.21-7j3b02hm.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.21-d1v7f1sh.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.21-1vd13wkq.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.21-c7fw2ksr.mjs +0 -1
- package/dist/chunks/session-1.1.21-9gpkxas1.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.21-w4676wtk.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.21-ecwm1cfg.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.21-kan90ps9.mjs +0 -1
- package/dist/chunks/settings-1.1.21-4s7ew4vh.mjs +0 -1
- package/dist/chunks/setup-1.1.21-nmfqd6pa.mjs +0 -12
- package/dist/chunks/sinks-1.1.21-grwc3mac.mjs +0 -1
- package/dist/chunks/skills-1.1.21-c7mykz5q.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.21-mtr244kh.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.21-k1569a6r.mjs +0 -1
- package/dist/chunks/state-1.1.21-006s6xsy.mjs +0 -1
- package/dist/chunks/stats-1.1.21-bdpn78b9.mjs +0 -6
- package/dist/chunks/status-1.1.21-dkepakb3.mjs +0 -1
- package/dist/chunks/stickers-1.1.21-xk8yr9yt.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.21-tjx2d81b.mjs +0 -1
- package/dist/chunks/tasks-1.1.21-9qx5fz1q.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.21-pnhycdw4.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.21-279f713t.mjs +0 -1
- package/dist/chunks/teleport-1.1.21-t3yfsxqf.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.21-6t0x22pz.mjs +0 -1
- package/dist/chunks/theme-1.1.21-qp0w8xbb.mjs +0 -1
- package/dist/chunks/thinkback-1.1.21-my7w4nms.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.21-67cnrtz7.mjs +0 -1
- package/dist/chunks/toolPool-1.1.21-njaz40qd.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.21-7b0wbg1q.mjs +0 -1
- package/dist/chunks/tools-1.1.21-zaawccjz.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.21-2h0kxwkb.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.21-tajysy6v.mjs +0 -69
- package/dist/chunks/types-1.1.21-dpz3pqyf.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.21-3r3a34tb.mjs +0 -4
- package/dist/chunks/update-1.1.21-v9n06gej.mjs +0 -72
- package/dist/chunks/upgrade-1.1.21-f40x8myx.mjs +0 -1
- package/dist/chunks/upload-1.1.21-x63yx03n.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.21-4d1nmmca.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.21-f8egwk04.mjs +0 -1
- package/dist/chunks/usage-1.1.21-ajfcrtj1.mjs +0 -1
- package/dist/chunks/util-1.1.21-raqpgawk.mjs +0 -1
- package/dist/chunks/utils-1.1.21-ae7844cz.mjs +0 -1
- package/dist/chunks/vim-1.1.21-stgjbrez.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.21-3mrb2p44.mjs +0 -13
- package/dist/chunks/watcher-1.1.21-71vsydsx.mjs +0 -1
- package/dist/chunks/wiki-1.1.21-m8wt2ppx.mjs +0 -132
- package/dist/chunks/workflows-1.1.21-j7gtgean.mjs +0 -1
- package/dist/chunks/worktree-1.1.21-acv1xtvb.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.21-2sg0072j.mjs +0 -1
- package/dist/chunks/wrapper-1.1.21-zbvep84d.mjs +0 -7
- /package/dist/chunks/{cli-1.1.21-ftamxg3e.mjs → cli-1.1.23-4q364wmc.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.21-cx7tkkx6.mjs → cli-1.1.23-7jpcmnjc.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.21-7snn7kbs.mjs → cli-1.1.23-btq83yzw.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.21-rte0df0y.mjs → cli-1.1.23-gm82gspk.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.21-7sx1arjq.mjs → cli-1.1.23-qgdfjtj2.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.21-srd8n2bc.mjs → cli-1.1.23-vdp0r91n.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ara as YJ,Bra as v,Cra as P1,Dra as J5,Era as w8,Fra as D,Gra as y,Hra as m,Ira as _Q,Jra as L,Kra as a,Lra as h5,Mra as e8,Nra as F5,Ora as _8,Pra as E,Qra as h8,Rra as P,Sra as x1,Tra as d,Ura as WQ,Vra as o,Wra as xQ,Xra as l5,Yra as UY,zra as CQ}from"./cli-1.1.21-c27qrh9k.mjs";import{sta as sQ,tta as X}from"./cli-1.1.21-13kr6en7.mjs";function h$(){this.__data__=new v,this.size=0}var e1;var QQ=X(()=>{P1();e1=h$});function n$(Q){var J=this.__data__,Y=J.delete(Q);return this.size=J.size,Y}var $Q;var JQ=X(()=>{$Q=n$});function b$(Q){return this.__data__.get(Q)}var YQ;var ZQ=X(()=>{YQ=b$});function i$(Q){return this.__data__.has(Q)}var XQ;var HQ=X(()=>{XQ=i$});function l$(Q,J){var Y=this.__data__;if(Y instanceof v){var Z=Y.__data__;if(!d||Z.length<u$-1)return Z.push([Q,J]),this.size=++Y.size,this;Y=this.__data__=new o(Z)}return Y.set(Q,J),this.size=Y.size,this}var u$=200,UQ;var KQ=X(()=>{P1();WQ();xQ();UQ=l$});function g(Q){var J=this.__data__=new v(Q);this.size=J.size}var p;var I1=X(()=>{P1();QQ();JQ();ZQ();HQ();KQ();g.prototype.clear=e1;g.prototype.delete=$Q;g.prototype.get=YQ;g.prototype.has=XQ;g.prototype.set=UQ;p=g});function c$(Q){return this.__data__.set(Q,T$),this}var T$="__lodash_hash_undefined__",GQ;var BQ=X(()=>{GQ=c$});function o$(Q){return this.__data__.has(Q)}var NQ;var wQ=X(()=>{NQ=o$});function r(Q){var J=-1,Y=Q==null?0:Q.length;this.__data__=new o;while(++J<Y)this.add(Q[J])}var zQ;var FQ=X(()=>{xQ();BQ();wQ();r.prototype.add=r.prototype.push=GQ;r.prototype.has=NQ;zQ=r});function r$(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 RQ;var DQ=X(()=>{RQ=r$});function s$(Q,J){return Q.has(J)}var qQ;var OQ=X(()=>{qQ=s$});function e$(Q,J,Y,Z,H,W){var x=Y&a$,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,V=Y&t$?new zQ:void 0;W.set(Q,J),W.set(J,Q);while(++z<U){var R=Q[z],q=J[z];if(Z)var f=x?Z(q,R,z,J,Q,W):Z(R,q,z,Q,J,W);if(f!==void 0){if(f)continue;N=!1;break}if(V){if(!RQ(J,function(C,_){if(!qQ(V,_)&&(R===C||H(R,C,Y,Z,W)))return V.push(_)})){N=!1;break}}else if(!(R===q||H(R,q,Y,Z,W))){N=!1;break}}return W.delete(Q),W.delete(J),N}var a$=1,t$=2,s;var C1=X(()=>{FQ();DQ();OQ();s=e$});var QJ,_1;var VQ=X(()=>{y();QJ=D.Uint8Array,_1=QJ});function $J(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z,H){Y[++J]=[H,Z]}),Y}var MQ;var LQ=X(()=>{MQ=$J});function JJ(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z){Y[++J]=Z}),Y}var fQ;var PQ=X(()=>{fQ=JJ});function RJ(Q,J,Y,Z,H,W,x){switch(Y){case FJ:if(Q.byteLength!=J.byteLength||Q.byteOffset!=J.byteOffset)return!1;Q=Q.buffer,J=J.buffer;case zJ:if(Q.byteLength!=J.byteLength||!W(new _1(Q),new _1(J)))return!1;return!0;case HJ:case WJ:case KJ:return CQ(+Q,+J);case xJ:return Q.name==J.name&&Q.message==J.message;case GJ:case NJ:return Q==J+"";case UJ:var U=MQ;case BJ:var B=Z&ZJ;if(U||(U=fQ),Q.size!=J.size&&!B)return!1;var K=x.get(Q);if(K)return K==J;Z|=XJ,x.set(Q,J);var F=s(U(Q),U(J),Z,H,W,x);return x.delete(Q),F;case wJ:if(k1)return k1.call(Q)==k1.call(J)}return!1}var ZJ=1,XJ=2,HJ="[object Boolean]",WJ="[object Date]",xJ="[object Error]",UJ="[object Map]",KJ="[object Number]",GJ="[object RegExp]",BJ="[object Set]",NJ="[object String]",wJ="[object Symbol]",zJ="[object ArrayBuffer]",FJ="[object DataView]",IQ,k1,kQ;var EQ=X(()=>{_Q();VQ();YJ();C1();LQ();PQ();IQ=m?m.prototype:void 0,k1=IQ?IQ.valueOf:void 0;kQ=RJ});function DJ(Q,J){var Y=-1,Z=J.length,H=Q.length;while(++Y<Z)Q[H+Y]=J[Y];return Q}var vQ;var dQ=X(()=>{vQ=DJ});var qJ,w;var M=X(()=>{qJ=Array.isArray,w=qJ});function OJ(Q,J,Y){var Z=J(Q);return w(Q)?Z:vQ(Z,Y(Q))}var gQ;var pQ=X(()=>{dQ();M();gQ=OJ});function VJ(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 yQ;var mQ=X(()=>{yQ=VJ});function MJ(){return[]}var SQ;var AQ=X(()=>{SQ=MJ});var LJ,fJ,jQ,PJ,hQ;var nQ=X(()=>{mQ();AQ();LJ=Object.prototype,fJ=LJ.propertyIsEnumerable,jQ=Object.getOwnPropertySymbols,PJ=!jQ?SQ:function(Q){if(Q==null)return[];return Q=Object(Q),yQ(jQ(Q),function(J){return fJ.call(Q,J)})},hQ=PJ});function IJ(Q,J){var Y=-1,Z=Array(Q);while(++Y<Q)Z[Y]=J(Y);return Z}var bQ;var iQ=X(()=>{bQ=IJ});function CJ(Q){return Q!=null&&typeof Q=="object"}var O;var S=X(()=>{O=CJ});function kJ(Q){return O(Q)&&L(Q)==_J}var _J="[object Arguments]",E1;var uQ=X(()=>{a();S();E1=kJ});var lQ,EJ,vJ,dJ,t;var v1=X(()=>{uQ();S();lQ=Object.prototype,EJ=lQ.hasOwnProperty,vJ=lQ.propertyIsEnumerable,dJ=E1(function(){return arguments}())?E1:function(Q){return O(Q)&&EJ.call(Q,"callee")&&!vJ.call(Q,"callee")},t=dJ});function gJ(){return!1}var TQ;var cQ=X(()=>{TQ=gJ});var Q1={};sQ(Q1,{default:()=>A});var aQ,oQ,pJ,rQ,yJ,mJ,A;var d1=X(()=>{y();cQ();aQ=typeof Q1=="object"&&Q1&&!Q1.nodeType&&Q1,oQ=aQ&&typeof e=="object"&&e&&!e.nodeType&&e,pJ=oQ&&oQ.exports===aQ,rQ=pJ?D.Buffer:void 0,yJ=rQ?rQ.isBuffer:void 0,mJ=yJ||TQ,A=mJ});function jJ(Q,J){var Y=typeof Q;return J=J==null?SJ:J,!!J&&(Y=="number"||Y!="symbol"&&AJ.test(Q))&&(Q>-1&&Q%1==0&&Q<J)}var SJ=9007199254740991,AJ,$1;var g1=X(()=>{AJ=/^(?:0|[1-9]\d*)$/;$1=jJ});function nJ(Q){return typeof Q=="number"&&Q>-1&&Q%1==0&&Q<=hJ}var hJ=9007199254740991,j;var J1=X(()=>{j=nJ});function B8(Q){return O(Q)&&j(Q.length)&&!!G[L(Q)]}var bJ="[object Arguments]",iJ="[object Array]",uJ="[object Boolean]",lJ="[object Date]",TJ="[object Error]",cJ="[object Function]",oJ="[object Map]",rJ="[object Number]",sJ="[object Object]",aJ="[object RegExp]",tJ="[object Set]",eJ="[object String]",Q8="[object WeakMap]",$8="[object ArrayBuffer]",J8="[object DataView]",Y8="[object Float32Array]",Z8="[object Float64Array]",X8="[object Int8Array]",H8="[object Int16Array]",W8="[object Int32Array]",x8="[object Uint8Array]",U8="[object Uint8ClampedArray]",K8="[object Uint16Array]",G8="[object Uint32Array]",G,tQ;var eQ=X(()=>{a();J1();S();G={};G[Y8]=G[Z8]=G[X8]=G[H8]=G[W8]=G[x8]=G[U8]=G[K8]=G[G8]=!0;G[bJ]=G[iJ]=G[$8]=G[uJ]=G[J8]=G[lJ]=G[TJ]=G[cJ]=G[oJ]=G[rJ]=G[sJ]=G[aJ]=G[tJ]=G[eJ]=G[Q8]=!1;tQ=B8});function N8(Q){return function(J){return Q(J)}}var Q5;var $5=X(()=>{Q5=N8});var Z1={};sQ(Z1,{default:()=>X1});var Y5,i,z8,p1,F8,X1;var Z5=X(()=>{w8();Y5=typeof Z1=="object"&&Z1&&!Z1.nodeType&&Z1,i=Y5&&typeof Y1=="object"&&Y1&&!Y1.nodeType&&Y1,z8=i&&i.exports===Y5,p1=z8&&J5.process,F8=function(){try{var Q=i&&i.require&&i.require("util").types;if(Q)return Q;return p1&&p1.binding&&p1.binding("util")}catch(J){}}(),X1=F8});var X5,R8,H1;var y1=X(()=>{eQ();$5();Z5();X5=X1&&X1.isTypedArray,R8=X5?Q5(X5):tQ,H1=R8});function O8(Q,J){var Y=w(Q),Z=!Y&&t(Q),H=!Y&&!Z&&A(Q),W=!Y&&!Z&&!H&&H1(Q),x=Y||Z||H||W,U=x?bQ(Q.length,String):[],B=U.length;for(var K in Q)if((J||q8.call(Q,K))&&!(x&&(K=="length"||H&&(K=="offset"||K=="parent")||W&&(K=="buffer"||K=="byteLength"||K=="byteOffset")||$1(K,B))))U.push(K);return U}var D8,q8,H5;var W5=X(()=>{iQ();v1();M();d1();g1();y1();D8=Object.prototype,q8=D8.hasOwnProperty;H5=O8});function M8(Q){var J=Q&&Q.constructor,Y=typeof J=="function"&&J.prototype||V8;return Q===Y}var V8,x5;var U5=X(()=>{V8=Object.prototype;x5=M8});function L8(Q,J){return function(Y){return Q(J(Y))}}var K5;var G5=X(()=>{K5=L8});var f8,B5;var N5=X(()=>{G5();f8=K5(Object.keys,Object),B5=f8});function C8(Q){if(!x5(Q))return B5(Q);var J=[];for(var Y in Object(Q))if(I8.call(Q,Y)&&Y!="constructor")J.push(Y);return J}var P8,I8,w5;var z5=X(()=>{U5();N5();P8=Object.prototype,I8=P8.hasOwnProperty;w5=C8});function k8(Q){return Q!=null&&j(Q.length)&&!F5(Q)}var R5;var D5=X(()=>{_8();J1();R5=k8});function E8(Q){return R5(Q)?H5(Q):w5(Q)}var W1;var m1=X(()=>{W5();z5();D5();W1=E8});function v8(Q){return gQ(Q,W1,hQ)}var S1;var q5=X(()=>{pQ();nQ();m1();S1=v8});function y8(Q,J,Y,Z,H,W){var x=Y&d8,U=S1(Q),B=U.length,K=S1(J),F=K.length;if(B!=F&&!x)return!1;var z=B;while(z--){var N=U[z];if(!(x?N in J:p8.call(J,N)))return!1}var V=W.get(Q),R=W.get(J);if(V&&R)return V==J&&R==Q;var q=!0;W.set(Q,J),W.set(J,Q);var f=x;while(++z<B){N=U[z];var C=Q[N],_=J[N];if(Z)var t1=x?Z(_,C,N,J,Q,W):Z(C,_,N,Q,J,W);if(!(t1===void 0?C===_||H(C,_,Y,Z,W):t1)){q=!1;break}f||(f=N=="constructor")}if(q&&!f){var T=Q.constructor,c=J.constructor;if(T!=c&&(("constructor"in Q)&&("constructor"in J))&&!(typeof T=="function"&&T instanceof T&&typeof c=="function"&&c instanceof c))q=!1}return W.delete(Q),W.delete(J),q}var d8=1,g8,p8,O5;var V5=X(()=>{q5();g8=Object.prototype,p8=g8.hasOwnProperty;O5=y8});var m8,U1;var M5=X(()=>{x1();y();m8=P(D,"DataView"),U1=m8});var S8,K1;var L5=X(()=>{x1();y();S8=P(D,"Promise"),K1=S8});var A8,G1;var f5=X(()=>{x1();y();A8=P(D,"Set"),G1=A8});var j8,B1;var P5=X(()=>{x1();y();j8=P(D,"WeakMap"),B1=j8});var I5="[object Map]",n8="[object Object]",C5="[object Promise]",_5="[object Set]",k5="[object WeakMap]",E5="[object DataView]",b8,i8,u8,l8,T8,k,A1;var v5=X(()=>{M5();WQ();L5();f5();P5();a();h8();b8=E(U1),i8=E(d),u8=E(K1),l8=E(G1),T8=E(B1),k=L;if(U1&&k(new U1(new ArrayBuffer(1)))!=E5||d&&k(new d)!=I5||K1&&k(K1.resolve())!=C5||G1&&k(new G1)!=_5||B1&&k(new B1)!=k5)k=function(Q){var J=L(Q),Y=J==n8?Q.constructor:void 0,Z=Y?E(Y):"";if(Z)switch(Z){case b8:return E5;case i8:return I5;case u8:return C5;case l8:return _5;case T8:return k5}return J};A1=k});function r8(Q,J,Y,Z,H,W){var x=w(Q),U=w(J),B=x?g5:A1(Q),K=U?g5:A1(J);B=B==d5?N1:B,K=K==d5?N1:K;var F=B==N1,z=K==N1,N=B==K;if(N&&A(Q)){if(!A(J))return!1;x=!0,F=!1}if(N&&!F)return W||(W=new p),x||H1(Q)?s(Q,J,Y,Z,H,W):kQ(Q,J,B,Y,Z,H,W);if(!(Y&c8)){var V=F&&p5.call(Q,"__wrapped__"),R=z&&p5.call(J,"__wrapped__");if(V||R){var q=V?Q.value():Q,f=R?J.value():J;return W||(W=new p),H(q,f,Y,Z,W)}}if(!N)return!1;return W||(W=new p),O5(Q,J,Y,Z,H,W)}var c8=1,d5="[object Arguments]",g5="[object Array]",N1="[object Object]",o8,p5,y5;var m5=X(()=>{I1();C1();EQ();V5();v5();M();d1();y1();o8=Object.prototype,p5=o8.hasOwnProperty;y5=r8});function S5(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 y5(Q,J,Y,Z,S5,H)}var w1;var j1=X(()=>{m5();S();w1=S5});function t8(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?w1(F,K,s8|a8,Z,z):N))return!1}}return!0}var s8=1,a8=2,A5;var j5=X(()=>{I1();j1();A5=t8});function QY(Q){return Q===Q&&!h5(Q)}var z1;var h1=X(()=>{e8();z1=QY});function $Y(Q){var J=W1(Q),Y=J.length;while(Y--){var Z=J[Y],H=Q[Z];J[Y]=[Z,H,z1(H)]}return J}var n5;var b5=X(()=>{h1();m1();n5=$Y});function JY(Q,J){return function(Y){if(Y==null)return!1;return Y[Q]===J&&(J!==void 0||(Q in Object(Y)))}}var F1;var n1=X(()=>{F1=JY});function YY(Q){var J=n5(Q);if(J.length==1&&J[0][2])return F1(J[0][0],J[0][1]);return function(Y){return Y===Q||A5(Y,Q,J)}}var i5;var u5=X(()=>{j5();b5();n1();i5=YY});function XY(Q){return typeof Q=="symbol"||O(Q)&&L(Q)==ZY}var ZY="[object Symbol]",h;var R1=X(()=>{a();S();h=XY});function xY(Q,J){if(w(Q))return!1;var Y=typeof Q;if(Y=="number"||Y=="symbol"||Y=="boolean"||Q==null||h(Q))return!0;return WY.test(Q)||!HY.test(Q)||J!=null&&Q in Object(J)}var HY,WY,n;var D1=X(()=>{M();R1();HY=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,WY=/^\w*$/;n=xY});function GY(Q){var J=l5(Q,function(Z){if(Y.size===KY)Y.clear();return Z}),Y=J.cache;return J}var KY=500,T5;var c5=X(()=>{UY();T5=GY});var BY,NY,wY,o5;var r5=X(()=>{c5();BY=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,NY=/\\(\\)?/g,wY=T5(function(Q){var J=[];if(Q.charCodeAt(0)===46)J.push("");return Q.replace(BY,function(Y,Z,H,W){J.push(H?W.replace(NY,"$1"):Z||Y)}),J}),o5=wY});function zY(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 s5;var a5=X(()=>{s5=zY});function Q$(Q){if(typeof Q=="string")return Q;if(w(Q))return s5(Q,Q$)+"";if(h(Q))return e5?e5.call(Q):"";var J=Q+"";return J=="0"&&1/Q==-FY?"-0":J}var FY=1/0,t5,e5,$$;var J$=X(()=>{_Q();a5();M();R1();t5=m?m.prototype:void 0,e5=t5?t5.toString:void 0;$$=Q$});function RY(Q){return Q==null?"":$$(Q)}var Y$;var Z$=X(()=>{J$();Y$=RY});function DY(Q,J){if(w(Q))return Q;return n(Q,J)?[Q]:o5(Y$(Q))}var q1;var b1=X(()=>{M();D1();r5();Z$();q1=DY});function OY(Q){if(typeof Q=="string"||h(Q))return Q;var J=Q+"";return J=="0"&&1/Q==-qY?"-0":J}var qY=1/0,I;var u=X(()=>{R1();I=OY});function VY(Q,J){J=q1(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 O1;var i1=X(()=>{b1();u();O1=VY});function MY(Q,J,Y){var Z=Q==null?void 0:O1(Q,J);return Z===void 0?Y:Z}var X$;var H$=X(()=>{i1();X$=MY});function LY(Q,J){return Q!=null&&J in Object(Q)}var W$;var x$=X(()=>{W$=LY});function fY(Q,J,Y){J=q1(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&&j(H)&&$1(x,H)&&(w(Q)||t(Q))}var U$;var K$=X(()=>{b1();v1();M();g1();J1();u();U$=fY});function PY(Q,J){return Q!=null&&U$(Q,J,W$)}var G$;var B$=X(()=>{x$();K$();G$=PY});function _Y(Q,J){if(n(Q)&&z1(J))return F1(I(Q),J);return function(Y){var Z=X$(Y,Q);return Z===void 0&&Z===J?G$(Y,Q):w1(J,Z,IY|CY)}}var IY=1,CY=2,N$;var w$=X(()=>{j1();H$();B$();D1();h1();n1();u();N$=_Y});function kY(Q){return Q}var z$;var F$=X(()=>{z$=kY});function EY(Q){return function(J){return J==null?void 0:J[Q]}}var R$;var D$=X(()=>{R$=EY});function vY(Q){return function(J){return O1(J,Q)}}var q$;var O$=X(()=>{i1();q$=vY});function dY(Q){return n(Q)?R$(I(Q)):q$(Q)}var V$;var M$=X(()=>{D$();O$();D1();u();V$=dY});function gY(Q){if(typeof Q=="function")return Q;if(Q==null)return z$;if(typeof Q=="object")return w(Q)?N$(Q[0],Q[1]):i5(Q);return V$(Q)}var L$;var f$=X(()=>{u5();w$();F$();M();M$();L$=gY});function pY(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 P$;var I$=X(()=>{P$=pY});function yY(Q,J){return Q&&Q.length?P$(Q,L$(J,2)):0}var b;var C$=X(()=>{f$();I$();b=yY});import{randomUUID as u1}from"crypto";var _$=()=>{};function nX(){return l1}function bX(Q){l1=Q}function iX(Q){return V1.has(Q)?V1.get(Q):void 0}function uX(Q,J){V1.set(Q,J)}function lX(Q){return T1.get(Q)}function TX(Q,J){T1.set(Q,J)}function k$(){l1=null,V1.clear(),T1.clear()}function cX(){return c1}function oX(Q){c1=Q}function rX(){c1=void 0}var l1=null,V1,T1,c1;var E$=X(()=>{V1=new Map;T1=new Map});function v$(){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 d$=()=>{};import{realpathSync as g$}from"fs";import{cwd as mY}from"process";function Z9(Q){return o1.add(Q),()=>o1.delete(Q)}function X9(){L1()}function L1(){for(let Q of o1)try{Q()}catch{}}function p$(){let Q="";if(typeof process<"u"&&typeof process.cwd==="function"&&typeof g$==="function"){let Y=mY();try{Q=g$(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"],meter:null,sessionCounter:null,locCounter:null,prCounter:null,commitCounter:null,costCounter:null,tokenCounter:null,codeEditToolDecisionCounter:null,activeTimeCounter:null,statsStore:null,sessionId:u1(),parentSessionId:void 0,loggerProvider:null,eventLogger:null,meterProvider:null,tracerProvider:null,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}}function H9(){return $.sessionId}function W9(Q={}){if(Q.setCurrentAsParent)$.parentSessionId=$.sessionId;return $.planSlugCache.delete($.sessionId),$.sessionId=u1(),$.sessionProjectDir=null,m$($.sessionId),$.sessionId}function x9(){return $.parentSessionId}function U9(Q,J=null){$.planSlugCache.delete($.sessionId),$.sessionId=Q,$.sessionProjectDir=J,m$(Q)}function m$(Q){$.pendingSessionWakeup=null,jY(),$.sessionEpochMs=Date.now(),y$.emit(Q)}function G9(){return $.sessionProjectDir}function B9(){return $.originalCwd}function N9(){return $.projectRoot}function w9(Q){$.originalCwd=Q.normalize("NFC")}function z9(Q){$.projectRoot=Q.normalize("NFC")}function F9(){return $.cwd}function R9(Q){$.cwd=Q.normalize("NFC")}function D9(){return $.directConnectServerUrl}function q9(Q){$.directConnectServerUrl=Q}function O9(Q,J){$.totalAPIDuration+=Q,$.totalAPIDurationWithoutRetries+=J}function V9(){$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalCostUSD=0}function M9(Q,J,Y){$.modelUsage[Y]=J,$.totalCostUSD+=Q}function L9(){return $.totalCostUSD}function f9(){return $.totalAPIDuration}function P9(){if($.turnActiveSince==null)$.turnActiveSince=Date.now()}function I9(){if($.turnActiveSince!=null)$.activeDurationMs+=Date.now()-$.turnActiveSince,$.turnActiveSince=null}function C9(){return $.activeDurationMs+($.turnActiveSince!=null?Date.now()-$.turnActiveSince:0)}function _9(){return $.totalAPIDurationWithoutRetries}function k9(){return $.totalToolDuration}function E9(Q){$.totalToolDuration+=Q,$.turnToolDurationMs+=Q,$.turnToolCount++}function v9(){return $.turnHookDurationMs}function d9(Q){$.turnHookDurationMs+=Q,$.turnHookCount++}function g9(){$.turnHookDurationMs=0,$.turnHookCount=0}function p9(){return $.turnHookCount}function y9(){return $.turnToolDurationMs}function m9(){$.turnToolDurationMs=0,$.turnToolCount=0}function S9(){return $.turnToolCount}function A9(){return $.turnClassifierDurationMs}function j9(Q){$.turnClassifierDurationMs+=Q,$.turnClassifierCount++}function h9(){$.turnClassifierDurationMs=0,$.turnClassifierCount=0}function n9(){return $.turnClassifierCount}function b9(){return $.statsStore}function i9(Q){$.statsStore=Q}function u9(Q){if(Q)S$();else r1=!0}function l9(){if(r1)S$()}function S$(){$.lastInteractionTime=Date.now(),r1=!1}function T9(Q,J){$.totalLinesAdded+=Q,$.totalLinesRemoved+=J}function c9(){return $.totalLinesAdded}function o9(){return $.totalLinesRemoved}function r9(){return b(Object.values($.modelUsage),"inputTokens")}function A$(){return b(Object.values($.modelUsage),"outputTokens")}function s9(){return b(Object.values($.modelUsage),"cacheReadInputTokens")}function a9(){return b(Object.values($.modelUsage),"cacheCreationInputTokens")}function t9(){return b(Object.values($.modelUsage),"webSearchRequests")}function e9(){return A$()-s1}function QH(){return a1}function $H(Q){s1=A$(),a1=Q,f1=0}function JH(){return f1}function YH(){f1++}function ZH(){$.hasUnknownModelCost=!0}function XH(){return $.hasUnknownModelCost}function HH(){return $.lastMainRequestId}function WH(Q){$.lastMainRequestId=Q}function xH(){return $.lastApiCompletionTimestamp}function UH(Q){$.lastApiCompletionTimestamp=Q}function KH(){$.pendingPostCompaction=!0}function GH(){let Q=$.pendingPostCompaction;return $.pendingPostCompaction=!1,Q}function BH(){return $.lastInteractionTime}function NH(){if(M1=!0,l)clearTimeout(l);l=setTimeout(()=>{M1=!1,l=void 0},j$),l.unref?.()}function wH(){return M1}async function zH(){while(M1)await new Promise((Q)=>setTimeout(Q,j$).unref?.())}function FH(){return $.modelUsage}function RH(Q){return $.modelUsage[Q]}function DH(){return $.mainLoopModelOverride}function qH(){return $.initialMainLoopModel}function OH(Q){$.mainLoopModelOverride=Q}function VH(Q){$.initialMainLoopModel=Q}function MH(){return $.sdkBetas}function LH(Q){$.sdkBetas=Q}function fH(){$.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 PH({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 IH(){throw Error("resetStateForTests can only be called in tests")}function CH(){return $.modelStrings}function _H(Q){$.modelStrings=Q}function kH(){$.modelStrings=null}function EH(Q,J){$.meter=Q,$.sessionCounter=J("claude_code.session.count",{description:"Count of CLI sessions started"}),$.locCounter=J("claude_code.lines_of_code.count",{description:"Count of lines of code modified, with the 'type' attribute indicating whether lines were added or removed"}),$.prCounter=J("claude_code.pull_request.count",{description:"Number of pull requests created"}),$.commitCounter=J("claude_code.commit.count",{description:"Number of git commits created"}),$.costCounter=J("claude_code.cost.usage",{description:"Cost of the Claude Code session",unit:"USD"}),$.tokenCounter=J("claude_code.token.usage",{description:"Number of tokens used",unit:"tokens"}),$.codeEditToolDecisionCounter=J("claude_code.code_edit_tool.decision",{description:"Count of code editing tool permission decisions (accept/reject) for Edit, Write, and NotebookEdit tools"}),$.activeTimeCounter=J("claude_code.active_time.total",{description:"Total active time in seconds",unit:"s"})}function vH(){return $.meter}function dH(){return $.sessionCounter}function gH(){return $.locCounter}function pH(){return $.prCounter}function yH(){return $.commitCounter}function mH(){return $.costCounter}function SH(){return $.tokenCounter}function AH(){return $.codeEditToolDecisionCounter}function jH(){return $.activeTimeCounter}function hH(){return $.loggerProvider}function nH(Q){$.loggerProvider=Q}function bH(){return $.eventLogger}function iH(Q){$.eventLogger=Q}function uH(){return $.meterProvider}function lH(Q){$.meterProvider=Q}function TH(){return $.tracerProvider}function cH(Q){$.tracerProvider=Q}function SY(){return!$.isInteractive}function oH(){return $.isInteractive}function rH(Q){$.isInteractive=Q}function sH(){return $.clientType}function aH(Q){$.clientType=Q}function tH(){return $.sdkAgentProgressSummariesEnabled}function eH(Q){$.sdkAgentProgressSummariesEnabled=Q}function Q4(){return $.kairosActive}function $4(Q){$.kairosActive=Q,L1()}function J4(){return $.strictToolResultPairing}function Y4(Q){$.strictToolResultPairing=Q}function Z4(){return $.userMsgOptIn}function X4(Q){$.userMsgOptIn=Q,L1()}function H4(){return $.sessionSource}function W4(Q){$.sessionSource=Q}function x4(){return $.questionPreviewFormat}function U4(Q){$.questionPreviewFormat=Q}function K4(){return $.agentColorMap}function G4(){return $.flagSettingsPath}function B4(Q){$.flagSettingsPath=Q}function N4(){return $.flagSettingsInline}function w4(Q){$.flagSettingsInline=Q}function z4(){return $.sessionIngressToken}function F4(Q){$.sessionIngressToken=Q}function R4(){return $.oauthTokenFromFd}function D4(Q){$.oauthTokenFromFd=Q}function q4(){return $.apiKeyFromFd}function O4(Q){$.apiKeyFromFd=Q}function V4(Q){$.lastAPIRequest=Q}function M4(){return $.lastAPIRequest}function L4(Q){$.lastAPIRequestMessages=Q}function f4(){return $.lastAPIRequestMessages}function P4(Q){$.lastClassifierRequests=Q}function I4(){return $.lastClassifierRequests}function C4(Q){$.cachedClaudeMdContent=Q}function _4(){return $.cachedClaudeMdContent}function k4(Q){if($.inMemoryErrorLog.length>=100)$.inMemoryErrorLog.shift();$.inMemoryErrorLog.push(Q)}function E4(){return $.allowedSettingSources}function v4(Q){$.allowedSettingSources=Q}function d4(){return SY()&&$.clientType!=="claude-vscode"}function g4(Q){$.inlinePlugins=Q}function p4(){return $.inlinePlugins}function y4(Q){$.useCoworkPlugins=Q,k$()}function m4(){return $.useCoworkPlugins}function S4(Q){$.sessionBypassPermissionsMode=Q}function A4(){return $.sessionBypassPermissionsMode}function j4(Q){$.scheduledTasksEnabled=Q}function h4(){return $.scheduledTasksEnabled}function n4(){return $.sessionCronTasks}function b4(Q){$.sessionCronTasks.push(Q)}function i4(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 u4(){return $.pendingSessionWakeup}function l4(Q){let J=$.pendingSessionWakeup!==null;return $.pendingSessionWakeup=Q,J}function T4(){$.pendingSessionWakeup=null}function c4(Q){$.sessionTrustAccepted=Q}function o4(){return $.sessionTrustAccepted}function r4(Q){$.sessionPersistenceDisabled=Q}function s4(){return $.sessionPersistenceDisabled}function a4(){return $.hasExitedPlanMode}function t4(Q){$.hasExitedPlanMode=Q}function e4(){return $.needsPlanModeExitAttachment}function Q3(Q){$.needsPlanModeExitAttachment=Q}function $3(Q,J){if(J==="plan"&&Q!=="plan")$.needsPlanModeExitAttachment=!1;if(Q==="plan"&&J!=="plan")$.needsPlanModeExitAttachment=!0}function J3(){return $.needsAutoModeExitAttachment}function Y3(Q){$.needsAutoModeExitAttachment=Q}function Z3(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 X3(Q){$.initJsonSchema=Q}function H3(){return $.initJsonSchema}function W3(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 x3(){return $.registeredHooks}function U3(){$.registeredHooks=null}function K3(){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 G3(){$.initJsonSchema=null,$.registeredHooks=null}function B3(){return $.planSlugCache}function N3(){return $.sessionCreatedTeams}function w3(Q){$.teleportedSessionInfo={isTeleported:!0,hasLoggedFirstMessage:!1,sessionId:Q.sessionId}}function z3(){return $.teleportedSessionInfo}function F3(){if($.teleportedSessionInfo)$.teleportedSessionInfo.hasLoggedFirstMessage=!0}function R3(Q,J,Y,Z=null){let H=`${Z??""}:${Q}`;$.invokedSkills.set(H,{skillName:Q,skillPath:J,content:Y,invokedAt:Date.now(),agentId:Z})}function D3(){return $.invokedSkills}function q3(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 O3(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 V3(Q){for(let[J,Y]of $.invokedSkills)if(Y.agentId===Q)$.invokedSkills.delete(J)}function M3(Q,J){}function L3(){return AY}function f3(){return $.mainThreadAgentType}function P3(Q){$.mainThreadAgentType=Q}function I3(){return $.isRemoteMode}function C3(Q){$.isRemoteMode=Q}function _3(){return $.systemPromptSectionCache}function k3(Q,J){$.systemPromptSectionCache.set(Q,J)}function E3(){$.systemPromptSectionCache.clear()}function v3(){return $.lastEmittedDate}function d3(Q){$.lastEmittedDate=Q}function g3(){return $.additionalDirectoriesForClaudeMd}function p3(Q){$.additionalDirectoriesForClaudeMd=Q}function y3(){return $.allowedChannels}function m3(Q){$.allowedChannels=Q,L1()}function S3(){return $.hasDevChannels}function A3(Q){$.hasDevChannels=Q}function j3(){return $.largeSystemPromptDetected}function h3(Q){$.largeSystemPromptDetected=Q}function n3(){return $.afkModeHeaderLatched}function b3(Q){$.afkModeHeaderLatched=Q}function i3(){return $.fastModeHeaderLatched}function u3(Q){$.fastModeHeaderLatched=Q}function l3(){return $.thinkingClearLatched}function T3(Q){$.thinkingClearLatched=Q}function c3(Q){return $.lspDeferLatchedTools?.has(Q)??!1}function o3(Q){if(!$.lspDeferLatchedTools)$.lspDeferLatchedTools=new Set;$.lspDeferLatchedTools.add(Q)}function r3(){return $.deferredDeltaLegacySession}function s3(Q){$.deferredDeltaLegacySession=Q}function jY(){$.afkModeHeaderLatched=null,$.fastModeHeaderLatched=null,$.thinkingClearLatched=null,$.lspDeferLatchedTools=null,$.deferredDeltaLegacySession=!1}function a3(){return $.sessionEpochMs}function t3(){return $.promptId}function e3(Q){$.promptId=Q}function QW(){return!1}function $W(){return null}var o1,$,y$,K9,r1=!1,s1=0,a1=null,f1=0,M1=!1,l,j$=150,AY;var hY=X(()=>{C$();_$();E$();d$();o1=new Set;$=p$();y$=v$();K9=y$.subscribe;AY=[]});
|
|
2
|
-
export{p as Wla,I1 as Xla,zQ as Yla,FQ as Zla,qQ as _la,OQ as $la,_1 as ama,VQ as bma,fQ as cma,PQ as dma,vQ as ema,dQ as fma,w as gma,M as hma,gQ as ima,pQ as jma,yQ as kma,mQ as lma,SQ as mma,AQ as nma,hQ as oma,nQ as pma,O as qma,S as rma,t as sma,v1 as tma,A as uma,d1 as vma,$1 as wma,g1 as xma,Q5 as yma,$5 as zma,X1 as Ama,Z5 as Bma,H1 as Cma,y1 as Dma,H5 as Ema,W5 as Fma,x5 as Gma,U5 as Hma,K5 as Ima,G5 as Jma,R5 as Kma,D5 as Lma,W1 as Mma,m1 as Nma,S1 as Oma,q5 as Pma,G1 as Qma,f5 as Rma,A1 as Sma,v5 as Tma,w1 as Uma,j1 as Vma,h as Wma,R1 as Xma,s5 as Yma,a5 as Zma,Y$ as _ma,Z$ as $ma,q1 as ana,b1 as bna,I as cna,u as dna,O1 as ena,i1 as fna,z$ as gna,F$ as hna,L$ as ina,f$ as jna,nX as kna,bX as lna,iX as mna,uX as nna,lX as ona,TX as pna,k$ as qna,cX as rna,oX as sna,rX as tna,E$ as una,v$ as vna,d$ as wna,Z9 as xna,X9 as yna,H9 as zna,W9 as Ana,x9 as Bna,U9 as Cna,K9 as Dna,G9 as Ena,B9 as Fna,N9 as Gna,w9 as Hna,z9 as Ina,F9 as Jna,R9 as Kna,D9 as Lna,q9 as Mna,O9 as Nna,V9 as Ona,M9 as Pna,L9 as Qna,f9 as Rna,P9 as Sna,I9 as Tna,C9 as Una,_9 as Vna,k9 as Wna,E9 as Xna,v9 as Yna,d9 as Zna,g9 as _na,p9 as $na,y9 as aoa,m9 as boa,S9 as coa,A9 as doa,j9 as eoa,h9 as foa,n9 as goa,b9 as hoa,i9 as ioa,u9 as joa,l9 as koa,T9 as loa,c9 as moa,o9 as noa,r9 as ooa,A$ as poa,s9 as qoa,a9 as roa,t9 as soa,e9 as toa,QH as uoa,$H as voa,JH as woa,YH as xoa,ZH as yoa,XH as zoa,HH as Aoa,WH as Boa,xH as Coa,UH as Doa,KH as Eoa,GH as Foa,BH as Goa,NH as Hoa,wH as Ioa,zH as Joa,FH as Koa,RH as Loa,DH as Moa,qH as Noa,OH as Ooa,VH as Poa,MH as Qoa,LH as Roa,fH as Soa,PH as Toa,IH as Uoa,CH as Voa,_H as Woa,kH as Xoa,EH as Yoa,vH as Zoa,dH as _oa,gH as $oa,pH as apa,yH as bpa,mH as cpa,SH as dpa,AH as epa,jH as fpa,hH as gpa,nH as hpa,bH as ipa,iH as jpa,uH as kpa,lH as lpa,TH as mpa,cH as npa,SY as opa,oH as ppa,rH as qpa,sH as rpa,aH as spa,tH as tpa,eH as upa,Q4 as vpa,$4 as wpa,J4 as xpa,Y4 as ypa,Z4 as zpa,X4 as Apa,H4 as Bpa,W4 as Cpa,x4 as Dpa,U4 as Epa,K4 as Fpa,G4 as Gpa,B4 as Hpa,N4 as Ipa,w4 as Jpa,z4 as Kpa,F4 as Lpa,R4 as Mpa,D4 as Npa,q4 as Opa,O4 as Ppa,V4 as Qpa,M4 as Rpa,L4 as Spa,f4 as Tpa,P4 as Upa,I4 as Vpa,C4 as Wpa,_4 as Xpa,k4 as Ypa,E4 as Zpa,v4 as _pa,d4 as $pa,g4 as aqa,p4 as bqa,y4 as cqa,m4 as dqa,S4 as eqa,A4 as fqa,j4 as gqa,h4 as hqa,n4 as iqa,b4 as jqa,i4 as kqa,u4 as lqa,l4 as mqa,T4 as nqa,c4 as oqa,o4 as pqa,r4 as qqa,s4 as rqa,a4 as sqa,t4 as tqa,e4 as uqa,Q3 as vqa,$3 as wqa,J3 as xqa,Y3 as yqa,Z3 as zqa,X3 as Aqa,H3 as Bqa,W3 as Cqa,x3 as Dqa,U3 as Eqa,K3 as Fqa,G3 as Gqa,B3 as Hqa,N3 as Iqa,w3 as Jqa,z3 as Kqa,F3 as Lqa,R3 as Mqa,D3 as Nqa,q3 as Oqa,O3 as Pqa,V3 as Qqa,M3 as Rqa,L3 as Sqa,f3 as Tqa,P3 as Uqa,I3 as Vqa,C3 as Wqa,_3 as Xqa,k3 as Yqa,E3 as Zqa,v3 as _qa,d3 as $qa,g3 as ara,p3 as bra,y3 as cra,m3 as dra,S3 as era,A3 as fra,j3 as gra,h3 as hra,n3 as ira,b3 as jra,i3 as kra,u3 as lra,l3 as mra,T3 as nra,c3 as ora,o3 as pra,r3 as qra,s3 as rra,jY as sra,a3 as tra,t3 as ura,e3 as vra,QW as wra,$W as xra,hY as yra};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Xa as c}from"./cli-1.1.21-0etv5x2s.mjs";import{vd as v,zd as Wq}from"./cli-1.1.21-3x0d0qkq.mjs";import{Cd as I,Dd as S,Ed as $,Fd as Xq}from"./cli-1.1.21-z3qkwz5y.mjs";import{$x as L,JF as E,KF as Qq,MD as M,MM as P,Mu as N,Nu as e,PM as Vq,SD as Jq,ay as h,cy as qq,rp as C,sz as A,tp as r,tz as Bq,uL as f,vL as Tq,xz as _,zz as Gq}from"./cli-1.1.21-eray52nd.mjs";import{g4 as s}from"./cli-1.1.21-phnkc3q1.mjs";import{J_ as D,L_ as n,Wga as F,cha as a,raa as w,taa as t}from"./cli-1.1.21-g6wtm4qg.mjs";import{Zja as x,aka as d}from"./cli-1.1.21-qj7gkh71.mjs";import{ala as j,dla as o}from"./cli-1.1.21-7q6ajew6.mjs";import{Hla as l,zla as y}from"./cli-1.1.21-xx8dx3jd.mjs";import{pta as p}from"./cli-1.1.21-13kr6en7.mjs";Qq();d();Gq();qq();Xq();t();o();n();l();a();e();Tq();Jq();Bq();r();var V=p(s(),1);Wq();Vq();function hq({enabled:W=!0}={}){let b=V.useSyncExternalStore(S,I,I),H=h(),O=L((J)=>J.plugins.needsRefresh),{addNotification:z}=E(),R=V.useCallback(async()=>{try{let{enabled:J,disabled:T,errors:Q}=await P();await c();let X=v();if(Object.keys(X).length>0)z({key:"plugin-delisted-flagged",text:"Plugins flagged. Check /plugins",color:"warning",priority:"high"});let Y=[],Z=[];try{Y=await f(),$(Y)}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-commands",error:`Failed to load plugin commands: ${B}`}),$([])}try{Z=await N()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-agents",error:`Failed to load plugin agents: ${B}`})}try{await M()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-hooks",error:`Failed to load plugin hooks: ${B}`})}let u=(await Promise.all(J.map(async(q)=>{if(q.mcpServers)return Object.keys(q.mcpServers).length;let B=await C(q,Q);if(B)q.mcpServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0),m=(await Promise.all(J.map(async(q)=>{if(q.lspServers)return Object.keys(q.lspServers).length;let B=await A(q,Q);if(B)q.lspServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0);_(),H((q)=>{let B=q.plugins.errors.filter((G)=>G.source==="lsp-manager"||G.source.startsWith("plugin:")),K=new Set(Q.map((G)=>G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`)),U=[...B.filter((G)=>{let i=G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`;return!K.has(i)}),...Q];return{...q,plugins:{...q.plugins,enabled:J,disabled:T,commands:[],errors:U}}}),j(`Loaded plugins - Enabled: ${J.length}, Disabled: ${T.length}, Commands: ${Y.length}, Agents: ${Z.length}, Errors: ${Q.length}`);let g=J.reduce((q,B)=>{if(!B.hooksConfig)return q;return q+Object.values(B.hooksConfig).reduce((K,k)=>K+(k?.reduce((U,G)=>U+G.hooks.length,0)??0),0)},0);return{enabled_count:J.length,disabled_count:T.length,inline_count:w(J,(q)=>q.source.endsWith("@inline")),marketplace_count:w(J,(q)=>!q.source.endsWith("@inline")),error_count:Q.length,skill_count:Y.length,agent_count:Z.length,hook_count:g,mcp_count:u,lsp_count:m}}catch(J){let T=y(J);return F(T),j(`Error loading plugins: ${J}`),$([]),H((Q)=>{let X=Q.plugins.errors.filter((Z)=>Z.source==="lsp-manager"||Z.source.startsWith("plugin:")),Y={type:"generic-error",source:"plugin-system",error:T.message};return{...Q,plugins:{...Q.plugins,enabled:[],disabled:[],commands:[],errors:[...X,Y]}}}),{enabled_count:0,disabled_count:0,inline_count:0,marketplace_count:0,error_count:1,skill_count:0,agent_count:0,hook_count:0,mcp_count:0,lsp_count:0,load_failed:!0,ant_enabled_names:void 0}}},[H,z]);return V.useEffect(()=>{if(!W)return;R().then((J)=>{let{ant_enabled_names:T,...Q}=J,X={...Q,has_custom_plugin_cache_dir:!!process.env.CLAUDIN_PLUGIN_CACHE_DIR};x("",{...X,...T!==void 0&&{enabled_names:T}}),D("info","tengu_plugins_loaded",X)})},[R,W]),V.useEffect(()=>{if(W)return;$([])},[W]),V.useEffect(()=>{if(!W||!O)return;z({key:"plugin-reload-pending",text:"Plugins changed. Run /reload-plugins to activate.",color:"suggestion",priority:"low"})},[W,O,z]),W?b:[]}
|
|
2
|
-
export{hq as Wa};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{$g as Py,_g as g}from"./cli-1.1.21-syphtp6b.mjs";import{_i as s,aj as d,bj as $y}from"./cli-1.1.21-yt2eqsfh.mjs";import{Ao as T,Go as Ky,Gr as E,It as O,JT as py,KP as l,Kr as Wy,Qt as Xy,UL as Q,VL as Ry,Yq as f,bM as n,fr as u,lM as vy,mr as A,nT as c,po as L,py as q,qy as Zy,ro as V,sM as x,to as Y,ul as F,vr as Qy,wM as Ny,wo as D,xo as M,yl as Iy,yo as C}from"./cli-1.1.21-eray52nd.mjs";import{QX as i,RX as Oy}from"./cli-1.1.21-9fnv418t.mjs";import{SY as _,TY as a,UY as t,YY as Uy}from"./cli-1.1.21-wermyahx.mjs";import{cZ as o,iZ as hy}from"./cli-1.1.21-8mbdp47n.mjs";import{$0 as Jy,_0 as k}from"./cli-1.1.21-s076czd6.mjs";import{G6 as m,H6 as B,Q8 as zy,f7 as qy,x8 as Z}from"./cli-1.1.21-5bxzgpbd.mjs";import{k9 as p,l9 as ry}from"./cli-1.1.21-xg5fsk6h.mjs";import{F$ as H,Iba as j,Kba as jy,M$ as wy,O$ as X,P$ as Sy,Uda as b,Zda as K,_ea as R,bfa as w,kea as ky,p$ as h,wfa as v}from"./cli-1.1.21-g6wtm4qg.mjs";import{aia as z,mia as Gy}from"./cli-1.1.21-4ka4k9j1.mjs";import{ala as U,dla as yy}from"./cli-1.1.21-7q6ajew6.mjs";v();function Vy(y){let r=w().numStartups;R((G)=>{let S=G.tipsHistory??{};if(S[y]===r)return G;return{...G,tipsHistory:{...S,[y]:r}}})}function N(y){let r=w(),G=r.tipsHistory?.[y];if(!G)return 1/0;return r.numStartups-G}ry();yy();Xy();ky();hy();Jy();Py();Zy();Iy();zy();Oy();v();Qy();jy();Wy();wy();Ky();qy();Sy();Ny();vy();Ry();py();Gy();$y();Uy();var W;async function Hy(){if(W!==void 0)return W;let y=await n();return W=Q in y,W}async function P(y,r,G){if(!await Hy())return!1;if(x(`${y}@${Q}`))return!1;let{bashTools:S}=r??{};if(G.cli&&S?.size){if(G.cli.some((I)=>S.has(I)))return!0}if(G.filePath&&r?.readFileState){if(E(r.readFileState).some(($)=>G.filePath.test($)))return!0}return!1}var by=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claudin to propose a plan, and verify its suggested edits",cooldownSessions:3,async isRelevant(){return w().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${q("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let y=w();return(y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0)>7}},{id:"default-permission-mode-config",content:async()=>"Use /config to change your default permission mode (including Plan Mode)",cooldownSessions:10,isRelevant:async()=>{try{let y=w(),r=K(),G=Boolean(y.lastPlanModeUse),S=Boolean(r?.permissions?.defaultMode);return G&&!S}catch(y){return U(`Failed to check default-permission-mode-config tip relevance: ${y}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claudin sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let y=w();return await H()<=1&&y.numStartups>50}catch(y){return!1}}},{id:"diff-reviewer",content:async()=>`Review local changes, stashes and the git log side by side — run /diff or hit ${q("chat:openDiff","Chat","ctrl+g")}.`,cooldownSessions:10,isRelevant:async()=>{try{return await h()}catch(y){return!1}}},{id:"diff-git-log",content:async()=>`Scroll back through your git log and open any commit's diff in /diff (or hit ${q("chat:openDiff","Chat","ctrl+g")}).`,cooldownSessions:15,isRelevant:async()=>{try{return await h()}catch(y){return!1}}},{id:"file-explorer",content:async()=>`Browse and edit files without leaving the REPL — run /explorer or hit ${q("chat:openExplorer","Chat","ctrl+e")} for a file tree with a built-in nvim-style editor.`,cooldownSessions:10,isRelevant:async()=>!0},{id:"explorer-fuzzy-find",content:async()=>"Inside /explorer, press / to fuzzy-find any file by name, or @ to drop it into your prompt.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-create-delete",content:async()=>"Inside /explorer, press a to create, r to rename, or d to delete the selected file.",cooldownSessions:15,isRelevant:async()=>!0},{id:"bash-output-filter-token-saving",content:async()=>"Bash output filter is active — redundant command output is trimmed before reaching the model, reducing token usage. Disable in /config.",cooldownSessions:20,async isRelevant(){let y=w();return y.numStartups>5&&y.bashOutputFilterEnabled!==!1}},{id:"color-when-multi-clauding",content:async()=>"Running multiple Claudin sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(c())return!1;return await i()>=2}},{id:"terminal-setup",content:async()=>j.terminal==="Apple_Terminal"?"Run /terminal-setup to enable convenient terminal integration like Option + Enter for new line and more":"Run /terminal-setup to enable convenient terminal integration like Shift + Enter for new line and more",cooldownSessions:10,async isRelevant(){let y=w();if(j.terminal==="Apple_Terminal")return!y.optionAsMetaKeyInstalled;return!y.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>j.terminal==="Apple_Terminal"?"Press Option+Enter to send a multi-line message":"Press Shift+Enter to send a multi-line message",cooldownSessions:10,async isRelevant(){let y=w();return Boolean((j.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)&&y.numStartups>3)}},{id:"shift-enter-setup",content:async()=>j.terminal==="Apple_Terminal"?"Run /terminal-setup to enable Option+Enter for new lines":"Run /terminal-setup to enable Shift+Enter for new lines",cooldownSessions:10,async isRelevant(){if(!o())return!1;let y=w();return!(j.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claudin memory",cooldownSessions:15,async isRelevant(){return w().memoryUsageCount<=0}},{id:"theme-command",content:async()=>"Use /theme to change the color theme",cooldownSessions:20,isRelevant:async()=>!0},{id:"colorterm-truecolor",content:async()=>"Try setting environment variable COLORTERM=truecolor for richer colors",cooldownSessions:30,isRelevant:async()=>!process.env.COLORTERM&&p.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDIN_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>X()==="windows"&&process.env.CLAUDIN_USE_POWERSHELL_TOOL===void 0},{id:"status-line",content:async()=>"Use /statusline to set up a custom status line that will display beneath the input box",cooldownSessions:25,isRelevant:async()=>K().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claudin is working.",cooldownSessions:5,async isRelevant(){return w().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claudin while it works to steer Claudin in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claudin to create a todo list when working on complex tasks to track progress and remain on track",cooldownSessions:20,isRelevant:async()=>!0},{id:"vscode-command-install",content:async()=>`Open the Command Palette (Cmd+Shift+P) and run "Shell Command: Install '${j.terminal==="vscode"?"code":j.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!L())return!1;if(X()!=="macos")return!1;switch(j.terminal){case"vscode":return!await C();case"cursor":return!await D();case"windsurf":return!await M();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claudin to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(V())return!1;if((await Y()).length!==0)return!1;return(await T()).length>0}},{id:"install-github-app",content:async()=>"Run /install-github-app to tag @claude right from your Github issues and PRs",cooldownSessions:10,isRelevant:async()=>!w().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!w().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return w().numStartups>10}},{id:"drag-and-drop-images",content:async()=>"Did you know you can drag and drop image files into your terminal?",cooldownSessions:10,isRelevant:async()=>!j.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claudin using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>X()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!O()},{id:"double-esc-code-restore",content:async()=>"Double-tap esc to rewind the code and/or conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>O()},{id:"continue",content:async()=>"Run claudin --continue or claudin --resume to resume a conversation",cooldownSessions:10,isRelevant:async()=>!0},{id:"rename-conversation",content:async()=>"Name your conversations with /rename to find them easily in /resume later",cooldownSessions:15,isRelevant:async()=>l()&&w().numStartups>10},{id:"custom-commands",content:async()=>"Create skills by adding .md files to .claudin/skills/ in your project or ~/.claudin/skills/ for skills that work in any project",cooldownSessions:15,async isRelevant(){return w().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${q("chat:cycleMode","Chat","shift+tab")} to cycle between default mode, auto-accept edit mode, and plan mode`,cooldownSessions:10,isRelevant:async()=>!0},{id:"image-paste",content:async()=>`Use ${q("chat:imagePaste","Chat","ctrl+v")} to paste images from your clipboard`,cooldownSessions:20,isRelevant:async()=>!0},{id:"custom-agents",content:async()=>"Use /agents to optimize specific tasks. Eg. Software Architect, Code Writer, Code Reviewer",cooldownSessions:15,async isRelevant(){return w().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return w().numStartups>5}},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${q("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let y=w(),G=m()==="opusplan",S=y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0;return G&&S>3}},{id:"frontend-design-plugin",content:async(y)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
|
|
2
|
-
${k("suggestion",y.theme)(`/plugin install frontend-design@${Q}`)}`},cooldownSessions:3,isRelevant:async(y)=>P("frontend-design",y,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(y)=>{return`Working with Vercel? Install the vercel plugin:
|
|
3
|
-
${k("suggestion",y.theme)(`/plugin install vercel@${Q}`)}`},cooldownSessions:3,isRelevant:async(y)=>P("vercel",y,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(y)=>{let G=k("suggestion",y.theme)("/effort high");return z("tengu_tide_elm","off")==="copy_b"?`Use ${G} for better one-shot answers. Claudin thinks it through first.`:`Working on something tricky? ${G} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!Z())return!1;if(!f(B()))return!1;if(b("policySettings")?.effortLevel!==void 0)return!1;if(A()!==void 0)return!1;let y=u();if(y==="high"||y==="max")return!1;return z("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(y)=>{let r=k("suggestion",y.theme);return z("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claudin to ${r("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${r('"fan out subagents"')} and Claudin sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!Z())return!1;return z("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(y)=>{let r=k("suggestion",y.theme);return z("tengu_timber_lark","off")==="copy_b"?`Use ${r("/loop 5m check the deploy")} to run any prompt on a schedule. Set it and forget it.`:`${r("/loop")} runs any prompt on a recurring schedule. Great for monitoring deploys, babysitting PRs, or polling status.`},cooldownSessions:3,isRelevant:async()=>{if(!Z())return!1;if(!F())return!1;return z("tengu_timber_lark","off")!=="off"}},{id:"guest-passes",content:async(y)=>{let r=k("claude",y.theme),G=t();return G?`Share Claudin and earn ${r(a(G))} of extra usage · ${r("/passes")}`:`You have free guest passes to share · ${r("/passes")}`},cooldownSessions:3,isRelevant:async()=>{if(w().hasVisitedPasses)return!1;let{eligible:r}=_();return r}},{id:"overage-credit",content:async(y)=>{let r=k("claude",y.theme),G=s(),S=G?d(G):null;if(!S)return"";return`${r(`${S} in extra usage, on us`)} · third-party apps · ${r("/extra-usage")}`},cooldownSessions:3,isRelevant:async()=>g()},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return w().numStartups>5}}],my=[];function By(){let r=K().spinnerTipsOverride;if(!r?.tips?.length)return[];return r.tips.map((G,S)=>({id:`custom-tip-${S}`,content:async()=>G,cooldownSessions:0,isRelevant:async()=>!0}))}async function kr(y){let G=K().spinnerTipsOverride,S=By();if(G?.excludeDefault&&S.length>0)return S;let I=[...by,...my],$=await Promise.all(I.map((J)=>J.isRelevant(y)));return[...I.filter((J,e)=>$[e]).filter((J)=>N(J.id)>=J.cooldownSessions),...S]}
|
|
4
|
-
export{Vy as Ya,N as Za,kr as _a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{cja as q,eja as A,fja as x,gja as B}from"./cli-1.1.21-2b91fkp9.mjs";import{Kka as J}from"./cli-1.1.21-7q6ajew6.mjs";import{Hla as G}from"./cli-1.1.21-xx8dx3jd.mjs";G();J();A();B();var F=x(()=>q.object({session_id:q.string(),ws_url:q.string(),work_dir:q.string().optional()}));
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{v3 as y,z3 as V}from"./cli-1.1.21-6drn6rpn.mjs";import{Iba as q,Kba as Q,O_ as p,Q_ as K}from"./cli-1.1.21-g6wtm4qg.mjs";import{tta as J}from"./cli-1.1.21-13kr6en7.mjs";function g(){return!!z}async function D(){if(b!==null)return b;return b=!!z,b}function F(){return W||null}async function P(){return(await p(y,["-V"])).code===0}function l(){if(f!==null)return f;let k=process.env.TERM_PROGRAM,B=!!process.env.ITERM_SESSION_ID,H=q.terminal==="iTerm.app";return f=k==="iTerm.app"||B||H,f}async function w(){return(await p(Y,["session","list"])).code===0}var z,W,b=null,f=null,Y="it2";var Z=J(()=>{Q();K();V();z=process.env.TMUX,W=process.env.TMUX_PANE});
|
|
2
|
-
export{g as k3,D as l3,F as m3,P as n3,l as o3,Y as p3,w as q3,Z as r3};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$x as u,BG as h,DG as Fq,LS as a,NS as Kq,Zz as c,aA as T,ao as S,ay as g,bA as _q,bo as Zq,co as V,cy as Wq,do as $q,eA as r,fA as Vq,go as p,ho as zq}from"./cli-1.1.21-eray52nd.mjs";import{AY as Qq,BY as m,DY as Xq,GY as d,HY as Yq,nY as j,oY as Nq,zY as w}from"./cli-1.1.21-wermyahx.mjs";import{H1 as Lq,MZ as H,NZ as v,OZ as y,a1 as J,c1 as N}from"./cli-1.1.21-s076czd6.mjs";import{c4 as _,d4 as q,e4 as G,f4 as b}from"./cli-1.1.21-7bq44n89.mjs";import{g4 as Jq}from"./cli-1.1.21-phnkc3q1.mjs";import{Wda as B,kea as Gq}from"./cli-1.1.21-g6wtm4qg.mjs";import{pta as e,tta as qq}from"./cli-1.1.21-13kr6en7.mjs";function mq({onThemeSelect:F,showIntroText:I=!1,helpText:X="",showHelpTextBelow:O=!1,hideEscToCancel:x=!1,skipExitHandling:$=!1,onCancel:A}){let[K]=H(),U=v(),{columns:i}=j(),Y=Q.useMemo(()=>c(),[]),Z=Y===null?T(K):null,{setPreviewTheme:k,savePreview:M,cancelPreview:R}=y(),z=u((L)=>L.settings.syntaxHighlightingDisabled??!1),f=g();w("ThemePicker",!0);let W=S("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]);m("theme:toggleSyntaxHighlighting",l,{context:"ThemePicker"});let D=d($?()=>{}: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 a(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(h,{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(Iq,{patch:Oq,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(p,{children:[q(V,{shortcut:"Enter",action:"select"}),q(V,{shortcut:"Esc",action:"cancel"})]})})}):null]});return C}var Q,Iq,Oq;var Aq=qq(()=>{Yq();Nq();Lq();Qq();Xq();Zq();Wq();Kq();Gq();Fq();zq();$q();_q();Vq();b();Q=e(Jq(),1),Iq=r,Oq={oldStart:1,newStart:1,oldLines:3,newLines:3,lines:[" function greet() {",'- console.log("Hello, World!");','+ console.log("Hello, Claude!");'," }"]}});
|
|
2
|
-
export{mq as rh,Aq as sh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{qR as x,tR as B}from"./cli-1.1.21-eray52nd.mjs";import{tta as z}from"./cli-1.1.21-13kr6en7.mjs";function H(q){if(!q)return 0;return q.activeAgents.filter((b)=>b.source!=="built-in").reduce((b,w)=>{let y=`${w.agentType}: ${w.whenToUse}`;return b+x(y)},0)}var G=15000;var A=z(()=>{B()});
|
|
2
|
-
export{G as Cg,H as Dg,A as Eg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ala as Q,dla as $}from"./cli-1.1.21-7q6ajew6.mjs";import{Cla as K,Hla as Z}from"./cli-1.1.21-xx8dx3jd.mjs";import{Kla as J,Vla as Y}from"./cli-1.1.21-atvca4b4.mjs";Y();Z();$();import{readFileSync as k}from"node:fs";import{mkdir as I,writeFile as W}from"node:fs/promises";import{join as M}from"node:path";var S="latest-version.json";function X(){return M(J(),S)}function U(q){if(!q||typeof q!=="object")return!1;let x=q;return typeof x.latest==="string"&&x.latest.length>0&&typeof x.current==="string"&&x.current.length>0&&typeof x.checkedAt==="number"&&Number.isFinite(x.checkedAt)}function T(){try{let q=k(X(),"utf8"),x=JSON.parse(q);return U(x)?x:null}catch(q){if(K(q))return null;return Q(`latestVersionCache: read failed: ${q instanceof Error?q.stack??q.message:String(q)}`),null}}var G=new Set;function w(q){return G.add(q),()=>{G.delete(q)}}async function y(q){let x=X(),R=JSON.stringify(q);try{await W(x,R,"utf8")}catch(z){if(K(z))await I(J(),{recursive:!0}),await W(x,R,"utf8");else throw z}for(let z of[...G])try{z(q)}catch(B){Q(`latestVersionCache: listener threw: ${B instanceof Error?B.stack??B.message:String(B)}`)}}
|
|
2
|
-
export{T as ha,w as ia,y as ja};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{kta as V_,lta as su,nta as K_,ota as f_}from"./cli-1.1.21-aa0dfxt3.mjs";import{rta as H,uta as $_}from"./cli-1.1.21-13kr6en7.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 dta,D_ as eta,yu as fta,ou as gta};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{Co as y,Go as r,PF as F,QF as S,TF as C,ZF as a}from"./cli-1.1.21-eray52nd.mjs";import{rZ as D,sZ as o,tZ as z,uZ as b}from"./cli-1.1.21-s076czd6.mjs";import{e$ as R,f$ as l,h$ as T,i$ as u}from"./cli-1.1.21-g6wtm4qg.mjs";import{Ika as O,Kka as c,Oka as L,Ska as d,ala as N,dla as g}from"./cli-1.1.21-7q6ajew6.mjs";import{Xra as _,Yra as I}from"./cli-1.1.21-c27qrh9k.mjs";import{tta as j}from"./cli-1.1.21-13kr6en7.mjs";import{spawn as G,spawnSync as w}from"child_process";import{basename as k}from"path";function P(q){return!!T(q)}function V(q){let H=k(q.split(" ")[0]??"");return h.find((B)=>H.includes(B))}function p(q,H,B){if(!B)return[H];if(m.has(q))return["-g",`${H}:${B}`];if(q==="subl")return[`${H}:${B}`];return[H]}function Qq(q,H){let B=v();if(!B)return!1;let J=B.split(" "),X=J[0]??B,K=J.slice(1),Q=V(B);if(Q){let W=p(Q,q,H),Z={detached:!0,stdio:"ignore"},M;if(process.platform==="win32"){let U=W.map((E)=>`"${E}"`).join(" ");M=G(`${B} ${U}`,{...Z,shell:!0})}else M=G(X,[...K,...W],Z);return M.on("error",(U)=>N(`editor spawn failed: ${U}`,{level:"error"})),M.unref(),!0}let $=z.get(process.stdout);if(!$)return!1;let Y=H&&f.test(k(X));$.enterAlternateScreen();try{let W={stdio:"inherit"},Z;if(process.platform==="win32"){let M=Y?`+${H} `:"";Z=w(`${B} ${M}"${q}"`,{...W,shell:!0})}else{let M=[...K,...Y?[`+${H}`,q]:[q]];Z=w(X,M,W)}if(Z.error)return N(`editor spawn failed: ${Z.error}`,{level:"error"}),!1;return!0}finally{$.exitAlternateScreen()}}var h,f,m,v;var x=j(()=>{I();b();g();u();h=["code","cursor","windsurf","codium","subl","atom","gedit","notepad++","notepad"],f=/\b(vi|vim|nvim|nano|emacs|pico|micro|helix|hx)\b/,m=new Set(["code","cursor","windsurf","codium"]);v=_(()=>{if(process.env.VISUAL?.trim())return process.env.VISUAL.trim();if(process.env.EDITOR?.trim())return process.env.EDITOR.trim();if(process.platform==="win32")return"start /wait notepad";return["code","vi","nano"].find((H)=>P(H))})});function s(q){return V(q)!==void 0}function i(q){let H=L(),B=z.get(process.stdout);if(!B)throw Error("Ink instance not found - cannot pause rendering");let J=v();if(!J)return{content:null};try{H.statSync(q)}catch{return{content:null}}let X=!s(J);if(X)B.enterAlternateScreen();else B.pause(),B.suspendStdin();try{let K=Object.hasOwn(A,J)?A[J]:J;return R(`${K} "${q}"`,{stdio:"inherit"}),{content:H.readFileSync(q,{encoding:"utf-8"})}}catch(K){if(typeof K==="object"&&K!==null&&"status"in K&&typeof K.status==="number"){let Q=K.status;if(Q!==0)return{content:null,error:`${y(J)} exited with code ${Q}`}}return{content:null}}finally{if(X)B.exitAlternateScreen();else B.resumeStdin(),B.resume()}}function n(q,H,B){let J=q;for(let[X,K]of Object.entries(B))if(K.type==="text"){let Q=parseInt(X),$=K.content,Y=J.indexOf($);if(Y!==-1){let W=F($),Z=S(Q,W);J=J.slice(0,Y)+Z+J.slice(Y+$.length)}}return J}function Vq(q,H){let B=L(),J=D();try{let X=H?C(q,H):q;O(J,X,{encoding:"utf-8",flush:!0});let K=i(J);if(K.content===null)return K;let Q=K.content;if(Q.endsWith(`
|
|
2
|
-
`)&&!Q.endsWith(`
|
|
3
|
-
|
|
4
|
-
`))Q=Q.slice(0,-1);if(H)Q=n(Q,q,H);return{content:Q}}finally{try{B.unlinkSync(J)}catch{}}}var A;var t=j(()=>{a();b();x();l();d();r();c();o();A={code:"code -w",subl:"subl --wait"}});
|
|
5
|
-
export{Qq as Hg,v as Ig,x as Jg,i as Kg,Vq as Lg,t as Mg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{K7 as b,L7 as l,Q8 as c,q8 as S,w5 as j,z5 as h}from"./cli-1.1.21-5bxzgpbd.mjs";import{n_ as F,o_ as D}from"./cli-1.1.21-9jq126pc.mjs";import{Wga as y,cha as I}from"./cli-1.1.21-g6wtm4qg.mjs";import{dja as $,eja as R,fja as _,gja as E}from"./cli-1.1.21-2b91fkp9.mjs";import{Xja as v,Yja as m}from"./cli-1.1.21-g7ve83cr.mjs";import{Fka as M,Kka as U,ala as W,dla as z}from"./cli-1.1.21-7q6ajew6.mjs";import{Ala as q,Hla as O,zla as k}from"./cli-1.1.21-xx8dx3jd.mjs";import{Bsa as Y,Tsa as T}from"./cli-1.1.21-cb82p9ss.mjs";import{tta as A}from"./cli-1.1.21-13kr6en7.mjs";import{randomUUID as d}from"crypto";function u(J){if(!Y.isAxiosError(J))return!1;if(!J.response)return!0;if(J.response.status>=500)return!0;return!1}async function p(J,B){let N;for(let K=0;K<=x;K++)try{return await Y.get(J,B)}catch(Q){if(N=Q,!u(Q))throw Q;if(K>=x)throw W(`Teleport request failed after ${K+1} attempts: ${q(Q)}`),Q;let V=f[K]??2000;W(`Teleport request failed (attempt ${K+1}/${x+1}), retrying in ${V}ms: ${q(Q)}`),await b(V)}throw N}async function C(){let J=S()?.accessToken;if(J===void 0)throw Error("Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.");let B=await j();if(!B)throw Error("Unable to get organization UUID");return{accessToken:J,orgUUID:B}}async function BJ(){let{accessToken:J,orgUUID:B}=await C(),N=`${v().BASE_API_URL}/v1/sessions`;try{let K={...L(J),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},Q=await p(N,{headers:K});if(Q.status!==200)throw Error(`Failed to fetch code sessions: ${Q.statusText}`);return Q.data.data.map((Z)=>{let X=Z.session_context.sources.find((G)=>G.type==="git_repository"),H=null;if(X?.url){let G=F(X.url);if(G){let[w,P]=G.split("/");if(w&&P)H={name:P,owner:{login:w},default_branch:X.revision||void 0}}}return{id:Z.id,title:Z.title||"Untitled",description:"",status:Z.session_status,repo:H,turns:[],created_at:Z.created_at,updated_at:Z.updated_at}})}catch(K){let Q=k(K);throw y(Q),K}}function L(J){return{Authorization:`Bearer ${J}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"}}async function NJ(J){let{accessToken:B,orgUUID:N}=await C(),K=`${v().BASE_API_URL}/v1/sessions/${J}`,Q={...L(B),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":N},V=await Y.get(K,{headers:Q,timeout:15000,validateStatus:(Z)=>Z<500});if(V.status!==200){let X=V.data?.error?.message;if(V.status===404)throw Error(`Session not found: ${J}`);if(V.status===401)throw Error("Session expired. Please run /login to sign in again.");throw Error(X||`Failed to fetch session: ${V.status} ${V.statusText}`)}return V.data}function WJ(J){return J.session_context.outcomes?.find((N)=>N.type==="git_repository")?.git_info?.branches[0]}async function GJ(J,B,N){try{let{accessToken:K,orgUUID:Q}=await C(),V=`${v().BASE_API_URL}/v1/sessions/${J}/events`,Z={...L(K),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":Q},H={events:[{uuid:N?.uuid??d(),session_id:J,type:"user",parent_tool_use_id:null,message:{role:"user",content:B}}]};W(`[sendEventToRemoteSession] Sending event to session ${J}`);let G=await Y.post(V,H,{headers:Z,validateStatus:(w)=>w<500,timeout:30000});if(G.status===200||G.status===201)return W(`[sendEventToRemoteSession] Successfully sent event to session ${J}`),!0;return W(`[sendEventToRemoteSession] Failed with status ${G.status}: ${M(G.data)}`),!1}catch(K){return W(`[sendEventToRemoteSession] Error: ${q(K)}`),!1}}async function XJ(J,B){try{let{accessToken:N,orgUUID:K}=await C(),Q=`${v().BASE_API_URL}/v1/sessions/${J}`,V={...L(N),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":K};W(`[updateSessionTitle] Updating title for session ${J}: "${B}"`);let Z=await Y.patch(Q,{title:B},{headers:V,validateStatus:(X)=>X<500});if(Z.status===200)return W(`[updateSessionTitle] Successfully updated title for session ${J}`),!0;return W(`[updateSessionTitle] Failed with status ${Z.status}: ${M(Z.data)}`),!1}catch(N){return W(`[updateSessionTitle] Error: ${q(N)}`),!1}}var f,x,$J;var g=A(()=>{T();m();h();R();c();z();D();O();E();I();l();U();f=[2000,4000,8000,16000],x=f.length;$J=_(()=>$.object({id:$.string(),title:$.string(),description:$.string(),status:$.enum(["idle","working","waiting","completed","archived","cancelled","rejected"]),repo:$.object({name:$.string(),owner:$.object({login:$.string()}),default_branch:$.string().optional()}).nullable(),turns:$.array($.string()),created_at:$.string(),updated_at:$.string()}))});
|
|
2
|
-
export{u as t4,p as u4,$J as v4,C as w4,BJ as x4,L as y4,NJ as z4,WJ as A4,GJ as B4,XJ as C4,g as D4};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Nla as B,Ola as H,Vla as V}from"./cli-1.1.21-atvca4b4.mjs";import{tta as Q}from"./cli-1.1.21-13kr6en7.mjs";function $(){let q=process.env.CLAUDIN_NERD_FONT;if(B(q))return!0;if(H(q))return!1;let z=process.env.TERM_PROGRAM;if(z&&W.has(z))return!0;let J=process.env.TERM?.toLowerCase()??"";if(X.some((K)=>J.includes(K)))return!0;return!1}var W,X;var Y=Q(()=>{V();W=new Set(["ghostty","kitty","WezTerm","iTerm.app","WarpTerminal"]),X=["kitty","ghostty","wezterm"]});
|
|
2
|
-
export{$ as Uh,Y as Vh};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import{Se as kZ,Ye as XX}from"./cli-1.1.21-fn4xyb5w.mjs";import{af as YZ,bf as SQ}from"./cli-1.1.21-sa93ge05.mjs";import{$x as zJ,AB as pZ,AE as hX,At as CX,BB as ZX,BG as g0,CG as QX,Dk as d0,Dw as HQ,Dy as KZ,Ek as mJ,Ey as iQ,FI as mZ,Gl as GQ,Hk as cZ,II as kJ,Ik as tQ,Il as MX,JI as JZ,Js as aZ,Jw as yX,KI as OJ,LI as NJ,MI as ZZ,Ms as RX,NI as QZ,Nk as r0,Ns as TJ,OI as XZ,OK as $0,On as PJ,Os as fQ,Pk as VZ,Pn as DQ,QI as m0,Qk as LJ,RI as _0,RK as RZ,Rq as MZ,SA as R0,SI as UJ,TA as i0,TB as IX,UA as qJ,UB as DX,Uq as lQ,Ux as NQ,VA as BX,VR as lZ,Vs as L0,Vx as bX,_R as iZ,ao as VQ,ay as FQ,bo as EX,co as l,cy as AX,cz as HZ,do as A0,dt as hQ,dz as rQ,eS as fZ,go as Z0,gz as a0,hI as NZ,ho as B0,hz as yZ,iI as FZ,it as c0,jI as s0,kk as WZ,ko as n,lI as MJ,lo as I0,lt as vQ,oF as PQ,rF as vX,vG as OQ,xt as WQ,yG as SX,zE as RQ}from"./cli-1.1.21-eray52nd.mjs";import{CY as G0,DY as S0,nY as QJ,oY as nZ}from"./cli-1.1.21-wermyahx.mjs";import{DZ as F0,H1 as q0,MZ as l0,a1 as y,c1 as W,g1 as JJ,q1 as wZ}from"./cli-1.1.21-s076czd6.mjs";import{s3 as vJ,z3 as KX}from"./cli-1.1.21-6drn6rpn.mjs";import{c4 as o,d4 as q,e4 as N,f4 as $}from"./cli-1.1.21-7bq44n89.mjs";import{g4 as o0}from"./cli-1.1.21-phnkc3q1.mjs";import{D4 as MQ,t4 as pJ}from"./cli-1.1.21-kf8s641e.mjs";import{F4 as DJ,G4 as JX}from"./cli-1.1.21-mqxc9x6p.mjs";import{K7 as HJ,L7 as wQ,U4 as tJ,V4 as IQ}from"./cli-1.1.21-5bxzgpbd.mjs";import{$ba as w0,$ca as uZ,Wga as eJ,_ba as z0,ada as dZ,cda as eQ,cha as BQ,fca as p0,pda as Q0,qaa as qQ,raa as M0,taa as yJ,x_ as t0,xda as IJ,y_ as TZ}from"./cli-1.1.21-g6wtm4qg.mjs";import{kha as K0,nha as b0,pha as oZ,rha as e0,sha as x0,zha as v0}from"./cli-1.1.21-r90yap4s.mjs";import{aia as sJ,mia as AQ}from"./cli-1.1.21-4ka4k9j1.mjs";import{Zja as t,aka as _J}from"./cli-1.1.21-qj7gkh71.mjs";import{Qka as $Z,Ska as FX,ala as D0,dla as cJ}from"./cli-1.1.21-7q6ajew6.mjs";import{Ala as h0,Hla as aJ}from"./cli-1.1.21-xx8dx3jd.mjs";import{pta as J0,qta as RJ,sta as $J,tta as a}from"./cli-1.1.21-13kr6en7.mjs";function u0(Q){return typeof Q==="object"&&Q!==null&&"type"in Q&&Q.type==="local_agent"}function GJ(Q){return{...Q,retain:!1,messages:void 0,diskLoaded:!1,evictAfter:TJ(Q.status)?Date.now()+LQ:void 0}}function VJ(Q,J){t("",{}),J((Z)=>{let X=Z.tasks[Q],z=Z.viewingAgentTaskId,Y=z!==void 0?Z.tasks[z]:void 0,V=z!==void 0&&z!==Q&&u0(Y)&&Y.retain,G=u0(X)&&(!X.retain||X.evictAfter!==void 0),F=Z.viewingAgentTaskId!==Q||Z.viewSelectionMode!=="viewing-agent";if(!G&&!F&&!V)return Z;let R=Z.tasks;if(V||G){if(R={...Z.tasks},V)R[z]=GJ(Y);if(G)R[Q]={...X,retain:!0,evictAfter:void 0}}return{...Z,viewingAgentTaskId:Q,viewSelectionMode:"viewing-agent",tasks:R}})}function WJ(Q){t("",{}),Q((J)=>{let Z=J.viewingAgentTaskId,X={...J,viewingAgentTaskId:void 0,viewSelectionMode:"none"};if(Z===void 0)return J.viewSelectionMode==="none"?J:X;let z=J.tasks[Z];if(!u0(z)||!z.retain)return X;return{...X,tasks:{...J.tasks,[Z]:GJ(z)}}})}function xX(Q,J){J((Z)=>{let X=Z.tasks[Q];if(!u0(X))return Z;if(X.status==="running")return X.abortController?.abort(),Z;if(X.evictAfter===0)return Z;let z=Z.viewingAgentTaskId===Q;return{...Z,tasks:{...Z.tasks,[Q]:{...GJ(X),evictAfter:0}},...z&&{viewingAgentTaskId:void 0,viewSelectionMode:"none"}}})}var LQ=30000;var uJ=a(()=>{_J();fQ()});class xJ{exitPlanCalls=[];results=new Map;rejectedIds=new Set;terminated=null;rescanAfterRejection=!1;everSeenPending=!1;get rejectCount(){return this.rejectedIds.size}get hasPendingPlan(){let Q=this.exitPlanCalls.findLast((J)=>!this.rejectedIds.has(J));return Q!==void 0&&!this.results.has(Q)}ingest(Q){for(let X of Q)if(X.type==="assistant")for(let z of X.message.content){if(z.type!=="tool_use")continue;let Y=z;if(Y.name===d0)this.exitPlanCalls.push(Y.id)}else if(X.type==="user"){let z=X.message.content;if(!Array.isArray(z))continue;for(let Y of z)if(Y.type==="tool_result")this.results.set(Y.tool_use_id,Y)}else if(X.type==="result"&&X.subtype!=="success")this.terminated={subtype:X.subtype};let J=Q.length>0||this.rescanAfterRejection;this.rescanAfterRejection=!1;let Z=null;if(J){for(let X=this.exitPlanCalls.length-1;X>=0;X--){let z=this.exitPlanCalls[X];if(this.rejectedIds.has(z))continue;let Y=this.results.get(z);if(!Y)Z={kind:"pending"};else if(Y.is_error===!0){let V=CQ(Y.content);Z=V!==null?{kind:"teleport",plan:V}:{kind:"rejected",id:z}}else Z={kind:"approved",plan:yQ(Y.content)};break}if(Z?.kind==="approved"||Z?.kind==="teleport")return Z}if(Z?.kind==="rejected")this.rejectedIds.add(Z.id),this.rescanAfterRejection=!0;if(this.terminated)return{kind:"terminated",subtype:this.terminated.subtype};if(Z?.kind==="rejected")return Z;if(Z?.kind==="pending")return this.everSeenPending=!0,Z;return{kind:"unchanged"}}}async function rJ(Q,J,Z,X){let z=Date.now()+J,Y=new xJ,V=null,G=0,F="running";while(Date.now()<z){if(X?.())throw new N0("poll stopped by caller","stopped",Y.rejectCount);let R,O;try{let f=await kJ(Q,V);R=f.newEvents,V=f.lastEventId,O=f.sessionStatus,G=0}catch(f){if(!pJ(f)||++G>=KQ)throw new N0(f instanceof Error?f.message:String(f),"network_or_unknown",Y.rejectCount,{cause:f});await HJ(dJ);continue}let P;try{P=Y.ingest(R)}catch(f){throw new N0(f instanceof Error?f.message:String(f),"extract_marker_missing",Y.rejectCount)}if(P.kind==="approved")return{plan:P.plan,rejectCount:Y.rejectCount,executionTarget:"remote"};if(P.kind==="teleport")return{plan:P.plan,rejectCount:Y.rejectCount,executionTarget:"local"};if(P.kind==="terminated")throw new N0(`remote session ended (${P.subtype}) before plan approval`,"terminated",Y.rejectCount);let U=(O==="idle"||O==="requires_action")&&R.length===0,w=Y.hasPendingPlan?"plan_ready":U?"needs_input":"running";if(w!==F)D0(`[ultraplan] phase ${F} → ${w}`),F=w,Z?.(w);await HJ(dJ)}throw new N0(Y.everSeenPending?`no approval after ${J/1000}s`:`ExitPlanMode never reached after ${J/1000}s (the remote container failed to start, or session ID mismatch?)`,Y.everSeenPending?"timeout_pending":"timeout_no_plan",Y.rejectCount)}function lJ(Q){return typeof Q==="string"?Q:Array.isArray(Q)?Q.map((J)=>("text"in J)?J.text:"").join(""):""}function CQ(Q){let J=lJ(Q),Z=`${EQ}
|
|
2
|
-
`,X=J.indexOf(Z);if(X===-1)return null;return J.slice(X+Z.length).trimEnd()}function yQ(Q){let J=lJ(Q),Z=[`## Approved Plan (edited by user):
|
|
3
|
-
`,`## Approved Plan:
|
|
4
|
-
`];for(let X of Z){let z=J.indexOf(X);if(z!==-1)return J.slice(z+X.length).trimEnd()}throw Error(`ExitPlanMode approved but tool_result has no "## Approved Plan:" marker — remote may have hit the empty-plan or isAgent branch. Content preview: ${J.slice(0,200)}`)}var dJ=3000,KQ=5,N0,EQ="__ULTRAPLAN_TELEPORT_LOCAL__";var iJ=a(()=>{mJ();cJ();wQ();MQ();NJ();N0=class N0 extends Error{reason;rejectCount;constructor(Q,J,Z,X){super(Q,X);this.reason=J;this.rejectCount=Z;this.name="UltraplanPollError"}}});var oJ={};$J(oJ,{default:()=>bQ});var bQ=`This is a planning prompt stub.
|
|
5
|
-
`;var nJ=()=>{};function gQ(){return sJ("tengu_ultraplan_model",tJ.opus46.firstParty)}function uQ(Q,J){let Z=[];if(J)Z.push("Here is a draft plan to refine:","",J,"");if(Z.push(TQ),Q)Z.push("",Q);return Z.join(`
|
|
6
|
-
`)}function dQ(Q,J,Z,X,z){let Y=Date.now(),V=!1;(async()=>{try{let{plan:G,rejectCount:F,executionTarget:R}=await rJ(J,jQ,(O)=>{if(O==="needs_input")t("",{});c0(Q,z,(P)=>{if(P.status!=="running")return P;let U=O==="running"?void 0:O;return P.ultraplanPhase===U?P:{...P,ultraplanPhase:U}})},()=>X().tasks?.[Q]?.status!=="running");if(t("",{duration_ms:Date.now()-Y,plan_length:G.length,reject_count:F,execution_target:R}),R==="remote"){if(X().tasks?.[Q]?.status!=="running")return;c0(Q,z,(P)=>P.status!=="running"?P:{...P,status:"completed",endTime:Date.now()}),z((P)=>P.ultraplanSessionUrl===Z?{...P,ultraplanSessionUrl:void 0}:P),L0({value:[`Ultraplan approved — executing in Claude Code on the web. Follow along at: ${Z}`,"","Results will land as a pull request when the remote session finishes. There is nothing to do here."].join(`
|
|
7
|
-
`),mode:"task-notification"})}else z((O)=>{let P=O.tasks?.[Q];if(!P||P.status!=="running")return O;return{...O,ultraplanPendingChoice:{plan:G,sessionId:J,taskId:Q}}})}catch(G){if(X().tasks?.[Q]?.status!=="running")return;V=!0,t("",{duration_ms:Date.now()-Y,reason:G instanceof N0?G.reason:"network_or_unknown",reject_count:G instanceof N0?G.rejectCount:void 0}),L0({value:`Ultraplan failed: ${h0(G)}
|
|
8
|
-
|
|
9
|
-
Session: ${Z}`,mode:"task-notification"}),OJ(J).catch((R)=>D0(`ultraplan archive failed: ${String(R)}`)),z((R)=>R.ultraplanSessionUrl===Z?{...R,ultraplanSessionUrl:void 0}:R)}finally{if(V)c0(Q,z,(G)=>G.status!=="running"?G:{...G,status:"failed",endTime:Date.now()})}})()}function cQ(Q){let J=Q?`${YZ} `:"";return`${z0} ultraplan
|
|
10
|
-
${J}Starting Claude Code on the web…`}function pQ(Q){return`${z0} ultraplan · Monitor progress in Claude Code on the web ${Q}
|
|
11
|
-
You can continue working — when the ${z0} fills, press ↓ to view results`}function qZ(Q){return Q?`ultraplan: already polling. Open ${Q} to check status, or wait for the plan to land here.`:"ultraplan: already launching. Please wait for the session to start."}async function fJ(Q,J,Z){await m0.kill(Q,Z),Z((z)=>z.ultraplanSessionUrl||z.ultraplanPendingChoice||z.ultraplanLaunching?{...z,ultraplanSessionUrl:void 0,ultraplanPendingChoice:void 0,ultraplanLaunching:void 0}:z);let X=PJ(J,process.env.SESSION_INGRESS_URL);L0({value:`Ultraplan stopped.
|
|
12
|
-
|
|
13
|
-
Session: ${X}`,mode:"task-notification"}),L0({value:"The user stopped the ultraplan session above. Do not respond to the stop notification — wait for their next message.",mode:"task-notification",isMeta:!0})}async function mQ(Q){let{blurb:J,seedPlan:Z,getAppState:X,setAppState:z,signal:Y,disconnectedBridge:V,onSessionReady:G}=Q,{ultraplanSessionUrl:F,ultraplanLaunching:R}=X();if(F||R)return t("",{reason:F?"already_polling":"already_launching"}),qZ(F);if(!J&&!Z)return['Usage: /ultraplan \\<prompt\\>, or include "ultraplan" anywhere',"in your prompt","","Advanced multi-agent plan mode with our most powerful model","(Opus). Runs in Claude Code on the web. When the plan is ready,","you can execute it in the web session or send it back here.","Terminal stays free while the remote plans.","Requires /login.","",`Terms: ${zZ}`].join(`
|
|
14
|
-
`);return z((O)=>O.ultraplanLaunching?O:{...O,ultraplanLaunching:!0}),kQ({blurb:J,seedPlan:Z,getAppState:X,setAppState:z,signal:Y,onSessionReady:G}),cQ(V)}async function kQ(Q){let{blurb:J,seedPlan:Z,getAppState:X,setAppState:z,signal:Y,onSessionReady:V}=Q,G;try{let F=gQ(),R=await ZZ();if(!R.eligible){t("",{reason:"precondition",precondition_errors:R.errors.map((C)=>C.type).join(",")});let L=R.errors.map(QZ).join(`
|
|
15
|
-
`);L0({value:`ultraplan: cannot launch remote session —
|
|
16
|
-
${L}`,mode:"task-notification"});return}let O=uQ(J,Z),P,U=await JZ({initialMessage:O,description:J||"Refine local plan",model:F,permissionMode:"plan",ultraplan:!0,signal:Y,useDefaultEnvironment:!0,onBundleFail:(L)=>{P=L}});if(!U){t("",{reason:P?"bundle_fail":"teleport_null"}),L0({value:`ultraplan: session creation failed${P?` — ${P}`:""}. See --debug for details.`,mode:"task-notification"});return}G=U.id;let w=PJ(U.id,process.env.SESSION_INGRESS_URL);z((L)=>({...L,ultraplanSessionUrl:w,ultraplanLaunching:void 0})),V?.(pQ(w)),t("",{has_seed_plan:Boolean(Z),model:F});let{taskId:f}=XZ({remoteTaskType:"ultraplan",session:{id:U.id,title:J||"Ultraplan"},command:J,context:{abortController:new AbortController,getAppState:X,setAppState:z},isUltraplan:!0});dQ(f,U.id,w,X,z)}catch(F){if(eJ(F),t("",{reason:"unexpected_error"}),L0({value:`ultraplan: unexpected error — ${h0(F)}`,mode:"task-notification"}),G)OJ(G).catch((R)=>D0("ultraplan: failed to archive orphaned session",R)),z((R)=>R.ultraplanSessionUrl?{...R,ultraplanSessionUrl:void 0}:R)}finally{z((F)=>F.ultraplanLaunching?{...F,ultraplanLaunching:void 0}:F)}}var jQ=1800000,zZ="https://code.claude.com/docs/en/claude-code-on-the-web",FJ,_Q,TQ,xQ=async(Q,J,Z)=>{let X=Z.trim();if(!X){let V=await mQ({blurb:X,getAppState:J.getAppState,setAppState:J.setAppState,signal:J.abortController.signal});return Q(V,{display:"system"}),null}let{ultraplanSessionUrl:z,ultraplanLaunching:Y}=J.getAppState();if(z||Y)return t("",{reason:z?"already_polling":"already_launching"}),Q(qZ(z),{display:"system"}),null;return J.setAppState((V)=>({...V,ultraplanLaunchPending:{blurb:X}})),Q(void 0,{display:"skip"}),null},NY;var GZ=a(()=>{SQ();p0();DQ();AQ();_J();UJ();cJ();aJ();BQ();hQ();IQ();vQ();NJ();iJ();FJ=(nJ(),RJ(oJ)),_Q=(typeof FJ==="string"?FJ:FJ.default).trimEnd(),TQ=_Q;NY={type:"local-jsx",name:"ultraplan",description:`~10–30 min · Claude Code on the web drafts an advanced plan you can edit and approve. See ${zZ}`,argumentHint:"<prompt>",isEnabled:()=>!1,load:()=>Promise.resolve({call:xQ})}});function k0(Q,J,Z){let X=VZ(J,Q.toolName);if(!X)return Q.toolName;try{let z=X.inputSchema.safeParse(Q.input),Y=z.success?z.data:{},V=X.userFacingName(Y);if(!V)return Q.toolName;let G=X.renderToolUseMessage(Y,{theme:Z,verbose:!1});if(G)return N(W,{children:[V,"(",G,")"]});return V}catch{return Q.toolName}}var wJ=a(()=>{q0();LJ();$()});function OZ(Q){let J=PZ.c(54),{agent:Z,onDone:X,onKillAgent:z,onBack:Y}=Q,[V]=l0(),G;if(J[0]===Symbol.for("react.memo_cache_sentinel"))G=$0(r0()),J[0]=G;else G=J[0];let F=G,R=R0(Z.startTime,Z.status==="running",1000,Z.totalPausedMs??0),O;if(J[1]!==X)O={"confirm:yes":X},J[1]=X,J[2]=O;else O=J[2];let P;if(J[3]===Symbol.for("react.memo_cache_sentinel"))P={context:"Confirmation"},J[3]=P;else P=J[3];G0(O,P);let U;if(J[4]!==Z.status||J[5]!==Y||J[6]!==X||J[7]!==z)U=(S)=>{if(S.key===" ")S.preventDefault(),X();else if(S.key==="left"&&Y)S.preventDefault(),Y();else if(S.key==="x"&&Z.status==="running"&&z)S.preventDefault(),z()},J[4]=Z.status,J[5]=Y,J[6]=X,J[7]=z,J[8]=U;else U=J[8];let w=U,f;if(J[9]!==Z.prompt)f=WZ(Z.prompt,"plan"),J[9]=Z.prompt,J[10]=f;else f=J[10];let L=f,C=Z.prompt.length>300?Z.prompt.substring(0,297)+"…":Z.prompt,E=Z.result?.totalTokens??Z.progress?.tokenCount,A=Z.result?.totalToolUseCount??Z.progress?.toolUseCount,h=Z.selectedAgent?.agentType??"agent",D=Z.description||"Async agent",I;if(J[11]!==h||J[12]!==D)I=N(W,{children:[h," ›"," ",D]}),J[11]=h,J[12]=D,J[13]=I;else I=J[13];let K=I,B;if(J[14]!==Z.status)B=Z.status!=="running"&&N(W,{color:FZ(Z.status),children:[NZ(Z.status)," ",Z.status==="completed"?"Completed":Z.status==="failed"?"Failed":"Stopped"," · "]}),J[14]=Z.status,J[15]=B;else B=J[15];let p;if(J[16]!==E)p=E!==void 0&&E>0&&N(o,{children:[" · ",x0(E)," tokens"]}),J[16]=E,J[17]=p;else p=J[17];let d;if(J[18]!==A)d=A!==void 0&&A>0&&N(o,{children:[" ","· ",A," ",A===1?"tool":"tools"]}),J[18]=A,J[19]=d;else d=J[19];let j;if(J[20]!==R||J[21]!==p||J[22]!==d)j=N(W,{dimColor:!0,children:[R,p,d]}),J[20]=R,J[21]=p,J[22]=d,J[23]=j;else j=J[23];let x;if(J[24]!==j||J[25]!==B)x=N(W,{children:[B,j]}),J[24]=j,J[25]=B,J[26]=x;else x=J[26];let c=x,v;if(J[27]!==Z.status||J[28]!==Y||J[29]!==z)v=(S)=>S.pending?N(W,{children:["Press ",S.keyName," again to exit"]}):N(Z0,{children:[Y&&q(l,{shortcut:"←",action:"go back"}),q(l,{shortcut:"Esc/Enter/Space",action:"close"}),Z.status==="running"&&z&&q(l,{shortcut:"x",action:"stop"})]}),J[27]=Z.status,J[28]=Y,J[29]=z,J[30]=v;else v=J[30];let b;if(J[31]!==Z.progress||J[32]!==Z.status||J[33]!==V)b=Z.status==="running"&&Z.progress?.recentActivities&&Z.progress.recentActivities.length>0&&N(y,{flexDirection:"column",children:[q(W,{bold:!0,dimColor:!0,children:"Progress"}),Z.progress.recentActivities.map((S,k)=>N(W,{dimColor:k<Z.progress.recentActivities.length-1,wrap:"truncate-end",children:[k===Z.progress.recentActivities.length-1?"› ":" ",k0(S,F,V)]},k))]}),J[31]=Z.progress,J[32]=Z.status,J[33]=V,J[34]=b;else b=J[34];let m;if(J[35]!==C||J[36]!==L)m=L?q(y,{marginTop:1,children:q(HZ,{addMargin:!1,planContent:L})}):N(y,{flexDirection:"column",marginTop:1,children:[q(W,{bold:!0,dimColor:!0,children:"Prompt"}),q(W,{wrap:"wrap",children:C})]}),J[35]=C,J[36]=L,J[37]=m;else m=J[37];let T;if(J[38]!==Z.error||J[39]!==Z.status)T=Z.status==="failed"&&Z.error&&N(y,{flexDirection:"column",marginTop:1,children:[q(W,{bold:!0,color:"error",children:"Error"}),q(W,{color:"error",wrap:"wrap",children:Z.error})]}),J[38]=Z.error,J[39]=Z.status,J[40]=T;else T=J[40];let _;if(J[41]!==b||J[42]!==m||J[43]!==T)_=N(y,{flexDirection:"column",children:[b,m,T]}),J[41]=b,J[42]=m,J[43]=T,J[44]=_;else _=J[44];let g;if(J[45]!==X||J[46]!==c||J[47]!==v||J[48]!==_||J[49]!==K)g=q(n,{title:K,subtitle:c,onCancel:X,color:"background",inputGuide:v,children:_}),J[45]=X,J[46]=c,J[47]=v,J[48]=_,J[49]=K,J[50]=g;else g=J[50];let u;if(J[51]!==w||J[52]!==g)u=q(y,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:w,children:g}),J[51]=w,J[52]=g,J[53]=u;else u=J[53];return u}var PZ;var UZ=a(()=>{i0();q0();S0();LJ();RZ();v0();fZ();B0();I0();A0();rQ();wJ();MJ();$();PZ=J0(F0(),1)});function bJ(Q,J,Z,X){if(!Q)return`${J} found · ${Z} verified`;if(Q==="synthesizing"){let z=[`${Z} verified`];if(X>0)z.push(`${X} refuted`);return z.push("deduping"),z.join(" · ")}if(Q==="verifying"){let z=[`${J} found`,`${Z} verified`];if(X>0)z.push(`${X} refuted`);return z.join(" · ")}return J>0?`${J} found`:"finding"}function KJ(Q){let J=n0.c(5),{text:Z,phase:X}=Q,z=X===void 0?0:X,Y;if(J[0]!==Z)Y=[...Z],J[0]=Z,J[1]=Y;else Y=J[1];let V;if(J[2]!==z||J[3]!==Y)V=q(o,{children:Y.map((G,F)=>q(W,{color:MZ(F+z),children:G},F))}),J[2]=z,J[3]=Y,J[4]=V;else V=J[4];return V}function EJ(Q,J,Z){let X=CJ.useRef(Q),z=CJ.useRef(J);if(Z||Q<X.current)X.current=Q;else if(Q>X.current&&J!==z.current)X.current+=1,z.current=J;return X.current}function $Q(Q){let J=n0.c(15),{session:Z}=Q,z=KZ().prefersReducedMotion??!1,Y=Z.reviewProgress,V=Z.status==="running",[,G]=wZ(V&&!z?LZ:null),F=Y?.bugsFound??0,R=Y?.bugsVerified??0,O=Y?.bugsRefuted??0,P=z||!V,U=EJ(F,G,P),w=EJ(R,G,P),f=EJ(O,G,P),L=Math.floor(G/(LZ*3))%7;if(Z.status==="completed"){let B;if(J[0]===Symbol.for("react.memo_cache_sentinel"))B=N(o,{children:[N(W,{color:"background",children:[w0," "]}),q(KJ,{text:"ultrareview",phase:0}),q(W,{dimColor:!0,children:" ready · shift+↓ to view"})]}),J[0]=B;else B=J[0];return B}if(Z.status==="failed"){let B;if(J[1]===Symbol.for("react.memo_cache_sentinel"))B=N(o,{children:[N(W,{color:"background",children:[w0," "]}),q(KJ,{text:"ultrareview",phase:0}),N(W,{color:"error",dimColor:!0,children:[" · ","error"]})]}),J[1]=B;else B=J[1];return B}let C;if(J[2]!==U||J[3]!==Y||J[4]!==f||J[5]!==w)C=!Y?"setting up":bJ(Y.stage,U,w,f),J[2]=U,J[3]=Y,J[4]=f,J[5]=w,J[6]=C;else C=J[6];let E=C,A;if(J[7]===Symbol.for("react.memo_cache_sentinel"))A=N(W,{color:"background",children:[z0," "]}),J[7]=A;else A=J[7];let h=V?L:0,D;if(J[8]!==h)D=q(KJ,{text:"ultrareview",phase:h}),J[8]=h,J[9]=D;else D=J[9];let I;if(J[10]!==E)I=N(W,{dimColor:!0,children:[" · ",E]}),J[10]=E,J[11]=I;else I=J[11];let K;if(J[12]!==D||J[13]!==I)K=N(o,{children:[A,D,I]}),J[12]=D,J[13]=I,J[14]=K;else K=J[14];return K}function j0(Q){let J=n0.c(11),{session:Z}=Q;if(Z.isRemoteReview){let G;if(J[0]!==Z)G=q($Q,{session:Z}),J[0]=Z,J[1]=G;else G=J[1];return G}if(Z.status==="completed"){let G;if(J[2]===Symbol.for("react.memo_cache_sentinel"))G=q(W,{bold:!0,color:"success",dimColor:!0,children:"done"}),J[2]=G;else G=J[2];return G}if(Z.status==="failed"){let G;if(J[3]===Symbol.for("react.memo_cache_sentinel"))G=q(W,{bold:!0,color:"error",dimColor:!0,children:"error"}),J[3]=G;else G=J[3];return G}if(!Z.todoList.length){let G;if(J[4]!==Z.status)G=N(W,{dimColor:!0,children:[Z.status,"…"]}),J[4]=Z.status,J[5]=G;else G=J[5];return G}let X;if(J[6]!==Z.todoList)X=M0(Z.todoList,oQ),J[6]=Z.todoList,J[7]=X;else X=J[7];let z=X,Y=Z.todoList.length,V;if(J[8]!==z||J[9]!==Y)V=N(W,{dimColor:!0,children:[z,"/",Y]}),J[8]=z,J[9]=Y,J[10]=V;else V=J[10];return V}function oQ(Q){return Q.status==="completed"}var n0,CJ,LZ=80;var AJ=a(()=>{p0();iQ();q0();yJ();lQ();$();n0=J0(F0(),1),CJ=J0(o0(),1)});function P0(Q){let J=BJ.c(4),{status:Z,label:X,suffix:z}=Q,Y=X??Z,V=Z==="completed"?"success":Z==="failed"?"error":Z==="killed"?"warning":void 0,G;if(J[0]!==V||J[1]!==Y||J[2]!==z)G=N(W,{color:V,dimColor:!0,children:["(",Y,z,")"]}),J[0]=V,J[1]=Y,J[2]=z,J[3]=G;else G=J[3];return G}function EZ(Q){let J=BJ.c(4),{shell:Z}=Q;switch(Z.status){case"completed":{let X;if(J[0]===Symbol.for("react.memo_cache_sentinel"))X=q(P0,{status:"completed",label:"done"}),J[0]=X;else X=J[0];return X}case"failed":{let X;if(J[1]===Symbol.for("react.memo_cache_sentinel"))X=q(P0,{status:"failed",label:"error"}),J[1]=X;else X=J[1];return X}case"killed":{let X;if(J[2]===Symbol.for("react.memo_cache_sentinel"))X=q(P0,{status:"killed",label:"stopped"}),J[2]=X;else X=J[2];return X}case"running":case"pending":{let X;if(J[3]===Symbol.for("react.memo_cache_sentinel"))X=q(P0,{status:"running"}),J[3]=X;else X=J[3];return X}}}var BJ;var CZ=a(()=>{q0();$();BJ=J0(F0(),1)});function AZ(Q){let J=bZ.c(92),{task:Z,maxActivityWidth:X}=Q,z=X??40;switch(Z.type){case"local_bash":{let Y=Z.kind==="monitor"?Z.description:Z.command,V;if(J[0]!==z||J[1]!==Y)V=b0(Y,z,!0),J[0]=z,J[1]=Y,J[2]=V;else V=J[2];let G;if(J[3]!==Z)G=q(EZ,{shell:Z}),J[3]=Z,J[4]=G;else G=J[4];let F;if(J[5]!==V||J[6]!==G)F=N(W,{children:[V," ",G]}),J[5]=V,J[6]=G,J[7]=F;else F=J[7];return F}case"remote_agent":{if(Z.isRemoteReview){let U;if(J[8]!==Z)U=q(W,{children:q(j0,{session:Z})}),J[8]=Z,J[9]=U;else U=J[9];return U}let V=Z.status==="running"||Z.status==="pending"?z0:w0,G;if(J[10]!==V)G=N(W,{dimColor:!0,children:[V," "]}),J[10]=V,J[11]=G;else G=J[11];let F;if(J[12]!==z||J[13]!==Z.title)F=b0(Z.title,z,!0),J[12]=z,J[13]=Z.title,J[14]=F;else F=J[14];let R;if(J[15]===Symbol.for("react.memo_cache_sentinel"))R=q(W,{dimColor:!0,children:" · "}),J[15]=R;else R=J[15];let O;if(J[16]!==Z)O=q(j0,{session:Z}),J[16]=Z,J[17]=O;else O=J[17];let P;if(J[18]!==G||J[19]!==F||J[20]!==O)P=N(W,{children:[G,F,R,O]}),J[18]=G,J[19]=F,J[20]=O,J[21]=P;else P=J[21];return P}case"local_agent":{let Y;if(J[22]!==z||J[23]!==Z.description)Y=b0(Z.description,z,!0),J[22]=z,J[23]=Z.description,J[24]=Y;else Y=J[24];let V=Z.status==="completed"?"done":void 0,G=Z.status==="completed"&&!Z.notified?", unread":void 0,F;if(J[25]!==V||J[26]!==G||J[27]!==Z.status)F=q(P0,{status:Z.status,label:V,suffix:G}),J[25]=V,J[26]=G,J[27]=Z.status,J[28]=F;else F=J[28];let R;if(J[29]!==Y||J[30]!==F)R=N(W,{children:[Y," ",F]}),J[29]=Y,J[30]=F,J[31]=R;else R=J[31];return R}case"in_process_teammate":{let Y,V,G,F,R,O;if(J[32]!==z||J[33]!==Z){let w=s0(Z);V=W;let f;if(J[40]!==Z.identity.color)f=a0(Z.identity.color),J[40]=Z.identity.color,J[41]=f;else f=J[41];if(J[42]!==f||J[43]!==Z.identity.agentName)O=N(W,{color:f,children:["@",Z.identity.agentName]}),J[42]=f,J[43]=Z.identity.agentName,J[44]=O;else O=J[44];Y=W,G=!0,F=": ",R=b0(w,z,!0),J[32]=z,J[33]=Z,J[34]=Y,J[35]=V,J[36]=G,J[37]=F,J[38]=R,J[39]=O}else Y=J[34],V=J[35],G=J[36],F=J[37],R=J[38],O=J[39];let P;if(J[45]!==Y||J[46]!==G||J[47]!==F||J[48]!==R)P=N(Y,{dimColor:G,children:[F,R]}),J[45]=Y,J[46]=G,J[47]=F,J[48]=R,J[49]=P;else P=J[49];let U;if(J[50]!==V||J[51]!==O||J[52]!==P)U=N(V,{children:[O,P]}),J[50]=V,J[51]=O,J[52]=P,J[53]=U;else U=J[53];return U}case"local_workflow":{let Y=Z.workflowName??Z.summary??Z.description,V;if(J[54]!==z||J[55]!==Y)V=b0(Y,z,!0),J[54]=z,J[55]=Y,J[56]=V;else V=J[56];let G;if(J[57]!==Z.agentCount||J[58]!==Z.status)G=Z.status==="running"?`${Z.agentCount} ${Q0(Z.agentCount,"agent")}`:Z.status==="completed"?"done":void 0,J[57]=Z.agentCount,J[58]=Z.status,J[59]=G;else G=J[59];let F=Z.status==="completed"&&!Z.notified?", unread":void 0,R;if(J[60]!==G||J[61]!==F||J[62]!==Z.status)R=q(P0,{status:Z.status,label:G,suffix:F}),J[60]=G,J[61]=F,J[62]=Z.status,J[63]=R;else R=J[63];let O;if(J[64]!==V||J[65]!==R)O=N(W,{children:[V," ",R]}),J[64]=V,J[65]=R,J[66]=O;else O=J[66];return O}case"monitor_mcp":{let Y;if(J[67]!==z||J[68]!==Z.description)Y=b0(Z.description,z,!0),J[67]=z,J[68]=Z.description,J[69]=Y;else Y=J[69];let V=Z.status==="completed"?"done":void 0,G=Z.status==="completed"&&!Z.notified?", unread":void 0,F;if(J[70]!==V||J[71]!==G||J[72]!==Z.status)F=q(P0,{status:Z.status,label:V,suffix:G}),J[70]=V,J[71]=G,J[72]=Z.status,J[73]=F;else F=J[73];let R;if(J[74]!==Y||J[75]!==F)R=N(W,{children:[Y," ",F]}),J[74]=Y,J[75]=F,J[76]=R;else R=J[76];return R}case"dream":{let Y=Z.filesTouched.length,V;if(J[77]!==Y||J[78]!==Z.phase||J[79]!==Z.sessionsReviewing)V=Z.phase==="updating"&&Y>0?`${Y} ${Q0(Y,"file")}`:`${Z.sessionsReviewing} ${Q0(Z.sessionsReviewing,"session")}`,J[77]=Y,J[78]=Z.phase,J[79]=Z.sessionsReviewing,J[80]=V;else V=J[80];let G=V,F;if(J[81]!==G||J[82]!==Z.phase)F=N(W,{dimColor:!0,children:["· ",Z.phase," · ",G]}),J[81]=G,J[82]=Z.phase,J[83]=F;else F=J[83];let R=Z.status==="completed"?"done":void 0,O=Z.status==="completed"&&!Z.notified?", unread":void 0,P;if(J[84]!==R||J[85]!==O||J[86]!==Z.status)P=q(P0,{status:Z.status,label:R,suffix:O}),J[84]=R,J[85]=O,J[86]=Z.status,J[87]=P;else P=J[87];let U;if(J[88]!==F||J[89]!==P||J[90]!==Z.description)U=N(W,{children:[Z.description," ",F," ",P]}),J[88]=F,J[89]=P,J[90]=Z.description,J[91]=U;else U=J[91];return U}}}var bZ;var BZ=a(()=>{q0();v0();yZ();IJ();p0();AJ();CZ();MJ();$();bZ=J0(F0(),1)});function DZ(Q){let J=IZ.c(70),{task:Z,onDone:X,onBack:z,onKill:Y}=Q,V=R0(Z.startTime,Z.status==="running",1000,0),G;if(J[0]!==X)G={"confirm:yes":X},J[0]=X,J[1]=G;else G=J[1];let F;if(J[2]===Symbol.for("react.memo_cache_sentinel"))F={context:"Confirmation"},J[2]=F;else F=J[2];G0(G,F);let R;if(J[3]!==z||J[4]!==X||J[5]!==Y||J[6]!==Z.status)R=(b)=>{if(b.key===" ")b.preventDefault(),X();else if(b.key==="left"&&z)b.preventDefault(),z();else if(b.key==="x"&&Z.status==="running"&&Y)b.preventDefault(),Y()},J[3]=z,J[4]=X,J[5]=Y,J[6]=Z.status,J[7]=R;else R=J[7];let O=R,P,U,w,f,L,C,E,A,h,D,I,K,B,p,d,j;if(J[8]!==V||J[9]!==O||J[10]!==z||J[11]!==X||J[12]!==Y||J[13]!==Z.filesTouched.length||J[14]!==Z.sessionsReviewing||J[15]!==Z.status||J[16]!==Z.turns){let b=Z.turns.filter(sQ),m=b.slice(-nQ),T=b.length-m.length;w=y,E="column",A=0,h=!0,D=O,U=n,d="Memory consolidation";let _=Z.sessionsReviewing,g;if(J[33]!==Z.sessionsReviewing)g=Q0(Z.sessionsReviewing,"session"),J[33]=Z.sessionsReviewing,J[34]=g;else g=J[34];let u;if(J[35]!==Z.filesTouched.length)u=Z.filesTouched.length>0&&N(o,{children:[" ","· ",Z.filesTouched.length," ",Q0(Z.filesTouched.length,"file")," touched"]}),J[35]=Z.filesTouched.length,J[36]=u;else u=J[36];if(J[37]!==V||J[38]!==g||J[39]!==u||J[40]!==Z.sessionsReviewing)j=N(W,{dimColor:!0,children:[V," · reviewing ",_," ",g,u]}),J[37]=V,J[38]=g,J[39]=u,J[40]=Z.sessionsReviewing,J[41]=j;else j=J[41];if(f=X,L="background",J[42]!==z||J[43]!==Y||J[44]!==Z.status)C=(k)=>k.pending?N(W,{children:["Press ",k.keyName," again to exit"]}):N(Z0,{children:[z&&q(l,{shortcut:"←",action:"go back"}),q(l,{shortcut:"Esc/Enter/Space",action:"close"}),Z.status==="running"&&Y&&q(l,{shortcut:"x",action:"stop"})]}),J[42]=z,J[43]=Y,J[44]=Z.status,J[45]=C;else C=J[45];P=y,I="column",K=1;let S;if(J[46]===Symbol.for("react.memo_cache_sentinel"))S=q(W,{bold:!0,children:"Status:"}),J[46]=S;else S=J[46];if(J[47]!==Z.status)B=N(W,{children:[S," ",Z.status==="running"?q(W,{color:"background",children:"running"}):Z.status==="completed"?q(W,{color:"success",children:Z.status}):q(W,{color:"error",children:Z.status})]}),J[47]=Z.status,J[48]=B;else B=J[48];p=m.length===0?q(W,{dimColor:!0,children:Z.status==="running"?"Starting…":"(no text output)"}):N(o,{children:[T>0&&N(W,{dimColor:!0,children:["(",T," earlier ",Q0(T,"turn"),")"]}),m.map(aQ)]}),J[8]=V,J[9]=O,J[10]=z,J[11]=X,J[12]=Y,J[13]=Z.filesTouched.length,J[14]=Z.sessionsReviewing,J[15]=Z.status,J[16]=Z.turns,J[17]=P,J[18]=U,J[19]=w,J[20]=f,J[21]=L,J[22]=C,J[23]=E,J[24]=A,J[25]=h,J[26]=D,J[27]=I,J[28]=K,J[29]=B,J[30]=p,J[31]=d,J[32]=j}else P=J[17],U=J[18],w=J[19],f=J[20],L=J[21],C=J[22],E=J[23],A=J[24],h=J[25],D=J[26],I=J[27],K=J[28],B=J[29],p=J[30],d=J[31],j=J[32];let x;if(J[49]!==P||J[50]!==I||J[51]!==K||J[52]!==B||J[53]!==p)x=N(P,{flexDirection:I,gap:K,children:[B,p]}),J[49]=P,J[50]=I,J[51]=K,J[52]=B,J[53]=p,J[54]=x;else x=J[54];let c;if(J[55]!==U||J[56]!==f||J[57]!==L||J[58]!==C||J[59]!==x||J[60]!==d||J[61]!==j)c=q(U,{title:d,subtitle:j,onCancel:f,color:L,inputGuide:C,children:x}),J[55]=U,J[56]=f,J[57]=L,J[58]=C,J[59]=x,J[60]=d,J[61]=j,J[62]=c;else c=J[62];let v;if(J[63]!==w||J[64]!==E||J[65]!==A||J[66]!==h||J[67]!==D||J[68]!==c)v=q(w,{flexDirection:E,tabIndex:A,autoFocus:h,onKeyDown:D,children:c}),J[63]=w,J[64]=E,J[65]=A,J[66]=h,J[67]=D,J[68]=c,J[69]=v;else v=J[69];return v}function aQ(Q,J){return N(y,{flexDirection:"column",children:[q(W,{wrap:"wrap",children:Q.text}),Q.toolUseCount>0&&N(W,{dimColor:!0,children:[" ","(",Q.toolUseCount," ",Q0(Q.toolUseCount,"tool"),")"]})]},J)}function sQ(Q){return Q.text!==""}var IZ,nQ=6;var hZ=a(()=>{i0();q0();S0();IJ();B0();I0();A0();$();IZ=J0(F0(),1)});function SZ(Q){let J=vZ.c(63),{teammate:Z,onDone:X,onKill:z,onBack:Y,onForeground:V}=Q,[G]=l0(),F;if(J[0]===Symbol.for("react.memo_cache_sentinel"))F=$0(r0()),J[0]=F;else F=J[0];let R=F,O=R0(Z.startTime,Z.status==="running",1000,Z.totalPausedMs??0),P;if(J[1]!==X)P={"confirm:yes":X},J[1]=X,J[2]=P;else P=J[2];let U;if(J[3]===Symbol.for("react.memo_cache_sentinel"))U={context:"Confirmation"},J[3]=U;else U=J[3];G0(P,U);let w;if(J[4]!==Y||J[5]!==X||J[6]!==V||J[7]!==z||J[8]!==Z.status)w=(M)=>{if(M.key===" ")M.preventDefault(),X();else if(M.key==="left"&&Y)M.preventDefault(),Y();else if(M.key==="x"&&Z.status==="running"&&z)M.preventDefault(),z();else if(M.key==="f"&&Z.status==="running"&&V)M.preventDefault(),V()},J[4]=Y,J[5]=X,J[6]=V,J[7]=z,J[8]=Z.status,J[9]=w;else w=J[9];let f=w,L;if(J[10]!==Z)L=s0(Z),J[10]=Z,J[11]=L;else L=J[11];let C=L,E=Z.result?.totalTokens??Z.progress?.tokenCount,A=Z.result?.totalToolUseCount??Z.progress?.toolUseCount,h;if(J[12]!==Z.prompt)h=K0(Z.prompt,300),J[12]=Z.prompt,J[13]=h;else h=J[13];let D=h,I;if(J[14]!==Z.identity.color)I=a0(Z.identity.color),J[14]=Z.identity.color,J[15]=I;else I=J[15];let K;if(J[16]!==I||J[17]!==Z.identity.agentName)K=N(W,{color:I,children:["@",Z.identity.agentName]}),J[16]=I,J[17]=Z.identity.agentName,J[18]=K;else K=J[18];let B;if(J[19]!==C)B=C&&N(W,{dimColor:!0,children:[" (",C,")"]}),J[19]=C,J[20]=B;else B=J[20];let p;if(J[21]!==K||J[22]!==B)p=N(W,{children:[K,B]}),J[21]=K,J[22]=B,J[23]=p;else p=J[23];let d=p,j;if(J[24]!==Z.status)j=Z.status!=="running"&&N(W,{color:Z.status==="completed"?"success":Z.status==="killed"?"warning":"error",children:[Z.status==="completed"?"Completed":Z.status==="failed"?"Failed":"Stopped"," · "]}),J[24]=Z.status,J[25]=j;else j=J[25];let x;if(J[26]!==E)x=E!==void 0&&E>0&&N(o,{children:[" · ",x0(E)," tokens"]}),J[26]=E,J[27]=x;else x=J[27];let c;if(J[28]!==A)c=A!==void 0&&A>0&&N(o,{children:[" ","· ",A," ",A===1?"tool":"tools"]}),J[28]=A,J[29]=c;else c=J[29];let v;if(J[30]!==O||J[31]!==x||J[32]!==c)v=N(W,{dimColor:!0,children:[O,x,c]}),J[30]=O,J[31]=x,J[32]=c,J[33]=v;else v=J[33];let b;if(J[34]!==j||J[35]!==v)b=N(W,{children:[j,v]}),J[34]=j,J[35]=v,J[36]=b;else b=J[36];let m=b,T;if(J[37]!==Y||J[38]!==V||J[39]!==z||J[40]!==Z.status)T=(M)=>M.pending?N(W,{children:["Press ",M.keyName," again to exit"]}):N(Z0,{children:[Y&&q(l,{shortcut:"←",action:"go back"}),q(l,{shortcut:"Esc/Enter/Space",action:"close"}),Z.status==="running"&&z&&q(l,{shortcut:"x",action:"stop"}),Z.status==="running"&&V&&q(l,{shortcut:"f",action:"foreground"})]}),J[37]=Y,J[38]=V,J[39]=z,J[40]=Z.status,J[41]=T;else T=J[41];let _;if(J[42]!==Z.progress||J[43]!==Z.status||J[44]!==G)_=Z.status==="running"&&Z.progress?.recentActivities&&Z.progress.recentActivities.length>0&&N(y,{flexDirection:"column",children:[q(W,{bold:!0,dimColor:!0,children:"Progress"}),Z.progress.recentActivities.map((M,r)=>N(W,{dimColor:r<Z.progress.recentActivities.length-1,wrap:"truncate-end",children:[r===Z.progress.recentActivities.length-1?"› ":" ",k0(M,R,G)]},r))]}),J[42]=Z.progress,J[43]=Z.status,J[44]=G,J[45]=_;else _=J[45];let g;if(J[46]===Symbol.for("react.memo_cache_sentinel"))g=q(W,{bold:!0,dimColor:!0,children:"Prompt"}),J[46]=g;else g=J[46];let u;if(J[47]!==D)u=N(y,{flexDirection:"column",marginTop:1,children:[g,q(W,{wrap:"wrap",children:D})]}),J[47]=D,J[48]=u;else u=J[48];let S;if(J[49]!==Z.error||J[50]!==Z.status)S=Z.status==="failed"&&Z.error&&N(y,{flexDirection:"column",marginTop:1,children:[q(W,{bold:!0,color:"error",children:"Error"}),q(W,{color:"error",wrap:"wrap",children:Z.error})]}),J[49]=Z.error,J[50]=Z.status,J[51]=S;else S=J[51];let k;if(J[52]!==X||J[53]!==m||J[54]!==T||J[55]!==_||J[56]!==u||J[57]!==S||J[58]!==d)k=N(n,{title:d,subtitle:m,onCancel:X,color:"background",inputGuide:T,children:[_,u,S]}),J[52]=X,J[53]=m,J[54]=T,J[55]=_,J[56]=u,J[57]=S,J[58]=d,J[59]=k;else k=J[59];let H;if(J[60]!==f||J[61]!==k)H=q(y,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:f,children:k}),J[60]=f,J[61]=k,J[62]=H;else H=J[62];return H}var vZ;var jZ=a(()=>{i0();q0();S0();LJ();RZ();v0();yZ();B0();I0();A0();wJ();MJ();$();vZ=J0(F0(),1)});function YX(Q,J){if(Q===d0)return"Review the plan in Claude Code on the web";if(!J||typeof J!=="object")return Q;if(Q===cZ&&"questions"in J){let Z=J.questions;if(Array.isArray(Z)&&Z[0]&&typeof Z[0]==="object"){let X="question"in Z[0]&&typeof Z[0].question==="string"&&Z[0].question?Z[0].question:("header"in Z[0])&&typeof Z[0].header==="string"?Z[0].header:null;if(X){let z=X.replace(/\s+/g," ").trim();return`Answer in browser: ${K0(z,50)}`}}}for(let Z of Object.values(J))if(typeof Z==="string"&&Z.trim()){let X=Z.replace(/\s+/g," ").trim();return`${Q} ${K0(X,60)}`}return Q}function GX(Q){let J=ZJ.c(70),{session:Z,onDone:X,onBack:z,onKill:Y}=Q,V=Z.status==="running"||Z.status==="pending",G=Z.ultraplanPhase,F=V?G?zX[G]:"running":Z.status,R=R0(Z.startTime,V,1000,0,Z.endTime),O=0,P=0,U=null;for(let X0 of Z.log){if(X0.type!=="assistant")continue;for(let e of X0.message.content){if(e.type!=="tool_use")continue;if(P++,U=e,e.name===uZ||e.name===dZ)O++}}let w=1+O,f;if(J[0]!==U)f=U?YX(U.name,U.input):null,J[0]=U,J[1]=f;else f=J[1];let L;if(J[2]!==P||J[3]!==w||J[4]!==f)L={agentsWorking:w,toolCalls:P,lastToolCall:f},J[2]=P,J[3]=w,J[4]=f,J[5]=L;else L=J[5];let{agentsWorking:C,toolCalls:E,lastToolCall:A}=L,h;if(J[6]!==Z.sessionId)h=_0(Z.sessionId),J[6]=Z.sessionId,J[7]=h;else h=J[7];let D=h,I;if(J[8]!==z||J[9]!==X)I=z??(()=>X("Remote session details dismissed",{display:"system"})),J[8]=z,J[9]=X,J[10]=I;else I=J[10];let K=I,[B,p]=O0.useState(!1);if(B){let X0;if(J[11]===Symbol.for("react.memo_cache_sentinel"))X0=()=>p(!1),J[11]=X0;else X0=J[11];let e;if(J[12]===Symbol.for("react.memo_cache_sentinel"))e=q(W,{dimColor:!0,children:"This will terminate the Claude Code on the web session."}),J[12]=e;else e=J[12];let y0;if(J[13]===Symbol.for("react.memo_cache_sentinel"))y0={label:"Terminate session",value:"stop"},J[13]=y0;else y0=J[13];let i;if(J[14]===Symbol.for("react.memo_cache_sentinel"))i=[y0,{label:"Back",value:"back"}],J[14]=i;else i=J[14];let f0;if(J[15]!==K||J[16]!==Y)f0=q(n,{title:"Stop ultraplan?",onCancel:X0,color:"background",children:N(y,{flexDirection:"column",gap:1,children:[e,q(g0,{options:i,onChange:(T0)=>{if(T0==="stop")Y?.(),K();else p(!1)}})]})}),J[15]=K,J[16]=Y,J[17]=f0;else f0=J[17];return f0}let d=G==="plan_ready"?w0:z0,j;if(J[18]!==d)j=N(W,{color:"background",children:[d," "]}),J[18]=d,J[19]=j;else j=J[19];let x;if(J[20]===Symbol.for("react.memo_cache_sentinel"))x=q(W,{bold:!0,children:"ultraplan"}),J[20]=x;else x=J[20];let c;if(J[21]!==R||J[22]!==F)c=N(W,{dimColor:!0,children:[" · ",R," · ",F]}),J[21]=R,J[22]=F,J[23]=c;else c=J[23];let v;if(J[24]!==j||J[25]!==c)v=N(W,{children:[j,x,c]}),J[24]=j,J[25]=c,J[26]=v;else v=J[26];let b;if(J[27]!==G)b=G==="plan_ready"&&N(W,{color:"success",children:[t0.tick," "]}),J[27]=G,J[28]=b;else b=J[28];let m;if(J[29]!==C)m=Q0(C,"agent"),J[29]=C,J[30]=m;else m=J[30];let T=G?qX[G]:"working",_;if(J[31]!==E)_=Q0(E,"call"),J[31]=E,J[32]=_;else _=J[32];let g;if(J[33]!==C||J[34]!==b||J[35]!==m||J[36]!==T||J[37]!==_||J[38]!==E)g=N(W,{children:[b,C," ",m," ",T," · ",E," tool"," ",_]}),J[33]=C,J[34]=b,J[35]=m,J[36]=T,J[37]=_,J[38]=E,J[39]=g;else g=J[39];let u;if(J[40]!==A)u=A&&q(W,{dimColor:!0,children:A}),J[40]=A,J[41]=u;else u=J[41];let S;if(J[42]!==D)S=q(W,{dimColor:!0,children:D}),J[42]=D,J[43]=S;else S=J[43];let k;if(J[44]!==D||J[45]!==S)k=q(JJ,{url:D,children:S}),J[44]=D,J[45]=S,J[46]=k;else k=J[46];let H;if(J[47]===Symbol.for("react.memo_cache_sentinel"))H={label:"Review in Claude Code on the web",value:"open"},J[47]=H;else H=J[47];let M;if(J[48]!==Y||J[49]!==V)M=Y&&V?[{label:"Stop ultraplan",value:"stop"}]:[],J[48]=Y,J[49]=V,J[50]=M;else M=J[50];let r;if(J[51]===Symbol.for("react.memo_cache_sentinel"))r={label:"Back",value:"back"},J[51]=r;else r=J[51];let s;if(J[52]!==M)s=[H,...M,r],J[52]=M,J[53]=s;else s=J[53];let Y0;if(J[54]!==K||J[55]!==X||J[56]!==D)Y0=(X0)=>{switch(X0){case"open":{DJ(D),X();return}case"stop":{p(!0);return}case"back":{K();return}}},J[54]=K,J[55]=X,J[56]=D,J[57]=Y0;else Y0=J[57];let W0;if(J[58]!==s||J[59]!==Y0)W0=q(g0,{options:s,onChange:Y0}),J[58]=s,J[59]=Y0,J[60]=W0;else W0=J[60];let H0;if(J[61]!==g||J[62]!==u||J[63]!==k||J[64]!==W0)H0=N(y,{flexDirection:"column",gap:1,children:[g,u,k,W0]}),J[61]=g,J[62]=u,J[63]=k,J[64]=W0,J[65]=H0;else H0=J[65];let C0;if(J[66]!==K||J[67]!==v||J[68]!==H0)C0=q(n,{title:v,onCancel:K,color:"background",children:H0}),J[66]=K,J[67]=v,J[68]=H0,J[69]=C0;else C0=J[69];return C0}function VX(Q){let J=ZJ.c(15),{stage:Z,completed:X,hasProgress:z}=Q,Y;if(J[0]!==Z)Y=Z?gZ.indexOf(Z):-1,J[0]=Z,J[1]=Y;else Y=J[1];let V=Y,G=!X&&!z,F;if(J[2]!==G)F=G?q(W,{color:"background",children:"Setup"}):q(W,{dimColor:!0,children:"Setup"}),J[2]=G,J[3]=F;else F=J[3];let R;if(J[4]===Symbol.for("react.memo_cache_sentinel"))R=q(W,{dimColor:!0,children:" → "}),J[4]=R;else R=J[4];let O;if(J[5]!==X||J[6]!==V||J[7]!==G)O=gZ.map((w,f)=>{let L=!X&&!G&&f===V;return N(O0.default.Fragment,{children:[f>0&&q(W,{dimColor:!0,children:" → "}),L?q(W,{color:"background",children:_Z[w]}):q(W,{dimColor:!0,children:_Z[w]})]},w)}),J[5]=X,J[6]=V,J[7]=G,J[8]=O;else O=J[8];let P;if(J[9]!==X)P=X&&q(W,{color:"success",children:" ✓"}),J[9]=X,J[10]=P;else P=J[10];let U;if(J[11]!==F||J[12]!==O||J[13]!==P)U=N(W,{children:[F,R,O,P]}),J[11]=F,J[12]=O,J[13]=P,J[14]=U;else U=J[14];return U}function WX(Q){let J=Q.reviewProgress;if(!J)return Q.status==="completed"?"done":"setting up";let Z=J.bugsVerified,X=J.bugsRefuted??0;if(Q.status==="completed"){let z=[`${Z} ${Q0(Z,"finding")}`];if(X>0)z.push(`${X} refuted`);return z.join(" · ")}return bJ(J.stage,J.bugsFound,Z,X)}function HX(Q){let J=ZJ.c(56),{session:Z,onDone:X,onBack:z,onKill:Y}=Q,V=Z.status==="completed",G=Z.status==="running"||Z.status==="pending",[F,R]=O0.useState(!1),O=R0(Z.startTime,G,1000,0,Z.endTime),P;if(J[0]!==X)P=()=>X("Remote session details dismissed",{display:"system"}),J[0]=X,J[1]=P;else P=J[1];let U=P,w=z??U,f;if(J[2]!==Z.sessionId)f=_0(Z.sessionId),J[2]=Z.sessionId,J[3]=f;else f=J[3];let L=f,C=V?"ready":G?"running":Z.status;if(F){let k;if(J[4]===Symbol.for("react.memo_cache_sentinel"))k=()=>R(!1),J[4]=k;else k=J[4];let H;if(J[5]===Symbol.for("react.memo_cache_sentinel"))H=q(W,{dimColor:!0,children:"This archives the remote session and stops local tracking. The review will not complete and any findings so far are discarded."}),J[5]=H;else H=J[5];let M;if(J[6]===Symbol.for("react.memo_cache_sentinel"))M={label:"Stop ultrareview",value:"stop"},J[6]=M;else M=J[6];let r;if(J[7]===Symbol.for("react.memo_cache_sentinel"))r=[M,{label:"Back",value:"back"}],J[7]=r;else r=J[7];let s;if(J[8]!==w||J[9]!==Y)s=q(n,{title:"Stop ultrareview?",onCancel:k,color:"background",children:N(y,{flexDirection:"column",gap:1,children:[H,q(g0,{options:r,onChange:(Y0)=>{if(Y0==="stop")Y?.(),w();else R(!1)}})]})}),J[8]=w,J[9]=Y,J[10]=s;else s=J[10];return s}let E;if(J[11]!==V||J[12]!==Y||J[13]!==G)E=V?[{label:"Open in Claude Code on the web",value:"open"},{label:"Dismiss",value:"dismiss"}]:[{label:"Open in Claude Code on the web",value:"open"},...Y&&G?[{label:"Stop ultrareview",value:"stop"}]:[],{label:"Back",value:"back"}],J[11]=V,J[12]=Y,J[13]=G,J[14]=E;else E=J[14];let A=E,h;if(J[15]!==w||J[16]!==U||J[17]!==X||J[18]!==L)h=(k)=>{J:switch(k){case"open":{DJ(L),X();break J}case"stop":{R(!0);break J}case"back":{w();break J}case"dismiss":U()}},J[15]=w,J[16]=U,J[17]=X,J[18]=L,J[19]=h;else h=J[19];let D=h,I=V?w0:z0,K;if(J[20]!==I)K=N(W,{color:"background",children:[I," "]}),J[20]=I,J[21]=K;else K=J[21];let B;if(J[22]===Symbol.for("react.memo_cache_sentinel"))B=q(W,{bold:!0,children:"ultrareview"}),J[22]=B;else B=J[22];let p;if(J[23]!==O||J[24]!==C)p=N(W,{dimColor:!0,children:[" · ",O," · ",C]}),J[23]=O,J[24]=C,J[25]=p;else p=J[25];let d;if(J[26]!==K||J[27]!==p)d=N(W,{children:[K,B,p]}),J[26]=K,J[27]=p,J[28]=d;else d=J[28];let j=Z.reviewProgress?.stage,x=!!Z.reviewProgress,c;if(J[29]!==V||J[30]!==j||J[31]!==x)c=q(VX,{stage:j,completed:V,hasProgress:x}),J[29]=V,J[30]=j,J[31]=x,J[32]=c;else c=J[32];let v;if(J[33]!==Z)v=WX(Z),J[33]=Z,J[34]=v;else v=J[34];let b;if(J[35]!==v)b=q(W,{children:v}),J[35]=v,J[36]=b;else b=J[36];let m;if(J[37]!==L)m=q(W,{dimColor:!0,children:L}),J[37]=L,J[38]=m;else m=J[38];let T;if(J[39]!==L||J[40]!==m)T=q(JJ,{url:L,children:m}),J[39]=L,J[40]=m,J[41]=T;else T=J[41];let _;if(J[42]!==b||J[43]!==T)_=N(y,{flexDirection:"column",children:[b,T]}),J[42]=b,J[43]=T,J[44]=_;else _=J[44];let g;if(J[45]!==D||J[46]!==A)g=q(g0,{options:A,onChange:D}),J[45]=D,J[46]=A,J[47]=g;else g=J[47];let u;if(J[48]!==c||J[49]!==_||J[50]!==g)u=N(y,{flexDirection:"column",gap:1,children:[c,_,g]}),J[48]=c,J[49]=_,J[50]=g,J[51]=u;else u=J[51];let S;if(J[52]!==w||J[53]!==u||J[54]!==d)S=q(n,{title:d,onCancel:w,color:"background",inputGuide:NX,children:u}),J[52]=w,J[53]=u,J[54]=d,J[55]=S;else S=J[55];return S}function NX(Q){return Q.pending?N(W,{children:["Press ",Q.keyName," again to exit"]}):N(Z0,{children:[q(l,{shortcut:"Enter",action:"select"}),q(l,{shortcut:"Esc",action:"go back"})]})}function xZ({session:Q,toolUseContext:J,onDone:Z,onBack:X,onKill:z}){let[Y,V]=O0.useState(!1),[G,F]=O0.useState(null),R=O0.useMemo(()=>{if(Q.isUltraplan||Q.isRemoteReview)return[];return lZ(kZ(Q.log)).filter((L)=>L.type!=="progress").slice(-3)},[Q]);if(Q.isUltraplan)return q(GX,{session:Q,onDone:Z,onBack:X,onKill:z});if(Q.isRemoteReview)return q(HX,{session:Q,onDone:Z,onBack:X,onKill:z});let O=()=>Z("Remote session details dismissed",{display:"system"}),P=(L)=>{if(L.key===" ")L.preventDefault(),Z("Remote session details dismissed",{display:"system"});else if(L.key==="left"&&X)L.preventDefault(),X();else if(L.key==="t"&&!Y)L.preventDefault(),U();else if(L.key==="return")L.preventDefault(),O()};async function U(){V(!0),F(null);try{await mZ(Q.sessionId)}catch(L){F(h0(L))}finally{V(!1)}}let w=K0(Q.title,50),f=Q.status==="pending"?"starting":Q.status;return q(y,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:P,children:N(n,{title:"Remote session details",onCancel:O,color:"background",inputGuide:(L)=>L.pending?N(W,{children:["Press ",L.keyName," again to exit"]}):N(Z0,{children:[X&&q(l,{shortcut:"←",action:"go back"}),q(l,{shortcut:"Esc/Enter/Space",action:"close"}),!Y&&q(l,{shortcut:"t",action:"teleport"})]}),children:[N(y,{flexDirection:"column",children:[N(W,{children:[q(W,{bold:!0,children:"Status"}),":"," ",f==="running"||f==="starting"?q(W,{color:"background",children:f}):f==="completed"?q(W,{color:"success",children:f}):q(W,{color:"error",children:f})]}),N(W,{children:[q(W,{bold:!0,children:"Runtime"}),":"," ",e0((Q.endTime??Date.now())-Q.startTime)]}),N(W,{wrap:"truncate-end",children:[q(W,{bold:!0,children:"Title"}),": ",w]}),N(W,{children:[q(W,{bold:!0,children:"Progress"}),":"," ",q(j0,{session:Q})]}),N(W,{children:[q(W,{bold:!0,children:"Session URL"}),":"," ",q(JJ,{url:_0(Q.sessionId),children:q(W,{dimColor:!0,children:_0(Q.sessionId)})})]})]}),Q.log.length>0&&N(y,{flexDirection:"column",marginTop:1,children:[N(W,{children:[q(W,{bold:!0,children:"Recent messages"}),":"]}),q(y,{flexDirection:"column",height:10,overflowY:"hidden",children:R.map((L,C)=>q(pZ,{message:L,lookups:iZ,addMargin:C>0,tools:J.options.tools,commands:J.options.commands,verbose:J.options.verbose,inProgressToolUseIDs:new Set,progressMessagesForMessage:[],shouldAnimate:!1,shouldShowDot:!1,style:"condensed",isTranscriptMode:!1,isStatic:!0},C))}),q(y,{marginTop:1,children:N(W,{dimColor:!0,italic:!0,children:["Showing last ",R.length," of ",Q.log.length," ","messages"]})})]}),G&&q(y,{marginTop:1,children:N(W,{color:"error",children:["Teleport failed: ",G]})}),Y&&q(W,{color:"background",children:"Teleporting to session…"})]})})}var ZJ,O0,zX,qX,gZ,_Z;var rZ=a(()=>{TZ();p0();i0();q0();UJ();eQ();tQ();mJ();JX();aJ();v0();XX();fZ();IJ();NJ();QX();B0();I0();A0();ZX();AJ();$();ZJ=J0(F0(),1),O0=J0(o0(),1);zX={needs_input:"input required",plan_ready:"ready"},qX={needs_input:"waiting",plan_ready:"done"};gZ=["finding","verifying","synthesizing"],_Z={finding:"Find",verifying:"Verify",synthesizing:"Dedupe"}});async function sZ(Q){let J=aZ(Q.id);try{let Z=await $Z(J,PX);return{content:Z.content,bytesTotal:Z.bytesTotal}}catch{return{content:"",bytesTotal:0}}}function eZ(Q){let J=hJ.c(57),{shell:Z,onDone:X,onKillShell:z,onBack:Y}=Q,{columns:V}=QJ(),G;if(J[0]!==Z)G=()=>sZ(Z),J[0]=Z,J[1]=G;else G=J[1];let[F,R]=V0.useState(G),O=V0.useDeferredValue(F),P;if(J[2]!==Z)P=()=>{if(Z.status!=="running")return;let r=setInterval(OX,1000,R,Z);return()=>clearInterval(r)},J[2]=Z,J[3]=P;else P=J[3];let U;if(J[4]!==Z.id||J[5]!==Z.status)U=[Z.id,Z.status],J[4]=Z.id,J[5]=Z.status,J[6]=U;else U=J[6];V0.useEffect(P,U);let w;if(J[7]!==X)w=()=>X("Shell details dismissed",{display:"system"}),J[7]=X,J[8]=w;else w=J[8];let f=w,L;if(J[9]!==f)L={"confirm:yes":f},J[9]=f,J[10]=L;else L=J[10];let C;if(J[11]===Symbol.for("react.memo_cache_sentinel"))C={context:"Confirmation"},J[11]=C;else C=J[11];G0(L,C);let E;if(J[12]!==Y||J[13]!==X||J[14]!==z||J[15]!==Z.status)E=(r)=>{if(r.key===" ")r.preventDefault(),X("Shell details dismissed",{display:"system"});else if(r.key==="left"&&Y)r.preventDefault(),Y();else if(r.key==="x"&&Z.status==="running"&&z)r.preventDefault(),z()},J[12]=Y,J[13]=X,J[14]=z,J[15]=Z.status,J[16]=E;else E=J[16];let A=E,h=Z.kind==="monitor",D;if(J[17]!==Z.command)D=K0(Z.command,280),J[17]=Z.command,J[18]=D;else D=J[18];let I=D,K=h?"Monitor details":"Shell details",B;if(J[19]!==Y||J[20]!==z||J[21]!==Z.status)B=(r)=>r.pending?N(W,{children:["Press ",r.keyName," again to exit"]}):N(Z0,{children:[Y&&q(l,{shortcut:"←",action:"go back"}),q(l,{shortcut:"Esc/Enter/Space",action:"close"}),Z.status==="running"&&z&&q(l,{shortcut:"x",action:"stop"})]}),J[19]=Y,J[20]=z,J[21]=Z.status,J[22]=B;else B=J[22];let p;if(J[23]===Symbol.for("react.memo_cache_sentinel"))p=q(W,{bold:!0,children:"Status:"}),J[23]=p;else p=J[23];let d;if(J[24]!==Z.result||J[25]!==Z.status)d=N(W,{children:[p," ",Z.status==="running"?N(W,{color:"background",children:[Z.status,Z.result?.code!==void 0&&` (exit code: ${Z.result.code})`]}):Z.status==="completed"?N(W,{color:"success",children:[Z.status,Z.result?.code!==void 0&&` (exit code: ${Z.result.code})`]}):N(W,{color:"error",children:[Z.status,Z.result?.code!==void 0&&` (exit code: ${Z.result.code})`]})]}),J[24]=Z.result,J[25]=Z.status,J[26]=d;else d=J[26];let j;if(J[27]===Symbol.for("react.memo_cache_sentinel"))j=q(W,{bold:!0,children:"Runtime:"}),J[27]=j;else j=J[27];let x;if(J[28]!==Z.endTime)x=Z.endTime??Date.now(),J[28]=Z.endTime,J[29]=x;else x=J[29];let c=x-Z.startTime,v;if(J[30]!==c)v=e0(c),J[30]=c,J[31]=v;else v=J[31];let b;if(J[32]!==v)b=N(W,{children:[j," ",v]}),J[32]=v,J[33]=b;else b=J[33];let m=h?"Script:":"Command:",T;if(J[34]!==m)T=q(W,{bold:!0,children:m}),J[34]=m,J[35]=T;else T=J[35];let _;if(J[36]!==I||J[37]!==T)_=N(W,{wrap:"wrap",children:[T," ",I]}),J[36]=I,J[37]=T,J[38]=_;else _=J[38];let g;if(J[39]!==d||J[40]!==b||J[41]!==_)g=N(y,{flexDirection:"column",children:[d,b,_]}),J[39]=d,J[40]=b,J[41]=_,J[42]=g;else g=J[42];let u;if(J[43]===Symbol.for("react.memo_cache_sentinel"))u=q(W,{bold:!0,children:"Output:"}),J[43]=u;else u=J[43];let S;if(J[44]===Symbol.for("react.memo_cache_sentinel"))S=q(W,{dimColor:!0,children:"Loading output…"}),J[44]=S;else S=J[44];let k;if(J[45]!==V||J[46]!==O)k=N(y,{flexDirection:"column",children:[u,q(V0.Suspense,{fallback:S,children:q(UX,{outputPromise:O,columns:V})})]}),J[45]=V,J[46]=O,J[47]=k;else k=J[47];let H;if(J[48]!==f||J[49]!==B||J[50]!==g||J[51]!==k||J[52]!==K)H=N(n,{title:K,onCancel:f,color:"background",inputGuide:B,children:[g,k]}),J[48]=f,J[49]=B,J[50]=g,J[51]=k,J[52]=K,J[53]=H;else H=J[53];let M;if(J[54]!==A||J[55]!==H)M=q(y,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:A,children:H}),J[54]=A,J[55]=H,J[56]=M;else M=J[56];return M}function OX(Q,J){return Q(sZ(J))}function UX(Q){let J=hJ.c(19),{outputPromise:Z,columns:X}=Q,{content:z,bytesTotal:Y}=V0.use(Z);if(!z){let L;if(J[0]===Symbol.for("react.memo_cache_sentinel"))L=q(W,{dimColor:!0,children:"No output available"}),J[0]=L;else L=J[0];return L}let V,G;if(J[1]!==Y||J[2]!==z){let L=[],C=z.length;for(let E=0;E<10&&C>0;E++){let A=z.lastIndexOf(`
|
|
17
|
-
`,C-1);L.push(A+1),C=A}L.reverse(),V=Y>z.length,G=[];for(let E=0;E<L.length;E++){let A=L[E],h=E<L.length-1?L[E+1]-1:z.length,D=z.slice(A,h);if(D)G.push(D)}J[1]=Y,J[2]=z,J[3]=V,J[4]=G}else V=J[3],G=J[4];let F=X-6,R;if(J[5]!==G)R=G.map(fX),J[5]=G,J[6]=R;else R=J[6];let O;if(J[7]!==F||J[8]!==R)O=q(y,{borderStyle:"round",paddingX:1,flexDirection:"column",height:12,maxWidth:F,children:R}),J[7]=F,J[8]=R,J[9]=O;else O=J[9];let P=`Showing ${G.length} lines`,U;if(J[10]!==Y||J[11]!==V)U=V?` of ${oZ(Y)}`:"",J[10]=Y,J[11]=V,J[12]=U;else U=J[12];let w;if(J[13]!==P||J[14]!==U)w=N(W,{dimColor:!0,italic:!0,children:[P,U]}),J[13]=P,J[14]=U,J[15]=w;else w=J[15];let f;if(J[16]!==O||J[17]!==w)f=N(o,{children:[O,w]}),J[16]=O,J[17]=w,J[18]=f;else f=J[18];return f}function fX(Q,J){return q(W,{wrap:"truncate-end",children:Q},J)}var hJ,V0,PX=8192;var tZ=a(()=>{nZ();q0();S0();v0();FX();RX();B0();I0();A0();$();hJ=J0(F0(),1),V0=J0(o0(),1)});var JQ={};$J(JQ,{default:()=>wX});var LX=()=>null,wX;var ZQ=a(()=>{wX=LX});function gX(Q,J){return Object.values(Q??{}).filter(qJ).filter((X)=>!(X.type==="local_agent"&&X.id===J))}function jq({onDone:Q,toolUseContext:J,initialDetailTaskId:Z}){let X=zJ((H)=>H.tasks),z=zJ((H)=>H.foregroundedTaskId),Y=zJ((H)=>H.expandedView)==="teammates",V=FQ(),G=VQ("chat:killAgents","Chat","ctrl+x ctrl+k"),F=X,R=U0.useRef(!1),[O,P]=U0.useState(()=>{if(Z)return R.current=!0,{mode:"detail",itemId:Z};let H=gX(F,z);if(H.length===1)return R.current=!0,{mode:"detail",itemId:H[0].id};return{mode:"list"}}),[U,w]=U0.useState(0);OQ("background-tasks-dialog");let{bashTasks:f,remoteSessions:L,agentTasks:C,teammateTasks:E,workflowTasks:A,mcpMonitors:h,dreamTasks:D,allSelectableItems:I}=U0.useMemo(()=>{let r=Object.values(F??{}).filter(qJ).map(_X).sort((i,f0)=>{let T0=i.status,gJ=f0.status;if(T0==="running"&&gJ!=="running")return-1;if(T0!=="running"&&gJ==="running")return 1;let UQ="task"in i?i.task.startTime:0;return("task"in f0?f0.task.startTime:0)-UQ}),s=r.filter((i)=>i.type==="local_bash"),Y0=r.filter((i)=>i.type==="remote_agent"),W0=r.filter((i)=>i.type==="local_agent"&&i.id!==z),H0=r.filter((i)=>i.type==="local_workflow"),C0=r.filter((i)=>i.type==="monitor_mcp"),X0=r.filter((i)=>i.type==="dream"),e=Y?[]:r.filter((i)=>i.type==="in_process_teammate"),y0=e.length>0?[{id:"__leader__",type:"leader",label:`@${vJ}`,status:"running"}]:[];return{bashTasks:s,remoteSessions:Y0,agentTasks:W0,workflowTasks:H0,mcpMonitors:C0,dreamTasks:X0,teammateTasks:[...y0,...e],allSelectableItems:[...y0,...e,...s,...C0,...Y0,...W0,...H0,...X0]}},[F,z,Y]),K=I[U]??null;G0({"confirm:previous":()=>w((H)=>Math.max(0,H-1)),"confirm:next":()=>w((H)=>Math.min(I.length-1,H+1)),"confirm:yes":()=>{let H=I[U];if(H)if(H.type==="leader")WJ(V),Q("Viewing leader",{display:"system"});else P({mode:"detail",itemId:H.id})}},{context:"Confirmation",isActive:O.mode==="list"});let B=(H)=>{if(O.mode!=="list")return;if(H.key==="left"){H.preventDefault(),Q("Background tasks dialog dismissed",{display:"system"});return}let M=I[U];if(!M)return;if(H.key==="x"){if(H.preventDefault(),M.type==="local_bash"&&M.status==="running")p(M.id);else if(M.type==="local_agent"&&M.status==="running")d(M.id);else if(M.type==="in_process_teammate"&&M.status==="running")j(M.id);else if(M.type==="local_workflow"&&M.status==="running"&&XJ)XJ(M.id,V);else if(M.type==="monitor_mcp"&&M.status==="running"&&YJ)YJ(M.id,V);else if(M.type==="dream"&&M.status==="running")x(M.id);else if(M.type==="remote_agent"&&M.status==="running")if(M.task.isUltraplan)fJ(M.id,M.task.sessionId,V);else c(M.id)}if(H.key==="f"){if(M.type==="in_process_teammate"&&M.status==="running")H.preventDefault(),VJ(M.id,V),Q("Viewing teammate",{display:"system"});else if(M.type==="leader")H.preventDefault(),WJ(V),Q("Viewing leader",{display:"system"})}};async function p(H){await WQ.kill(H,V)}async function d(H){await PQ.kill(H,V)}async function j(H){await HQ.kill(H,V)}async function x(H){await RQ.kill(H,V)}async function c(H){await m0.kill(H,V)}let v=NQ(Q);U0.useEffect(()=>{if(O.mode!=="list"){let M=(F??{})[O.itemId];if(!M||M.type!=="local_workflow"&&!qJ(M))if(R.current)v("Background tasks dialog dismissed",{display:"system"});else P({mode:"list"})}let H=I.length;if(U>=H&&H>0)w(H-1)},[O,F,U,I,v]);let b=()=>{if(R.current&&I.length<=1)Q("Background tasks dialog dismissed",{display:"system"});else R.current=!1,P({mode:"list"})};if(O.mode!=="list"&&F){let H=F[O.itemId];if(!H)return null;switch(H.type){case"local_bash":return q(eZ,{shell:H,onDone:Q,onKillShell:()=>void p(H.id),onBack:b},`shell-${H.id}`);case"local_agent":return q(OZ,{agent:H,onDone:Q,onKillAgent:()=>void d(H.id),onBack:b},`agent-${H.id}`);case"remote_agent":return q(xZ,{session:H,onDone:Q,toolUseContext:J,onBack:b,onKill:H.status!=="running"?void 0:H.isUltraplan?()=>void fJ(H.id,H.sessionId,V):()=>void c(H.id)},`session-${H.id}`);case"in_process_teammate":return q(SZ,{teammate:H,onDone:Q,onKill:H.status==="running"?()=>void j(H.id):void 0,onBack:b,onForeground:H.status==="running"?()=>{VJ(H.id,V),Q("Viewing teammate",{display:"system"})}:void 0},`teammate-${H.id}`);case"local_workflow":if(!QQ)return null;return q(QQ,{workflow:H,onDone:Q,onKill:H.status==="running"&&XJ?()=>XJ(H.id,V):void 0,onSkipAgent:H.status==="running"&&XQ?(M)=>XQ(H.id,M,V):void 0,onRetryAgent:H.status==="running"&&YQ?(M)=>YQ(H.id,M,V):void 0,onBack:b},`workflow-${H.id}`);case"monitor_mcp":if(!zQ)return null;return q(zQ,{task:H,onKill:H.status==="running"&&YJ?()=>YJ(H.id,V):void 0,onBack:b},`monitor-mcp-${H.id}`);case"dream":return q(DZ,{task:H,onDone:()=>Q("Background tasks dialog dismissed",{display:"system"}),onBack:b,onKill:H.status==="running"?()=>void x(H.id):void 0},`dream-${H.id}`)}}let m=M0(f,(H)=>H.status==="running"),T=M0(L,(H)=>H.status==="running"||H.status==="pending")+M0(C,(H)=>H.status==="running"),_=M0(E,(H)=>H.status==="running"),g=qQ([..._>0?[N(W,{children:[_," ",_!==1?"agents":"agent"]},"teammates")]:[],...m>0?[N(W,{children:[m," ",m!==1?"active shells":"active shell"]},"shells")]:[],...T>0?[N(W,{children:[T," ",T!==1?"active agents":"active agent"]},"agents")]:[]],(H)=>q(W,{children:" · "},`separator-${H}`)),u=[q(l,{shortcut:"↑/↓",action:"select"},"upDown"),q(l,{shortcut:"Enter",action:"view"},"enter"),...K?.type==="in_process_teammate"&&K.status==="running"?[q(l,{shortcut:"f",action:"foreground"},"foreground")]:[],...(K?.type==="local_bash"||K?.type==="local_agent"||K?.type==="in_process_teammate"||K?.type==="local_workflow"||K?.type==="monitor_mcp"||K?.type==="dream"||K?.type==="remote_agent")&&K.status==="running"?[q(l,{shortcut:"x",action:"stop"},"kill")]:[],...C.some((H)=>H.status==="running")?[q(l,{shortcut:G,action:"stop all agents"},"kill-all")]:[],q(l,{shortcut:"←/Esc",action:"close"},"esc")],S=()=>Q("Background tasks dialog dismissed",{display:"system"});function k(H){if(H.pending)return N(W,{children:["Press ",H.keyName," again to exit"]});return q(Z0,{children:u})}return q(y,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:B,children:q(n,{title:"Background tasks",subtitle:q(o,{children:g}),onCancel:S,color:"background",inputGuide:k,children:I.length===0?q(W,{dimColor:!0,children:"No tasks currently running"}):N(y,{flexDirection:"column",children:[E.length>0&&N(y,{flexDirection:"column",children:[(f.length>0||L.length>0||C.length>0)&&N(W,{dimColor:!0,children:[N(W,{bold:!0,children:[" ","Agents"]})," (",M0(E,(H)=>H.type!=="leader"),")"]}),q(y,{flexDirection:"column",children:q(TX,{teammateTasks:E,currentSelectionId:K?.id})})]}),f.length>0&&N(y,{flexDirection:"column",marginTop:E.length>0?1:0,children:[(E.length>0||L.length>0||C.length>0)&&N(W,{dimColor:!0,children:[N(W,{bold:!0,children:[" ","Shells"]})," (",f.length,")"]}),q(y,{flexDirection:"column",children:f.map((H)=>q(E0,{item:H,isSelected:H.id===K?.id},H.id))})]}),h.length>0&&N(y,{flexDirection:"column",marginTop:E.length>0||f.length>0?1:0,children:[N(W,{dimColor:!0,children:[N(W,{bold:!0,children:[" ","Monitors"]})," (",h.length,")"]}),q(y,{flexDirection:"column",children:h.map((H)=>q(E0,{item:H,isSelected:H.id===K?.id},H.id))})]}),L.length>0&&N(y,{flexDirection:"column",marginTop:E.length>0||f.length>0||h.length>0?1:0,children:[N(W,{dimColor:!0,children:[N(W,{bold:!0,children:[" ","Remote agents"]})," (",L.length,")"]}),q(y,{flexDirection:"column",children:L.map((H)=>q(E0,{item:H,isSelected:H.id===K?.id},H.id))})]}),C.length>0&&N(y,{flexDirection:"column",marginTop:E.length>0||f.length>0||h.length>0||L.length>0?1:0,children:[N(W,{dimColor:!0,children:[N(W,{bold:!0,children:[" ","Local agents"]})," (",C.length,")"]}),q(y,{flexDirection:"column",children:C.map((H)=>q(E0,{item:H,isSelected:H.id===K?.id},H.id))})]}),A.length>0&&N(y,{flexDirection:"column",marginTop:E.length>0||f.length>0||h.length>0||L.length>0||C.length>0?1:0,children:[N(W,{dimColor:!0,children:[N(W,{bold:!0,children:[" ","Workflows"]})," (",A.length,")"]}),q(y,{flexDirection:"column",children:A.map((H)=>q(E0,{item:H,isSelected:H.id===K?.id},H.id))})]}),D.length>0&&q(y,{flexDirection:"column",marginTop:E.length>0||f.length>0||h.length>0||L.length>0||C.length>0||A.length>0?1:0,children:q(y,{flexDirection:"column",children:D.map((H)=>q(E0,{item:H,isSelected:H.id===K?.id},H.id))})})]})})})}function _X(Q){switch(Q.type){case"local_bash":return{id:Q.id,type:"local_bash",label:Q.kind==="monitor"?Q.description:Q.command,status:Q.status,task:Q};case"remote_agent":return{id:Q.id,type:"remote_agent",label:Q.title,status:Q.status,task:Q};case"local_agent":return{id:Q.id,type:"local_agent",label:Q.description,status:Q.status,task:Q};case"in_process_teammate":return{id:Q.id,type:"in_process_teammate",label:`@${Q.identity.agentName}`,status:Q.status,task:Q};case"local_workflow":return{id:Q.id,type:"local_workflow",label:Q.summary??Q.description,status:Q.status,task:Q};case"monitor_mcp":return{id:Q.id,type:"monitor_mcp",label:Q.description,status:Q.status,task:Q};case"dream":return{id:Q.id,type:"dream",label:Q.description,status:Q.status,task:Q};default:throw Error(`toListItem: unhandled task type ${String(Q.type)}`)}}function E0(Q){let J=SJ.c(14),{item:Z,isSelected:X}=Q,{columns:z}=QJ(),Y=Math.max(30,z-26),V;if(J[0]===Symbol.for("react.memo_cache_sentinel"))V=GQ(),J[0]=V;else V=J[0];let G=V,F=G&&X,R=X?t0.pointer+" ":" ",O;if(J[1]!==F||J[2]!==R)O=q(W,{dimColor:F,children:R}),J[1]=F,J[2]=R,J[3]=O;else O=J[3];let P=X&&!G?"suggestion":void 0,U;if(J[4]!==Z.task||J[5]!==Z.type||J[6]!==Y)U=Z.type==="leader"?N(W,{children:["@",vJ]}):q(AZ,{task:Z.task,maxActivityWidth:Y}),J[4]=Z.task,J[5]=Z.type,J[6]=Y,J[7]=U;else U=J[7];let w;if(J[8]!==P||J[9]!==U)w=q(W,{color:P,children:U}),J[8]=P,J[9]=U,J[10]=w;else w=J[10];let f;if(J[11]!==O||J[12]!==w)f=N(y,{flexDirection:"row",children:[O,w]}),J[11]=O,J[12]=w,J[13]=f;else f=J[13];return f}function TX(Q){let J=SJ.c(3),{teammateTasks:Z,currentSelectionId:X}=Q,z;if(J[0]!==X||J[1]!==Z){let Y=Z.filter(dX),V=Z.filter(uX),G=new Map;for(let R of V){let O=R.task.identity.teamName,P=G.get(O);if(P)P.push(R);else G.set(O,[R])}let F=[...G.entries()];z=q(o,{children:F.map((R)=>{let[O,P]=R,U=P.length+Y.length;return N(y,{flexDirection:"column",children:[N(W,{dimColor:!0,children:[" ","Team: ",O," (",U,")"]}),Y.map((w)=>q(E0,{item:w,isSelected:w.id===X},`${w.id}-${O}`)),P.map((w)=>q(E0,{item:w,isSelected:w.id===X},w.id))]},O)})}),J[0]=X,J[1]=Z,J[2]=z}else z=J[2];return z}function uX(Q){return Q.type==="in_process_teammate"}function dX(Q){return Q.type==="leader"}var SJ,U0,QQ=null,jJ=null,XJ,XQ,YQ,jX,YJ,zQ;var cX=a(()=>{TZ();MX();bX();nZ();AX();uJ();hX();yX();vX();CX();UJ();BX();yJ();KX();GZ();SX();q0();S0();EX();yJ();B0();I0();A0();UZ();BZ();hZ();jZ();rZ();tZ();$();SJ=J0(F0(),1),U0=J0(o0(),1),XJ=jJ?.killWorkflowTask??null,XQ=jJ?.skipWorkflowAgent??null,YQ=jJ?.retryWorkflowAgent??null,jX=(DX(),RJ(IX)),YJ=jX?.killMonitorMcp??null,zQ=(ZQ(),RJ(JQ)).MonitorMcpDetailDialog});
|
|
18
|
-
export{VJ as Je,WJ as Ke,xX as Le,uJ as Me,fJ as Ne,mQ as Oe,GZ as Pe,jq as Qe,cX as Re};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{C2 as N,x2 as S,y2 as D}from"./cli-1.1.21-2cqbdmfj.mjs";import{Wga as X,_ea as B,bfa as O,cha as E,wea as H,wfa as d,xea as P}from"./cli-1.1.21-g6wtm4qg.mjs";import{Hla as f,zla as U}from"./cli-1.1.21-xx8dx3jd.mjs";import{Kla as W,Vla as b}from"./cli-1.1.21-atvca4b4.mjs";import{opa as T,yra as M}from"./cli-1.1.21-hdc9e0dr.mjs";import{Bsa as j,Tsa as y}from"./cli-1.1.21-cb82p9ss.mjs";import{pta as R,tta as p}from"./cli-1.1.21-13kr6en7.mjs";import{mkdir as G,readFile as m,writeFile as _}from"fs/promises";import{dirname as F,join as u}from"path";function I(){return u(W(),"cache","changelog.md")}async function Jq(){let J=O();if(!J.cachedChangelog)return;let q=I();try{await G(F(q),{recursive:!0}),await _(q,J.cachedChangelog,{encoding:"utf-8",flag:"wx"})}catch{}B(({cachedChangelog:Y,...z})=>z)}async function C(){if(T())return;if(H())return;let J=await j.get(v);if(J.status===200){let q=J.data;if(q===$)return;let Y=I();await G(F(Y),{recursive:!0}),await _(Y,q,{encoding:"utf-8"}),$=q;let z=Date.now();B((K)=>({...K,changelogLastFetched:z}))}}async function h(){if($!==null)return $;let J=I();try{let q=await m(J,"utf-8");return $=q,q}catch{return $="",""}}function A(){return $??""}function L(J){try{if(!J)return{};let q={},Y=J.split(/^## /gm).slice(1);for(let z of Y){let K=z.trim().split(`
|
|
2
|
-
`);if(K.length===0)continue;let Q=K[0];if(!Q)continue;let Z=Q.split(" - ")[0]?.trim()||"";if(!Z)continue;let x=K.slice(1).filter((k)=>k.trim().startsWith("- ")).map((k)=>k.trim().substring(2).trim()).filter(Boolean);if(x.length>0)q[Z]=x}return q}catch(q){return X(U(q)),{}}}function l(J,q,Y=A()){try{let z=L(Y),K=w.coerce(J),Q=q?w.coerce(q):null;if(!Q||K&&D(K.version,Q.version))return Object.entries(z).filter(([Z])=>!Q||D(Z,Q.version)).sort(([Z],[x])=>D(Z,x)?-1:1).flatMap(([Z,x])=>x).filter(Boolean).slice(0,V)}catch(z){return X(U(z)),[]}return[]}function Kq(J=A()){try{let q=L(J);return Object.keys(q).sort((z,K)=>D(z,K)?1:-1).map((z)=>{let K=q[z];if(!K||K.length===0)return null;let Q=K.filter(Boolean);if(Q.length===0)return null;return[z,Q]}).filter((z)=>z!==null)}catch(q){return X(U(q)),[]}}async function Qq(J,q="99.0.0"){let Y=await h();if(J!==q||!Y)C().catch((Q)=>X(U(Q)));let z=l(q,J,Y);return{hasReleaseNotes:z.length>0,releaseNotes:z}}var w,V=5,zq="https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md",v="https://raw.githubusercontent.com/anthropics/claude-code/refs/heads/main/CHANGELOG.md",$=null;var c=p(()=>{y();M();d();b();f();E();P();N();w=R(S(),1)});
|
|
3
|
-
export{zq as cf,Jq as df,C as ef,h as ff,Kq as gf,Qq as hf,c as if};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{DZ as s,H1 as f,c1 as t}from"./cli-1.1.21-s076czd6.mjs";import{d4 as n,e4 as c,f4 as r}from"./cli-1.1.21-7bq44n89.mjs";import{pta as m,tta as l}from"./cli-1.1.21-13kr6en7.mjs";function T(){let o=i.c(1),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e=c(t,{color:"permission",children:["Press ",n(t,{bold:!0,children:"Enter"})," to continue…"]}),o[0]=e;else e=o[0];return e}var i;var p=l(()=>{f();r();i=m(s(),1)});
|
|
2
|
-
export{T as wg,p as xg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{j_ as Z,n_ as _,o_ as w}from"./cli-1.1.21-9jq126pc.mjs";import{M$ as T,Taa as D,Z_ as Y,__ as U,_ea as W,bfa as V,j$ as $,waa as k,wfa as j}from"./cli-1.1.21-g6wtm4qg.mjs";import{ala as N,dla as M}from"./cli-1.1.21-7q6ajew6.mjs";import{Fna as X,yra as O}from"./cli-1.1.21-hdc9e0dr.mjs";O();j();M();w();D();U();T();import{realpath as x}from"fs/promises";async function y(){try{let q=await Z();if(!q){N("Not in a GitHub repository, skipping path mapping update");return}let A=X(),z=$(A)??A,B;try{B=(await x(z)).normalize("NFC")}catch{B=z}let J=q.toLowerCase(),L=V().githubRepoPaths?.[J]??[];if(L[0]===B){N(`Path ${B} already tracked for repo ${J}`);return}let E=L.filter((S)=>S!==B),H=[B,...E];W((S)=>({...S,githubRepoPaths:{...S.githubRepoPaths,[J]:H}})),N(`Added ${B} to tracked paths for repo ${J}`)}catch(q){N(`Error updating repo path mapping: ${q}`)}}function f(q){let A=V(),I=q.toLowerCase();return A.githubRepoPaths?.[I]??[]}async function P(q){let A=await Promise.all(q.map(k));return q.filter((I,z)=>A[z])}async function d(q,A){try{let I=await Y(q);if(!I)return!1;let z=_(I);if(!z)return!1;return z.toLowerCase()===A.toLowerCase()}catch{return!1}}function l(q,A){let I=V(),z=q.toLowerCase(),B=I.githubRepoPaths?.[z]??[],J=B.filter((L)=>L!==A);if(J.length===B.length)return;let Q={...I.githubRepoPaths};if(J.length===0)delete Q[z];else Q[z]=J;W((L)=>({...L,githubRepoPaths:Q})),N(`Removed ${A} from tracked paths for repo ${z}`)}
|
|
2
|
-
export{y as fb,f as gb,P as hb,d as ib,l as jb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{me as V,oe as B}from"./cli-1.1.21-2zvrsnnb.mjs";import{eS as F,qO as U,rk as L,sO as w,vx as Q,wx as q}from"./cli-1.1.21-eray52nd.mjs";import{Xaa as K,aba as k}from"./cli-1.1.21-g6wtm4qg.mjs";import{ala as I,dla as $}from"./cli-1.1.21-7q6ajew6.mjs";import{Ala as G,Hla as _}from"./cli-1.1.21-xx8dx3jd.mjs";import{tta as Z}from"./cli-1.1.21-13kr6en7.mjs";async function C(W,X){let E=V(W);if(!E)return null;try{let A=await U({systemPrompt:Q(['Generate a short kebab-case name (2-4 words) that captures the main topic of this conversation. Use lowercase words separated by hyphens. Examples: "fix-login-bug", "add-auth-feature", "refactor-api-client", "debug-test-failures". Return JSON with a "name" field.']),userPrompt:E,outputFormat:{type:"json_schema",schema:{type:"object",properties:{name:{type:"string"}},required:["name"],additionalProperties:!1}},signal:X,options:{querySource:"rename_generate_name",agents:[],isNonInteractiveSession:!1,hasAppendSystemPrompt:!1,mcpTools:[]}}),Y=L(A.message.content),z=K(Y);if(z&&typeof z==="object"&&"name"in z&&typeof z.name==="string")return z.name;return null}catch(A){return I(`generateSessionName failed: ${G(A)}`,{level:"error"}),null}}var D=Z(()=>{w();$();_();k();F();B();q()});
|
|
2
|
-
export{C as ke,D as le};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{O_ as Q,Q_ as M,bfa as P,wfa as R}from"./cli-1.1.21-g6wtm4qg.mjs";import{ala as G,dla as C}from"./cli-1.1.21-7q6ajew6.mjs";import{tta as j}from"./cli-1.1.21-13kr6en7.mjs";import{promises as I}from"node:fs";import{homedir as y}from"node:os";import K from"node:path";function O(q){let z;try{z=new URL(q)}catch(A){throw Error(`Invalid URL format: ${q}`)}if(z.protocol!=="http:"&&z.protocol!=="https:")throw Error(`Invalid URL protocol: must use http:// or https://, got ${z.protocol}`)}async function g(q){try{let z=process.platform;if(z==="win32"){let{code:V}=await Q("explorer",[q]);return V===0}let A=z==="darwin"?"open":"xdg-open",{code:J}=await Q(A,[q]);return J===0}catch(z){return!1}}function k(){let q=process.env.XDG_DATA_HOME&&process.env.XDG_DATA_HOME.length>0?process.env.XDG_DATA_HOME:K.join(y(),".local","share");return[K.join(q,"applications"),"/usr/local/share/applications","/usr/share/applications","/var/lib/snapd/desktop/applications","/var/lib/flatpak/exports/share/applications"]}function U(q){let z=q.split(`
|
|
2
|
-
`),A=!1;for(let J of z){let V=J.trim();if(V.startsWith("[")){A=V==="[Desktop Entry]";continue}if(!A)continue;if(!V.startsWith("Exec="))continue;let $=V.slice(5).replace(S,"").replace(/%%/g,"%").trim();if($.length===0)return null;let Y=$.match(/^"([^"]+)"|^(\S+)/);if(!Y)return null;return Y[1]??Y[2]??null}return null}async function L(q){for(let z of k()){let A=K.join(z,q);try{return await I.readFile(A,"utf8")}catch(J){}}return null}async function _(q){let{code:z}=await Q("which",[q],{timeout:X,useCwd:!1});return z===0}async function B(){let{code:q,stdout:z}=await Q("xdg-settings",["get","default-web-browser"],{timeout:X,useCwd:!1});if(q!==0)return null;let A=z.trim();if(A.length===0||!A.endsWith(".desktop"))return null;let J=await L(A);if(J==null)return null;return U(J)}async function N(){for(let q of v)if(await _(q))return q;return null}async function f(){if(Z!==void 0)return Z;try{let q=await B();if(q)return Z=q,q}catch(q){G(`browser: xdg-settings detection failed: ${String(q)}`)}try{let q=await N();return Z=q,q}catch(q){return G(`browser: probe list failed: ${String(q)}`),Z=null,null}}async function W(q,z){let{code:A}=await Q(q,[z]);return A===0}async function w(q){try{O(q);let z=process.env.BROWSER,A=process.platform;if(A==="win32"){if(z){let{code:H}=await Q(z,[`"${q}"`]);return H===0}let{code:Y}=await Q("rundll32",["url,OpenURL",q],{});return Y===0}if(A==="darwin"){let Y=z||"open",{code:H}=await Q(Y,[q]);return H===0}if(z){if(await W(z,q))return!0}let J;try{J=P().oauthBrowser}catch(Y){G(`browser: failed to read oauthBrowser setting: ${String(Y)}`)}if(J&&J.length>0){if(await W(J,q))return!0}let V=await f();if(V){if(await W(V,q))return!0}let{code:$}=await Q("xdg-open",[q]);return $===0}catch(z){return!1}}var S,v,X=2000,Z=void 0;var m=j(()=>{M();C();R();S=/%[fFuUdDnNickvm]/g,v=["brave-browser","brave","firefox","chromium","google-chrome","microsoft-edge"]});
|
|
3
|
-
export{g as E4,w as F4,m as G4};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{ab as h}from"./cli-1.1.21-7snn7kbs.mjs";import{df as KK,if as cK}from"./cli-1.1.21-kv15mvd0.mjs";import{DQ as MK,Dv as TK,NM as zK,OB as sz,PM as dK,QB as tz,RB as SK,bn as rz,dn as hK,eL as Fz,ep as R,fp as vK,hp as oz,iU as b,kU as gK,lp as fK,mL as RK,sJ as mK,tJ as uK,uQ as bz,wv as Ez,xM as ez,yM as pK}from"./cli-1.1.21-eray52nd.mjs";import{lZ as Kz,qZ as DK,rZ as Qz,sZ as AK}from"./cli-1.1.21-s076czd6.mjs";import{C8 as Tz,E8 as Mz,F6 as yz,G8 as G,J6 as Oz,N6 as Dz,O6 as iz,Q8 as jz,V6 as Az,Z4 as N,_6 as A,a7 as _z,d5 as x,f7 as F,s7 as nz,w7 as bK}from"./cli-1.1.21-5bxzgpbd.mjs";import{k9 as D,l9 as _K}from"./cli-1.1.21-xg5fsk6h.mjs";import{Aba as zz,B_ as Zz,C_ as GK,Dba as OK,F$ as cz,J_ as w,L_ as CK,M$ as EK,Uda as H,Uea as lz,Wda as $,Wga as V,Xaa as t,Yda as gz,Zda as I,_ea as q,aba as NK,aea as Jz,bfa as W,cha as O,g$ as $z,gba as e,hfa as Wz,i$ as wK,ifa as Bz,jfa as az,kba as yK,kea as B,p$ as dz,wfa as _}from"./cli-1.1.21-g6wtm4qg.mjs";import{Eha as E,Iha as FK}from"./cli-1.1.21-r90yap4s.mjs";import{jja as pz,lja as PK}from"./cli-1.1.21-fyryzam5.mjs";import{Zja as Z,aka as U}from"./cli-1.1.21-qj7gkh71.mjs";import{Ika as n,Kka as BK,Lka as r,Oka as o,Ska as LK}from"./cli-1.1.21-7q6ajew6.mjs";import{ila as s,jla as UK}from"./cli-1.1.21-bc6x1hhj.mjs";import{Ala as k,Cla as i,Hla as WK}from"./cli-1.1.21-xx8dx3jd.mjs";import{Mla as C,Nla as v,Pla as uz,Vla as kK}from"./cli-1.1.21-atvca4b4.mjs";import{Apa as mz,Hpa as l,Moa as Gz,Noa as vz,Ooa as wz,Qoa as fz,_pa as a,opa as Sz,qna as M,una as VK,yra as j}from"./cli-1.1.21-hdc9e0dr.mjs";import{qta as jK}from"./cli-1.1.21-13kr6en7.mjs";_K();DK();j();OK();WK();LK();NK();O();UK();yK();VK();BK();AK();import{readFileSync as IK}from"node:fs";var xK=/--inspect(-brk)?/,g=/--inspect(-brk)?|--debug(-brk)?/;function $Q(){let z=zz()?xK:g,Q=process.execArgv.some((Y)=>z.test(Y)),X=!!process.env.NODE_OPTIONS&&g.test(process.env.NODE_OPTIONS);try{return!!global.require("inspector").url()||Q||X}catch{return Q||X}}function qQ(){(process.stderr.isTTY?process.stderr:process.stdout.isTTY?process.stdout:void 0)?.write(Kz)}function HQ(K){if(typeof K!=="object"||K===null)return{};let z=K,Q=z.teammateMode;return{agentId:typeof z.agentId==="string"?z.agentId:void 0,agentName:typeof z.agentName==="string"?z.agentName:void 0,teamName:typeof z.teamName==="string"?z.teamName:void 0,agentColor:typeof z.agentColor==="string"?z.agentColor:void 0,planModeRequired:typeof z.planModeRequired==="boolean"?z.planModeRequired:void 0,parentSessionId:typeof z.parentSessionId==="string"?z.parentSessionId:void 0,teammateMode:Q==="auto"||Q==="tmux"||Q==="in-process"?Q:void 0,agentType:typeof z.agentType==="string"?z.agentType:void 0}}function Xz(K){try{let z=K.trim(),Q=z.startsWith("{")&&z.endsWith("}"),X;if(Q){if(!t(z))process.stderr.write(D.red(`Error: Invalid JSON provided to --settings
|
|
2
|
-
`)),process.exit(1);X=Qz("claude-settings",".json",{contentHash:z}),n(X,z,"utf8")}else{let{resolvedPath:Y}=r(o(),K);try{IK(Y,"utf8")}catch(J){if(i(J))process.stderr.write(D.red(`Error: Settings file not found: ${Y}
|
|
3
|
-
`)),process.exit(1);throw J}X=Y}l(X),M()}catch(z){if(z instanceof Error)V(z);process.stderr.write(D.red(`Error processing settings: ${k(z)}
|
|
4
|
-
`)),process.exit(1)}}function Yz(K){try{let z=e(K);a(z),M()}catch(z){if(z instanceof Error)V(z);process.stderr.write(D.red(`Error processing --setting-sources: ${k(z)}
|
|
5
|
-
`)),process.exit(1)}}async function JQ(K,z){if(!process.stdin.isTTY&&!process.argv.includes("mcp")){if(z==="stream-json")return process.stdin;process.stdin.setEncoding("utf8");let Q="",X=(J)=>{Q+=J};process.stdin.on("data",X);let Y=await s(process.stdin,3000);if(process.stdin.off("data",X),Y)process.stderr.write(`Warning: no stdin data received in 3s, proceeding without it. If piping from a slow command, redirect stdin explicitly: < /dev/null to skip, or wait longer.
|
|
6
|
-
`);return[K,Q].filter(Boolean).join(`
|
|
7
|
-
`)}return K}FK();gK();U();hK();_();bK();CK();kK();EK();GK();wK();async function qz(){if(!await $z("gh"))return"not_installed";let{exitCode:z}=await Zz("gh",["auth","token"],{stdout:"ignore",stderr:"ignore",timeout:5000,reject:!1});return z===0?"authenticated":"not_authenticated"}O();F();pK();fK();dK();U();_();O();B();function Hz(){let K=W();if(K.autoUpdates!==!1||K.autoUpdatesProtectedForNative===!0)return;try{let z=H("userSettings")||{};$("userSettings",{...z,env:{...z.env,DISABLE_AUTOUPDATER:"1"}}),Z("",{was_user_preference:!0,already_had_env_var:!!z.env?.DISABLE_AUTOUPDATER}),process.env.DISABLE_AUTOUPDATER="1",q((Q)=>{let{autoUpdates:X,autoUpdatesProtectedForNative:Y,...J}=Q;return J})}catch(z){V(Error(`Failed to migrate auto-updates: ${z}`)),Z("",{has_error:!0})}}U();_();O();B();function Vz(){if(!W().bypassPermissionsModeAccepted)return;try{if(!Jz())$("userSettings",{skipDangerousModePermissionPrompt:!0});Z("",{}),q((z)=>{if(!("bypassPermissionsModeAccepted"in z))return z;let{bypassPermissionsModeAccepted:Q,...X}=z;return X})}catch(z){V(Error(`Failed to migrate bypass permissions accepted: ${z}`))}}U();_();O();B();function Lz(){let K=Wz(),z=K.enableAllProjectMcpServers!==void 0,Q=K.enabledMcpjsonServers&&K.enabledMcpjsonServers.length>0,X=K.disabledMcpjsonServers&&K.disabledMcpjsonServers.length>0;if(!z&&!Q&&!X)return;try{let Y=H("localSettings")||{},J={},L=[];if(z&&Y.enableAllProjectMcpServers===void 0)J.enableAllProjectMcpServers=K.enableAllProjectMcpServers,L.push("enableAllProjectMcpServers");else if(z)L.push("enableAllProjectMcpServers");if(Q&&K.enabledMcpjsonServers){let y=Y.enabledMcpjsonServers||[];J.enabledMcpjsonServers=[...new Set([...y,...K.enabledMcpjsonServers])],L.push("enabledMcpjsonServers")}if(X&&K.disabledMcpjsonServers){let y=Y.disabledMcpjsonServers||[];J.disabledMcpjsonServers=[...new Set([...y,...K.disabledMcpjsonServers])],L.push("disabledMcpjsonServers")}if(Object.keys(J).length>0)$("localSettings",J);if(L.includes("enableAllProjectMcpServers")||L.includes("enabledMcpjsonServers")||L.includes("disabledMcpjsonServers"))Bz((y)=>{let{enableAllProjectMcpServers:f,enabledMcpjsonServers:S,disabledMcpjsonServers:m,...T}=y;return T});Z("",{migratedCount:L.length})}catch(Y){V(Y),Z("",{})}}B();function Uz(){let z=H("userSettings")?.model;if(typeof z==="string"){if(z.startsWith("fennec-latest[1m]"))$("userSettings",{model:"opus[1m]"});else if(z.startsWith("fennec-latest"))$("userSettings",{model:"opus"});else if(z.startsWith("fennec-fast-latest")||z.startsWith("opus-4-5-fast"))$("userSettings",{model:"opus[1m]",fastMode:!0})}}U();_();F();x();B();function Nz(){if(N()!=="firstParty")return;if(!_z())return;let K=H("userSettings")?.model;if(K!=="claude-opus-4-20250514"&&K!=="claude-opus-4-1-20250805"&&K!=="claude-opus-4-0"&&K!=="claude-opus-4-1")return;$("userSettings",{model:"opus"}),q((z)=>({...z,legacyOpusMigrationTimestamp:Date.now()})),Z("",{from_model:K})}U();F();B();function Iz(){if(!Az())return;if(H("userSettings")?.model!=="opus")return;if(yz(Oz()))return;let z="opus[1m]",Q=A(z)===A(Dz())?void 0:z;$("userSettings",{model:Q}),Z("",{})}_();function xz(){q((K)=>{let z=K.replBridgeEnabled;if(z===void 0)return K;if(K.remoteControlAtStartup!==void 0)return K;let Q={...K,remoteControlAtStartup:Boolean(z)};return delete Q.replBridgeEnabled,Q})}j();_();x();B();function Rz(){if(N()!=="firstParty")return;if(W().sonnet1m45MigrationComplete)return;if(H("userSettings")?.model==="sonnet[1m]")$("userSettings",{model:"sonnet-4-5-20250929[1m]"});if(Gz()==="sonnet[1m]")wz("sonnet-4-5-20250929[1m]");q((X)=>({...X,sonnet1m45MigrationComplete:!0}))}U();jz();_();x();B();function kz(){if(N()!=="firstParty")return;if(!G()&&!Tz()&&!Mz())return;let K=H("userSettings")?.model;if(K!=="claude-sonnet-4-5-20250929"&&K!=="claude-sonnet-4-5-20250929[1m]"&&K!=="sonnet-4-5-20250929"&&K!=="sonnet-4-5-20250929[1m]")return;let z=K.endsWith("[1m]");if($("userSettings",{model:z?"sonnet[1m]":"sonnet"}),W().numStartups>1)q((X)=>({...X,sonnet45To46MigrationTimestamp:Date.now()}));Z("",{from_model:K,has_1m:z})}U();_();O();RK();B();function Pz(){if(W().hasResetAutoModeOptInForDefaultOffer)return;if(Fz()!=="enabled")return;try{let z=H("userSettings");if(z?.skipAutoPermissionPrompt&&z?.permissions?.defaultMode!=="auto")$("userSettings",{skipAutoPermissionPrompt:void 0}),Z("",{});q((Q)=>{if(Q.hasResetAutoModeOptInForDefaultOffer)return Q;return{...Q,hasResetAutoModeOptInForDefaultOffer:!0}})}catch(z){V(Error(`Failed to reset auto mode opt-in: ${z}`))}}U();jz();_();x();B();function Cz(){if(W().opusProMigrationComplete)return;if(N()!=="firstParty"||!G()){q((X)=>({...X,opusProMigrationComplete:!0})),Z("",{skipped:!0});return}if(I()?.model===void 0){let X=Date.now();q((Y)=>({...Y,opusProMigrationComplete:!0,opusProMigrationTimestamp:X})),Z("",{skipped:!1,had_custom_model:!1})}else q((X)=>({...X,opusProMigrationComplete:!0})),Z("",{skipped:!1,had_custom_model:!0})}cK();vK();j();PK();B();MK();U();TK();async function hz(K,z){let Q=await bz(K),X=Ez(z);for(let Y of Q){if(Y.type!=="prompt")continue;Z("",{_PROTO_skill_name:Y.name,skill_source:Y.source,skill_loaded_from:Y.loadedFrom,skill_budget:X,...Y.kind&&{skill_kind:Y.kind}})}}SK();function sX(){try{let K=H("policySettings");if(K){let z=gz(K);Z("",{keyCount:z.length,keys:z.join(",")})}}catch{}}function tX(){let K=A(vz()??iz());hz(pz(),nz(K,fz())),zK().then(({enabled:z,errors:Q})=>{let X=ez();sz(z,X,oz()),tz(Q,X)}).catch((z)=>V(z))}function lK(){let K={};if(process.env.NODE_EXTRA_CA_CERTS)K.has_node_extra_ca_certs=!0;if(process.env.CLAUDIN_CLIENT_CERT)K.has_client_cert=!0;if(C("--use-system-ca"))K.has_use_system_ca=!0;if(C("--use-openssl-ca"))K.has_use_openssl_ca=!0;return K}async function eX(){if(rz())return;let[K,z,Q]=await Promise.all([dz(),cz(),qz()]);Z("",{is_git:K,worktree_count:z,gh_auth_status:Q,sandbox_enabled:R.isSandboxingEnabled(),are_unsandboxed_commands_allowed:R.areUnsandboxedCommandsAllowed(),is_auto_bash_allowed_if_sandbox_enabled:R.isAutoAllowBashIfSandboxedEnabled(),auto_updater_disabled:az(),prefers_reduced_motion:I().prefersReducedMotion??!1,...lK()})}var P=12;function zY(){if(W().migrationVersion!==P)Hz(),Vz(),Lz(),Cz(),Rz(),Nz(),kz(),Uz(),Iz(),xz(),Pz(),q((K)=>K.migrationVersion===P?K:{...K,migrationVersion:P});KK().catch(()=>{})}function KY(){if(Sz()){w("info","prefetch_system_context_non_interactive"),b();return}if(lz())w("info","prefetch_system_context_has_trust"),b();else w("info","prefetch_system_context_skipped_no_trust")}function QY(){E("eagerLoadSettings_start");let K=h("--settings");if(K)Xz(K);let z=h("--setting-sources");if(z!==void 0)Yz(z);E("eagerLoadSettings_end")}function XY(K){if(process.env.CLAUDE_CODE_ENTRYPOINT)return;let z=process.argv.slice(2),Q=z.indexOf("mcp");if(Q!==-1&&z[Q+1]==="serve"){process.env.CLAUDE_CODE_ENTRYPOINT="mcp";return}if(v(process.env.CLAUDE_CODE_ACTION)){process.env.CLAUDE_CODE_ENTRYPOINT="claude-code-github-action";return}process.env.CLAUDE_CODE_ENTRYPOINT=K?"sdk-cli":"cli"}async function YY({hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:L,inputFormat:y,numAllowedTools:f,numDisallowedTools:S,mcpClientCount:m,worktreeEnabled:T,skipWebFetchPreflight:QK,githubActionInputs:u,dangerouslySkipPermissionsPassed:XK,permissionMode:YK,modeIsBypass:ZK,allowDangerouslySkipPermissionsPassed:$K,systemPromptFlag:p,appendSystemPromptFlag:d,thinkingConfig:qK,assistantActivationPath:c,isCoordinator:HK}){try{Z("",{entrypoint:"claude",hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:L,inputFormat:y,numAllowedTools:f,numDisallowedTools:S,mcpClientCount:m,worktree:T,skipWebFetchPreflight:QK,...u&&{githubActionInputs:u},dangerouslySkipPermissionsPassed:XK,permissionMode:YK,modeIsBypass:ZK,allowDangerouslySkipPermissionsPassed:$K,thinkingType:qK.type,...p&&{systemPromptFlag:p},...d&&{appendSystemPromptFlag:d},is_simple:uz()||void 0,is_coordinator:HK||void 0,...c&&{assistantActivationPath:c},autoUpdatesChannel:I().autoUpdatesChannel??"latest"})}catch(JK){V(JK)}}function ZY(K){}function $Y(K){return}
|
|
8
|
-
export{$Q as M,qQ as N,HQ as O,JQ as P,sX as Q,tX as R,eX as S,zY as T,KY as U,QY as V,XY as W,YY as X,ZY as Y,$Y as Z};
|