@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,18 +0,0 @@
|
|
|
1
|
-
import{asa as r$,bsa as N6,csa as XQ,dsa as M1,esa as KQ}from"./cli-1.1.0-80tgppc8.mjs";import{usa as n4,wsa as J4,xsa as Z8,ysa as T,zsa as K4}from"./cli-1.1.0-t314tbev.mjs";function t0($,Q){return function(){return $.apply(Q,arguments)}}var c4=()=>{};function f0($){return $!==null&&!m0($)&&$.constructor!==null&&!m0($.constructor)&&o($.constructor.isBuffer)&&$.constructor.isBuffer($)}function r6($){let Q;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)Q=ArrayBuffer.isView($);else Q=$&&$.buffer&&h1($.buffer);return Q}function K$(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;return{}}function e0($,Q,{allOwnKeys:Y=!1}={}){if($===null||typeof $>"u")return;let W,G;if(typeof $!=="object")$=[$];if(P0($))for(W=0,G=$.length;W<G;W++)Q.call(null,$[W],W,$);else{if(f0($))return;let J=Y?Object.getOwnPropertyNames($):Object.keys($),Z=J.length,z;for(W=0;W<Z;W++)z=J[W],Q.call(null,$[z],z,$)}}function u1($,Q){if(f0($))return null;Q=Q.toLowerCase();let Y=Object.keys($),W=Y.length,G;while(W-- >0)if(G=Y[W],Q===G.toLowerCase())return G;return null}function d4(...$){let{caseless:Q,skipUndefined:Y}=c1(this)&&this||{},W={},G=(J,Z)=>{if(Z==="__proto__"||Z==="constructor"||Z==="prototype")return;let z=Q&&typeof Z==="string"&&u1(W,Z)||Z,K=T4(W,z)?W[z]:void 0;if(_4(K)&&_4(J))W[z]=d4(K,J);else if(_4(J))W[z]=d4({},J);else if(P0(J))W[z]=J.slice();else if(!Y||!m0(J))W[z]=J};for(let J=0,Z=$.length;J<Z;J++){let z=$[J];if(!z||f0(z))continue;if(e0(z,G),typeof z!=="object"||P0(z))continue;let K=Object.getOwnPropertySymbols(z);for(let N=0;N<K.length;N++){let M=K[N];if(O$.call(z,M))G(z[M],M)}}return W}function b$($){return!!($&&o($.append)&&$[f1]==="FormData"&&$[o0])}var s6,y0,o0,f1,T4,r0=($,Q)=>{let Y=$,W=[];while(Y!=null&&Y!==Object.prototype){if(W.indexOf(Y)!==-1)return!1;if(W.push(Y),T4(Y,Q))return!0;Y=y0(Y)}return!1},t6=($,Q)=>$!=null&&r0($,Q)?$[Q]:void 0,l4,W0=($)=>{return $=$.toLowerCase(),(Q)=>l4(Q)===$},R4=($)=>(Q)=>typeof Q===$,P0,m0,h1,o6,o,g1,h0=($)=>$!==null&&typeof $==="object",e6=($)=>$===!0||$===!1,_4=($)=>{if(!h0($))return!1;let Q=y0($);return(Q===null||Q===Object.prototype||y0(Q)===null)&&!r0($,f1)&&!r0($,o0)},$$=($)=>{if(!h0($)||f0($))return!1;try{return Object.keys($).length===0&&Object.getPrototypeOf($)===Object.prototype}catch(Q){return!1}},Q$,Y$,W$=($)=>{return!!($&&typeof $.uri<"u")},G$=($)=>$&&typeof $.getParts<"u",Z$,J$,X$=($)=>h0($)&&o($.pipe),y1,m1,z$=($)=>{if(!$)return!1;if(m1&&$ instanceof m1)return!0;let Q=y0($);if(!Q||Q===Object.prototype)return!1;if(!o($.append))return!1;let Y=l4($);return Y==="formdata"||Y==="object"&&o($.toString)&&$.toString()==="[object FormData]"},N$,M$,B$,V$,I$,F$=($)=>{return $.trim?$.trim():$.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},q0,c1=($)=>!m0($)&&$!==q0,U$=($,Q,Y,{allOwnKeys:W}={})=>{return e0(Q,(G,J)=>{if(Y&&o(G))Object.defineProperty($,J,{__proto__:null,value:t0(G,Y),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty($,J,{__proto__:null,value:G,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:W}),$},L$=($)=>{if($.charCodeAt(0)===65279)$=$.slice(1);return $},w$=($,Q,Y,W)=>{$.prototype=Object.create(Q.prototype,W),Object.defineProperty($.prototype,"constructor",{__proto__:null,value:$,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty($,"super",{__proto__:null,value:Q.prototype}),Y&&Object.assign($.prototype,Y)},S$=($,Q,Y,W)=>{let G,J,Z,z={};if(Q=Q||{},$==null)return Q;do{G=Object.getOwnPropertyNames($),J=G.length;while(J-- >0)if(Z=G[J],(!W||W(Z,$,Q))&&!z[Z])Q[Z]=$[Z],z[Z]=!0;$=Y!==!1&&y0($)}while($&&(!Y||Y($,Q))&&$!==Object.prototype);return Q},D$=($,Q,Y)=>{if($=String($),Y===void 0||Y>$.length)Y=$.length;Y-=Q.length;let W=$.indexOf(Q,Y);return W!==-1&&W===Y},_$=($)=>{if(!$)return null;if(P0($))return $;let Q=$.length;if(!g1(Q))return null;let Y=Array(Q);while(Q-- >0)Y[Q]=$[Q];return Y},T$,R$=($,Q)=>{let W=($&&$[o0]).call($),G;while((G=W.next())&&!G.done){let J=G.value;Q.call($,J[0],J[1])}},q$=($,Q)=>{let Y,W=[];while((Y=$.exec(Q))!==null)W.push(Y);return W},P$,C$=($)=>{return $.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(Y,W,G){return W.toUpperCase()+G})},O$,H$,d1=($,Q)=>{let Y=Object.getOwnPropertyDescriptors($),W={};e0(Y,(G,J)=>{let Z;if((Z=Q(G,J,$))!==!1)W[J]=Z||G}),Object.defineProperties($,W)},E$=($)=>{d1($,(Q,Y)=>{if(o($)&&["arguments","caller","callee"].includes(Y))return!1;let W=$[Y];if(!o(W))return;if(Q.enumerable=!1,"writable"in Q){Q.writable=!1;return}if(!Q.set)Q.set=()=>{throw Error("Can not rewrite read-only method '"+Y+"'")}})},A$=($,Q)=>{let Y={},W=(G)=>{G.forEach((J)=>{Y[J]=!0})};return P0($)?W($):W(String($).split(Q)),Y},j$=()=>{},k$=($,Q)=>{return $!=null&&Number.isFinite($=+$)?$:Q},x$=($)=>{let Q=new WeakSet,Y=(W)=>{if(h0(W)){if(Q.has(W))return;if(f0(W))return W;if(!("toJSON"in W)){Q.add(W);let G=P0(W)?[]:{};return e0(W,(J,Z)=>{let z=Y(J);!m0(z)&&(G[Z]=z)}),Q.delete(W),G}}return W};return Y($)},v$,y$=($)=>$&&(h0($)||o($))&&o($.then)&&o($.catch),l1,m$,p1=($)=>$!=null&&o($[o0]),f$=($)=>$!=null&&r0($,o0)&&p1($),X;var x=T(()=>{c4();({toString:s6}=Object.prototype),{getPrototypeOf:y0}=Object,{iterator:o0,toStringTag:f1}=Symbol,T4=(({hasOwnProperty:$})=>(Q,Y)=>$.call(Q,Y))(Object.prototype),l4=(($)=>(Q)=>{let Y=s6.call(Q);return $[Y]||($[Y]=Y.slice(8,-1).toLowerCase())})(Object.create(null)),{isArray:P0}=Array,m0=R4("undefined");h1=W0("ArrayBuffer");o6=R4("string"),o=R4("function"),g1=R4("number"),Q$=W0("Date"),Y$=W0("File"),Z$=W0("Blob"),J$=W0("FileList");y1=K$(),m1=typeof y1.FormData<"u"?y1.FormData:void 0,N$=W0("URLSearchParams"),[M$,B$,V$,I$]=["ReadableStream","Request","Response","Headers"].map(W0);q0=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})();T$=(($)=>{return(Q)=>{return $&&Q instanceof $}})(typeof Uint8Array<"u"&&y0(Uint8Array)),P$=W0("HTMLFormElement"),{propertyIsEnumerable:O$}=Object.prototype,H$=W0("RegExp");v$=W0("AsyncFunction"),l1=(($,Q)=>{if($)return setImmediate;return Q?((Y,W)=>{return q0.addEventListener("message",({source:G,data:J})=>{if(G===q0&&J===Y)W.length&&W.shift()()},!1),(G)=>{W.push(G),q0.postMessage(Y,"*")}})(`axios@${Math.random()}`,[]):(Y)=>setTimeout(Y)})(typeof setImmediate==="function",o(q0.postMessage)),m$=typeof queueMicrotask<"u"?queueMicrotask.bind(q0):typeof process<"u"&&process.nextTick||l1,X={isArray:P0,isArrayBuffer:h1,isBuffer:f0,isFormData:z$,isArrayBufferView:r6,isString:o6,isNumber:g1,isBoolean:e6,isObject:h0,isPlainObject:_4,isEmptyObject:$$,isReadableStream:M$,isRequest:B$,isResponse:V$,isHeaders:I$,isUndefined:m0,isDate:Q$,isFile:Y$,isReactNativeBlob:W$,isReactNative:G$,isBlob:Z$,isRegExp:H$,isFunction:o,isStream:X$,isURLSearchParams:N$,isTypedArray:T$,isFileList:J$,forEach:e0,merge:d4,extend:U$,trim:F$,stripBOM:L$,inherits:w$,toFlatObject:S$,kindOf:l4,kindOfTest:W0,endsWith:D$,toArray:_$,forEachEntry:R$,matchAll:q$,isHTMLForm:P$,hasOwnProperty:T4,hasOwnProp:T4,hasOwnInPrototypeChain:r0,getSafeProp:t6,reduceDescriptors:d1,freezeMethods:E$,toObjectSet:A$,toCamelCase:C$,noop:j$,toFiniteNumber:k$,findKey:u1,global:q0,isContextDefined:c1,isSpecCompliantForm:b$,toJSONObject:x$,isAsyncFn:v$,isThenable:y$,setImmediate:l1,asap:m$,isIterable:p1,isSafeIterable:f$}});var h$,i1=($)=>{let Q={},Y,W,G;return $&&$.split(`
|
|
2
|
-
`).forEach(function(Z){if(G=Z.indexOf(":"),Y=Z.substring(0,G).trim().toLowerCase(),W=Z.substring(G+1).trim(),!Y||Q[Y]&&h$[Y])return;if(Y==="set-cookie")if(Q[Y])Q[Y].push(W);else Q[Y]=[W];else Q[Y]=Q[Y]?Q[Y]+", "+W:W}),Q};var n1=T(()=>{x();h$=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"])});function g$($){let Q=0,Y=$.length;while(Q<Y){let W=$.charCodeAt(Q);if(W!==9&&W!==32)break;Q+=1}while(Y>Q){let W=$.charCodeAt(Y-1);if(W!==9&&W!==32)break;Y-=1}return Q===0&&Y===$.length?$:$.slice(Q,Y)}function p4($,Q){if(X.isArray($))return $.map((Y)=>p4(Y,Q));return g$(String($).replace(Q,""))}function g0($){let Q=Object.create(null);return X.forEach($.toJSON(),(Y,W)=>{Q[W]=d$(Y)}),Q}var u$,c$,a1=($)=>p4($,u$),d$=($)=>p4($,c$);var $4=T(()=>{x();u$=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),c$=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g")});function Q4($){return $&&String($).trim().toLowerCase()}function q4($){if($===!1||$==null)return $;return X.isArray($)?$.map(q4):a1(String($))}function l$($){let Q=Object.create(null),Y=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,W;while(W=Y.exec($))Q[W[1]]=W[2];return Q}function i4($,Q,Y,W,G){if(X.isFunction(W))return W.call(this,Q,Y);if(G)Q=Y;if(!X.isString(Q))return;if(X.isString(W))return Q.indexOf(W)!==-1;if(X.isRegExp(W))return W.test(Q)}function i$($){return $.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(Q,Y,W)=>{return Y.toUpperCase()+W})}function n$($,Q){let Y=X.toCamelCase(" "+Q);["get","set","has"].forEach((W)=>{Object.defineProperty($,W+Y,{__proto__:null,value:function(G,J,Z){return this[W].call(this,Q,G,J,Z)},configurable:!0})})}var s1,p$=($)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test($.trim()),Y4,y;var G0=T(()=>{x();n1();$4();s1=Symbol("internals");Y4=class Y4{constructor($){$&&this.set($)}set($,Q,Y){let W=this;function G(Z,z,K){let N=Q4(z);if(!N)return;let M=X.findKey(W,N);if(!M||W[M]===void 0||K===!0||K===void 0&&W[M]!==!1)W[M||z]=q4(Z)}let J=(Z,z)=>X.forEach(Z,(K,N)=>G(K,N,z));if(X.isPlainObject($)||$ instanceof this.constructor)J($,Q);else if(X.isString($)&&($=$.trim())&&!p$($))J(i1($),Q);else if(X.isObject($)&&X.isSafeIterable($)){let Z=Object.create(null),z,K;for(let N of $){if(!X.isArray(N))throw TypeError("Object iterator must return a key-value pair");if(K=N[0],X.hasOwnProp(Z,K))z=Z[K],Z[K]=X.isArray(z)?[...z,N[1]]:[z,N[1]];else Z[K]=N[1]}J(Z,Q)}else $!=null&&G(Q,$,Y);return this}get($,Q){if($=Q4($),$){let Y=X.findKey(this,$);if(Y){let W=this[Y];if(!Q)return W;if(Q===!0)return l$(W);if(X.isFunction(Q))return Q.call(this,W,Y);if(X.isRegExp(Q))return Q.exec(W);throw TypeError("parser must be boolean|regexp|function")}}}has($,Q){if($=Q4($),$){let Y=X.findKey(this,$);return!!(Y&&this[Y]!==void 0&&(!Q||i4(this,this[Y],Y,Q)))}return!1}delete($,Q){let Y=this,W=!1;function G(J){if(J=Q4(J),J){let Z=X.findKey(Y,J);if(Z&&(!Q||i4(Y,Y[Z],Z,Q)))delete Y[Z],W=!0}}if(X.isArray($))$.forEach(G);else G($);return W}clear($){let Q=Object.keys(this),Y=Q.length,W=!1;while(Y--){let G=Q[Y];if(!$||i4(this,this[G],G,$,!0))delete this[G],W=!0}return W}normalize($){let Q=this,Y={};return X.forEach(this,(W,G)=>{let J=X.findKey(Y,G);if(J){Q[J]=q4(W),delete Q[G];return}let Z=$?i$(G):String(G).trim();if(Z!==G)delete Q[G];Q[Z]=q4(W),Y[Z]=!0}),this}concat(...$){return this.constructor.concat(this,...$)}toJSON($){let Q=Object.create(null);return X.forEach(this,(Y,W)=>{Y!=null&&Y!==!1&&(Q[W]=$&&X.isArray(Y)?Y.join(", "):Y)}),Q}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([$,Q])=>$+": "+Q).join(`
|
|
3
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from($){return $ instanceof this?$:new this($)}static concat($,...Q){let Y=new this($);return Q.forEach((W)=>Y.set(W)),Y}static accessor($){let Y=(this[s1]=this[s1]={accessors:{}}).accessors,W=this.prototype;function G(J){let Z=Q4(J);if(!Y[Z])n$(W,J),Y[Z]=!0}return X.isArray($)?$.forEach(G):G($),this}};Y4.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);X.reduceDescriptors(Y4.prototype,({value:$},Q)=>{let Y=Q[0].toUpperCase()+Q.slice(1);return{get:()=>$,set(W){this[Y]=W}}});X.freezeMethods(Y4);y=Y4});function s$($){if(X.hasOwnProp($,"toJSON"))return!0;let Q=Object.getPrototypeOf($);while(Q&&Q!==Object.prototype){if(X.hasOwnProp(Q,"toJSON"))return!0;Q=Object.getPrototypeOf(Q)}return!1}function t$($,Q){let Y=new Set(Q.map((J)=>String(J).toLowerCase())),W=[],G=(J)=>{if(J===null||typeof J!=="object")return J;if(X.isBuffer(J))return J;if(W.indexOf(J)!==-1)return;if(J instanceof y)J=J.toJSON();W.push(J);let Z;if(X.isArray(J))Z=[],J.forEach((z,K)=>{let N=G(z);if(!X.isUndefined(N))Z[K]=N});else{if(!X.isPlainObject(J)&&s$(J))return W.pop(),J;Z=Object.create(null);for(let[z,K]of Object.entries(J)){let N=Y.has(z.toLowerCase())?a$:G(K);if(!X.isUndefined(N))Z[z]=N}}return W.pop(),Z};return G($)}var a$="[REDACTED ****]",a,V;var t=T(()=>{x();G0();a=class a extends Error{static from($,Q,Y,W,G,J){let Z=new a($.message,Q||$.code,Y,W,G);if(Object.defineProperty(Z,"cause",{__proto__:null,value:$,writable:!0,enumerable:!1,configurable:!0}),Z.name=$.name,$.status!=null&&Z.status==null)Z.status=$.status;return J&&Object.assign(Z,J),Z}constructor($,Q,Y,W,G){super($);if(Object.defineProperty(this,"message",{__proto__:null,value:$,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,Q&&(this.code=Q),Y&&(this.config=Y),W&&(this.request=W),G)this.response=G,this.status=G.status}toJSON(){let $=this.config,Q=$&&X.hasOwnProp($,"redact")?$.redact:void 0,Y=X.isArray(Q)&&Q.length>0?t$($,Q):X.toJSONObject($);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Y,code:this.code,status:this.status}}};a.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";a.ERR_BAD_OPTION="ERR_BAD_OPTION";a.ECONNABORTED="ECONNABORTED";a.ETIMEDOUT="ETIMEDOUT";a.ECONNREFUSED="ECONNREFUSED";a.ERR_NETWORK="ERR_NETWORK";a.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";a.ERR_DEPRECATED="ERR_DEPRECATED";a.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";a.ERR_BAD_REQUEST="ERR_BAD_REQUEST";a.ERR_CANCELED="ERR_CANCELED";a.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";a.ERR_INVALID_URL="ERR_INVALID_URL";a.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";V=a});var t1,P4;var a4=T(()=>{t1=n4(r$(),1),P4=t1.default});function t4($){return X.isPlainObject($)||X.isArray($)}function r1($){return X.endsWith($,"[]")?$.slice(0,-2):$}function s4($,Q,Y){if(!$)return Q;return $.concat(Q).map(function(G,J){return G=r1(G),!Y&&J?"["+G+"]":G}).join(Y?".":"")}function o$($){return X.isArray($)&&!$.some(t4)}function $8($,Q,Y){if(!X.isObject($))throw TypeError("target must be an object");Q=Q||new(P4||FormData),Y=X.toFlatObject(Y,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,R){return!X.isUndefined(R[_])});let W=Y.metaTokens,G=Y.visitor||S,J=Y.dots,Z=Y.indexes,z=Y.Blob||typeof Blob<"u"&&Blob,K=Y.maxDepth===void 0?r4:Y.maxDepth,N=z&&X.isSpecCompliantForm(Q),M=[];if(!X.isFunction(G))throw TypeError("visitor must be a function");function B(F){if(F===null)return"";if(X.isDate(F))return F.toISOString();if(X.isBoolean(F))return F.toString();if(!N&&X.isBlob(F))throw new V("Blob is not supported. Use a Buffer instead.");if(X.isArrayBuffer(F)||X.isTypedArray(F)){if(N&&typeof z==="function")return new z([F]);if(typeof Buffer<"u")return Buffer.from(F);throw new V("Blob is not supported. Use a Buffer instead.",V.ERR_NOT_SUPPORT)}return F}function I(F){if(F>K)throw new V("Object is too deeply nested ("+F+" levels). Max depth: "+K,V.ERR_FORM_DATA_DEPTH_EXCEEDED)}function U(F,_){if(K===1/0)return JSON.stringify(F);let R=[];return JSON.stringify(F,function(v,k){if(!X.isObject(k))return k;while(R.length&&R[R.length-1]!==this)R.pop();return R.push(k),I(_+R.length-1),k})}function S(F,_,R){let O=F;if(X.isReactNative(Q)&&X.isReactNativeBlob(F))return Q.append(s4(R,_,J),B(F)),!1;if(F&&!R&&typeof F==="object"){if(X.endsWith(_,"{}"))_=W?_:_.slice(0,-2),F=U(F,1);else if(X.isArray(F)&&o$(F)||(X.isFileList(F)||X.endsWith(_,"[]"))&&(O=X.toArray(F)))return _=r1(_),O.forEach(function(k,K0){!(X.isUndefined(k)||k===null)&&Q.append(Z===!0?s4([_],K0,J):Z===null?_:_+"[]",B(k))}),!1}if(t4(F))return!0;return Q.append(s4(R,_,J),B(F)),!1}let q=Object.assign(e$,{defaultVisitor:S,convertValue:B,isVisitable:t4});function L(F,_,R=0){if(X.isUndefined(F))return;if(I(R),M.indexOf(F)!==-1)throw Error("Circular reference detected in "+_.join("."));M.push(F),X.forEach(F,function(v,k){if((!(X.isUndefined(v)||v===null)&&G.call(Q,v,X.isString(k)?k.trim():k,_,q))===!0)L(v,_?_.concat(k):[k],R+1)}),M.pop()}if(!X.isObject($))throw TypeError("data must be an object");return L($),Q}var r4=100,e$,S0;var u0=T(()=>{x();t();a4();e$=X.toFlatObject(X,{},null,function(Q){return/^is[A-Z]/.test(Q)});S0=$8});function o1($){let Q={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent($).replace(/[!'()~]|%20/g,function(W){return Q[W]})}function e1($,Q){this._pairs=[],$&&S0($,this,Q)}var $5,Q5;var Y5=T(()=>{u0();$5=e1.prototype;$5.append=function(Q,Y){this._pairs.push([Q,Y])};$5.toString=function(Q){let Y=Q?(W)=>Q.call(this,W,o1):o1;return this._pairs.map(function(G){return Y(G[0])+"="+Y(G[1])},"").join("&")};Q5=e1});function Q8($){return encodeURIComponent($).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function C0($,Q,Y){if(!Q)return $;$=$||"";let W=X.isFunction(Y)?{serialize:Y}:Y,G=X.getSafeProp(W,"encode")||Q8,J=X.getSafeProp(W,"serialize"),Z;if(J)Z=J(Q,W);else Z=X.isURLSearchParams(Q)?Q.toString():new Q5(Q,W).toString(G);if(Z){let z=$.indexOf("#");if(z!==-1)$=$.slice(0,z);$+=($.indexOf("?")===-1?"?":"&")+Z}return $}var C4=T(()=>{x();Y5()});class W5{constructor(){this.handlers=[]}use($,Q,Y){return this.handlers.push({fulfilled:$,rejected:Q,synchronous:Y?Y.synchronous:!1,runWhen:Y?Y.runWhen:null}),this.handlers.length-1}eject($){if(this.handlers[$])this.handlers[$]=null}clear(){if(this.handlers)this.handlers=[]}forEach($){X.forEach(this.handlers,function(Y){if(Y!==null)$(Y)})}}var o4;var G5=T(()=>{x();o4=W5});var D0;var W4=T(()=>{D0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0}});import Y8 from"url";var Z5;var J5=T(()=>{Z5=Y8.URLSearchParams});import W8 from"crypto";var e4="abcdefghijklmnopqrstuvwxyz",X5="0123456789",K5,G8=($=16,Q=K5.ALPHA_DIGIT)=>{let Y="",{length:W}=Q,G=new Uint32Array($);W8.randomFillSync(G);for(let J=0;J<$;J++)Y+=Q[G[J]%W];return Y},z5;var N5=T(()=>{J5();a4();K5={DIGIT:X5,ALPHA:e4,ALPHA_DIGIT:e4+e4.toUpperCase()+X5},z5={isNode:!0,classes:{URLSearchParams:Z5,FormData:P4,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:K5,generateString:G8,protocols:["http","https","file","data"]}});var Y1={};Z8(Y1,{origin:()=>K8,navigator:()=>$1,hasStandardBrowserWebWorkerEnv:()=>X8,hasStandardBrowserEnv:()=>J8,hasBrowserEnv:()=>Q1});var Q1,$1,J8,X8,K8;var M5=T(()=>{Q1=typeof window<"u"&&typeof document<"u",$1=typeof navigator==="object"&&navigator||void 0,J8=Q1&&(!$1||["ReactNative","NativeScript","NS"].indexOf($1.product)<0),X8=(()=>{return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"})(),K8=Q1&&window.location.href||"http://localhost"});var j;var Z0=T(()=>{N5();M5();j={...Y1,...z5}});function W1($,Q){return S0($,new j.classes.URLSearchParams,{visitor:function(Y,W,G,J){if(j.isNode&&X.isBuffer(Y))return this.append(W,Y.toString("base64")),!1;return J.defaultVisitor.apply(this,arguments)},...Q})}var B5=T(()=>{x();u0();Z0()});function I5($){if($>V5)throw new V("FormData field is too deeply nested ("+$+" levels). Max depth: "+V5,V.ERR_FORM_DATA_DEPTH_EXCEEDED)}function z8($){let Q=[],Y=/\w+|\[(\w*)]/g,W;while((W=Y.exec($))!==null)I5(Q.length),Q.push(W[0]==="[]"?"":W[1]||W[0]);return Q}function N8($){let Q={},Y=Object.keys($),W,G=Y.length,J;for(W=0;W<G;W++)J=Y[W],Q[J]=$[J];return Q}function M8($){function Q(Y,W,G,J){I5(J);let Z=Y[J++];if(Z==="__proto__")return!0;let z=Number.isFinite(+Z),K=J>=Y.length;if(Z=!Z&&X.isArray(G)?G.length:Z,K){if(X.hasOwnProp(G,Z))G[Z]=X.isArray(G[Z])?G[Z].concat(W):[G[Z],W];else G[Z]=W;return!z}if(!X.hasOwnProp(G,Z)||!X.isObject(G[Z]))G[Z]=[];if(Q(Y,W,G[Z],J)&&X.isArray(G[Z]))G[Z]=N8(G[Z]);return!z}if(X.isFormData($)&&X.isFunction($.entries)){let Y={};return X.forEachEntry($,(W,G)=>{Q(z8(W),G,Y,0)}),Y}return null}var V5,O4;var G1=T(()=>{x();t();u0();V5=r4;O4=M8});function B8($,Q,Y){if(X.isString($))try{return(Q||JSON.parse)($),X.trim($)}catch(W){if(W.name!=="SyntaxError")throw W}return(Y||JSON.stringify)($)}var c0=($,Q)=>$!=null&&X.hasOwnProp($,Q)?$[Q]:void 0,Z1,d0;var H4=T(()=>{x();t();W4();u0();B5();Z0();G1();Z1={transitional:D0,adapter:["xhr","http","fetch"],transformRequest:[function(Q,Y){let W=Y.getContentType()||"",G=W.indexOf("application/json")>-1,J=X.isObject(Q);if(J&&X.isHTMLForm(Q))Q=new FormData(Q);if(X.isFormData(Q))return G?JSON.stringify(O4(Q)):Q;if(X.isArrayBuffer(Q)||X.isBuffer(Q)||X.isStream(Q)||X.isFile(Q)||X.isBlob(Q)||X.isReadableStream(Q))return Q;if(X.isArrayBufferView(Q))return Q.buffer;if(X.isURLSearchParams(Q))return Y.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),Q.toString();let z;if(J){let K=c0(this,"formSerializer");if(W.indexOf("application/x-www-form-urlencoded")>-1)return W1(Q,K).toString();if((z=X.isFileList(Q))||W.indexOf("multipart/form-data")>-1){let N=c0(this,"env"),M=N&&N.FormData;return S0(z?{"files[]":Q}:Q,M&&new M,K)}}if(J||G)return Y.setContentType("application/json",!1),B8(Q);return Q}],transformResponse:[function(Q){let Y=c0(this,"transitional")||Z1.transitional,W=Y&&Y.forcedJSONParsing,G=c0(this,"responseType"),J=G==="json";if(X.isResponse(Q)||X.isReadableStream(Q))return Q;if(Q&&X.isString(Q)&&(W&&!G||J)){let z=!(Y&&Y.silentJSONParsing)&&J;try{return JSON.parse(Q,c0(this,"parseReviver"))}catch(K){if(z){if(K.name==="SyntaxError")throw V.from(K,V.ERR_BAD_RESPONSE,this,null,c0(this,"response"));throw K}}}return Q}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:j.classes.FormData,Blob:j.classes.Blob},validateStatus:function(Q){return Q>=200&&Q<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch","query"],($)=>{Z1.headers[$]={}});d0=Z1});function G4($,Q){let Y=this||d0,W=Q||Y,G=y.from(W.headers),J=W.data;return X.forEach($,function(z){J=z.call(Y,J,G.normalize(),Q?Q.status:void 0)}),G.normalize(),J}var F5=T(()=>{x();H4();G0()});function Z4($){return!!($&&$.__CANCEL__)}var J1=()=>{};var U5,$0;var O0=T(()=>{t();U5=class U5 extends V{constructor($,Q,Y){super($==null?"canceled":$,V.ERR_CANCELED,Q,Y);this.name="CanceledError",this.__CANCEL__=!0}};$0=U5});function M0($,Q,Y){let W=Y.config.validateStatus;if(!Y.status||!W||W(Y.status))$(Y);else Q(new V("Request failed with status code "+Y.status,Y.status>=400&&Y.status<500?V.ERR_BAD_REQUEST:V.ERR_BAD_RESPONSE,Y.config,Y.request,Y))}var E4=T(()=>{t()});function X1($){if(typeof $!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test($)}var L5=()=>{};function K1($,Q){return Q?$.replace(/\/?\/$/,"")+"/"+Q.replace(/^\/+/,""):$}var w5=()=>{};function F8($){let Q=0;while(Q<$.length&&$.charCodeAt(Q)<=32)Q++;return $.slice(Q)}function U8($){return F8($).replace(I8,"")}function S5($,Q){if(typeof $==="string"&&V8.test(U8($)))throw new V('Invalid URL: missing "//" after protocol',V.ERR_INVALID_URL,Q)}function H0($,Q,Y,W){S5(Q,W);let G=!X1(Q);if($&&(G||Y===!1))return S5($,W),K1($,Q);return Q}var V8,I8;var A4=T(()=>{t();L5();w5();V8=/^https?:(?!\/\/)/i,I8=/[\t\n\r]/g});var _5=J4((D5)=>{Object.defineProperty(D5,"__esModule",{value:!0});function L8($){return function(Q,Y){return new Promise((W,G)=>{$.call(this,Q,Y,(J,Z)=>{if(J)G(J);else W(Z)})})}}D5.default=L8});var q5=J4((N1,R5)=>{var T5=N1&&N1.__importDefault||function($){return $&&$.__esModule?$:{default:$}},S8=K4("events"),D8=T5(M1()),_8=T5(_5()),X4=D8.default("agent-base");function T8($){return Boolean($)&&typeof $.addRequest==="function"}function z1(){let{stack:$}=Error();if(typeof $!=="string")return!1;return $.split(`
|
|
4
|
-
`).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}function j4($,Q){return new j4.Agent($,Q)}(function($){class Q extends S8.EventEmitter{constructor(Y,W){super();let G=W;if(typeof Y==="function")this.callback=Y;else if(Y)G=Y;if(this.timeout=null,G&&typeof G.timeout==="number")this.timeout=G.timeout;this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){if(typeof this.explicitDefaultPort==="number")return this.explicitDefaultPort;return z1()?443:80}set defaultPort(Y){this.explicitDefaultPort=Y}get protocol(){if(typeof this.explicitProtocol==="string")return this.explicitProtocol;return z1()?"https:":"http:"}set protocol(Y){this.explicitProtocol=Y}callback(Y,W,G){throw Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(Y,W){let G=Object.assign({},W);if(typeof G.secureEndpoint!=="boolean")G.secureEndpoint=z1();if(G.host==null)G.host="localhost";if(G.port==null)G.port=G.secureEndpoint?443:80;if(G.protocol==null)G.protocol=G.secureEndpoint?"https:":"http:";if(G.host&&G.path)delete G.path;delete G.agent,delete G.hostname,delete G._defaultAgent,delete G.defaultPort,delete G.createConnection,Y._last=!0,Y.shouldKeepAlive=!1;let J=!1,Z=null,z=G.timeout||this.timeout,K=(I)=>{if(Y._hadError)return;Y.emit("error",I),Y._hadError=!0},N=()=>{Z=null,J=!0;let I=Error(`A "socket" was not created for HTTP request before ${z}ms`);I.code="ETIMEOUT",K(I)},M=(I)=>{if(J)return;if(Z!==null)clearTimeout(Z),Z=null;K(I)},B=(I)=>{if(J)return;if(Z!=null)clearTimeout(Z),Z=null;if(T8(I)){X4("Callback returned another Agent instance %o",I.constructor.name),I.addRequest(Y,G);return}if(I){I.once("free",()=>{this.freeSocket(I,G)}),Y.onSocket(I);return}let U=Error(`no Duplex stream was returned to agent-base for \`${Y.method} ${Y.path}\``);K(U)};if(typeof this.callback!=="function"){K(Error("`callback` is not defined"));return}if(!this.promisifiedCallback)if(this.callback.length>=3)X4("Converting legacy callback function to promise"),this.promisifiedCallback=_8.default(this.callback);else this.promisifiedCallback=this.callback;if(typeof z==="number"&&z>0)Z=setTimeout(N,z);if("port"in G&&typeof G.port!=="number")G.port=Number(G.port);try{X4("Resolving socket for %o request: %o",G.protocol,`${Y.method} ${Y.path}`),Promise.resolve(this.promisifiedCallback(Y,G)).then(B,M)}catch(I){Promise.reject(I).catch(M)}}freeSocket(Y,W){X4("Freeing socket %o %o",Y.constructor.name,W),Y.destroy()}destroy(){X4("Destroying agent %o",this.constructor.name)}}$.Agent=Q,$.prototype=$.Agent.prototype})(j4||(j4={}));R5.exports=j4});var P5=J4((N4)=>{var R8=N4&&N4.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(N4,"__esModule",{value:!0});var q8=R8(M1()),z4=q8.default("https-proxy-agent:parse-proxy-response");function P8($){return new Promise((Q,Y)=>{let W=0,G=[];function J(){let B=$.read();if(B)M(B);else $.once("readable",J)}function Z(){$.removeListener("end",K),$.removeListener("error",N),$.removeListener("close",z),$.removeListener("readable",J)}function z(B){z4("onclose had error %o",B)}function K(){z4("onend")}function N(B){Z(),z4("onerror %o",B),Y(B)}function M(B){G.push(B),W+=B.length;let I=Buffer.concat(G,W);if(I.indexOf(`\r
|
|
5
|
-
\r
|
|
6
|
-
`)===-1){z4("have not received end of HTTP headers yet..."),J();return}let S=I.toString("ascii",0,I.indexOf(`\r
|
|
7
|
-
`)),q=+S.split(" ")[1];z4("got proxy server response: %o",S),Q({statusCode:q,buffered:I})}$.on("error",N),$.on("close",z),$.on("end",K),J()})}N4.default=P8});var E5=J4((E0)=>{var C8=E0&&E0.__awaiter||function($,Q,Y,W){function G(J){return J instanceof Y?J:new Y(function(Z){Z(J)})}return new(Y||(Y=Promise))(function(J,Z){function z(M){try{N(W.next(M))}catch(B){Z(B)}}function K(M){try{N(W.throw(M))}catch(B){Z(B)}}function N(M){M.done?J(M.value):G(M.value).then(z,K)}N((W=W.apply($,Q||[])).next())})},l0=E0&&E0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(E0,"__esModule",{value:!0});var C5=l0(K4("net")),O5=l0(K4("tls")),O8=l0(K4("url")),H8=l0(K4("assert")),E8=l0(M1()),A8=q5(),j8=l0(P5()),M4=E8.default("https-proxy-agent:agent");class H5 extends A8.Agent{constructor($){let Q;if(typeof $==="string")Q=O8.default.parse($);else Q=$;if(!Q)throw Error("an HTTP(S) proxy server `host` and `port` must be specified!");M4("creating new HttpsProxyAgent instance: %o",Q);super(Q);let Y=Object.assign({},Q);if(this.secureProxy=Q.secureProxy||x8(Y.protocol),Y.host=Y.hostname||Y.host,typeof Y.port==="string")Y.port=parseInt(Y.port,10);if(!Y.port&&Y.host)Y.port=this.secureProxy?443:80;if(this.secureProxy&&!("ALPNProtocols"in Y))Y.ALPNProtocols=["http 1.1"];if(Y.host&&Y.path)delete Y.path,delete Y.pathname;this.proxy=Y}callback($,Q){return C8(this,void 0,void 0,function*(){let{proxy:Y,secureProxy:W}=this,G;if(W)M4("Creating `tls.Socket`: %o",Y),G=O5.default.connect(Y);else M4("Creating `net.Socket`: %o",Y),G=C5.default.connect(Y);let J=Object.assign({},Y.headers),z=`CONNECT ${`${Q.host}:${Q.port}`} HTTP/1.1\r
|
|
8
|
-
`;if(Y.auth)J["Proxy-Authorization"]=`Basic ${Buffer.from(Y.auth).toString("base64")}`;let{host:K,port:N,secureEndpoint:M}=Q;if(!b8(N,M))K+=`:${N}`;J.Host=K,J.Connection="close";for(let q of Object.keys(J))z+=`${q}: ${J[q]}\r
|
|
9
|
-
`;let B=j8.default(G);G.write(`${z}\r
|
|
10
|
-
`);let{statusCode:I,buffered:U}=yield B;if(I===200){if($.once("socket",k8),Q.secureEndpoint){M4("Upgrading socket connection to TLS");let q=Q.servername||Q.host;return O5.default.connect(Object.assign(Object.assign({},v8(Q,"host","hostname","path","port")),{socket:G,servername:q}))}return G}G.destroy();let S=new C5.default.Socket({writable:!1});return S.readable=!0,$.once("socket",(q)=>{M4("replaying proxy buffer for failed request"),H8.default(q.listenerCount("data")>0),q.push(U),q.push(null)}),S})}}E0.default=H5;function k8($){$.resume()}function b8($,Q){return Boolean(!Q&&$===80||Q&&$===443)}function x8($){return typeof $==="string"?/^https:?$/i.test($):!1}function v8($,...Q){let Y={},W;for(W in $)if(!Q.includes(W))Y[W]=$[W];return Y}});var j5=J4((I1,A5)=>{var y8=I1&&I1.__importDefault||function($){return $&&$.__esModule?$:{default:$}},B1=y8(E5());function V1($){return new B1.default($)}(function($){$.HttpsProxyAgent=B1.default,$.prototype=B1.default.prototype})(V1||(V1={}));A5.exports=V1});var I0="1.18.1";var B4=()=>{};function V4($){let Q=/^([-+\w]{1,25}):(?:\/\/)?/.exec($);return Q&&Q[1]||""}var F1=()=>{};function U1($,Q,Y){let W=Y&&Y.Blob||j.classes.Blob,G=V4($);if(Q===void 0&&W)Q=!0;if(G==="data"){$=G.length?$.slice(G.length+1):$;let J=m8.exec($);if(!J)throw new V("Invalid URL",V.ERR_INVALID_URL);let Z=J[1],z=J[2],K=J[3]?"base64":"utf8",N=J[4],M="";if(Z)M=z?Z+z:Z;else if(z)M="text/plain"+z;let B=K==="base64"?Buffer.from(N,"base64"):Buffer.from(decodeURIComponent(N),K);if(Q){if(!W)throw new V("Blob is not supported",V.ERR_NOT_SUPPORT);return new W([B],{type:M})}return B}throw new V("Unsupported protocol "+G,V.ERR_NOT_SUPPORT)}var m8;var k5=T(()=>{t();F1();Z0();m8=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/});import f8 from"stream";var L1,b5,w1;var x5=T(()=>{x();L1=Symbol("internals");b5=class b5 extends f8.Transform{constructor($){$=X.toFlatObject($,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(Y,W)=>{return!X.isUndefined(W[Y])});super({readableHighWaterMark:$.chunkSize});let Q=this[L1]={timeWindow:$.timeWindow,chunkSize:$.chunkSize,maxRate:$.maxRate,minChunkSize:$.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(Y)=>{if(Y==="progress"){if(!Q.isCaptured)Q.isCaptured=!0}})}_read($){let Q=this[L1];if(Q.onReadCallback)Q.onReadCallback();return super._read($)}_transform($,Q,Y){let W=this[L1],G=W.maxRate,J=this.readableHighWaterMark,Z=W.timeWindow,z=1000/Z,K=G/z,N=W.minChunkSize!==!1?Math.max(W.minChunkSize,K*0.01):0,M=(I,U)=>{let S=Buffer.byteLength(I);if(W.bytesSeen+=S,W.bytes+=S,W.isCaptured&&this.emit("progress",W.bytesSeen),this.push(I))process.nextTick(U);else W.onReadCallback=()=>{W.onReadCallback=null,process.nextTick(U)}},B=(I,U)=>{let S=Buffer.byteLength(I),q=null,L=J,F,_=0;if(G){let R=Date.now();if(!W.ts||(_=R-W.ts)>=Z)W.ts=R,F=K-W.bytes,W.bytes=F<0?-F:0,_=0;F=K-W.bytes}if(G){if(F<=0)return setTimeout(()=>{U(null,I)},Z-_);if(F<L)L=F}if(L&&S>L&&S-L>N)q=I.subarray(L),I=I.subarray(0,L);M(I,q?()=>{process.nextTick(U,null,q)}:U)};B($,function I(U,S){if(U)return Y(U);if(S)B(S,I);else Y(null)})}};w1=b5});var v5,h8=async function*($){if($.stream)yield*$.stream();else if($.arrayBuffer)yield await $.arrayBuffer();else if($[v5])yield*$[v5]();else yield $},k4;var S1=T(()=>{({asyncIterator:v5}=Symbol),k4=h8});import g8 from"util";import{Readable as u8}from"stream";class y5{constructor($,Q){let{escapeName:Y}=this.constructor,W=X.isString(Q),G=`Content-Disposition: form-data; name="${Y($)}"${!W&&Q.name?`; filename="${Y(Q.name)}"`:""}${A0}`;if(W)Q=I4.encode(String(Q).replace(/\r?\n|\r\n?/g,A0));else{let J=String(Q.type||"application/octet-stream").replace(/[\r\n]/g,"");G+=`Content-Type: ${J}${A0}`}this.headers=I4.encode(G+A0),this.contentLength=W?Q.byteLength:Q.size,this.size=this.headers.byteLength+this.contentLength+l8,this.name=$,this.value=Q}async*encode(){yield this.headers;let{value:$}=this;if(X.isTypedArray($))yield $;else yield*k4($);yield d8}static escapeName($){return String($).replace(/[\r\n"]/g,(Q)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[Q])}}var c8,I4,A0=`\r
|
|
11
|
-
`,d8,l8=2,p8=($,Q,Y)=>{let{tag:W="form-data-boundary",size:G=25,boundary:J=W+"-"+j.generateString(G,c8)}=Y||{};if(!X.isFormData($))throw TypeError("FormData instance required");if(J.length<1||J.length>70)throw Error("boundary must be 1-70 characters long");let Z=I4.encode("--"+J+A0),z=I4.encode("--"+J+"--"+A0),K=z.byteLength,N=Array.from($.entries()).map(([B,I])=>{let U=new y5(B,I);return K+=U.size,U});K+=Z.byteLength*N.length,K=X.toFiniteNumber(K);let M={"Content-Type":`multipart/form-data; boundary=${J}`};if(Number.isFinite(K))M["Content-Length"]=K;return Q&&Q(M),u8.from(async function*(){for(let B of N)yield Z,yield*B.encode();yield z}())},m5;var f5=T(()=>{x();S1();Z0();c8=j.ALPHABET.ALPHA_DIGIT+"-_",I4=typeof TextEncoder==="function"?new TextEncoder:new g8.TextEncoder,d8=I4.encode(A0);m5=p8});import i8 from"stream";var h5,g5;var u5=T(()=>{h5=class h5 extends i8.Transform{__transform($,Q,Y){this.push($),Y()}_transform($,Q,Y){if($.length!==0){if(this._transform=this.__transform,$[0]!==120){let W=Buffer.alloc(2);W[0]=120,W[1]=156,this.push(W,Q)}}this.__transform($,Q,Y)}};g5=h5});import n8 from"http2";import a8 from"util";class c5{constructor(){this.sessions=Object.create(null)}getSession($,Q){Q=Object.assign({sessionTimeout:1000},Q);let Y=this.sessions[$];if(Y){let M=Y.length;for(let B=0;B<M;B++){let[I,U]=Y[B];if(!I.destroyed&&!I.closed&&a8.isDeepStrictEqual(U,Q))return I}}let W=n8.connect($,Q),G,J,Z=()=>{if(G)return;if(G=!0,J)clearTimeout(J),J=null;let M=Y,B=M.length,I=B;while(I--)if(M[I][0]===W){if(B===1)delete this.sessions[$];else M.splice(I,1);if(!W.closed)W.close();return}},z=W.request,{sessionTimeout:K}=Q;if(K!=null){let M=0;W.request=function(){let B=z.apply(this,arguments);if(M++,J)clearTimeout(J),J=null;return B.once("close",()=>{if(!--M)J=setTimeout(()=>{J=null,Z()},K)}),B}}W.once("close",Z);let N=[W,Q];return Y?Y.push(N):Y=this.sessions[$]=[N],W}}var d5;var l5=T(()=>{d5=c5});var s8=($,Q)=>{return X.isAsyncFn($)?function(...Y){let W=Y.pop();$.apply(this,Y).then((G)=>{try{Q?W(null,...Q(G)):W(null,G)}catch(J){W(J)}},W)}:$},p5;var i5=T(()=>{x();p5=s8});function _1($){let Q;try{Q=new URL($)}catch(J){return!1}let Y=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!Y)return!1;if(Y==="*")return!0;let W=Number.parseInt(Q.port,10)||e8[Q.protocol.split(":",1)[0]]||0,G=a5(Q.hostname.toLowerCase());return Y.split(/[\s,]+/).some((J)=>{if(!J)return!1;let[Z,z]=$Q(J);if(Z=a5(Z),!Z)return!1;if(z&&z!==W)return!1;if(Z.charAt(0)==="*")Z=Z.slice(1);if(Z.charAt(0)===".")return G.endsWith(Z);return G===Z||n5(G)&&n5(Z)})}var t8,s5=($)=>{let Q=$.split(".");if(Q.length!==4)return!1;if(Q[0]!=="127")return!1;return Q.every((Y)=>/^\d+$/.test(Y)&&Number(Y)>=0&&Number(Y)<=255)},D1=($)=>/^0{1,4}$/.test($),r8=($)=>{if($==="::")return!0;let Q=$.indexOf("::");if(Q!==-1){if(Q!==$.lastIndexOf("::"))return!1;let W=$.slice(0,Q),G=$.slice(Q+2),J=W?W.split(":"):[],Z=G?G.split(":"):[];return J.length+Z.length<8&&J.every(D1)&&Z.every(D1)}let Y=$.split(":");return Y.length===8&&Y.every(D1)},o8=($)=>{if($==="::1")return!0;let Q=$.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(Q)return s5(Q[1]);let Y=$.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(Y){let G=parseInt(Y[1],16);return G>=32512&&G<=32767}let W=$.split(":");if(W.length===8){for(let G=0;G<7;G++)if(!/^0+$/.test(W[G]))return!1;return/^0*1$/.test(W[7])}return!1},n5=($)=>{if(!$)return!1;if(t8.has($))return!0;if(s5($))return!0;if(r8($))return!0;return o8($)},e8,$Q=($)=>{let Q=$,Y=0;if(Q.charAt(0)==="["){let J=Q.indexOf("]");if(J!==-1){let Z=Q.slice(1,J),z=Q.slice(J+1);if(z.charAt(0)===":"&&/^\d+$/.test(z.slice(1)))Y=Number.parseInt(z.slice(1),10);return[Z,Y]}}let W=Q.indexOf(":"),G=Q.lastIndexOf(":");if(W!==-1&&W===G&&/^\d+$/.test(Q.slice(G+1)))Y=Number.parseInt(Q.slice(G+1),10),Q=Q.slice(0,G);return[Q,Y]},QQ,YQ,WQ=($)=>{if(typeof $!=="string"||$.indexOf(":")===-1)return $;let Q=$.match(QQ);if(Q)return Q[1];let Y=$.match(YQ);if(Y){let W=parseInt(Y[1],16),G=parseInt(Y[2],16);return`${W>>8}.${W&255}.${G>>8}.${G&255}`}return $},a5=($)=>{if(!$)return $;if($.charAt(0)==="["&&$.charAt($.length-1)==="]")$=$.slice(1,-1);return WQ($.replace(/\.+$/,""))};var t5=T(()=>{t8=new Set(["localhost","0.0.0.0"]),e8={http:80,https:443,ws:80,wss:443,ftp:21},QQ=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,YQ=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i});function GQ($,Q){$=$||10;let Y=Array($),W=Array($),G=0,J=0,Z;return Q=Q!==void 0?Q:1000,function(K){let N=Date.now(),M=W[J];if(!Z)Z=N;Y[G]=K,W[G]=N;let B=J,I=0;while(B!==G)I+=Y[B++],B=B%$;if(G=(G+1)%$,G===J)J=(J+1)%$;if(N-Z<Q)return;let U=M&&N-M;return U?Math.round(I*1000/U):void 0}}var r5;var o5=T(()=>{r5=GQ});function ZQ($,Q){let Y=0,W=1000/Q,G,J,Z=(N,M=Date.now())=>{if(Y=M,G=null,J)clearTimeout(J),J=null;$(...N)};return[(...N)=>{let M=Date.now(),B=M-Y;if(B>=W)Z(N,M);else if(G=N,!J)J=setTimeout(()=>{J=null,Z(G)},W-B)},()=>G&&Z(G)]}var e5;var $6=T(()=>{e5=ZQ});var F0=($,Q,Y=3)=>{let W=0,G=r5(50,250);return e5((J)=>{if(!J||typeof J.loaded!=="number")return;let Z=J.loaded,z=J.lengthComputable?J.total:void 0,K=z!=null?Math.min(Z,z):Z,N=Math.max(0,K-W),M=G(N);W=Math.max(W,K);let B={loaded:K,total:z,progress:z?K/z:void 0,bytes:N,rate:M?M:void 0,estimated:M&&z?(z-K)/M:void 0,event:J,lengthComputable:z!=null,[Q?"download":"upload"]:!0};$(B)},Y)},p0=($,Q)=>{let Y=$!=null;return[(W)=>Q[0]({lengthComputable:Y,total:$,loaded:W}),Q[1]]},i0=($)=>(...Q)=>X.asap(()=>$(...Q));var b4=T(()=>{o5();$6();x()});function F4($){if(!$||typeof $!=="string")return 0;if(!$.startsWith("data:"))return 0;let Q=$.indexOf(",");if(Q<0)return 0;let Y=$.slice(5,Q),W=$.slice(Q+1);if(/;base64/i.test(Y)){let{length:Z,length:z}=W;for(let U=0;U<z;U++)if(W.charCodeAt(U)===37&&U+2<z){let S=W.charCodeAt(U+1),q=W.charCodeAt(U+2);if(x4(S)&&x4(q))Z-=2,U+=2}let K=0,N=z-1,M=(U)=>U>=2&&W.charCodeAt(U-2)===37&&W.charCodeAt(U-1)===51&&(W.charCodeAt(U)===68||W.charCodeAt(U)===100);if(N>=0){if(W.charCodeAt(N)===61)K++,N--;else if(M(N))K++,N-=3}if(K===1&&N>=0){if(W.charCodeAt(N)===61)K++;else if(M(N))K++}let I=Math.floor(Z/4)*3-(K||0);return I>0?I:0}let J=0;for(let Z=0,z=W.length;Z<z;Z++){let K=W.charCodeAt(Z);if(K===37&&JQ(W,Z,z))J+=1,Z+=2;else if(K<128)J+=1;else if(K<2048)J+=2;else if(K>=55296&&K<=56319&&Z+1<z){let N=W.charCodeAt(Z+1);if(N>=56320&&N<=57343)J+=4,Z++;else J+=3}else J+=3}return J}var x4=($)=>$>=48&&$<=57||$>=65&&$<=70||$>=97&&$<=102,JQ=($,Q,Y)=>Q+2<Y&&x4($.charCodeAt(Q+1))&&x4($.charCodeAt(Q+2));var T1=()=>{};import M6 from"http";import B6 from"https";import zQ from"http2";import NQ from"util";import{resolve as Q6}from"path";import Y0 from"zlib";import J0 from"stream";import{EventEmitter as MQ}from"events";function wQ($,Q,Y){if(Y!=="content-only"){$.set(Q);return}Object.entries(Q).forEach(([W,G])=>{if(LQ.includes(W.toLowerCase()))$.set(W,G)})}function DQ($=process.versions&&process.versions.node){if(!$)return!1;let[Q,Y]=$.split(".").map((W)=>Number(W));if(!Number.isInteger(Q)||!Number.isInteger(Y))return!1;if(Q>24)return!0;return Z6[Q]!=null&&Y>=Z6[Q]}function _Q($,Q=process.versions&&process.versions.node){if(!DQ(Q))return!1;let Y=$&&$.options;return Boolean(Y&&X.hasOwnProp(Y,"proxyEnv")&&Y.proxyEnv!=null)}function TQ($,Q,Y){return q1.test($.protocol)?Y||B6.globalAgent:Q||M6.globalAgent}function RQ($,Q){let Y=$.protocol+"//"+$.hostname+":"+($.port||"")+"#"+($.auth||""),W=Q?G6.get(Q)||G6.set(Q,new Map).get(Q):SQ,G=W.get(Y);if(G)return G;let J=Q&&Q.options?{...Q.options,...$}:$;if(G=new R1.default(J),Q&&Q.options){let Z={...Q.options},z=G.callback;G.callback=function(N,M){return z.call(this,N,{...Z,...M})}}return G[L6]=!0,W.set(Y,G),G}function PQ($,Q,Y){if($.beforeRedirects.proxy)$.beforeRedirects.proxy($);if($.beforeRedirects.auth)$.beforeRedirects.auth($);if($.beforeRedirects.sensitiveHeaders)$.beforeRedirects.sensitiveHeaders($,Y);if($.beforeRedirects.config)$.beforeRedirects.config($,Q,Y)}function CQ($,Q){if(!$)return;Object.keys($).forEach((Y)=>{if(Q.has(Y.toLowerCase()))delete $[Y]})}function OQ($,Q){if(!Q)return!1;try{return new URL(Q.url).origin===new URL($.href).origin}catch(Y){return!1}}function w6($,Q,Y,W,G,J){let Z=Q,z=TQ($,J,G);if(!Z&&Z!==!1&&!_Q(z)){let K=N6(Y);if(K){if(!_1(Y))Z=new URL(K)}}if(W&&$.headers){for(let K of Object.keys($.headers))if(K.toLowerCase()==="proxy-authorization")delete $.headers[K]}if(W&&$.agent&&$.agent[L6])$.agent=void 0;if(Z){let K=Z instanceof URL,N=(S)=>K||X.hasOwnProp(Z,S)?Z[S]:void 0,M=N("username"),B=N("password"),I=X.hasOwnProp(Z,"auth")?Z.auth:void 0;if(M)I=(M||"")+":"+(B||"");if(I){let S=typeof I==="object",q=S&&X.hasOwnProp(I,"username")?I.username:void 0,L=S&&X.hasOwnProp(I,"password")?I.password:void 0;if(Boolean(q||L))I=(q||"")+":"+(L||"");else if(S)throw new V("Invalid proxy authorization",V.ERR_BAD_OPTION,{proxy:Z})}if(q1.test($.protocol)){if(!(G instanceof R1.default)){let S=N("hostname")||N("host"),q=N("port"),L=N("protocol"),F=L?L.includes(":")?L:`${L}:`:"http:",_=S&&S.includes(":")&&!S.startsWith("[")?`[${S}]`:S,R=new URL(`${F}//${_}${q?":"+q:""}`),O={protocol:R.protocol,hostname:R.hostname.replace(/^\[|\]$/g,""),port:R.port,auth:I&&typeof I==="string"?I:void 0};if(R.protocol==="https:")O.ALPNProtocols=["http/1.1"];let v=RQ(O,G);if($.agent=v,$.agents)$.agents.https=v}}else{if(I){let F=Buffer.from(I,"utf8").toString("base64");$.headers["Proxy-Authorization"]="Basic "+F}let S=!1;for(let F of Object.keys($.headers))if(F.toLowerCase()==="host"){S=!0;break}if(!S)$.headers.host=$.hostname+($.port?":"+$.port:"");let q=N("hostname")||N("host");$.hostname=q,$.host=q,$.port=N("port"),$.path=Y;let L=N("protocol");if(L)$.protocol=L.includes(":")?L:`${L}:`}}$.beforeRedirects.proxy=function(N){w6(N,Q,N.href,!0,G,J)}}var R1,V6,Y6,BQ,VQ,I6,F6,U6,IQ,FQ,UQ,q1,LQ,W6,v4,L6,SQ,G6,Z6,J6,X6=($)=>{if(!X.isString($))return $;try{return decodeURIComponent($)}catch(Q){return $}},K6=($,[Q,Y])=>{return $.on("end",Y).on("error",Y),Q},qQ,HQ,EQ=($)=>{return new Promise((Q,Y)=>{let W,G,J=(K,N)=>{if(G)return;G=!0,W&&W(K,N)},Z=(K)=>{J(K),Q(K)},z=(K)=>{J(K,!0),Y(K)};$(Z,z,(K)=>W=K).catch(z)})},AQ=({address:$,family:Q})=>{if(!X.isString($))throw TypeError("address must be a string");return{address:$,family:Q||($.indexOf(".")<0?6:4)}},z6=($,Q)=>AQ(X.isObject($)?$:{address:$,family:Q}),jQ,S6;var D6=T(()=>{x();E4();A4();C4();XQ();B4();W4();t();O0();Z0();k5();G0();x5();f5();S1();u5();l5();i5();t5();$4();b4();T1();R1=n4(j5(),1),V6=n4(KQ(),1),Y6={flush:Y0.constants.Z_SYNC_FLUSH,finishFlush:Y0.constants.Z_SYNC_FLUSH},BQ={flush:Y0.constants.BROTLI_OPERATION_FLUSH,finishFlush:Y0.constants.BROTLI_OPERATION_FLUSH},VQ={flush:Y0.constants.ZSTD_e_flush,finishFlush:Y0.constants.ZSTD_e_flush},I6=X.isFunction(Y0.createBrotliDecompress),F6=X.isFunction(Y0.createZstdDecompress),U6="gzip, compress, deflate"+(I6?", br":""),IQ=U6+(F6?", zstd":""),{http:FQ,https:UQ}=V6.default,q1=/https:?/,LQ=["content-type","content-length"];W6=Symbol("axios.http.socketListener"),v4=Symbol("axios.http.currentReq"),L6=Symbol("axios.http.installedTunnel"),SQ=new Map,G6=new WeakMap,Z6={22:21,24:5};J6=j.protocols.map(($)=>{return $+":"}),qQ=new d5;HQ=typeof process<"u"&&X.kindOf(process)==="process",jQ={request($,Q){let Y=$.protocol+"//"+$.hostname+":"+($.port||($.protocol==="https:"?443:80)),{http2Options:W,headers:G}=$,J=qQ.getSession(Y,W),{HTTP2_HEADER_SCHEME:Z,HTTP2_HEADER_METHOD:z,HTTP2_HEADER_PATH:K,HTTP2_HEADER_STATUS:N}=zQ.constants,M={[Z]:$.protocol.replace(":",""),[z]:$.method,[K]:$.path};X.forEach(G,(I,U)=>{U.charAt(0)!==":"&&(M[U]=I)});let B=J.request(M);return B.once("response",(I)=>{let U=B;I=Object.assign({},I);let S=I[N];delete I[N],U.headers=I,U.statusCode=+S,Q(U)}),B}},S6=HQ&&function(Q){return EQ(async function(W,G,J){let Z=(D)=>X.getSafeProp(Q,D),z=Z("transitional")||D0,K=Z("data"),N=Z("lookup"),M=Z("family"),B=Z("httpVersion");if(B===void 0)B=1;let I=Z("http2Options"),U=Z("httpAgent"),S=Z("httpsAgent"),q=Z("proxy"),L=Z("responseType"),F=Z("responseEncoding"),_=Z("socketPath"),R=Z("method").toUpperCase(),O=Z("maxRedirects"),v=Z("maxBodyLength"),k=Z("maxContentLength"),K0=Z("decompress"),j0,U0=!1,E,e;if(B=+B,Number.isNaN(B))throw TypeError(`Invalid protocol version: '${Q.httpVersion}' is not a number`);if(B!==1&&B!==2)throw TypeError(`Unsupported protocol version '${B}'`);let k0=B===2;if(N){let D=p5(N,(w)=>X.isArray(w)?w:[w]);N=(w,H,h)=>{D(w,H,(C,l,s)=>{if(C)return h(C);let u=X.isArray(l)?l.map((v0)=>z6(v0)):[z6(l,s)];H.all?h(C,u):h(C,u[0].address,u[0].family)})}}let L0=new MQ;function c(D){try{L0.emit("abort",!D||D.type?new $0(null,Q,E):D)}catch(w){}}function B0(){if(e)clearTimeout(e),e=null}function _0(){let D=Z("timeout"),w=D?"timeout of "+D+"ms exceeded":"timeout exceeded",H=Z("timeoutErrorMessage");if(H)w=H;return new V(w,z.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,Q,E)}L0.once("abort",G);let T0=()=>{if(B0(),Q.cancelToken)Q.cancelToken.unsubscribe(c);if(Q.signal)Q.signal.removeEventListener("abort",c);L0.removeAllListeners()};if(Q.cancelToken||Q.signal){if(Q.cancelToken&&Q.cancelToken.subscribe(c),Q.signal)Q.signal.aborted?c():Q.signal.addEventListener("abort",c)}J((D,w)=>{if(j0=!0,B0(),w){U0=!0,T0();return}let{data:H}=D;if(H instanceof J0.Readable||H instanceof J0.Duplex){let h=J0.finished(H,()=>{h(),T0()})}else T0()});let S4=H0(Z("baseURL"),Z("url"),Z("allowAbsoluteUrls"),Q),D4=_?"http://localhost":j.hasBrowserEnv?j.origin:void 0,m=new URL(S4,D4),f=m.protocol||J6[0];if(f==="data:"){if(k>-1){let w=String(Z("url")||S4||"");if(F4(w)>k)return G(new V("maxContentLength size of "+k+" exceeded",V.ERR_BAD_RESPONSE,Q))}let D;if(R!=="GET")return M0(W,G,{status:405,statusText:"method not allowed",headers:{},config:Q});try{D=U1(Z("url"),L==="blob",{Blob:Q.env&&Q.env.Blob})}catch(w){throw V.from(w,V.ERR_BAD_REQUEST,Q)}if(L==="text"){if(D=D.toString(F),!F||F==="utf8")D=X.stripBOM(D)}else if(L==="stream")D=J0.Readable.from(D);return M0(W,G,{data:D,status:200,statusText:"OK",headers:new y,config:Q})}if(J6.indexOf(f)===-1)return G(new V("Unsupported protocol "+f,V.ERR_BAD_REQUEST,Q));let g=y.from(Q.headers).normalize();g.set("User-Agent","axios/"+I0,!1);let{onUploadProgress:z0,onDownloadProgress:V0}=Q,R0=Q.maxRate,A=void 0,i=void 0;if(X.isSpecCompliantForm(K)){let D=g.getContentType(/boundary=([-_\w\d]{10,70})/i);K=m5(K,(w)=>{g.set(w)},{tag:`axios-${I0}-boundary`,boundary:D&&D[1]||void 0})}else if(X.isFormData(K)&&X.isFunction(K.getHeaders)&&K.getHeaders!==Object.prototype.getHeaders){if(wQ(g,K.getHeaders(),Z("formDataHeaderPolicy")),!g.hasContentLength())try{let D=await NQ.promisify(K.getLength).call(K);Number.isFinite(D)&&D>=0&&g.setContentLength(D)}catch(D){}}else if(X.isBlob(K)||X.isFile(K))K.size&&g.setContentType(K.type||"application/octet-stream"),g.setContentLength(K.size||0),K=J0.Readable.from(k4(K));else if(K&&!X.isStream(K)){if(Buffer.isBuffer(K));else if(X.isArrayBuffer(K))K=Buffer.from(new Uint8Array(K));else if(X.isString(K))K=Buffer.from(K,"utf-8");else return G(new V("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",V.ERR_BAD_REQUEST,Q));if(g.setContentLength(K.length,!1),v>-1&&K.length>v)return G(new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,Q))}let b0=X.toFiniteNumber(g.getContentLength());if(X.isArray(R0))A=R0[0],i=R0[1];else A=i=R0;if(K&&(z0||A)){if(!X.isStream(K))K=J0.Readable.from(K,{objectMode:!1});K=J0.pipeline([K,new w1({maxRate:X.toFiniteNumber(A)})],X.noop),z0&&K.on("progress",K6(K,p0(b0,F0(i0(z0),!1,3))))}let N0=void 0,n0=Z("auth");if(n0){let D=X.getSafeProp(n0,"username")||"",w=X.getSafeProp(n0,"password")||"";N0=D+":"+w}if(!N0&&(m.username||m.password)){let D=X6(m.username),w=X6(m.password);N0=D+":"+w}N0&&g.delete("authorization");let a0;try{a0=C0(m.pathname+m.search,Z("params"),Z("paramsSerializer")).replace(/^\?/,"")}catch(D){return G(V.from(D,V.ERR_BAD_REQUEST,Q,null,null,{url:Z("url"),exists:!0}))}g.set("Accept-Encoding",X.hasOwnProp(z,"advertiseZstdAcceptEncoding")&&z.advertiseZstdAcceptEncoding===!0?IQ:U6,!1);let b=Object.assign(Object.create(null),{path:a0,method:R,headers:g0(g),agents:{http:U,https:S},auth:N0,protocol:f,family:M,beforeRedirect:PQ,beforeRedirects:Object.create(null),http2Options:I});if(!X.isUndefined(N)&&(b.lookup=N),_){if(typeof _!=="string")return G(new V("socketPath must be a string",V.ERR_BAD_OPTION_VALUE,Q));let D=Z("allowedSocketPaths");if(D!=null){let w=Array.isArray(D)?D:[D],H=Q6(_);if(!w.some((C)=>typeof C==="string"&&Q6(C)===H))return G(new V(`socketPath "${_}" is not permitted by allowedSocketPaths`,V.ERR_BAD_OPTION_VALUE,Q))}b.socketPath=_}else b.hostname=m.hostname.startsWith("[")?m.hostname.slice(1,-1):m.hostname,b.port=m.port,w6(b,q,f+"//"+m.hostname+(m.port?":"+m.port:"")+b.path,!1,S,U);let w0,x0=!1,Q0=!1,P=q1.test(b.protocol);if(b.agent==null)b.agent=P?S:U;if(k0)w0=jQ;else{let D=Z("transport");if(D)w0=D;else if(O===0)w0=P?B6:M6,x0=!0;else{if(Q0=!0,b.sensitiveHeaders=[],O)b.maxRedirects=O;let w=Z("beforeRedirect");if(w)b.beforeRedirects.config=w;if(N0){let h=m.origin,C=N0;b.beforeRedirects.auth=function(s){try{if(new URL(s.href).origin===h)s.auth=C}catch(u){}}}let H=Z("sensitiveHeaders");if(H!=null){if(!X.isArray(H))return G(new V("sensitiveHeaders must be an array of strings",V.ERR_BAD_OPTION_VALUE,Q));let h=new Set;for(let C of H){if(!X.isString(C))return G(new V("sensitiveHeaders must be an array of strings",V.ERR_BAD_OPTION_VALUE,Q));h.add(C.toLowerCase())}if(h.size)b.sensitiveHeaders=Array.from(h),b.beforeRedirects.sensitiveHeaders=function(l,s){if(!OQ(l,s))CQ(l.headers,h)}}w0=P?UQ:FQ}}if(v>-1)b.maxBodyLength=v;else b.maxBodyLength=1/0;b.insecureHTTPParser=Boolean(Z("insecureHTTPParser")),E=w0.request(b,function(w){if(B0(),E.destroyed)return;let H=[w],h=X.toFiniteNumber(w.headers["content-length"]);if(V0||i){let u=new w1({maxRate:X.toFiniteNumber(i)});V0&&u.on("progress",K6(u,p0(h,F0(i0(V0),!0,3)))),H.push(u)}let C=w,l=w.req||E;if(K0!==!1&&w.headers["content-encoding"]){if(R==="HEAD"||w.statusCode===204)delete w.headers["content-encoding"];switch((w.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":H.push(Y0.createUnzip(Y6)),delete w.headers["content-encoding"];break;case"deflate":H.push(new g5),H.push(Y0.createUnzip(Y6)),delete w.headers["content-encoding"];break;case"br":if(I6)H.push(Y0.createBrotliDecompress(BQ)),delete w.headers["content-encoding"];break;case"zstd":if(F6)H.push(Y0.createZstdDecompress(VQ)),delete w.headers["content-encoding"];break}}C=H.length>1?J0.pipeline(H,X.noop):H[0];let s={status:w.statusCode,statusText:w.statusMessage,headers:new y(w.headers),config:Q,request:l};if(L==="stream"){if(k>-1){let u=k,v0=C;async function*s0(){let p=0;for await(let v1 of v0){if(p+=v1.length,p>u)throw new V("maxContentLength size of "+u+" exceeded",V.ERR_BAD_RESPONSE,Q,l);yield v1}}C=J0.Readable.from(s0(),{objectMode:!1})}s.data=C,M0(W,G,s)}else{let u=[],v0=0;C.on("data",function(p){if(u.push(p),v0+=p.length,k>-1&&v0>k)U0=!0,C.destroy(),c(new V("maxContentLength size of "+k+" exceeded",V.ERR_BAD_RESPONSE,Q,l))}),C.on("aborted",function(){if(U0)return;let p=new V("stream has been aborted",V.ERR_BAD_RESPONSE,Q,l,s);C.destroy(p),G(p)}),C.on("error",function(p){if(U0)return;G(V.from(p,null,Q,l,s))}),C.on("end",function(){try{let p=u.length===1?u[0]:Buffer.concat(u);if(L!=="arraybuffer"){if(p=p.toString(F),!F||F==="utf8")p=X.stripBOM(p)}s.data=p}catch(p){return G(V.from(p,null,Q,s.request,s))}M0(W,G,s)})}L0.once("abort",(u)=>{if(!C.destroyed)C.emit("error",u),C.destroy()})}),L0.once("abort",(D)=>{if(E.close)E.close();else E.destroy(D)}),E.on("error",function(w){G(V.from(w,null,Q,E))});let n=new Set;if(E.on("socket",function(w){if(typeof w.setKeepAlive==="function")w.setKeepAlive(!0,60000);if(!w[W6])w.on("error",function(h){let C=w[v4];if(C&&!C.destroyed)C.destroy(h)}),w[W6]=!0;w[v4]=E,n.add(w)}),E.once("close",function(){B0();for(let w of n)if(w[v4]===E)w[v4]=null;n.clear()}),Z("timeout")){let D=parseInt(Z("timeout"),10);if(Number.isNaN(D)){c(new V("error trying to parse `config.timeout` to int",V.ERR_BAD_OPTION_VALUE,Q,E));return}let w=function(){if(j0)return;c(_0())};if(x0&&D>0)e=setTimeout(w,D);E.setTimeout(D,w)}else E.setTimeout(0);if(X.isStream(K)){let D=!1,w=!1;K.on("end",()=>{D=!0}),K.once("error",(h)=>{w=!0,E.destroy(h)}),K.on("close",()=>{if(!D&&!w)c(new $0("Request stream has been aborted",Q,E))});let H=K;if(v>-1&&!Q0){let h=v,C=0;H=J0.pipeline([K,new J0.Transform({transform(l,s,u){if(C+=l.length,C>h)return u(new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,Q,E));u(null,l)}})],X.noop),H.on("error",(l)=>{if(!E.destroyed)E.destroy(l)})}H.pipe(E)}else K&&E.write(K),E.end()})}});var _6;var T6=T(()=>{Z0();_6=j.hasStandardBrowserEnv?(($,Q)=>(Y)=>{return Y=new URL(Y,j.origin),$.protocol===Y.protocol&&$.host===Y.host&&(Q||$.port===Y.port)})(new URL(j.origin),j.navigator&&/(msie|trident)/i.test(j.navigator.userAgent)):()=>!0});var R6;var q6=T(()=>{x();Z0();R6=j.hasStandardBrowserEnv?{write($,Q,Y,W,G,J,Z){if(typeof document>"u")return;let z=[`${$}=${encodeURIComponent(Q)}`];if(X.isNumber(Y))z.push(`expires=${new Date(Y).toUTCString()}`);if(X.isString(W))z.push(`path=${W}`);if(X.isString(G))z.push(`domain=${G}`);if(J===!0)z.push("secure");if(X.isString(Z))z.push(`SameSite=${Z}`);document.cookie=z.join("; ")},read($){if(typeof document>"u")return null;let Q=document.cookie.split(";");for(let Y=0;Y<Q.length;Y++){let W=Q[Y].replace(/^\s+/,""),G=W.indexOf("=");if(G!==-1&&W.slice(0,G)===$)try{return decodeURIComponent(W.slice(G+1))}catch(J){return W.slice(G+1)}}return null},remove($){this.write($,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}}});function X0($,Q){$=$||{},Q=Q||{};let Y=Object.create(null);Object.defineProperty(Y,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function W(M,B,I,U){if(X.isPlainObject(M)&&X.isPlainObject(B))return X.merge.call({caseless:U},M,B);else if(X.isPlainObject(B))return X.merge({},B);else if(X.isArray(B))return B.slice();return B}function G(M,B,I,U){if(!X.isUndefined(B))return W(M,B,I,U);else if(!X.isUndefined(M))return W(void 0,M,I,U)}function J(M,B){if(!X.isUndefined(B))return W(void 0,B)}function Z(M,B){if(!X.isUndefined(B))return W(void 0,B);else if(!X.isUndefined(M))return W(void 0,M)}function z(M){let B=X.hasOwnProp(Q,"transitional")?Q.transitional:void 0;if(!X.isUndefined(B))if(X.isPlainObject(B)){if(X.hasOwnProp(B,M))return B[M]}else return;let I=X.hasOwnProp($,"transitional")?$.transitional:void 0;if(X.isPlainObject(I)&&X.hasOwnProp(I,M))return I[M];return}function K(M,B,I){if(X.hasOwnProp(Q,I))return W(M,B);else if(X.hasOwnProp($,I))return W(void 0,M)}let N={url:J,method:J,data:J,baseURL:Z,transformRequest:Z,transformResponse:Z,paramsSerializer:Z,timeout:Z,timeoutMessage:Z,withCredentials:Z,withXSRFToken:Z,adapter:Z,responseType:Z,xsrfCookieName:Z,xsrfHeaderName:Z,onUploadProgress:Z,onDownloadProgress:Z,decompress:Z,maxContentLength:Z,maxBodyLength:Z,beforeRedirect:Z,transport:Z,httpAgent:Z,httpsAgent:Z,cancelToken:Z,socketPath:Z,allowedSocketPaths:Z,responseEncoding:Z,validateStatus:K,headers:(M,B,I)=>G(P6(M),P6(B),I,!0)};if(X.forEach(Object.keys({...$,...Q}),function(B){if(B==="__proto__"||B==="constructor"||B==="prototype")return;let I=X.hasOwnProp(N,B)?N[B]:G,U=X.hasOwnProp($,B)?$[B]:void 0,S=X.hasOwnProp(Q,B)?Q[B]:void 0,q=I(U,S,B);X.isUndefined(q)&&I!==K||(Y[B]=q)}),X.hasOwnProp(Q,"validateStatus")&&X.isUndefined(Q.validateStatus)&&z("validateStatusUndefinedResolves")===!1)if(X.hasOwnProp($,"validateStatus"))Y.validateStatus=W(void 0,$.validateStatus);else delete Y.validateStatus;return Y}var P6=($)=>$ instanceof y?{...$}:$;var y4=T(()=>{x();G0()});function bQ($,Q,Y){if(Y!=="content-only"){$.set(Q);return}Object.entries(Q||{}).forEach(([W,G])=>{if(kQ.includes(W.toLowerCase()))$.set(W,G)})}function vQ($){let Q=X0({},$),Y=(I)=>X.hasOwnProp(Q,I)?Q[I]:void 0,W=Y("data"),G=Y("withXSRFToken"),J=Y("xsrfHeaderName"),Z=Y("xsrfCookieName"),z=Y("headers"),K=Y("auth"),N=Y("baseURL"),M=Y("allowAbsoluteUrls"),B=Y("url");if(Q.headers=z=y.from(z),Q.url=C0(H0(N,B,M,Q),Y("params"),Y("paramsSerializer")),K){let I=X.getSafeProp(K,"username")||"",U=X.getSafeProp(K,"password")||"";try{z.set("Authorization","Basic "+btoa(I+":"+(U?xQ(U):"")))}catch(S){throw V.from(S,V.ERR_BAD_OPTION_VALUE,$)}}if(X.isFormData(W)){if(j.hasStandardBrowserEnv||j.hasStandardBrowserWebWorkerEnv||X.isReactNative(W))z.setContentType(void 0);else if(X.isFunction(W.getHeaders))bQ(z,W.getHeaders(),Y("formDataHeaderPolicy"))}if(j.hasStandardBrowserEnv){if(X.isFunction(G))G=G(Q);if(G===!0||G==null&&_6(Q.url)){let U=J&&Z&&R6.read(Z);if(U)z.set(J,U)}}return Q}var kQ,xQ=($)=>encodeURIComponent($).replace(/%([0-9A-F]{2})/gi,(Q,Y)=>String.fromCharCode(parseInt(Y,16))),m4;var P1=T(()=>{Z0();x();t();T6();q6();A4();y4();G0();C4();kQ=["content-type","content-length"];m4=vQ});var yQ,C6;var O6=T(()=>{x();E4();W4();t();O0();F1();Z0();G0();b4();P1();$4();yQ=typeof XMLHttpRequest<"u",C6=yQ&&function($){return new Promise(function(Y,W){let G=m4($),J=G.data,Z=y.from(G.headers).normalize(),{responseType:z,onUploadProgress:K,onDownloadProgress:N}=G,M,B,I,U,S;function q(){U&&U(),S&&S(),G.cancelToken&&G.cancelToken.unsubscribe(M),G.signal&&G.signal.removeEventListener("abort",M)}let L=new XMLHttpRequest;L.open(G.method.toUpperCase(),G.url,!0),L.timeout=G.timeout;function F(){if(!L)return;let R=y.from("getAllResponseHeaders"in L&&L.getAllResponseHeaders()),v={data:!z||z==="text"||z==="json"?L.responseText:L.response,status:L.status,statusText:L.statusText,headers:R,config:$,request:L};M0(function(K0){Y(K0),q()},function(K0){W(K0),q()},v),L=null}if("onloadend"in L)L.onloadend=F;else L.onreadystatechange=function(){if(!L||L.readyState!==4)return;if(L.status===0&&!(L.responseURL&&L.responseURL.startsWith("file:")))return;setTimeout(F)};if(L.onabort=function(){if(!L)return;W(new V("Request aborted",V.ECONNABORTED,$,L)),q(),L=null},L.onerror=function(O){let v=O&&O.message?O.message:"Network Error",k=new V(v,V.ERR_NETWORK,$,L);k.event=O||null,W(k),q(),L=null},L.ontimeout=function(){let O=G.timeout?"timeout of "+G.timeout+"ms exceeded":"timeout exceeded",v=G.transitional||D0;if(G.timeoutErrorMessage)O=G.timeoutErrorMessage;W(new V(O,v.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,$,L)),q(),L=null},J===void 0&&Z.setContentType(null),"setRequestHeader"in L)X.forEach(g0(Z),function(O,v){L.setRequestHeader(v,O)});if(!X.isUndefined(G.withCredentials))L.withCredentials=!!G.withCredentials;if(z&&z!=="json")L.responseType=G.responseType;if(N)[I,S]=F0(N,!0),L.addEventListener("progress",I);if(K&&L.upload)[B,U]=F0(K),L.upload.addEventListener("progress",B),L.upload.addEventListener("loadend",U);if(G.cancelToken||G.signal){if(M=(R)=>{if(!L)return;W(!R||R.type?new $0(null,$,L):R),L.abort(),q(),L=null},G.cancelToken&&G.cancelToken.subscribe(M),G.signal)G.signal.aborted?M():G.signal.addEventListener("abort",M)}let _=V4(G.url);if(_&&!j.protocols.includes(_)){W(new V("Unsupported protocol "+_+":",V.ERR_BAD_REQUEST,$)),q();return}L.send(J||null)})}});var mQ=($,Q)=>{if($=$?$.filter(Boolean):[],!Q&&!$.length)return;let Y=new AbortController,W=!1,G=function(K){if(!W){W=!0,Z();let N=K instanceof Error?K:this.reason;Y.abort(N instanceof V?N:new $0(N instanceof Error?N.message:N))}},J=Q&&setTimeout(()=>{J=null,G(new V(`timeout of ${Q}ms exceeded`,V.ETIMEDOUT))},Q),Z=()=>{if(!$)return;J&&clearTimeout(J),J=null,$.forEach((K)=>{K.unsubscribe?K.unsubscribe(G):K.removeEventListener("abort",G)}),$=null};$.forEach((K)=>K.addEventListener("abort",G,{once:!0}));let{signal:z}=Y;return z.unsubscribe=()=>X.asap(Z),z},H6;var E6=T(()=>{O0();t();x();H6=mQ});var fQ=function*($,Q){let Y=$.byteLength;if(!Q||Y<Q){yield $;return}let W=0,G;while(W<Y)G=W+Q,yield $.slice(W,G),W=G},hQ=async function*($,Q){for await(let Y of gQ($))yield*fQ(Y,Q)},gQ=async function*($){if($[Symbol.asyncIterator]){yield*$;return}let Q=$.getReader();try{for(;;){let{done:Y,value:W}=await Q.read();if(Y)break;yield W}}finally{await Q.cancel()}},C1=($,Q,Y,W)=>{let G=hQ($,Q),J=0,Z,z=(K)=>{if(!Z)Z=!0,W&&W(K)};return new ReadableStream({async pull(K){try{let{done:N,value:M}=await G.next();if(N){z(),K.close();return}let B=M.byteLength;if(Y){let I=J+=B;Y(I)}K.enqueue(new Uint8Array(M))}catch(N){throw z(N),N}},cancel(K){return z(K),G.return()}},{highWaterMark:2})};var A6=()=>{};var j6=65536,f4,uQ=($)=>encodeURIComponent($).replace(/%([0-9A-F]{2})/gi,(Q,Y)=>String.fromCharCode(parseInt(Y,16))),k6=($)=>{if(!X.isString($))return $;try{return decodeURIComponent($)}catch(Q){return $}},b6=($,...Q)=>{try{return!!$(...Q)}catch(Y){return!1}},cQ=($)=>{let Q=$.indexOf("://"),Y=$;if(Q!==-1)Y=Y.slice(Q+3);return Y.includes("@")||Y.includes(":")},dQ=($)=>{let Q=X.global!==void 0&&X.global!==null?X.global:globalThis,{ReadableStream:Y,TextEncoder:W}=Q;$=X.merge.call({skipUndefined:!0},{Request:Q.Request,Response:Q.Response},$);let{fetch:G,Request:J,Response:Z}=$,z=G?f4(G):typeof fetch==="function",K=f4(J),N=f4(Z);if(!z)return!1;let M=z&&f4(Y),B=z&&(typeof W==="function"?((F)=>(_)=>F.encode(_))(new W):async(F)=>new Uint8Array(await new J(F).arrayBuffer())),I=K&&M&&b6(()=>{let F=!1,_=new J(j.origin,{body:new Y,method:"POST",get duplex(){return F=!0,"half"}}),R=_.headers.has("Content-Type");if(_.body!=null)_.body.cancel();return F&&!R}),U=N&&M&&b6(()=>X.isReadableStream(new Z("").body)),S={stream:U&&((F)=>F.body)};z&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((F)=>{!S[F]&&(S[F]=(_,R)=>{let O=_&&_[F];if(O)return O.call(_);throw new V(`Response type '${F}' is not supported`,V.ERR_NOT_SUPPORT,R)})})})();let q=async(F)=>{if(F==null)return 0;if(X.isBlob(F))return F.size;if(X.isSpecCompliantForm(F))return(await new J(j.origin,{method:"POST",body:F}).arrayBuffer()).byteLength;if(X.isArrayBufferView(F)||X.isArrayBuffer(F))return F.byteLength;if(X.isURLSearchParams(F))F=F+"";if(X.isString(F))return(await B(F)).byteLength},L=async(F,_)=>{let R=X.toFiniteNumber(F.getContentLength());return R==null?q(_):R};return async(F)=>{let{url:_,method:R,data:O,signal:v,cancelToken:k,timeout:K0,onDownloadProgress:j0,onUploadProgress:U0,responseType:E,headers:e,withCredentials:k0="same-origin",fetchOptions:L0,maxContentLength:c,maxBodyLength:B0}=m4(F),_0=X.isNumber(c)&&c>-1,T0=X.isNumber(B0)&&B0>-1,S4=(A)=>X.hasOwnProp(F,A)?F[A]:void 0,D4=G||fetch;E=E?(E+"").toLowerCase():"text";let m=H6([v,k&&k.toAbortSignal()],K0),f=null,g=m&&m.unsubscribe&&(()=>{m.unsubscribe()}),z0,V0=null,R0=()=>new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,F,f);try{let A=void 0,i=S4("auth");if(i){let P=X.getSafeProp(i,"username")||"",n=X.getSafeProp(i,"password")||"";A={username:P,password:n}}if(cQ(_)){let P=new URL(_,j.origin);if(!A&&(P.username||P.password)){let n=k6(P.username),D=k6(P.password);A={username:n,password:D}}if(P.username||P.password)P.username="",P.password="",_=P.href}if(A)e.delete("authorization"),e.set("Authorization","Basic "+btoa(uQ((A.username||"")+":"+(A.password||""))));if(_0&&typeof _==="string"&&_.startsWith("data:")){if(F4(_)>c)throw new V("maxContentLength size of "+c+" exceeded",V.ERR_BAD_RESPONSE,F,f)}if(T0&&R!=="get"&&R!=="head"){let P=await q(O);if(typeof P==="number"&&isFinite(P)){if(z0=P,P>B0)throw R0()}}let b0=T0&&(X.isReadableStream(O)||X.isStream(O)),N0=(P,n,D)=>C1(P,j6,(w)=>{if(T0&&w>B0)throw V0=R0();n&&n(w)},D);if(I&&R!=="get"&&R!=="head"&&(U0||b0)){if(z0=z0==null?await L(e,O):z0,z0!==0||b0){let P=new J(_,{method:"POST",body:O,duplex:"half"}),n;if(X.isFormData(O)&&(n=P.headers.get("content-type")))e.setContentType(n);if(P.body){let[D,w]=U0&&p0(z0,F0(i0(U0)))||[];O=N0(P.body,D,w)}}}else if(b0&&!K&&M&&R!=="get"&&R!=="head")O=N0(O);else if(b0&&K&&!I&&R!=="get"&&R!=="head")throw new V("Stream request bodies are not supported by the current fetch implementation",V.ERR_NOT_SUPPORT,F,f);if(!X.isString(k0))k0=k0?"include":"omit";let n0=K&&"credentials"in J.prototype;if(X.isFormData(O)){let P=e.getContentType();if(P&&/^multipart\/form-data/i.test(P)&&!/boundary=/i.test(P))e.delete("content-type")}e.set("User-Agent","axios/"+I0,!1);let a0={...L0,signal:m,method:R.toUpperCase(),headers:g0(e.normalize()),body:O,duplex:"half",credentials:n0?k0:void 0};f=K&&new J(_,a0);let b=await(K?D4(f,L0):D4(_,a0)),w0=y.from(b.headers);if(_0){let P=X.toFiniteNumber(w0.getContentLength());if(P!=null&&P>c)throw new V("maxContentLength size of "+c+" exceeded",V.ERR_BAD_RESPONSE,F,f)}let x0=U&&(E==="stream"||E==="response");if(U&&b.body&&(j0||_0||x0&&g)){let P={};["status","statusText","headers"].forEach((C)=>{P[C]=b[C]});let n=X.toFiniteNumber(w0.getContentLength()),[D,w]=j0&&p0(n,F0(i0(j0),!0))||[],H=0,h=(C)=>{if(_0){if(H=C,H>c)throw new V("maxContentLength size of "+c+" exceeded",V.ERR_BAD_RESPONSE,F,f)}D&&D(C)};b=new Z(C1(b.body,j6,h,()=>{w&&w(),g&&g()}),P)}E=E||"text";let Q0=await S[X.findKey(S,E)||"text"](b,F);if(_0&&!U&&!x0){let P;if(Q0!=null){if(typeof Q0.byteLength==="number")P=Q0.byteLength;else if(typeof Q0.size==="number")P=Q0.size;else if(typeof Q0==="string")P=typeof W==="function"?new W().encode(Q0).byteLength:Q0.length}if(typeof P==="number"&&P>c)throw new V("maxContentLength size of "+c+" exceeded",V.ERR_BAD_RESPONSE,F,f)}return!x0&&g&&g(),await new Promise((P,n)=>{M0(P,n,{data:Q0,headers:y.from(b.headers),status:b.status,statusText:b.statusText,config:F,request:f})})}catch(A){if(g&&g(),m&&m.aborted&&m.reason instanceof V){let i=m.reason;if(i.config=F,f&&(i.request=f),A!==i)Object.defineProperty(i,"cause",{__proto__:null,value:A,writable:!0,enumerable:!1,configurable:!0});throw i}if(V0)throw f&&!V0.request&&(V0.request=f),V0;if(A instanceof V)throw f&&!A.request&&(A.request=f),A;if(A&&A.name==="TypeError"&&/Load failed|fetch/i.test(A.message)){let i=new V("Network Error",V.ERR_NETWORK,F,f,A&&A.response);throw Object.defineProperty(i,"cause",{__proto__:null,value:A.cause||A,writable:!0,enumerable:!1,configurable:!0}),i}throw V.from(A,A&&A.code,F,f,A&&A.response)}}},lQ,O1=($)=>{let Q=$&&$.env||{},{fetch:Y,Request:W,Response:G}=Q,J=[W,G,Y],Z=J.length,z=Z,K,N,M=lQ;while(z--)K=J[z],N=M.get(K),N===void 0&&M.set(K,N=z?new Map:dQ(Q)),M=N;return N},B9;var x6=T(()=>{Z0();x();t();E6();A6();G0();b4();P1();E4();T1();B4();$4();({isFunction:f4}=X),lQ=new Map,B9=O1()});function nQ($,Q){$=X.isArray($)?$:[$];let{length:Y}=$,W,G,J={};for(let Z=0;Z<Y;Z++){W=$[Z];let z;if(G=W,!iQ(W)){if(G=H1[(z=String(W)).toLowerCase()],G===void 0)throw new V(`Unknown adapter '${z}'`)}if(G&&(X.isFunction(G)||(G=G.get(Q))))break;J[z||"#"+Z]=G}if(!G){let Z=Object.entries(J).map(([K,N])=>`adapter ${K} `+(N===!1?"is not supported by the environment":"is not available in the build")),z=Y?Z.length>1?`since :
|
|
12
|
-
`+Z.map(v6).join(`
|
|
13
|
-
`):" "+v6(Z[0]):"as no adapter specified";throw new V("There is no suitable adapter to dispatch the request "+z,V.ERR_NOT_SUPPORT)}return G}var H1,v6=($)=>`- ${$}`,iQ=($)=>X.isFunction($)||$===null||$===!1,h4;var E1=T(()=>{x();D6();O6();x6();t();H1={http:S6,xhr:C6,fetch:{get:O1}};X.forEach(H1,($,Q)=>{if($){try{Object.defineProperty($,"name",{__proto__:null,value:Q})}catch(Y){}Object.defineProperty($,"adapterName",{__proto__:null,value:Q})}});h4={getAdapter:nQ,adapters:H1}});function A1($){if($.cancelToken)$.cancelToken.throwIfRequested();if($.signal&&$.signal.aborted)throw new $0(null,$)}function g4($){if(A1($),$.headers=y.from($.headers),$.data=G4.call($,$.transformRequest),["post","put","patch"].indexOf($.method)!==-1)$.headers.setContentType("application/x-www-form-urlencoded",!1);return h4.getAdapter($.adapter||d0.adapter,$)($).then(function(W){A1($),$.response=W;try{W.data=G4.call($,$.transformResponse,W)}finally{delete $.response}return W.headers=y.from(W.headers),W},function(W){if(!Z4(W)){if(A1($),W&&W.response){$.response=W.response;try{W.response.data=G4.call($,$.transformResponse,W.response)}finally{delete $.response}W.response.headers=y.from(W.response.headers)}}return Promise.reject(W)})}var y6=T(()=>{F5();J1();H4();O0();G0();E1()});function aQ($,Q,Y){if(typeof $!=="object"||$===null)throw new V("options must be an object",V.ERR_BAD_OPTION_VALUE);let W=Object.keys($),G=W.length;while(G-- >0){let J=W[G],Z=Object.prototype.hasOwnProperty.call(Q,J)?Q[J]:void 0;if(Z){let z=$[J],K=z===void 0||Z(z,J,$);if(K!==!0)throw new V("option "+J+" must be "+K,V.ERR_BAD_OPTION_VALUE);continue}if(Y!==!0)throw new V("Unknown option "+J,V.ERR_BAD_OPTION)}}var u4,m6,U4;var f6=T(()=>{B4();t();u4={};["object","boolean","number","function","string","symbol"].forEach(($,Q)=>{u4[$]=function(W){return typeof W===$||"a"+(Q<1?"n ":" ")+$}});m6={};u4.transitional=function(Q,Y,W){function G(J,Z){return"[Axios v"+I0+"] Transitional option '"+J+"'"+Z+(W?". "+W:"")}return(J,Z,z)=>{if(Q===!1)throw new V(G(Z," has been removed"+(Y?" in "+Y:"")),V.ERR_DEPRECATED);if(Y&&!m6[Z])m6[Z]=!0,console.warn(G(Z," has been deprecated since v"+Y+" and will be removed in the near future"));return Q?Q(J,Z,z):!0}};u4.spelling=function(Q){return(Y,W)=>{return console.warn(`${W} is likely a misspelling of ${Q}`),!0}};U4={assertOptions:aQ,validators:u4}});class L4{constructor($){this.defaults=$||{},this.interceptors={request:new o4,response:new o4}}async request($,Q){try{return await this._request($,Q)}catch(Y){if(Y instanceof Error){let W={};Error.captureStackTrace?Error.captureStackTrace(W):W=Error();let G=(()=>{if(!W.stack)return"";let J=W.stack.indexOf(`
|
|
14
|
-
`);return J===-1?"":W.stack.slice(J+1)})();try{if(!Y.stack)Y.stack=G;else if(G){let J=G.indexOf(`
|
|
15
|
-
`),Z=J===-1?-1:G.indexOf(`
|
|
16
|
-
`,J+1),z=Z===-1?"":G.slice(Z+1);if(!String(Y.stack).endsWith(z))Y.stack+=`
|
|
17
|
-
`+G}}catch(J){}}throw Y}}_request($,Q){if(typeof $==="string")Q=Q||{},Q.url=$;else Q=$||{};Q=X0(this.defaults,Q);let{transitional:Y,paramsSerializer:W,headers:G}=Q;if(Y!==void 0)U4.assertOptions(Y,{silentJSONParsing:r.transitional(r.boolean),forcedJSONParsing:r.transitional(r.boolean),clarifyTimeoutError:r.transitional(r.boolean),legacyInterceptorReqResOrdering:r.transitional(r.boolean),advertiseZstdAcceptEncoding:r.transitional(r.boolean),validateStatusUndefinedResolves:r.transitional(r.boolean)},!1);if(W!=null)if(X.isFunction(W))Q.paramsSerializer={serialize:W};else U4.assertOptions(W,{encode:r.function,serialize:r.function},!0);if(Q.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)Q.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else Q.allowAbsoluteUrls=!0;U4.assertOptions(Q,{baseUrl:r.spelling("baseURL"),withXsrfToken:r.spelling("withXSRFToken")},!0),Q.method=(Q.method||this.defaults.method||"get").toLowerCase();let J=G&&X.merge(G.common,G[Q.method]);G&&X.forEach(["delete","get","head","post","put","patch","query","common"],(U)=>{delete G[U]}),Q.headers=y.concat(J,G);let Z=[],z=!0;this.interceptors.request.forEach(function(S){if(typeof S.runWhen==="function"&&S.runWhen(Q)===!1)return;z=z&&S.synchronous;let q=Q.transitional||D0;if(q&&q.legacyInterceptorReqResOrdering)Z.unshift(S.fulfilled,S.rejected);else Z.push(S.fulfilled,S.rejected)});let K=[];this.interceptors.response.forEach(function(S){K.push(S.fulfilled,S.rejected)});let N,M=0,B;if(!z){let U=[g4.bind(this),void 0];U.unshift(...Z),U.push(...K),B=U.length,N=Promise.resolve(Q);while(M<B)N=N.then(U[M++],U[M++]);return N}B=Z.length;let I=Q;while(M<B){let U=Z[M++],S=Z[M++];try{I=U(I)}catch(q){S.call(this,q);break}}try{N=g4.call(this,I)}catch(U){return Promise.reject(U)}M=0,B=K.length;while(M<B)N=N.then(K[M++],K[M++]);return N}getUri($){$=X0(this.defaults,$);let Q=H0($.baseURL,$.url,$.allowAbsoluteUrls,$);return C0(Q,$.params,$.paramsSerializer)}}var r,w4;var h6=T(()=>{x();C4();G5();y6();y4();A4();f6();G0();W4();r=U4.validators;X.forEach(["delete","get","head","options"],function(Q){L4.prototype[Q]=function(Y,W){return this.request(X0(W||{},{method:Q,url:Y,data:W&&X.hasOwnProp(W,"data")?W.data:void 0}))}});X.forEach(["post","put","patch","query"],function(Q){function Y(W){return function(J,Z,z){return this.request(X0(z||{},{method:Q,headers:W?{"Content-Type":"multipart/form-data"}:{},url:J,data:Z}))}}if(L4.prototype[Q]=Y(),Q!=="query")L4.prototype[Q+"Form"]=Y(!0)});w4=L4});class j1{constructor($){if(typeof $!=="function")throw TypeError("executor must be a function.");let Q;this.promise=new Promise(function(G){Q=G});let Y=this;this.promise.then((W)=>{if(!Y._listeners)return;let G=Y._listeners.length;while(G-- >0)Y._listeners[G](W);Y._listeners=null}),this.promise.then=(W)=>{let G,J=new Promise((Z)=>{Y.subscribe(Z),G=Z}).then(W);return J.cancel=function(){Y.unsubscribe(G)},J},$(function(G,J,Z){if(Y.reason)return;Y.reason=new $0(G,J,Z),Q(Y.reason)})}throwIfRequested(){if(this.reason)throw this.reason}subscribe($){if(this.reason){$(this.reason);return}if(this._listeners)this._listeners.push($);else this._listeners=[$]}unsubscribe($){if(!this._listeners)return;let Q=this._listeners.indexOf($);if(Q!==-1)this._listeners.splice(Q,1)}toAbortSignal(){let $=new AbortController,Q=(Y)=>{$.abort(Y)};return this.subscribe(Q),$.signal.unsubscribe=()=>this.unsubscribe(Q),$.signal}static source(){let $;return{token:new j1(function(W){$=W}),cancel:$}}}var g6;var u6=T(()=>{O0();g6=j1});function k1($){return function(Y){return $.apply(null,Y)}}var c6=()=>{};function b1($){return X.isObject($)&&$.isAxiosError===!0}var d6=T(()=>{x()});var x1,l6;var p6=T(()=>{x1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(x1).forEach(([$,Q])=>{x1[Q]=$});l6=x1});function i6($){let Q=new w4($),Y=t0(w4.prototype.request,Q);return X.extend(Y,w4.prototype,Q,{allOwnKeys:!0}),X.extend(Y,Q,null,{allOwnKeys:!0}),Y.create=function(G){return i6(X0($,G))},Y}var d,n6;var a6=T(()=>{x();c4();h6();y4();H4();G1();O0();u6();J1();B4();u0();t();c6();d6();G0();E1();p6();d=i6(d0);d.Axios=w4;d.CanceledError=$0;d.CancelToken=g6;d.isCancel=Z4;d.VERSION=I0;d.toFormData=S0;d.AxiosError=V;d.Cancel=d.CanceledError;d.all=function(Q){return Promise.all(Q)};d.spread=k1;d.isAxiosError=b1;d.mergeConfig=X0;d.AxiosHeaders=y;d.formToJSON=($)=>O4(X.isHTMLForm($)?new FormData($):$);d.getAdapter=h4.getAdapter;d.HttpStatusCode=l6;d.default=d;n6=d});var z2,N2,M2,B2,V2,I2,F2,U2,L2,w2,S2,D2,_2,T2,R2,q2,P2;var sQ=T(()=>{a6();({Axios:z2,AxiosError:N2,CanceledError:M2,isCancel:B2,CancelToken:V2,VERSION:I2,all:F2,Cancel:U2,isAxiosError:L2,spread:w2,toFormData:S2,AxiosHeaders:D2,HttpStatusCode:_2,formToJSON:T2,getAdapter:R2,mergeConfig:q2,create:P2}=n6)});
|
|
18
|
-
export{n6 as Jra,z2 as Kra,N2 as Lra,M2 as Mra,B2 as Nra,V2 as Ora,I2 as Pra,F2 as Qra,U2 as Rra,L2 as Sra,w2 as Tra,S2 as Ura,D2 as Vra,_2 as Wra,T2 as Xra,R2 as Yra,q2 as Zra,P2 as _ra,sQ as $ra};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{sia as q,uia as A,via as x,wia as B}from"./cli-1.1.0-zjdhcx9g.mjs";import{Zja as J}from"./cli-1.1.0-6h9f0djh.mjs";import{Wka as G}from"./cli-1.1.0-x1d428kd.mjs";G();J();A();B();var F=x(()=>q.object({session_id:q.string(),ws_url:q.string(),work_dir:q.string().optional()}));
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$ha as K,Qha as G}from"./cli-1.1.0-pagxnvrp.mjs";import{sia as j,uia as M,via as J,wia as N}from"./cli-1.1.0-zjdhcx9g.mjs";M();K();N();var q={poll_interval_ms_not_at_capacity:2000,poll_interval_ms_at_capacity:600000,non_exclusive_heartbeat_interval_ms:0,multisession_poll_interval_ms_not_at_capacity:2000,multisession_poll_interval_ms_partial_capacity:2000,multisession_poll_interval_ms_at_capacity:600000,reclaim_older_than_ms:5000,session_keepalive_interval_v2_ms:120000};var B={message:"must be 0 (disabled) or ≥100ms"},P=J(()=>j.object({poll_interval_ms_not_at_capacity:j.number().int().min(100),poll_interval_ms_at_capacity:j.number().int().refine((b)=>b===0||b>=100,B),non_exclusive_heartbeat_interval_ms:j.number().int().min(0).default(0),multisession_poll_interval_ms_not_at_capacity:j.number().int().min(100).default(q.multisession_poll_interval_ms_not_at_capacity),multisession_poll_interval_ms_partial_capacity:j.number().int().min(100).default(q.multisession_poll_interval_ms_partial_capacity),multisession_poll_interval_ms_at_capacity:j.number().int().refine((b)=>b===0||b>=100,B).default(q.multisession_poll_interval_ms_at_capacity),reclaim_older_than_ms:j.number().int().min(1).default(5000),session_keepalive_interval_v2_ms:j.number().int().min(0).default(120000)}).refine((b)=>b.non_exclusive_heartbeat_interval_ms>0||b.poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or poll_interval_ms_at_capacity > 0"}).refine((b)=>b.non_exclusive_heartbeat_interval_ms>0||b.multisession_poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or multisession_poll_interval_ms_at_capacity > 0"}));function $(){let b=G("tengu_bridge_poll_interval_config",q,300000),x=P().safeParse(b);return x.success?x.data:q}
|
|
2
|
-
export{q as Ib,$ as Jb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{wi as M,xi as w,yi as A}from"./cli-1.1.0-c32rv5p9.mjs";import{sia as X,uia as N,via as $,wia as O}from"./cli-1.1.0-zjdhcx9g.mjs";import{pka as R,ska as C}from"./cli-1.1.0-6h9f0djh.mjs";import{Zka as L,kla as _}from"./cli-1.1.0-anh31kw5.mjs";import{Pqa as T,Qma as H}from"./cli-1.1.0-q0xhsdq5.mjs";import{$ra as y,Jra as W}from"./cli-1.1.0-kyvxb684.mjs";y();N();T();C();_();O();A();import{randomUUID as I}from"crypto";import{mkdir as P,writeFile as U}from"fs/promises";import{basename as v,join as B}from"path";var D=30000;function Q(q){R(`[bridge:inbound-attach] ${q}`)}var j=$(()=>X.object({file_uuid:X.string(),file_name:X.string()})),k=$(()=>X.array(j()));function S(q){if(typeof q!=="object"||q===null||!("file_attachments"in q))return[];let G=k().safeParse(q.file_attachments);return G.success?G.data:[]}function z(q){return v(q).replace(/[^a-zA-Z0-9._-]/g,"_")||"attachment"}function x(){return B(L(),"uploads",H())}async function b(q){let G=M();if(!G){Q("skip: no oauth token");return}let J;try{let V=`${w()}/api/oauth/files/${encodeURIComponent(q.file_uuid)}/content`,Z=await W.get(V,{headers:{Authorization:`Bearer ${G}`},responseType:"arraybuffer",timeout:D,validateStatus:()=>!0});if(Z.status!==200){Q(`fetch ${q.file_uuid} failed: status=${Z.status}`);return}J=Buffer.from(Z.data)}catch(V){Q(`fetch ${q.file_uuid} threw: ${V}`);return}let K=z(q.file_name),F=(q.file_uuid.slice(0,8)||I().slice(0,8)).replace(/[^a-zA-Z0-9_-]/g,"_"),E=x(),Y=B(E,`${F}-${K}`);try{await P(E,{recursive:!0}),await U(Y,J)}catch(V){Q(`write ${Y} failed: ${V}`);return}return Q(`resolved ${q.file_uuid} → ${Y} (${J.length} bytes)`),Y}async function f(q){if(q.length===0)return"";Q(`resolving ${q.length} attachment(s)`);let J=(await Promise.all(q.map(b))).filter((K)=>K!==void 0);if(J.length===0)return"";return J.map((K)=>`@"${K}"`).join(" ")+" "}function l(q,G){if(!G)return q;if(typeof q==="string")return G+q;let J=q.findLastIndex((K)=>K.type==="text");if(J!==-1){let K=q[J];if(K.type==="text")return[...q.slice(0,J),{...K,text:G+K.text},...q.slice(J+1)]}return[...q,{type:"text",text:G.trimEnd()}]}async function s(q,G){let J=S(q);if(J.length===0)return G;let K=await f(J);return l(G,K)}
|
|
2
|
-
export{S as ca,f as da,l as ea,s as fa};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{K as E0}from"./cli-1.1.0-sz45a3kz.mjs";import{aa as s0}from"./cli-1.1.0-pgzqtn5w.mjs";import{lb as k0}from"./cli-1.1.0-tfwm688t.mjs";import{qb as p0}from"./cli-1.1.0-2ptkfn3v.mjs";import{Kc as W0,Mc as ac}from"./cli-1.1.0-6g8jkwc8.mjs";import{Pc as N,Qc as Ic}from"./cli-1.1.0-xbafqhxj.mjs";import{Sc as Q0,Tc as oc}from"./cli-1.1.0-vnw1etr4.mjs";import{md as n0,nd as S0}from"./cli-1.1.0-rgft35ht.mjs";import{Vg as P0,Wg as Fc}from"./cli-1.1.0-z3er82qf.mjs";import{$n as d0,AG as Z0,BG as _c,DS as d,FS as O0,HS as Tc,OT as b0,PM as _0,YT as B0,Yn as p,ZM as r0,Zn as N0,_T as D0,_n as f0,ao as i0,bU as Rc,bo as g0,eU as G0,eo as W,fo as j,gU as Cc,hH as y0,hy as X,iH as uc,lN as u0,ly as l0,nN as $0,pG as m0,qF as Y0,qG as x0,rG as r,tG as K0,uF as Mc,yG as Y,zG as M0}from"./cli-1.1.0-27q99qxg.mjs";import{$0 as g,A1 as x,OZ as X0,TZ as lc,V0 as c0,X0 as y,wZ as G}from"./cli-1.1.0-3bm55s4g.mjs";import{g4 as e,h4 as m,i4 as U,j4 as C}from"./cli-1.1.0-2g3ef6xx.mjs";import{J5 as J0,K5 as hc,a5 as H0,f5 as nc}from"./cli-1.1.0-kb88a691.mjs";import{Gea as V0,Lda as V,Mea as s,Pda as J,Pea as t,Rea as q0,Sda as w0,Uda as U0,Yda as k,ifa as I0,sga as z0,vga as mc}from"./cli-1.1.0-f2zea2vz.mjs";import{pha as R,uha as fc}from"./cli-1.1.0-xqj8jr7g.mjs";import{$ha as ic,Nha as C0,Vha as L0}from"./cli-1.1.0-pagxnvrp.mjs";import{mja as q,pja as E}from"./cli-1.1.0-z8gyd4hj.mjs";import{ska as v0}from"./cli-1.1.0-6h9f0djh.mjs";import{ala as K,hla as R0,kla as cc}from"./cli-1.1.0-anh31kw5.mjs";import{Fpa as T0,Pqa as e0,zna as a0}from"./cli-1.1.0-q0xhsdq5.mjs";import{usa as D,zsa as L}from"./cli-1.1.0-t314tbev.mjs";E();Tc();e0();import{appendFileSync as Lc}from"fs";Cc();lc();M0();ic();mc();Mc();E();k();K0();j();var $=D(G(),1);x();C();var S=D(G(),1);function P(){let f=S.c(1),c;if(f[0]===Symbol.for("react.memo_cache_sentinel"))c=U(y,{children:["MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the"," ",m(g,{url:"https://code.claude.com/docs/en/mcp",children:"MCP documentation"}),"."]}),f[0]=c;else c=f[0];return c}C();function v(f){let c=$.c(13),{serverName:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(T){q("tengu_mcp_dialog_choice",{choice:T});c:switch(T){case"yes":case"yes_all":{let H=(J()||{}).enabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{enabledMcpjsonServers:[...H,i]});if(T==="yes_all")V("localSettings",{enableAllProjectMcpServers:!0});n();break c}case"no":{let H=(J()||{}).disabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{disabledMcpjsonServers:[...H,i]});n()}}},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u=`New MCP server found in .mcp.json: ${i}`,M;if(c[3]!==l)M=()=>l("no"),c[3]=l,c[4]=M;else M=c[4];let I;if(c[5]===Symbol.for("react.memo_cache_sentinel"))I=m(P,{}),c[5]=I;else I=c[5];let o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=[{label:"Use this and all future MCP servers in this project",value:"yes_all"},{label:"Use this MCP server",value:"yes"},{label:"Continue without using this MCP server",value:"no"}],c[6]=o;else o=c[6];let h;if(c[7]!==l)h=m(r,{options:o,onChange:(a)=>l(a),onCancel:()=>l("no")}),c[7]=l,c[8]=h;else h=c[8];let F;if(c[9]!==u||c[10]!==M||c[11]!==h)F=U(W,{title:u,color:"warning",onCancel:M,children:[I,h]}),c[9]=u,c[10]=M,c[11]=h,c[12]=F;else F=c[12];return F}S0();E();x();k();d0();x0();g0();j();N0();var h0=D(G(),1);C();function o0(f){let c=h0.c(21),{serverNames:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(O){let Z=J()||{},t0=Z.enabledMcpjsonServers||[],A0=Z.disabledMcpjsonServers||[],[b,B]=n0(i,(Q)=>O.includes(Q));if(q("tengu_mcp_multidialog_choice",{approved:b.length,rejected:B.length}),b.length>0){let Q=[...new Set([...t0,...b])];V("localSettings",{enabledMcpjsonServers:Q})}if(B.length>0){let Q=[...new Set([...A0,...B])];V("localSettings",{disabledMcpjsonServers:Q})}n()},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u;if(c[3]!==n||c[4]!==i)u=()=>{let O=(J()||{}).disabledMcpjsonServers||[],Z=[...new Set([...O,...i])];V("localSettings",{disabledMcpjsonServers:Z}),n()},c[3]=n,c[4]=i,c[5]=u;else u=c[5];let M=u,I=`${i.length} new MCP servers found in .mcp.json`,o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=m(P,{}),c[6]=o;else o=c[6];let h;if(c[7]!==i)h=i.map(j0),c[7]=i,c[8]=h;else h=c[8];let F;if(c[9]!==M||c[10]!==l||c[11]!==i||c[12]!==h)F=m(m0,{options:h,defaultValue:i,onSubmit:l,onCancel:M,hideIndexes:!0}),c[9]=M,c[10]=l,c[11]=i,c[12]=h,c[13]=F;else F=c[13];let a;if(c[14]!==M||c[15]!==I||c[16]!==F)a=U(W,{title:I,subtitle:"Select any you wish to enable.",color:"warning",onCancel:M,hideInputGuide:!0,children:[o,F]}),c[14]=M,c[15]=I,c[16]=F,c[17]=a;else a=c[17];let T;if(c[18]===Symbol.for("react.memo_cache_sentinel"))T=m(c0,{paddingX:1,children:m(y,{dimColor:!0,italic:!0,children:U(i0,{children:[m(p,{shortcut:"Space",action:"select"}),m(p,{shortcut:"Enter",action:"confirm"}),m(f0,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"reject all"})]})})}),c[18]=T;else T=c[18];let w;if(c[19]!==a)w=U(e,{children:[a,T]}),c[19]=a,c[20]=w;else w=c[20];return w}function j0(f){return{label:f,value:f}}M0();l0();r0();$0();C();async function F0(f){let{servers:c}=_0("project"),i=Object.keys(c).filter((n)=>u0(n)==="pending");if(i.length===0)return;await new Promise((n)=>{let _=()=>void n();if(i.length===1&&i[0]!==void 0){let l=i[0];f.render(m(X,{children:m(Y,{children:m(v,{serverName:l,onDone:_})})}))}else f.render(m(X,{children:m(Y,{children:m(o0,{serverNames:i,onDone:_})})}))})}l0();Ic();hc();Rc();I0();ac();I0();v0();cc();class A{frameDurations=[];firstRenderTime;lastRenderTime;record(f){let c=performance.now();if(this.firstRenderTime===void 0)this.firstRenderTime=c;this.lastRenderTime=c,this.frameDurations.push(f)}getMetrics(){if(this.frameDurations.length===0||this.firstRenderTime===void 0||this.lastRenderTime===void 0)return;let f=this.lastRenderTime-this.firstRenderTime;if(f<=0)return;let i=this.frameDurations.length/(f/1000),n=this.frameDurations.slice().sort((M,I)=>I-M),_=Math.max(0,Math.ceil(n.length*0.01)-1),l=n[_],u=l>0?1000/l:0;return{averageFps:Math.round(i*100)/100,low1PctFps:Math.round(u*100)/100}}}oc();nc();_c();Fc();uc();k();fc();C();function wc(){s((f)=>({...f,hasCompletedOnboarding:!0,lastOnboardingVersion:"99.0.0"}))}function Uc(f,c){return new Promise((i)=>{let n=(_)=>void i(_);f.render(c(n))})}async function pf(f,c,i){return Vc(f,c,{color:"error",beforeExit:i})}async function Vc(f,c,i){let{Text:n}=await import("./ink-1.1.0-n8ev4ggj.mjs"),_=i?.color,l=i?.exitCode??1;f.render(_?m(n,{color:_,children:c}):m(n,{children:c})),f.unmount(),await i?.beforeExit?.(),process.exit(l)}function z(f,c,i){return Uc(f,(n)=>m(X,{onChangeAppState:i?.onChangeAppState,children:m(Y,{children:c(n)})}))}async function sf(f,c){f.render(c),E0(),await f.waitUntilExit(),await O0(0)}async function tf(f,c,i,n,_){if(K(!1)||process.env.IS_DEMO)return!1;R("setupScreens_start");let l=H0(),u=!1;if(W0()){let{MigrationDialog:o}=await import("./MigrationDialog-1.1.0-wsjvh8me.mjs");await z(f,(h)=>m(o,{onDone:()=>void h()}))}let M=t();if(l&&(!M.theme||!M.hasCompletedOnboarding)){u=!0;let{Onboarding:o}=await import("./Onboarding-1.1.0-t8s1cvt5.mjs");await z(f,(h)=>m(o,{onDone:()=>{wc(),h()}}),{onChangeAppState:N})}if(!K(process.env.CLAUBBIT)){if(l&&!V0()){let{TrustDialog:o}=await import("./TrustDialog-1.1.0-6m8j6s6z.mjs");await z(f,(h)=>m(o,{commands:n,onDone:h}))}if(T0(!0),R("setupScreens_after_trust_accepted"),L0(),C0(),G0(),R("setupScreens_after_growthbook_kick"),l){let{errors:o}=y0();if(o.length===0)await F0(f);R("setupScreens_after_mcp_approvals");let h=await D0();if(R("setupScreens_after_claudemd_check"),h){let F=B0(await b0(!0)),{ClaudeMdExternalIncludesDialog:a}=await import("./ClaudeMdExternalIncludesDialog-1.1.0-p05h72f8.mjs");await z(f,(T)=>m(a,{onDone:T,isStandaloneDialog:!0,externalIncludes:F}))}}}k0(),Q0(),R("setupScreens_after_env_applied"),setImmediate(()=>s0());let I=await Y0();if(R("setupScreens_after_grove_check"),I){R("setupScreens_grove_block_enter");let{GroveDialog:o}=await import("./Grove-1.1.0-zk7sq7x9.mjs");if(await z(f,(F)=>m(o,{showIfAlreadyViewed:!1,location:u?"onboarding":"policy_update_modal",onDone:F}))==="escape")return q("tengu_grove_policy_exited",{}),d(0),!1}{let o=z0();R("setupScreens_after_tryGetActiveProvider");let h=o?.transport==="anthropic"?o.apiKey?.trim():void 0;if(h&&!R0()){let F=J0(h),a=q0(F);if(R("setupScreens_after_keyStatus"),a==="new"){let{ApproveApiKey:T}=await import("./ApproveApiKey-1.1.0-m9mybr7j.mjs");await z(f,(w)=>m(T,{customApiKeyTruncated:F,onDone:w}),{onChangeAppState:N})}}}if(R("setupScreens_after_custom_api_key"),(c==="bypassPermissions"||i)&&!w0()){let{BypassPermissionsModeDialog:o}=await import("./BypassPermissionsModeDialog-1.1.0-r09k7rem.mjs");await z(f,(h)=>m(o,{onAccept:h}))}if(c==="auto"&&!U0()){let{AutoModeOptInDialog:o}=await import("./AutoModeOptInDialog-1.1.0-2afw9h09.mjs");await z(f,(h)=>m(o,{onAccept:h,onDecline:()=>d(1),declineExits:!0}))}return R("setupScreens_end"),u}function Af(f){P0();let c=0,i=Z0(f);if(i.stdin)q("tengu_stdin_interactive",{});let n=new A,_=p0();a0(_);let l=process.env.CLAUDE_CODE_FRAME_TIMING_LOG;return{getFpsMetrics:()=>n.getMetrics(),stats:_,renderOptions:{...i,onFrame:(u)=>{if(n.record(u.durationMs),_.observe("frame_duration_ms",u.durationMs),l&&u.phases){let M=JSON.stringify({total:u.durationMs,...u.phases,rss:process.memoryUsage.rss(),cpu:process.cpuUsage()})+`
|
|
2
|
-
`;Lc(l,M)}if(X0())return;for(let M of u.flickers){if(M.reason==="resize")continue;let I=Date.now();if(I-c<1000)q("tengu_flicker",{desiredHeight:M.desiredHeight,actualHeight:M.availableHeight,reason:M.reason});c=I}}}}}
|
|
3
|
-
export{wc as C,Uc as D,pf as E,Vc as F,z as G,sf as H,tf as I,Af as J};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$4 as G,V8 as f,Y7 as M,e5 as W,f5 as V,v8 as j}from"./cli-1.1.0-kb88a691.mjs";import{iea as x,jea as B,kaa as w,laa as z,oaa as Y}from"./cli-1.1.0-f2zea2vz.mjs";import{dja as J,lja as F}from"./cli-1.1.0-ab3nq7yd.mjs";import{ysa as Z}from"./cli-1.1.0-t314tbev.mjs";function g(){q=void 0,w()}function p(){if(q!==void 0)return q;if(G()!=="firstParty")return q=z(!1);if(!W())return q=z(!1);if(x())return q=z(!1);if(process.env.CLAUDE_CODE_ENTRYPOINT==="local-agent")return q=z(!1);let Q=j();if(Q?.accessToken&&Q.subscriptionType===null)return q=z(!0);if(Q?.accessToken&&Q.scopes?.includes(J)&&(Q.subscriptionType==="enterprise"||Q.subscriptionType==="team"))return q=z(!0);try{let{key:$}=M({skipRetrievingKeyFromApiKeyHelper:!0});if($)return q=z(!0)}catch{}return q=z(!1)}var q;var X=Z(()=>{F();f();V();B();Y()});function S(Q){let $=Q.toUpperCase();return K.has($)||k.some((m)=>$.startsWith(m))}var K,k,y,I;var b=Z(()=>{K=new Set(["CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST","CLAUDE_CODE_USE_BEDROCK","CLAUDE_CODE_USE_VERTEX","CLAUDE_CODE_USE_FOUNDRY","CLAUDE_CODE_USE_GITHUB","ANTHROPIC_BASE_URL","ANTHROPIC_BEDROCK_BASE_URL","ANTHROPIC_VERTEX_BASE_URL","ANTHROPIC_FOUNDRY_BASE_URL","ANTHROPIC_FOUNDRY_RESOURCE","ANTHROPIC_VERTEX_PROJECT_ID","CLOUD_ML_REGION","ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN","AWS_BEARER_TOKEN_BEDROCK","ANTHROPIC_FOUNDRY_API_KEY","CLAUDE_CODE_SKIP_BEDROCK_AUTH","CLAUDE_CODE_SKIP_VERTEX_AUTH","CLAUDE_CODE_SKIP_FOUNDRY_AUTH","ANTHROPIC_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_SONNET_MODEL_NAME","ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_SMALL_FAST_MODEL","ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION","CLAUDE_CODE_SUBAGENT_MODEL"]),k=["VERTEX_REGION_CLAUDE_"];y=["apiKeyHelper","awsAuthRefresh","awsCredentialExport","gcpAuthRefresh","otelHeadersHelper","statusLine"],I=new Set(["ANTHROPIC_CUSTOM_HEADERS","ANTHROPIC_CUSTOM_MODEL_OPTION","ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTION","ANTHROPIC_CUSTOM_MODEL_OPTION_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_SONNET_MODEL_NAME","ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_MODEL","ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION","ANTHROPIC_SMALL_FAST_MODEL","AWS_DEFAULT_REGION","AWS_PROFILE","AWS_REGION","BASH_DEFAULT_TIMEOUT_MS","BASH_MAX_OUTPUT_LENGTH","BASH_MAX_TIMEOUT_MS","CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR","CLAUDE_CODE_API_KEY_HELPER_TTL_MS","CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS","CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC","CLAUDE_CODE_DISABLE_TERMINAL_TITLE","CLAUDE_CODE_ENABLE_TELEMETRY","CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS","CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL","CLAUDE_CODE_MAX_OUTPUT_TOKENS","CLAUDE_CODE_SKIP_BEDROCK_AUTH","CLAUDE_CODE_SKIP_FOUNDRY_AUTH","CLAUDE_CODE_SKIP_VERTEX_AUTH","CLAUDE_CODE_SUBAGENT_MODEL","CLAUDE_CODE_USE_BEDROCK","CLAUDE_CODE_USE_FOUNDRY","CLAUDE_CODE_USE_GITHUB","CLAUDE_CODE_USE_VERTEX","DISABLE_AUTOUPDATER","DISABLE_BUG_COMMAND","DISABLE_COST_WARNINGS","DISABLE_ERROR_REPORTING","DISABLE_FEEDBACK_COMMAND","DISABLE_TELEMETRY","ENABLE_TOOL_SEARCH","MAX_MCP_OUTPUT_TOKENS","MAX_THINKING_TOKENS","MCP_TIMEOUT","MCP_TOOL_TIMEOUT","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_LOGS_PROTOCOL","OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE","OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_PROTOCOL","OTEL_EXPORTER_OTLP_PROTOCOL","OTEL_EXPORTER_OTLP_TRACES_HEADERS","OTEL_LOG_TOOL_DETAILS","OTEL_LOG_USER_PROMPTS","OTEL_LOGS_EXPORT_INTERVAL","OTEL_LOGS_EXPORTER","OTEL_METRIC_EXPORT_INTERVAL","OTEL_METRICS_EXPORTER","OTEL_METRICS_INCLUDE_ACCOUNT_UUID","OTEL_METRICS_INCLUDE_SESSION_ID","OTEL_METRICS_INCLUDE_VERSION","OTEL_RESOURCE_ATTRIBUTES","USE_BUILTIN_RIPGREP","VERTEX_REGION_CLAUDE_3_5_HAIKU","VERTEX_REGION_CLAUDE_3_5_SONNET","VERTEX_REGION_CLAUDE_3_7_SONNET","VERTEX_REGION_CLAUDE_4_0_OPUS","VERTEX_REGION_CLAUDE_4_0_SONNET","VERTEX_REGION_CLAUDE_4_1_OPUS","VERTEX_REGION_CLAUDE_4_5_SONNET","VERTEX_REGION_CLAUDE_4_6_SONNET","VERTEX_REGION_CLAUDE_HAIKU_4_5"])});
|
|
2
|
-
export{g as KU,p as LU,X as MU,S as NU,y as OU,I as PU,b as QU};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Nd as x,Od as o}from"./cli-1.1.0-m3srsyep.mjs";import{$u as Z,Bz as $,CM as W,Cz as d,FM as t,Gz as y,Iz as u,fv as v,kL as O,lD as M,lL as a,lp as Y,nA as K,np as g,pA as m,rD as l,wL as R,zL as i}from"./cli-1.1.0-27q99qxg.mjs";import{Hga as X,Pga as h}from"./cli-1.1.0-f2zea2vz.mjs";import{pka as I,ska as c}from"./cli-1.1.0-6h9f0djh.mjs";import{Pka as V,Wka as f}from"./cli-1.1.0-x1d428kd.mjs";import{Pqa as _,Wma as U}from"./cli-1.1.0-q0xhsdq5.mjs";import{ysa as C}from"./cli-1.1.0-t314tbev.mjs";async function Lj(w){I("refreshActivePlugins: clearing all plugin caches"),R(),K();let G=await W(),[E,F]=await Promise.all([O(),Z(U())]),{enabled:z,disabled:B,errors:H}=G;x(E);let[P,S]=await Promise.all([Promise.all(z.map(async(j)=>{if(j.mcpServers)return Object.keys(j.mcpServers).length;let q=await Y(j,H);if(q)j.mcpServers=q;return q?Object.keys(q).length:0})),Promise.all(z.map(async(j)=>{if(j.lspServers)return Object.keys(j.lspServers).length;let q=await $(j,H);if(q)j.lspServers=q;return q?Object.keys(q).length:0}))]),J=P.reduce((j,q)=>j+q,0),L=S.reduce((j,q)=>j+q,0);w((j)=>({...j,plugins:{...j.plugins,enabled:z,disabled:B,commands:[],errors:n(j.plugins.errors,H),needsRefresh:!1},agentDefinitions:F,mcp:{...j.mcp,pluginReconnectKey:j.mcp.pluginReconnectKey+1}})),y();let N=!1;try{await M()}catch(j){N=!0,X(j),I(`refreshActivePlugins: loadPluginHooks failed: ${V(j)}`)}let Q=z.reduce((j,q)=>{if(!q.hooksConfig)return j;return j+Object.values(q.hooksConfig).reduce((k,A)=>k+(A?.reduce((D,b)=>D+b.hooks.length,0)??0),0)},0);return I(`refreshActivePlugins: ${z.length} enabled, ${E.length} commands, ${F.allAgents.length} agents, ${Q} hooks, ${J} MCP, ${L} LSP`),{enabled_count:z.length,disabled_count:B.length,command_count:E.length,agent_count:F.allAgents.length,hook_count:Q,mcp_count:J,lsp_count:L,error_count:H.length+(N?1:0),agentDefinitions:F,pluginCommands:E}}function n(w,G){let E=w.filter((B)=>B.source==="lsp-manager"||B.source.startsWith("plugin:")),F=new Set(G.map(T));return[...E.filter((B)=>!F.has(T(B))),...G]}function T(w){return w.type==="generic-error"?`generic-error:${w.source}:${w.error}`:`${w.type}:${w.source}`}var p=C(()=>{_();u();o();v();c();f();h();i();a();l();d();g();m();t()});
|
|
2
|
-
export{Lj as Jd,p as Kd};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Zh as g,_h as Uf}from"./cli-1.1.0-gedc2sjr.mjs";import{fi as A,hi as Kf}from"./cli-1.1.0-jzr2r6q9.mjs";import{$E as Df,$R as l,$j as w,BS as Ff,Bs as E,CT as Hf,Cs as P,DT as d,Ds as Xf,EE as u,Ev as C,FE as jf,Fl as Bf,Fm as L,Gl as Gf,HC as I,IC as $f,Iv as T,Km as Vf,Ml as y,Mv as _f,Oj as W,UE as v,YS as S,ak as zf,fm as Jf,jT as p,lt as h,mt as Yf,qT as k,rm as N,sC as M,tD as c,wD as bf,xm as Qf,xv as m,yv as Zf}from"./cli-1.1.0-27q99qxg.mjs";import{Hga as R,Pga as ff}from"./cli-1.1.0-f2zea2vz.mjs";import{mja as O,pja as e}from"./cli-1.1.0-z8gyd4hj.mjs";import{Epa as H,Pqa as s,Qma as U,Rma as q,Rna as F,Wma as x}from"./cli-1.1.0-q0xhsdq5.mjs";import{vsa as K,ysa as t}from"./cli-1.1.0-t314tbev.mjs";import{randomUUID as qf}from"crypto";async function lf({setMessages:V,readFileState:i,discoveredSkillNames:n,loadedNestedMemoryPaths:r,getAppState:G,setAppState:J,setConversationId:X}){let Y=l();await M("clear",{getAppState:G,setAppState:J,signal:AbortSignal.timeout(Y),timeoutMs:Y});let Z=F();if(Z)O("tengu_cache_eviction_hint",{scope:"conversation_clear",last_request_id:Z});let Q=new Set,_=[],$=(f)=>("isBackgrounded"in f)&&f.isBackgrounded===!1;if(G)for(let f of Object.values(G().tasks)){if($(f))continue;if(v(f))Q.add(f.agentId),_.push(f);else if(m(f))Q.add(f.identity.agentId)}if(V(()=>[]),X)X(qf());if(g(Q),I(x()),i.clear(),n?.clear(),r?.clear(),J)J((f)=>{let B={};for(let[D,z]of Object.entries(f.tasks)){if(!$(z)){B[D]=z;continue}try{if(z.status==="running"){if(h(z)){if(z.shellCommand?.kill(),z.shellCommand?.cleanup(),z.cleanupTimeoutId)clearTimeout(z.cleanupTimeoutId)}if("abortController"in z)z.abortController?.abort();if("unregisterCleanup"in z)z.unregisterCleanup?.()}}catch(a){R(a)}E(D)}return{...f,tasks:B,attribution:u(),standaloneAgentContext:void 0,fileHistory:{snapshots:[],trackedFiles:new Set,snapshotSequence:0},mcp:{clients:[],tools:[],commands:[],resources:{},pluginReconnectKey:f.mcp.pluginReconnectKey}}});N(),p(),H(),A(),T(),C();let o=U();q({setCurrentAsParent:!0}),L(o),await S();for(let f of _){if(f.status!=="running")continue;P(f.id,W(w(f.agentId)))}{let{saveMode:f}=(d(),K(Hf)),{isCoordinatorMode:B}=(Gf(),K(Bf));f(B()?"coordinator":"normal")}let b=y();if(b)k(b);let j=await c("clear");if(j.length>0)V(()=>j)}var xf=t(()=>{s();e();Zf();Df();Yf();zf();_f();jf();Ff();ff();Kf();Qf();$f();bf();d();Xf();Vf();Jf();Uf()});
|
|
2
|
-
export{lf as Xh,xf as Yh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Zd as Jq,be as Tq}from"./cli-1.1.0-cs1m99a5.mjs";import{ie as zq,je as bq}from"./cli-1.1.0-s77gty0s.mjs";import{$L as e,CM as D,FM as Cq,KL as s,LL as _q,PL as a,SL as l,WL as t,bM as Rq,eo as n,fo as yq,gI as u,hI as fq,iM as qq,mM as Fq,rG as r,sG as Gq,wL as S,zL as Nq}from"./cli-1.1.0-27q99qxg.mjs";import{A1 as Oq,V0 as F,X0 as C,mZ as i,nZ as Kq,wZ as Bq}from"./cli-1.1.0-3bm55s4g.mjs";import{h4 as v,i4 as R,j4 as p}from"./cli-1.1.0-2g3ef6xx.mjs";import{k4 as Lq}from"./cli-1.1.0-0hf961r9.mjs";import{A_ as g,B_ as Zq,Hga as m,N$ as o,N_ as $,O$ as Hq,P_ as Xq,Pga as wq,Saa as vq,vaa as x}from"./cli-1.1.0-f2zea2vz.mjs";import{pka as B,ska as Yq}from"./cli-1.1.0-6h9f0djh.mjs";import{Oka as P,Rka as h,Wka as Wq}from"./cli-1.1.0-x1d428kd.mjs";import{usa as d,ysa as Vq}from"./cli-1.1.0-t314tbev.mjs";import{readFile as c}from"fs/promises";import{join as j}from"path";function Qq(){return s}function Aq(){return Mq}function Uq(){return`thinkback@${Qq()}`}async function jq(){let{enabled:H}=await D(),q=H.find((U)=>U.name==="thinkback"||U.source&&U.source.includes(Uq()));if(!q)return null;let J=j(q.path,"skills",Sq);if(await x(J))return J;return null}async function Iq(H){let q=j(H,"year_in_review.js"),J=j(H,"player.js");try{await c(q)}catch(z){if(h(z))return{success:!1,message:"No animation found. Run /think-back first to generate one."};return m(z),{success:!1,message:`Could not access animation data: ${P(z).message}`}}try{await c(J)}catch(z){if(h(z))return{success:!1,message:"Player script not found. The player.js file is missing from the thinkback skill."};return m(z),{success:!1,message:`Could not access player script: ${P(z).message}`}}let U=i.get(process.stdout);if(!U)return{success:!1,message:"Failed to access terminal instance"};U.enterAlternateScreen();try{await g("node",[J],{stdio:"inherit",cwd:H,reject:!1})}catch{}finally{U.exitAlternateScreen()}let O=j(H,"year_in_review.html");if(await x(O)){let z=o();$(z==="macos"?"open":z==="windows"?"start":"xdg-open",[O])}return{success:!0,message:"Year in review animation complete!"}}function Pq({onReady:H,onError:q}){let[J,U]=K.useState({phase:"checking"}),[O,z]=K.useState("");if(K.useEffect(()=>{async function Z(){try{let y=await l(),Y=Qq(),G=Aq(),X=Uq(),_=Y in y,L=qq(X);if(!_)U({phase:"installing-marketplace"}),B(`Installing marketplace ${G}`),await t({source:"github",repo:G},(V)=>{z(V)}),S(),B(`Marketplace ${Y} installed`);else if(!L)U({phase:"installing-marketplace"}),z("Updating marketplace…"),B(`Refreshing marketplace ${Y}`),await e(Y,(V)=>{z(V)}),a(),S(),B(`Marketplace ${Y} refreshed`);if(!L){U({phase:"installing-plugin"}),B(`Installing plugin ${X}`);let V=await zq([X]);if(V.failed.length>0){let w=V.failed.map((W)=>`${W.name}: ${W.error}`).join(", ");throw Error(`Failed to install plugin: ${w}`)}S(),B(`Plugin ${X} installed`)}else{let{disabled:V}=await D();if(V.some((W)=>W.name==="thinkback"||W.source?.includes(X))){U({phase:"enabling-plugin"}),B(`Enabling plugin ${X}`);let W=await Jq(X);if(!W.success)throw Error(`Failed to enable plugin: ${W.message}`);S(),B(`Plugin ${X} enabled`)}}U({phase:"ready"}),H()}catch(y){let Y=P(y);m(Y),U({phase:"error",message:Y.message}),q(Y.message)}}Z()},[H,q]),J.phase==="error")return v(F,{flexDirection:"column",children:R(C,{color:"error",children:["Error: ",J.message]})});if(J.phase==="ready")return null;let T=J.phase==="checking"?"Checking thinkback installation…":J.phase==="installing-marketplace"?"Installing marketplace…":J.phase==="enabling-plugin"?"Enabling thinkback plugin…":"Installing thinkback plugin…";return v(F,{flexDirection:"column",children:R(F,{children:[v(u,{}),v(C,{children:O||T})]})})}function mq(H){let q=k.c(19),{onDone:J,onAction:U,skillDir:O,hasGenerated:z}=H,[T,Z]=K.useState(!1),y;if(q[0]!==z)y=z?[{label:"Play animation",value:"play",description:"Watch your year in review"},{label:"Edit content",value:"edit",description:"Modify the animation"},{label:"Fix errors",value:"fix",description:"Fix validation or rendering issues"},{label:"Regenerate",value:"regenerate",description:"Create a new animation from scratch"}]:[{label:"Let's go!",value:"regenerate",description:"Generate your personalized animation"}],q[0]=z,q[1]=y;else y=q[1];let Y=y,G;if(q[2]!==U||q[3]!==J||q[4]!==O)G=function(b){if(Z(!0),b==="play")Iq(O).then(()=>{J(void 0,{display:"skip"})});else U(b)},q[2]=U,q[3]=J,q[4]=O,q[5]=G;else G=q[5];let X=G,_;if(q[6]!==J)_=function(){J(void 0,{display:"skip"})},q[6]=J,q[7]=_;else _=q[7];let L=_;if(T)return null;let V;if(q[8]!==z)V=!z&&R(F,{flexDirection:"column",children:[v(C,{children:"Relive your year of coding with Claude."}),v(C,{dimColor:!0,children:"We'll create a personalized ASCII animation celebrating your journey."})]}),q[8]=z,q[9]=V;else V=q[9];let w;if(q[10]!==X||q[11]!==Y)w=v(r,{options:Y,onChange:X,visibleOptionCount:5}),q[10]=X,q[11]=Y,q[12]=w;else w=q[12];let W;if(q[13]!==V||q[14]!==w)W=R(F,{flexDirection:"column",gap:1,children:[V,w]}),q[13]=V,q[14]=w,q[15]=W;else W=q[15];let f;if(q[16]!==L||q[17]!==W)f=v(n,{title:"Think Back on 2025 with Claude Code",subtitle:"Generate your 2025 Claude Code Think Back (takes a few minutes to run)",onCancel:L,color:"claude",children:W}),q[16]=L,q[17]=W,q[18]=f;else f=q[18];return f}function uq(H){let q=k.c(27),{onDone:J}=H,[U,O]=K.useState(!1),[z,T]=K.useState(null),[Z,y]=K.useState(null),[Y,G]=K.useState(null),X;if(q[0]===Symbol.for("react.memo_cache_sentinel"))X=function(){O(!0)},q[0]=X;else X=q[0];let _=X,L;if(q[1]!==J)L=(Q)=>{T(Q),J(`Error with thinkback: ${Q}. Try running /plugin to manually install the think-back plugin.`,{display:"system"})},q[1]=J,q[2]=L;else L=q[2];let V=L,w,W;if(q[3]!==V||q[4]!==U||q[5]!==z||q[6]!==Z)w=()=>{if(U&&!Z&&!z)jq().then((Q)=>{if(Q)B(`Thinkback skill directory: ${Q}`),y(Q);else V("Could not find thinkback skill directory")})},W=[U,Z,z,V],q[3]=V,q[4]=U,q[5]=z,q[6]=Z,q[7]=w,q[8]=W;else w=q[7],W=q[8];K.useEffect(w,W);let f,M;if(q[9]!==Z)f=()=>{if(!Z)return;let Q=j(Z,"year_in_review.js");x(Q).then((N)=>{B(`Checking for ${Q}: ${N?"found":"not found"}`),G(N)})},M=[Z],q[9]=Z,q[10]=f,q[11]=M;else f=q[10],M=q[11];K.useEffect(f,M);let b;if(q[12]!==J)b=function(N){J({edit:xq,fix:Eq,regenerate:hq}[N],{display:"user",shouldQuery:!0})},q[12]=J,q[13]=b;else b=q[13];let E=b;if(z){let Q;if(q[14]!==z)Q=R(C,{color:"error",children:["Error: ",z]}),q[14]=z,q[15]=Q;else Q=q[15];let N;if(q[16]===Symbol.for("react.memo_cache_sentinel"))N=v(C,{dimColor:!0,children:"Try running /plugin to manually install the think-back plugin."}),q[16]=N;else N=q[16];let A;if(q[17]!==Q)A=R(F,{flexDirection:"column",children:[Q,N]}),q[17]=Q,q[18]=A;else A=q[18];return A}if(!U){let Q;if(q[19]!==V)Q=v(Pq,{onReady:_,onError:V}),q[19]=V,q[20]=Q;else Q=q[20];return Q}if(!Z||Y===null){let Q;if(q[21]===Symbol.for("react.memo_cache_sentinel"))Q=R(F,{children:[v(u,{}),v(C,{children:"Loading thinkback skill…"})]}),q[21]=Q;else Q=q[21];return Q}let I;if(q[22]!==E||q[23]!==Y||q[24]!==J||q[25]!==Z)I=v(mq,{onDone:J,onAction:E,skillDir:Z,hasGenerated:Y}),q[22]=E,q[23]=Y,q[24]=J,q[25]=Z,q[26]=I;else I=q[26];return I}async function Yz(H){return v(uq,{onDone:H})}var k,K,Mq="anthropics/claude-plugins-official",Sq="thinkback",xq='Use the Skill tool to invoke the "thinkback" skill with mode=edit to modify my existing Claude Code year in review animation. Ask me what I want to change. When the animation is ready, tell the user to run /think-back again to play it.',Eq='Use the Skill tool to invoke the "thinkback" skill with mode=fix to fix validation or rendering errors in my existing Claude Code year in review animation. Run the validator, identify errors, and fix them. When the animation is ready, tell the user to run /think-back again to play it.',hq='Use the Skill tool to invoke the "thinkback" skill with mode=regenerate to create a completely new Claude Code year in review animation from scratch. Delete the existing animation and start fresh. When the animation is ready, tell the user to run /think-back again to play it.';var Dq=Vq(()=>{Zq();Gq();yq();fq();Kq();Oq();Tq();Yq();Wq();Xq();vq();wq();Hq();Nq();Fq();Rq();_q();Cq();bq();p();k=d(Bq(),1),K=d(Lq(),1)});
|
|
2
|
-
export{Iq as Pd,Yz as Qd,Dq as Rd};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{A1 as o,FZ as p,T0 as j,U0 as s,V0 as F,X0 as V,wZ as t}from"./cli-1.1.0-3bm55s4g.mjs";import{h4 as w,i4 as g,j4 as y}from"./cli-1.1.0-2g3ef6xx.mjs";import{C_ as _,D_ as n,w_ as $,x_ as a}from"./cli-1.1.0-f2zea2vz.mjs";import{usa as i,ysa as v}from"./cli-1.1.0-t314tbev.mjs";function l(J,q,M,G){return G=typeof G=="function"?G:void 0,J==null?J:_(J,q,M,G)}var b;var f=v(()=>{n();b=l});function x(J,q={}){let{showValues:M=!0,hideFunctions:G=!1,themeName:W="dark",treeCharColors:Q={}}=q,X=[],I=new WeakSet;function Z(Y,D){if(!D)return Y;return j(D,W)(Y)}function N(Y,D,S,A=0){if(typeof Y==="string"){X.push(D+Z(Y,Q.value));return}if(typeof Y!=="object"||Y===null){if(M){let H=String(Y);X.push(D+Z(H,Q.value))}return}if(I.has(Y)){X.push(D+Z("[Circular]",Q.value));return}I.add(Y);let L=Object.keys(Y).filter((H)=>{let E=Y[H];if(G&&typeof E==="function")return!1;return!0});L.forEach((H,E)=>{let U=Y[H],P=E===L.length-1,T=A===0&&E===0?"":D,u=P?R.lastBranch:R.branch,d=Z(u,Q.treeChar),C=H.trim()===""?"":Z(H,Q.key),B=T+d+(C?" "+C:""),z=H.trim()!=="";if(U&&typeof U==="object"&&I.has(U)){let K=Z("[Circular]",Q.value);X.push(B+(z?": ":B?" ":"")+K)}else if(U&&typeof U==="object"&&!Array.isArray(U)){X.push(B);let K=P?R.empty:R.line,k=Z(K,Q.treeChar),c=T+k+" ";N(U,c,P,A+1)}else if(Array.isArray(U))X.push(B+(z?": ":B?" ":"")+"[Array("+U.length+")]");else if(M){let K=typeof U==="function"?"[Function]":String(U),k=Z(K,Q.value);B+=(z?": ":B?" ":"")+k,X.push(B)}else X.push(B)})}let O=Object.keys(J);if(O.length===0)return Z("(empty)",Q.value);if(O.length===1&&O[0]!==void 0&&O[0].trim()===""&&typeof J[O[0]]==="string"){let Y=O[0],D=Z(R.lastBranch,Q.treeChar),S=Z(J[Y],Q.value);return D+" "+S}return N(J,"",!0),X.join(`
|
|
2
|
-
`)}var R;var m=v(()=>{a();s();R={branch:$.lineUpDownRight,lastBranch:$.lineUpRight,line:$.lineVertical,empty:" "}});function r(J){let q={};return J.forEach((M)=>{if(!M.path){q[""]=M.message;return}let G=M.path.split("."),W=M.path;if(M.invalidValue!==null&&M.invalidValue!==void 0&&G.length>0){let Q=[];for(let X=0;X<G.length;X++){let I=G[X];if(!I)continue;let Z=parseInt(I,10);if(!isNaN(Z)&&X===G.length-1){let N;if(typeof M.invalidValue==="string")N=`"${M.invalidValue}"`;else if(M.invalidValue===null)N="null";else if(M.invalidValue===void 0)N="undefined";else N=String(M.invalidValue);Q.push(N)}else Q.push(I)}W=Q.join(".")}b(q,W,M.message,Object)}),q}function Hq(J){let q=h.c(9),{errors:M}=J,[G]=p();if(M.length===0)return null;let W,Q,X;if(q[0]!==M||q[1]!==G){let Z=M.reduce(Jq,{}),N=Object.keys(Z).sort();W=F,Q="column",X=N.map((O)=>{let Y=Z[O]||[];Y.sort(qq);let D=r(Y),S=new Map;Y.forEach((L)=>{if(L.suggestion||L.docLink){let H=`${L.suggestion||""}|${L.docLink||""}`;if(!S.has(H))S.set(H,{suggestion:L.suggestion,docLink:L.docLink})}});let A=x(D,{showValues:!0,themeName:G,treeCharColors:{treeChar:"inactive",key:"text",value:"inactive"}});return g(F,{flexDirection:"column",children:[w(V,{children:O}),w(F,{marginLeft:1,children:w(V,{dimColor:!0,children:A})}),S.size>0&&w(F,{flexDirection:"column",marginTop:1,children:Array.from(S.values()).map(e)})]},O)}),q[0]=M,q[1]=G,q[2]=W,q[3]=Q,q[4]=X}else W=q[2],Q=q[3],X=q[4];let I;if(q[5]!==W||q[6]!==Q||q[7]!==X)I=w(W,{flexDirection:Q,children:X}),q[5]=W,q[6]=Q,q[7]=X,q[8]=I;else I=q[8];return I}function e(J,q){return g(F,{flexDirection:"column",marginBottom:1,children:[J.suggestion&&w(V,{dimColor:!0,wrap:"wrap",children:J.suggestion}),J.docLink&&g(V,{dimColor:!0,wrap:"wrap",children:["Learn more: ",J.docLink]})]},`suggestion-pair-${q}`)}function qq(J,q){if(!J.path&&q.path)return-1;if(J.path&&!q.path)return 1;return(J.path||"").localeCompare(q.path||"")}function Jq(J,q){let M=q.file||"(file not specified)";if(!J[M])J[M]=[];return J[M].push(q),J}var h;var Mq=v(()=>{f();o();m();y();h=i(t(),1)});
|
|
3
|
-
export{Hq as rg,Mq as sg};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{$d as L,Xd as j,Yd as w,Zd as _,_d as D,ae as A,be as O}from"./cli-1.1.0-cs1m99a5.mjs";import{FS as h,HS as y,gB as W,jB as V,lB as C,nM as X,oM as I,up as R,xp as b}from"./cli-1.1.0-27q99qxg.mjs";import{Hga as U,Pga as S,w_ as Q,x_ as N}from"./cli-1.1.0-f2zea2vz.mjs";import{mja as K,pja as v}from"./cli-1.1.0-z8gyd4hj.mjs";import{uka as x,yka as M}from"./cli-1.1.0-kf2vvzzq.mjs";import{Pka as B,Wka as F}from"./cli-1.1.0-x1d428kd.mjs";N();F();y();S();I();b();M();C();v();O();function Z(z,J,q){U(z);let G=q?`${J} plugin "${q}"`:J==="disable-all"?"disable all plugins":`${J} plugins`;console.error(`${Q.cross} Failed to ${G}: ${B(z)}`);let H=q?(()=>{let{name:Y,marketplace:$}=R(q);return{_PROTO_plugin_name:Y,...$&&{_PROTO_marketplace_name:$},...W(Y,$,X())}})():{};K("tengu_plugin_command_failed",{command:J,error_category:V(z),...H}),process.exit(1)}async function g(z,J="user"){try{console.log(`Installing plugin "${z}"...`);let q=await j(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("tengu_plugin_installed_cli",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope||J,install_source:"cli-explicit",...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"install",z)}}async function a(z,J="user",q=!1){try{let G=await w(z,J,!q);if(!G.success)throw Error(G.message);console.log(`${Q.tick} ${G.message}`);let{name:H,marketplace:Y}=R(G.pluginId||z);K("tengu_plugin_uninstalled_cli",{_PROTO_plugin_name:H,...Y&&{_PROTO_marketplace_name:Y},scope:G.scope||J,...W(H,Y,X())}),process.exit(0)}catch(G){Z(G,"uninstall",z)}}async function i(z,J){try{let q=await _(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("tengu_plugin_enabled_cli",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope,...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"enable",z)}}async function u(z,J){try{let q=await D(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("tengu_plugin_disabled_cli",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope,...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"disable",z)}}async function n(){try{let z=await L();if(!z.success)throw Error(z.message);console.log(`${Q.tick} ${z.message}`),K("tengu_plugin_disabled_all_cli",{}),process.exit(0)}catch(z){Z(z,"disable-all")}}async function r(z,J){try{x(`Checking for updates for plugin "${z}" at ${J} scope…
|
|
2
|
-
`);let q=await A(z,J);if(!q.success)throw Error(q.message);if(x(`${Q.tick} ${q.message}
|
|
3
|
-
`),!q.alreadyUpToDate){let{name:G,marketplace:H}=R(q.pluginId||z);K("tengu_plugin_updated_cli",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},old_version:q.oldVersion||"unknown",new_version:q.newVersion||"unknown",...W(G,H,X())})}await h(0)}catch(q){Z(q,"update",z)}}
|
|
4
|
-
export{g as h,a as i,i as j,u as k,n as l,r as m};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ysa as C}from"./cli-1.1.0-t314tbev.mjs";import E from"node:fs";import G from"node:path";import H from"node:os";function A(){if(q!==void 0)return;try{let b=process.env.CLAUDE_FEATURE_FLAGS_FILE||G.join(H.homedir(),".claudin","feature-flags.json"),j=JSON.parse(E.readFileSync(b,"utf-8"));q=j&&typeof j==="object"&&!Array.isArray(j)?j:null}catch{q=null}}function x(b,j){if(A(),q!=null&&Object.hasOwn(q,b))return q[b];if(Object.hasOwn(z,b))return z[b];return j}function O(){return I}function Q(){return!1}function R(){return A(),q||{}}function S(){return{}}function T(){}function U(){}function W(){return}async function Y(b,j){return x(b,j)}function Z(b,j){return x(b,j)}function $(b,j){return x(b,j)}function v(b){return Boolean(x(b,!1))}async function w(b){return!1}async function P(b){return Boolean(x(b,!1))}function B(){}function D(){q=void 0}async function h(){q=void 0}function N(){}function m(){}async function c(b,j){return x(b,j)}function F(b,j){return x(b,j)}var q=void 0,z,I=()=>{},X=async()=>null;var J=C(()=>{z={tengu_sedge_lantern:!0,tengu_passport_quail:!0,tengu_coral_fern:!0,tengu_bramble_lintel:15,tengu_glacier_2xr:!0}});
|
|
2
|
-
export{O as Gha,Q as Hha,R as Iha,S as Jha,T as Kha,U as Lha,W as Mha,X as Nha,Y as Oha,Z as Pha,$ as Qha,v as Rha,w as Sha,P as Tha,B as Uha,D as Vha,h as Wha,N as Xha,m as Yha,c as Zha,F as _ha,J as $ha};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ysa as s}from"./cli-1.1.0-t314tbev.mjs";function c(){return"claude-code/99.0.0"}function i(){let e=process.env.CLAUDE_CODE_ENTRYPOINT??"cli",n=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",t=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claudin/1.1.0 (${e}${n}${t})`}var r=()=>{};
|
|
2
|
-
export{c as r4,i as s4,r as t4};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{Rc as m,Sc as v,Tc as wk}from"./cli-1.1.0-vnw1etr4.mjs";import{CG as n,CS as r,DG as V,DS as kk,EG as i,HG as Tk,HS as jk,Hz as l,Iz as Vk,NO as o,PO as t,SO as Dk,Sn as p,Tn as zk,WO as e,XO as Uk,bB as s,bF as g,cB as Gk,cF as a,kF as Lk}from"./cli-1.1.0-27q99qxg.mjs";import{$4 as T,C5 as d,E5 as Ok,f5 as Jk}from"./cli-1.1.0-kb88a691.mjs";import{$8 as f,a9 as Ik,k9 as c,n9 as Mk}from"./cli-1.1.0-txh9zgpn.mjs";import{i_ as S,n_ as _k}from"./cli-1.1.0-z515ecdw.mjs";import{I_ as K,Jda as j,K_ as Zk,P$ as P,Pea as x,T$ as $k,Tea as b,Yda as Kk,afa as u,ifa as $,sga as _,vga as Hk}from"./cli-1.1.0-f2zea2vz.mjs";import{pha as J,uha as Yk}from"./cli-1.1.0-xqj8jr7g.mjs";import{kja as L,lja as Bk}from"./cli-1.1.0-ab3nq7yd.mjs";import{pka as B,sja as O,ska as U,uja as Rk}from"./cli-1.1.0-6h9f0djh.mjs";import{Jka as h,Pka as Y,Wka as Xk}from"./cli-1.1.0-x1d428kd.mjs";import{ala as E,kla as Wk}from"./cli-1.1.0-anh31kw5.mjs";import{Foa as w,Pqa as z,noa as F,poa as y}from"./cli-1.1.0-q0xhsdq5.mjs";import{mra as A,nra as Qk}from"./cli-1.1.0-aefnhpce.mjs";import{zsa as W}from"./cli-1.1.0-t314tbev.mjs";Yk();z();$();Qk();z();z();Vk();Ok();Lk();Tk();Bk();Hk();Jk();var G=!1;function D(){if(G)return;if(G=!0,T()!=="firstParty")return;let k=_()?.transport;if(k==="bedrock"||k==="vertex"||k==="foundry")return;if(process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||process.env.ANTHROPIC_UNIX_SOCKET||process.env.CLAUDE_CODE_CLIENT_CERT||process.env.CLAUDE_CODE_CLIENT_KEY)return;let q=_(),N=(q?.transport==="anthropic"?q.baseUrl:void 0)||L().BASE_API_URL;fetch(N,{method:"HEAD",signal:AbortSignal.timeout(1e4)}).catch(()=>{})}$();U();Kk();function C(){if(process.env.NODE_EXTRA_CA_CERTS)return;let k=Nk();if(k)process.env.NODE_EXTRA_CA_CERTS=k,B(`CA certs: Applied NODE_EXTRA_CA_CERTS from config to process.env: ${k}`)}function Nk(){try{let q=x()?.env,Q=j("userSettings")?.env;B(`CA certs: Config fallback - globalEnv keys: ${q?Object.keys(q).join(","):"none"}, settingsEnv keys: ${Q?Object.keys(Q).join(","):"none"}`);let R=Q?.NODE_EXTRA_CA_CERTS||q?.NODE_EXTRA_CA_CERTS;if(R)B(`CA certs: Found NODE_EXTRA_CA_CERTS in config/settings: ${R}`);return R}catch(k){B(`CA certs: Config fallback failed: ${k}`,{level:"error"});return}}Rk();$();U();_k();Zk();zk();Wk();Xk();jk();wk();Ik();Dk();Mk();Uk();Gk();$k();var I=!1,Yq=A(async()=>{let k=Date.now();K("info","init_started"),J("init_function_start");try{let q=Date.now();b(),K("info","init_configs_enabled",{duration_ms:Date.now()-q}),J("init_configs_enabled");let N=Date.now();if(m(),C(),K("info","init_safe_env_vars_applied",{duration_ms:Date.now()-N}),J("init_safe_env_vars_applied"),r(),J("init_after_graceful_shutdown"),Promise.all([import("./firstPartyEventLogger-1.1.0-37ttkjsw.mjs"),import("./growthbook-1.1.0-65kf7wnp.mjs")]).then(([H,X])=>{H.initialize1PEventLogging(),X.onGrowthBookRefresh(()=>{H.reinitialize1PEventLoggingIfConfigChanged()})}),J("init_after_1p_event_logging"),d(),J("init_after_oauth_populate"),p(),J("init_after_jetbrains_detection"),S(),V())n();if(a())g();J("init_after_remote_settings_check"),u();let Q=Date.now();B("[init] configureGlobalMTLS starting"),f(),K("info","init_mtls_configured",{duration_ms:Date.now()-Q}),B("[init] configureGlobalMTLS complete");let R=Date.now();if(B("[init] configureGlobalAgents starting"),c(),K("info","init_proxy_configured",{duration_ms:Date.now()-R}),B("[init] configureGlobalAgents complete"),J("init_network_configured"),D(),E(process.env.CLAUDE_CODE_REMOTE))try{let{initUpstreamProxy:H,getUpstreamProxyEnv:X}=await import("./upstreamproxy-1.1.0-ayhfykdv.mjs"),{registerUpstreamProxyEnvFn:Z}=await import("./subprocessEnv-1.1.0-2842f2xr.mjs");Z(X),await H()}catch(H){B(`[init] upstreamproxy init failed: ${H instanceof Error?H.message:String(H)}; continuing without proxy`,{level:"warn"})}if(P(),O(l),O(async()=>{let{cleanupSessionTeams:H}=await import("./teamHelpers-1.1.0-5f9gr2n7.mjs");await H()}),o()){let H=Date.now();await t(),K("info","init_scratchpad_created",{duration_ms:Date.now()-H})}K("info","init_completed",{duration_ms:Date.now()-k}),J("init_function_end")}catch(q){if(q instanceof h){if(w()){process.stderr.write(`Configuration error in ${q.filePath}: ${q.message}
|
|
2
|
-
`),kk(1);return}return import("./InvalidConfigDialog-1.1.0-w64hcgs0.mjs").then((N)=>N.showInvalidConfigDialog({error:q}))}else throw q}});function Zq(){if(V()){if(w()&&e())M().catch((k)=>{B(`[3P telemetry] Eager telemetry init failed (beta tracing): ${Y(k)}`,{level:"error"})});B("[3P telemetry] Waiting for remote managed settings before telemetry init"),i().then(async()=>{B("[3P telemetry] Remote managed settings loaded, initializing telemetry"),v(),await M()}).catch((k)=>{B(`[3P telemetry] Telemetry init failed (remote settings path): ${Y(k)}`,{level:"error"})})}else M().catch((k)=>{B(`[3P telemetry] Telemetry init failed: ${Y(k)}`,{level:"error"})})}async function M(){if(I)return;I=!0;try{await xk()}catch(k){throw I=!1,k}}async function xk(){let{initializeTelemetry:k}=await import("./instrumentation-1.1.0-2hcxjw4w.mjs"),q=await k();if(q)F(q,(Q,R)=>{let H=q?.createCounter(Q,R);return{add(X,Z={}){let qk={...s(),...Z};H?.add(X,qk)}}}),y()?.add(1)}
|
|
3
|
-
export{Yq as $,Zq as aa};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{xe as V,ze as B}from"./cli-1.1.0-rxjpq9sj.mjs";import{Gx as Q,Hx as q,_R as F,nk as L,tO as U,vO as w}from"./cli-1.1.0-27q99qxg.mjs";import{$aa as k,Waa as K}from"./cli-1.1.0-f2zea2vz.mjs";import{pka as I,ska as $}from"./cli-1.1.0-6h9f0djh.mjs";import{Pka as G,Wka as _}from"./cli-1.1.0-x1d428kd.mjs";import{ysa as Z}from"./cli-1.1.0-t314tbev.mjs";async function h(W,X){let E=V(W);if(!E)return null;try{let A=await U({systemPrompt:Q(['Generate a short kebab-case name (2-4 words) that captures the main topic of this conversation. Use lowercase words separated by hyphens. Examples: "fix-login-bug", "add-auth-feature", "refactor-api-client", "debug-test-failures". Return JSON with a "name" field.']),userPrompt:E,outputFormat:{type:"json_schema",schema:{type:"object",properties:{name:{type:"string"}},required:["name"],additionalProperties:!1}},signal:X,options:{querySource:"rename_generate_name",agents:[],isNonInteractiveSession:!1,hasAppendSystemPrompt:!1,mcpTools:[]}}),Y=L(A.message.content),z=K(Y);if(z&&typeof z==="object"&&"name"in z&&typeof z.name==="string")return z.name;return null}catch(A){return I(`generateSessionName failed: ${G(A)}`,{level:"error"}),null}}var D=Z(()=>{w();$();_();k();F();B();q()});
|
|
2
|
-
export{h as ve,D as we};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$qa as a,Qqa as _Q,Rqa as YJ,Sqa as v,Tqa as P1,Uqa as Y5,Vqa as w8,Wqa as D,Xqa as y,Yqa as m,Zqa as kQ,_qa as L,ara as n5,bra as e8,cra as R5,dra as _8,era as E,fra as h8,gra as P,hra as x1,ira as d,jra as xQ,kra as r,lra as UQ,mra as T5,nra as UY}from"./cli-1.1.0-aefnhpce.mjs";import{xsa as aQ,ysa as X}from"./cli-1.1.0-t314tbev.mjs";function h$(){this.__data__=new v,this.size=0}var QQ;var $Q=X(()=>{P1();QQ=h$});function n$(Q){var J=this.__data__,Y=J.delete(Q);return this.size=J.size,Y}var JQ;var YQ=X(()=>{JQ=n$});function b$(Q){return this.__data__.get(Q)}var ZQ;var XQ=X(()=>{ZQ=b$});function i$(Q){return this.__data__.has(Q)}var HQ;var WQ=X(()=>{HQ=i$});function l$(Q,J){var Y=this.__data__;if(Y instanceof v){var Z=Y.__data__;if(!d||Z.length<u$-1)return Z.push([Q,J]),this.size=++Y.size,this;Y=this.__data__=new r(Z)}return Y.set(Q,J),this.size=Y.size,this}var u$=200,KQ;var GQ=X(()=>{P1();xQ();UQ();KQ=l$});function g(Q){var J=this.__data__=new v(Q);this.size=J.size}var p;var I1=X(()=>{P1();$Q();YQ();XQ();WQ();GQ();g.prototype.clear=QQ;g.prototype.delete=JQ;g.prototype.get=ZQ;g.prototype.has=HQ;g.prototype.set=KQ;p=g});function c$(Q){return this.__data__.set(Q,T$),this}var T$="__lodash_hash_undefined__",BQ;var NQ=X(()=>{BQ=c$});function r$(Q){return this.__data__.has(Q)}var wQ;var zQ=X(()=>{wQ=r$});function o(Q){var J=-1,Y=Q==null?0:Q.length;this.__data__=new r;while(++J<Y)this.add(Q[J])}var FQ;var RQ=X(()=>{UQ();NQ();zQ();o.prototype.add=o.prototype.push=BQ;o.prototype.has=wQ;FQ=o});function o$(Q,J){var Y=-1,Z=Q==null?0:Q.length;while(++Y<Z)if(J(Q[Y],Y,Q))return!0;return!1}var DQ;var qQ=X(()=>{DQ=o$});function s$(Q,J){return Q.has(J)}var OQ;var VQ=X(()=>{OQ=s$});function e$(Q,J,Y,Z,H,W){var x=Y&a$,U=Q.length,B=J.length;if(U!=B&&!(x&&B>U))return!1;var K=W.get(Q),F=W.get(J);if(K&&F)return K==J&&F==Q;var z=-1,N=!0,V=Y&t$?new FQ:void 0;W.set(Q,J),W.set(J,Q);while(++z<U){var R=Q[z],q=J[z];if(Z)var f=x?Z(q,R,z,J,Q,W):Z(R,q,z,Q,J,W);if(f!==void 0){if(f)continue;N=!1;break}if(V){if(!DQ(J,function(C,_){if(!OQ(V,_)&&(R===C||H(R,C,Y,Z,W)))return V.push(_)})){N=!1;break}}else if(!(R===q||H(R,q,Y,Z,W))){N=!1;break}}return W.delete(Q),W.delete(J),N}var a$=1,t$=2,s;var C1=X(()=>{RQ();qQ();VQ();s=e$});var QJ,_1;var MQ=X(()=>{y();QJ=D.Uint8Array,_1=QJ});function $J(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z,H){Y[++J]=[H,Z]}),Y}var LQ;var fQ=X(()=>{LQ=$J});function JJ(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z){Y[++J]=Z}),Y}var PQ;var IQ=X(()=>{PQ=JJ});function RJ(Q,J,Y,Z,H,W,x){switch(Y){case FJ:if(Q.byteLength!=J.byteLength||Q.byteOffset!=J.byteOffset)return!1;Q=Q.buffer,J=J.buffer;case zJ:if(Q.byteLength!=J.byteLength||!W(new _1(Q),new _1(J)))return!1;return!0;case HJ:case WJ:case KJ:return _Q(+Q,+J);case xJ:return Q.name==J.name&&Q.message==J.message;case GJ:case NJ:return Q==J+"";case UJ:var U=LQ;case BJ:var B=Z&ZJ;if(U||(U=PQ),Q.size!=J.size&&!B)return!1;var K=x.get(Q);if(K)return K==J;Z|=XJ,x.set(Q,J);var F=s(U(Q),U(J),Z,H,W,x);return x.delete(Q),F;case wJ:if(k1)return k1.call(Q)==k1.call(J)}return!1}var ZJ=1,XJ=2,HJ="[object Boolean]",WJ="[object Date]",xJ="[object Error]",UJ="[object Map]",KJ="[object Number]",GJ="[object RegExp]",BJ="[object Set]",NJ="[object String]",wJ="[object Symbol]",zJ="[object ArrayBuffer]",FJ="[object DataView]",CQ,k1,EQ;var vQ=X(()=>{kQ();MQ();YJ();C1();fQ();IQ();CQ=m?m.prototype:void 0,k1=CQ?CQ.valueOf:void 0;EQ=RJ});function DJ(Q,J){var Y=-1,Z=J.length,H=Q.length;while(++Y<Z)Q[H+Y]=J[Y];return Q}var dQ;var gQ=X(()=>{dQ=DJ});var qJ,w;var M=X(()=>{qJ=Array.isArray,w=qJ});function OJ(Q,J,Y){var Z=J(Q);return w(Q)?Z:dQ(Z,Y(Q))}var pQ;var yQ=X(()=>{gQ();M();pQ=OJ});function VJ(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=0,W=[];while(++Y<Z){var x=Q[Y];if(J(x,Y,Q))W[H++]=x}return W}var mQ;var SQ=X(()=>{mQ=VJ});function MJ(){return[]}var AQ;var jQ=X(()=>{AQ=MJ});var LJ,fJ,hQ,PJ,nQ;var bQ=X(()=>{SQ();jQ();LJ=Object.prototype,fJ=LJ.propertyIsEnumerable,hQ=Object.getOwnPropertySymbols,PJ=!hQ?AQ:function(Q){if(Q==null)return[];return Q=Object(Q),mQ(hQ(Q),function(J){return fJ.call(Q,J)})},nQ=PJ});function IJ(Q,J){var Y=-1,Z=Array(Q);while(++Y<Q)Z[Y]=J(Y);return Z}var iQ;var uQ=X(()=>{iQ=IJ});function CJ(Q){return Q!=null&&typeof Q=="object"}var O;var S=X(()=>{O=CJ});function kJ(Q){return O(Q)&&L(Q)==_J}var _J="[object Arguments]",E1;var lQ=X(()=>{a();S();E1=kJ});var TQ,EJ,vJ,dJ,t;var v1=X(()=>{lQ();S();TQ=Object.prototype,EJ=TQ.hasOwnProperty,vJ=TQ.propertyIsEnumerable,dJ=E1(function(){return arguments}())?E1:function(Q){return O(Q)&&EJ.call(Q,"callee")&&!vJ.call(Q,"callee")},t=dJ});function gJ(){return!1}var cQ;var rQ=X(()=>{cQ=gJ});var Q1={};aQ(Q1,{default:()=>A});var tQ,oQ,pJ,sQ,yJ,mJ,A;var d1=X(()=>{y();rQ();tQ=typeof Q1=="object"&&Q1&&!Q1.nodeType&&Q1,oQ=tQ&&typeof e=="object"&&e&&!e.nodeType&&e,pJ=oQ&&oQ.exports===tQ,sQ=pJ?D.Buffer:void 0,yJ=sQ?sQ.isBuffer:void 0,mJ=yJ||cQ,A=mJ});function jJ(Q,J){var Y=typeof Q;return J=J==null?SJ:J,!!J&&(Y=="number"||Y!="symbol"&&AJ.test(Q))&&(Q>-1&&Q%1==0&&Q<J)}var SJ=9007199254740991,AJ,$1;var g1=X(()=>{AJ=/^(?:0|[1-9]\d*)$/;$1=jJ});function nJ(Q){return typeof Q=="number"&&Q>-1&&Q%1==0&&Q<=hJ}var hJ=9007199254740991,j;var J1=X(()=>{j=nJ});function B8(Q){return O(Q)&&j(Q.length)&&!!G[L(Q)]}var bJ="[object Arguments]",iJ="[object Array]",uJ="[object Boolean]",lJ="[object Date]",TJ="[object Error]",cJ="[object Function]",rJ="[object Map]",oJ="[object Number]",sJ="[object Object]",aJ="[object RegExp]",tJ="[object Set]",eJ="[object String]",Q8="[object WeakMap]",$8="[object ArrayBuffer]",J8="[object DataView]",Y8="[object Float32Array]",Z8="[object Float64Array]",X8="[object Int8Array]",H8="[object Int16Array]",W8="[object Int32Array]",x8="[object Uint8Array]",U8="[object Uint8ClampedArray]",K8="[object Uint16Array]",G8="[object Uint32Array]",G,eQ;var Q5=X(()=>{a();J1();S();G={};G[Y8]=G[Z8]=G[X8]=G[H8]=G[W8]=G[x8]=G[U8]=G[K8]=G[G8]=!0;G[bJ]=G[iJ]=G[$8]=G[uJ]=G[J8]=G[lJ]=G[TJ]=G[cJ]=G[rJ]=G[oJ]=G[sJ]=G[aJ]=G[tJ]=G[eJ]=G[Q8]=!1;eQ=B8});function N8(Q){return function(J){return Q(J)}}var $5;var J5=X(()=>{$5=N8});var Z1={};aQ(Z1,{default:()=>X1});var Z5,i,z8,p1,F8,X1;var X5=X(()=>{w8();Z5=typeof Z1=="object"&&Z1&&!Z1.nodeType&&Z1,i=Z5&&typeof Y1=="object"&&Y1&&!Y1.nodeType&&Y1,z8=i&&i.exports===Z5,p1=z8&&Y5.process,F8=function(){try{var Q=i&&i.require&&i.require("util").types;if(Q)return Q;return p1&&p1.binding&&p1.binding("util")}catch(J){}}(),X1=F8});var H5,R8,H1;var y1=X(()=>{Q5();J5();X5();H5=X1&&X1.isTypedArray,R8=H5?$5(H5):eQ,H1=R8});function O8(Q,J){var Y=w(Q),Z=!Y&&t(Q),H=!Y&&!Z&&A(Q),W=!Y&&!Z&&!H&&H1(Q),x=Y||Z||H||W,U=x?iQ(Q.length,String):[],B=U.length;for(var K in Q)if((J||q8.call(Q,K))&&!(x&&(K=="length"||H&&(K=="offset"||K=="parent")||W&&(K=="buffer"||K=="byteLength"||K=="byteOffset")||$1(K,B))))U.push(K);return U}var D8,q8,W5;var x5=X(()=>{uQ();v1();M();d1();g1();y1();D8=Object.prototype,q8=D8.hasOwnProperty;W5=O8});function M8(Q){var J=Q&&Q.constructor,Y=typeof J=="function"&&J.prototype||V8;return Q===Y}var V8,U5;var K5=X(()=>{V8=Object.prototype;U5=M8});function L8(Q,J){return function(Y){return Q(J(Y))}}var G5;var B5=X(()=>{G5=L8});var f8,N5;var w5=X(()=>{B5();f8=G5(Object.keys,Object),N5=f8});function C8(Q){if(!U5(Q))return N5(Q);var J=[];for(var Y in Object(Q))if(I8.call(Q,Y)&&Y!="constructor")J.push(Y);return J}var P8,I8,z5;var F5=X(()=>{K5();w5();P8=Object.prototype,I8=P8.hasOwnProperty;z5=C8});function k8(Q){return Q!=null&&j(Q.length)&&!R5(Q)}var D5;var q5=X(()=>{_8();J1();D5=k8});function E8(Q){return D5(Q)?W5(Q):z5(Q)}var W1;var m1=X(()=>{x5();F5();q5();W1=E8});function v8(Q){return pQ(Q,W1,nQ)}var S1;var O5=X(()=>{yQ();bQ();m1();S1=v8});function y8(Q,J,Y,Z,H,W){var x=Y&d8,U=S1(Q),B=U.length,K=S1(J),F=K.length;if(B!=F&&!x)return!1;var z=B;while(z--){var N=U[z];if(!(x?N in J:p8.call(J,N)))return!1}var V=W.get(Q),R=W.get(J);if(V&&R)return V==J&&R==Q;var q=!0;W.set(Q,J),W.set(J,Q);var f=x;while(++z<B){N=U[z];var C=Q[N],_=J[N];if(Z)var e1=x?Z(_,C,N,J,Q,W):Z(C,_,N,Q,J,W);if(!(e1===void 0?C===_||H(C,_,Y,Z,W):e1)){q=!1;break}f||(f=N=="constructor")}if(q&&!f){var T=Q.constructor,c=J.constructor;if(T!=c&&(("constructor"in Q)&&("constructor"in J))&&!(typeof T=="function"&&T instanceof T&&typeof c=="function"&&c instanceof c))q=!1}return W.delete(Q),W.delete(J),q}var d8=1,g8,p8,V5;var M5=X(()=>{O5();g8=Object.prototype,p8=g8.hasOwnProperty;V5=y8});var m8,U1;var L5=X(()=>{x1();y();m8=P(D,"DataView"),U1=m8});var S8,K1;var f5=X(()=>{x1();y();S8=P(D,"Promise"),K1=S8});var A8,G1;var P5=X(()=>{x1();y();A8=P(D,"Set"),G1=A8});var j8,B1;var I5=X(()=>{x1();y();j8=P(D,"WeakMap"),B1=j8});var C5="[object Map]",n8="[object Object]",_5="[object Promise]",k5="[object Set]",E5="[object WeakMap]",v5="[object DataView]",b8,i8,u8,l8,T8,k,A1;var d5=X(()=>{L5();xQ();f5();P5();I5();a();h8();b8=E(U1),i8=E(d),u8=E(K1),l8=E(G1),T8=E(B1),k=L;if(U1&&k(new U1(new ArrayBuffer(1)))!=v5||d&&k(new d)!=C5||K1&&k(K1.resolve())!=_5||G1&&k(new G1)!=k5||B1&&k(new B1)!=E5)k=function(Q){var J=L(Q),Y=J==n8?Q.constructor:void 0,Z=Y?E(Y):"";if(Z)switch(Z){case b8:return v5;case i8:return C5;case u8:return _5;case l8:return k5;case T8:return E5}return J};A1=k});function o8(Q,J,Y,Z,H,W){var x=w(Q),U=w(J),B=x?p5:A1(Q),K=U?p5:A1(J);B=B==g5?N1:B,K=K==g5?N1:K;var F=B==N1,z=K==N1,N=B==K;if(N&&A(Q)){if(!A(J))return!1;x=!0,F=!1}if(N&&!F)return W||(W=new p),x||H1(Q)?s(Q,J,Y,Z,H,W):EQ(Q,J,B,Y,Z,H,W);if(!(Y&c8)){var V=F&&y5.call(Q,"__wrapped__"),R=z&&y5.call(J,"__wrapped__");if(V||R){var q=V?Q.value():Q,f=R?J.value():J;return W||(W=new p),H(q,f,Y,Z,W)}}if(!N)return!1;return W||(W=new p),V5(Q,J,Y,Z,H,W)}var c8=1,g5="[object Arguments]",p5="[object Array]",N1="[object Object]",r8,y5,m5;var S5=X(()=>{I1();C1();vQ();M5();d5();M();d1();y1();r8=Object.prototype,y5=r8.hasOwnProperty;m5=o8});function A5(Q,J,Y,Z,H){if(Q===J)return!0;if(Q==null||J==null||!O(Q)&&!O(J))return Q!==Q&&J!==J;return m5(Q,J,Y,Z,A5,H)}var w1;var j1=X(()=>{S5();S();w1=A5});function t8(Q,J,Y,Z){var H=Y.length,W=H,x=!Z;if(Q==null)return!W;Q=Object(Q);while(H--){var U=Y[H];if(x&&U[2]?U[1]!==Q[U[0]]:!(U[0]in Q))return!1}while(++H<W){U=Y[H];var B=U[0],K=Q[B],F=U[1];if(x&&U[2]){if(K===void 0&&!(B in Q))return!1}else{var z=new p;if(Z)var N=Z(K,F,B,Q,J,z);if(!(N===void 0?w1(F,K,s8|a8,Z,z):N))return!1}}return!0}var s8=1,a8=2,j5;var h5=X(()=>{I1();j1();j5=t8});function QY(Q){return Q===Q&&!n5(Q)}var z1;var h1=X(()=>{e8();z1=QY});function $Y(Q){var J=W1(Q),Y=J.length;while(Y--){var Z=J[Y],H=Q[Z];J[Y]=[Z,H,z1(H)]}return J}var b5;var i5=X(()=>{h1();m1();b5=$Y});function JY(Q,J){return function(Y){if(Y==null)return!1;return Y[Q]===J&&(J!==void 0||(Q in Object(Y)))}}var F1;var n1=X(()=>{F1=JY});function YY(Q){var J=b5(Q);if(J.length==1&&J[0][2])return F1(J[0][0],J[0][1]);return function(Y){return Y===Q||j5(Y,Q,J)}}var u5;var l5=X(()=>{h5();i5();n1();u5=YY});function XY(Q){return typeof Q=="symbol"||O(Q)&&L(Q)==ZY}var ZY="[object Symbol]",h;var R1=X(()=>{a();S();h=XY});function xY(Q,J){if(w(Q))return!1;var Y=typeof Q;if(Y=="number"||Y=="symbol"||Y=="boolean"||Q==null||h(Q))return!0;return WY.test(Q)||!HY.test(Q)||J!=null&&Q in Object(J)}var HY,WY,n;var D1=X(()=>{M();R1();HY=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,WY=/^\w*$/;n=xY});function GY(Q){var J=T5(Q,function(Z){if(Y.size===KY)Y.clear();return Z}),Y=J.cache;return J}var KY=500,c5;var r5=X(()=>{UY();c5=GY});var BY,NY,wY,o5;var s5=X(()=>{r5();BY=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,NY=/\\(\\)?/g,wY=c5(function(Q){var J=[];if(Q.charCodeAt(0)===46)J.push("");return Q.replace(BY,function(Y,Z,H,W){J.push(H?W.replace(NY,"$1"):Z||Y)}),J}),o5=wY});function zY(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=Array(Z);while(++Y<Z)H[Y]=J(Q[Y],Y,Q);return H}var a5;var t5=X(()=>{a5=zY});function $$(Q){if(typeof Q=="string")return Q;if(w(Q))return a5(Q,$$)+"";if(h(Q))return Q$?Q$.call(Q):"";var J=Q+"";return J=="0"&&1/Q==-FY?"-0":J}var FY=1/0,e5,Q$,J$;var Y$=X(()=>{kQ();t5();M();R1();e5=m?m.prototype:void 0,Q$=e5?e5.toString:void 0;J$=$$});function RY(Q){return Q==null?"":J$(Q)}var Z$;var X$=X(()=>{Y$();Z$=RY});function DY(Q,J){if(w(Q))return Q;return n(Q,J)?[Q]:o5(Z$(Q))}var q1;var b1=X(()=>{M();D1();s5();X$();q1=DY});function OY(Q){if(typeof Q=="string"||h(Q))return Q;var J=Q+"";return J=="0"&&1/Q==-qY?"-0":J}var qY=1/0,I;var u=X(()=>{R1();I=OY});function VY(Q,J){J=q1(J,Q);var Y=0,Z=J.length;while(Q!=null&&Y<Z)Q=Q[I(J[Y++])];return Y&&Y==Z?Q:void 0}var O1;var i1=X(()=>{b1();u();O1=VY});function MY(Q,J,Y){var Z=Q==null?void 0:O1(Q,J);return Z===void 0?Y:Z}var H$;var W$=X(()=>{i1();H$=MY});function LY(Q,J){return Q!=null&&J in Object(Q)}var x$;var U$=X(()=>{x$=LY});function fY(Q,J,Y){J=q1(J,Q);var Z=-1,H=J.length,W=!1;while(++Z<H){var x=I(J[Z]);if(!(W=Q!=null&&Y(Q,x)))break;Q=Q[x]}if(W||++Z!=H)return W;return H=Q==null?0:Q.length,!!H&&j(H)&&$1(x,H)&&(w(Q)||t(Q))}var K$;var G$=X(()=>{b1();v1();M();g1();J1();u();K$=fY});function PY(Q,J){return Q!=null&&K$(Q,J,x$)}var B$;var N$=X(()=>{U$();G$();B$=PY});function _Y(Q,J){if(n(Q)&&z1(J))return F1(I(Q),J);return function(Y){var Z=H$(Y,Q);return Z===void 0&&Z===J?B$(Y,Q):w1(J,Z,IY|CY)}}var IY=1,CY=2,w$;var z$=X(()=>{j1();W$();N$();D1();h1();n1();u();w$=_Y});function kY(Q){return Q}var F$;var R$=X(()=>{F$=kY});function EY(Q){return function(J){return J==null?void 0:J[Q]}}var D$;var q$=X(()=>{D$=EY});function vY(Q){return function(J){return O1(J,Q)}}var O$;var V$=X(()=>{i1();O$=vY});function dY(Q){return n(Q)?D$(I(Q)):O$(Q)}var M$;var L$=X(()=>{q$();V$();D1();u();M$=dY});function gY(Q){if(typeof Q=="function")return Q;if(Q==null)return F$;if(typeof Q=="object")return w(Q)?w$(Q[0],Q[1]):u5(Q);return M$(Q)}var f$;var P$=X(()=>{l5();z$();R$();M();L$();f$=gY});function pY(Q,J){var Y,Z=-1,H=Q.length;while(++Z<H){var W=J(Q[Z]);if(W!==void 0)Y=Y===void 0?W:Y+W}return Y}var I$;var C$=X(()=>{I$=pY});function yY(Q,J){return Q&&Q.length?I$(Q,f$(J,2)):0}var b;var _$=X(()=>{P$();C$();b=yY});import{randomUUID as u1}from"crypto";var k$=()=>{};function nX(){return l1}function bX(Q){l1=Q}function iX(Q){return V1.has(Q)?V1.get(Q):void 0}function uX(Q,J){V1.set(Q,J)}function lX(Q){return T1.get(Q)}function TX(Q,J){T1.set(Q,J)}function E$(){l1=null,V1.clear(),T1.clear()}function cX(){return c1}function rX(Q){c1=Q}function oX(){c1=void 0}var l1=null,V1,T1,c1;var v$=X(()=>{V1=new Map;T1=new Map});function d$(){let Q=new Set;return{subscribe(J){return Q.add(J),()=>{Q.delete(J)}},emit(...J){for(let Y of Q)Y(...J)},clear(){Q.clear()}}}var g$=()=>{};import{realpathSync as p$}from"fs";import{cwd as mY}from"process";function Z9(Q){return r1.add(Q),()=>r1.delete(Q)}function X9(){L1()}function L1(){for(let Q of r1)try{Q()}catch{}}function y$(){let Q="";if(typeof process<"u"&&typeof process.cwd==="function"&&typeof p$==="function"){let Y=mY();try{Q=p$(Y).normalize("NFC")}catch{Q=Y.normalize("NFC")}}return{originalCwd:Q,projectRoot:Q,totalCostUSD:0,totalAPIDuration:0,totalAPIDurationWithoutRetries:0,totalToolDuration:0,turnHookDurationMs:0,turnToolDurationMs:0,turnClassifierDurationMs:0,turnToolCount:0,turnHookCount:0,turnClassifierCount:0,startTime:Date.now(),activeDurationMs:0,turnActiveSince:null,lastInteractionTime:Date.now(),totalLinesAdded:0,totalLinesRemoved:0,hasUnknownModelCost:!1,cwd:Q,modelUsage:{},mainLoopModelOverride:void 0,initialMainLoopModel:null,modelStrings:null,isInteractive:!1,kairosActive:!1,strictToolResultPairing:!1,sdkAgentProgressSummariesEnabled:!1,userMsgOptIn:!1,clientType:"cli",sessionSource:void 0,questionPreviewFormat:void 0,sessionIngressToken:void 0,oauthTokenFromFd:void 0,apiKeyFromFd:void 0,flagSettingsPath:void 0,flagSettingsInline:null,allowedSettingSources:["userSettings","projectSettings","localSettings","flagSettings","policySettings"],meter:null,sessionCounter:null,locCounter:null,prCounter:null,commitCounter:null,costCounter:null,tokenCounter:null,codeEditToolDecisionCounter:null,activeTimeCounter:null,statsStore:null,sessionId:u1(),parentSessionId:void 0,loggerProvider:null,eventLogger:null,meterProvider:null,tracerProvider:null,agentColorMap:new Map,agentColorIndex:0,lastAPIRequest:null,lastAPIRequestMessages:null,lastClassifierRequests:null,cachedClaudeMdContent:null,inMemoryErrorLog:[],inlinePlugins:[],useCoworkPlugins:!1,sessionBypassPermissionsMode:!1,scheduledTasksEnabled:!1,sessionCronTasks:[],pendingSessionWakeup:null,sessionCreatedTeams:new Set,sessionTrustAccepted:!1,sessionPersistenceDisabled:!1,hasExitedPlanMode:!1,needsPlanModeExitAttachment:!1,needsAutoModeExitAttachment:!1,initJsonSchema:null,registeredHooks:null,planSlugCache:new Map,teleportedSessionInfo:null,invokedSkills:new Map,slowOperations:[],sdkBetas:void 0,mainThreadAgentType:void 0,isRemoteMode:!1,directConnectServerUrl:void 0,systemPromptSectionCache:new Map,lastEmittedDate:null,additionalDirectoriesForClaudeMd:[],allowedChannels:[],hasDevChannels:!1,sessionProjectDir:null,largeSystemPromptDetected:null,afkModeHeaderLatched:null,fastModeHeaderLatched:null,thinkingClearLatched:null,lspDeferLatchedTools:null,deferredDeltaLegacySession:!1,sessionEpochMs:Date.now()-process.uptime()*1000,promptId:null,lastMainRequestId:void 0,lastApiCompletionTimestamp:null,pendingPostCompaction:!1}}function H9(){return $.sessionId}function W9(Q={}){if(Q.setCurrentAsParent)$.parentSessionId=$.sessionId;return $.planSlugCache.delete($.sessionId),$.sessionId=u1(),$.sessionProjectDir=null,m$($.sessionId),$.sessionId}function x9(){return $.parentSessionId}function U9(Q,J=null){$.planSlugCache.delete($.sessionId),$.sessionId=Q,$.sessionProjectDir=J,m$(Q)}function m$(Q){$.pendingSessionWakeup=null,jY(),$.sessionEpochMs=Date.now(),o1.emit(Q)}function G9(){return $.sessionProjectDir}function B9(){return $.originalCwd}function N9(){return $.projectRoot}function w9(Q){$.originalCwd=Q.normalize("NFC")}function z9(Q){$.projectRoot=Q.normalize("NFC")}function F9(){return $.cwd}function R9(Q){$.cwd=Q.normalize("NFC")}function D9(){return $.directConnectServerUrl}function q9(Q){$.directConnectServerUrl=Q}function O9(Q,J){$.totalAPIDuration+=Q,$.totalAPIDurationWithoutRetries+=J}function V9(){$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalCostUSD=0}function M9(Q,J,Y){$.modelUsage[Y]=J,$.totalCostUSD+=Q}function L9(){return $.totalCostUSD}function f9(){return $.totalAPIDuration}function P9(){if($.turnActiveSince==null)$.turnActiveSince=Date.now()}function I9(){if($.turnActiveSince!=null)$.activeDurationMs+=Date.now()-$.turnActiveSince,$.turnActiveSince=null}function C9(){return $.activeDurationMs+($.turnActiveSince!=null?Date.now()-$.turnActiveSince:0)}function _9(){return $.totalAPIDurationWithoutRetries}function k9(){return $.totalToolDuration}function E9(Q){$.totalToolDuration+=Q,$.turnToolDurationMs+=Q,$.turnToolCount++}function v9(){return $.turnHookDurationMs}function d9(Q){$.turnHookDurationMs+=Q,$.turnHookCount++}function g9(){$.turnHookDurationMs=0,$.turnHookCount=0}function p9(){return $.turnHookCount}function y9(){return $.turnToolDurationMs}function m9(){$.turnToolDurationMs=0,$.turnToolCount=0}function S9(){return $.turnToolCount}function A9(){return $.turnClassifierDurationMs}function j9(Q){$.turnClassifierDurationMs+=Q,$.turnClassifierCount++}function h9(){$.turnClassifierDurationMs=0,$.turnClassifierCount=0}function n9(){return $.turnClassifierCount}function b9(){return $.statsStore}function i9(Q){$.statsStore=Q}function u9(Q){if(Q)S$();else s1=!0}function l9(){if(s1)S$()}function S$(){$.lastInteractionTime=Date.now(),s1=!1}function T9(Q,J){$.totalLinesAdded+=Q,$.totalLinesRemoved+=J}function c9(){return $.totalLinesAdded}function r9(){return $.totalLinesRemoved}function o9(){return b(Object.values($.modelUsage),"inputTokens")}function A$(){return b(Object.values($.modelUsage),"outputTokens")}function s9(){return b(Object.values($.modelUsage),"cacheReadInputTokens")}function a9(){return b(Object.values($.modelUsage),"cacheCreationInputTokens")}function t9(){return b(Object.values($.modelUsage),"webSearchRequests")}function e9(){return A$()-a1}function QH(){return t1}function $H(Q){a1=A$(),t1=Q,f1=0}function JH(){return f1}function YH(){f1++}function ZH(){$.hasUnknownModelCost=!0}function XH(){return $.hasUnknownModelCost}function HH(){return $.lastMainRequestId}function WH(Q){$.lastMainRequestId=Q}function xH(){return $.lastApiCompletionTimestamp}function UH(Q){$.lastApiCompletionTimestamp=Q}function KH(){$.pendingPostCompaction=!0}function GH(){let Q=$.pendingPostCompaction;return $.pendingPostCompaction=!1,Q}function BH(){return $.lastInteractionTime}function NH(){if(M1=!0,l)clearTimeout(l);l=setTimeout(()=>{M1=!1,l=void 0},j$),l.unref?.()}function wH(){return M1}async function zH(){while(M1)await new Promise((Q)=>setTimeout(Q,j$).unref?.())}function FH(){return $.modelUsage}function RH(Q){return $.modelUsage[Q]}function DH(){return $.mainLoopModelOverride}function qH(){return $.initialMainLoopModel}function OH(Q){$.mainLoopModelOverride=Q}function VH(Q){$.initialMainLoopModel=Q}function MH(){return $.sdkBetas}function LH(Q){$.sdkBetas=Q}function fH(){$.totalCostUSD=0,$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalToolDuration=0,$.startTime=Date.now(),$.activeDurationMs=0,$.turnActiveSince=null,$.totalLinesAdded=0,$.totalLinesRemoved=0,$.hasUnknownModelCost=!1,$.modelUsage={},$.promptId=null}function PH({totalCostUSD:Q,totalAPIDuration:J,totalAPIDurationWithoutRetries:Y,totalToolDuration:Z,totalLinesAdded:H,totalLinesRemoved:W,lastDuration:x,modelUsage:U}){if($.totalCostUSD=Q,$.totalAPIDuration=J,$.totalAPIDurationWithoutRetries=Y,$.totalToolDuration=Z,$.totalLinesAdded=H,$.totalLinesRemoved=W,U)$.modelUsage=U;$.activeDurationMs=x??0,$.turnActiveSince=null}function IH(){throw Error("resetStateForTests can only be called in tests")}function CH(){return $.modelStrings}function _H(Q){$.modelStrings=Q}function kH(){$.modelStrings=null}function EH(Q,J){$.meter=Q,$.sessionCounter=J("claude_code.session.count",{description:"Count of CLI sessions started"}),$.locCounter=J("claude_code.lines_of_code.count",{description:"Count of lines of code modified, with the 'type' attribute indicating whether lines were added or removed"}),$.prCounter=J("claude_code.pull_request.count",{description:"Number of pull requests created"}),$.commitCounter=J("claude_code.commit.count",{description:"Number of git commits created"}),$.costCounter=J("claude_code.cost.usage",{description:"Cost of the Claude Code session",unit:"USD"}),$.tokenCounter=J("claude_code.token.usage",{description:"Number of tokens used",unit:"tokens"}),$.codeEditToolDecisionCounter=J("claude_code.code_edit_tool.decision",{description:"Count of code editing tool permission decisions (accept/reject) for Edit, Write, and NotebookEdit tools"}),$.activeTimeCounter=J("claude_code.active_time.total",{description:"Total active time in seconds",unit:"s"})}function vH(){return $.meter}function dH(){return $.sessionCounter}function gH(){return $.locCounter}function pH(){return $.prCounter}function yH(){return $.commitCounter}function mH(){return $.costCounter}function SH(){return $.tokenCounter}function AH(){return $.codeEditToolDecisionCounter}function jH(){return $.activeTimeCounter}function hH(){return $.loggerProvider}function nH(Q){$.loggerProvider=Q}function bH(){return $.eventLogger}function iH(Q){$.eventLogger=Q}function uH(){return $.meterProvider}function lH(Q){$.meterProvider=Q}function TH(){return $.tracerProvider}function cH(Q){$.tracerProvider=Q}function SY(){return!$.isInteractive}function rH(){return $.isInteractive}function oH(Q){$.isInteractive=Q}function sH(){return $.clientType}function aH(Q){$.clientType=Q}function tH(){return $.sdkAgentProgressSummariesEnabled}function eH(Q){$.sdkAgentProgressSummariesEnabled=Q}function Q4(){return $.kairosActive}function $4(Q){$.kairosActive=Q,L1()}function J4(){return $.strictToolResultPairing}function Y4(Q){$.strictToolResultPairing=Q}function Z4(){return $.userMsgOptIn}function X4(Q){$.userMsgOptIn=Q,L1()}function H4(){return $.sessionSource}function W4(Q){$.sessionSource=Q}function x4(){return $.questionPreviewFormat}function U4(Q){$.questionPreviewFormat=Q}function K4(){return $.agentColorMap}function G4(){return $.flagSettingsPath}function B4(Q){$.flagSettingsPath=Q}function N4(){return $.flagSettingsInline}function w4(Q){$.flagSettingsInline=Q}function z4(){return $.sessionIngressToken}function F4(Q){$.sessionIngressToken=Q}function R4(){return $.oauthTokenFromFd}function D4(Q){$.oauthTokenFromFd=Q}function q4(){return $.apiKeyFromFd}function O4(Q){$.apiKeyFromFd=Q}function V4(Q){$.lastAPIRequest=Q}function M4(){return $.lastAPIRequest}function L4(Q){$.lastAPIRequestMessages=Q}function f4(){return $.lastAPIRequestMessages}function P4(Q){$.lastClassifierRequests=Q}function I4(){return $.lastClassifierRequests}function C4(Q){$.cachedClaudeMdContent=Q}function _4(){return $.cachedClaudeMdContent}function k4(Q){if($.inMemoryErrorLog.length>=100)$.inMemoryErrorLog.shift();$.inMemoryErrorLog.push(Q)}function E4(){return $.allowedSettingSources}function v4(Q){$.allowedSettingSources=Q}function d4(){return SY()&&$.clientType!=="claude-vscode"}function g4(Q){$.inlinePlugins=Q}function p4(){return $.inlinePlugins}function y4(Q){$.useCoworkPlugins=Q,E$()}function m4(){return $.useCoworkPlugins}function S4(Q){$.sessionBypassPermissionsMode=Q}function A4(){return $.sessionBypassPermissionsMode}function j4(Q){$.scheduledTasksEnabled=Q}function h4(){return $.scheduledTasksEnabled}function n4(){return $.sessionCronTasks}function b4(Q){$.sessionCronTasks.push(Q)}function i4(Q){if(Q.length===0)return 0;let J=new Set(Q),Y=$.sessionCronTasks.filter((H)=>!J.has(H.id)),Z=$.sessionCronTasks.length-Y.length;if(Z===0)return 0;return $.sessionCronTasks=Y,Z}function u4(){return $.pendingSessionWakeup}function l4(Q){let J=$.pendingSessionWakeup!==null;return $.pendingSessionWakeup=Q,J}function T4(){$.pendingSessionWakeup=null}function c4(Q){$.sessionTrustAccepted=Q}function r4(){return $.sessionTrustAccepted}function o4(Q){$.sessionPersistenceDisabled=Q}function s4(){return $.sessionPersistenceDisabled}function a4(){return $.hasExitedPlanMode}function t4(Q){$.hasExitedPlanMode=Q}function e4(){return $.needsPlanModeExitAttachment}function Q3(Q){$.needsPlanModeExitAttachment=Q}function $3(Q,J){if(J==="plan"&&Q!=="plan")$.needsPlanModeExitAttachment=!1;if(Q==="plan"&&J!=="plan")$.needsPlanModeExitAttachment=!0}function J3(){return $.needsAutoModeExitAttachment}function Y3(Q){$.needsAutoModeExitAttachment=Q}function Z3(Q,J){if(Q==="auto"&&J==="plan"||Q==="plan"&&J==="auto")return;let Y=Q==="auto",Z=J==="auto";if(Z&&!Y)$.needsAutoModeExitAttachment=!1;if(Y&&!Z)$.needsAutoModeExitAttachment=!0}function X3(Q){$.initJsonSchema=Q}function H3(){return $.initJsonSchema}function W3(Q){if(!$.registeredHooks)$.registeredHooks={};for(let[J,Y]of Object.entries(Q)){let Z=J;if(!$.registeredHooks[Z])$.registeredHooks[Z]=[];$.registeredHooks[Z].push(...Y)}}function x3(){return $.registeredHooks}function U3(){$.registeredHooks=null}function K3(){if(!$.registeredHooks)return;let Q={};for(let[J,Y]of Object.entries($.registeredHooks)){let Z=Y.filter((H)=>!("pluginRoot"in H));if(Z.length>0)Q[J]=Z}$.registeredHooks=Object.keys(Q).length>0?Q:null}function G3(){$.initJsonSchema=null,$.registeredHooks=null}function B3(){return $.planSlugCache}function N3(){return $.sessionCreatedTeams}function w3(Q){$.teleportedSessionInfo={isTeleported:!0,hasLoggedFirstMessage:!1,sessionId:Q.sessionId}}function z3(){return $.teleportedSessionInfo}function F3(){if($.teleportedSessionInfo)$.teleportedSessionInfo.hasLoggedFirstMessage=!0}function R3(Q,J,Y,Z=null){let H=`${Z??""}:${Q}`;$.invokedSkills.set(H,{skillName:Q,skillPath:J,content:Y,invokedAt:Date.now(),agentId:Z})}function D3(){return $.invokedSkills}function q3(Q){let J=Q??null,Y=new Map;for(let[Z,H]of $.invokedSkills)if(H.agentId===J)Y.set(Z,H);return Y}function O3(Q){if(!Q||Q.size===0){$.invokedSkills.clear();return}for(let[J,Y]of $.invokedSkills)if(Y.agentId===null||!Q.has(Y.agentId))$.invokedSkills.delete(J)}function V3(Q){for(let[J,Y]of $.invokedSkills)if(Y.agentId===Q)$.invokedSkills.delete(J)}function M3(Q,J){}function L3(){return AY}function f3(){return $.mainThreadAgentType}function P3(Q){$.mainThreadAgentType=Q}function I3(){return $.isRemoteMode}function C3(Q){$.isRemoteMode=Q}function _3(){return $.systemPromptSectionCache}function k3(Q,J){$.systemPromptSectionCache.set(Q,J)}function E3(){$.systemPromptSectionCache.clear()}function v3(){return $.lastEmittedDate}function d3(Q){$.lastEmittedDate=Q}function g3(){return $.additionalDirectoriesForClaudeMd}function p3(Q){$.additionalDirectoriesForClaudeMd=Q}function y3(){return $.allowedChannels}function m3(Q){$.allowedChannels=Q,L1()}function S3(){return $.hasDevChannels}function A3(Q){$.hasDevChannels=Q}function j3(){return $.largeSystemPromptDetected}function h3(Q){$.largeSystemPromptDetected=Q}function n3(){return $.afkModeHeaderLatched}function b3(Q){$.afkModeHeaderLatched=Q}function i3(){return $.fastModeHeaderLatched}function u3(Q){$.fastModeHeaderLatched=Q}function l3(){return $.thinkingClearLatched}function T3(Q){$.thinkingClearLatched=Q}function c3(Q){return $.lspDeferLatchedTools?.has(Q)??!1}function r3(Q){if(!$.lspDeferLatchedTools)$.lspDeferLatchedTools=new Set;$.lspDeferLatchedTools.add(Q)}function o3(){return $.deferredDeltaLegacySession}function s3(Q){$.deferredDeltaLegacySession=Q}function jY(){$.afkModeHeaderLatched=null,$.fastModeHeaderLatched=null,$.thinkingClearLatched=null,$.lspDeferLatchedTools=null,$.deferredDeltaLegacySession=!1}function a3(){return $.sessionEpochMs}function t3(){return $.promptId}function e3(Q){$.promptId=Q}function QW(){return!1}function $W(){return null}var r1,$,o1,K9,s1=!1,a1=0,t1=null,f1=0,M1=!1,l,j$=150,AY;var hY=X(()=>{_$();k$();v$();g$();r1=new Set;$=y$();o1=d$();K9=o1.subscribe;AY=[]});
|
|
2
|
-
export{p as lla,I1 as mla,FQ as nla,RQ as ola,OQ as pla,VQ as qla,_1 as rla,MQ as sla,PQ as tla,IQ as ula,dQ as vla,gQ as wla,w as xla,M as yla,pQ as zla,yQ as Ala,mQ as Bla,SQ as Cla,AQ as Dla,jQ as Ela,nQ as Fla,bQ as Gla,O as Hla,S as Ila,t as Jla,v1 as Kla,A as Lla,d1 as Mla,$1 as Nla,g1 as Ola,$5 as Pla,J5 as Qla,X1 as Rla,X5 as Sla,H1 as Tla,y1 as Ula,W5 as Vla,x5 as Wla,U5 as Xla,K5 as Yla,G5 as Zla,B5 as _la,D5 as $la,q5 as ama,W1 as bma,m1 as cma,S1 as dma,O5 as ema,G1 as fma,P5 as gma,A1 as hma,d5 as ima,w1 as jma,j1 as kma,h as lma,R1 as mma,a5 as nma,t5 as oma,Z$ as pma,X$ as qma,q1 as rma,b1 as sma,I as tma,u as uma,O1 as vma,i1 as wma,F$ as xma,R$ as yma,f$ as zma,P$ as Ama,nX as Bma,bX as Cma,iX as Dma,uX as Ema,lX as Fma,TX as Gma,E$ as Hma,cX as Ima,rX as Jma,oX as Kma,v$ as Lma,d$ as Mma,g$ as Nma,Z9 as Oma,X9 as Pma,H9 as Qma,W9 as Rma,x9 as Sma,U9 as Tma,K9 as Uma,G9 as Vma,B9 as Wma,N9 as Xma,w9 as Yma,z9 as Zma,F9 as _ma,R9 as $ma,D9 as ana,q9 as bna,O9 as cna,V9 as dna,M9 as ena,L9 as fna,f9 as gna,P9 as hna,I9 as ina,C9 as jna,_9 as kna,k9 as lna,E9 as mna,v9 as nna,d9 as ona,g9 as pna,p9 as qna,y9 as rna,m9 as sna,S9 as tna,A9 as una,j9 as vna,h9 as wna,n9 as xna,b9 as yna,i9 as zna,u9 as Ana,l9 as Bna,T9 as Cna,c9 as Dna,r9 as Ena,o9 as Fna,A$ as Gna,s9 as Hna,a9 as Ina,t9 as Jna,e9 as Kna,QH as Lna,$H as Mna,JH as Nna,YH as Ona,ZH as Pna,XH as Qna,HH as Rna,WH as Sna,xH as Tna,UH as Una,KH as Vna,GH as Wna,BH as Xna,NH as Yna,wH as Zna,zH as _na,FH as $na,RH as aoa,DH as boa,qH as coa,OH as doa,VH as eoa,MH as foa,LH as goa,fH as hoa,PH as ioa,IH as joa,CH as koa,_H as loa,kH as moa,EH as noa,vH as ooa,dH as poa,gH as qoa,pH as roa,yH as soa,mH as toa,SH as uoa,AH as voa,jH as woa,hH as xoa,nH as yoa,bH as zoa,iH as Aoa,uH as Boa,lH as Coa,TH as Doa,cH as Eoa,SY as Foa,rH as Goa,oH as Hoa,sH as Ioa,aH as Joa,tH as Koa,eH as Loa,Q4 as Moa,$4 as Noa,J4 as Ooa,Y4 as Poa,Z4 as Qoa,X4 as Roa,H4 as Soa,W4 as Toa,x4 as Uoa,U4 as Voa,K4 as Woa,G4 as Xoa,B4 as Yoa,N4 as Zoa,w4 as _oa,z4 as $oa,F4 as apa,R4 as bpa,D4 as cpa,q4 as dpa,O4 as epa,V4 as fpa,M4 as gpa,L4 as hpa,f4 as ipa,P4 as jpa,I4 as kpa,C4 as lpa,_4 as mpa,k4 as npa,E4 as opa,v4 as ppa,d4 as qpa,g4 as rpa,p4 as spa,y4 as tpa,m4 as upa,S4 as vpa,A4 as wpa,j4 as xpa,h4 as ypa,n4 as zpa,b4 as Apa,i4 as Bpa,u4 as Cpa,l4 as Dpa,T4 as Epa,c4 as Fpa,r4 as Gpa,o4 as Hpa,s4 as Ipa,a4 as Jpa,t4 as Kpa,e4 as Lpa,Q3 as Mpa,$3 as Npa,J3 as Opa,Y3 as Ppa,Z3 as Qpa,X3 as Rpa,H3 as Spa,W3 as Tpa,x3 as Upa,U3 as Vpa,K3 as Wpa,G3 as Xpa,B3 as Ypa,N3 as Zpa,w3 as _pa,z3 as $pa,F3 as aqa,R3 as bqa,D3 as cqa,q3 as dqa,O3 as eqa,V3 as fqa,M3 as gqa,L3 as hqa,f3 as iqa,P3 as jqa,I3 as kqa,C3 as lqa,_3 as mqa,k3 as nqa,E3 as oqa,v3 as pqa,d3 as qqa,g3 as rqa,p3 as sqa,y3 as tqa,m3 as uqa,S3 as vqa,A3 as wqa,j3 as xqa,h3 as yqa,n3 as zqa,b3 as Aqa,i3 as Bqa,u3 as Cqa,l3 as Dqa,T3 as Eqa,c3 as Fqa,r3 as Gqa,o3 as Hqa,s3 as Iqa,jY as Jqa,a3 as Kqa,t3 as Lqa,e3 as Mqa,QW as Nqa,$W as Oqa,hY as Pqa};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ala as w,kla as F}from"./cli-1.1.0-anh31kw5.mjs";import{ysa as D}from"./cli-1.1.0-t314tbev.mjs";function Q(b){z=b}function V(){let b=z?.()??{};if(!w(process.env.CLAUDE_CODE_SUBPROCESS_ENV_SCRUB))return Object.keys(b).length>0?{...process.env,...b}:process.env;let d={...process.env,...b};for(let q of J)delete d[q],delete d[`INPUT_${q}`];return d}var J,z;var L=D(()=>{F();J=["ANTHROPIC_API_KEY","CLAUDE_CODE_OAUTH_TOKEN","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_FOUNDRY_API_KEY","ANTHROPIC_CUSTOM_HEADERS","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_TRACES_HEADERS","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN","AWS_BEARER_TOKEN_BEDROCK","GOOGLE_APPLICATION_CREDENTIALS","AZURE_CLIENT_SECRET","AZURE_CLIENT_CERTIFICATE_PATH","ACTIONS_ID_TOKEN_REQUEST_TOKEN","ACTIONS_ID_TOKEN_REQUEST_URL","ACTIONS_RUNTIME_TOKEN","ACTIONS_RUNTIME_URL","ALL_INPUTS","OVERRIDE_GITHUB_TOKEN","DEFAULT_WORKFLOW_TOKEN","SSH_SIGNING_KEY"]});
|
|
2
|
-
export{Q as mV,V as nV,L as oV};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ala as B,bla as H,kla as V}from"./cli-1.1.0-anh31kw5.mjs";import{ysa as Q}from"./cli-1.1.0-t314tbev.mjs";function $(){let q=process.env.CLAUDIN_NERD_FONT;if(B(q))return!0;if(H(q))return!1;let z=process.env.TERM_PROGRAM;if(z&&W.has(z))return!0;let J=process.env.TERM?.toLowerCase()??"";if(X.some((K)=>J.includes(K)))return!0;return!1}var W,X;var Y=Q(()=>{V();W=new Set(["ghostty","kitty","WezTerm","iTerm.app","WarpTerminal"]),X=["kitty","ghostty","wezterm"]});
|
|
2
|
-
export{$ as Qh,Y as Rh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ysa as y}from"./cli-1.1.0-t314tbev.mjs";function $(q){return typeof q==="number"&&Number.isFinite(q)?q:0}function F(q,z){let B=q;for(let K of z){if(B==null||typeof B!=="object")return;B=B[K]}return B}function x(q){if(!q)return!1;let z="";try{z=new URL(q).hostname.toLowerCase()}catch{}if(!z){let W=q.toLowerCase();return W.includes("localhost")||W.includes("127.0.0.1")||W.includes("::1")}let B=z.startsWith("[")&&z.endsWith("]")?z.slice(1,-1):z;if(B==="localhost"||B.endsWith(".localhost")||B.endsWith(".local")||B.endsWith(".lan")||B.endsWith(".internal")||B.endsWith(".intranet")||B.endsWith(".home.arpa"))return!0;let K=B.match(U);if(K){let W=Number(K[1]),j=Number(K[2]);if(W===10)return!0;if(W===172&&j>=16&&j<=31)return!0;if(W===192&&j===168)return!0;if(W===127)return!0;if(W===169&&j===254)return!0;if(W===100&&j>=64&&j<=127)return!0}if(B==="::1"||B==="::")return!0;if(B.startsWith("fe80:")||f.test(B)||A.test(B))return!0;return!1}function N(q,z){if(q==="github")return z?.githubNativeAnthropic?"copilot-claude":"copilot";if(q==="firstParty"||q==="bedrock"||q==="vertex"||q==="foundry")return"anthropic";if(q==="gemini")return"gemini";if(q==="codex")return"codex";if(q==="openai"){let B=z?.openAiBaseUrl??"";if(x(B))return"self-hosted";let K=B.toLowerCase();if(K.includes(":11434"))return"ollama";if(K.includes("moonshot")||K.includes("kimi"))return"kimi";if(K.includes("deepseek"))return"deepseek";return"openai"}return"openai"}function D(q){if(!q||typeof q!=="object")return 0;let z=q,B=$(z.cache_read_input_tokens);if(B>0)return B;let K=$(F(q,["input_tokens_details","cached_tokens"]))||$(F(q,["prompt_tokens_details","cached_tokens"]));if(K>0)return K;let W=$(z.cached_tokens);if(W>0)return W;let j=$(z.prompt_cache_hit_tokens);if(j>0)return j;let Q=$(z.cached_content_token_count);if(Q>0)return Q;return 0}function Y(q){if(!q||typeof q!=="object")return 0;let B=$(q.cache_creation_input_tokens);if(B>0)return B;return $(F(q,["cache_creation","ephemeral_5m_input_tokens"]))+$(F(q,["cache_creation","ephemeral_1h_input_tokens"]))}function P(q){let z=D(q),B=q??{},K=$(B.input_tokens)||$(B.prompt_tokens),W=K>=z?K-z:K,j=$(B.output_tokens)||$(B.completion_tokens);return{input_tokens:W,output_tokens:j,cache_creation_input_tokens:Y(q),cache_read_input_tokens:z}}function M(q,z){if(!q||typeof q!=="object")return X;let B=q,K=$(B.cache_read_input_tokens),W=$(B.cache_creation_input_tokens),j=$(B.input_tokens);if(z==="copilot"||z==="ollama")return X;if(z==="self-hosted"&&K===0&&W===0)return X;let Q=K+W+j;return{read:K,created:W,total:Q,hitRate:Q>0?Math.min(1,K/Q):null,supported:!0}}function C(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";if(q.read===0&&q.created===0)return"[Cache: cold]";let z=[`${G(q.read)} read`];if(q.hitRate!==null)z.push(`hit ${Math.round(q.hitRate*100)}%`);return`[Cache: ${z.join(" • ")}]`}function I(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";let z=[`read=${G(q.read)}`,`created=${G(q.created)}`];if(q.hitRate!==null)z.push(`hit=${Math.round(q.hitRate*100)}%`);else z.push("hit=n/a");return`[Cache: ${z.join(" ")}]`}function G(q){if(q<1000)return String(q);if(q<1e6)return`${(q/1000).toFixed(1).replace(Z,"")}k`;return`${(q/1e6).toFixed(1).replace(Z,"")}m`}function H(q,z){if(!q.supported&&!z.supported)return X;if(!q.supported)return z;if(!z.supported)return q;let B=q.read+z.read,K=q.created+z.created,W=q.total+z.total;return{read:B,created:K,total:W,hitRate:W>0?B/W:null,supported:!0}}var X,U,f,A,Z;var L=y(()=>{X={read:0,created:0,total:0,hitRate:null,supported:!1};U=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,f=/^fc[0-9a-f]{0,2}:/,A=/^fd[0-9a-f]{0,2}:/,Z=/\.0$/});function S(q){return{currentTurn:V,session:V,history:Array(q),historyWriteIdx:0,historySize:0,historyMax:q}}function w(q,z){J.currentTurn=H(J.currentTurn,q),J.session=H(J.session,q);let B={timestamp:Date.now(),label:z,metrics:q};if(J.history[J.historyWriteIdx]=B,J.historyWriteIdx=(J.historyWriteIdx+1)%J.historyMax,J.historySize<J.historyMax)J.historySize++}function T(){J.currentTurn=V}function R(){J.currentTurn=V,J.session=V,J.history=Array(J.historyMax),J.historyWriteIdx=0,J.historySize=0}function b(){return J.currentTurn}function g(){return J.session}function l(){if(J.historySize<J.historyMax)return J.history.slice(0,J.historySize);let q=J.history.slice(J.historyWriteIdx),z=J.history.slice(0,J.historyWriteIdx);return q.concat(z)}var O=500,V,J;var k=y(()=>{L();V={read:0,created:0,total:0,hitRate:null,supported:!1};J=S(O)});
|
|
2
|
-
export{N as S2,P as T2,M as U2,C as V2,I as W2,L as X2,w as Y2,T as Z2,R as _2,b as $2,g as a3,l as b3,k as c3};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import{$J as Jq,$u as t,FK as Zq,HK as Uq,KJ as b,LJ as R,MJ as vq,PJ as p,Pp as a,QJ as S,RJ as zq,Rp as Kq,SJ as Bq,TJ as I,UJ as k,Vu as s,Zx as e,_x as Nq,aK as Qq,cl as r,eK as wq,el as Wq,fv as Hq,hK as Vq,iK as Oq,kK as Yq,pB as qq,pR as $q,qB as Xq,vR as yq,yK as Pq}from"./cli-1.1.0-27q99qxg.mjs";import{Hga as h,Pga as Fq}from"./cli-1.1.0-f2zea2vz.mjs";import{Aia as Lq,zia as n}from"./cli-1.1.0-2ynkx7mx.mjs";import{Ika as y,Wka as jq}from"./cli-1.1.0-x1d428kd.mjs";import{ysa as M}from"./cli-1.1.0-t314tbev.mjs";function x(B,z){let J=g[z]??1,Z=B!==void 0?g[B]:void 0;if(Z===void 0)return z;return Z<=J?B:z}var g;var m=M(()=>{g={plan:0,default:1,acceptEdits:2,bypassPermissions:3}});function C(B,z){if(B.length<=z)return B;return`${B.slice(0,z)}
|
|
2
|
-
…[truncated ${B.length-z} chars]`}function u(B,z,J,Z){let Y=[];if(Y.push(`You are a worker agent in the "${B.name}" workflow, phase "${Z.name}".`),B.instructions.trim())Y.push(`Workflow instructions:
|
|
3
|
-
${B.instructions.trim()}`);if(Y.push(`Task:
|
|
4
|
-
${z}`),J.trim())Y.push(`Work so far (accumulated artifact from earlier phases):
|
|
5
|
-
${C(J.trim(),Gq)}`);return Y.push("Do your part of this phase and report your findings/output. Another agent (the orchestrator) will synthesize the phase and decide what happens next — you do not decide the flow."),Y.join(`
|
|
6
|
-
|
|
7
|
-
`)}function c(B,z){let J=[];if(J.push(`You are the orchestrator (main) of the "${z.name}" workflow. You control the flow.`),z.instructions.trim())J.push(`Workflow instructions:
|
|
8
|
-
${z.instructions.trim()}`);J.push(`Task:
|
|
9
|
-
${B.task}`);let Z=z.steps.findIndex((V)=>V.name===B.currentStep),Y=z.steps.map((V,Q)=>{let j=Q<Z?"[done]":Q===Z?"[current]":"[pending]",H=I(V)?" (terminal)":"";return` ${Q+1}. ${V.name} ${j}${H}`}).join(`
|
|
10
|
-
`);if(J.push(`Phases:
|
|
11
|
-
${Y}`),B.history.length>0){let V=B.history.map((Q)=>{let j=Q.agents.map((q)=>{let L=q.failed?" (FAILED)":"";return` • ${q.label}${L}:
|
|
12
|
-
${C(q.output,f).split(`
|
|
13
|
-
`).map((N)=>` ${N}`).join(`
|
|
14
|
-
`)}`}).join(`
|
|
15
|
-
`),H=Q.decision?` decision: ${Q.decision.decision}${Q.decision.target?` → ${Q.decision.target}`:""} — ${Q.decision.notes}`:" decision: (pending — this is the phase you are deciding now)";return` Phase "${Q.step}":
|
|
16
|
-
${j}
|
|
17
|
-
${Q.synthesis?` synthesis: ${C(Q.synthesis,f)}
|
|
18
|
-
`:""}${H}`}).join(`
|
|
19
|
-
|
|
20
|
-
`);J.push(`History (all phases so far):
|
|
21
|
-
${V}`)}let G=z.steps[Z]?.handbackTo??[];return J.push(G.length>0?`From the current phase you may hand back to: ${G.join(", ")}.`:"The current phase has no handback targets; you may only advance or refine."),J.push("Synthesize the current phase's worker outputs into an updated artifact (your final text), then call the StructuredOutput tool with your decision: advance (next phase), refine (re-run this phase), or handback (return to an allowed earlier phase). Include a short `notes` explaining why."),J.join(`
|
|
22
|
-
|
|
23
|
-
`)}var f=4000,Gq=6000;var l=M(()=>{k()});function d(B,z,J){let Z=J.steps,Y=Z.findIndex((j)=>j.name===B.currentStep),$={...B.refineCounts},G=B.transitions+1,V=B.currentStep,Q="running";if(z.decision==="advance"){let j=Z[Y+1];if(I(j)){if(Q="done",j)V=j.name}else V=j.name}else if(z.decision==="refine"){if($[V]=($[V]??0)+1,$[V]>S)Q="stalled"}else{let j=Z[Y]?.handbackTo??[];if(!z.target||!j.includes(z.target))Q="stalled";else if($[z.target]=($[z.target]??0)+1,$[z.target]>S)Q="stalled";else V=z.target}if(Q==="running"&&G>=p)Q="stalled";return{...B,currentStep:V,status:Q,refineCounts:$,transitions:G,updatedAt:Date.now()}}var i=M(()=>{k()});import Dq from"os";function Iq(){return Math.max(1,Math.min(8,Dq.cpus().length-1))}function hq(B){let z="",J=0;for(let Y=B.length-1;Y>=0;Y--){let $=B[Y];if($.type!=="assistant"||!$.message)continue;if(!z){let G=($.message.content??[]).filter((V)=>V.type==="text"&&V.text);if(G.length>0)z=G.map((V)=>V.text??"").join(`
|
|
24
|
-
`)}if(J===0&&$.message.usage)J=$q($.message.usage);if(z&&J)break}let Z=e(B);return{text:z,tokens:J,tools:Z}}async function o(B){let{label:z,agentDef:J,promptText:Z,toolUseContext:Y,canUseTool:$,extraTools:G,runId:V}=B,Q=Date.now(),j=Y.getAppState(),H=j.toolPermissionContext.mode,q={...j.toolPermissionContext,mode:x(J.permissionMode,H)},L=Zq(q,j.mcp.tools);if(G&&G.length>0)L=[...L,...G];let N=J.model??String(Y.options.mainLoopModel??""),F=[],X,P=!1;try{let K=qq({agentDefinition:J,promptMessages:[Yq({content:Z})],toolUseContext:Y,canUseTool:$,isAsync:!1,querySource:a(J.agentType,s(J)),availableTools:L,transcriptSubdir:`workflows/${V}`,description:`${z} (workflow)`,override:{abortController:B.abortController}});for await(let w of K)if(F.push(w),w.type==="attachment"&&w.attachment?.type==="structured_output")X=w.attachment.data}catch(K){if(y(K))throw K;h(K),P=!0}let{text:E,tokens:_,tools:v}=hq(F);return{run:{label:z,model:N,tokens:_,tools:v,ms:Date.now()-Q,output:P?"":E,failed:P},structuredOutput:X}}async function tq(B){let{def:z,task:J,toolUseContext:Z,canUseTool:Y,onProgress:$,signal:G}=B,{allAgents:V}=await t(n()),Q=new Map(V.map((N)=>[N.agentType,N]));Q.set(b,R);let j=Q.get(z.main??b)??R,H=new AbortController;if(G)if(G.aborted)H.abort();else G.addEventListener("abort",()=>H.abort(),{once:!0});let q=await Jq({workflow:z.name,description:z.description,task:J,firstStep:z.steps[0].name});$?.(q);let L=async()=>{await Qq(q),$?.(q)};while(q.status==="running"){if(G?.aborted){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}let N=z.steps.findIndex((W)=>W.name===q.currentStep),F=z.steps[N];if(I(F)){q={...q,status:"done",updatedAt:Date.now()},await L();break}q={...q,agentsInPhase:F.agents.length,agentsDone:0,updatedAt:Date.now()},await L();let X;try{X=(await Vq(F.agents,async(O)=>{let T={run:{label:`${F.name}:${O}`,model:"",tokens:0,tools:0,ms:0,output:"",failed:!0}},A;try{let D=Q.get(O);A=D?await o({label:`${F.name}:${O}`,agentDef:D,promptText:u(z,J,q.artifact,F),toolUseContext:Z,canUseTool:Y,runId:q.runId,abortController:H}):T}catch(D){if(y(D))throw D;h(D),A=T}return q={...q,agentsDone:(q.agentsDone??0)+1,updatedAt:Date.now()},await L(),A},{concurrency:Iq()})).map((O)=>O.run)}catch(W){if(y(W)){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}throw W}let P={step:F.name,stepIndex:N,agents:X,synthesis:"",decision:null,at:Date.now()};if(q={...q,history:[...q.history,P],totalTokens:q.totalTokens+X.reduce((W,O)=>W+O.tokens,0),updatedAt:Date.now()},await L(),F.agents.length>0&&X.every((W)=>W.failed)){h(Error(`workflow phase "${F.name}": all ${X.length} worker(s) failed`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}if(G?.aborted){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}let E=r(Bq(F));if(!("tool"in E)){h(Error(`workflow decision schema build failed: ${E.error}`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}let _=[E.tool],v;try{v=await o({label:"main",agentDef:j,promptText:c(q,z),toolUseContext:Z,canUseTool:Y,extraTools:_,runId:q.runId,abortController:H})}catch(W){if(y(W)){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}throw W}let K=zq.safeParse(v.structuredOutput),w=[...q.history];if(w[w.length-1]={...P,synthesis:v.run.output,decision:K.success?K.data:null,agents:[...X,v.run]},q={...q,history:w,artifact:v.run.output.trim()?v.run.output:q.artifact,totalTokens:q.totalTokens+v.run.tokens,updatedAt:Date.now()},!K.success){h(Error(`workflow main produced no valid decision: ${K.error?.message??"no decision"}`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}let U=d(q,K.data,z);q={...q,currentStep:U.currentStep,status:U.status,refineCounts:U.refineCounts,transitions:U.transitions,updatedAt:U.updatedAt},await L()}return q}var Eq=M(()=>{Oq();Uq();Hq();Nq();Xq();Wq();Lq();jq();Fq();Pq();Kq();yq();vq();m();l();wq();i();k()});
|
|
25
|
-
export{tq as zi,Eq as Ai};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{D0 as v,E0 as Z,F0 as D,k0 as T,l0 as X,m0 as I,o0 as Y,p0 as p}from"./cli-1.1.0-3bm55s4g.mjs";import{h4 as P,j4 as V}from"./cli-1.1.0-2g3ef6xx.mjs";import{k4 as H}from"./cli-1.1.0-0hf961r9.mjs";import{Pqa as F,Yna as W}from"./cli-1.1.0-q0xhsdq5.mjs";import{usa as A,ysa as C}from"./cli-1.1.0-t314tbev.mjs";function B({children:_,ref:$,stickyScroll:g,...K}){let E=J.useRef(null),[,w]=J.useState(0),L=J.useRef(new Set),N=J.useRef(!1),U=()=>{for(let q of L.current)q()};function O(q){if(W(),T(q),Y(),U(),N.current)return;N.current=!0,queueMicrotask(()=>{N.current=!1,X(q)})}return J.useImperativeHandle($,()=>({scrollTo(q){let z=E.current;if(!z)return;z.stickyScroll=!1,z.pendingScrollDelta=void 0,z.scrollAnchor=void 0,z.scrollTop=Math.max(0,Math.floor(q)),O(z)},scrollToElement(q,z=0){let G=E.current;if(!G)return;G.stickyScroll=!1,G.pendingScrollDelta=void 0,G.scrollAnchor={el:q,offset:z},O(G)},scrollBy(q){let z=E.current;if(!z)return;z.stickyScroll=!1,z.scrollAnchor=void 0,z.pendingScrollDelta=(z.pendingScrollDelta??0)+Math.floor(q),O(z)},scrollToBottom(){let q=E.current;if(!q)return;q.pendingScrollDelta=void 0,q.stickyScroll=!0,T(q),U(),w((z)=>z+1)},getScrollTop(){return E.current?.scrollTop??0},getPendingDelta(){return E.current?.pendingScrollDelta??0},getScrollHeight(){return E.current?.scrollHeight??0},getFreshScrollHeight(){return E.current?.childNodes[0]?.yogaNode?.getComputedHeight()??E.current?.scrollHeight??0},getViewportHeight(){return E.current?.scrollViewportHeight??0},getViewportTop(){return E.current?.scrollViewportTop??0},isSticky(){let q=E.current;if(!q)return!1;return q.stickyScroll??Boolean(q.attributes.stickyScroll)},subscribe(q){return L.current.add(q),()=>L.current.delete(q)},setClampBounds(q,z){let G=E.current;if(!G)return;G.scrollClampMin=q,G.scrollClampMax=z}}),[]),P("ink-box",{ref:(q)=>{if(E.current=q,q)q.scrollTop??=0},style:{flexWrap:"nowrap",flexDirection:K.flexDirection??"row",flexGrow:K.flexGrow??0,flexShrink:K.flexShrink??1,...K,overflowX:"scroll",overflowY:"scroll"},...g?{stickyScroll:!0}:{},children:P(Z,{flexDirection:"column",flexGrow:1,flexShrink:0,width:"100%",children:_})})}var J,u;var M=C(()=>{F();I();p();v();D();V();J=A(H(),1);u=B});
|
|
2
|
-
export{u as Vh,M as Wh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Za as S}from"./cli-1.1.0-vcev20jn.mjs";import{$a as c}from"./cli-1.1.0-aew4bmae.mjs";import{Dd as P,Hd as Vq}from"./cli-1.1.0-kqpv3mqm.mjs";import{Ld as I,Md as v,Nd as $,Od as Wq}from"./cli-1.1.0-m3srsyep.mjs";import{AF as Jq,Bz as A,CM as f,Cz as Bq,FM as Tq,Gu as N,Gz as _,Hu as e,Iz as Gq,iy as L,jy as h,kL as E,lL as Qq,lp as C,ly as qq,np as r,zF as M}from"./cli-1.1.0-27q99qxg.mjs";import{k4 as s}from"./cli-1.1.0-0hf961r9.mjs";import{Hga as F,I_ as D,K_ as n,Pga as a,qaa as w,saa as t}from"./cli-1.1.0-f2zea2vz.mjs";import{mja as x,pja as d}from"./cli-1.1.0-z8gyd4hj.mjs";import{pka as j,ska as o}from"./cli-1.1.0-6h9f0djh.mjs";import{Oka as y,Wka as l}from"./cli-1.1.0-x1d428kd.mjs";import{usa as p}from"./cli-1.1.0-t314tbev.mjs";Jq();d();Gq();qq();Wq();t();o();n();l();a();e();Qq();var V=p(s(),1);Bq();r();Vq();Tq();function Lq({enabled:W=!0}={}){let b=V.useSyncExternalStore(v,I,I),H=h(),O=L((J)=>J.plugins.needsRefresh),{addNotification:z}=M(),R=V.useCallback(async()=>{try{let{enabled:J,disabled:T,errors:Q}=await f();await c();let X=P();if(Object.keys(X).length>0)z({key:"plugin-delisted-flagged",text:"Plugins flagged. Check /plugins",color:"warning",priority:"high"});let Y=[],Z=[];try{Y=await E(),$(Y)}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-commands",error:`Failed to load plugin commands: ${B}`}),$([])}try{Z=await N()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-agents",error:`Failed to load plugin agents: ${B}`})}try{await S()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-hooks",error:`Failed to load plugin hooks: ${B}`})}let u=(await Promise.all(J.map(async(q)=>{if(q.mcpServers)return Object.keys(q.mcpServers).length;let B=await C(q,Q);if(B)q.mcpServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0),m=(await Promise.all(J.map(async(q)=>{if(q.lspServers)return Object.keys(q.lspServers).length;let B=await A(q,Q);if(B)q.lspServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0);_(),H((q)=>{let B=q.plugins.errors.filter((G)=>G.source==="lsp-manager"||G.source.startsWith("plugin:")),K=new Set(Q.map((G)=>G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`)),U=[...B.filter((G)=>{let i=G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`;return!K.has(i)}),...Q];return{...q,plugins:{...q.plugins,enabled:J,disabled:T,commands:[],errors:U}}}),j(`Loaded plugins - Enabled: ${J.length}, Disabled: ${T.length}, Commands: ${Y.length}, Agents: ${Z.length}, Errors: ${Q.length}`);let g=J.reduce((q,B)=>{if(!B.hooksConfig)return q;return q+Object.values(B.hooksConfig).reduce((K,k)=>K+(k?.reduce((U,G)=>U+G.hooks.length,0)??0),0)},0);return{enabled_count:J.length,disabled_count:T.length,inline_count:w(J,(q)=>q.source.endsWith("@inline")),marketplace_count:w(J,(q)=>!q.source.endsWith("@inline")),error_count:Q.length,skill_count:Y.length,agent_count:Z.length,hook_count:g,mcp_count:u,lsp_count:m}}catch(J){let T=y(J);return F(T),j(`Error loading plugins: ${J}`),$([]),H((Q)=>{let X=Q.plugins.errors.filter((Z)=>Z.source==="lsp-manager"||Z.source.startsWith("plugin:")),Y={type:"generic-error",source:"plugin-system",error:T.message};return{...Q,plugins:{...Q.plugins,enabled:[],disabled:[],commands:[],errors:[...X,Y]}}}),{enabled_count:0,disabled_count:0,inline_count:0,marketplace_count:0,error_count:1,skill_count:0,agent_count:0,hook_count:0,mcp_count:0,lsp_count:0,load_failed:!0,ant_enabled_names:void 0}}},[H,z]);return V.useEffect(()=>{if(!W)return;R().then((J)=>{let{ant_enabled_names:T,...Q}=J,X={...Q,has_custom_plugin_cache_dir:!!process.env.CLAUDE_CODE_PLUGIN_CACHE_DIR};x("tengu_plugins_loaded",{...X,...T!==void 0&&{enabled_names:T}}),D("info","tengu_plugins_loaded",X)})},[R,W]),V.useEffect(()=>{if(W)return;$([])},[W]),V.useEffect(()=>{if(!W||!O)return;z({key:"plugin-reload-pending",text:"Plugins changed. Run /reload-plugins to activate.",color:"suggestion",priority:"low"})},[W,O,z]),W?b:[]}
|
|
2
|
-
export{Lq as Ya};
|