@claudiolabs/claudin 1.1.0 → 1.1.2
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.2-6zb8pht6.mjs +1 -0
- package/dist/chunks/App-1.1.2-8j8hmwy9.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.2-ejb1881w.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.2-y7hdgasp.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.2-b2ckdy5h.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.2-nk59yp5m.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.2-t6wsf59z.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.2-ehy8cjkp.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.2-2834m4pm.mjs +7 -0
- package/dist/chunks/Doctor-1.1.2-rrjcjsbd.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.2-a4eqp58y.mjs +6 -0
- package/dist/chunks/Grove-1.1.2-e07ta9pa.mjs +1 -0
- package/dist/chunks/ITermBackend-1.1.2-mdqpkv6t.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.2-fwghx005.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.2-47vmakv0.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.2-tphw5gq9.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.2-a645a6a2.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.2-48xvht72.mjs +1 -0
- package/dist/chunks/REPL-1.1.2-a2z2r0kz.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.2-avb3zbsn.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.2-r8c624d9.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.2-1mmfypbv.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.2-ky4az8t9.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.2-w72b36j1.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.2-ejx4rvac.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.2-5m2ekdy4.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.2-b7q0fb2j.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.2-j0pztex4.mjs +1 -0
- package/dist/chunks/add-dir-1.1.2-fzpmgh1h.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.2-vr9770fz.mjs +1 -0
- package/dist/chunks/agents-1.1.2-n6dejn00.mjs +3 -0
- package/dist/chunks/agents-1.1.2-rxkey856.mjs +110 -0
- package/dist/chunks/api-1.1.2-fpd74byc.mjs +1 -0
- package/dist/chunks/asciicast-1.1.2-0nvcvhqa.mjs +1 -0
- package/dist/chunks/assistant-1.1.2-ywzgwzmt.mjs +1 -0
- package/dist/chunks/auth-1.1.2-cg0svgv7.mjs +1 -0
- package/dist/chunks/auth-1.1.2-s45hhsck.mjs +1 -0
- package/dist/chunks/autoMode-1.1.2-6q0pp71h.mjs +48 -0
- package/dist/chunks/autoUpdater-1.1.2-bnwzvzbf.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.2-meh5zm3k.mjs +1 -0
- package/dist/chunks/branch-1.1.2-exyc66rb.mjs +4 -0
- package/dist/chunks/bridge-1.1.2-zvk3eymq.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.2-mr20ypjr.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.2-s41251vp.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.2-tse9m0x8.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.2-grjrm008.mjs +1 -0
- package/dist/chunks/btw-1.1.2-6xz6s5f3.mjs +1 -0
- package/dist/chunks/buddy-1.1.2-zsy6mntg.mjs +3 -0
- package/dist/chunks/cacache-1.1.2-pr00fyac.mjs +1 -0
- package/dist/chunks/cache-probe-1.1.2-dd1ch184.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.2-xnm7ts60.mjs +4 -0
- package/dist/chunks/caches-1.1.2-s4tektt8.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.1.2-krejmvza.mjs +1 -0
- package/dist/chunks/claudemd-1.1.2-g1dwsxtx.mjs +1 -0
- package/dist/chunks/clear-1.1.2-5fz98qqy.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.2-heqmh2ay.mjs +1 -0
- package/dist/chunks/cli-1.1.2-00hggnnf.mjs +9 -0
- package/dist/chunks/cli-1.1.2-06gbqkw3.mjs +2 -0
- package/dist/chunks/cli-1.1.2-06wg9ep0.mjs +2 -0
- package/dist/chunks/cli-1.1.2-0q8k3447.mjs +2 -0
- package/dist/chunks/cli-1.1.2-10g0wy7w.mjs +2 -0
- package/dist/chunks/cli-1.1.2-12xajsdg.mjs +2 -0
- package/dist/chunks/cli-1.1.2-1a35rnqk.mjs +2 -0
- package/dist/chunks/cli-1.1.2-1kqxt2v2.mjs +2 -0
- package/dist/chunks/cli-1.1.2-1rh7zj2h.mjs +133 -0
- package/dist/chunks/cli-1.1.2-1v80dsr5.mjs +2 -0
- package/dist/chunks/cli-1.1.2-1z8yre0p.mjs +2 -0
- package/dist/chunks/cli-1.1.2-22w1aakd.mjs +17 -0
- package/dist/chunks/cli-1.1.2-26xrf159.mjs +2 -0
- package/dist/chunks/cli-1.1.2-2d3dw4nn.mjs +25 -0
- package/dist/chunks/cli-1.1.2-2rf4g79b.mjs +3 -0
- package/dist/chunks/cli-1.1.2-2vzy6fgr.mjs +4 -0
- package/dist/chunks/cli-1.1.2-2x9dcdpq.mjs +2 -0
- package/dist/chunks/cli-1.1.2-2ya2s94w.mjs +15 -0
- package/dist/chunks/cli-1.1.2-2ygaa01s.mjs +3 -0
- package/dist/chunks/cli-1.1.2-312r29db.mjs +2 -0
- package/dist/chunks/cli-1.1.2-38rgkyw3.mjs +2 -0
- package/dist/chunks/cli-1.1.2-39xjjhsf.mjs +24 -0
- package/dist/chunks/cli-1.1.2-3mhsnff4.mjs +2 -0
- package/dist/chunks/cli-1.1.2-3mpy81rn.mjs +2 -0
- package/dist/chunks/cli-1.1.2-3v91jtm9.mjs +2 -0
- package/dist/chunks/cli-1.1.2-3vhc8676.mjs +2 -0
- package/dist/chunks/cli-1.1.2-3w0nbdtc.mjs +2 -0
- package/dist/chunks/cli-1.1.2-45nwkmpy.mjs +2 -0
- package/dist/chunks/cli-1.1.2-4d1hhyqs.mjs +2 -0
- package/dist/chunks/cli-1.1.2-4e3xrjth.mjs +2 -0
- package/dist/chunks/cli-1.1.2-4skhxaf4.mjs +6 -0
- package/dist/chunks/cli-1.1.2-4x5wz1xq.mjs +67 -0
- package/dist/chunks/cli-1.1.2-51pdt76x.mjs +2 -0
- package/dist/chunks/cli-1.1.2-526csky8.mjs +2 -0
- package/dist/chunks/cli-1.1.2-5dbzz1pp.mjs +12 -0
- package/dist/chunks/cli-1.1.2-5pe3b93k.mjs +25 -0
- package/dist/chunks/cli-1.1.2-5w2m33hk.mjs +2 -0
- package/dist/chunks/cli-1.1.2-5wfgzqgc.mjs +2 -0
- package/dist/chunks/cli-1.1.2-61nmeckv.mjs +4 -0
- package/dist/chunks/cli-1.1.2-63p3yvzk.mjs +2 -0
- package/dist/chunks/cli-1.1.2-64bjkwj9.mjs +2 -0
- package/dist/chunks/cli-1.1.2-6cj9ggma.mjs +5638 -0
- package/dist/chunks/cli-1.1.2-6kq0hmvj.mjs +2 -0
- package/dist/chunks/cli-1.1.2-6r2ybktd.mjs +18 -0
- package/dist/chunks/cli-1.1.2-79hm6s3a.mjs +7 -0
- package/dist/chunks/cli-1.1.2-7fe75jd9.mjs +2 -0
- package/dist/chunks/cli-1.1.2-7fjx7f8d.mjs +2 -0
- package/dist/chunks/cli-1.1.2-7jcscwh5.mjs +2 -0
- package/dist/chunks/cli-1.1.2-7m5zhsrs.mjs +2 -0
- package/dist/chunks/cli-1.1.2-7q8cqbtc.mjs +2 -0
- package/dist/chunks/cli-1.1.2-7swa79jc.mjs +24 -0
- package/dist/chunks/cli-1.1.2-7xwayv2p.mjs +20 -0
- package/dist/chunks/cli-1.1.2-8d3m4zhf.mjs +2 -0
- package/dist/chunks/cli-1.1.2-8fsex5c8.mjs +2 -0
- package/dist/chunks/cli-1.1.2-8trsbckp.mjs +2 -0
- package/dist/chunks/cli-1.1.2-8wc2wcne.mjs +3 -0
- package/dist/chunks/cli-1.1.2-94nsdbgk.mjs +2 -0
- package/dist/chunks/cli-1.1.2-96wg2gfk.mjs +2 -0
- package/dist/chunks/cli-1.1.2-99rcxvch.mjs +2 -0
- package/dist/chunks/cli-1.1.2-9ash84j3.mjs +2 -0
- package/dist/chunks/cli-1.1.2-9ke8m3ex.mjs +2 -0
- package/dist/chunks/cli-1.1.2-9rh5p8p5.mjs +2 -0
- package/dist/chunks/cli-1.1.2-a69xymn7.mjs +2 -0
- package/dist/chunks/cli-1.1.2-a9n9p929.mjs +2 -0
- package/dist/chunks/cli-1.1.2-aav0ncfm.mjs +2 -0
- package/dist/chunks/cli-1.1.2-ad1q4yds.mjs +4 -0
- package/dist/chunks/cli-1.1.2-aq3e6kg7.mjs +2 -0
- package/dist/chunks/cli-1.1.2-ax711ayq.mjs +2 -0
- package/dist/chunks/cli-1.1.2-b850wzhk.mjs +2 -0
- package/dist/chunks/cli-1.1.2-b9tdyfz3.mjs +21 -0
- package/dist/chunks/cli-1.1.2-bhjzjkag.mjs +4 -0
- package/dist/chunks/cli-1.1.2-bvvn3mfz.mjs +2 -0
- package/dist/chunks/cli-1.1.2-cs3wpy5m.mjs +2 -0
- package/dist/chunks/cli-1.1.2-d0dmaqaz.mjs +2 -0
- package/dist/chunks/cli-1.1.2-d3vc56eg.mjs +4 -0
- package/dist/chunks/cli-1.1.2-d9r7gv39.mjs +2 -0
- package/dist/chunks/cli-1.1.2-dg1134n2.mjs +2 -0
- package/dist/chunks/cli-1.1.2-dgw89jzs.mjs +4 -0
- package/dist/chunks/cli-1.1.2-e9bnprf3.mjs +2 -0
- package/dist/chunks/cli-1.1.2-efe0402v.mjs +2 -0
- package/dist/chunks/cli-1.1.2-em7hye78.mjs +4 -0
- package/dist/chunks/cli-1.1.2-eqyyfzzp.mjs +2 -0
- package/dist/chunks/cli-1.1.2-evsw8rmv.mjs +2 -0
- package/dist/chunks/cli-1.1.2-f5bj8nyg.mjs +2 -0
- package/dist/chunks/cli-1.1.2-f8pc3h46.mjs +16 -0
- package/dist/chunks/cli-1.1.2-fcjvcn8t.mjs +2 -0
- package/dist/chunks/cli-1.1.2-fmrgtbj6.mjs +2 -0
- package/dist/chunks/cli-1.1.2-fnfay3zd.mjs +2 -0
- package/dist/chunks/cli-1.1.2-fnp913tz.mjs +2 -0
- package/dist/chunks/cli-1.1.2-fq7w78vq.mjs +2 -0
- package/dist/chunks/cli-1.1.2-fs1t9yw3.mjs +15 -0
- package/dist/chunks/cli-1.1.2-fwcddg2k.mjs +3 -0
- package/dist/chunks/cli-1.1.2-g3dcz46h.mjs +2 -0
- package/dist/chunks/cli-1.1.2-g3ms995y.mjs +2 -0
- package/dist/chunks/cli-1.1.2-g9cs3fkf.mjs +24 -0
- package/dist/chunks/cli-1.1.2-gb52rdfa.mjs +2 -0
- package/dist/chunks/cli-1.1.2-gb58q1j1.mjs +2 -0
- package/dist/chunks/cli-1.1.2-gdcv810d.mjs +2 -0
- package/dist/chunks/cli-1.1.2-gqdaxfvm.mjs +2 -0
- package/dist/chunks/cli-1.1.2-gtjv8yhc.mjs +2 -0
- package/dist/chunks/cli-1.1.2-gvwc8kmd.mjs +6 -0
- package/dist/chunks/cli-1.1.2-gws9nr18.mjs +9 -0
- package/dist/chunks/cli-1.1.2-gxzwceae.mjs +2 -0
- package/dist/chunks/cli-1.1.2-gy0p2qqf.mjs +4 -0
- package/dist/chunks/cli-1.1.2-h2avr3ya.mjs +2 -0
- package/dist/chunks/cli-1.1.2-h9csstnw.mjs +2 -0
- package/dist/chunks/cli-1.1.2-hpx774ph.mjs +3 -0
- package/dist/chunks/cli-1.1.2-hzaqg545.mjs +17 -0
- package/dist/chunks/cli-1.1.2-j9n5qd1w.mjs +2 -0
- package/dist/chunks/cli-1.1.2-jpgqkhxd.mjs +59 -0
- package/dist/chunks/cli-1.1.2-js4s7tq5.mjs +2 -0
- package/dist/chunks/cli-1.1.2-jv9f8r52.mjs +3 -0
- package/dist/chunks/cli-1.1.2-jxkffay4.mjs +2 -0
- package/dist/chunks/cli-1.1.2-k077a0s0.mjs +2 -0
- package/dist/chunks/cli-1.1.2-k3tsqm2p.mjs +2 -0
- package/dist/chunks/cli-1.1.2-k4bpvm06.mjs +2 -0
- package/dist/chunks/cli-1.1.2-k61a86d8.mjs +3 -0
- package/dist/chunks/cli-1.1.2-kahqzzrg.mjs +2 -0
- package/dist/chunks/cli-1.1.2-kav702qr.mjs +2 -0
- package/dist/chunks/cli-1.1.2-kcfzd7n8.mjs +2 -0
- package/dist/chunks/cli-1.1.2-kkgf4hyc.mjs +3 -0
- package/dist/chunks/cli-1.1.2-kq402xqd.mjs +2 -0
- package/dist/chunks/cli-1.1.2-m0529q09.mjs +45 -0
- package/dist/chunks/cli-1.1.2-m2ar3b2y.mjs +18 -0
- package/dist/chunks/cli-1.1.2-m4ksha3b.mjs +2 -0
- package/dist/chunks/cli-1.1.2-m7d5acdw.mjs +2 -0
- package/dist/chunks/cli-1.1.2-ma8mh6tb.mjs +2 -0
- package/dist/chunks/cli-1.1.2-mnp59g5q.mjs +12 -0
- package/dist/chunks/cli-1.1.2-mr55880g.mjs +2 -0
- package/dist/chunks/cli-1.1.2-mtztdv5m.mjs +2 -0
- package/dist/chunks/cli-1.1.2-n2f8jkwd.mjs +2 -0
- package/dist/chunks/cli-1.1.2-n2k1y1rv.mjs +2 -0
- package/dist/chunks/cli-1.1.2-nd5g2z1v.mjs +2 -0
- package/dist/chunks/cli-1.1.2-nskkg1h5.mjs +5 -0
- package/dist/chunks/cli-1.1.2-p8amxd73.mjs +4 -0
- package/dist/chunks/cli-1.1.2-pbtymf0g.mjs +2 -0
- package/dist/chunks/cli-1.1.2-pgt1vydc.mjs +2 -0
- package/dist/chunks/cli-1.1.2-qg5xbb38.mjs +2 -0
- package/dist/chunks/cli-1.1.2-qge4zbeg.mjs +2 -0
- package/dist/chunks/cli-1.1.2-qm56km1n.mjs +4 -0
- package/dist/chunks/cli-1.1.2-qxjs641v.mjs +2 -0
- package/dist/chunks/cli-1.1.2-r32per66.mjs +2 -0
- package/dist/chunks/cli-1.1.2-r39g5zy8.mjs +2 -0
- package/dist/chunks/cli-1.1.2-re4qc97z.mjs +6 -0
- package/dist/chunks/cli-1.1.2-rm27fqp7.mjs +2 -0
- package/dist/chunks/cli-1.1.2-rp3kb2k1.mjs +2 -0
- package/dist/chunks/cli-1.1.2-rwfksv3e.mjs +8 -0
- package/dist/chunks/cli-1.1.2-rx0kctyq.mjs +15 -0
- package/dist/chunks/cli-1.1.2-ryw7gagg.mjs +2 -0
- package/dist/chunks/cli-1.1.2-s2xde2xb.mjs +2 -0
- package/dist/chunks/cli-1.1.2-s6et33a5.mjs +2 -0
- package/dist/chunks/cli-1.1.2-s76jqr70.mjs +2 -0
- package/dist/chunks/cli-1.1.2-sd7xc4s3.mjs +2 -0
- package/dist/chunks/cli-1.1.2-sdra9y0x.mjs +34 -0
- package/dist/chunks/cli-1.1.2-se3yz188.mjs +2 -0
- package/dist/chunks/cli-1.1.2-sk8gpfnw.mjs +2 -0
- package/dist/chunks/cli-1.1.2-sxp48xhs.mjs +133 -0
- package/dist/chunks/cli-1.1.2-t4aw8heb.mjs +2 -0
- package/dist/chunks/cli-1.1.2-t9knn0qp.mjs +2 -0
- package/dist/chunks/cli-1.1.2-tepjwp3h.mjs +2 -0
- package/dist/chunks/cli-1.1.2-thb8wh7v.mjs +2 -0
- package/dist/chunks/cli-1.1.2-tk5pscqh.mjs +12 -0
- package/dist/chunks/cli-1.1.2-tkr9thek.mjs +6 -0
- package/dist/chunks/cli-1.1.2-tn2dw7tr.mjs +2 -0
- package/dist/chunks/cli-1.1.2-tyx76ya3.mjs +2 -0
- package/dist/chunks/cli-1.1.2-v4dexj9m.mjs +2 -0
- package/dist/chunks/cli-1.1.2-v5aq687d.mjs +4 -0
- package/dist/chunks/cli-1.1.2-vdnvxk7d.mjs +2 -0
- package/dist/chunks/cli-1.1.2-vdtd8tyw.mjs +3 -0
- package/dist/chunks/cli-1.1.2-vedfryrw.mjs +39 -0
- package/dist/chunks/cli-1.1.2-vkw3t6e1.mjs +2 -0
- package/dist/chunks/cli-1.1.2-vn5a5kng.mjs +2 -0
- package/dist/chunks/cli-1.1.2-vqhs2nfg.mjs +2 -0
- package/dist/chunks/cli-1.1.2-w39dxwaq.mjs +5 -0
- package/dist/chunks/cli-1.1.2-w6e54y3j.mjs +2 -0
- package/dist/chunks/cli-1.1.2-wd7anmzt.mjs +2 -0
- package/dist/chunks/cli-1.1.2-wfh9694n.mjs +42 -0
- package/dist/chunks/cli-1.1.2-whyrn26g.mjs +2 -0
- package/dist/chunks/cli-1.1.2-wtjpdxah.mjs +2 -0
- package/dist/chunks/cli-1.1.2-wz2q0wq7.mjs +2 -0
- package/dist/chunks/cli-1.1.2-x6tg8d4f.mjs +58 -0
- package/dist/chunks/cli-1.1.2-x7pdyv4r.mjs +3 -0
- package/dist/chunks/cli-1.1.2-x7qa1qq3.mjs +50 -0
- package/dist/chunks/cli-1.1.2-xbpjh8ph.mjs +2 -0
- package/dist/chunks/cli-1.1.2-xpf1bbmk.mjs +2 -0
- package/dist/chunks/cli-1.1.2-xrfe457w.mjs +2 -0
- package/dist/chunks/cli-1.1.2-y2eet2t4.mjs +2 -0
- package/dist/chunks/cli-1.1.2-y8dhsas4.mjs +12 -0
- package/dist/chunks/cli-1.1.2-yajs5n37.mjs +18 -0
- package/dist/chunks/cli-1.1.2-yh44qbw4.mjs +2 -0
- package/dist/chunks/cli-1.1.2-yj8m159m.mjs +2 -0
- package/dist/chunks/cli-1.1.2-z2m1x4a9.mjs +2 -0
- package/dist/chunks/cli-1.1.2-z31tqg0s.mjs +202 -0
- package/dist/chunks/cli-1.1.2-z56w3mhn.mjs +3 -0
- package/dist/chunks/cli-1.1.2-z7ha6v3f.mjs +2 -0
- package/dist/chunks/cli-1.1.2-ze70ftw0.mjs +1 -0
- package/dist/chunks/cli-1.1.2-zm6bk4ph.mjs +2 -0
- package/dist/chunks/cli-1.1.2-zn8nzq9g.mjs +2 -0
- package/dist/chunks/cli-1.1.2-zv4bhn4s.mjs +6 -0
- package/dist/chunks/cli-1.1.2-zy0pbg7t.mjs +3 -0
- package/dist/chunks/cli-1.1.2-zy7bxchk.mjs +2 -0
- package/dist/chunks/cli-1.1.2-zy8c0mk4.mjs +2 -0
- package/dist/chunks/cli-1.1.2-zzd75gm6.mjs +2 -0
- package/dist/chunks/client-1.1.2-cfb4as3w.mjs +1 -0
- package/dist/chunks/color-1.1.2-1sf55h7k.mjs +1 -0
- package/dist/chunks/compact-1.1.2-dd3f57yj.mjs +3 -0
- package/dist/chunks/config-1.1.2-6bc1gc6c.mjs +1 -0
- package/dist/chunks/config-1.1.2-p9t1wpdw.mjs +1 -0
- package/dist/chunks/constants-1.1.2-tkm4c60r.mjs +1 -0
- package/dist/chunks/context-1.1.2-rw4msk80.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.2-c5hbr649.mjs +1 -0
- package/dist/chunks/conversation-1.1.2-h9dvper4.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.2-nv81crna.mjs +1 -0
- package/dist/chunks/copy-1.1.2-hr7v2mx9.mjs +9 -0
- package/dist/chunks/cost-1.1.2-hdy89g4q.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.2-6v2x5eg0.mjs +1 -0
- package/dist/chunks/createSession-1.1.2-ygyb7e8j.mjs +1 -0
- package/dist/chunks/debug-1.1.2-wk2d9rj6.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.2-gjp00h29.mjs +1446 -0
- package/dist/chunks/desktop-1.1.2-egp65wej.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.2-qh9nf9kg.mjs +1 -0
- package/dist/chunks/detection-1.1.2-02zpqkt2.mjs +1 -0
- package/dist/chunks/diff-1.1.2-29snp7ez.mjs +1 -0
- package/dist/chunks/doctor-1.1.2-b321t9z0.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.2-214xq5kx.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.2-n8b9n8hj.mjs +1 -0
- package/dist/chunks/effort-1.1.2-42pxj2ke.mjs +13 -0
- package/dist/chunks/engine-1.1.2-071c5ycx.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.2-90nzxgap.mjs +1 -0
- package/dist/chunks/envUtils-1.1.2-rdsjbb4f.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.2-eeacbnpj.mjs +1 -0
- package/dist/chunks/environments-1.1.2-e0a09brc.mjs +1 -0
- package/dist/chunks/errors-1.1.2-1fp0w76h.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.2-prrwcbkh.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.2-61na3ack.mjs +1 -0
- package/dist/chunks/exit-1.1.2-eh7t4pcy.mjs +1 -0
- package/dist/chunks/explorer-1.1.2-7brsg8bj.mjs +1 -0
- package/dist/chunks/export-1.1.2-2m0sfme0.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.2-akf4qvp0.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.2-ysbmggsv.mjs +1 -0
- package/dist/chunks/fast-1.1.2-43wzezv3.mjs +1 -0
- package/dist/chunks/feedback-1.1.2-92k099e0.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.2-ksq42qwt.mjs +1 -0
- package/dist/chunks/git-1.1.2-fgm2kpjd.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.2-vj6dwy2c.mjs +1 -0
- package/dist/chunks/goal-1.1.2-hnd6dfnz.mjs +4 -0
- package/dist/chunks/grove-1.1.2-74zq9th4.mjs +1 -0
- package/dist/chunks/growthbook-1.1.2-x4pfbgm2.mjs +1 -0
- package/dist/chunks/headless-1.1.2-rhab73x2.mjs +2 -0
- package/dist/chunks/heapdump-1.1.2-a698r5c6.mjs +6 -0
- package/dist/chunks/help-1.1.2-er6xvvy0.mjs +1 -0
- package/dist/chunks/hookChains-1.1.2-yh3dmw0j.mjs +3 -0
- package/dist/chunks/hooks-1.1.2-63zxxjj9.mjs +79 -0
- package/dist/chunks/hooks-1.1.2-ez3kc0p2.mjs +1 -0
- package/dist/chunks/ide-1.1.2-je812srr.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.2-xe8n5srr.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.1.2-qywwkc7m.mjs +1 -0
- package/dist/chunks/index-1.1.2-3evh58r7.mjs +1 -0
- package/dist/chunks/index-1.1.2-69bhefzj.mjs +1 -0
- package/dist/chunks/index-1.1.2-7kya3jrk.mjs +1 -0
- package/dist/chunks/index-1.1.2-7sphewt0.mjs +5 -0
- package/dist/chunks/index-1.1.2-947wna4y.mjs +1 -0
- package/dist/chunks/index-1.1.2-95c20hmc.mjs +1 -0
- package/dist/chunks/index-1.1.2-9xdx0kw2.mjs +1 -0
- package/dist/chunks/index-1.1.2-bvpaf73z.mjs +2 -0
- package/dist/chunks/index-1.1.2-dkvq5y5c.mjs +1 -0
- package/dist/chunks/index-1.1.2-ebc3q9cn.mjs +9 -0
- package/dist/chunks/index-1.1.2-htmnqkfh.mjs +1 -0
- package/dist/chunks/index-1.1.2-kdaazhrb.mjs +1 -0
- package/dist/chunks/index-1.1.2-kzzb5289.mjs +1 -0
- package/dist/chunks/index-1.1.2-madt9yt1.mjs +1 -0
- package/dist/chunks/index-1.1.2-mvhaw48f.mjs +2 -0
- package/dist/chunks/index-1.1.2-pzx0977r.mjs +1 -0
- package/dist/chunks/index-1.1.2-r1zg7fm1.mjs +1 -0
- package/dist/chunks/index-1.1.2-s1rqf88d.mjs +1 -0
- package/dist/chunks/index-1.1.2-t2gvqgcr.mjs +1 -0
- package/dist/chunks/index-1.1.2-thaazk19.mjs +17 -0
- package/dist/chunks/index-1.1.2-wey7e6ag.mjs +30 -0
- package/dist/chunks/index-1.1.2-y8ab1zbc.mjs +1 -0
- package/dist/chunks/index-1.1.2-zzrwyq5p.mjs +9 -0
- package/dist/chunks/init-1.1.2-85zbvgkj.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.2-de5jg8xg.mjs +1 -0
- package/dist/chunks/ink-1.1.2-dqpj9964.mjs +1 -0
- package/dist/chunks/insights-1.1.2-y73zf53m.mjs +870 -0
- package/dist/chunks/install-1.1.2-89hhj53e.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.2-qvppzny7.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.2-3h092m6m.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.2-knbaf11q.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.2-1ef73k1d.mjs +1 -0
- package/dist/chunks/keybindings-1.1.2-k2t8cv4v.mjs +2 -0
- package/dist/chunks/knowledge-1.1.2-ssv0qdb3.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.2-hjg7gvvk.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.2-s1ff144v.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.2-byf6cjm1.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.2-yvdv9pjd.mjs +1 -0
- package/dist/chunks/log-1.1.2-8cc3djq5.mjs +1 -0
- package/dist/chunks/main-1.1.2-th8b6kt4.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.2-z470j86z.mjs +1 -0
- package/dist/chunks/mcp-1.1.2-86tk8ay8.mjs +1 -0
- package/dist/chunks/mcp-1.1.2-g64z89y6.mjs +17 -0
- package/dist/chunks/mcp-1.1.2-snaa1cjv.mjs +4 -0
- package/dist/chunks/mcpb-1.1.2-4mdrmbnx.mjs +1 -0
- package/dist/chunks/memory-1.1.2-habj4cwz.mjs +72 -0
- package/dist/chunks/model-1.1.2-vdjmatpe.mjs +1 -0
- package/dist/chunks/model-1.1.2-y4qnzr5d.mjs +2 -0
- package/dist/chunks/node-1.1.2-msn09mvf.mjs +12 -0
- package/dist/chunks/oauth-1.1.2-95md8es8.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.2-swxk5w2d.mjs +14 -0
- package/dist/chunks/output-style-1.1.2-gk5rwyf3.mjs +1 -0
- package/dist/chunks/package-2VNCXFNY-1.1.2-t2qeqjq8.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.2-kh0kdj72.mjs +1 -0
- package/dist/chunks/parser-1.1.2-bq2yyqcn.mjs +1 -0
- package/dist/chunks/passes-1.1.2-z98me43k.mjs +1 -0
- package/dist/chunks/permissions-1.1.2-4q31d83k.mjs +3 -0
- package/dist/chunks/permissions-1.1.2-yj6ep04t.mjs +1 -0
- package/dist/chunks/plan-1.1.2-aq6tkcvx.mjs +1 -0
- package/dist/chunks/plist-1.1.2-wtdpfgrq.mjs +1 -0
- package/dist/chunks/plugin-1.1.2-9h7564kc.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.2-xs7cvmve.mjs +1 -0
- package/dist/chunks/plugins-1.1.2-gktqysmr.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.2-zbm0ahc2.mjs +2 -0
- package/dist/chunks/print-1.1.2-9xz8kk84.mjs +57 -0
- package/dist/chunks/privacy-settings-1.1.2-9w8bvgmp.mjs +1 -0
- package/dist/chunks/process-1.1.2-4ha9kngp.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.2-t1abzpg8.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.2-krgryjdy.mjs +9 -0
- package/dist/chunks/prompt-1.1.2-exabd70s.mjs +1 -0
- package/dist/chunks/prompt-1.1.2-qbhgy60q.mjs +1 -0
- package/dist/chunks/prompts-1.1.2-z5xqs93q.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.2-jzdef7t2.mjs +13 -0
- package/dist/chunks/provider-1.1.2-q784s7t1.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.2-hgq6ezmt.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.2-6svgbwp4.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.2-pdk8r710.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.2-ja3famgz.mjs +34 -0
- package/dist/chunks/registry-1.1.2-bteqae43.mjs +1 -0
- package/dist/chunks/release-notes-1.1.2-m864etmn.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.2-xgc8eghm.mjs +2 -0
- package/dist/chunks/remote-env-1.1.2-jy20nnyn.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.2-wrzz2zme.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.2-2ms5x1xn.mjs +1 -0
- package/dist/chunks/rename-1.1.2-99a39m1m.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.2-6qx7my8a.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.2-8aq6b75y.mjs +1 -0
- package/dist/chunks/resume-1.1.2-n0d6rgp7.mjs +2 -0
- package/dist/chunks/rewind-1.1.2-4mrqvf42.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.2-3vma1kzy.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.2-qpb0brgp.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.2-985g3rtd.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.2-h5bx372x.mjs +1 -0
- package/dist/chunks/session-1.1.2-q3ahqvyx.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.2-qcyr8b8w.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.2-2y6b014f.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.2-6vk4ryr3.mjs +1 -0
- package/dist/chunks/settings-1.1.2-nf07eg97.mjs +1 -0
- package/dist/chunks/setup-1.1.2-5f344krn.mjs +5 -0
- package/dist/chunks/sinks-1.1.2-xq2d5k0p.mjs +1 -0
- package/dist/chunks/skills-1.1.2-2e8x03xz.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.2-vbw0t7zn.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.2-7xtv2jhz.mjs +1 -0
- package/dist/chunks/state-1.1.2-4stfxgxw.mjs +1 -0
- package/dist/chunks/stats-1.1.2-x2men93c.mjs +6 -0
- package/dist/chunks/status-1.1.2-k6342tq7.mjs +1 -0
- package/dist/chunks/stickers-1.1.2-m2ee29wd.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.2-gfsm4m3z.mjs +1 -0
- package/dist/chunks/tasks-1.1.2-52bgwvvk.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.2-fcfqve0r.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.2-s2qw8rtp.mjs +1 -0
- package/dist/chunks/teleport-1.1.2-mxjmy1bj.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.2-376p31n2.mjs +1 -0
- package/dist/chunks/theme-1.1.2-vhrm8pkz.mjs +1 -0
- package/dist/chunks/thinkback-1.1.2-2k5azpda.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.2-w3xe66qy.mjs +1 -0
- package/dist/chunks/toolPool-1.1.2-th0e7c3p.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.2-5vbh7tfs.mjs +1 -0
- package/dist/chunks/tools-1.1.2-0tdzn87s.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.2-s31a3mdh.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.2-aj5hafxn.mjs +69 -0
- package/dist/chunks/types-1.1.2-vst16v9y.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.2-3tcemmrp.mjs +4 -0
- package/dist/chunks/update-1.1.2-7daxbkja.mjs +72 -0
- package/dist/chunks/upgrade-1.1.2-paz816ha.mjs +1 -0
- package/dist/chunks/upload-1.1.2-tb2wafs2.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.2-k3w1snzk.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.2-2w62pdbp.mjs +1 -0
- package/dist/chunks/usage-1.1.2-xa0p51ga.mjs +1 -0
- package/dist/chunks/util-1.1.2-790z163z.mjs +1 -0
- package/dist/chunks/utils-1.1.2-vs0h9jny.mjs +1 -0
- package/dist/chunks/vim-1.1.2-c8e520z8.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.2-e4ehn07s.mjs +13 -0
- package/dist/chunks/watcher-1.1.2-731rkpjz.mjs +1 -0
- package/dist/chunks/wiki-1.1.2-zbc6h2h9.mjs +132 -0
- package/dist/chunks/workflows-1.1.2-g3w76nrf.mjs +1 -0
- package/dist/chunks/worktree-1.1.2-7nptnzv3.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.2-kgnb2ck1.mjs +1 -0
- package/dist/chunks/wrapper-1.1.2-3pstqzgw.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.0-enyqd6zk.mjs +0 -1
- package/dist/chunks/App-1.1.0-6def0a6n.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.0-m9mybr7j.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.0-4c1qce0n.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.0-2afw9h09.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.0-r09k7rem.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.0-p05h72f8.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.0-842yvm18.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.0-dyfzh4xz.mjs +0 -7
- package/dist/chunks/Doctor-1.1.0-gwmatamz.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.0-4mz9bn58.mjs +0 -6
- package/dist/chunks/Grove-1.1.0-zk7sq7x9.mjs +0 -1
- package/dist/chunks/ITermBackend-1.1.0-wjqdhhvn.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.0-w64hcgs0.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.0-mkc5ew58.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.0-wsjvh8me.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.0-t8s1cvt5.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.0-ayq5wr7h.mjs +0 -1
- package/dist/chunks/REPL-1.1.0-ya45nhgt.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.0-q3hsbdns.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.0-9xeshk4s.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.0-fzf5xcm5.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.0-h3qsm7za.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.0-7a0w9w6g.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.0-yzx44v2v.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.0-3gd1pr4d.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.0-6m8j6s6z.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.0-b42stwdb.mjs +0 -1
- package/dist/chunks/add-dir-1.1.0-gst7d69m.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.0-6b0xw5qv.mjs +0 -1
- package/dist/chunks/agents-1.1.0-3e34h40q.mjs +0 -3
- package/dist/chunks/agents-1.1.0-vgtkxq8y.mjs +0 -110
- package/dist/chunks/api-1.1.0-px2sj5kw.mjs +0 -1
- package/dist/chunks/asciicast-1.1.0-2wzkvqn2.mjs +0 -1
- package/dist/chunks/assistant-1.1.0-t93vcyks.mjs +0 -1
- package/dist/chunks/auth-1.1.0-fvk2pf8g.mjs +0 -1
- package/dist/chunks/auth-1.1.0-q76xp4nm.mjs +0 -1
- package/dist/chunks/autoMode-1.1.0-87n8w9d4.mjs +0 -48
- package/dist/chunks/autoUpdater-1.1.0-3sjqay1h.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.0-yvybeza3.mjs +0 -1
- package/dist/chunks/branch-1.1.0-9g4r23x4.mjs +0 -4
- package/dist/chunks/bridge-1.1.0-c59t7fn5.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.0-t0deynrx.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.0-zj4jw1v1.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.0-6nrn1g75.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.0-83at32ad.mjs +0 -1
- package/dist/chunks/btw-1.1.0-y88gyvq1.mjs +0 -1
- package/dist/chunks/buddy-1.1.0-rch3sq8e.mjs +0 -3
- package/dist/chunks/cacache-1.1.0-ej21brrw.mjs +0 -1
- package/dist/chunks/cache-probe-1.1.0-ehbwcyh9.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.0-ksnt9g30.mjs +0 -4
- package/dist/chunks/caches-1.1.0-jzxm4v1g.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.1.0-zyset7gv.mjs +0 -1
- package/dist/chunks/claudemd-1.1.0-mb17883g.mjs +0 -1
- package/dist/chunks/clear-1.1.0-55sa519v.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.0-g803ycep.mjs +0 -1
- package/dist/chunks/cli-1.1.0-0c134tyv.mjs +0 -2
- package/dist/chunks/cli-1.1.0-0e7qzsa6.mjs +0 -2
- package/dist/chunks/cli-1.1.0-0hf961r9.mjs +0 -2
- package/dist/chunks/cli-1.1.0-0pd1b4vc.mjs +0 -133
- package/dist/chunks/cli-1.1.0-0pygrth1.mjs +0 -2
- package/dist/chunks/cli-1.1.0-0yvk0ynn.mjs +0 -2
- package/dist/chunks/cli-1.1.0-18mcq0aj.mjs +0 -6
- package/dist/chunks/cli-1.1.0-1tax09d6.mjs +0 -2
- package/dist/chunks/cli-1.1.0-22xy9wm0.mjs +0 -2
- package/dist/chunks/cli-1.1.0-23xk5c5p.mjs +0 -2
- package/dist/chunks/cli-1.1.0-27q99qxg.mjs +0 -5638
- package/dist/chunks/cli-1.1.0-2g3ef6xx.mjs +0 -2
- package/dist/chunks/cli-1.1.0-2kcgmy0n.mjs +0 -4
- package/dist/chunks/cli-1.1.0-2ptkfn3v.mjs +0 -2
- package/dist/chunks/cli-1.1.0-2ynkx7mx.mjs +0 -2
- package/dist/chunks/cli-1.1.0-35dy019c.mjs +0 -2
- package/dist/chunks/cli-1.1.0-376tm1k9.mjs +0 -2
- package/dist/chunks/cli-1.1.0-3bm55s4g.mjs +0 -59
- package/dist/chunks/cli-1.1.0-3vd4xtts.mjs +0 -2
- package/dist/chunks/cli-1.1.0-42q5m352.mjs +0 -2
- package/dist/chunks/cli-1.1.0-43b9w2rq.mjs +0 -5
- package/dist/chunks/cli-1.1.0-44z5qkky.mjs +0 -2
- package/dist/chunks/cli-1.1.0-4brqrqtg.mjs +0 -8
- package/dist/chunks/cli-1.1.0-4f03ap1f.mjs +0 -3
- package/dist/chunks/cli-1.1.0-4hheqq4t.mjs +0 -2
- package/dist/chunks/cli-1.1.0-51r43ffv.mjs +0 -2
- package/dist/chunks/cli-1.1.0-534xht1w.mjs +0 -2
- package/dist/chunks/cli-1.1.0-5gb7f7xp.mjs +0 -2
- package/dist/chunks/cli-1.1.0-5p4r7v1p.mjs +0 -3
- package/dist/chunks/cli-1.1.0-5pgcnrex.mjs +0 -2
- package/dist/chunks/cli-1.1.0-685fssp6.mjs +0 -2
- package/dist/chunks/cli-1.1.0-6g8jkwc8.mjs +0 -2
- package/dist/chunks/cli-1.1.0-6h9f0djh.mjs +0 -6
- package/dist/chunks/cli-1.1.0-6pd6d43a.mjs +0 -58
- package/dist/chunks/cli-1.1.0-6pv9er50.mjs +0 -2
- package/dist/chunks/cli-1.1.0-6q6mnbdg.mjs +0 -45
- package/dist/chunks/cli-1.1.0-6sw6w6gt.mjs +0 -2
- package/dist/chunks/cli-1.1.0-6td2sp0v.mjs +0 -2
- package/dist/chunks/cli-1.1.0-6vd5e2xx.mjs +0 -2
- package/dist/chunks/cli-1.1.0-715hzmph.mjs +0 -4
- package/dist/chunks/cli-1.1.0-7278n5vd.mjs +0 -18
- package/dist/chunks/cli-1.1.0-7d1nvdda.mjs +0 -2
- package/dist/chunks/cli-1.1.0-7pxt9gcq.mjs +0 -2
- package/dist/chunks/cli-1.1.0-80tgppc8.mjs +0 -12
- package/dist/chunks/cli-1.1.0-8azg891x.mjs +0 -2
- package/dist/chunks/cli-1.1.0-8t3nbehc.mjs +0 -2
- package/dist/chunks/cli-1.1.0-8xbx5bw0.mjs +0 -4
- package/dist/chunks/cli-1.1.0-93djfjy7.mjs +0 -2
- package/dist/chunks/cli-1.1.0-9neyfch2.mjs +0 -2
- package/dist/chunks/cli-1.1.0-9w7sg286.mjs +0 -2
- package/dist/chunks/cli-1.1.0-a3xx1dac.mjs +0 -2
- package/dist/chunks/cli-1.1.0-a4fdbmtm.mjs +0 -3
- package/dist/chunks/cli-1.1.0-ab3nq7yd.mjs +0 -2
- package/dist/chunks/cli-1.1.0-acknyrzr.mjs +0 -2
- package/dist/chunks/cli-1.1.0-aefnhpce.mjs +0 -2
- package/dist/chunks/cli-1.1.0-aew4bmae.mjs +0 -2
- package/dist/chunks/cli-1.1.0-agcwe85z.mjs +0 -3
- package/dist/chunks/cli-1.1.0-ah0k4q2s.mjs +0 -17
- package/dist/chunks/cli-1.1.0-anh31kw5.mjs +0 -2
- package/dist/chunks/cli-1.1.0-avpw9ja1.mjs +0 -4
- package/dist/chunks/cli-1.1.0-awwr4yce.mjs +0 -2
- package/dist/chunks/cli-1.1.0-b2dpekht.mjs +0 -50
- package/dist/chunks/cli-1.1.0-b4js0h2n.mjs +0 -2
- package/dist/chunks/cli-1.1.0-b6z6m26q.mjs +0 -2
- package/dist/chunks/cli-1.1.0-bg3abn0c.mjs +0 -3
- package/dist/chunks/cli-1.1.0-bpw6t33c.mjs +0 -2
- package/dist/chunks/cli-1.1.0-c32rv5p9.mjs +0 -2
- package/dist/chunks/cli-1.1.0-cs1m99a5.mjs +0 -4
- package/dist/chunks/cli-1.1.0-cz87w6nw.mjs +0 -2
- package/dist/chunks/cli-1.1.0-df637xcj.mjs +0 -12
- package/dist/chunks/cli-1.1.0-dgje4dyf.mjs +0 -12
- package/dist/chunks/cli-1.1.0-dkcs1ckg.mjs +0 -2
- package/dist/chunks/cli-1.1.0-dqm9d5fq.mjs +0 -2
- package/dist/chunks/cli-1.1.0-dsg8mr16.mjs +0 -2
- package/dist/chunks/cli-1.1.0-dvdc29ed.mjs +0 -20
- package/dist/chunks/cli-1.1.0-dzexv5mk.mjs +0 -15
- package/dist/chunks/cli-1.1.0-e8cb572s.mjs +0 -3
- package/dist/chunks/cli-1.1.0-ej9gkky3.mjs +0 -2
- package/dist/chunks/cli-1.1.0-ejsqz1pw.mjs +0 -2
- package/dist/chunks/cli-1.1.0-ex8w5gzz.mjs +0 -2
- package/dist/chunks/cli-1.1.0-eyafjwj2.mjs +0 -2
- package/dist/chunks/cli-1.1.0-f1vdd8jq.mjs +0 -2
- package/dist/chunks/cli-1.1.0-f2zea2vz.mjs +0 -202
- package/dist/chunks/cli-1.1.0-f40fhk16.mjs +0 -2
- package/dist/chunks/cli-1.1.0-f7s3d6cm.mjs +0 -2
- package/dist/chunks/cli-1.1.0-fav6jhbg.mjs +0 -2
- package/dist/chunks/cli-1.1.0-fefdtfkh.mjs +0 -2
- package/dist/chunks/cli-1.1.0-fhsgjvax.mjs +0 -2
- package/dist/chunks/cli-1.1.0-fj9tsf79.mjs +0 -2
- package/dist/chunks/cli-1.1.0-fkkfc8bz.mjs +0 -24
- package/dist/chunks/cli-1.1.0-fm3zj7km.mjs +0 -2
- package/dist/chunks/cli-1.1.0-fyhcmngx.mjs +0 -2
- package/dist/chunks/cli-1.1.0-fzj13jj1.mjs +0 -2
- package/dist/chunks/cli-1.1.0-g19j4m46.mjs +0 -3
- package/dist/chunks/cli-1.1.0-g4qrjkze.mjs +0 -25
- package/dist/chunks/cli-1.1.0-gedc2sjr.mjs +0 -2
- package/dist/chunks/cli-1.1.0-gn36m4rw.mjs +0 -2
- package/dist/chunks/cli-1.1.0-h9m8nwpz.mjs +0 -2
- package/dist/chunks/cli-1.1.0-heqqh4q5.mjs +0 -42
- package/dist/chunks/cli-1.1.0-hhv56f6w.mjs +0 -2
- package/dist/chunks/cli-1.1.0-hqc7gemc.mjs +0 -2
- package/dist/chunks/cli-1.1.0-hxcczrch.mjs +0 -34
- package/dist/chunks/cli-1.1.0-j0spemhp.mjs +0 -2
- package/dist/chunks/cli-1.1.0-j8j38mj8.mjs +0 -2
- package/dist/chunks/cli-1.1.0-jggsfk80.mjs +0 -2
- package/dist/chunks/cli-1.1.0-jm9w1ra4.mjs +0 -133
- package/dist/chunks/cli-1.1.0-jzr2r6q9.mjs +0 -18
- package/dist/chunks/cli-1.1.0-k97b244h.mjs +0 -2
- package/dist/chunks/cli-1.1.0-kb88a691.mjs +0 -16
- package/dist/chunks/cli-1.1.0-kchy50kf.mjs +0 -2
- package/dist/chunks/cli-1.1.0-kdb9g90t.mjs +0 -6
- package/dist/chunks/cli-1.1.0-ke2q4vv2.mjs +0 -39
- package/dist/chunks/cli-1.1.0-kf2vvzzq.mjs +0 -2
- package/dist/chunks/cli-1.1.0-kh16d8ks.mjs +0 -2
- package/dist/chunks/cli-1.1.0-khfqjg3d.mjs +0 -2
- package/dist/chunks/cli-1.1.0-kqpv3mqm.mjs +0 -2
- package/dist/chunks/cli-1.1.0-ksm3jf7w.mjs +0 -2
- package/dist/chunks/cli-1.1.0-ky8gc8bw.mjs +0 -2
- package/dist/chunks/cli-1.1.0-kyed5wy4.mjs +0 -2
- package/dist/chunks/cli-1.1.0-kyvxb684.mjs +0 -18
- package/dist/chunks/cli-1.1.0-m3srsyep.mjs +0 -2
- package/dist/chunks/cli-1.1.0-mcwgdp9f.mjs +0 -1
- package/dist/chunks/cli-1.1.0-mp23wvb8.mjs +0 -2
- package/dist/chunks/cli-1.1.0-mthxxfdv.mjs +0 -2
- package/dist/chunks/cli-1.1.0-mxcr7n72.mjs +0 -3
- package/dist/chunks/cli-1.1.0-n063kkhn.mjs +0 -2
- package/dist/chunks/cli-1.1.0-n22zpcen.mjs +0 -2
- package/dist/chunks/cli-1.1.0-nrkd2283.mjs +0 -2
- package/dist/chunks/cli-1.1.0-nwh4569v.mjs +0 -2
- package/dist/chunks/cli-1.1.0-nwnph1tm.mjs +0 -3
- package/dist/chunks/cli-1.1.0-nzw8nfe8.mjs +0 -4
- package/dist/chunks/cli-1.1.0-pagxnvrp.mjs +0 -2
- package/dist/chunks/cli-1.1.0-pc78xk2w.mjs +0 -2
- package/dist/chunks/cli-1.1.0-pgzqtn5w.mjs +0 -3
- package/dist/chunks/cli-1.1.0-pyjjh1vb.mjs +0 -2
- package/dist/chunks/cli-1.1.0-q0xhsdq5.mjs +0 -2
- package/dist/chunks/cli-1.1.0-q5tc9jm9.mjs +0 -2
- package/dist/chunks/cli-1.1.0-q8ch6d67.mjs +0 -2
- package/dist/chunks/cli-1.1.0-qeh5c8ha.mjs +0 -2
- package/dist/chunks/cli-1.1.0-qsymkkgn.mjs +0 -25
- package/dist/chunks/cli-1.1.0-qtb6qp7v.mjs +0 -2
- package/dist/chunks/cli-1.1.0-qy3n5r3j.mjs +0 -2
- package/dist/chunks/cli-1.1.0-r5jfjghw.mjs +0 -2
- package/dist/chunks/cli-1.1.0-r82e580m.mjs +0 -9
- package/dist/chunks/cli-1.1.0-rcbfq6ds.mjs +0 -15
- package/dist/chunks/cli-1.1.0-rgft35ht.mjs +0 -2
- package/dist/chunks/cli-1.1.0-rhbwwag9.mjs +0 -2
- package/dist/chunks/cli-1.1.0-rhhqa2eq.mjs +0 -6
- package/dist/chunks/cli-1.1.0-rk5hvaqf.mjs +0 -2
- package/dist/chunks/cli-1.1.0-rwzm7q8k.mjs +0 -2
- package/dist/chunks/cli-1.1.0-rxjpq9sj.mjs +0 -15
- package/dist/chunks/cli-1.1.0-s2byqr5v.mjs +0 -2
- package/dist/chunks/cli-1.1.0-s77gty0s.mjs +0 -2
- package/dist/chunks/cli-1.1.0-sn31brzs.mjs +0 -4
- package/dist/chunks/cli-1.1.0-snspzvx6.mjs +0 -2
- package/dist/chunks/cli-1.1.0-ss0sp6y9.mjs +0 -2
- package/dist/chunks/cli-1.1.0-sz45a3kz.mjs +0 -2
- package/dist/chunks/cli-1.1.0-t314tbev.mjs +0 -2
- package/dist/chunks/cli-1.1.0-t7bxqzs4.mjs +0 -24
- package/dist/chunks/cli-1.1.0-t7zmjjnm.mjs +0 -2
- package/dist/chunks/cli-1.1.0-t81d1nxv.mjs +0 -6
- package/dist/chunks/cli-1.1.0-tfwm688t.mjs +0 -2
- package/dist/chunks/cli-1.1.0-tjzezs5y.mjs +0 -2
- package/dist/chunks/cli-1.1.0-txh9zgpn.mjs +0 -12
- package/dist/chunks/cli-1.1.0-txn2egpm.mjs +0 -2
- package/dist/chunks/cli-1.1.0-typ6ydyr.mjs +0 -2
- package/dist/chunks/cli-1.1.0-vmrftx0a.mjs +0 -5
- package/dist/chunks/cli-1.1.0-vnw1etr4.mjs +0 -2
- package/dist/chunks/cli-1.1.0-vpef0qmy.mjs +0 -2
- package/dist/chunks/cli-1.1.0-vsd5cgtc.mjs +0 -2
- package/dist/chunks/cli-1.1.0-vyrset59.mjs +0 -2
- package/dist/chunks/cli-1.1.0-w2z92spx.mjs +0 -2
- package/dist/chunks/cli-1.1.0-w6pbjjfv.mjs +0 -2
- package/dist/chunks/cli-1.1.0-w99tv921.mjs +0 -4
- package/dist/chunks/cli-1.1.0-wq7mrbze.mjs +0 -2
- package/dist/chunks/cli-1.1.0-wy684ycb.mjs +0 -2
- package/dist/chunks/cli-1.1.0-wzt27z3c.mjs +0 -2
- package/dist/chunks/cli-1.1.0-x1d428kd.mjs +0 -4
- package/dist/chunks/cli-1.1.0-x52w32zj.mjs +0 -9
- package/dist/chunks/cli-1.1.0-xbafqhxj.mjs +0 -2
- package/dist/chunks/cli-1.1.0-xfbynaew.mjs +0 -3
- package/dist/chunks/cli-1.1.0-xh7h18aj.mjs +0 -2
- package/dist/chunks/cli-1.1.0-xnkggt2k.mjs +0 -2
- package/dist/chunks/cli-1.1.0-xqj8jr7g.mjs +0 -4
- package/dist/chunks/cli-1.1.0-xrtkbdea.mjs +0 -4
- package/dist/chunks/cli-1.1.0-xtme365c.mjs +0 -2
- package/dist/chunks/cli-1.1.0-xz7dpcmk.mjs +0 -2
- package/dist/chunks/cli-1.1.0-xz8y1ffw.mjs +0 -2
- package/dist/chunks/cli-1.1.0-y08d0fhm.mjs +0 -2
- package/dist/chunks/cli-1.1.0-y16ey5vs.mjs +0 -3
- package/dist/chunks/cli-1.1.0-y44vvpr5.mjs +0 -24
- package/dist/chunks/cli-1.1.0-y7km7tyc.mjs +0 -2
- package/dist/chunks/cli-1.1.0-y82h5sjv.mjs +0 -2
- package/dist/chunks/cli-1.1.0-yb4xnm2h.mjs +0 -21
- package/dist/chunks/cli-1.1.0-ypyc700d.mjs +0 -7
- package/dist/chunks/cli-1.1.0-z3er82qf.mjs +0 -2
- package/dist/chunks/cli-1.1.0-z3kmdvmm.mjs +0 -17
- package/dist/chunks/cli-1.1.0-z515ecdw.mjs +0 -2
- package/dist/chunks/cli-1.1.0-z8gyd4hj.mjs +0 -2
- package/dist/chunks/cli-1.1.0-z9w48as1.mjs +0 -2
- package/dist/chunks/cli-1.1.0-zjdhcx9g.mjs +0 -67
- package/dist/chunks/cli-1.1.0-zv42btgr.mjs +0 -2
- package/dist/chunks/cli-1.1.0-zv9mj8cm.mjs +0 -2
- package/dist/chunks/client-1.1.0-mczmpajm.mjs +0 -1
- package/dist/chunks/color-1.1.0-mz220mnj.mjs +0 -1
- package/dist/chunks/compact-1.1.0-m3h4vy67.mjs +0 -3
- package/dist/chunks/config-1.1.0-0cmcwws5.mjs +0 -1
- package/dist/chunks/config-1.1.0-94w375pc.mjs +0 -1
- package/dist/chunks/constants-1.1.0-f8cevnbf.mjs +0 -1
- package/dist/chunks/context-1.1.0-02esqhw9.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.0-q79y3s53.mjs +0 -1
- package/dist/chunks/conversation-1.1.0-zgrc0409.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.0-hs5hd2rk.mjs +0 -1
- package/dist/chunks/copy-1.1.0-d9ewpvtx.mjs +0 -9
- package/dist/chunks/cost-1.1.0-29687fk2.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.0-cwje9xax.mjs +0 -1
- package/dist/chunks/createSession-1.1.0-mqxpwaxx.mjs +0 -1
- package/dist/chunks/debug-1.1.0-7myvhved.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.0-kjmcwbvb.mjs +0 -1446
- package/dist/chunks/desktop-1.1.0-psp9x7ag.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.0-s1sbyjtw.mjs +0 -1
- package/dist/chunks/detection-1.1.0-395zszbn.mjs +0 -1
- package/dist/chunks/diff-1.1.0-tw33wd16.mjs +0 -1
- package/dist/chunks/doctor-1.1.0-w49j96y7.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.0-bazcbcf0.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.0-k2ggh5e8.mjs +0 -1
- package/dist/chunks/effort-1.1.0-d31ntd59.mjs +0 -13
- package/dist/chunks/engine-1.1.0-zykm6ttb.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.0-vjjgjg6g.mjs +0 -1
- package/dist/chunks/envUtils-1.1.0-j6qw20t8.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.0-pbfss60j.mjs +0 -1
- package/dist/chunks/environments-1.1.0-05sa7vqs.mjs +0 -1
- package/dist/chunks/errors-1.1.0-rv1w7dzk.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.0-hwr1bhvw.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.0-mctsxzhh.mjs +0 -1
- package/dist/chunks/exit-1.1.0-w4dt0y70.mjs +0 -1
- package/dist/chunks/explorer-1.1.0-grjehtcs.mjs +0 -1
- package/dist/chunks/export-1.1.0-nkxywrt3.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.0-t5fad215.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.0-ejz9p8tk.mjs +0 -1
- package/dist/chunks/fast-1.1.0-ktxbryjn.mjs +0 -1
- package/dist/chunks/feedback-1.1.0-wmc2etfk.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.0-37ttkjsw.mjs +0 -1
- package/dist/chunks/git-1.1.0-19myj8f0.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.0-kehp42vm.mjs +0 -1
- package/dist/chunks/goal-1.1.0-vegr2gpx.mjs +0 -4
- package/dist/chunks/grove-1.1.0-jhejcpfq.mjs +0 -1
- package/dist/chunks/growthbook-1.1.0-65kf7wnp.mjs +0 -1
- package/dist/chunks/headless-1.1.0-7ar922rp.mjs +0 -2
- package/dist/chunks/heapdump-1.1.0-32jsacwx.mjs +0 -6
- package/dist/chunks/help-1.1.0-845v0hns.mjs +0 -1
- package/dist/chunks/hookChains-1.1.0-v8cw92ff.mjs +0 -3
- package/dist/chunks/hooks-1.1.0-6yfeb39f.mjs +0 -79
- package/dist/chunks/hooks-1.1.0-q1eegxep.mjs +0 -1
- package/dist/chunks/ide-1.1.0-9t0cq40y.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.0-sdagc4gb.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.1.0-gcb31e7e.mjs +0 -1
- package/dist/chunks/index-1.1.0-0pz70rhb.mjs +0 -1
- package/dist/chunks/index-1.1.0-2v7bhc73.mjs +0 -9
- package/dist/chunks/index-1.1.0-42sjc0ra.mjs +0 -1
- package/dist/chunks/index-1.1.0-5e2yge0j.mjs +0 -1
- package/dist/chunks/index-1.1.0-5rn65wcn.mjs +0 -1
- package/dist/chunks/index-1.1.0-6eg49x8z.mjs +0 -1
- package/dist/chunks/index-1.1.0-6f33zr88.mjs +0 -2
- package/dist/chunks/index-1.1.0-711thf5z.mjs +0 -30
- package/dist/chunks/index-1.1.0-7mr4ft1q.mjs +0 -1
- package/dist/chunks/index-1.1.0-9qnvcqd3.mjs +0 -1
- package/dist/chunks/index-1.1.0-bryn9r7n.mjs +0 -1
- package/dist/chunks/index-1.1.0-c9ypb2er.mjs +0 -2
- package/dist/chunks/index-1.1.0-dpwmxnj4.mjs +0 -5
- package/dist/chunks/index-1.1.0-f06x7270.mjs +0 -17
- package/dist/chunks/index-1.1.0-fz6shkyy.mjs +0 -1
- package/dist/chunks/index-1.1.0-ga21tcpt.mjs +0 -9
- package/dist/chunks/index-1.1.0-qta6e5wt.mjs +0 -1
- package/dist/chunks/index-1.1.0-rdrdd03m.mjs +0 -1
- package/dist/chunks/index-1.1.0-vdwwq04q.mjs +0 -1
- package/dist/chunks/index-1.1.0-x8ra62mv.mjs +0 -1
- package/dist/chunks/index-1.1.0-yaxmne6h.mjs +0 -1
- package/dist/chunks/index-1.1.0-yna8rsmk.mjs +0 -1
- package/dist/chunks/index-1.1.0-zv3y0dw4.mjs +0 -1
- package/dist/chunks/init-1.1.0-2ktykcbs.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.0-2dq44h6p.mjs +0 -1
- package/dist/chunks/ink-1.1.0-n8ev4ggj.mjs +0 -1
- package/dist/chunks/insights-1.1.0-2pm8nqda.mjs +0 -870
- package/dist/chunks/install-1.1.0-kpkp79qx.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.0-ezr26tzq.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.0-526087q0.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.0-2hcxjw4w.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.0-1n70h3yk.mjs +0 -1
- package/dist/chunks/keybindings-1.1.0-zp4xvxd0.mjs +0 -2
- package/dist/chunks/knowledge-1.1.0-7ypjnfee.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.0-nh3f0q9v.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.0-6jtp0hpx.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.0-3986smwm.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.0-n5jzedar.mjs +0 -1
- package/dist/chunks/log-1.1.0-ytvjc0bd.mjs +0 -1
- package/dist/chunks/main-1.1.0-f14kmh7p.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.0-e8vpf6by.mjs +0 -1
- package/dist/chunks/mcp-1.1.0-1ywhd8fj.mjs +0 -1
- package/dist/chunks/mcp-1.1.0-7nqv81k0.mjs +0 -17
- package/dist/chunks/mcp-1.1.0-qx3nvmcz.mjs +0 -4
- package/dist/chunks/mcpb-1.1.0-rj36djns.mjs +0 -1
- package/dist/chunks/memory-1.1.0-5r0h3k4k.mjs +0 -72
- package/dist/chunks/model-1.1.0-44xx16dv.mjs +0 -2
- package/dist/chunks/model-1.1.0-fg2cbfq2.mjs +0 -1
- package/dist/chunks/node-1.1.0-110zckqt.mjs +0 -12
- package/dist/chunks/oauth-1.1.0-wpg4ck2v.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.0-j1v7ywpt.mjs +0 -14
- package/dist/chunks/output-style-1.1.0-zn9ssp3s.mjs +0 -1
- package/dist/chunks/package-2VNCXFNY-1.1.0-gmk2hvrx.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.0-5zrr15g5.mjs +0 -1
- package/dist/chunks/parser-1.1.0-whqnp9vy.mjs +0 -1
- package/dist/chunks/passes-1.1.0-syt7mc82.mjs +0 -1
- package/dist/chunks/permissions-1.1.0-93w1tjs2.mjs +0 -3
- package/dist/chunks/permissions-1.1.0-xwgjba5h.mjs +0 -1
- package/dist/chunks/plan-1.1.0-8by2pkr1.mjs +0 -1
- package/dist/chunks/plist-1.1.0-a72f96zz.mjs +0 -1
- package/dist/chunks/plugin-1.1.0-1cq6rnm4.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.0-e3hxzsxe.mjs +0 -1
- package/dist/chunks/plugins-1.1.0-2ebadazb.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.0-1qpnh1b8.mjs +0 -2
- package/dist/chunks/print-1.1.0-5023fs4e.mjs +0 -57
- package/dist/chunks/privacy-settings-1.1.0-rg0g4j4k.mjs +0 -1
- package/dist/chunks/process-1.1.0-azyy6h3h.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.0-xbaa5wkh.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.0-hegrj68h.mjs +0 -9
- package/dist/chunks/prompt-1.1.0-2r56j5nk.mjs +0 -1
- package/dist/chunks/prompt-1.1.0-2vmdvy77.mjs +0 -1
- package/dist/chunks/prompts-1.1.0-n1m0d2m2.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.0-xs2p3rtn.mjs +0 -13
- package/dist/chunks/provider-1.1.0-2j5pg4yy.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.0-rbqezxcw.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.0-677eqkc3.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.0-3m14394y.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.0-x7bmwv4g.mjs +0 -34
- package/dist/chunks/registry-1.1.0-4fyg7f9q.mjs +0 -1
- package/dist/chunks/release-notes-1.1.0-pz5tn880.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.0-69db1v80.mjs +0 -2
- package/dist/chunks/remote-env-1.1.0-ksfpd9mb.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.0-n7thmemb.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.0-qfe65dcd.mjs +0 -1
- package/dist/chunks/rename-1.1.0-xwf9aagc.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.0-bdbdmxmh.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.0-tkn2dd4g.mjs +0 -1
- package/dist/chunks/resume-1.1.0-bks26dze.mjs +0 -2
- package/dist/chunks/rewind-1.1.0-cet2enqh.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.0-jsytxerw.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.0-0feve89r.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.0-h2jzdxee.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.0-93sg9m8e.mjs +0 -1
- package/dist/chunks/session-1.1.0-qj25v1ny.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.0-cyr63cxd.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.0-f2jn1dgt.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.0-jhvnwn06.mjs +0 -1
- package/dist/chunks/settings-1.1.0-v6kq2gg7.mjs +0 -1
- package/dist/chunks/setup-1.1.0-1nvqkzwy.mjs +0 -5
- package/dist/chunks/sinks-1.1.0-y6gqgdcq.mjs +0 -1
- package/dist/chunks/skills-1.1.0-xsjqqdbe.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.0-vf7vkpmt.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.0-e67ygkan.mjs +0 -1
- package/dist/chunks/state-1.1.0-bh945jtk.mjs +0 -1
- package/dist/chunks/stats-1.1.0-x33dy37t.mjs +0 -6
- package/dist/chunks/status-1.1.0-d0yq6cgj.mjs +0 -1
- package/dist/chunks/stickers-1.1.0-xc1m1wem.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.0-2842f2xr.mjs +0 -1
- package/dist/chunks/tasks-1.1.0-jwtf7c9d.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.0-5f9gr2n7.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.0-p5p6mzr0.mjs +0 -1
- package/dist/chunks/teleport-1.1.0-vpph6285.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.0-sapkr8qe.mjs +0 -1
- package/dist/chunks/theme-1.1.0-tj4jvv7p.mjs +0 -1
- package/dist/chunks/thinkback-1.1.0-jz93vtq3.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.0-bjmff4sm.mjs +0 -1
- package/dist/chunks/toolPool-1.1.0-m2n24729.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.0-xkqnfkpg.mjs +0 -1
- package/dist/chunks/tools-1.1.0-s3ha83mm.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.0-c22x3kwa.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.0-ysafs3br.mjs +0 -69
- package/dist/chunks/types-1.1.0-1bb823j7.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.0-k2hb0xpa.mjs +0 -4
- package/dist/chunks/update-1.1.0-7v973cbz.mjs +0 -88
- package/dist/chunks/upgrade-1.1.0-rr1r91bn.mjs +0 -1
- package/dist/chunks/upload-1.1.0-0zhvg1j3.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.0-ayhfykdv.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.0-s7xr32y6.mjs +0 -1
- package/dist/chunks/usage-1.1.0-wtv9dama.mjs +0 -1
- package/dist/chunks/util-1.1.0-9mksq9n7.mjs +0 -1
- package/dist/chunks/utils-1.1.0-8gfj8s3w.mjs +0 -1
- package/dist/chunks/vim-1.1.0-2fjkfqs6.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.0-6qghm3y5.mjs +0 -13
- package/dist/chunks/watcher-1.1.0-p8jgf9r7.mjs +0 -1
- package/dist/chunks/wiki-1.1.0-x8aa5635.mjs +0 -132
- package/dist/chunks/workflows-1.1.0-epxphggs.mjs +0 -1
- package/dist/chunks/worktree-1.1.0-eza3fdnj.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.0-3mh5gae3.mjs +0 -1
- package/dist/chunks/wrapper-1.1.0-snjvfemx.mjs +0 -7
- /package/dist/chunks/{cli-1.1.0-j0sa90bm.mjs → cli-1.1.2-3vyt3jw9.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.0-5sg0fk2p.mjs → cli-1.1.2-6d3jf0sj.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.0-9nc530td.mjs → cli-1.1.2-6jbsqbdw.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.0-gm3yzqxw.mjs → cli-1.1.2-8t8veykp.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.0-7s0f112n.mjs → cli-1.1.2-btgmqahb.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.0-wmg6s7xa.mjs → cli-1.1.2-pgz05ddc.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.0-vcev20jn.mjs → cli-1.1.2-r4rfggdk.mjs} +0 -0
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{r9 as D}from"./cli-1.1.0-0pd1b4vc.mjs";import{bka as L,fka as JG,pka as W,ska as a}from"./cli-1.1.0-6h9f0djh.mjs";import{$ka as c,ala as jG,kla as GG}from"./cli-1.1.0-anh31kw5.mjs";import{mra as U,nra as g}from"./cli-1.1.0-aefnhpce.mjs";import{$ra as RG,Jra as H}from"./cli-1.1.0-kyvxb684.mjs";import{dsa as wG}from"./cli-1.1.0-80tgppc8.mjs";import{usa as WG,ysa as j,zsa as e}from"./cli-1.1.0-t314tbev.mjs";function hG(){_.cache.clear?.(),W("Cleared CA certificates cache")}var _;var p=j(()=>{g();a();GG();JG();_=U(()=>{let G=c("--use-system-ca")||c("--use-openssl-ca"),J=process.env.NODE_EXTRA_CA_CERTS;if(W(`CA certs: useSystemCA=${G}, extraCertsPath=${J}`),!G&&!J)return;let Q=e("tls"),K=[];if(G){let Y=Q.getCACertificates,Z=Y?.("system");if(Z&&Z.length>0)K.push(...Z),W(`CA certs: Loaded ${K.length} system CA certificates (--use-system-ca)`);else if(!Y&&!J){W("CA certs: --use-system-ca set but system CA API unavailable, deferring to runtime");return}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base (--use-system-ca fallback)`)}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base`);if(J)try{let Y=L().readFileSync(J,{encoding:"utf8"});K.push(Y),W(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${J})`)}catch(Y){W(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${J}): ${Y}`,{level:"error"})}return K.length>0?K:void 0})});import{Agent as EG}from"https";function gG(){let G=F(),J=_();if(!G&&!J)return;return{...G,...J&&{ca:J}}}function v(){let G=F(),J=_();if(!G&&!J)return{};let Q={...G,...J&&{ca:J}};if(typeof Bun<"u")return{tls:Q};return W("TLS: Created undici agent with custom certificates"),{dispatcher:new(D()).Agent({connect:{cert:Q.cert,key:Q.key,passphrase:Q.passphrase,...Q.ca&&{ca:Q.ca}},pipelining:1})}}function aG(){F.cache.clear?.(),P.cache.clear?.(),W("Cleared mTLS configuration cache")}function pG(){if(!F())return;if(process.env.NODE_EXTRA_CA_CERTS)W("NODE_EXTRA_CA_CERTS detected - Node.js will automatically append to built-in CAs")}var F,P;var KG=j(()=>{g();p();a();JG();F=U(()=>{let G={};if(process.env.CLAUDE_CODE_CLIENT_CERT)try{G.cert=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_CERT,{encoding:"utf8"}),W("mTLS: Loaded client certificate from CLAUDE_CODE_CLIENT_CERT")}catch(J){W(`mTLS: Failed to load client certificate: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY)try{G.key=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_KEY,{encoding:"utf8"}),W("mTLS: Loaded client key from CLAUDE_CODE_CLIENT_KEY")}catch(J){W(`mTLS: Failed to load client key: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE)G.passphrase=process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE,W("mTLS: Using client key passphrase");if(Object.keys(G).length===0)return;return G}),P=U(()=>{let G=F(),J=_();if(!G&&!J)return;let Q={...G,...J&&{ca:J},keepAlive:!0};return W("mTLS: Creating HTTPS agent with custom certificates"),new EG(Q)})});var QG=()=>{};import*as YG from"net";import*as ZG from"http";import{Agent as SG}from"https";var B,i;var $G=j(()=>{QG();B=Symbol("AgentBaseInternalState");i=class i extends ZG.Agent{constructor(G){super(G);this[B]={}}isSecureEndpoint(G){if(G){if(typeof G.secureEndpoint==="boolean")return G.secureEndpoint;if(typeof G.protocol==="string")return G.protocol==="https:"}let{stack:J}=Error();if(typeof J!=="string")return!1;return J.split(`
|
|
2
|
-
`).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}incrementSockets(G){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[G])this.sockets[G]=[];let J=new YG.Socket({writable:!1});return this.sockets[G].push(J),this.totalSocketCount++,J}decrementSockets(G,J){if(!this.sockets[G]||J===null)return;let Q=this.sockets[G],K=Q.indexOf(J);if(K!==-1){if(Q.splice(K,1),this.totalSocketCount--,Q.length===0)delete this.sockets[G]}}getName(G){if(this.isSecureEndpoint(G))return SG.prototype.getName.call(this,G);return super.getName(G)}createSocket(G,J,Q){let K={...J,secureEndpoint:this.isSecureEndpoint(J)},Y=this.getName(K),Z=this.incrementSockets(Y);Promise.resolve().then(()=>this.connect(G,K)).then((w)=>{if(this.decrementSockets(Y,Z),typeof w.addRequest==="function")try{return w.addRequest(G,K)}catch($){return Q($)}this[B].currentSocket=w,super.createSocket(G,J,Q)},(w)=>{this.decrementSockets(Y,Z),Q(w)})}createConnection(){let G=this[B].currentSocket;if(this[B].currentSocket=void 0,!G)throw Error("No socket was returned in the `connect()` function");return G}get defaultPort(){return this[B].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(G){if(this[B])this[B].defaultPort=G}get protocol(){return this[B].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(G){if(this[B])this[B].protocol=G}}});function n(G){return new Promise((J,Q)=>{let K=0,Y=[];function Z(){let X=G.read();if(X)q(X);else G.once("readable",Z)}function w(){G.removeListener("end",$),G.removeListener("error",V),G.removeListener("readable",Z)}function $(){w(),C("onend"),Q(Error("Proxy connection ended before receiving CONNECT response"))}function V(X){w(),C("onerror %o",X),Q(X)}function q(X){Y.push(X),K+=X.length;let z=Buffer.concat(Y,K),O=z.indexOf(`\r
|
|
3
|
-
\r
|
|
4
|
-
`);if(O===-1){C("have not received end of HTTP headers yet..."),Z();return}let b=z.slice(0,O).toString("ascii").split(`\r
|
|
5
|
-
`),f=b.shift();if(!f)return G.destroy(),Q(Error("No header received from proxy CONNECT response"));let t=f.split(" "),TG=+t[1],IG=t.slice(2).join(" "),E={};for(let S of b){if(!S)continue;let u=S.indexOf(":");if(u===-1)return G.destroy(),Q(Error(`Invalid header from proxy CONNECT response: "${S}"`));let d=S.slice(0,u).toLowerCase(),l=S.slice(u+1).trimStart(),A=E[d];if(typeof A==="string")E[d]=[A,l];else if(Array.isArray(A))A.push(l);else E[d]=l}C("got proxy server response: %o %o",f,E),w(),J({connect:{statusCode:TG,statusText:IG,headers:E},buffered:z})}G.on("error",V),G.on("end",$),Z()})}var XG,C;var zG=j(()=>{XG=WG(wG(),1),C=XG.default("https-proxy-agent:parse-proxy-response")});function VG(){return async({response:G,scheme:J})=>{if(J.toLowerCase()!=="negotiate")throw Error(`Expected Negotiate scheme but got "${J}"`);let Q;try{Q=await import("kerberos")}catch{throw Error('The "kerberos" package is required for Negotiate proxy authentication. Install it with: npm install kerberos')}let K=G.headers["proxy-authenticate"]||"",Y=Array.isArray(K)?K[0]:K,Z=typeof Y==="string"&&Y.includes(" ")?Y.split(" ").slice(1).join(" "):void 0,$=await(await Q.initializeClient("HTTP@proxy",{mechOID:Q.GSS_MECH_OID_SPNEGO})).step(Z||"");if(!$)throw Error("Kerberos client.step() returned no token");return{headers:{"Proxy-Authorization":`Negotiate ${$}`}}}}var BG=()=>{};import*as M from"net";import*as R from"tls";import LG from"assert";import{URL as DG}from"url";function MG(G){setImmediate(()=>{G.resume()})}function s(G,...J){let Q={},K;for(K in G)if(!J.includes(K))Q[K]=G[K];return Q}var HG,T,k=(G)=>{if(G.servername===void 0&&G.host&&!M.isIP(G.host))return{...G,servername:G.host};return G},x;var qG=j(()=>{$G();zG();BG();HG=WG(wG(),1),T=HG.default("https-proxy-agent");x=class x extends i{constructor(G,J){super(J);if(this.options={path:void 0},this.proxy=typeof G==="string"?new DG(G):G,this.proxyHeaders=J?.headers??{},T("Creating new HttpsProxyAgent instance: %o",this.proxy.href),J?.negotiate)this.onProxyAuth=VG();else if(J?.onProxyAuth)this.onProxyAuth=J.onProxyAuth;let Q=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),K=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...J?s(J,"headers","onProxyAuth","negotiate"):null,host:Q,port:K}}async connect(G,J){let{proxy:Q}=this;if(!J.host)throw TypeError('No "host" provided');let K;if(Q.protocol==="https:")T("Creating `tls.Socket`: %o",this.connectOpts),K=R.connect(k(this.connectOpts));else T("Creating `net.Socket`: %o",this.connectOpts),K=M.connect(this.connectOpts);let Y=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},Z=M.isIPv6(J.host)?`[${J.host}]`:J.host,w=`CONNECT ${Z}:${J.port} HTTP/1.1\r
|
|
6
|
-
`;if(Q.username||Q.password){let z=`${decodeURIComponent(Q.username)}:${decodeURIComponent(Q.password)}`;Y["Proxy-Authorization"]=`Basic ${Buffer.from(z).toString("base64")}`}if(Y.Host=`${Z}:${J.port}`,!Y["Proxy-Connection"])Y["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let z of Object.keys(Y))w+=`${z}: ${Y[z]}\r
|
|
7
|
-
`;let $=n(K);K.write(`${w}\r
|
|
8
|
-
`);let{connect:V,buffered:q}=await $;if(G.emit("proxyConnect",V),this.emit("proxyConnect",V,G),G.emit("proxy",{proxy:this.proxy.href,socket:K}),V.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:K});return K}if(V.statusCode===407&&this.onProxyAuth){T("Got 407 response, invoking onProxyAuth callback"),K.destroy();let z=V.headers["proxy-authenticate"]||"",O=Array.isArray(z)?z[0].split(/\s/)[0]:z.split(/\s/)[0],b=await this.onProxyAuth({response:V,scheme:O});return this._connectWithAuth(G,J,b.headers)}K.destroy();let X=new M.Socket({writable:!1});return X.readable=!0,G.once("socket",(z)=>{T("Replaying proxy buffer for failed request"),LG(z.listenerCount("data")>0),z.push(q),z.push(null)}),X}async _connectWithAuth(G,J,Q){let{proxy:K}=this,Y;if(K.protocol==="https:")Y=R.connect(k(this.connectOpts));else Y=M.connect(this.connectOpts);let Z=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},w=M.isIPv6(J.host)?`[${J.host}]`:J.host,$=`CONNECT ${w}:${J.port} HTTP/1.1\r
|
|
9
|
-
`;if(K.username||K.password){let X=`${decodeURIComponent(K.username)}:${decodeURIComponent(K.password)}`;Z["Proxy-Authorization"]=`Basic ${Buffer.from(X).toString("base64")}`}if(Object.assign(Z,Q),Z.Host=`${w}:${J.port}`,!Z["Proxy-Connection"])Z["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let X of Object.keys(Z))$+=`${X}: ${Z[X]}\r
|
|
10
|
-
`;let V=n(Y);Y.write(`${$}\r
|
|
11
|
-
`);let{connect:q}=await V;if(G.emit("proxyConnect",q),this.emit("proxyConnect",q,G),q.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:Y});return Y}throw Y.destroy(),Error(`Proxy authentication failed with status ${q.statusCode} after retry`)}};x.protocols=["http","https"]});function MJ(G){r.set(G,!0),UG(G)}function UG(G){NG.cache.delete?.(G)}function HJ(G){_G.set(G,!0),UG(G)}function OG(G){return _G.get(G)===!0}function bG(G){switch(G.family){case 0:case 4:case 6:return G.family;case"IPv6":return 6;case"IPv4":case void 0:return 4;default:throw Error(`Unsupported address family: ${G.family}`)}}function I(G=process.env){return G.https_proxy||G.HTTPS_PROXY||G.http_proxy||G.HTTP_PROXY}function AG(G=process.env){return G.no_proxy||G.NO_PROXY}function h(G,J=AG()){if(!J)return!1;if(J==="*")return!0;try{let Q=new URL(G),K=Q.hostname.toLowerCase(),Y=Q.port||(Q.protocol==="https:"||Q.protocol==="wss:"?"443":"80"),Z=`${K}:${Y}`;return J.split(/[,\s]+/).filter(Boolean).some(($)=>{if($=$.toLowerCase().trim(),$.includes(":"))return Z===$;if($.startsWith(".")){let V=$;return K===$.substring(1)||K.endsWith(V)}return K===$||K.endsWith("."+$)})}catch{return!1}}function y(G,J={}){let Q=F(),K=_(),Y={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};if(jG(process.env.CLAUDE_CODE_PROXY_RESOLVES_HOSTS))Y.lookup=(Z,w,$)=>{$(null,Z,bG(w))};return new x(G,{...Y,...J})}function qJ(G={}){let J=I(),Q=P(),K=H.create({proxy:!1});if(!J){if(Q)K.defaults.httpsAgent=Q;return K}let Y=y(J,G);return K.interceptors.request.use((Z)=>{if(Z.url&&h(Z.url))Z.httpsAgent=Q,Z.httpAgent=Q;else Z.httpsAgent=Y,Z.httpAgent=Y;return Z}),K}function jJ(G){let J=I();if(!J)return;if(h(G))return;return y(J)}function UJ(G){let J=I();if(!J)return;if(h(G))return;return J}function _J(G){let J=G?.provider&&r.get(G.provider)?{keepalive:!1}:{};if(G?.forAnthropicAPI){let Y=process.env.ANTHROPIC_UNIX_SOCKET;if(Y&&typeof Bun<"u")return{...J,unix:Y}}let Q=I();if(Q){if(typeof Bun<"u")return{...J,proxy:Q,...v()};return{...J,dispatcher:o(Q)}}let K=v();if(G?.provider&&!K.dispatcher)return{...J,...K,dispatcher:NG(G.provider)};return{...J,...K}}function FJ(){let G=I(),J=P();if(m!==void 0)H.interceptors.request.eject(m),m=void 0;if(H.defaults.proxy=void 0,H.defaults.httpAgent=void 0,H.defaults.httpsAgent=void 0,G){H.defaults.proxy=!1;let Q=y(G);m=H.interceptors.request.use((K)=>{if(K.url&&h(K.url))if(J)K.httpsAgent=J,K.httpAgent=J;else delete K.httpsAgent,delete K.httpAgent;else K.httpsAgent=Q,K.httpAgent=Q;return K}),D().setGlobalDispatcher(o(G))}else if(J){H.defaults.httpsAgent=J;let Q=v();if(Q.dispatcher)D().setGlobalDispatcher(Q.dispatcher)}}async function NJ(){let G=I();if(!G)return{};let[{NodeHttpHandler:J},{defaultProvider:Q}]=await Promise.all([import("./index-1.1.0-0pz70rhb.mjs"),import("./index-1.1.0-2v7bhc73.mjs")]),K=y(G),Y=new J({httpAgent:K,httpsAgent:K});return{requestHandler:Y,credentials:Q({clientConfig:{requestHandler:Y}})}}function TJ(){o.cache.clear?.(),W("Cleared proxy agent cache")}var r,_G,o,N,FG,PG,NG,m;var vG=j(()=>{RG();qG();g();p();a();GG();KG();r=new Map;_G=new Map;o=U((G)=>{let J=D(),Q=F(),K=_(),Y={httpProxy:G,httpsProxy:G,noProxy:process.env.NO_PROXY||process.env.no_proxy};if(Q||K){let Z={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};Y.connect=Z,Y.requestTls=Z}return new J.EnvHttpProxyAgent(Y)}),N={connections:12,keepAliveTimeout:30000,pipelining:1},FG={firstParty:{...N,allowH2:!0},openai:{...N,allowH2:!0},gemini:{...N,allowH2:!0},mistral:{...N,allowH2:!0},github:{...N,allowH2:!0},codex:{...N,allowH2:!0},"nvidia-nim":{...N,allowH2:!0},minimax:{...N,allowH2:!0}},PG=FG.openai,NG=U((G)=>{let J=D(),Q=FG[G]??PG,K={...Q,allowH2:Q.allowH2&&!OG(G),keepAliveTimeout:r.get(G)?100:Q.keepAliveTimeout};return new J.Agent(K)})});
|
|
12
|
-
export{hG as W8,p as X8,F as Y8,gG as Z8,aG as _8,pG as $8,KG as a9,MJ as b9,HJ as c9,OG as d9,I as e9,h as f9,qJ as g9,jJ as h9,UJ as i9,_J as j9,FJ as k9,NJ as l9,TJ as m9,vG as n9};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{D8 as Z,G8 as T,M8 as f,V8 as WB}from"./cli-1.1.0-kb88a691.mjs";import{$ea as v,A_ as O,B_ as BB,Pea as A,ifa as QB,yba as _,zba as KB}from"./cli-1.1.0-f2zea2vz.mjs";import{Aia as JB,zia as w}from"./cli-1.1.0-2ynkx7mx.mjs";import{ala as F,kla as e}from"./cli-1.1.0-anh31kw5.mjs";import{Pqa as a,Qma as R,bma as I,cma as c,nma as M,oma as m,xla as S,yla as s}from"./cli-1.1.0-q0xhsdq5.mjs";import{mra as q,nra as t}from"./cli-1.1.0-aefnhpce.mjs";import{ysa as K}from"./cli-1.1.0-t314tbev.mjs";function p(B,J){return B+b(h()*(J-B+1))}var b,h,D;var G=K(()=>{b=Math.floor,h=Math.random;D=p});function u(B){var J=B.length;return J?B[D(0,J-1)]:void 0}var Y;var H=K(()=>{G();Y=u});function l(B,J){return M(J,function(X){return B[X]})}var z;var P=K(()=>{m();z=l});function i(B){return B==null?[]:z(B,I(B))}var U;var C=K(()=>{P();c();U=i});function n(B){return Y(U(B))}var k;var E=K(()=>{H();C();k=n});function o(B){var J=S(B)?Y:k;return J(B)}var kB;var r=K(()=>{H();E();s();kB=o});async function vB(){if(W===null&&!Q)Q=YB(),W=await Q,Q=null,d.cache.clear?.()}function TB(){W=null,Q=null,d.cache.clear?.(),g.cache.clear?.()}function XB(){if(W!==null)return W;let B=Z();if(B?.emailAddress)return B.emailAddress;return}async function YB(){let B=Z();if(B?.emailAddress)return B.emailAddress;return g()}var W=null,Q=null,d,g;var ZB=K(()=>{BB();t();a();WB();QB();JB();KB();e();d=q((B)=>{let J=v(),X=A(),$,N,L;if(B){if($=T()??void 0,N=f()??void 0,$&&X.claudeCodeFirstTokenDate){let x=new Date(X.claudeCodeFirstTokenDate).getTime();if(!isNaN(x))L=x}}let V=Z(),j=V?.organizationUuid,y=V?.accountUuid;return{deviceId:J,sessionId:R(),email:XB(),appVersion:"99.0.0",platform:_(),organizationUuid:j,accountUuid:y,userType:void 0,subscriptionType:$,rateLimitTier:N,firstTokenTime:L,...F(process.env.GITHUB_ACTIONS)&&{githubActionsMetadata:{actor:process.env.GITHUB_ACTOR,actorId:process.env.GITHUB_ACTOR_ID,repository:process.env.GITHUB_REPOSITORY,repositoryId:process.env.GITHUB_REPOSITORY_ID,repositoryOwner:process.env.GITHUB_REPOSITORY_OWNER,repositoryOwnerId:process.env.GITHUB_REPOSITORY_OWNER_ID}}}});g=q(async()=>{let B=await O("git config --get user.email",{shell:!0,reject:!1,cwd:w()});return B.exitCode===0&&B.stdout?B.stdout.trim():void 0})});
|
|
2
|
-
export{kB as RU,r as SU,vB as TU,TB as UU,g as VU,ZB as WU};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Hc as l,Ic as m,Lc as u,Mc as y}from"./cli-1.1.0-6g8jkwc8.mjs";import{rG as p,tG as b}from"./cli-1.1.0-27q99qxg.mjs";import{A1 as C,V0 as s,X0 as e}from"./cli-1.1.0-3bm55s4g.mjs";import{h4 as i,i4 as r,j4 as g}from"./cli-1.1.0-2g3ef6xx.mjs";import{k4 as M}from"./cli-1.1.0-0hf961r9.mjs";import{usa as h,ysa as f}from"./cli-1.1.0-t314tbev.mjs";function T({enabled:c,onDismiss:a}){let[n,t]=k.useState(()=>c?{kind:"prompt"}:{kind:"hidden"});if(!c||n.kind==="hidden")return null;if(n.kind==="running")return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Migrating ~/.claude/ to ~/.claudin/..."}),i(e,{dimColor:!0,children:"Copying tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings."})]});if(n.kind==="success"||n.kind==="error"){let d=n.kind==="success"?"success":"warning",o=n.kind==="success"?"Migration complete":"Migration finished with warnings";return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:d,bold:!0,children:o}),i(e,{children:m(n.report)})]})}return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Found Claude Code config at ~/.claude/"}),i(e,{children:"Import API tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings into ~/.claudin/?"}),i(p,{options:[{value:"migrate",label:"Migrate now",description:"Copy tokens, settings, CLAUDE.md, skills, agents, commands, plugins, keybindings."},{value:"skip",label:"Skip — start fresh",description:"Don't ask again this profile."}],onChange:(d)=>{if(d==="skip"){u(),t({kind:"hidden"}),a?.("skipped");return}t({kind:"running"}),(async()=>{let o=await l();t({kind:o.errors.length===0?"success":"error",report:o}),a?.("migrated")})()},onCancel:()=>{t({kind:"hidden"}),a?.("skipped")},visibleOptionCount:2})]})}var k;var w=f(()=>{C();y();b();g();k=h(M(),1)});
|
|
2
|
-
export{T as Fc,w as Gc};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{Nb as U}from"./cli-1.1.0-ypyc700d.mjs";import{Ot as N,Pt as b}from"./cli-1.1.0-27q99qxg.mjs";import{BW as F,EW as d,FW as _,GW as M,LW as I}from"./cli-1.1.0-b6z6m26q.mjs";import{Z8 as B,a9 as T,h9 as x,i9 as H,n9 as v}from"./cli-1.1.0-txh9zgpn.mjs";import{I_ as Z,K_ as P}from"./cli-1.1.0-f2zea2vz.mjs";import{mja as O,pja as D}from"./cli-1.1.0-z8gyd4hj.mjs";import{Uja as z,Zja as S,pka as Y,ska as A}from"./cli-1.1.0-6h9f0djh.mjs";import{ala as L,kla as f}from"./cli-1.1.0-anh31kw5.mjs";import{$ra as i,Jra as y}from"./cli-1.1.0-kyvxb684.mjs";import{zsa as k}from"./cli-1.1.0-t314tbev.mjs";i();A();P();d();D();b();A();P();f();T();v();I();S();var C=`{"type":"keep_alive"}
|
|
2
|
-
`,u=1000,h=1000,R=30000,w=600000,p=1e4,m=300000,E=R*2,c=new Set([1002,4001,4003]);class W{ws=null;lastSentId=null;url;state="idle";onData;onCloseCallback;onConnectCallback;headers;sessionId;autoReconnect;isBridge;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;lastReconnectAttemptTime=null;lastActivityTime=0;pingInterval=null;pongReceived=!0;keepAliveInterval=null;messageBuffer;isBunWs=!1;connectStartTime=0;refreshHeaders;constructor(J,K={},Q,X,$){this.url=J,this.headers=K,this.sessionId=Q,this.refreshHeaders=X,this.autoReconnect=$?.autoReconnect??!0,this.isBridge=$?.isBridge??!1,this.messageBuffer=new N(u)}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){Y(`WebSocketTransport: Cannot connect, current state is ${this.state}`,{level:"error"}),Z("error","cli_websocket_connect_failed");return}this.state="reconnecting",this.connectStartTime=Date.now(),Y(`WebSocketTransport: Opening ${this.url.href}`),Z("info","cli_websocket_connect_opening");let J={...this.headers};if(this.lastSentId)J["X-Last-Request-Id"]=this.lastSentId,Y(`WebSocketTransport: Adding X-Last-Request-Id header: ${this.lastSentId}`);if(typeof Bun<"u"){let K=new globalThis.WebSocket(this.url.href,{headers:J,proxy:H(this.url.href),tls:B()||void 0});this.ws=K,this.isBunWs=!0,K.addEventListener("open",this.onBunOpen),K.addEventListener("message",this.onBunMessage),K.addEventListener("error",this.onBunError),K.addEventListener("close",this.onBunClose),K.addEventListener("pong",this.onPong)}else{let{default:K}=await import("./wrapper-1.1.0-snjvfemx.mjs"),Q=new K(this.url.href,{headers:J,agent:x(this.url.href),...B()});this.ws=Q,this.isBunWs=!1,Q.on("open",this.onNodeOpen),Q.on("message",this.onNodeMessage),Q.on("error",this.onNodeError),Q.on("close",this.onNodeClose),Q.on("pong",this.onPong)}}onBunOpen=()=>{if(this.handleOpenEvent(),this.lastSentId)this.replayBufferedMessages("")};onBunMessage=(J)=>{let K=typeof J.data==="string"?J.data:String(J.data);if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onBunError=()=>{Y("WebSocketTransport: Error",{level:"error"}),Z("error","cli_websocket_connect_error")};onBunClose=(J)=>{let K=J.code===1000||J.code===1001;Y(`WebSocketTransport: Closed: ${J.code}`,K?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J.code)};onNodeOpen=()=>{let J=this.ws;if(this.handleOpenEvent(),!J)return;let Q=J.upgradeReq;if(Q?.headers?.["x-last-request-id"]){let X=Q.headers["x-last-request-id"];this.replayBufferedMessages(X)}};onNodeMessage=(J)=>{let K=J.toString();if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onNodeError=(J)=>{Y(`WebSocketTransport: Error: ${J.message}`,{level:"error"}),Z("error","cli_websocket_connect_error")};onNodeClose=(J,K)=>{let Q=J===1000||J===1001;Y(`WebSocketTransport: Closed: ${J}`,Q?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J)};onPong=()=>{this.pongReceived=!0};handleOpenEvent(){let J=Date.now()-this.connectStartTime;if(Y("WebSocketTransport: Connected"),Z("info","cli_websocket_connect_connected",{duration_ms:J}),this.isBridge&&this.reconnectStartTime!==null)O("tengu_ws_transport_reconnected",{attempts:this.reconnectAttempts,downtimeMs:Date.now()-this.reconnectStartTime});this.reconnectAttempts=0,this.reconnectStartTime=null,this.lastReconnectAttemptTime=null,this.lastActivityTime=Date.now(),this.state="connected",this.onConnectCallback?.(),this.startPingInterval(),this.startKeepaliveInterval(),_(()=>{this.write({type:"keep_alive"})})}sendLine(J){if(!this.ws||this.state!=="connected")return Y("WebSocketTransport: Not connected"),Z("info","cli_websocket_send_not_connected"),!1;try{return this.ws.send(J),this.lastActivityTime=Date.now(),!0}catch(K){return Y(`WebSocketTransport: Failed to send: ${K}`,{level:"error"}),Z("error","cli_websocket_send_error"),this.handleConnectionError(),!1}}removeWsListeners(J){if(this.isBunWs){let K=J;K.removeEventListener("open",this.onBunOpen),K.removeEventListener("message",this.onBunMessage),K.removeEventListener("error",this.onBunError),K.removeEventListener("close",this.onBunClose),K.removeEventListener("pong",this.onPong)}else{let K=J;K.off("open",this.onNodeOpen),K.off("message",this.onNodeMessage),K.off("error",this.onNodeError),K.off("close",this.onNodeClose),K.off("pong",this.onPong)}}doDisconnect(){if(this.stopPingInterval(),this.stopKeepaliveInterval(),M(),this.ws)this.removeWsListeners(this.ws),this.ws.close(),this.ws=null}handleConnectionError(J){if(Y(`WebSocketTransport: Disconnected from ${this.url.href}`+(J!=null?` (code ${J})`:"")),Z("info","cli_websocket_disconnected"),this.isBridge)O("tengu_ws_transport_closed",{closeCode:J,msSinceLastActivity:this.lastActivityTime>0?Date.now()-this.lastActivityTime:-1,wasConnected:this.state==="connected",reconnectAttempts:this.reconnectAttempts});if(this.doDisconnect(),this.state==="closing"||this.state==="closed")return;let K=!1;if(J===4003&&this.refreshHeaders){let $=this.refreshHeaders();if($.Authorization!==this.headers.Authorization)Object.assign(this.headers,$),K=!0,Y("WebSocketTransport: 4003 received but headers refreshed, scheduling reconnect"),Z("info","cli_websocket_4003_token_refreshed")}if(J!=null&&c.has(J)&&!K){Y(`WebSocketTransport: Permanent close code ${J}, not reconnecting`,{level:"error"}),Z("error","cli_websocket_permanent_close",{closeCode:J}),this.state="closed",this.onCloseCallback?.(J);return}if(!this.autoReconnect){this.state="closed",this.onCloseCallback?.(J);return}let Q=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=Q;if(this.lastReconnectAttemptTime!==null&&Q-this.lastReconnectAttemptTime>E)Y(`WebSocketTransport: Detected system sleep (${Math.round((Q-this.lastReconnectAttemptTime)/1000)}s gap), resetting reconnection budget`),Z("info","cli_websocket_sleep_detected",{gapMs:Q-this.lastReconnectAttemptTime}),this.reconnectStartTime=Q,this.reconnectAttempts=0;this.lastReconnectAttemptTime=Q;let X=Q-this.reconnectStartTime;if(X<w){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(!K&&this.refreshHeaders){let V=this.refreshHeaders();Object.assign(this.headers,V),Y("WebSocketTransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let $=Math.min(h*Math.pow(2,this.reconnectAttempts-1),R),G=Math.max(0,$+$*0.25*(2*Math.random()-1));if(Y(`WebSocketTransport: Reconnecting in ${Math.round(G)}ms (attempt ${this.reconnectAttempts}, ${Math.round(X/1000)}s elapsed)`),Z("error","cli_websocket_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.isBridge)O("tengu_ws_transport_reconnecting",{attempt:this.reconnectAttempts,elapsedMs:X,delayMs:Math.round(G)});this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},G)}else if(Y(`WebSocketTransport: Reconnection time budget exhausted after ${Math.round(X/1000)}s for ${this.url.href}`,{level:"error"}),Z("error","cli_websocket_reconnect_exhausted",{reconnectAttempts:this.reconnectAttempts,elapsedMs:X}),this.state="closed",this.onCloseCallback)this.onCloseCallback(J)}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.stopPingInterval(),this.stopKeepaliveInterval(),M(),this.state="closing",this.doDisconnect()}replayBufferedMessages(J){let K=this.messageBuffer.toArray();if(K.length===0)return;let Q=0;if(J){let $=K.findIndex((G)=>("uuid"in G)&&G.uuid===J);if($>=0){Q=$+1;let G=K.slice(Q);if(this.messageBuffer.clear(),this.messageBuffer.addAll(G),G.length===0)this.lastSentId=null;Y(`WebSocketTransport: Evicted ${Q} confirmed messages, ${G.length} remaining`),Z("info","cli_websocket_evicted_confirmed_messages",{evicted:Q,remaining:G.length})}}let X=K.slice(Q);if(X.length===0){Y("WebSocketTransport: No new messages to replay"),Z("info","cli_websocket_no_messages_to_replay");return}Y(`WebSocketTransport: Replaying ${X.length} buffered messages`),Z("info","cli_websocket_messages_to_replay",{count:X.length});for(let $ of X){let G=z($)+`
|
|
3
|
-
`;if(!this.sendLine(G)){this.handleConnectionError();break}}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(J){this.onData=J}setOnConnect(J){this.onConnectCallback=J}setOnClose(J){this.onCloseCallback=J}getStateLabel(){return this.state}async write(J){if("uuid"in J&&typeof J.uuid==="string")this.messageBuffer.add(J),this.lastSentId=J.uuid;let K=z(J)+`
|
|
4
|
-
`;if(this.state!=="connected")return;let Q=this.sessionId?` session=${this.sessionId}`:"",X=this.getControlMessageDetailLabel(J);Y(`WebSocketTransport: Sending message type=${J.type}${Q}${X}`),this.sendLine(K)}getControlMessageDetailLabel(J){if(J.type==="control_request"){let{request_id:K,request:Q}=J,X=Q.subtype==="can_use_tool"?Q.tool_name:"";return` subtype=${Q.subtype} request_id=${K}${X?` tool=${X}`:""}`}if(J.type==="control_response"){let{subtype:K,request_id:Q}=J.response;return` subtype=${K} request_id=${Q}`}return""}startPingInterval(){this.stopPingInterval(),this.pongReceived=!0;let J=Date.now();this.pingInterval=setInterval(()=>{if(this.state==="connected"&&this.ws){let K=Date.now(),Q=K-J;if(J=K,Q>E){Y(`WebSocketTransport: ${Math.round(Q/1000)}s tick gap detected — process was suspended, forcing reconnect`),Z("info","cli_websocket_sleep_detected_on_ping",{gapMs:Q}),this.handleConnectionError();return}if(!this.pongReceived){Y("WebSocketTransport: No pong received, connection appears dead",{level:"error"}),Z("error","cli_websocket_pong_timeout"),this.handleConnectionError();return}this.pongReceived=!1;try{this.ws.ping?.()}catch(X){Y(`WebSocketTransport: Ping failed: ${X}`,{level:"error"}),Z("error","cli_websocket_ping_failed")}}},p)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}startKeepaliveInterval(){if(this.stopKeepaliveInterval(),L(process.env.CLAUDE_CODE_REMOTE))return;this.keepAliveInterval=setInterval(()=>{if(this.state==="connected"&&this.ws)try{this.ws.send(C),this.lastActivityTime=Date.now(),Y("WebSocketTransport: Sent periodic keep_alive data frame")}catch(J){Y(`WebSocketTransport: Periodic keep_alive failed: ${J}`,{level:"error"}),Z("error","cli_websocket_keepalive_failed")}},m)}stopKeepaliveInterval(){if(this.keepAliveInterval)clearInterval(this.keepAliveInterval),this.keepAliveInterval=null}}var g=100,t=15000,l=3000;class n extends W{postUrl;uploader;streamEventBuffer=[];streamEventTimer=null;constructor(J,K={},Q,X,$){super(J,K,Q,X,$);let{maxConsecutiveFailures:G,onBatchDropped:V}=$??{};this.postUrl=r(J),this.uploader=new U({maxBatchSize:500,maxQueueSize:1e5,baseDelayMs:500,maxDelayMs:8000,jitterMs:1000,maxConsecutiveFailures:G,onBatchDropped:(j,q)=>{Z("error","cli_hybrid_batch_dropped_max_failures",{batchSize:j,failures:q}),V?.(j,q)},send:(j)=>this.postOnce(j)}),Y(`HybridTransport: POST URL = ${this.postUrl}`),Z("info","cli_hybrid_transport_initialized")}async write(J){if(J.type==="stream_event"){if(this.streamEventBuffer.push(J),!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>this.flushStreamEvents(),g);return}return await this.uploader.enqueue([...this.takeStreamEvents(),J]),this.uploader.flush()}async writeBatch(J){return await this.uploader.enqueue([...this.takeStreamEvents(),...J]),this.uploader.flush()}get droppedBatchCount(){return this.uploader.droppedBatchCount}flush(){return this.uploader.enqueue(this.takeStreamEvents()),this.uploader.flush()}takeStreamEvents(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;let J=this.streamEventBuffer;return this.streamEventBuffer=[],J}flushStreamEvents(){this.streamEventTimer=null,this.uploader.enqueue(this.takeStreamEvents())}close(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;this.streamEventBuffer=[];let J=this.uploader,K;Promise.race([J.flush(),new Promise((Q)=>{K=setTimeout(Q,l)})]).finally(()=>{clearTimeout(K),J.close()}),super.close()}async postOnce(J){let K=F();if(!K){Y("HybridTransport: No session token available for POST"),Z("warn","cli_hybrid_post_no_token");return}let Q={Authorization:`Bearer ${K}`,"Content-Type":"application/json"},X;try{X=await y.post(this.postUrl,{events:J},{headers:Q,validateStatus:()=>!0,timeout:t})}catch($){throw Y(`HybridTransport: POST error: ${$.message}`),Z("warn","cli_hybrid_post_network_error"),$}if(X.status>=200&&X.status<300){Y(`HybridTransport: POST success count=${J.length}`);return}if(X.status>=400&&X.status<500&&X.status!==429){Y(`HybridTransport: POST returned ${X.status} (permanent), dropping`),Z("warn","cli_hybrid_post_client_error",{status:X.status});return}throw Y(`HybridTransport: POST returned ${X.status} (retryable)`),Z("warn","cli_hybrid_post_retryable_error",{status:X.status}),Error(`POST failed with ${X.status}`)}}function r(J){let K=J.protocol==="wss:"?"https:":"http:",Q=J.pathname;if(Q=Q.replace("/ws/","/session/"),!Q.endsWith("/events"))Q=Q.endsWith("/")?Q+"events":Q+"/events";return`${K}//${J.host}${Q}${J.search}`}
|
|
5
|
-
export{W as Ab,n as Bb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{LU as N,MU as p,NU as F,PU as U,QU as A}from"./cli-1.1.0-n063kkhn.mjs";import{W8 as L,X8 as P,_8 as O,a9 as V,k9 as x,m9 as H,n9 as k}from"./cli-1.1.0-txh9zgpn.mjs";import{Jda as X,Pda as Y,Pea as Z,Yda as K,hba as I,ifa as M,jba as D}from"./cli-1.1.0-f2zea2vz.mjs";import{ala as $,kla as b}from"./cli-1.1.0-anh31kw5.mjs";import{ysa as G}from"./cli-1.1.0-t314tbev.mjs";function R(q){if(!q||!process.env.ANTHROPIC_UNIX_SOCKET)return q||{};let{ANTHROPIC_UNIX_SOCKET:z,ANTHROPIC_BASE_URL:B,ANTHROPIC_API_KEY:Q,ANTHROPIC_AUTH_TOKEN:T,CLAUDE_CODE_OAUTH_TOKEN:f,...m}=q;return m}function _(q){if(!q)return{};if(!$(process.env.CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST))return q;let z={};for(let[B,Q]of Object.entries(q))if(!F(B))z[B]=Q;return z}function h(q){if(!q||!W)return q||{};let z={};for(let[B,Q]of Object.entries(q))if(!W.has(B))z[B]=Q;return z}function J(q){return h(_(R(q)))}function r(){if(W===void 0)W=process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop"?new Set(Object.keys(process.env)):null;Object.assign(process.env,J(Z().env));for(let z of w){if(z==="policySettings")continue;if(!I(z))continue;Object.assign(process.env,J(X(z)?.env))}N(),Object.assign(process.env,J(X("policySettings")?.env));let q=J(Y()?.env);for(let[z,B]of Object.entries(q))if(U.has(z.toUpperCase()))process.env[z]=B}function g(){Object.assign(process.env,J(Z().env)),Object.assign(process.env,J(Y()?.env)),L(),O(),H(),x()}var W,w;var j=G(()=>{p();P();M();b();A();V();k();D();K();w=["userSettings","flagSettings","policySettings"]});
|
|
2
|
-
export{r as Rc,g as Sc,j as Tc};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Yf as EG,Zf as iG,dg as rG}from"./cli-1.1.0-avpw9ja1.mjs";import{$M as kG,$N as s,AF as mG,GM as LG,HM as BG,JM as pG,LM as WG,MM as qG,RM as a,TN as bG,VM as DG,WN as sG,Ws as uG,XM as y,YM as o,ZM as lG,_N as f,aO as c,bO as v,cO as i,eN as _G,fO as u,iy as l,jO as cG,jy as jG,kn as FG,ky as HG,ln as OG,ly as dG,nN as aG,pn as VG,vN as $G,wN as oG,xs as vG,zF as KG,zn as fG}from"./cli-1.1.0-27q99qxg.mjs";import{wZ as QJ}from"./cli-1.1.0-3bm55s4g.mjs";import{h4 as wG,j4 as PG}from"./cli-1.1.0-2g3ef6xx.mjs";import{k4 as YG}from"./cli-1.1.0-0hf961r9.mjs";import{Kca as zG,Lga as R,Mga as _,Pca as CG,Pga as gG}from"./cli-1.1.0-f2zea2vz.mjs";import{$ha as NG}from"./cli-1.1.0-pagxnvrp.mjs";import{mja as A,pja as MG}from"./cli-1.1.0-z8gyd4hj.mjs";import{Zja as yG,pka as ZG,ska as SG}from"./cli-1.1.0-6h9f0djh.mjs";import{Pka as h,Wka as TG}from"./cli-1.1.0-x1d428kd.mjs";import{Pqa as XG,Qma as QG}from"./cli-1.1.0-q0xhsdq5.mjs";import{usa as r,ysa as p}from"./cli-1.1.0-t314tbev.mjs";var e=p(()=>{yG();NG()});function GG(Z){let z="plugin"in Z?Z.plugin:"no-plugin";return`${Z.type}:${Z.source}:${z}`}function JG(Z,z){if(z.length===0)return;Z((k)=>{let U=new Set(k.plugins.errors.map((j)=>GG(j))),$=z.filter((j)=>!U.has(GG(j)));if($.length===0)return k;return{...k,plugins:{...k.plugins,errors:[...k.plugins.errors,...$]}}})}function GJ(Z,z,k,U){let $=z==="disabled"?U??[]:U;if($===void 0)return Z;let j=new Map;for(let W of $)if(W.name!==void 0)j.set(W.name,W);let V=[],P=new Set;for(let W of Z){if(!W.name?.startsWith(k)){V.push(W);continue}let w=j.get(W.name);if(w)V.push(w),P.add(W.name)}for(let W of $)if(W.name===void 0||!P.has(W.name))V.push(W);return V}function IG(Z,z=!1){let k=HG(),U=l((G)=>G.authVersion),$=l((G)=>G.mcp.pluginReconnectKey),j=jG(),V=D.useRef(new Map),P=D.useRef(new Set),W=D.useRef(null);D.useEffect(()=>{},[j]);let{addNotification:w}=KG(),RG=16,d=D.useRef([]),N=D.useRef(null),C=D.useCallback(()=>{N.current=null;let G=d.current;if(G.length===0)return;d.current=[],j((Y)=>{let F=Y.mcp;for(let B of G){let{tools:X,commands:H,resources:q,...J}=B,K=J.type==="disabled"||J.type==="failed"?H??[]:H,Q=J.type==="disabled"||J.type==="failed"?q??[]:q,O=zG(J.name),I=F.clients.findIndex((M)=>M.name===J.name)===-1?[...F.clients,J]:F.clients.map((M)=>M.name===J.name?J:M),g=GJ(F.tools,J.type,O,X),x=K===void 0?F.commands:[...$G(F.commands,(M)=>kG(M,J.name)),...K],m=Q===void 0?F.resources:{...F.resources,...Q.length>0?{[J.name]:Q}:EG(F.resources,J.name)};F={...F,clients:I,tools:g,commands:x,resources:m}}return{...Y,mcp:F}})},[j]),b=D.useCallback((G)=>{if(d.current.push(G),N.current===null)N.current=setTimeout(C,RG)},[C]),E=D.useCallback(({client:G,tools:Y,commands:F,resources:B})=>{switch(b({...G,tools:Y,commands:F,resources:B}),G.type){case"connected":{if(bG(G.client,G.name,j),G.client.onclose=()=>{let X=G.config.type??"stdio";if(u(G.name,G.config).catch(()=>{ZG(`Failed to invalidate the server cache: ${G.name}`)}),y(G.name)){_(G.name,"Server is disabled, skipping automatic reconnection");return}if(X!=="stdio"&&X!=="sdk"){let H=JJ(X);_(G.name,`${H} transport closed/disconnected, attempting automatic reconnection`);let q=V.current.get(G.name);if(q)clearTimeout(q),V.current.delete(G.name);(async()=>{for(let K=1;K<=T;K++){if(y(G.name)){_(G.name,"Server disabled during reconnection, stopping retry"),V.current.delete(G.name);return}b({...G,type:"pending",reconnectAttempt:K,maxReconnectAttempts:T});let Q=Date.now();try{let L=await v(G.name,G.config),I=Date.now()-Q;if(L.client.type==="connected"){_(G.name,`${H} reconnection successful after ${I}ms (attempt ${K})`),V.current.delete(G.name),E(L);return}if(_(G.name,`${H} reconnection attempt ${K} completed with status: ${L.client.type}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),E(L);return}}catch(L){let I=Date.now()-Q;if(R(G.name,`${H} reconnection attempt ${K} failed after ${I}ms: ${L}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),b({...G,type:"failed"});return}}let O=Math.min(tG*Math.pow(2,K-1),eG);_(G.name,`Scheduling reconnection attempt ${K+1} in ${O}ms`),await new Promise((L)=>{let I=setTimeout(L,O);V.current.set(G.name,I)})}})()}else b({...G,type:"failed"})},!1)switch(X.action){case"register":case"skip":}if(G.capabilities?.tools?.listChanged)G.client.setNotificationHandler(VG,async()=>{_(G.name,"Received tools/list_changed notification, refreshing tools");try{let X=f.cache.get(G.name);f.cache.delete(G.name);let H=await f(G),q=H.length;if(X)X.then((J)=>{A("tengu_mcp_list_changed",{type:"tools",previousCount:J.length,newCount:q})},()=>{A("tengu_mcp_list_changed",{type:"tools",newCount:q})});else A("tengu_mcp_list_changed",{type:"tools",newCount:q});b({...G,tools:H})}catch(X){R(G.name,`Failed to refresh tools after list_changed notification: ${h(X)}`)}});if(G.capabilities?.prompts?.listChanged)G.client.setNotificationHandler(OG,async()=>{_(G.name,"Received prompts/list_changed notification, refreshing prompts"),A("tengu_mcp_list_changed",{type:"prompts"});try{c.cache.delete(G.name);let[X,H]=await Promise.all([c(G),Promise.resolve([])]);b({...G,commands:[...X,...H]}),nG?.()}catch(X){R(G.name,`Failed to refresh prompts after list_changed notification: ${h(X)}`)}});if(G.capabilities?.resources?.listChanged)G.client.setNotificationHandler(FG,async()=>{_(G.name,"Received resources/list_changed notification, refreshing resources"),A("tengu_mcp_list_changed",{type:"resources"});try{s.cache.delete(G.name);{let X=await s(G);b({...G,resources:X})}}catch(X){R(G.name,`Failed to refresh resources after list_changed notification: ${h(X)}`)}});break}case"needs-auth":case"failed":case"pending":case"disabled":break}},[b]),t=QG();D.useEffect(()=>{async function G(){let{servers:Y,errors:F}=z?{servers:{},errors:[]}:await a(Z),B={...Y,...Z};JG(j,F),j((X)=>{let{stale:H,...q}=_G(X.mcp,B);for(let Q of H){let O=V.current.get(Q.name);if(O)clearTimeout(O),V.current.delete(Q.name);if(Q.type==="connected")Q.client.onclose=void 0,u(Q.name,Q.config).catch(()=>{})}let J=new Set(q.clients.map((Q)=>Q.name)),K=Object.entries(B).filter(([Q])=>!J.has(Q)).map(([Q,O])=>({name:Q,type:y(Q)?"disabled":"pending",config:O}));if(K.length===0&&H.length===0)return X;return{...X,mcp:{...X.mcp,...q,clients:[...q.clients,...K]}}})}G().catch((Y)=>{R("useManageMCPConnections",`Failed to initialize servers as pending: ${h(Y)}`)})},[z,Z,j,t,$]),D.useEffect(()=>{let G=!1;async function Y(){let F;if(z||DG())F=Promise.resolve({});else BG(),F=LG();let{servers:B,errors:X}=z?{servers:{},errors:[]}:await a(Z,F);if(G)return;JG(j,X);let H={...B,...Z},q=Object.fromEntries(Object.entries(H).filter(([O])=>!y(O)));i(E,q).catch((O)=>{R("useManageMcpConnections",`Failed to get MCP resources: ${h(O)}`)});let J={};if(!z){if(J=qG(await F).allowed,G)return;if(Object.keys(J).length>0){let{servers:O}=WG(J,H);J=O}if(Object.keys(J).length>0){j((L)=>{let I=new Set(L.mcp.clients.map((x)=>x.name)),g=Object.entries(J).filter(([x])=>!I.has(x)).map(([x,m])=>({name:x,type:y(x)?"disabled":"pending",config:m}));if(g.length===0)return L;return{...L,mcp:{...L.mcp,clients:[...L.mcp.clients,...g]}}});let O=Object.fromEntries(Object.entries(J).filter(([L])=>!y(L)));i(E,O).catch((L)=>{R("useManageMcpConnections",`Failed to get claude.ai MCP resources: ${h(L)}`)})}}let K={...H,...J},Q={enterprise:0,global:0,project:0,user:0,plugin:0,claudeai:0};for(let O of Object.values(K))if(O.scope==="enterprise")Q.enterprise++;else if(O.scope==="user")Q.global++;else if(O.scope==="project")Q.project++;else if(O.scope==="local")Q.user++;else if(O.scope==="dynamic")Q.plugin++;else if(O.scope==="claudeai")Q.claudeai++;A("tengu_mcp_servers",{...Q})}return Y(),()=>{G=!0}},[z,Z,E,j,U,t,$]),D.useEffect(()=>{let G=V.current;return()=>{for(let Y of G.values())clearTimeout(Y);if(G.clear(),N.current!==null)clearTimeout(N.current),N.current=null,C()}},[C]);let AG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((X)=>X.name===G);if(!Y)throw Error(`MCP server ${G} not found`);let F=V.current.get(G);if(F)clearTimeout(F),V.current.delete(G);let B=await v(G,Y.config);return E(B),B},[k,E]),hG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((B)=>B.name===G);if(!Y)throw Error(`MCP server ${G} not found`);if(Y.type!=="disabled"){let B=V.current.get(G);if(B)clearTimeout(B),V.current.delete(G);if(o(G,!1),Y.type==="connected")await u(G,Y.config);b({name:G,type:"disabled",config:Y.config})}else{o(G,!0),b({name:G,type:"pending",config:Y.config});let B=await v(G,Y.config);E(B)}},[k,b,E]);return{reconnectMcpServer:AG,toggleMcpServer:hG}}function JJ(Z){switch(Z){case"http":return"HTTP";case"ws":case"ws-ide":return"WebSocket";default:return"SSE"}}var D,nG=null,T=5,tG=1000,eG=30000;var UG=p(()=>{XG();cG();fG();iG();oG();MG();lG();SG();XG();mG();dG();TG();gG();uG();rG();e();pG();sG();CG();aG();vG();D=r(YG(),1)});function aJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpReconnect must be used within MCPConnectionManager");return Z.reconnectMcpServer}function oJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpToggleEnabled must be used within MCPConnectionManager");return Z.toggleMcpServer}function sJ(Z){let z=xG.c(6),{children:k,dynamicMcpConfig:U,isStrictMcpConfig:$}=Z,{reconnectMcpServer:j,toggleMcpServer:V}=IG(U,$),P;if(z[0]!==j||z[1]!==V)P={reconnectMcpServer:j,toggleMcpServer:V},z[0]=j,z[1]=V,z[2]=P;else P=z[2];let W=P,w;if(z[3]!==k||z[4]!==W)w=wG(n.Provider,{value:W,children:k}),z[3]=k,z[4]=W,z[5]=w;else w=z[5];return w}var xG,S,n;var XJ=p(()=>{UG();PG();xG=r(QJ(),1),S=r(YG(),1),n=S.createContext(null)});
|
|
2
|
-
export{e as Tf,aJ as Uf,oJ as Vf,sJ as Wf,XJ as Xf};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{F4 as m}from"./cli-1.1.0-8t3nbehc.mjs";import{D8 as K,V8 as $}from"./cli-1.1.0-kb88a691.mjs";import{Mea as Q,Pea as J,Pga as Z,ifa as Y,jea as X}from"./cli-1.1.0-f2zea2vz.mjs";import{lja as W}from"./cli-1.1.0-ab3nq7yd.mjs";import{ysa as V}from"./cli-1.1.0-t314tbev.mjs";function y(){let z=K()?.organizationUuid;if(!z)return null;let B=J().overageCreditGrantCache?.[z];if(!B)return null;if(Date.now()-B.timestamp>q)return null;return B.info}function G(){let z=K()?.organizationUuid;if(!z)return;let B=J().overageCreditGrantCache;if(!B||!(z in B))return;Q((N)=>{let P={...N.overageCreditGrantCache};return delete P[z],{...N,overageCreditGrantCache:P}})}function U(z){if(z.amount_minor_units==null||!z.currency)return null;if(z.currency.toUpperCase()==="USD"){let B=z.amount_minor_units/100;return Number.isInteger(B)?`$${B}`:`$${B.toFixed(2)}`}return null}var q=3600000;var w=V(()=>{W();$();Y();Z();X();m()});
|
|
2
|
-
export{y as Qi,G as Ri,U as Si,w as Ti};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ala as q,kla as U}from"./cli-1.1.0-anh31kw5.mjs";import{xsa as L,ysa as X}from"./cli-1.1.0-t314tbev.mjs";import{AsyncLocalStorage as F}from"async_hooks";function G(){return O.getStore()}function Y(z,B){return O.run(z,B)}function Z(){return O.getStore()!==void 0}function $(z){return{...z,isInProcess:!0}}var O;var Q=X(()=>{O=new F});var y={};L(y,{waitForTeammatesToBecomeIdle:()=>l,setDynamicTeamContext:()=>b,runWithTeammateContext:()=>Y,isTeammate:()=>u,isTeamLead:()=>S,isPlanModeRequired:()=>w,isInProcessTeammate:()=>Z,hasWorkingInProcessTeammates:()=>I,hasActiveInProcessTeammates:()=>P,getTeammateContext:()=>G,getTeammateColor:()=>f,getTeamName:()=>h,getParentSessionId:()=>_,getDynamicTeamContext:()=>v,getAgentName:()=>A,getAgentId:()=>E,createTeammateContext:()=>$,clearDynamicTeamContext:()=>j});function _(){let z=G();if(z)return z.parentSessionId;return D?.parentSessionId}function b(z){D=z}function j(){D=null}function v(){return D}function E(){let z=G();if(z)return z.agentId;return D?.agentId}function A(){let z=G();if(z)return z.agentName;return D?.agentName}function h(z){let B=G();if(B)return B.teamName;if(D?.teamName)return D.teamName;return z?.teamName}function u(){if(G())return!0;return!!(D?.agentId&&D?.teamName)}function f(){let z=G();if(z)return z.color;return D?.color}function w(){let z=G();if(z)return z.planModeRequired;if(D!==null)return D.planModeRequired;return q(process.env.CLAUDE_CODE_PLAN_MODE_REQUIRED)}function S(z){if(!z?.leadAgentId)return!1;let B=E(),H=z.leadAgentId;if(B===H)return!0;if(!B)return!0;return!1}function P(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running")return!0;return!1}function I(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running"&&!B.isIdle)return!0;return!1}function l(z,B){let H=[];for(let[M,J]of Object.entries(B.tasks))if(J.type==="in_process_teammate"&&J.status==="running"&&!J.isIdle)H.push(M);if(H.length===0)return Promise.resolve();return new Promise((M)=>{let J=H.length,R=()=>{if(J--,J===0)M()};z((V)=>{let N={...V.tasks};for(let W of H){let K=N[W];if(K&&K.type==="in_process_teammate")if(K.isIdle)R();else N[W]={...K,onIdleCallbacks:[...K.onIdleCallbacks??[],R]}}return{...V,tasks:N}})})}var D=null;var g=X(()=>{Q();U();Q()});
|
|
2
|
-
export{G as PX,Y as QX,Z as RX,$ as SX,Q as TX,_ as UX,v as VX,E as WX,A as XX,h as YX,u as ZX,f as _X,w as $X,S as aY,P as bY,I as cY,l as dY,y as eY,g as fY};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Fo as E,Go as m,Gp as l,Ho as Xq,Ip as Rq,Jp as i,Kp as Aq,ap as S,fp as Zq}from"./cli-1.1.0-27q99qxg.mjs";import{Aca as n,Fca as vq,Hga as D,Pga as Qq,uca as u,wca as g,zca as h}from"./cli-1.1.0-f2zea2vz.mjs";import{sia as d,uia as Uq}from"./cli-1.1.0-zjdhcx9g.mjs";import{Uja as P,Vja as v,Zja as f,bka as M,fka as y,pka as V,ska as e}from"./cli-1.1.0-6h9f0djh.mjs";import{Pka as W,Qka as O,Rka as C,Wka as _}from"./cli-1.1.0-x1d428kd.mjs";import{$ra as qq,Jra as p}from"./cli-1.1.0-kyvxb684.mjs";import{ysa as N}from"./cli-1.1.0-t314tbev.mjs";import{homedir as a}from"os";import{resolve as t}from"path";async function Fq(Z){let q=Z.trim(),$=M(),Q=q.match(/^([a-zA-Z0-9._-]+@[^:]+:.+?(?:\.git)?)(#(.+))?$/);if(Q?.[1]){let z=Q[1],G=Q[3];return G?{source:"git",url:z,ref:G}:{source:"git",url:z}}if(q.startsWith("http://")||q.startsWith("https://")){let z=q.match(/^([^#]+)(#(.+))?$/),G=z?.[1]||q,X=z?.[3];if(G.endsWith(".git")||G.includes("/_git/"))return X?{source:"git",url:G,ref:X}:{source:"git",url:G};let Y;try{Y=new URL(G)}catch(J){return{source:"url",url:G}}if(Y.hostname==="github.com"||Y.hostname==="www.github.com"){if(Y.pathname.match(/^\/([^/]+\/[^/]+?)(\/|\.git|$)/)?.[1]){let K=G.endsWith(".git")?G:`${G}.git`;return X?{source:"git",url:K,ref:X}:{source:"git",url:K}}}return{source:"url",url:G}}let x=process.platform==="win32"&&(q.startsWith(".\\")||q.startsWith("..\\")||/^[a-zA-Z]:[/\\]/.test(q));if(q.startsWith("./")||q.startsWith("../")||q.startsWith("/")||q.startsWith("~")||x){let z=t(q.startsWith("~")?q.replace(/^~/,a()):q),G;try{G=await $.stat(z)}catch(X){let Y=O(X);return{error:Y==="ENOENT"?`Path does not exist: ${z}`:`Cannot access path: ${z} (${Y??X})`}}if(G.isFile())if(z.endsWith(".json"))return{source:"file",path:z};else return{error:`File path must point to a .json file (marketplace.json), but got: ${z}`};else if(G.isDirectory())return{source:"directory",path:z};else return{error:`Path is neither a file nor a directory: ${z}`}}if(q.includes("/")&&!q.startsWith("@")){if(q.includes(":"))return null;let z=q.match(/^([^#@]+)(?:[#@](.+))?$/),G=z?.[1]||q,X=z?.[2];return X?{source:"github",repo:G,ref:X}:{source:"github",repo:G}}return null}var r=N(()=>{_();y()});import{randomBytes as $q}from"crypto";import{readFile as Bq,rename as Gq,unlink as Yq,writeFile as Jq}from"fs/promises";import{join as Kq}from"path";function c(){return Kq(S(),xq)}async function Hq(){let Z=c();try{let q=await Bq(Z,{encoding:"utf-8"}),$=v(q);if(typeof $!=="object"||$===null||!("version"in $)||!("fetchedAt"in $)||!("counts"in $))return V("Install counts cache has invalid structure"),null;let Q=$;if(Q.version!==L)return V(`Install counts cache version mismatch (got ${Q.version}, expected ${L})`),null;if(typeof Q.fetchedAt!=="string"||!Array.isArray(Q.counts))return V("Install counts cache has invalid structure"),null;let B=new Date(Q.fetchedAt).getTime();if(Number.isNaN(B))return V("Install counts cache has invalid fetchedAt timestamp"),null;if(!Q.counts.every((G)=>typeof G==="object"&&G!==null&&typeof G.plugin==="string"&&typeof G.unique_installs==="number"))return V("Install counts cache has malformed entries"),null;if(Date.now()-B>zq)return V("Install counts cache is stale (>24h old)"),null;return{version:Q.version,fetchedAt:Q.fetchedAt,counts:Q.counts}}catch(q){if(O(q)!=="ENOENT")V(`Failed to load install counts cache: ${W(q)}`);return null}}async function Vq(Z){let q=c(),$=`${q}.${$q(8).toString("hex")}.tmp`;try{let Q=S();await M().mkdir(Q);let B=P(Z,null,2);await Jq($,B,{encoding:"utf-8",mode:384}),await Gq($,q),V("Install counts cache saved successfully")}catch(Q){D(Q);try{await Yq($)}catch{}}}async function Wq(){V(`Fetching install counts from ${I}`);let Z=performance.now();try{let q=await p.get(I,{timeout:1e4});if(!q.data?.plugins||!Array.isArray(q.data.plugins))throw Error("Invalid response format from install counts API");return E("install_counts",I,"success",performance.now()-Z),q.data.plugins}catch(q){throw E("install_counts",I,"failure",performance.now()-Z,m(q)),q}}async function nq(){let Z=await Hq();if(Z){V("Using cached install counts"),E("install_counts",I,"cache_hit",0);let q=new Map;for(let $ of Z.counts)q.set($.plugin,$.unique_installs);return q}try{let q=await Wq(),$={version:L,fetchedAt:new Date().toISOString(),counts:q};await Vq($);let Q=new Map;for(let B of q)Q.set(B.plugin,B.unique_installs);return Q}catch(q){return D(q),V(`Failed to fetch install counts: ${W(q)}`),null}}function lq(Z){if(Z<1000)return String(Z);if(Z<1e6){let B=(Z/1000).toFixed(1);return B.endsWith(".0")?`${B.slice(0,-2)}K`:`${B}K`}let $=(Z/1e6).toFixed(1);return $.endsWith(".0")?`${$.slice(0,-2)}M`:`${$}M`}var L=1,xq="install-counts-cache.json",I="https://raw.githubusercontent.com/anthropics/claude-plugins-official/refs/heads/stats/stats/plugin-installs.json",zq=86400000;var Oq=N(()=>{qq();e();_();y();Qq();f();Xq();Zq()});import{readdir as Iq,readFile as A,stat as wq}from"fs/promises";import*as H from"path";function Eq(Z){let q=H.basename(Z),$=H.basename(H.dirname(Z));if(q==="plugin.json")return"plugin";if(q==="marketplace.json")return"marketplace";if($===".claude-plugin")return"plugin";return"unknown"}function F(Z){return Z.issues.map((q)=>({path:q.path.join(".")||"root",message:q.message,code:q.code}))}function w(Z,q,$,Q){if(Z.includes(".."))$.push({path:q,message:Q?`Path contains "..": ${Z}. ${Q}`:`Path contains ".." which could be a path traversal attempt: ${Z}`})}function Nq(Z){let q=Z.replace(/^(\.\.\/)+/,"");return`Plugin source paths are resolved relative to the marketplace root (the directory containing .claude-plugin/), not relative to marketplace.json. Use "${q!==Z?`./${q}`:"./plugins/my-plugin"}" instead of "${Z}".`}async function j(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"plugin"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"plugin"}}if(x&&typeof x==="object"){let X=x;if(X.commands)(Array.isArray(X.commands)?X.commands:[X.commands]).forEach((J,K)=>{if(typeof J==="string")w(J,`commands[${K}]`,q)});if(X.agents)(Array.isArray(X.agents)?X.agents:[X.agents]).forEach((J,K)=>{if(typeof J==="string")w(J,`agents[${K}]`,q)});if(X.skills)(Array.isArray(X.skills)?X.skills:[X.skills]).forEach((J,K)=>{if(typeof J==="string")w(J,`skills[${K}]`,q)})}let z=x;if(typeof x==="object"&&x!==null){let X=x,Y=Object.keys(X).filter((J)=>Mq.has(J));if(Y.length>0){let J={...X};for(let K of Y)delete J[K],$.push({path:K,message:`Field '${K}' belongs in the marketplace entry (marketplace.json), `+"not plugin.json. It's harmless here but unused — Claude Code "+"ignores it at load time."});z=J}}let G=g().strict().safeParse(z);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(X.name))$.push({path:"name",message:`Plugin name "${X.name}" is not kebab-case. Claude Code accepts it, but the Claude.ai marketplace sync requires kebab-case (lowercase letters, digits, and hyphens only, e.g., "my-plugin").`});if(!X.version)$.push({path:"version",message:'No version specified. Consider adding a version following semver (e.g., "1.0.0")'});if(!X.description)$.push({path:"description",message:"No description provided. Adding a description helps users understand what your plugin does"});if(!X.author)$.push({path:"author",message:"No author information provided. Consider adding author details for plugin attribution"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"plugin"}}async function k(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"marketplace"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"marketplace"}}if(x&&typeof x==="object"){let X=x;if(Array.isArray(X.plugins))X.plugins.forEach((Y,J)=>{if(Y&&typeof Y==="object"&&"source"in Y){let K=Y.source;if(typeof K==="string")w(K,`plugins[${J}].source`,q,Nq(K));if(K&&typeof K==="object"&&"path"in K&&typeof K.path==="string")w(K.path,`plugins[${J}].source.path`,q)}})}let G=n().extend({plugins:d.array(h().strict())}).strict().safeParse(x);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!X.plugins||X.plugins.length===0)$.push({path:"plugins",message:"Marketplace has no plugins defined"});if(X.plugins){X.plugins.forEach((K,U)=>{if(X.plugins.filter((R)=>R.name===K.name).length>1)q.push({path:`plugins[${U}].name`,message:`Duplicate plugin name "${K.name}" found in marketplace`})});let Y=H.dirname(Q),J=H.basename(Y)===".claude-plugin"?H.dirname(Y):Y;for(let[K,U]of X.plugins.entries()){if(!U.version||typeof U.source!=="string"||!U.source.startsWith("./"))continue;let T=H.join(J,U.source,".claude-plugin","plugin.json"),R;try{let s=await A(T,{encoding:"utf-8"}),b=v(s);if(typeof b.version==="string")R=b.version}catch{continue}if(R&&R!==U.version)$.push({path:`plugins[${K}].version`,message:`Entry declares version "${U.version}" but ${U.source}/.claude-plugin/plugin.json says "${R}". `+"At install time, plugin.json wins (calculatePluginVersion precedence) — the entry version is silently ignored. "+`Update this entry to "${R}" to match.`})}}if(!X.metadata?.description)$.push({path:"metadata.description",message:"No marketplace description provided. Adding a description helps users understand what this marketplace offers"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"marketplace"}}function _q(Z,q,$){let Q=[],B=[],x=q.match(i);if(!x)return B.push({path:"frontmatter",message:"No frontmatter block found. Add YAML frontmatter between --- delimiters at the top of the file to set description and other metadata."}),{success:!0,errors:Q,warnings:B,filePath:Z,fileType:$};let z=x[1]||"",G;try{G=l(z)}catch(K){return Q.push({path:"frontmatter",message:`YAML frontmatter failed to parse: ${W(K)}. At runtime this ${$} loads with empty metadata (all frontmatter fields silently dropped).`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$}}if(G===null||typeof G!=="object"||Array.isArray(G))return Q.push({path:"frontmatter",message:`Frontmatter must be a YAML mapping (key: value pairs), got ${Array.isArray(G)?"an array":G===null?"null":typeof G}.`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$};let X=G;if(X.description!==void 0){let K=X.description;if(typeof K!=="string"&&typeof K!=="number"&&typeof K!=="boolean"&&K!==null)Q.push({path:"description",message:`description must be a string, got ${Array.isArray(K)?"array":typeof K}. At runtime this value is dropped.`})}else B.push({path:"description",message:`No description in frontmatter. A description helps users and Claude understand when to use this ${$}.`});if(X.name!==void 0&&X.name!==null&&typeof X.name!=="string")Q.push({path:"name",message:`name must be a string, got ${typeof X.name}.`});let Y=X["allowed-tools"];if(Y!==void 0&&Y!==null){if(typeof Y!=="string"&&!Array.isArray(Y))Q.push({path:"allowed-tools",message:`allowed-tools must be a string or array of strings, got ${typeof Y}.`});else if(Array.isArray(Y)&&Y.some((K)=>typeof K!=="string"))Q.push({path:"allowed-tools",message:"allowed-tools array must contain only strings."})}let J=X.shell;if(J!==void 0&&J!==null)if(typeof J!=="string")Q.push({path:"shell",message:`shell must be a string, got ${typeof J}.`});else{let K=J.trim().toLowerCase();if(K!=="bash"&&K!=="powershell")Q.push({path:"shell",message:`shell must be 'bash' or 'powershell', got '${J}'.`})}return{success:Q.length===0,errors:Q,warnings:B,filePath:Z,fileType:$}}async function Lq(Z){let q;try{q=await A(Z,{encoding:"utf-8"})}catch(B){if(O(B)==="ENOENT")return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"};return{success:!1,errors:[{path:"file",message:`Failed to read file: ${W(B)}`}],warnings:[],filePath:Z,fileType:"hooks"}}let $;try{$=v(q)}catch(B){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(B)}. At runtime this breaks the entire plugin load.`}],warnings:[],filePath:Z,fileType:"hooks"}}let Q=u().safeParse($);if(!Q.success)return{success:!1,errors:F(Q.error),warnings:[],filePath:Z,fileType:"hooks"};return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"}}async function o(Z,q){let $;try{$=await Iq(Z,{withFileTypes:!0})}catch(B){let x=O(B);if(x==="ENOENT"||x==="ENOTDIR")return[];throw B}if(q)return $.filter((B)=>B.isDirectory()).map((B)=>H.join(Z,B.name,"SKILL.md"));let Q=[];for(let B of $){let x=H.join(Z,B.name);if(B.isDirectory())Q.push(...await o(x,!1));else if(B.isFile()&&B.name.toLowerCase().endsWith(".md"))Q.push(x)}return Q}async function QQ(Z){let q=[],$=[["skill",H.join(Z,"skills")],["agent",H.join(Z,"agents")],["command",H.join(Z,"commands")]];for(let[B,x]of $){let z=await o(x,B==="skill");for(let G of z){let X;try{X=await A(G,{encoding:"utf-8"})}catch(J){if(C(J))continue;q.push({success:!1,errors:[{path:"file",message:`Failed to read: ${W(J)}`}],warnings:[],filePath:G,fileType:B});continue}let Y=_q(G,X,B);if(Y.errors.length>0||Y.warnings.length>0)q.push(Y)}}let Q=await Lq(H.join(Z,"hooks","hooks.json"));if(Q.errors.length>0||Q.warnings.length>0)q.push(Q);return q}async function XQ(Z){let q=H.resolve(Z),$=null;try{$=await wq(q)}catch(B){if(!C(B))throw B}if($?.isDirectory()){let B=H.join(q,".claude-plugin","marketplace.json"),x=await k(B);if(x.errors[0]?.code!=="ENOENT")return x;let z=H.join(q,".claude-plugin","plugin.json"),G=await j(z);if(G.errors[0]?.code!=="ENOENT")return G;return{success:!1,errors:[{path:"directory",message:"No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json"}],warnings:[],filePath:q,fileType:"plugin"}}switch(Eq(Z)){case"plugin":return j(Z);case"marketplace":return k(Z);case"unknown":{try{let B=await A(q,{encoding:"utf-8"}),x=v(B);if(Array.isArray(x.plugins))return k(Z)}catch(B){if(O(B)==="ENOENT")return{success:!1,errors:[{path:"file",message:`File not found: ${q}`}],warnings:[],filePath:q,fileType:"plugin"}}return j(Z)}}}var Mq;var Dq=N(()=>{Uq();_();Aq();f();Rq();vq();Mq=new Set(["category","source","tags","strict","id"])});
|
|
2
|
-
export{Fq as qd,r as rd,nq as sd,lq as td,Oq as ud,QQ as vd,XQ as wd,Dq as xd};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{I_ as B,K_ as p}from"./cli-1.1.0-f2zea2vz.mjs";import{mja as C,pja as y}from"./cli-1.1.0-z8gyd4hj.mjs";import{Vja as T,Zja as x,pka as V,ska as M}from"./cli-1.1.0-6h9f0djh.mjs";import{Pka as L,Wka as c}from"./cli-1.1.0-x1d428kd.mjs";y();M();p();c();x();function N(W){if(W<60000)return`${Math.round(W/1000)}s`;let Z=Math.floor(W/60000),z=Math.round(W%60000/1000);return z>0?`${Z}m ${z}s`:`${Z}m`}function h(W){let z=(W.startsWith("sk-ant-si-")?W.slice(10):W).split(".");if(z.length!==3||!z[1])return null;try{return T(Buffer.from(z[1],"base64url").toString("utf8"))}catch{return null}}function E(W){let Z=h(W);if(Z!==null&&typeof Z==="object"&&"exp"in Z&&typeof Z.exp==="number")return Z.exp;return null}var F=300000,j=1800000,H=3,R=60000;function I({getAccessToken:W,onRefresh:Z,label:z,refreshBufferMs:P=F}){let O=new Map,v=new Map,w=new Map;function U(q){let Q=(w.get(q)??0)+1;return w.set(q,Q),Q}function A(q,Q){let $=E(Q);if(!$){V(`[${z}:token] Could not decode JWT expiry for sessionId=${q}, token prefix=${Q.slice(0,15)}…, keeping existing timer`);return}let X=O.get(q);if(X)clearTimeout(X);let J=U(q),Y=new Date($*1000).toISOString(),G=$*1000-Date.now()-P;if(G<=0){V(`[${z}:token] Token for sessionId=${q} expires=${Y} (past or within buffer), refreshing immediately`),K(q,J);return}V(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(G)} (expires=${Y}, buffer=${P/1000}s)`);let k=setTimeout(K,G,q,J);O.set(q,k)}function D(q,Q){let $=O.get(q);if($)clearTimeout($);let X=U(q),J=Math.max(Q*1000-P,30000);V(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(J)} (expires_in=${Q}s, buffer=${P/1000}s)`);let Y=setTimeout(K,J,q,X);O.set(q,Y)}async function K(q,Q){let $;try{$=await W()}catch(J){V(`[${z}:token] getAccessToken threw for sessionId=${q}: ${L(J)}`,{level:"error"})}if(w.get(q)!==Q){V(`[${z}:token] doRefresh for sessionId=${q} stale (gen ${Q} vs ${w.get(q)}), skipping`);return}if(!$){let J=(v.get(q)??0)+1;if(v.set(q,J),V(`[${z}:token] No OAuth token available for refresh, sessionId=${q} (failure ${J}/${H})`,{level:"error"}),B("error","bridge_token_refresh_no_oauth"),J<H){let Y=setTimeout(K,R,q,Q);O.set(q,Y)}return}v.delete(q),V(`[${z}:token] Refreshing token for sessionId=${q}: new token prefix=${$.slice(0,15)}…`),C("tengu_bridge_token_refreshed",{}),Z(q,$);let X=setTimeout(K,j,q,Q);O.set(q,X),V(`[${z}:token] Scheduled follow-up refresh for sessionId=${q} in ${N(j)}`)}function S(q){U(q);let Q=O.get(q);if(Q)clearTimeout(Q),O.delete(q);v.delete(q)}function _(){for(let q of w.keys())U(q);for(let q of O.values())clearTimeout(q);O.clear(),v.clear()}return{schedule:A,scheduleFromExpiresIn:D,cancel:S,cancelAll:_}}
|
|
2
|
-
export{E as Wb,I as Xb};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{AS as jJ,BS as $V,So as IJ,Uo as cJ,bS as UJ,cj as pJ,dL as DJ,eL as BJ,fL as lJ}from"./cli-1.1.0-27q99qxg.mjs";import{Hga as G,L$ as mJ,O_ as c,Oda as m,P_ as fJ,Pea as YJ,Pga as dJ,U$ as NJ,Y$ as gJ,Yda as uJ,i$ as WJ,ifa as hJ,n$ as l}from"./cli-1.1.0-f2zea2vz.mjs";import{Aia as PJ,zia as U}from"./cli-1.1.0-2ynkx7mx.mjs";import{mja as f,pja as SJ}from"./cli-1.1.0-z8gyd4hj.mjs";import{bka as VJ,fka as bJ,pka as Q,ska as kJ}from"./cli-1.1.0-6h9f0djh.mjs";import{Pka as JJ,Wka as yJ}from"./cli-1.1.0-x1d428kd.mjs";import{Mma as qJ,Nma as zJ}from"./cli-1.1.0-q0xhsdq5.mjs";import{usa as wJ,ysa as _J}from"./cli-1.1.0-t314tbev.mjs";class p{paths=[];lowerPaths=[];charBits=new Int32Array(0);pathLens=new Uint16Array(0);topLevelCache=null;readyCount=0;loadFromFileList(J){let W=new Set,Z=[];for(let V of J)if(V.length>0&&!W.has(V))W.add(V),Z.push(V);this.buildIndex(Z)}loadFromFileListAsync(J){let W=()=>{},Z=new Promise((Y)=>{W=Y}),V=this.buildAsync(J,W);return{queryable:Z,done:V}}async buildAsync(J,W){let Z=new Set,V=[],Y=performance.now();for(let $=0;$<J.length;$++){let _=J[$];if(_.length>0&&!Z.has(_))Z.add(_),V.push(_);if(($&255)===255&&performance.now()-Y>4)await b(),Y=performance.now()}this.resetArrays(V),Y=performance.now();let X=!0;for(let $=0;$<V.length;$++)if(this.indexPath($),($&255)===255&&performance.now()-Y>4){if(this.readyCount=$+1,X)W(),X=!1;await b(),Y=performance.now()}this.readyCount=V.length,W()}buildIndex(J){this.resetArrays(J);for(let W=0;W<J.length;W++)this.indexPath(W);this.readyCount=J.length}resetArrays(J){let W=J.length;this.paths=J,this.lowerPaths=Array(W),this.charBits=new Int32Array(W),this.pathLens=new Uint16Array(W),this.readyCount=0,this.topLevelCache=LJ(J,100)}indexPath(J){let W=this.paths[J].toLowerCase();this.lowerPaths[J]=W;let Z=W.length;this.pathLens[J]=Z;let V=0;for(let Y=0;Y<Z;Y++){let X=W.charCodeAt(Y);if(X>=97&&X<=122)V|=1<<X-97}this.charBits[J]=V}search(J,W){if(W<=0)return[];if(J.length===0){if(this.topLevelCache)return this.topLevelCache.slice(0,W);return[]}let Z=J!==J.toLowerCase(),V=Z?J:J.toLowerCase(),Y=Math.min(V.length,64),X=Array(Y),$=0;for(let M=0;M<Y;M++){let B=V.charAt(M);X[M]=B;let E=B.charCodeAt(0);if(E>=97&&E<=122)$|=1<<E-97}let _=Y*24+8+32,H=[],N=-1/0,{paths:I,lowerPaths:q,charBits:x,pathLens:j,readyCount:g}=this;J:for(let M=0;M<g;M++){if((x[M]&$)!==$)continue;let B=Z?I[M]:q[M],E=B.indexOf(X[0]);if(E===-1)continue;y[0]=E;let C=0,u=0,h=E;for(let A=1;A<Y;A++){if(E=B.indexOf(X[A],h+1),E===-1)continue J;y[A]=E;let F=E-h-1;if(F===0)u+=4;else C+=3+F*1;h=E}if(H.length===W&&_+u-C<=N)continue;let S=I[M],vJ=j[M],T=Y*16+u-C;T+=HJ(S,y[0],!0);for(let A=1;A<Y;A++)T+=HJ(S,y[A],!1);if(T+=Math.max(0,32-(vJ>>2)),H.length<W){if(H.push({path:S,fuzzScore:T}),H.length===W)H.sort((A,F)=>A.fuzzScore-F.fuzzScore),N=H[0].fuzzScore}else if(T>N){let A=0,F=H.length;while(A<F){let d=A+F>>1;if(H[d].fuzzScore<T)A=d+1;else F=d}H.splice(A,0,{path:S,fuzzScore:T}),H.shift(),N=H[0].fuzzScore}}H.sort((M,B)=>B.fuzzScore-M.fuzzScore);let D=H.length,w=Math.max(D,1),z=Array(D);for(let M=0;M<D;M++){let B=H[M].path,E=M/w,C=B.includes("test")?Math.min(E*1.05,1):E;z[M]={path:B,score:C}}return z}}function HJ(J,W,Z){if(W===0)return Z?8:0;let V=J.charCodeAt(W-1);if(RJ(V))return 8;if(GJ(V)&&CJ(J.charCodeAt(W)))return 6;return 0}function RJ(J){return J===47||J===92||J===45||J===95||J===46||J===32}function GJ(J){return J>=97&&J<=122}function CJ(J){return J>=65&&J<=90}function b(){return new Promise((J)=>setImmediate(J))}function LJ(J,W){let Z=new Set;for(let Y of J){let X=Y.length;for(let _=0;_<Y.length;_++){let H=Y.charCodeAt(_);if(H===47||H===92){X=_;break}}let $=Y.slice(0,X);if($.length>0){if(Z.add($),Z.size>=W)break}}let V=Array.from(Z);return V.sort((Y,X)=>{let $=Y.length-X.length;if($!==0)return $;return Y<X?-1:Y>X?1:0}),V.slice(0,W).map((Y)=>({path:Y,score:0}))}var QJ=4,y;var MJ=_J(()=>{y=new Int32Array(64)});import{statSync as nJ}from"fs";import*as O from"path";function n(){if(!K)K=new p;return K}function vV(){K=null,v=null,R++,k=null,L=[],$J=[],XJ=[],ZJ.clear(),s=null,o=null,a=0,i=null,r=null,P=null}function xJ(J){let W=J.length,Z=Math.max(1,Math.floor(W/500)),V=-2128831035;for(let Y=0;Y<W;Y+=Z){let X=J[Y];for(let $=0;$<X.length;$++)V=(V^X.charCodeAt($))*16777619|0;V=V*16777619|0}if(W>0){let Y=J[W-1];for(let X=0;X<Y.length;X++)V=(V^Y.charCodeAt(X))*16777619|0}return`${W}:${(V>>>0).toString(16)}`}function sJ(){let J=WJ(U());if(!J)return null;try{return nJ(O.join(J,".git","index")).mtimeMs}catch{return null}}function OJ(J,W,Z){if(Z===W)return J;return J.map((V)=>{let Y=O.join(W,V);return O.relative(Z,Y)})}async function oJ(J){if(J.length===0)return;if(!K||L.length===0)return;let W=await FJ(J),Z=[...L,...$J,...XJ,...J,...W],V=xJ(Z);if(V===P){Q("[FileIndex] skipped index rebuild — merged paths unchanged");return}await K.loadFromFileListAsync(Z).done,P=V,Q(`[FileIndex] rebuilt index with ${L.length} tracked + ${J.length} untracked files`)}async function EJ(J,W){let Z=`${J}:${W}`;if(o===Z)return s;let V=VJ(),Y=[".ignore",".rgignore"],X=[...new Set([J,W])],$=KJ.default(),_=!1,H=X.flatMap((q)=>Y.map((x)=>O.join(q,x))),N=await Promise.all(H.map((q)=>V.readFile(q,{encoding:"utf8"}).catch(()=>null)));for(let[q,x]of N.entries()){if(x===null)continue;$.add(x),_=!0,Q(`[FileIndex] loaded ignore patterns from ${H[q]}`)}let I=_?$:null;return s=I,o=Z,I}async function aJ(J,W){let Z=Date.now();Q("[FileIndex] getFilesUsingGit called");let V=WJ(U());if(!V)return Q("[FileIndex] not a git repo, returning null"),null;try{let Y=U(),X=Date.now(),$=await c(l(),["-c","core.quotepath=false","ls-files","--recurse-submodules"],{timeout:5000,abortSignal:J,cwd:V});if(Q(`[FileIndex] git ls-files (tracked) took ${Date.now()-X}ms`),$.code!==0)return Q(`[FileIndex] git ls-files failed (code=${$.code}, stderr=${$.stderr}), falling back to ripgrep`),null;let _=$.stdout.trim().split(`
|
|
2
|
-
`).filter(Boolean),H=OJ(_,V,Y),N=await EJ(V,Y);if(N){let q=H.length;H=N.filter(H),Q(`[FileIndex] applied ignore patterns: ${q} -> ${H.length} files`)}L=H;let I=Date.now()-Z;if(Q(`[FileIndex] git ls-files: ${H.length} tracked files in ${I}ms`),f("tengu_file_suggestions_git_ls_files",{file_count:H.length,tracked_count:H.length,untracked_count:0,duration_ms:I}),!k){let q=W?["-c","core.quotepath=false","ls-files","--others","--exclude-standard"]:["-c","core.quotepath=false","ls-files","--others"],x=R;k=c(l(),q,{timeout:1e4,cwd:V}).then(async(j)=>{if(x!==R)return;if(j.code===0){let g=j.stdout.trim().split(`
|
|
3
|
-
`).filter(Boolean),D=OJ(g,V,Y),w=await EJ(V,Y);if(w&&D.length>0){let z=D.length;D=w.filter(D),Q(`[FileIndex] applied ignore patterns to untracked: ${z} -> ${D.length} files`)}Q(`[FileIndex] background untracked fetch: ${D.length} files`),oJ(D)}}).catch((j)=>{Q(`[FileIndex] background untracked fetch failed: ${j}`)}).finally(()=>{k=null})}return H}catch(Y){return Q(`[FileIndex] git ls-files error: ${JJ(Y)}`),null}}async function FJ(J){let W=new Set,Z=performance.now();for(let V=0;V<J.length;V++)if(iJ(J,V,V+1,W),(V&255)===255&&performance.now()-Z>QJ)await b(),Z=performance.now();return[...W].map((V)=>V+O.sep)}function iJ(J,W,Z,V){for(let Y=W;Y<Z;Y++){let X=O.dirname(J[Y]);while(X!=="."&&!V.has(X)){let $=O.dirname(X);if($===X)break;V.add(X),X=$}}}async function rJ(J){return(await Promise.all(DJ.map((Z)=>BJ(Z,J)))).flatMap((Z)=>Z.map((V)=>V.filePath))}async function tJ(J,W){Q(`[FileIndex] getProjectFiles called, respectGitignore=${W}`);let Z=await aJ(J,W);if(Z!==null)return Q(`[FileIndex] using git ls-files result (${Z.length} files)`),Z;return Q("[FileIndex] git ls-files returned null, falling back to ripgrep"),TJ(J,W)}async function TJ(J,W){let Z=Date.now(),V=["--files","--follow","--hidden","--glob","!.git/","--glob","!.svn/","--glob","!.hg/","--glob","!.bzr/","--glob","!.jj/","--glob","!.sl/"];if(!W)V.push("--no-ignore-vcs");let Y=U(),$=(await IJ(V,Y,J)).map((H)=>O.relative(Y,H)),_=Date.now()-Z;return Q(`[FileIndex] ripgrep: ${$.length} files in ${_}ms`),f("tengu_file_suggestions_ripgrep",{file_count:$.length,duration_ms:_}),$}async function RV(){let J=AbortSignal.timeout(1e4),W=m(),Z=YJ(),V=W.respectGitignore??Z.respectGitignore??!0;try{return await TJ(J,V)}catch(Y){return G(Y),[]}}async function eJ(){let J=AbortSignal.timeout(1e4),W=n();try{let Z=m(),V=YJ(),Y=Z.respectGitignore??V.respectGitignore??!0,X=U(),[$,_]=await Promise.all([tJ(J,Y),rJ(X)]);$J=_;let H=[...$,..._],N=await FJ(H);XJ=N;let I=[...N,...H],q=xJ(I);if(q!==r)await W.loadFromFileListAsync(I).done,r=q,P=null;else Q("[FileIndex] skipped index rebuild — tracked paths unchanged")}catch(Z){G(Z)}return W}function JV(J,W){let Z=Math.min(J.length,W.length),V=0;while(V<Z&&J[V]===W[V])V++;return J.substring(0,V)}function GV(J){if(J.length===0)return"";let W=J.map((V)=>V.displayText),Z=W[0];for(let V=1;V<W.length;V++){let Y=W[V];if(Z=JV(Z,Y),Z==="")return""}return Z}function t(J,W){return{id:`file-${J}`,displayText:J,metadata:W!==void 0?{score:W}:void 0}}function VV(J,W){return J.search(W,e).map((V)=>t(V.path,V.score))}function AJ(){if(v)return;let J=sJ();if(K){if(!(J!==null&&J!==i)&&Date.now()-a<WV)return}let W=R,Z=Date.now();n(),v=eJ().then((V)=>{if(W!==R)return V;return v=null,ZJ.emit(),i=J,a=Date.now(),Q(`[FileIndex] cache refresh completed in ${Date.now()-Z}ms`),V}).catch((V)=>{if(Q(`[FileIndex] Cache refresh failed: ${JJ(V)}`),G(V),W===R)v=null;return n()})}async function YV(){let J=VJ(),W=U();try{let Z=await J.readdir(W);return Z.sort((V,Y)=>{let X=V.isDirectory(),$=Y.isDirectory();if(X!==$)return X?-1:1;let _=V.name.startsWith("."),H=Y.name.startsWith(".");if(_!==H)return _?-1:1;return V.name.toLowerCase().localeCompare(Y.name.toLowerCase())}),Z.map((V)=>{let Y=O.join(W,V.name),X=O.relative(W,Y);return V.isDirectory()?X+O.sep:X})}catch(Z){return G(Z),[]}}async function CV(J,W=!1){if(!J&&!W)return[];if(m().fileSuggestion?.type==="command"){let V={...UJ(),query:J};return(await jJ(V)).slice(0,e).map(t)}if(J===""||J==="."||J==="./"){let V=await YV();return AJ(),V.slice(0,e).map(t)}let Z=Date.now();try{let V=v!==null;AJ();let Y=J,X="."+O.sep;if(J.startsWith(X))Y=J.substring(2);if(Y.startsWith("~"))Y=NJ(Y);let $=K?VV(K,Y):[],_=Date.now()-Z;return Q(`[FileIndex] generateFileSuggestions: ${$.length} results in ${_}ms (${V?"partial":"full"} index)`),f("tengu_file_suggestions_query",{duration_ms:_,cache_hit:!V,result_count:$.length,query_length:J.length}),$}catch(V){return G(V),[]}}function LV(J,W,Z,V,Y,X){let $=typeof J==="string"?J:J.displayText,_=W.substring(0,V)+$+W.substring(V+Z.length);Y(_);let H=V+$.length;X(H)}var KJ,K=null,v=null,ZJ,jV,R=0,k=null,L,$J,XJ,s=null,o=null,a=0,i=null,r=null,P=null,e=100,WV=5000;var ZV=_J(()=>{lJ();MJ();SJ();hJ();PJ();kJ();yJ();fJ();bJ();mJ();$V();dJ();gJ();cJ();uJ();zJ();KJ=wJ(pJ(),1);ZJ=qJ(),jV=ZJ.subscribe,L=[],$J=[],XJ=[]});
|
|
4
|
-
export{p as ii,MJ as ji,jV as ki,vV as li,RV as mi,GV as ni,AJ as oi,CV as pi,LV as qi,ZV as ri};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{wZ as f}from"./cli-1.1.0-3bm55s4g.mjs";import{h4 as p,j4 as c}from"./cli-1.1.0-2g3ef6xx.mjs";import{k4 as M}from"./cli-1.1.0-0hf961r9.mjs";import{usa as o}from"./cli-1.1.0-t314tbev.mjs";c();var n=o(f(),1),r=o(M(),1),d=r.createContext(void 0);function a(F){let e=n.c(3),{getFpsMetrics:s,children:i}=F,t;if(e[0]!==i||e[1]!==s)t=p(d.Provider,{value:s,children:i}),e[0]=i,e[1]=s,e[2]=t;else t=e[2];return t}function l(){return r.useContext(d)}
|
|
2
|
-
export{a as sb,l as tb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ysa as P}from"./cli-1.1.0-t314tbev.mjs";import{homedir as Q}from"os";import{join as F}from"path";function J(q){return{env:q?.env??process.env,home:q?.homedir??process.env.HOME??Q()}}function k(q){let{env:x,home:B}=J(q);return x.XDG_STATE_HOME??F(B,".local","state")}function w(q){let{env:x,home:B}=J(q);return x.XDG_CACHE_HOME??F(B,".cache")}function H(q){let{env:x,home:B}=J(q);return x.XDG_DATA_HOME??F(B,".local","share")}function g(q){let{home:x}=J(q);return F(x,".local","bin")}var V=()=>{};function W(q){let x=q,B="",C=0,K=10;while(x!==B&&C<K)B=x,x=x.normalize("NFKC"),x=x.replace(/[\p{Cf}\p{Co}\p{Cn}]/gu,""),x=x.replace(/[\u200B-\u200F]/g,"").replace(/[\u202A-\u202E]/g,"").replace(/[\u2066-\u2069]/g,"").replace(/[\uFEFF]/g,"").replace(/[\uE000-\uF8FF]/g,""),C++;if(C>=K)throw Error(`Unicode sanitization reached maximum iterations (${K}) for input: ${q.slice(0,100)}`);return x}function L(q){if(typeof q==="string")return W(q);if(Array.isArray(q))return q.map(L);if(q!==null&&typeof q==="object"){let x={};for(let[B,C]of Object.entries(q))x[L(B)]=L(C);return x}return q}var Y=()=>{};
|
|
2
|
-
export{k as tW,w as uW,H as vW,g as wW,V as xW,W as yW,L as zW,Y as AW};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{qsa as n}from"./cli-1.1.0-ah0k4q2s.mjs";import{wsa as r}from"./cli-1.1.0-t314tbev.mjs";var i=r((e)=>{Object.defineProperty(e,"__esModule",{value:!0});e.readFile=e.externalDataInterceptor=e.parseKnownFiles=e.loadSsoSessionData=e.loadSharedConfigFiles=e.CONFIG_PREFIX_SEPARATOR=e.getSSOTokenFromFile=e.getSSOTokenFilepath=e.getProfileName=e.DEFAULT_PROFILE=e.ENV_PROFILE=e.getHomeDir=void 0;var t=n();Object.defineProperty(e,"getHomeDir",{enumerable:!0,get:function(){return t.getHomeDir}});Object.defineProperty(e,"ENV_PROFILE",{enumerable:!0,get:function(){return t.ENV_PROFILE}});Object.defineProperty(e,"DEFAULT_PROFILE",{enumerable:!0,get:function(){return t.DEFAULT_PROFILE}});Object.defineProperty(e,"getProfileName",{enumerable:!0,get:function(){return t.getProfileName}});Object.defineProperty(e,"getSSOTokenFilepath",{enumerable:!0,get:function(){return t.getSSOTokenFilepath}});Object.defineProperty(e,"getSSOTokenFromFile",{enumerable:!0,get:function(){return t.getSSOTokenFromFile}});Object.defineProperty(e,"CONFIG_PREFIX_SEPARATOR",{enumerable:!0,get:function(){return t.CONFIG_PREFIX_SEPARATOR}});Object.defineProperty(e,"loadSharedConfigFiles",{enumerable:!0,get:function(){return t.loadSharedConfigFiles}});Object.defineProperty(e,"loadSsoSessionData",{enumerable:!0,get:function(){return t.loadSsoSessionData}});Object.defineProperty(e,"parseKnownFiles",{enumerable:!0,get:function(){return t.parseKnownFiles}});Object.defineProperty(e,"externalDataInterceptor",{enumerable:!0,get:function(){return t.externalDataInterceptor}});Object.defineProperty(e,"readFile",{enumerable:!0,get:function(){return t.readFile}})});
|
|
2
|
-
export{i as g_};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{Ira as w,sra as Q,tra as V,ura as W,vra as X,wra as Y,xra as Z}from"./cli-1.1.0-heqqh4q5.mjs";import{ysa as v}from"./cli-1.1.0-t314tbev.mjs";function J(j,z){if(!(j instanceof Error))return!1;for(let G=Object.getPrototypeOf(j);G!==null;G=Object.getPrototypeOf(G))if(G.constructor?.name===z)return!0;return!1}function S(j){return j instanceof Q||J(j,"APIError")}function k(j){return j instanceof W||J(j,"APIConnectionError")}function F(j){return j instanceof X||J(j,"APIConnectionTimeoutError")}function D(j){return j instanceof V||J(j,"APIUserAbortError")}function P(j){return j instanceof Y||J(j,"AuthenticationError")}function x(j){return j instanceof Z||J(j,"NotFoundError")}function y(j){return j instanceof _||D(j)||j instanceof Error&&j.name==="AbortError"}function f(j,z){return j instanceof Error&&j.message===z}function N(j){return j instanceof Error?j:Error(String(j))}function I(j){return j instanceof Error?j.message:String(j)}function $(j){if(j&&typeof j==="object"&&"code"in j&&typeof j.code==="string")return j.code;return}function A(j){return $(j)==="ENOENT"}function p(j){if(j&&typeof j==="object"&&"path"in j&&typeof j.path==="string")return j.path;return}function C(j,z=5){if(!(j instanceof Error))return String(j);if(!j.stack)return j.message;let G=j.stack.split(`
|
|
2
|
-
`),H=G[0]??j.message,K=G.slice(1).filter((q)=>q.trim().startsWith("at "));if(K.length<=z)return j.stack;return[H,...K.slice(0,z)].join(`
|
|
3
|
-
`)}function h(j){let z=$(j);return z==="ENOENT"||z==="EACCES"||z==="EPERM"||z==="ENOTDIR"||z==="ELOOP"}function E(j){let z=I(j);if(!j||typeof j!=="object"||!("isAxiosError"in j)||!j.isAxiosError)return{kind:"other",message:z};let G=j,H=G.response?.status;if(H===401||H===403)return{kind:"auth",status:H,message:z};if(G.code==="ECONNABORTED")return{kind:"timeout",status:H,message:z};if(G.code==="ECONNREFUSED"||G.code==="ENOTFOUND")return{kind:"network",status:H,message:z};return{kind:"http",status:H,message:z}}var B,L,_,T,O,R,U;var b=v(()=>{w();B=class B extends Error{constructor(j,z){super(j,z);this.name=this.constructor.name}};L=class L extends Error{};_=class _ extends Error{constructor(j){super(j);this.name="AbortError"}};T=class T extends Error{filePath;defaultConfig;constructor(j,z,G){super(j);this.name="ConfigParseError",this.filePath=z,this.defaultConfig=G}};O=class O extends Error{stdout;stderr;code;interrupted;constructor(j,z,G,H){super("Shell command failed");this.stdout=j;this.stderr=z;this.code=G;this.interrupted=H;this.name="ShellError"}};R=class R extends Error{formattedMessage;constructor(j,z){super(j);this.formattedMessage=z;this.name="TeleportOperationError"}};U=class U extends Error{telemetryMessage;constructor(j,z){super(j);this.name="TelemetrySafeError",this.telemetryMessage=z??j}}});
|
|
4
|
-
export{B as zka,L as Aka,_ as Bka,S as Cka,k as Dka,F as Eka,D as Fka,P as Gka,x as Hka,y as Ika,T as Jka,O as Kka,R as Lka,U as Mka,f as Nka,N as Oka,I as Pka,$ as Qka,A as Rka,p as Ska,C as Tka,h as Uka,E as Vka,b as Wka};
|