@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,2 +0,0 @@
|
|
|
1
|
-
import{Hga as C,N_ as z,P_ as H,Pga as J}from"./cli-1.1.0-f2zea2vz.mjs";H();J();var K=/https:\/\/[^\s]+\/pull\/\d+/;function M(q){try{let k=JSON.parse(q);if(!Array.isArray(k))return[];return k.filter((v)=>typeof v==="object"&&v!==null&&typeof v.number==="number")}catch(k){return C(`failed to parse gh issue list output: ${k instanceof Error?k.message:String(k)}`),[]}}function O(q){let k=q.trim(),v=k.lastIndexOf("/");return v===-1?k||"main":k.slice(v+1)||"main"}function Q(q){let k=q.match(K);if(k)return k[0];let v=q.trim();return/^https?:\/\/\S+$/.test(v)?v:null}async function W(q){let{stdout:k,code:v,error:A}=await z("gh",["issue","list","--label",q,"--state","open","--json","number,title,body,updatedAt"]);if(v!==0){if(A)C(`gh issue list failed: ${A}`);return[]}return M(k)}async function X(){let{stdout:q,code:k}=await z("git",["rev-parse","--abbrev-ref","origin/HEAD"]);if(k!==0)return"main";return O(q)}async function Y(){let{stdout:q,code:k}=await z("git",["status","--porcelain"]);if(k!==0)return!1;return q.trim().length>0}async function Z(q){let k=await z("git",["add","-A"]);if(k.code!==0)return C(`git add failed: ${k.error??k.stderr}`),!1;let v=await z("git",["commit","-m",q]);if(v.code!==0)return C(`git commit failed: ${v.error??v.stderr}`),!1;return!0}async function $(q){let{code:k,stderr:v,error:A}=await z("git",["push","-u","origin",q]);if(k!==0)return C(`git push failed: ${A??v}`),!1;return!0}async function B(q){let{stdout:k,code:v,stderr:A,error:G}=await z("gh",["pr","create","--base",q.base,"--head",q.head,"--title",q.title,"--body-file",q.bodyFile]);if(v!==0)return C(`gh pr create failed: ${G??A}`),null;return Q(k)}async function D(q,k){let{code:v,stderr:A,error:G}=await z("gh",["issue","comment",String(q),"--body",k]);if(v!==0)return C(`gh issue comment failed: ${G??A}`),!1;return!0}
|
|
2
|
-
export{W as a,X as b,Y as c,Z as d,$ as e,B as f,D as g};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Vh as Vq,Wh as fq}from"./cli-1.1.0-qtb6qp7v.mjs";import{CY as Qq,EY as Uq,FY as Hq,gY as Pq,hY as mq,vY as o,wY as pq}from"./cli-1.1.0-j8j38mj8.mjs";import{A1 as Wq,V0 as M,X0 as g,wZ as Sq}from"./cli-1.1.0-3bm55s4g.mjs";import{h4 as Z,i4 as F,j4 as Jq}from"./cli-1.1.0-2g3ef6xx.mjs";import{k4 as _q}from"./cli-1.1.0-0hf961r9.mjs";import{Uga as s,Vga as jq}from"./cli-1.1.0-xqj8jr7g.mjs";import{usa as Lq,ysa as wq}from"./cli-1.1.0-t314tbev.mjs";function lq(A){let q=C.c(25),{title:J,color:V,defaultTab:Q,children:L,hidden:G,useFullWidth:K,selectedTab:E,onTabChange:k,banner:T,disableNavigation:a,initialHeaderFocused:n,contentHeight:y,navFromContent:d}=A,Xq=n===void 0?!0:n,Yq=d===void 0?!1:d,{columns:t}=Pq(),X=L.map(Iq),e=Q?X.findIndex((U)=>Q===U[0]):0,x=E!==void 0,[Zq,kq]=P.useState(e!==-1?e:0),qq=x?X.findIndex((U)=>U[0]===E):-1,z=x?qq!==-1?qq:0:Zq,N=Uq(),[Y,v]=P.useState(Xq),O;if(q[0]===Symbol.for("react.memo_cache_sentinel"))O=()=>v(!0),q[0]=O;else O=q[0];let zq=O,R;if(q[1]===Symbol.for("react.memo_cache_sentinel"))R=()=>v(!1),q[1]=R;else R=q[1];let Eq=R,[Nq,Aq]=P.useState(0),w;if(q[2]===Symbol.for("react.memo_cache_sentinel"))w=()=>{return Aq(Cq),()=>Aq(gq)},q[2]=w;else w=q[2];let vq=w,j=Nq>0,_=(U)=>{let H=(z+X.length+U)%X.length,f=X[H]?.[0];if(x&&k&&f)k(f);else kq(H);v(!0)},b=!G&&!a&&Y,S;if(q[3]!==b)S={context:"Tabs",isActive:b},q[3]=b,q[4]=S;else S=q[4];o({"tabs:next":()=>_(1),"tabs:previous":()=>_(-1)},S);let W;if(q[5]!==Y||q[6]!==G||q[7]!==j)W=(U)=>{if(!Y||!j||G)return;if(U.key==="down")U.preventDefault(),v(!1)},q[5]=Y,q[6]=G,q[7]=j,q[8]=W;else W=q[8];let u=W,$=Yq&&!Y&&j&&!G&&!a,m;if(q[9]!==$)m={context:"Tabs",isActive:$},q[9]=$,q[10]=m;else m=q[10];o({"tabs:next":()=>{_(1),v(!0)},"tabs:previous":()=>{_(-1),v(!0)}},m);let Dq=J?s(J)+1:0,Mq=X.reduce(Fq,0),Bq=Dq+Mq,Gq=K?Math.max(0,t-Bq):0,B=K?t:void 0,h=M,Kq="column",yq=0,Oq=!0,c=N?0:void 0,r=!G&&F(M,{flexDirection:"row",gap:1,flexShrink:N?0:void 0,children:[J!==void 0&&Z(g,{bold:!0,color:V,children:J}),X.map((U,H)=>{let[f,Rq]=U,i=z===H,l=V&&i&&Y;return F(g,{backgroundColor:l?V:void 0,color:l?"inverseText":void 0,inverse:i&&!l,bold:i,children:[" ",Rq," "]},f)}),Gq>0&&Z(g,{children:" ".repeat(Gq)})]},`${z}-${Y?"focused":"blurred"}`),D;if(q[11]!==L||q[12]!==y||q[13]!==B||q[14]!==G||q[15]!==N||q[16]!==z)D=N?Z(M,{width:B,marginTop:G?0:1,flexShrink:0,children:Z(Vq,{ref:N,flexDirection:"column",flexShrink:0,children:L},z)}):Z(M,{width:B,marginTop:G?0:1,height:y,overflowY:y!==void 0?"hidden":void 0,children:L}),q[11]=L,q[12]=y,q[13]=B,q[14]=G,q[15]=N,q[16]=z,q[17]=D;else D=q[17];let p;if(q[18]!==h||q[19]!==T||q[20]!==u||q[21]!==c||q[22]!==r||q[23]!==D)p=F(h,{flexDirection:Kq,tabIndex:yq,autoFocus:Oq,onKeyDown:u,flexShrink:c,children:[r,T,D]}),q[18]=h,q[19]=T,q[20]=u,q[21]=c,q[22]=r,q[23]=D,q[24]=p;else p=q[24];return Z(I.Provider,{value:{selectedTab:X[z][0],width:B,headerFocused:Y,focusHeader:zq,blurHeader:Eq,registerOptIn:vq},children:p})}function Fq(A,q){let[,J]=q;return A+(J?s(J):0)+2+1}function gq(A){return A-1}function Cq(A){return A+1}function Iq(A){return[A.props.id??A.props.title,A.props.title]}function oq(A){let q=C.c(4),{title:J,id:V,children:Q}=A,{selectedTab:L,width:G}=P.useContext(I),K=Qq();if(L!==(V??J))return null;let E=K?0:void 0,k;if(q[0]!==Q||q[1]!==E||q[2]!==G)k=Z(M,{width:G,flexShrink:E,children:Q}),q[0]=Q,q[1]=E,q[2]=G,q[3]=k;else k=q[3];return k}function sq(){let{width:A}=P.useContext(I);return A}function aq(){let A=C.c(6),{headerFocused:q,focusHeader:J,blurHeader:V,registerOptIn:Q}=P.useContext(I),L;if(A[0]!==Q)L=[Q],A[0]=Q,A[1]=L;else L=A[1];P.useEffect(Q,L);let G;if(A[2]!==V||A[3]!==J||A[4]!==q)G={headerFocused:q,focusHeader:J,blurHeader:V},A[2]=V,A[3]=J,A[4]=q,A[5]=G;else G=A[5];return G}var C,P,I;var Tq=wq(()=>{Hq();mq();fq();jq();Wq();pq();Jq();C=Lq(Sq(),1),P=Lq(_q(),1),I=P.createContext({selectedTab:void 0,width:void 0,headerFocused:!1,focusHeader:()=>{},blurHeader:()=>{},registerOptIn:()=>()=>{}})});
|
|
2
|
-
export{lq as th,oq as uh,sq as vh,aq as wh,Tq as xh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{L$ as x,V_ as X,Z_ as k,p$ as Y}from"./cli-1.1.0-f2zea2vz.mjs";import{kha as $}from"./cli-1.1.0-xqj8jr7g.mjs";import{ysa as Z}from"./cli-1.1.0-t314tbev.mjs";import{stat as I}from"fs/promises";import{join as Q,sep as P}from"path";async function H(J){let q=await Y(J);if(!q)return;let K=await X(q),[z,B]=await Promise.all([V(Q(q,"FETCH_HEAD")),K?V(Q(K,"FETCH_HEAD")):Promise.resolve(void 0)]);if(z&&B)return z>B?z:B;return z??B}async function V(J){try{let{mtime:q}=await I(J);return q}catch{return}}var M=Z(()=>{$();k();x()});
|
|
2
|
-
export{H as jb,M as kb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ksa as p,lsa as a}from"./cli-1.1.0-r82e580m.mjs";import{wsa as i}from"./cli-1.1.0-t314tbev.mjs";var u=i((V)=>{var v=p(),T=a(),_="AWS_ACCESS_KEY_ID",N="AWS_SECRET_ACCESS_KEY",S="AWS_SESSION_TOKEN",C="AWS_CREDENTIAL_EXPIRATION",A="AWS_CREDENTIAL_SCOPE",I="AWS_ACCOUNT_ID",d=(e)=>async()=>{e?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");let r=process.env[_],s=process.env[N],E=process.env[S],o=process.env[C],n=process.env[A],t=process.env[I];if(r&&s){let c={accessKeyId:r,secretAccessKey:s,...E&&{sessionToken:E},...o&&{expiration:new Date(o)},...n&&{credentialScope:n},...t&&{accountId:t}};return v.setCredentialFeature(c,"CREDENTIALS_ENV_VARS","g"),c}throw new T.CredentialsProviderError("Unable to find environment variable credentials.",{logger:e?.logger})};V.ENV_ACCOUNT_ID=I;V.ENV_CREDENTIAL_SCOPE=A;V.ENV_EXPIRATION=C;V.ENV_KEY=_;V.ENV_SECRET=N;V.ENV_SESSION=S;V.fromEnv=d});
|
|
2
|
-
export{u as E9};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Hga as B,Pea as A,Pga as N,ifa as L}from"./cli-1.1.0-f2zea2vz.mjs";import{pka as z,ska as K}from"./cli-1.1.0-6h9f0djh.mjs";import{xsa as I,ysa as J}from"./cli-1.1.0-t314tbev.mjs";var V={};I(V,{setCliTeammateModeOverride:()=>P,getTeammateModeFromSnapshot:()=>U,getCliTeammateModeOverride:()=>Q,clearCliTeammateModeOverride:()=>R,captureTeammateModeSnapshot:()=>H});function P(x){y=x}function Q(){return y}function R(x){y=null,q=x,z(`[TeammateModeSnapshot] CLI override cleared, new mode: ${x}`)}function H(){if(y)q=y,z(`[TeammateModeSnapshot] Captured from CLI override: ${q}`);else q=A().teammateMode??"auto",z(`[TeammateModeSnapshot] Captured from config: ${q}`)}function U(){if(q===null)B(Error("getTeammateModeFromSnapshot called before capture - this indicates an initialization bug")),H();return q??"auto"}var q=null,y=null;var W=J(()=>{L();K();N()});
|
|
2
|
-
export{P as XU,Q as YU,R as ZU,H as _U,U as $U,V as aV,W as bV};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{D3 as V,z3 as y}from"./cli-1.1.0-ky8gc8bw.mjs";import{N_ as p,P_ as K,xba as q,zba as Q}from"./cli-1.1.0-f2zea2vz.mjs";import{ysa as J}from"./cli-1.1.0-t314tbev.mjs";function j(){return!!z}async function D(){if(b!==null)return b;return b=!!z,b}function P(){return W||null}async function w(){return(await p(y,["-V"])).code===0}function E(){if(f!==null)return f;let k=process.env.TERM_PROGRAM,B=!!process.env.ITERM_SESSION_ID,H=q.terminal==="iTerm.app";return f=k==="iTerm.app"||B||H,f}async function F(){return(await p(Y,["session","list"])).code===0}function G(){b=null,f=null}var z,W,b=null,f=null,Y="it2";var Z=J(()=>{Q();K();V();z=process.env.TMUX,W=process.env.TMUX_PANE});
|
|
2
|
-
export{j as n3,D as o3,P as p3,w as q3,E as r3,Y as s3,F as t3,G as u3,Z as v3};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import{Hg as _Q,Jg as iQ}from"./cli-1.1.0-43b9w2rq.mjs";import{Ai as zX,zi as WQ}from"./cli-1.1.0-qsymkkgn.mjs";import{Hp as ZQ,Ip as uQ,Ms as CQ,NJ as JJ,OJ as mJ,VJ as GQ,WJ as KQ,Ws as qX,XJ as VQ,YJ as OQ,_J as NQ,bK as IJ,cK as nJ,dK as rJ,eK as gQ,hG as SJ,iG as YQ}from"./cli-1.1.0-27q99qxg.mjs";import{AY as $X,GY as zJ,HY as iJ,gY as bJ,hY as aJ,uY as AQ,wY as ZX,zY as FQ}from"./cli-1.1.0-j8j38mj8.mjs";import{A1 as WJ,FZ as AJ,Q0 as FJ,R0 as CJ,S0 as oJ,V0 as N,X0 as M,f1 as t,mZ as LJ,nZ as lJ,p1 as e}from"./cli-1.1.0-3bm55s4g.mjs";import{h4 as q,i4 as _,j4 as s}from"./cli-1.1.0-2g3ef6xx.mjs";import{k4 as BJ}from"./cli-1.1.0-0hf961r9.mjs";import{p9 as i,q9 as dJ}from"./cli-1.1.0-18mcq0aj.mjs";import{Hga as x,Pga as DJ}from"./cli-1.1.0-f2zea2vz.mjs";import{$ga as uJ,Uga as f,Vga as pJ,Xga as n,eha as vJ,kha as kQ}from"./cli-1.1.0-xqj8jr7g.mjs";import{Aia as aQ,zia as UQ}from"./cli-1.1.0-2ynkx7mx.mjs";import{usa as OJ,ysa as qJ,zsa as oQ}from"./cli-1.1.0-t314tbev.mjs";import{writeFile as fQ}from"fs/promises";import{join as hQ}from"path";function PJ(J){if(J<1000)return`${J}ms`;let U=Math.round(J/1000);if(U<60)return`${U}s`;return`${Math.floor(U/60)}m ${U%60}s`}function sJ(J){if(J==="done")return"success";if(J==="stalled"||J==="failed")return"error";if(J==="cancelled")return"warning";return"permission"}function cQ(J){if(J==="running")return"▸";if(J==="failed"||J==="stalled")return"✗";if(J==="cancelled")return"⊘";return"✓"}function tJ(J){let U=0,K=0;for(let H of J.history)for(let B of HJ(H.agents))if(K+=1,!B.failed)U+=1;return{done:U,total:K}}function eJ(J){let U=J.history.map((K)=>{let H=HJ(K.agents);return{step:K.step,done:H.filter((B)=>!B.failed).length,total:H.length,agents:K.agents,decision:K.decision}});if(J.status==="running"&&!J.history.some((K)=>K.step===J.currentStep))U.push({step:J.currentStep,done:J.agentsDone??0,total:J.agentsInPhase??0,agents:null,decision:null});return U}function JQ(J,U){return`${CJ(J)}${U}\x1B[39m`}function jJ(J,U,K){return J+" ".repeat(Math.max(0,K-U))}function xQ(J,U,K){let H=J.failed?"✗ ":"✓ ",B=JQ(J.failed?K.error:K.success,H.trimEnd())+" ",W=PJ(J.ms),X=f(W),I=Math.max(4,U-f(H)-X-1),w=n(`${J.label} ${J.model||"inherit"} · ${vJ(J.tokens)} tok`,I),S=w.length<=J.label.length?i.bold(w):i.bold(w.slice(0,J.label.length))+i.dim(w.slice(J.label.length)),F=Math.max(1,U-f(H)-f(w)-X);return B+S+" ".repeat(F)+i.dim(W)}function pQ({run:J,phaseIndex:U}){let{columns:K,rows:H}=bJ(),B=eJ(J),W=Math.min(U,Math.max(0,B.length-1)),X=B[W],{done:I,total:w}=tJ(J),[S]=AJ(),F=FJ(S),g=Math.max(6,H-6),R=g-2,l=TJ-4,v=Math.max(20,K-4-TJ-1-4-4),k=X?` ${X.step} · ${X.agents?HJ(X.agents).length:X.total} agents `:" phase ",C=B.map((D,L)=>{let V=L===W,O=D.total>0&&D.done===D.total?"✓":D.agents===null?"▸":"✓",m=n(`${V?") ":" "}${O} ${D.step}${D.total>0?` ${D.done}/${D.total}`:""}`,l);return jJ(V?JQ(F.permission,m):m,f(m),l)});while(C.length<R)C.push(" ".repeat(l));let j=!X?[jJ(i.dim("starting…"),f("starting…"),v)]:X.agents===null?[jJ(i.dim(`running… ${X.done}/${X.total} done`),f(`running… ${X.done}/${X.total} done`),v)]:HJ(X.agents).map((D)=>xQ(D,v,F));while(j.length<R)j.push(" ".repeat(v));return _(N,{flexDirection:"column",marginTop:1,children:[_(N,{flexDirection:"row",justifyContent:"space-between",children:[_(N,{flexDirection:"column",flexShrink:1,minWidth:0,children:[q(M,{bold:!0,color:"permission",wrap:"truncate",children:J.workflow}),J.description?q(M,{dimColor:!0,wrap:"truncate",children:J.description}):null]}),_(M,{color:sJ(J.status),wrap:"truncate",children:[I,"/",w," agents · ",PJ(J.updatedAt-J.startedAt)," · ",J.status]})]}),_(N,{flexDirection:"row",marginTop:1,gap:1,children:[q(N,{flexDirection:"column",flexShrink:0,width:TJ,height:g,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:" Phases ",position:"top",align:"start"},children:q(t,{lines:C.slice(0,R),width:l})}),q(N,{flexDirection:"column",flexGrow:1,height:g,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:k,position:"top",align:"start"},children:q(t,{lines:j.slice(0,R),width:v})})]})]})}function QQ({liveRun:J,onStop:U,initialRunId:K,onViewChange:H}){let[B,W]=y.useState([]),[X,I]=y.useState(0),[w,S]=y.useState(0),[F,g]=y.useState(K?{mode:"detail",runId:K}:{mode:"list"}),[R,l]=y.useState(null),[v,k]=y.useState(!1),[C,j]=y.useState(new Set);y.useEffect(()=>{IJ().then(W).catch(($)=>x($))},[J?.runId,J?.updatedAt]);let D=(J?[J,...B.filter(($)=>$.runId!==J.runId)]:B).filter(($)=>!C.has($.runId)),L=D[Math.min(X,Math.max(0,D.length-1))],V=F.mode==="detail"?D.find(($)=>$.runId===F.runId):void 0;y.useEffect(()=>{H?.(F.mode==="detail")},[F.mode,H]);let O=y.useCallback(()=>{LJ.get(process.stdout)?.prepareFullRepaint()},[]),m=y.useRef(!1);y.useEffect(()=>{if(m.current||!K)return;let $=D.findIndex((Y)=>Y.runId===K);if($>=0)I($),m.current=!0},[K,D]);let T=F.mode==="detail"?V:L,h=y.useCallback(async()=>{if(!T)return;try{let $=hQ(JJ(),`run-${T.runId}.md`);await fQ($,rJ(T)),l($)}catch($){x($)}},[T]),c=y.useCallback(async()=>{if(!L)return;try{await nJ(L.runId),j(($)=>new Set($).add(L.runId)),I(($)=>Math.max(0,Math.min($,D.length-2))),W(await IJ())}catch($){x($)}},[L,D.length]);if(e(($,Y)=>{if(F.mode==="detail"){let P=V?eJ(V).length:0;if(Y.escape)O(),g({mode:"list"});else if(Y.upArrow)O(),S((A)=>Math.max(0,A-1));else if(Y.downArrow)O(),S((A)=>Math.min(Math.max(0,P-1),A+1));else if($==="s")h();else if($==="x"&&V&&J&&V.runId===J.runId)U();return}if(v){if(k(!1),$==="y")c();return}if(Y.upArrow)I((P)=>Math.max(0,P-1));else if(Y.downArrow)I((P)=>Math.min(D.length-1,P+1));else if(Y.return&&L)O(),S(0),g({mode:"detail",runId:L.runId});else if($==="s")h();else if($==="x"&&L&&J&&L.runId===J.runId)U();else if($==="d"&&L&&L.status!=="running")k(!0)},{isActive:!0}),F.mode==="detail"){if(!V)return q(N,{paddingX:2,paddingTop:1,children:q(M,{dimColor:!0,children:"Run not found."})});return _(N,{flexDirection:"column",paddingX:2,children:[q(pQ,{run:V,phaseIndex:w}),R&&_(M,{color:"success",children:["Saved → ",R]})]})}return _(N,{flexDirection:"column",paddingTop:1,children:[q(zJ,{color:"permission",padding:4}),D.length===0?q(N,{paddingX:2,marginTop:1,children:q(M,{dimColor:!0,children:"No workflow runs yet. Start one from the Library tab."})}):_(N,{flexDirection:"column",paddingX:2,marginTop:1,children:[D.map(($,Y)=>{let{total:P}=tJ($);return _(M,{inverse:Y===X,wrap:"truncate",children:[Y===X?"▸ ":" ",q(M,{color:sJ($.status),children:cQ($.status)})," ",$.workflow," ",P," agents · ",vJ($.totalTokens)," tok · ",PJ($.updatedAt-$.startedAt)]},$.runId)}),R&&q(N,{marginTop:1,children:_(M,{color:"success",children:["Saved → ",R]})}),v&&L&&q(N,{marginTop:1,children:_(M,{color:"warning",children:['Delete run "',L.workflow,'" (',PJ(L.updatedAt-L.startedAt),")? (y/n)"]})})]})]})}var y,HJ=(J)=>J.filter((U)=>U.label!=="main"),TJ=26;var XQ=qJ(()=>{dJ();WJ();lJ();pJ();kQ();DJ();oJ();uJ();aJ();iJ();gQ();mJ();s();y=OJ(BJ(),1)});function lQ(J){let U={name:J.name};if(J.agents.length>0)U.agents=J.agents;if(J.handbackTo?.length)U.handbackTo=J.handbackTo;return U}function $Q(J,U={}){let K={name:J.name,description:J.description};if(J.main)K.main=J.main;K.steps=J.steps.map(lQ);for(let[W,X]of Object.entries(U))if(!dQ.has(W))K[W]=X;let H=ZQ(K).trimEnd(),B=J.instructions.trim();return`---
|
|
2
|
-
${H}
|
|
3
|
-
---
|
|
4
|
-
${B?`${B}
|
|
5
|
-
`:""}`}function qQ(J,U,K){let H=J[U]?.name;return J.map((B,W)=>({...B,name:W===U?K:B.name,handbackTo:B.handbackTo?.map((X)=>X===H?K:X)}))}var dQ;var zQ=qJ(()=>{uQ();dQ=new Set(["name","description","main","steps"])});import{unlinkSync as nQ,writeFileSync as rQ}from"fs";import{readFile as sQ,writeFile as tQ}from"fs/promises";import{tmpdir as eQ}from"os";import{join as yJ}from"path";function UJ(J,U){return`${CJ(J)}${U}\x1B[39m`}function ZJ(J,U,K){return J+" ".repeat(Math.max(0,K-U))}function EJ(J,U,K){let H=J.slice(0,U);while(H.length<U)H.push(" ".repeat(K));return H}function MQ({sourceFile:J,onClose:U}){let{columns:K,rows:H}=bJ(),[B]=AJ(),W=FJ(B),[X,I]=E.useState(null),[w,S]=E.useState({}),[F,g]=E.useState(null),[R,l]=E.useState(!1),[v,k]=E.useState("phases"),[C,j]=E.useState(0),[D,L]=E.useState(0),[V,O]=E.useState(null),[m,T]=E.useState(null),[h,c]=E.useState(null),$=E.useCallback(()=>{LJ.get(process.stdout)?.prepareFullRepaint()},[]);E.useEffect(()=>{sQ(yJ(JJ(),J),"utf-8").then((Q)=>{let Z=GQ(Q,J.replace(/\.md$/,""));if(Z.def)I(Z.def),S(Z.rawFrontmatter);else g(Z.errors.join("; "))}).catch((Q)=>{x(Q),g("Failed to read workflow file.")})},[J]),E.useEffect(()=>{import("./agentTypes-1.1.0-6b0xw5qv.mjs").then((Q)=>Q.getKnownAgentTypes(UQ())).then(c).catch((Q)=>x(Q))},[]);let Y=E.useMemo(()=>{if(!X)return[];let Q=KQ(X);if(h)Q.push(...VQ(X,h));return Q},[X,h]),P=E.useCallback((Q)=>{$(),I((Z)=>Z?Q(Z):Z),l(!0),T(null)},[$]),A=C-1,u=X&&A>=0?X.steps[A]:void 0,YJ=C===0?["description","main"]:["name","agents","handbackTo"],bQ=E.useCallback(async()=>{if(!X)return;try{let Q=yJ(JJ(),J);await tQ(Q,$Q(X,w)),l(!1),T(`Saved → ${Q}`)}catch(Q){x(Q),T("Failed to save.")}},[X,w,J]),EQ=E.useCallback(()=>{if(!X)return;let Q=yJ(eQ(),`claudin-wf-prompt-${Date.now()}.md`);try{rQ(Q,X.instructions?`${X.instructions}
|
|
6
|
-
`:"");let Z=_Q(Q);if(Z.error)T(Z.error);else if(Z.content===null)T("No external editor available — set $EDITOR or $VISUAL.");else{let z=Z.content.trim();if(z!==X.instructions)P((G)=>({...G,instructions:z}))}}catch(Z){x(Z),T("Failed to open editor.")}finally{try{nQ(Q)}catch{}}},[X,P]),SQ=E.useCallback(()=>{if(!X)return;let Q=YJ[D];if($(),C===0){if(Q==="description")O({kind:"input",target:"description",value:X.description,cursor:X.description.length});else{let Z=["(default)",...[...h??[]].sort()];O({kind:"picker",target:"main",options:Z,checked:new Set([X.main??"(default)"]),cursor:Math.max(0,Z.indexOf(X.main??"(default)")),multi:!1})}return}if(!u)return;if(Q==="name")O({kind:"input",target:"name",value:u.name,cursor:u.name.length});else if(Q==="agents"){let Z=[...new Set([...[...h??[]].sort(),...u.agents])];O({kind:"picker",target:"agents",options:Z,checked:new Set(u.agents),cursor:0,multi:!0})}else{let Z=X.steps.slice(0,A).map((z)=>z.name);if(Z.length===0){T("No earlier phases to hand back to.");return}O({kind:"picker",target:"handbackTo",options:Z,checked:new Set(u.handbackTo??[]),cursor:0,multi:!0})}},[X,YJ,D,C,u,A,h,$]),RQ=E.useCallback((Q,Z)=>{let z=Z.trim();if($(),O(null),!z)return;if(Q==="description")P((G)=>({...G,description:z}));else if(Q==="name"&&A>=0)P((G)=>({...G,steps:qQ(G.steps,A,z)}));else if(Q==="addStep"){let G=C===0?0:C;P((b)=>({...b,steps:[...b.steps.slice(0,G),{name:z,agents:[]},...b.steps.slice(G)]})),j(G+1),k("phases")}},[$,C,A,P]),TQ=E.useCallback((Q)=>{if($(),O(null),Q.target==="main"){let z=Q.options[Q.cursor];P((G)=>({...G,main:z==="(default)"?void 0:z}));return}let Z=Q.options.filter((z)=>Q.checked.has(z));if(Q.target==="agents"&&A>=0)P((z)=>({...z,steps:z.steps.map((G,b)=>b===A?{...G,agents:Z}:G)}));else if(Q.target==="handbackTo"&&A>=0)P((z)=>({...z,steps:z.steps.map((G,b)=>b===A?{...G,handbackTo:Z.length?Z:void 0}:G)}))},[$,A,P]),jQ=E.useCallback(()=>{if(A<0)return;P((Q)=>({...Q,steps:Q.steps.filter((Z,z)=>z!==A)})),j((Q)=>Math.max(0,Math.min(Q,(X?.steps.length??1)-1))),k("phases")},[X,A,P]),gJ=E.useCallback((Q)=>{if(!X||A<0)return;let Z=A+Q;if(Z<0||Z>=X.steps.length)return;P((z)=>{let G=[...z.steps],[b]=G.splice(A,1);return G.splice(Z,0,b),{...z,steps:G}}),j(Z+1)},[X,A,P]);if(e((Q,Z)=>{if(!X){if(Z.escape)U();return}if(V?.kind==="input")return;if(V?.kind==="confirmDelete"){if($(),O(null),Q==="y")jQ();return}if(V?.kind==="confirmDiscard"){if($(),O(null),Q==="y")U();return}if(V?.kind==="picker"){let z=(G)=>{$(),O((b)=>b?.kind==="picker"?G(b):b)};if(Z.upArrow)z((G)=>({...G,cursor:Math.max(0,G.cursor-1)}));else if(Z.downArrow)z((G)=>({...G,cursor:Math.min(G.options.length-1,G.cursor+1)}));else if(Q===" "&&V.multi)z((G)=>{let b=G.options[G.cursor];if(b===void 0)return G;let a=new Set(G.checked);if(a.has(b))a.delete(b);else a.add(b);return{...G,checked:a}});else if(Z.return)TQ(V);else if(Z.escape)$(),O(null);return}if(Q==="s"){bQ();return}if(Q==="p"){EQ();return}if(v==="fields"){if(Z.escape)$(),k("phases");else if(Z.upArrow)$(),L((z)=>Math.max(0,z-1));else if(Z.downArrow)$(),L((z)=>Math.min(YJ.length-1,z+1));else if(Z.return)SQ();return}if(Z.escape)if(R)$(),O({kind:"confirmDiscard"});else U();else if(Z.upArrow)$(),j((z)=>Math.max(0,z-1));else if(Z.downArrow)$(),j((z)=>Math.min(X.steps.length,z+1));else if(Z.return)$(),k("fields"),L(0);else if(Q==="a")$(),O({kind:"input",target:"addStep",value:"",cursor:0});else if(Q==="d"&&C>0)$(),O({kind:"confirmDelete"});else if(Q==="K")gJ(-1);else if(Q==="J")gJ(1)},{isActive:!0}),F)return _(N,{flexDirection:"column",paddingX:2,paddingTop:1,children:[_(M,{color:"error",children:["⚠ ",F]}),_(M,{dimColor:!0,children:["Esc to go back — fix the file by hand at .claudin/workflows/",J,"."]})]});if(!X)return q(N,{paddingX:2,paddingTop:1,children:q(M,{dimColor:!0,children:"Loading…"})});let $J=Math.max(6,H-6),r=wJ-4,o=Math.max(20,K-4-wJ-1-4-4),IQ=$J-2,GJ=(Q)=>Q?") ":" ",KJ=[];{let Q=n(`${GJ(C===0)}${X.name}`,r);KJ.push(ZJ(C===0?UJ(W.permission,Q):i.bold(Q),f(Q),r));let Z=` ${"─".repeat(Math.max(1,r-2))}`;KJ.push(ZJ(i.dim(Z),f(Z),r)),X.steps.forEach((z,G)=>{let b=C===G+1,a=n(`${GJ(b)}${z.name} ${z.agents.length}`,r);KJ.push(ZJ(b?UJ(W.permission,a):a,f(a),r))})}let fJ=V?.kind==="picker",VJ,NJ,vQ=" Prompt (p to edit) ",_J=[],mQ=kJ-2,hJ=Math.max(3,$J-kJ),cJ=hJ-2;if(fJ){let Q=V;VJ=Q.target==="main"?" main orchestrator ":` ${Q.target==="agents"?"agents":"hand back to"} · ${u?.name??X.name} `;let Z=$J-2,z=Math.max(0,Math.min(Q.cursor-Math.floor(Z/2),Q.options.length-Z));NJ=Q.options.slice(z,z+Z).map((G,b)=>{let XJ=z+b===Q.cursor,RJ=Q.multi?Q.checked.has(G)?"[x] ":"[ ] ":"",xJ=Q.target==="agents"&&h&&!h.has(G),MJ=n(`${GJ(XJ)}${RJ}${G}${xJ?" (unknown)":""}`,o),wQ=XJ?UJ(W.permission,MJ):xJ?UJ(W.error,MJ):MJ;return ZJ(wQ,f(MJ),o)})}else{VJ=C===0?` ${X.name} `:` phase: ${u?.name??""} `;let Q=(z)=>{if(z==="description")return X.description||"(empty)";if(z==="main")return X.main??"(default)";if(z==="name")return u?.name??"";if(z==="agents")return u?.agents.join(", ")||"(none)";return u?.handbackTo?.join(", ")??"—"};if(NJ=YJ.map((z,G)=>{let b=v==="fields"&&G===D,a=z==="handbackTo"?"handback":z,XJ=n(`${GJ(b)}${a}: ${Q(z)}`,o),RJ=b?UJ(W.permission,XJ):i.dim(XJ.slice(0,2+a.length+1))+XJ.slice(2+a.length+1);return ZJ(RJ,f(XJ),o)}),_J=(X.instructions?X.instructions.split(`
|
|
7
|
-
`):[]).slice(0,cJ).map((z)=>{let G=n(z,o);return ZJ(i.dim(G),f(G),o)}),_J.length===0)_J=[ZJ(i.dim("(empty — press p to write the prompt)"),f("(empty — press p to write the prompt)"),o)]}let QJ=V?.kind==="input"?V:null,yQ=QJ?.target==="addStep"?"New phase name:":QJ?.target==="name"?"Rename phase:":"Description:";return _(N,{flexDirection:"column",marginTop:1,children:[_(N,{flexDirection:"row",justifyContent:"space-between",children:[q(M,{bold:!0,color:"permission",wrap:"truncate",children:X.name}),q(M,{color:R?"warning":"success",wrap:"truncate",children:R?"● unsaved":"saved"})]}),_(N,{flexDirection:"row",marginTop:1,gap:1,children:[q(N,{flexDirection:"column",flexShrink:0,width:wJ,height:$J,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:" Phases ",position:"top",align:"start"},children:q(t,{lines:EJ(KJ,IQ,r),width:r})}),fJ?q(N,{flexDirection:"column",flexGrow:1,height:$J,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:VJ,position:"top",align:"start"},children:q(t,{lines:EJ(NJ,$J-2,o),width:o})}):_(N,{flexDirection:"column",flexGrow:1,children:[q(N,{flexDirection:"column",height:kJ,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:VJ,position:"top",align:"start"},children:q(t,{lines:EJ(NJ,mQ,o),width:o})}),q(N,{flexDirection:"column",height:hJ,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:vQ,position:"top",align:"start"},children:q(t,{lines:EJ(_J,cJ,o),width:o})})]})]}),QJ&&_(N,{flexDirection:"column",children:[q(M,{children:yQ}),q(N,{borderStyle:"round",borderDimColor:!0,paddingLeft:1,children:q(SJ,{value:QJ.value,onChange:(Q)=>O((Z)=>Z?.kind==="input"?{...Z,value:Q}:Z),onSubmit:()=>RQ(QJ.target,QJ.value),columns:80,cursorOffset:QJ.cursor,onChangeCursorOffset:(Q)=>O((Z)=>Z?.kind==="input"?{...Z,cursor:Q}:Z),showCursor:!0})}),q(M,{dimColor:!0,children:"Enter to confirm · empty + Enter to cancel"})]}),V?.kind==="confirmDelete"&&u&&_(M,{color:"warning",children:['Delete phase "',u.name,'"? (y/n)']}),V?.kind==="confirmDiscard"&&q(M,{color:"warning",children:"Discard unsaved changes? (y/n)"}),Y.length>0&&_(M,{color:"error",wrap:"truncate",children:["⚠ ",Y.join(" · ")]}),m&&q(M,{dimColor:!0,wrap:"truncate",children:m})]})}var E,wJ=26,kJ=7;var PQ=qJ(()=>{dJ();WJ();lJ();pJ();YQ();aJ();aQ();DJ();iQ();oJ();uJ();NQ();mJ();zQ();s();E=OJ(BJ(),1)});import{unlink as JX,writeFile as QX}from"fs/promises";import{join as HQ}from"path";function DQ({onRun:J,onInputActiveChange:U,onViewChange:K}){let[H,B]=p.useState([]),[W,X]=p.useState({}),[I,w]=p.useState(0),[S,F]=p.useState("list"),[g,R]=p.useState(""),[l,v]=p.useState(0),[k,C]=p.useState(null),[j,D]=p.useState(null),L=p.useCallback(()=>{OQ().then(({defs:Y,errorsByFile:P})=>{B(Y),X(P)}).catch((Y)=>x(Y))},[]);p.useEffect(L,[L]),p.useEffect(()=>{U(S!=="list")},[S,U]),p.useEffect(()=>{K?.(j!==null)},[j,K]);let V=H[Math.min(I,Math.max(0,H.length-1))],O=(Y)=>Y.sourceFile??`${Y.name}.md`,m=V?W[O(V)]:void 0,T=(Y)=>{R(""),v(0),C(null),F(Y)},h=()=>{if(V&&g.trim())J(V,g.trim());F("list")},c=async()=>{let Y=g.trim();if(!Y){F("list");return}try{let P=HQ(JJ(),`${Y}.md`);await QX(P,XX(Y)),L(),D(`${Y}.md`)}catch(P){x(P),C("Failed to create workflow.")}F("list")},$=async()=>{if(V)try{await JX(HQ(JJ(),O(V))),C(`Deleted ${V.name}.`),L()}catch(Y){x(Y),C("Failed to delete workflow.")}F("list")};if(e((Y,P)=>{if(j!==null)return;if(S==="confirmDelete"){if(Y==="y")$();else F("list");return}if(S!=="list")return;if(P.upArrow)w((A)=>Math.max(0,A-1));else if(P.downArrow)w((A)=>Math.min(H.length-1,A+1));else if(P.return&&V)T("task");else if(Y==="n")T("new");else if(Y==="d"&&V)F("confirmDelete");else if(Y==="e"&&V)C(null),D(O(V));else if(Y==="r")L()},{isActive:!0}),j!==null)return q(N,{paddingX:2,children:q(MQ,{sourceFile:j,onClose:()=>{D(null),L()}})});if(S==="task"||S==="new"){let Y=S==="task"?`Task for "${V?.name}":`:"New workflow name:";return _(N,{flexDirection:"column",paddingTop:1,paddingX:2,children:[q(zJ,{color:"permission"}),q(N,{marginTop:1,children:q(M,{children:Y})}),q(N,{borderStyle:"round",borderDimColor:!0,marginY:1,paddingLeft:1,children:q(SJ,{value:g,onChange:R,onSubmit:S==="task"?h:()=>void c(),columns:80,cursorOffset:l,onChangeCursorOffset:v,showCursor:!0})}),q(M,{dimColor:!0,children:"Enter to confirm · empty + Enter to cancel"})]})}return _(N,{flexDirection:"column",paddingTop:1,children:[q(zJ,{color:"permission"}),_(N,{flexDirection:"column",paddingX:2,marginTop:1,children:[H.length===0?q(M,{dimColor:!0,children:'No workflows. Press "n" to create one at .claudin/workflows/.'}):H.map((Y,P)=>{let A=Boolean(W[O(Y)]?.length);return _(M,{inverse:P===I,children:[P===I?"▸ ":" ",Y.name,A?" ⚠":""," ",_(M,{dimColor:!0,children:["· ",Y.steps.length," phases"]})]},Y.name)}),V&&_(N,{flexDirection:"column",marginTop:1,children:[q(M,{dimColor:!0,children:V.description}),V.steps.map((Y)=>_(M,{dimColor:!0,children:[" ",Y.name,": ",Y.agents.join(", ")||"(terminal)",Y.handbackTo?.length?` ↩ ${Y.handbackTo.join(",")}`:""]},Y.name)),m?.length?_(M,{color:"error",children:["⚠ ",m.join("; ")]}):null]}),S==="confirmDelete"&&V&&q(N,{marginTop:1,children:_(M,{color:"warning",children:['Delete "',V.name,'"? (y/n)']})}),k&&q(N,{marginTop:1,children:q(M,{dimColor:!0,children:k})})]})]})}var p,XX=(J)=>`---
|
|
8
|
-
name: ${J}
|
|
9
|
-
description: What this workflow does
|
|
10
|
-
steps:
|
|
11
|
-
- name: explore
|
|
12
|
-
agents: [explorer]
|
|
13
|
-
- name: synthesize
|
|
14
|
-
agents: [synthesizer]
|
|
15
|
-
handbackTo: [explore]
|
|
16
|
-
- name: done
|
|
17
|
-
---
|
|
18
|
-
Describe the goal and any house rules for this workflow.
|
|
19
|
-
`;var LQ=qJ(()=>{WJ();YQ();DJ();iJ();NQ();mJ();PQ();s();p=OJ(BJ(),1)});function BQ({hint:J,onExit:U,escActive:K=!0}){let H=FQ();return AQ("confirm:no",U,{context:"Settings",isActive:K}),q(N,{marginLeft:2,marginTop:1,children:q(M,{dimColor:!0,children:H.pending?`Press ${H.keyName} again to exit`:J})})}function NZ({context:J,onExit:U,initialTab:K,initialRunId:H}){let[B,W]=d.useState(K??"library"),[X,I]=d.useState(null),[w,S]=d.useState(!1),[F,g]=d.useState(!1),[R,l]=d.useState(!1),v=d.useRef(null),k=d.useRef(!0);d.useEffect(()=>{return k.current=!0,()=>{k.current=!1}},[]);let C=J.canUseTool??UX,j=d.useCallback((O,m)=>{v.current?.abort();let T=new AbortController;v.current=T,W("running");let h={...J,setAppState:()=>{},setAppStateForTasks:J.setAppStateForTasks??J.setAppState};WQ({def:O,task:m,toolUseContext:h,canUseTool:C,signal:T.signal,onProgress:(c)=>{if(k.current)I({...c})}}).then((c)=>{if(k.current)I({...c});let $=(c.artifact||"").slice(0,2000);CQ({value:`<task-notification>
|
|
20
|
-
<status>${c.status}</status>
|
|
21
|
-
<summary>Workflow "${O.name}" ${c.status} (run ${c.runId})</summary>
|
|
22
|
-
<result>${$}</result>
|
|
23
|
-
</task-notification>`,mode:"task-notification"})}).catch((c)=>x(c))},[J,C]),D=d.useCallback(()=>{v.current?.abort()},[]);e((O,m)=>{if(m.tab||m.leftArrow)W((T)=>T==="running"?"library":"running");else if(m.rightArrow)W("running")},{isActive:!w&&!F&&!R});let L=_(N,{flexDirection:"row",gap:1,children:[q(M,{bold:!0,color:"permission",children:"Workflows"}),_(M,{bold:B==="running",inverse:B==="running",children:[" ","Running"," "]}),_(M,{bold:B==="library",inverse:B==="library",children:[" ","Library"," "]})]}),V=()=>U("Workflows dialog dismissed",{display:"system"});if(B==="running")return _(N,{flexDirection:"column",children:[!F&&L,q(QQ,{liveRun:X,onStop:D,initialRunId:H,onViewChange:g}),q(BQ,{hint:F?"↑↓ select · esc back · s save":"Tab tabs · ↑↓ select · Enter view · s save · x stop · d delete · Esc close",escActive:!F,onExit:V})]});return _(N,{flexDirection:"column",children:[!R&&L,q(DQ,{onRun:j,onInputActiveChange:S,onViewChange:l}),q(BQ,{hint:R?"↑↓ nav · Enter edit · a add · d del · K/J move · p prompt · s save · Esc back":"Tab tabs · ↑↓ select · Enter run · n new · e edit · d delete · Esc close",escActive:!R,onExit:V})]})}var d,UX=async(J,U)=>({behavior:"allow",updatedInput:U});var YX=qJ(()=>{WJ();$X();ZX();DJ();qX();zX();XQ();LQ();s();d=OJ(BJ(),1)});
|
|
24
|
-
export{NZ as dc,YX as ec};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ysa as J}from"./cli-1.1.0-t314tbev.mjs";import v from"node:path";function Z(q){if(q.endsWith(v.sep)||q.endsWith("/"))return K;let j=v.basename(q).toLowerCase();if(j.startsWith("readme"))return B[".md"];if(j.startsWith(".env"))return Q;let z=U[j];if(z)return z;let H=v.extname(j);return B[H]??P}var K="",Y="",P="",Q="",U,B;var V=J(()=>{U={"package.json":"",dockerfile:"",".dockerignore":"",".gitignore":"",".gitattributes":"",license:"","bun.lock":""},B={".ts":"",".tsx":"",".js":"",".jsx":"",".mjs":"",".cjs":"",".json":"",".md":"",".markdown":"",".toml":"",".yaml":"",".yml":"",".py":"",".rs":"",".go":"",".sh":"",".bash":"",".zsh":"",".css":"",".scss":"",".html":"",".htm":"",".png":"",".jpg":"",".jpeg":"",".gif":"",".svg":"",".webp":"",".lock":""}});
|
|
2
|
-
export{K as Mh,Y as Nh,Z as Oh,V as Ph};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ri as H,Ti as C}from"./cli-1.1.0-vsd5cgtc.mjs";import{Ui as k,Vi as y}from"./cli-1.1.0-h9m8nwpz.mjs";import{A4 as Y,F4 as R,y4 as X}from"./cli-1.1.0-8t3nbehc.mjs";import{H4 as G,I4 as m}from"./cli-1.1.0-bg3abn0c.mjs";import{G8 as B,V8 as f,k5 as w,l5 as E}from"./cli-1.1.0-kb88a691.mjs";import{Hga as Q,Mea as S,Pea as j,Pga as D,ifa as x}from"./cli-1.1.0-f2zea2vz.mjs";import{kja as V,lja as b}from"./cli-1.1.0-ab3nq7yd.mjs";import{$ra as I,Jra as W}from"./cli-1.1.0-kyvxb684.mjs";import{ysa as Z}from"./cli-1.1.0-t314tbev.mjs";async function _(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests`;return(await W.post(J,L,{headers:K})).data}async function $(L,N){let{accessToken:P,orgUUID:K}=await X(),J={...Y(P),"x-organization-uuid":K},F=`${V().BASE_API_URL}/api/oauth/organizations/${K}/admin_requests/me?request_type=${L}`;for(let v of N)F+=`&statuses=${v}`;return(await W.get(F,{headers:J})).data}async function z(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests/eligibility?request_type=${L}`;return(await W.get(J,{headers:K})).data}var M=Z(()=>{I();b();R()});async function i(){if(!j().hasVisitedExtraUsage)S((J)=>({...J,hasVisitedExtraUsage:!0}));H();let L=B(),N=L==="team"||L==="enterprise";if(!w()&&N){let J;try{J=(await k())?.extra_usage}catch(F){Q(F)}if(J?.is_enabled&&J.monthly_limit===null)return{type:"message",value:"Your organization already has unlimited extra usage. No request needed."};try{if((await z("limit_increase"))?.is_allowed===!1)return{type:"message",value:"Please contact your admin to manage extra usage settings."}}catch(F){Q(F)}try{let F=await $("limit_increase",["pending","dismissed"]);if(F&&F.length>0)return{type:"message",value:"You have already submitted a request for extra usage to your admin."}}catch(F){Q(F)}try{return await _({request_type:"limit_increase",details:null}),{type:"message",value:J?.is_enabled?"Request sent to your admin to increase extra usage.":"Request sent to your admin to enable extra usage."}}catch(F){Q(F)}return{type:"message",value:"Please contact your admin to manage extra usage settings."}}let K=N?"https://claude.ai/admin-settings/usage":"https://claude.ai/settings/usage";try{let J=await G(K);return{type:"browser-opened",url:K,opened:J}}catch(J){return Q(J),{type:"message",value:`Failed to open browser. Please visit ${K} to manage extra usage.`}}}var A=Z(()=>{M();C();y();f();E();m();x();D()});
|
|
2
|
-
export{i as Oi,A as Pi};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{pka as Q,ska as $}from"./cli-1.1.0-6h9f0djh.mjs";import{Rka as K,Wka as Z}from"./cli-1.1.0-x1d428kd.mjs";import{Zka as J,kla as Y}from"./cli-1.1.0-anh31kw5.mjs";Y();Z();$();import{readFileSync as k}from"node:fs";import{mkdir as I,writeFile as W}from"node:fs/promises";import{join as M}from"node:path";var S="latest-version.json";function X(){return M(J(),S)}function U(q){if(!q||typeof q!=="object")return!1;let x=q;return typeof x.latest==="string"&&x.latest.length>0&&typeof x.current==="string"&&x.current.length>0&&typeof x.checkedAt==="number"&&Number.isFinite(x.checkedAt)}function T(){try{let q=k(X(),"utf8"),x=JSON.parse(q);return U(x)?x:null}catch(q){if(K(q))return null;return Q(`latestVersionCache: read failed: ${q instanceof Error?q.stack??q.message:String(q)}`),null}}var G=new Set;function w(q){return G.add(q),()=>{G.delete(q)}}async function y(q){let x=X(),R=JSON.stringify(q);try{await W(x,R,"utf8")}catch(z){if(K(z))await I(J(),{recursive:!0}),await W(x,R,"utf8");else throw z}for(let z of[...G])try{z(q)}catch(B){Q(`latestVersionCache: listener threw: ${B instanceof Error?B.stack??B.message:String(B)}`)}}
|
|
2
|
-
export{T as ha,w as ia,y as ja};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{nsa as x,psa as y,tsa as C}from"./cli-1.1.0-ah0k4q2s.mjs";import{wsa as k}from"./cli-1.1.0-t314tbev.mjs";var MF=k((n)=>{var K=x(),b=C(),w=y(),f=(F)=>F[K.SMITHY_CONTEXT_KEY]||(F[K.SMITHY_CONTEXT_KEY]={}),h=(F,J)=>{if(!J||J.length===0)return F;let G=[];for(let L of J)for(let Q of F)if(Q.schemeId.split("#")[1]===L)G.push(Q);for(let L of F)if(!G.find(({schemeId:Q})=>Q===L.schemeId))G.push(L);return G};function v(F){let J=new Map;for(let G of F)J.set(G.schemeId,G);return J}var j=(F,J)=>(G,L)=>async(Q)=>{let V=F.httpAuthSchemeProvider(await J.httpAuthSchemeParametersProvider(F,L,Q.input)),W=F.authSchemePreference?await F.authSchemePreference():[],Z=h(V,W),Y=v(F.httpAuthSchemes),U=w.getSmithyContext(L),$=[];for(let X of Z){let B=Y.get(X.schemeId);if(!B){$.push(`HttpAuthScheme \`${X.schemeId}\` was not enabled for this service.`);continue}let D=B.identityProvider(await J.identityProviderConfigProvider(F));if(!D){$.push(`HttpAuthScheme \`${X.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:N={},signingProperties:R={}}=X.propertiesExtractor?.(F,L)||{};X.identityProperties=Object.assign(X.identityProperties||{},N),X.signingProperties=Object.assign(X.signingProperties||{},R),U.selectedHttpAuthScheme={httpAuthOption:X,identity:await D(X.identityProperties),signer:B.signer};break}if(!U.selectedHttpAuthScheme)throw Error($.join(`
|
|
2
|
-
`));return G(Q)},H={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},P=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),H)}}),M={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},l=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),M)}}),m=(F)=>(J)=>{throw J},u=(F,J)=>{},O=(F)=>(J,G)=>async(L)=>{if(!b.HttpRequest.isInstance(L.request))return J(L);let V=w.getSmithyContext(G).selectedHttpAuthScheme;if(!V)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:W={}},identity:Z,signer:Y}=V,U=await J({...L,request:await Y.sign(L.request,Z,W)}).catch((Y.errorHandler||m)(W));return(Y.successHandler||u)(U.response,W),U},I={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},c=(F)=>({applyToStack:(J)=>{J.addRelativeTo(O(),I)}}),a=(F)=>{if(typeof F==="function")return F;let J=Promise.resolve(F);return()=>J},d=async(F,J,G,L=(V)=>V,...Q)=>{let V=new F(G);return V=L(V)??V,await J.send(V,...Q)};function g(F,J,G,L,Q){return async function*(W,Z,...Y){let U=Z,$=W.startingToken??U[G],X=!0,B;while(X){if(U[G]=$,Q)U[Q]=U[Q]??W.pageSize;if(W.client instanceof F)B=await d(J,W.client,Z,W.withCommand,...Y);else throw Error(`Invalid client, expected instance of ${F.name}`);yield B;let D=$;$=p(B,L),X=!!($&&(!W.stopOnSameToken||$!==D))}return}}var p=(F,J)=>{let G=F,L=J.split(".");for(let Q of L){if(!G||typeof G!=="object")return;G=G[Q]}return G};function s(F,J,G){if(!F.__smithy_context)F.__smithy_context={features:{}};else if(!F.__smithy_context.features)F.__smithy_context.features={};F.__smithy_context.features[J]=G}class E{authSchemes=new Map;constructor(F){for(let J in F){let G=F[J];if(G!==void 0)this.authSchemes.set(J,G)}}getIdentityProvider(F){return this.authSchemes.get(F)}}class _{async sign(F,J,G){if(!G)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!J.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let L=b.HttpRequest.clone(F);if(G.in===K.HttpApiKeyAuthLocation.QUERY)L.query[G.name]=J.apiKey;else if(G.in===K.HttpApiKeyAuthLocation.HEADER)L.headers[G.name]=G.scheme?`${G.scheme} ${J.apiKey}`:J.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return L}}class z{async sign(F,J,G){let L=b.HttpRequest.clone(F);if(!J.token)throw Error("request could not be signed with `token` since the `token` is not defined");return L.headers.Authorization=`Bearer ${J.token}`,L}}class A{async sign(F,J,G){return F}}var q=(F)=>function(G){return S(G)&&G.expiration.getTime()-Date.now()<F},T=300000,r=q(T),S=(F)=>F.expiration!==void 0,o=(F,J,G)=>{if(F===void 0)return;let L=typeof F!=="function"?async()=>Promise.resolve(F):F,Q,V,W,Z=!1,Y=async(U)=>{if(!V)V=L(U);try{Q=await V,W=!0,Z=!1}finally{V=void 0}return Q};if(J===void 0)return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);return Q};return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);if(Z)return Q;if(!G(Q))return Z=!0,Q;if(J(Q))return await Y(U),Q;return Q}};n.requestBuilder=b.requestBuilder;n.DefaultIdentityProviderConfig=E;n.EXPIRATION_MS=T;n.HttpApiKeyAuthSigner=_;n.HttpBearerAuthSigner=z;n.NoAuthSigner=A;n.createIsIdentityExpiredFunction=q;n.createPaginator=g;n.doesIdentityRequireRefresh=S;n.getHttpAuthSchemeEndpointRuleSetPlugin=P;n.getHttpAuthSchemePlugin=l;n.getHttpSigningPlugin=c;n.getSmithyContext=f;n.httpAuthSchemeEndpointRuleSetMiddlewareOptions=H;n.httpAuthSchemeMiddleware=j;n.httpAuthSchemeMiddlewareOptions=M;n.httpSigningMiddleware=O;n.httpSigningMiddlewareOptions=I;n.isIdentityExpired=r;n.memoizeIdentityProvider=o;n.normalizeProvider=a;n.setFeature=s});
|
|
3
|
-
export{MF as f_};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import{$9 as el,G9 as nt,H9 as hl,I9 as bl,J9 as ml,K9 as fn,L9 as $c,M9 as fu,N9 as Al,O9 as ys,P9 as El,Q9 as st,R9 as hs,S9 as k,T9 as ur,U9 as Qc,V9 as Bc,W9 as ra,X9 as Xc,Y9 as Yc,Z9 as Zc,_9 as Jc,a_ as Hc,b_ as cr,c_ as Cc,d_ as Ts,e_ as gl}from"./cli-1.1.0-dvdc29ed.mjs";import{f_ as ie}from"./cli-1.1.0-g19j4m46.mjs";import{jsa as kc,ksa as Le}from"./cli-1.1.0-r82e580m.mjs";import{msa as Vc}from"./cli-1.1.0-8xbx5bw0.mjs";import{osa as Fe,psa as ve,ssa as De,tsa as ee}from"./cli-1.1.0-ah0k4q2s.mjs";import{wsa as E,zsa as Bs}from"./cli-1.1.0-t314tbev.mjs";var _t=E((S)=>{Object.defineProperty(S,"__esModule",{value:!0});S.resolveHttpHandlerRuntimeConfig=S.getHttpHandlerExtensionConfiguration=S.isValidHostname=S.HttpResponse=S.HttpRequest=S.Fields=S.Field=void 0;var N=ee();Object.defineProperty(S,"Field",{enumerable:!0,get:function(){return N.Field}});Object.defineProperty(S,"Fields",{enumerable:!0,get:function(){return N.Fields}});Object.defineProperty(S,"HttpRequest",{enumerable:!0,get:function(){return N.HttpRequest}});Object.defineProperty(S,"HttpResponse",{enumerable:!0,get:function(){return N.HttpResponse}});Object.defineProperty(S,"isValidHostname",{enumerable:!0,get:function(){return N.isValidHostname}});Object.defineProperty(S,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return N.getHttpHandlerExtensionConfiguration}});Object.defineProperty(S,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return N.resolveHttpHandlerRuntimeConfig}})});var Ot=E((c)=>{Object.defineProperty(c,"__esModule",{value:!0});c.createAggregatedClient=c.convertMap=c._json=c.ServiceException=c.SENSITIVE_STRING=c.NoOpLogger=c.Command=c.Client=c.strictParseShort=c.strictParseLong=c.strictParseInt32=c.strictParseInt=c.strictParseFloat32=c.strictParseFloat=c.strictParseDouble=c.strictParseByte=c.splitHeader=c.splitEvery=c.quoteHeader=c.parseRfc7231DateTime=c.parseRfc3339DateTimeWithOffset=c.parseRfc3339DateTime=c.parseEpochTimestamp=c.parseBoolean=c.nv=c.logger=c.limitedParseFloat32=c.limitedParseFloat=c.limitedParseDouble=c.handleFloat=c.generateIdempotencyToken=c.expectUnion=c.expectString=c.expectShort=c.expectObject=c.expectNumber=c.expectNonNull=c.expectLong=c.expectInt32=c.expectInt=c.expectFloat32=c.expectByte=c.expectBoolean=c.dateToUtcString=c.copyDocumentWithTransform=c._parseRfc7231DateTime=c._parseRfc3339DateTimeWithOffset=c._parseEpochTimestamp=c.NumericValue=c.LazyJsonString=void 0;c.resolvedPath=c.extendedEncodeURIComponent=c.collectBody=c.withBaseException=c.throwDefaultError=c.take=c.serializeFloat=c.serializeDateTime=c.resolveDefaultRuntimeConfig=c.map=c.loadConfigsForDefaultMode=c.isSerializableHeaderValue=c.getValueFromTextNode=c.getDefaultExtensionConfiguration=c.getDefaultClientConfiguration=c.getArrayIfSingleItem=c.emitWarningIfUnsupportedVersion=c.decorateServiceException=void 0;var p=De();Object.defineProperty(c,"LazyJsonString",{enumerable:!0,get:function(){return p.LazyJsonString}});Object.defineProperty(c,"NumericValue",{enumerable:!0,get:function(){return p.NumericValue}});Object.defineProperty(c,"_parseEpochTimestamp",{enumerable:!0,get:function(){return p._parseEpochTimestamp}});Object.defineProperty(c,"_parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return p._parseRfc3339DateTimeWithOffset}});Object.defineProperty(c,"_parseRfc7231DateTime",{enumerable:!0,get:function(){return p._parseRfc7231DateTime}});Object.defineProperty(c,"copyDocumentWithTransform",{enumerable:!0,get:function(){return p.copyDocumentWithTransform}});Object.defineProperty(c,"dateToUtcString",{enumerable:!0,get:function(){return p.dateToUtcString}});Object.defineProperty(c,"expectBoolean",{enumerable:!0,get:function(){return p.expectBoolean}});Object.defineProperty(c,"expectByte",{enumerable:!0,get:function(){return p.expectByte}});Object.defineProperty(c,"expectFloat32",{enumerable:!0,get:function(){return p.expectFloat32}});Object.defineProperty(c,"expectInt",{enumerable:!0,get:function(){return p.expectInt}});Object.defineProperty(c,"expectInt32",{enumerable:!0,get:function(){return p.expectInt32}});Object.defineProperty(c,"expectLong",{enumerable:!0,get:function(){return p.expectLong}});Object.defineProperty(c,"expectNonNull",{enumerable:!0,get:function(){return p.expectNonNull}});Object.defineProperty(c,"expectNumber",{enumerable:!0,get:function(){return p.expectNumber}});Object.defineProperty(c,"expectObject",{enumerable:!0,get:function(){return p.expectObject}});Object.defineProperty(c,"expectShort",{enumerable:!0,get:function(){return p.expectShort}});Object.defineProperty(c,"expectString",{enumerable:!0,get:function(){return p.expectString}});Object.defineProperty(c,"expectUnion",{enumerable:!0,get:function(){return p.expectUnion}});Object.defineProperty(c,"generateIdempotencyToken",{enumerable:!0,get:function(){return p.generateIdempotencyToken}});Object.defineProperty(c,"handleFloat",{enumerable:!0,get:function(){return p.handleFloat}});Object.defineProperty(c,"limitedParseDouble",{enumerable:!0,get:function(){return p.limitedParseDouble}});Object.defineProperty(c,"limitedParseFloat",{enumerable:!0,get:function(){return p.limitedParseFloat}});Object.defineProperty(c,"limitedParseFloat32",{enumerable:!0,get:function(){return p.limitedParseFloat32}});Object.defineProperty(c,"logger",{enumerable:!0,get:function(){return p.logger}});Object.defineProperty(c,"nv",{enumerable:!0,get:function(){return p.nv}});Object.defineProperty(c,"parseBoolean",{enumerable:!0,get:function(){return p.parseBoolean}});Object.defineProperty(c,"parseEpochTimestamp",{enumerable:!0,get:function(){return p.parseEpochTimestamp}});Object.defineProperty(c,"parseRfc3339DateTime",{enumerable:!0,get:function(){return p.parseRfc3339DateTime}});Object.defineProperty(c,"parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return p.parseRfc3339DateTimeWithOffset}});Object.defineProperty(c,"parseRfc7231DateTime",{enumerable:!0,get:function(){return p.parseRfc7231DateTime}});Object.defineProperty(c,"quoteHeader",{enumerable:!0,get:function(){return p.quoteHeader}});Object.defineProperty(c,"splitEvery",{enumerable:!0,get:function(){return p.splitEvery}});Object.defineProperty(c,"splitHeader",{enumerable:!0,get:function(){return p.splitHeader}});Object.defineProperty(c,"strictParseByte",{enumerable:!0,get:function(){return p.strictParseByte}});Object.defineProperty(c,"strictParseDouble",{enumerable:!0,get:function(){return p.strictParseDouble}});Object.defineProperty(c,"strictParseFloat",{enumerable:!0,get:function(){return p.strictParseFloat}});Object.defineProperty(c,"strictParseFloat32",{enumerable:!0,get:function(){return p.strictParseFloat32}});Object.defineProperty(c,"strictParseInt",{enumerable:!0,get:function(){return p.strictParseInt}});Object.defineProperty(c,"strictParseInt32",{enumerable:!0,get:function(){return p.strictParseInt32}});Object.defineProperty(c,"strictParseLong",{enumerable:!0,get:function(){return p.strictParseLong}});Object.defineProperty(c,"strictParseShort",{enumerable:!0,get:function(){return p.strictParseShort}});var A=ve();Object.defineProperty(c,"Client",{enumerable:!0,get:function(){return A.Client}});Object.defineProperty(c,"Command",{enumerable:!0,get:function(){return A.Command}});Object.defineProperty(c,"NoOpLogger",{enumerable:!0,get:function(){return A.NoOpLogger}});Object.defineProperty(c,"SENSITIVE_STRING",{enumerable:!0,get:function(){return A.SENSITIVE_STRING}});Object.defineProperty(c,"ServiceException",{enumerable:!0,get:function(){return A.ServiceException}});Object.defineProperty(c,"_json",{enumerable:!0,get:function(){return A._json}});Object.defineProperty(c,"convertMap",{enumerable:!0,get:function(){return A.convertMap}});Object.defineProperty(c,"createAggregatedClient",{enumerable:!0,get:function(){return A.createAggregatedClient}});Object.defineProperty(c,"decorateServiceException",{enumerable:!0,get:function(){return A.decorateServiceException}});Object.defineProperty(c,"emitWarningIfUnsupportedVersion",{enumerable:!0,get:function(){return A.emitWarningIfUnsupportedVersion}});Object.defineProperty(c,"getArrayIfSingleItem",{enumerable:!0,get:function(){return A.getArrayIfSingleItem}});Object.defineProperty(c,"getDefaultClientConfiguration",{enumerable:!0,get:function(){return A.getDefaultClientConfiguration}});Object.defineProperty(c,"getDefaultExtensionConfiguration",{enumerable:!0,get:function(){return A.getDefaultExtensionConfiguration}});Object.defineProperty(c,"getValueFromTextNode",{enumerable:!0,get:function(){return A.getValueFromTextNode}});Object.defineProperty(c,"isSerializableHeaderValue",{enumerable:!0,get:function(){return A.isSerializableHeaderValue}});Object.defineProperty(c,"loadConfigsForDefaultMode",{enumerable:!0,get:function(){return A.loadConfigsForDefaultMode}});Object.defineProperty(c,"map",{enumerable:!0,get:function(){return A.map}});Object.defineProperty(c,"resolveDefaultRuntimeConfig",{enumerable:!0,get:function(){return A.resolveDefaultRuntimeConfig}});Object.defineProperty(c,"serializeDateTime",{enumerable:!0,get:function(){return A.serializeDateTime}});Object.defineProperty(c,"serializeFloat",{enumerable:!0,get:function(){return A.serializeFloat}});Object.defineProperty(c,"take",{enumerable:!0,get:function(){return A.take}});Object.defineProperty(c,"throwDefaultError",{enumerable:!0,get:function(){return A.throwDefaultError}});Object.defineProperty(c,"withBaseException",{enumerable:!0,get:function(){return A.withBaseException}});var Ie=ee();Object.defineProperty(c,"collectBody",{enumerable:!0,get:function(){return Ie.collectBody}});Object.defineProperty(c,"extendedEncodeURIComponent",{enumerable:!0,get:function(){return Ie.extendedEncodeURIComponent}});Object.defineProperty(c,"resolvedPath",{enumerable:!0,get:function(){return Ie.resolvedPath}})});var xt=E((Nt)=>{Object.defineProperty(Nt,"__esModule",{value:!0});Nt.toStream=Ys;var Xs=Bs("node:stream");function Ys(e){return Xs.Readable.from(Buffer.from(e))}});var jt=E((ro)=>{var Js=(e)=>typeof e==="string"&&e.indexOf("arn:")===0&&e.split(":").length>=6,eo=(e)=>{let t=e.split(":");if(t.length<6||t[0]!=="arn")throw Error("Malformed ARN");let[,r,n,s,o,...a]=t;return{partition:r,service:n,region:s,accountId:o,resource:a.join(":")}},to=(e)=>{let{partition:t="aws",service:r,region:n,accountId:s,resource:o}=e;if([r,n,s,o].some((a)=>typeof a!=="string"))throw Error("Input ARN object is invalid");return`arn:${t}:${r}:${n}:${s}:${o}`};ro.build=to;ro.parse=eo;ro.validate=Js});var or=E((ho)=>{var v=De(),$t=ve(),W=ee();class Mt{format(e){let t=[];for(let s of Object.keys(e)){let o=v.fromUtf8(s);t.push(Uint8Array.from([o.byteLength]),o,this.formatHeaderValue(e[s]))}let r=new Uint8Array(t.reduce((s,o)=>s+o.byteLength,0)),n=0;for(let s of t)r.set(s,n),n+=s.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":let n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":let s=new DataView(new ArrayBuffer(3+e.value.byteLength));s.setUint8(0,6),s.setUint16(1,e.value.byteLength,!1);let o=new Uint8Array(s.buffer);return o.set(e.value,3),o;case"string":let a=v.fromUtf8(e.value),u=new DataView(new ArrayBuffer(3+a.byteLength));u.setUint8(0,7),u.setUint16(1,a.byteLength,!1);let i=new Uint8Array(u.buffer);return i.set(a,3),i;case"timestamp":let d=new Uint8Array(9);return d[0]=8,d.set(_e.fromNumber(e.value.valueOf()).bytes,1),d;case"uuid":if(!ao.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let l=new Uint8Array(17);return l[0]=9,l.set(v.fromHex(e.value.replace(/\-/g,"")),1),l}}}var Ht;(function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"})(Ht||(Ht={}));var ao=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class _e{bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>9223372036854776000||e<-9223372036854776000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;if(e<0)Ct(t);return new _e(t)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;if(t)Ct(e);return parseInt(v.toHex(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function Ct(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1;t--)if(e[t]++,e[t]!==0)break}var Ft="X-Amz-Algorithm",Lt="X-Amz-Credential",Oe="X-Amz-Date",Gt="X-Amz-SignedHeaders",Wt="X-Amz-Expires",Ne="X-Amz-Signature",xe="X-Amz-Security-Token",io="X-Amz-Region-Set",je="authorization",$e=Oe.toLowerCase(),Kt="date",zt=[je,$e,Kt],qt=Ne.toLowerCase(),oe="x-amz-content-sha256",Vt=xe.toLowerCase(),uo="host",kt={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},Qt=/^proxy-/,Bt=/^sec-/,co=[/^proxy-/i,/^sec-/i],te="AWS4-HMAC-SHA256",lo="AWS4-ECDSA-P256-SHA256",Xt="AWS4-HMAC-SHA256-PAYLOAD",Yt="UNSIGNED-PAYLOAD",Zt=50,He="aws4_request",Jt=604800,er=({query:e={}})=>{let t=[],r={};for(let n of Object.keys(e)){if(n.toLowerCase()===qt)continue;let s=W.escapeUri(n);t.push(s);let o=e[n];if(typeof o==="string")r[s]=`${s}=${W.escapeUri(o)}`;else if(Array.isArray(o))r[s]=o.slice(0).reduce((a,u)=>a.concat([`${s}=${W.escapeUri(u)}`]),[]).sort().join("&")}return t.sort().map((n)=>r[n]).filter((n)=>n).join("&")},po=(e)=>fo(e).toISOString().replace(/\.\d{3}Z$/,"Z"),fo=(e)=>{if(typeof e==="number")return new Date(e*1000);if(typeof e==="string"){if(Number(e))return new Date(Number(e)*1000);return new Date(e)}return e};class Ce{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){this.service=n,this.sha256=s,this.uriEscapePath=o,this.applyChecksum=typeof e==="boolean"?e:!0,this.regionProvider=$t.normalizeProvider(r),this.credentialProvider=$t.normalizeProvider(t)}createCanonicalRequest(e,t,r){let n=Object.keys(t).sort();return`${e.method}
|
|
2
|
-
${this.getCanonicalPath(e)}
|
|
3
|
-
${er(e)}
|
|
4
|
-
${n.map((s)=>`${s}:${t[s]}`).join(`
|
|
5
|
-
`)}
|
|
6
|
-
|
|
7
|
-
${n.join(";")}
|
|
8
|
-
${r}`}async createStringToSign(e,t,r,n){let s=new this.sha256;s.update(v.toUint8Array(r));let o=await s.digest();return`${n}
|
|
9
|
-
${e}
|
|
10
|
-
${t}
|
|
11
|
-
${v.toHex(o)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let s of e.split("/")){if(s?.length===0)continue;if(s===".")continue;if(s==="..")t.pop();else t.push(s)}let r=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`;return W.escapeUri(r).replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if(typeof e!=="object"||typeof e.accessKeyId!=="string"||typeof e.secretAccessKey!=="string")throw Error("Resolved credential object is not valid")}formatDate(e){let t=po(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}var G={},re=[],ne=(e,t,r)=>`${e}/${t}/${r}/${He}`,tr=async(e,t,r,n,s)=>{let o=await Ut(e,t.secretAccessKey,t.accessKeyId),a=`${r}:${n}:${s}:${v.toHex(o)}:${t.sessionToken}`;if(a in G)return G[a];re.push(a);while(re.length>Zt)delete G[re.shift()];let u=`AWS4${t.secretAccessKey}`;for(let i of[r,n,s,He])u=await Ut(e,u,i);return G[a]=u},go=()=>{re.length=0,Object.keys(G).forEach((e)=>{delete G[e]})},Ut=(e,t,r)=>{let n=new e(t);return n.update(v.toUint8Array(r)),n.digest()},Te=({headers:e},t,r)=>{let n={};for(let s of Object.keys(e).sort()){if(e[s]==null)continue;let o=s.toLowerCase();if(o in kt||t?.has(o)||Qt.test(o)||Bt.test(o)){if(!r||r&&!r.has(o))continue}n[o]=e[s].trim().replace(/\s+/g," ")}return n},se=async({headers:e,body:t},r)=>{for(let n of Object.keys(e))if(n.toLowerCase()===oe)return e[n];if(t==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof t==="string"||ArrayBuffer.isView(t)||v.isArrayBuffer(t)){let n=new r;return n.update(v.toUint8Array(t)),v.toHex(await n.digest())}return Yt},rr=(e,t)=>{e=e.toLowerCase();for(let r of Object.keys(t))if(e===r.toLowerCase())return!0;return!1},nr=(e,t={})=>{let{headers:r,query:n={}}=W.HttpRequest.clone(e);for(let s of Object.keys(r)){let o=s.toLowerCase();if(o.slice(0,6)==="x-amz-"&&!t.unhoistableHeaders?.has(o)||t.hoistableHeaders?.has(o))n[s]=r[s],delete r[s]}return{...e,headers:r,query:n}},Se=(e)=>{e=W.HttpRequest.clone(e);for(let t of Object.keys(e.headers))if(zt.indexOf(t.toLowerCase())>-1)delete e.headers[t];return e};class sr extends Ce{headerFormatter=new Mt;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){super({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o})}async presign(e,t={}){let{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:s,unhoistableHeaders:o,signableHeaders:a,hoistableHeaders:u,signingRegion:i,signingService:d}=t,l=await this.credentialProvider();this.validateResolvedCredentials(l);let b=i??await this.regionProvider(),{longDate:y,shortDate:h}=this.formatDate(r);if(n>Jt)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let R=ne(h,b,d??this.service),g=nr(Se(e),{unhoistableHeaders:o,hoistableHeaders:u});if(l.sessionToken)g.query[xe]=l.sessionToken;g.query[Ft]=te,g.query[Lt]=`${l.accessKeyId}/${R}`,g.query[Oe]=y,g.query[Wt]=n.toString(10);let T=Te(g,s,a);return g.query[Gt]=this.getCanonicalHeaderList(T),g.query[Ne]=await this.getSignature(y,R,this.getSigningKey(l,b,h,d),this.createCanonicalRequest(g,T,await se(e,this.sha256))),g}async sign(e,t){if(typeof e==="string")return this.signString(e,t);else if(e.headers&&e.payload)return this.signEvent(e,t);else if(e.message)return this.signMessage(e,t);else return this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:s,signingService:o,eventStreamCredentials:a}){let u=s??await this.regionProvider(),{shortDate:i,longDate:d}=this.formatDate(r),l=ne(i,u,o??this.service),b=await se({headers:{},body:t},this.sha256),y=new this.sha256;y.update(e);let h=v.toHex(await y.digest()),R=[Xt,d,l,n,h,b].join(`
|
|
12
|
-
`);return this.signString(R,{signingDate:r,signingRegion:u,signingService:o,eventStreamCredentials:a})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature,eventStreamCredentials:s}).then((a)=>{return{message:e.message,signature:a}})}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}={}){let o=s??await this.credentialProvider();this.validateResolvedCredentials(o);let a=r??await this.regionProvider(),{shortDate:u}=this.formatDate(t),i=new this.sha256(await this.getSigningKey(o,a,u,n));return i.update(v.toUint8Array(e)),v.toHex(await i.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:s,signingService:o}={}){let a=await this.credentialProvider();this.validateResolvedCredentials(a);let u=s??await this.regionProvider(),i=Se(e),{longDate:d,shortDate:l}=this.formatDate(t),b=ne(l,u,o??this.service);if(i.headers[$e]=d,a.sessionToken)i.headers[Vt]=a.sessionToken;let y=await se(i,this.sha256);if(!rr(oe,i.headers)&&this.applyChecksum)i.headers[oe]=y;let h=Te(i,n,r),R=await this.getSignature(d,b,this.getSigningKey(a,u,l,o),this.createCanonicalRequest(i,h,y));return i.headers[je]=`${te} Credential=${a.accessKeyId}/${b}, SignedHeaders=${this.getCanonicalHeaderList(h)}, Signature=${R}`,i}async getSignature(e,t,r,n){let s=await this.createStringToSign(e,t,n,te),o=new this.sha256(await r);return o.update(v.toUint8Array(s)),v.toHex(await o.digest())}getSigningKey(e,t,r,n){return tr(this.sha256,e,r,t,n||this.service)}}var yo={SignatureV4a:null};ho.ALGORITHM_IDENTIFIER=te;ho.ALGORITHM_IDENTIFIER_V4A=lo;ho.ALGORITHM_QUERY_PARAM=Ft;ho.ALWAYS_UNSIGNABLE_HEADERS=kt;ho.AMZ_DATE_HEADER=$e;ho.AMZ_DATE_QUERY_PARAM=Oe;ho.AUTH_HEADER=je;ho.CREDENTIAL_QUERY_PARAM=Lt;ho.DATE_HEADER=Kt;ho.EVENT_ALGORITHM_IDENTIFIER=Xt;ho.EXPIRES_QUERY_PARAM=Wt;ho.GENERATED_HEADERS=zt;ho.HOST_HEADER=uo;ho.KEY_TYPE_IDENTIFIER=He;ho.MAX_CACHE_SIZE=Zt;ho.MAX_PRESIGNED_TTL=Jt;ho.PROXY_HEADER_PATTERN=Qt;ho.REGION_SET_PARAM=io;ho.SEC_HEADER_PATTERN=Bt;ho.SHA256_HEADER=oe;ho.SIGNATURE_HEADER=qt;ho.SIGNATURE_QUERY_PARAM=Ne;ho.SIGNED_HEADERS_QUERY_PARAM=Gt;ho.SignatureV4=sr;ho.SignatureV4Base=Ce;ho.TOKEN_HEADER=Vt;ho.TOKEN_QUERY_PARAM=xe;ho.UNSIGNABLE_PATTERNS=co;ho.UNSIGNED_PAYLOAD=Yt;ho.clearCredentialCache=go;ho.createScope=ne;ho.getCanonicalHeaders=Te;ho.getCanonicalQuery=er;ho.getPayloadHash=se;ho.getSigningKey=tr;ho.hasHeader=rr;ho.moveHeadersToQuery=nr;ho.prepareRequest=Se;ho.signatureV4aContainer=yo});var _r=E(($a)=>{var X=_t(),lr=Ot(),na=xt(),sa=jt(),oa=cr(),aa=Fe(),ia=or(),ae=ra(),ua=Le(),dr=ie(),ca=ur(),la="content-length",da="x-amz-decoded-content-length";function pr(){return(e,t)=>async(r)=>{let{request:n}=r;if(X.HttpRequest.isInstance(n)){if(!(la in n.headers)&&!(da in n.headers))if(typeof t?.logger?.warn==="function"&&!(t.logger instanceof lr.NoOpLogger))t.logger.warn("Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.");else console.warn("Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.")}return e({...r})}}var fr={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0},pa=(e)=>({applyToStack:(t)=>{t.add(pr(),fr)}}),gr=(e)=>{return(t,r)=>async(n)=>{let s=await e.region(),o=e.region,a=()=>{};if(r.__s3RegionRedirect)Object.defineProperty(e,"region",{writable:!1,value:async()=>{return r.__s3RegionRedirect}}),a=()=>Object.defineProperty(e,"region",{writable:!0,value:o});try{let u=await t(n);if(r.__s3RegionRedirect){a();let i=await e.region();if(s!==i)throw Error("Region was not restored following S3 region redirect.")}return u}catch(u){throw a(),u}}},yr={tags:["REGION_REDIRECT","S3"],name:"regionRedirectEndpointMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};function hr(e){return(t,r)=>async(n)=>{try{return await t(n)}catch(s){if(e.followRegionRedirects){let o=s?.$metadata?.httpStatusCode,a=r.commandName==="HeadBucketCommand",u=s?.$response?.headers?.["x-amz-bucket-region"];if(u){if(o===301||o===400&&(s?.name==="IllegalLocationConstraintException"||a)){try{let i=u;r.logger?.debug(`Redirecting from ${await e.region()} to ${i}`),r.__s3RegionRedirect=i}catch(i){throw Error("Region redirect failed: "+i)}return t(n)}}}throw s}}}var br={step:"initialize",tags:["REGION_REDIRECT","S3"],name:"regionRedirectMiddleware",override:!0},fa=(e)=>({applyToStack:(t)=>{t.add(hr(e),br),t.addRelativeTo(gr(e),yr)}}),mr=(e)=>{return(t,r)=>async(n)=>{let s=await t(n),{response:o}=s;if(X.HttpResponse.isInstance(o)){if(o.headers.expires){o.headers.expiresstring=o.headers.expires;try{lr.parseRfc7231DateTime(o.headers.expires)}catch(a){r.logger?.warn(`AWS SDK Warning for ${r.clientName}::${r.commandName} response parsing (${o.headers.expires}): ${a}`),delete o.headers.expires}}}return s}},Ar={tags:["S3"],name:"s3ExpiresMiddleware",override:!0,relation:"after",toMiddleware:"deserializerMiddleware"},ga=(e)=>({applyToStack:(t)=>{t.addRelativeTo(mr(),Ar)}});class ue{data;lastPurgeTime=Date.now();static EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=30000;constructor(e={}){this.data=e}get(e){let t=this.data[e];if(!t)return;return t}set(e,t){return this.data[e]=t,t}delete(e){delete this.data[e]}async purgeExpired(){let e=Date.now();if(this.lastPurgeTime+ue.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>e)return;for(let t in this.data){let r=this.data[t];if(!r.isRefreshing){let n=await r.identity;if(n.expiration){if(n.expiration.getTime()<e)delete this.data[t]}}}}}class B{_identity;isRefreshing;accessed;constructor(e,t=!1,r=Date.now()){this._identity=e,this.isRefreshing=t,this.accessed=r}get identity(){return this.accessed=Date.now(),this._identity}}class ce{createSessionFn;cache;static REFRESH_WINDOW_MS=60000;constructor(e,t=new ue){this.createSessionFn=e,this.cache=t}async getS3ExpressIdentity(e,t){let r=t.Bucket,{cache:n}=this,s=n.get(r);if(s)return s.identity.then((o)=>{if((o.expiration?.getTime()??0)<Date.now())return n.set(r,new B(this.getIdentity(r))).identity;if((o.expiration?.getTime()??0)<Date.now()+ce.REFRESH_WINDOW_MS&&!s.isRefreshing)s.isRefreshing=!0,this.getIdentity(r).then((i)=>{n.set(r,new B(Promise.resolve(i)))});return o});return n.set(r,new B(this.getIdentity(r))).identity}async getIdentity(e){await this.cache.purgeExpired().catch((n)=>{console.warn(`Error while clearing expired entries in S3ExpressIdentityCache:
|
|
13
|
-
`+n)});let t=await this.createSessionFn(e);if(!t.Credentials?.AccessKeyId||!t.Credentials?.SecretAccessKey)throw Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey.");return{accessKeyId:t.Credentials.AccessKeyId,secretAccessKey:t.Credentials.SecretAccessKey,sessionToken:t.Credentials.SessionToken,expiration:t.Credentials.Expiration?new Date(t.Credentials.Expiration):void 0}}}var ya="Directory",ha="S3Express",ba="sigv4-s3express",Ue="X-Amz-S3session-Token",Me=Ue.toLowerCase(),ma="AWS_S3_DISABLE_EXPRESS_SESSION_AUTH",Aa="s3_disable_express_session_auth",Ea={environmentVariableSelector:(e)=>ae.booleanSelector(e,ma,ae.SelectorType.ENV),configFileSelector:(e)=>ae.booleanSelector(e,Aa,ae.SelectorType.CONFIG),default:!1};class Er extends ia.SignatureV4{async signWithCredentials(e,t,r){let n=ar(t);e.headers[Me]=t.sessionToken;let s=this;return ir(s,n),s.signRequest(e,r??{})}async presignWithCredentials(e,t,r){let n=ar(t);return delete e.headers[Me],e.headers[Ue]=t.sessionToken,e.query=e.query??{},e.query[Ue]=t.sessionToken,ir(this,n),this.presign(e,r)}}function ar(e){return{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey,expiration:e.expiration}}function ir(e,t){let r=setTimeout(()=>{throw Error("SignatureV4S3Express credential override was created but not called.")},10),n=e.credentialProvider,s=()=>{return clearTimeout(r),e.credentialProvider=n,Promise.resolve(t)};e.credentialProvider=s}var Rr=(e)=>{return(t,r)=>async(n)=>{if(r.endpointV2){let s=r.endpointV2,o=s.properties?.authSchemes?.[0]?.name===ba;if(s.properties?.backend===ha||s.properties?.bucketType===ya)ua.setFeature(r,"S3_EXPRESS_BUCKET","J"),r.isS3ExpressBucket=!0;if(o){let u=n.input.Bucket;if(u){let i=await e.s3ExpressIdentityProvider.getS3ExpressIdentity(await e.credentials(),{Bucket:u});if(r.s3ExpressIdentity=i,X.HttpRequest.isInstance(n.request)&&i.sessionToken)n.request.headers[Me]=i.sessionToken}}}return t(n)}},wr={name:"s3ExpressMiddleware",step:"build",tags:["S3","S3_EXPRESS"],override:!0},Ra=(e)=>({applyToStack:(t)=>{t.add(Rr(e),wr)}}),wa=async(e,t,r,n)=>{let s=await n.signWithCredentials(r,e,{});if(s.headers["X-Amz-Security-Token"]||s.headers["x-amz-security-token"])throw Error("X-Amz-Security-Token must not be set for s3-express requests.");return s},Pa=(e)=>(t)=>{throw t},va=(e,t)=>{},Da=dr.httpSigningMiddlewareOptions,Pr=(e)=>(t,r)=>async(n)=>{if(!X.HttpRequest.isInstance(n.request))return t(n);let o=ca.getSmithyContext(r).selectedHttpAuthScheme;if(!o)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:a={}},identity:u,signer:i}=o,d;if(r.s3ExpressIdentity)d=await wa(r.s3ExpressIdentity,a,n.request,await e.signer());else d=await i.sign(n.request,u,a);let l=await t({...n,request:d}).catch((i.errorHandler||Pa)(a));return(i.successHandler||va)(l.response,a),l},Ia=(e)=>({applyToStack:(t)=>{t.addRelativeTo(Pr(e),dr.httpSigningMiddlewareOptions)}}),Ta=(e,{session:t})=>{let[r,n]=t,{forcePathStyle:s,useAccelerateEndpoint:o,disableMultiregionAccessPoints:a,followRegionRedirects:u,s3ExpressIdentityProvider:i,bucketEndpoint:d,expectContinueHeader:l}=e;return Object.assign(e,{forcePathStyle:s??!1,useAccelerateEndpoint:o??!1,disableMultiregionAccessPoints:a??!1,followRegionRedirects:u??!1,s3ExpressIdentityProvider:i??new ce(async(b)=>r().send(new n({Bucket:b}))),bucketEndpoint:d??!1,expectContinueHeader:l??2097152})},Sa={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},vr=(e)=>(t,r)=>async(n)=>{let s=await t(n),{response:o}=s;if(!X.HttpResponse.isInstance(o))return s;let{statusCode:a,body:u}=o;if(a<200||a>=300)return s;let i=await _a(u,e);if(o.body=na.toStream(i),i.length===0&&Sa[r.commandName]){let l=Error("S3 aborted request");throw l.$metadata={httpStatusCode:503},l.name="InternalError",l}let d=e.utf8Encoder(i.subarray(i.length-16));if(d&&d.endsWith("</Error>"))o.statusCode=503;return s},_a=(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return Promise.resolve(e);return t.streamCollector(e)||Promise.resolve(new Uint8Array)},Dr={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},Oa=(e)=>({applyToStack:(t)=>{t.addRelativeTo(vr(e),Dr)}});function Na(e){return(t,r)=>async(n)=>{if(e.bucketEndpoint){let s=r.endpointV2;if(s){let o=n.input.Bucket;if(typeof o==="string")try{let a=new URL(o);r.endpointV2={...s,url:a}}catch(a){let u=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${o} could not be parsed as URL.`;if(r.logger?.constructor?.name==="NoOpLogger")console.warn(u);else r.logger?.warn?.(u);throw a}}}return t(n)}}var xa={name:"bucketEndpointMiddleware",override:!0,relation:"after",toMiddleware:"endpointV2Middleware"};function Ir({bucketEndpoint:e}){return(t)=>async(r)=>{let{input:{Bucket:n}}=r;if(!e&&typeof n==="string"&&!sa.validate(n)&&n.indexOf("/")>=0){let s=Error(`Bucket name shouldn't contain '/', received '${n}'`);throw s.name="InvalidBucketName",s}return t({...r})}}var Tr={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0},ja=(e)=>({applyToStack:(t)=>{t.add(Ir(e),Tr),t.addRelativeTo(Na(e),xa)}});class Sr extends oa.AwsRestXmlProtocol{async serializeRequest(e,t,r){let n=await super.serializeRequest(e,t,r),s=aa.NormalizedSchema.of(e.input),o=s.getSchema(),a=0,u=o[6]??0;if(t&&typeof t==="object")for(let[i,d]of s.structIterator()){if(++a>u)break;if(i==="Bucket"){if(!t.Bucket&&d.getMergedTraits().httpLabel)throw Error("No value provided for input HTTP label: Bucket.");break}}return n}}$a.NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS=Ea;$a.S3ExpressIdentityCache=ue;$a.S3ExpressIdentityCacheEntry=B;$a.S3ExpressIdentityProviderImpl=ce;$a.S3RestXmlProtocol=Sr;$a.SignatureV4S3Express=Er;$a.checkContentLengthHeader=pr;$a.checkContentLengthHeaderMiddlewareOptions=fr;$a.getCheckContentLengthHeaderPlugin=pa;$a.getRegionRedirectMiddlewarePlugin=fa;$a.getS3ExpiresMiddlewarePlugin=ga;$a.getS3ExpressHttpSigningPlugin=Ia;$a.getS3ExpressPlugin=Ra;$a.getThrow200ExceptionsPlugin=Oa;$a.getValidateBucketNamePlugin=ja;$a.regionRedirectEndpointMiddleware=gr;$a.regionRedirectEndpointMiddlewareOptions=yr;$a.regionRedirectMiddleware=hr;$a.regionRedirectMiddlewareOptions=br;$a.resolveS3Config=Ta;$a.s3ExpiresMiddleware=mr;$a.s3ExpiresMiddlewareOptions=Ar;$a.s3ExpressHttpSigningMiddleware=Pr;$a.s3ExpressHttpSigningMiddlewareOptions=Da;$a.s3ExpressMiddleware=Rr;$a.s3ExpressMiddlewareOptions=wr;$a.throw200ExceptionsMiddleware=vr;$a.throw200ExceptionsMiddlewareOptions=Dr;$a.validateBucketNameMiddleware=Ir;$a.validateBucketNameMiddlewareOptions=Tr});var tn=E((Ei)=>{var D=De(),Or=ve(),z=ee();class $r{format(e){let t=[];for(let s of Object.keys(e)){let o=D.fromUtf8(s);t.push(Uint8Array.from([o.byteLength]),o,this.formatHeaderValue(e[s]))}let r=new Uint8Array(t.reduce((s,o)=>s+o.byteLength,0)),n=0;for(let s of t)r.set(s,n),n+=s.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":let n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":let s=new DataView(new ArrayBuffer(3+e.value.byteLength));s.setUint8(0,6),s.setUint16(1,e.value.byteLength,!1);let o=new Uint8Array(s.buffer);return o.set(e.value,3),o;case"string":let a=D.fromUtf8(e.value),u=new DataView(new ArrayBuffer(3+a.byteLength));u.setUint8(0,7),u.setUint16(1,a.byteLength,!1);let i=new Uint8Array(u.buffer);return i.set(a,3),i;case"timestamp":let d=new Uint8Array(9);return d[0]=8,d.set(Ke.fromNumber(e.value.valueOf()).bytes,1),d;case"uuid":if(!di.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let l=new Uint8Array(17);return l[0]=9,l.set(D.fromHex(e.value.replace(/\-/g,"")),1),l}}}var Nr;(function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"})(Nr||(Nr={}));var di=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class Ke{bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>9223372036854776000||e<-9223372036854776000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;if(e<0)xr(t);return new Ke(t)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;if(t)xr(e);return parseInt(D.toHex(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function xr(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1;t--)if(e[t]++,e[t]!==0)break}var Hr="X-Amz-Algorithm",Cr="X-Amz-Credential",ze="X-Amz-Date",Ur="X-Amz-SignedHeaders",Mr="X-Amz-Expires",qe="X-Amz-Signature",Ve="X-Amz-Security-Token",pi="X-Amz-Region-Set",ke="authorization",Qe=ze.toLowerCase(),Fr="date",Lr=[ke,Qe,Fr],Gr=qe.toLowerCase(),ge="x-amz-content-sha256",Wr=Ve.toLowerCase(),fi="host",Kr={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},zr=/^proxy-/,qr=/^sec-/,gi=[/^proxy-/i,/^sec-/i],le="AWS4-HMAC-SHA256",yi="AWS4-ECDSA-P256-SHA256",Vr="AWS4-HMAC-SHA256-PAYLOAD",kr="UNSIGNED-PAYLOAD",Qr=50,Be="aws4_request",Br=604800,Xr=({query:e={}})=>{let t=[],r={};for(let n of Object.keys(e)){if(n.toLowerCase()===Gr)continue;let s=z.escapeUri(n);t.push(s);let o=e[n];if(typeof o==="string")r[s]=`${s}=${z.escapeUri(o)}`;else if(Array.isArray(o))r[s]=o.slice(0).reduce((a,u)=>a.concat([`${s}=${z.escapeUri(u)}`]),[]).sort().join("&")}return t.sort().map((n)=>r[n]).filter((n)=>n).join("&")},hi=(e)=>bi(e).toISOString().replace(/\.\d{3}Z$/,"Z"),bi=(e)=>{if(typeof e==="number")return new Date(e*1000);if(typeof e==="string"){if(Number(e))return new Date(Number(e)*1000);return new Date(e)}return e};class Xe{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){this.service=n,this.sha256=s,this.uriEscapePath=o,this.applyChecksum=typeof e==="boolean"?e:!0,this.regionProvider=Or.normalizeProvider(r),this.credentialProvider=Or.normalizeProvider(t)}createCanonicalRequest(e,t,r){let n=Object.keys(t).sort();return`${e.method}
|
|
14
|
-
${this.getCanonicalPath(e)}
|
|
15
|
-
${Xr(e)}
|
|
16
|
-
${n.map((s)=>`${s}:${t[s]}`).join(`
|
|
17
|
-
`)}
|
|
18
|
-
|
|
19
|
-
${n.join(";")}
|
|
20
|
-
${r}`}async createStringToSign(e,t,r,n){let s=new this.sha256;s.update(D.toUint8Array(r));let o=await s.digest();return`${n}
|
|
21
|
-
${e}
|
|
22
|
-
${t}
|
|
23
|
-
${D.toHex(o)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let s of e.split("/")){if(s?.length===0)continue;if(s===".")continue;if(s==="..")t.pop();else t.push(s)}let r=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`;return z.escapeUri(r).replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if(typeof e!=="object"||typeof e.accessKeyId!=="string"||typeof e.secretAccessKey!=="string")throw Error("Resolved credential object is not valid")}formatDate(e){let t=hi(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}var K={},de=[],pe=(e,t,r)=>`${e}/${t}/${r}/${Be}`,Yr=async(e,t,r,n,s)=>{let o=await jr(e,t.secretAccessKey,t.accessKeyId),a=`${r}:${n}:${s}:${D.toHex(o)}:${t.sessionToken}`;if(a in K)return K[a];de.push(a);while(de.length>Qr)delete K[de.shift()];let u=`AWS4${t.secretAccessKey}`;for(let i of[r,n,s,Be])u=await jr(e,u,i);return K[a]=u},mi=()=>{de.length=0,Object.keys(K).forEach((e)=>{delete K[e]})},jr=(e,t,r)=>{let n=new e(t);return n.update(D.toUint8Array(r)),n.digest()},Ge=({headers:e},t,r)=>{let n={};for(let s of Object.keys(e).sort()){if(e[s]==null)continue;let o=s.toLowerCase();if(o in Kr||t?.has(o)||zr.test(o)||qr.test(o)){if(!r||r&&!r.has(o))continue}n[o]=e[s].trim().replace(/\s+/g," ")}return n},fe=async({headers:e,body:t},r)=>{for(let n of Object.keys(e))if(n.toLowerCase()===ge)return e[n];if(t==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof t==="string"||ArrayBuffer.isView(t)||D.isArrayBuffer(t)){let n=new r;return n.update(D.toUint8Array(t)),D.toHex(await n.digest())}return kr},Zr=(e,t)=>{e=e.toLowerCase();for(let r of Object.keys(t))if(e===r.toLowerCase())return!0;return!1},Jr=(e,t={})=>{let{headers:r,query:n={}}=z.HttpRequest.clone(e);for(let s of Object.keys(r)){let o=s.toLowerCase();if(o.slice(0,6)==="x-amz-"&&!t.unhoistableHeaders?.has(o)||t.hoistableHeaders?.has(o))n[s]=r[s],delete r[s]}return{...e,headers:r,query:n}},We=(e)=>{e=z.HttpRequest.clone(e);for(let t of Object.keys(e.headers))if(Lr.indexOf(t.toLowerCase())>-1)delete e.headers[t];return e};class en extends Xe{headerFormatter=new $r;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){super({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o})}async presign(e,t={}){let{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:s,unhoistableHeaders:o,signableHeaders:a,hoistableHeaders:u,signingRegion:i,signingService:d}=t,l=await this.credentialProvider();this.validateResolvedCredentials(l);let b=i??await this.regionProvider(),{longDate:y,shortDate:h}=this.formatDate(r);if(n>Br)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let R=pe(h,b,d??this.service),g=Jr(We(e),{unhoistableHeaders:o,hoistableHeaders:u});if(l.sessionToken)g.query[Ve]=l.sessionToken;g.query[Hr]=le,g.query[Cr]=`${l.accessKeyId}/${R}`,g.query[ze]=y,g.query[Mr]=n.toString(10);let T=Ge(g,s,a);return g.query[Ur]=this.getCanonicalHeaderList(T),g.query[qe]=await this.getSignature(y,R,this.getSigningKey(l,b,h,d),this.createCanonicalRequest(g,T,await fe(e,this.sha256))),g}async sign(e,t){if(typeof e==="string")return this.signString(e,t);else if(e.headers&&e.payload)return this.signEvent(e,t);else if(e.message)return this.signMessage(e,t);else return this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:s,signingService:o,eventStreamCredentials:a}){let u=s??await this.regionProvider(),{shortDate:i,longDate:d}=this.formatDate(r),l=pe(i,u,o??this.service),b=await fe({headers:{},body:t},this.sha256),y=new this.sha256;y.update(e);let h=D.toHex(await y.digest()),R=[Vr,d,l,n,h,b].join(`
|
|
24
|
-
`);return this.signString(R,{signingDate:r,signingRegion:u,signingService:o,eventStreamCredentials:a})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature,eventStreamCredentials:s}).then((a)=>{return{message:e.message,signature:a}})}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}={}){let o=s??await this.credentialProvider();this.validateResolvedCredentials(o);let a=r??await this.regionProvider(),{shortDate:u}=this.formatDate(t),i=new this.sha256(await this.getSigningKey(o,a,u,n));return i.update(D.toUint8Array(e)),D.toHex(await i.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:s,signingService:o}={}){let a=await this.credentialProvider();this.validateResolvedCredentials(a);let u=s??await this.regionProvider(),i=We(e),{longDate:d,shortDate:l}=this.formatDate(t),b=pe(l,u,o??this.service);if(i.headers[Qe]=d,a.sessionToken)i.headers[Wr]=a.sessionToken;let y=await fe(i,this.sha256);if(!Zr(ge,i.headers)&&this.applyChecksum)i.headers[ge]=y;let h=Ge(i,n,r),R=await this.getSignature(d,b,this.getSigningKey(a,u,l,o),this.createCanonicalRequest(i,h,y));return i.headers[ke]=`${le} Credential=${a.accessKeyId}/${b}, SignedHeaders=${this.getCanonicalHeaderList(h)}, Signature=${R}`,i}async getSignature(e,t,r,n){let s=await this.createStringToSign(e,t,n,le),o=new this.sha256(await r);return o.update(D.toUint8Array(s)),D.toHex(await o.digest())}getSigningKey(e,t,r,n){return Yr(this.sha256,e,r,t,n||this.service)}}var Ai={SignatureV4a:null};Ei.ALGORITHM_IDENTIFIER=le;Ei.ALGORITHM_IDENTIFIER_V4A=yi;Ei.ALGORITHM_QUERY_PARAM=Hr;Ei.ALWAYS_UNSIGNABLE_HEADERS=Kr;Ei.AMZ_DATE_HEADER=Qe;Ei.AMZ_DATE_QUERY_PARAM=ze;Ei.AUTH_HEADER=ke;Ei.CREDENTIAL_QUERY_PARAM=Cr;Ei.DATE_HEADER=Fr;Ei.EVENT_ALGORITHM_IDENTIFIER=Vr;Ei.EXPIRES_QUERY_PARAM=Mr;Ei.GENERATED_HEADERS=Lr;Ei.HOST_HEADER=fi;Ei.KEY_TYPE_IDENTIFIER=Be;Ei.MAX_CACHE_SIZE=Qr;Ei.MAX_PRESIGNED_TTL=Br;Ei.PROXY_HEADER_PATTERN=zr;Ei.REGION_SET_PARAM=pi;Ei.SEC_HEADER_PATTERN=qr;Ei.SHA256_HEADER=ge;Ei.SIGNATURE_HEADER=Gr;Ei.SIGNATURE_QUERY_PARAM=qe;Ei.SIGNED_HEADERS_QUERY_PARAM=Ur;Ei.SignatureV4=en;Ei.SignatureV4Base=Xe;Ei.TOKEN_HEADER=Wr;Ei.TOKEN_QUERY_PARAM=Ve;Ei.UNSIGNABLE_PATTERNS=gi;Ei.UNSIGNED_PAYLOAD=kr;Ei.clearCredentialCache=mi;Ei.createScope=pe;Ei.getCanonicalHeaders=Ge;Ei.getCanonicalQuery=Xr;Ei.getPayloadHash=fe;Ei.getSigningKey=Yr;Ei.hasHeader=Zr;Ei.moveHeadersToQuery=Jr;Ei.prepareRequest=We;Ei.signatureV4aContainer=Ai});var Ye=E((iu)=>{var au=_r(),rn=tn(),Y={CrtSignerV4:null};class nn{sigv4aSigner;sigv4Signer;signerOptions;static sigv4aDependency(){if(typeof Y.CrtSignerV4==="function")return"crt";else if(typeof rn.signatureV4aContainer.SignatureV4a==="function")return"js";return"none"}constructor(e){this.sigv4Signer=new au.SignatureV4S3Express(e),this.signerOptions=e}async sign(e,t={}){if(t.signingRegion==="*")return this.getSigv4aSigner().sign(e,t);return this.sigv4Signer.sign(e,t)}async signWithCredentials(e,t,r={}){if(r.signingRegion==="*"){let n=this.getSigv4aSigner(),s=Y.CrtSignerV4;if(s&&n instanceof s)return n.signWithCredentials(e,t,r);else throw Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.signWithCredentials(e,t,r)}async presign(e,t={}){if(t.signingRegion==="*"){let r=this.getSigv4aSigner(),n=Y.CrtSignerV4;if(n&&r instanceof n)return r.presign(e,t);else throw Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.presign(e,t)}async presignWithCredentials(e,t,r={}){if(r.signingRegion==="*")throw Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(e,t,r)}getSigv4aSigner(){if(!this.sigv4aSigner){let e=Y.CrtSignerV4,t=rn.signatureV4aContainer.SignatureV4a;if(this.signerOptions.runtime==="node"){if(!e&&!t)throw Error("Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt");if(e&&typeof e==="function")this.sigv4aSigner=new e({...this.signerOptions,signingAlgorithm:1});else if(t&&typeof t==="function")this.sigv4aSigner=new t({...this.signerOptions});else throw Error("Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt")}else{if(!t||typeof t!=="function")throw Error("JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a");this.sigv4aSigner=new t({...this.signerOptions})}}return this.sigv4aSigner}}iu.SignatureV4MultiRegion=nn;iu.signatureV4CrtContainer=Y});var bn=E((yn)=>{Object.defineProperty(yn,"__esModule",{value:!0});yn.bdd=void 0;var lu=fn(),V="ref",x=-1,Z=!0,sn="isSet",gn="PartitionResult",J="booleanEquals",w="stringEquals",Ze="getAttr",on="us-east-1",an="sigv4",un="sts",cn="https://sts.{Region}.{PartitionResult#dnsSuffix}",ln={[V]:"Endpoint"},P={[V]:"Region"},Je={[V]:gn},q={},dn=[P],pn={conditions:[[sn,[ln]],[sn,dn],["aws.partition",dn,gn],[J,[{[V]:"UseFIPS"},Z]],[J,[{[V]:"UseDualStack"},Z]],[w,[P,"aws-global"]],[J,[{[V]:"UseGlobalEndpoint"},Z]],[w,[P,"eu-central-1"]],[J,[{fn:Ze,argv:[Je,"supportsDualStack"]},Z]],[J,[{fn:Ze,argv:[Je,"supportsFIPS"]},Z]],[w,[P,"ap-south-1"]],[w,[P,"eu-north-1"]],[w,[P,"eu-west-1"]],[w,[P,"eu-west-2"]],[w,[P,"eu-west-3"]],[w,[P,"sa-east-1"]],[w,[P,on]],[w,[P,"us-east-2"]],[w,[P,"us-west-2"]],[w,[P,"us-west-1"]],[w,[P,"ca-central-1"]],[w,[P,"ap-southeast-1"]],[w,[P,"ap-northeast-1"]],[w,[P,"ap-southeast-2"]],[w,[{fn:Ze,argv:[Je,"name"]},"aws-us-gov"]]],results:[[x],["https://sts.amazonaws.com",{authSchemes:[{name:an,signingName:un,signingRegion:on}]}],[cn,{authSchemes:[{name:an,signingName:un,signingRegion:"{Region}"}]}],[x,"Invalid Configuration: FIPS and custom endpoint are not supported"],[x,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[ln,q],["https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",q],[x,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://sts.{Region}.amazonaws.com",q],["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",q],[x,"FIPS is enabled but this partition does not support FIPS"],["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",q],[x,"DualStack is enabled but this partition does not support DualStack"],[cn,q],[x,"Invalid Configuration: Missing Region"]]},du=2,f=1e8,pu=new Int32Array([-1,1,-1,0,30,3,1,4,f+14,2,5,f+14,3,25,6,4,24,7,5,f+1,8,6,9,f+13,7,f+1,10,10,f+1,11,11,f+1,12,12,f+1,13,13,f+1,14,14,f+1,15,15,f+1,16,16,f+1,17,17,f+1,18,18,f+1,19,19,f+1,20,20,f+1,21,21,f+1,22,22,f+1,23,23,f+1,f+2,8,f+11,f+12,4,28,26,9,27,f+10,24,f+8,f+9,8,29,f+7,9,f+6,f+7,3,f+3,31,4,f+4,f+5]);yn.bdd=lu.BinaryDecisionDiagram.from(pu,du,pn.conditions,pn.results)});var tt=E((mn)=>{Object.defineProperty(mn,"__esModule",{value:!0});mn.defaultEndpointResolver=void 0;var gu=fu(),et=fn(),yu=bn(),hu=new et.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS","UseGlobalEndpoint"]}),bu=(e,t={})=>{return hu.get(e,()=>(0,et.decideEndpoint)(yu.bdd,{endpointParams:e,logger:t.logger}))};mn.defaultEndpointResolver=bu;et.customEndpointFunctions.aws=gu.awsEndpointFunctions});var ot=E((Pn)=>{Object.defineProperty(Pn,"__esModule",{value:!0});Pn.resolveHttpAuthSchemeConfig=Pn.resolveStsAuthConfig=Pn.defaultSTSHttpAuthSchemeProvider=Pn.defaultSTSHttpAuthSchemeParametersProvider=void 0;var En=nt(),mu=Ye(),Au=st(),ye=ur(),Eu=tt(),Ru=at(),wu=(e)=>async(t,r,n)=>{if(!n)throw Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let s=await e(t,r,n),o=(0,ye.getSmithyContext)(r)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!o)throw Error(`getEndpointParameterInstructions() is not defined on '${r.commandName}'`);let a=await(0,Au.resolveParams)(n,{getEndpointParameterInstructions:o},t);return Object.assign(s,a)},Pu=async(e,t,r)=>{return{operation:(0,ye.getSmithyContext)(t).operation,region:await(0,ye.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};Pn.defaultSTSHttpAuthSchemeParametersProvider=wu(Pu);function Rn(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(t,r)=>({signingProperties:{config:t,context:r}})}}function rt(e){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(t,r)=>({signingProperties:{config:t,context:r}})}}function wn(e){return{schemeId:"smithy.api#noAuth"}}var vu=(e,t,r)=>{return(s)=>{let a=e(s).properties?.authSchemes;if(!a)return t(s);let u=[];for(let i of a){let{name:d,properties:l={},...b}=i,y=d.toLowerCase();if(d!==y)console.warn(`HttpAuthScheme has been normalized with lowercasing: '${d}' to '${y}'`);let h;if(y==="sigv4a"){h="aws.auth#sigv4a";let T=a.find((Pe)=>{let St=Pe.name.toLowerCase();return St!=="sigv4a"&&St.startsWith("sigv4")});if(mu.SignatureV4MultiRegion.sigv4aDependency()==="none"&&T)continue}else if(y.startsWith("sigv4"))h="aws.auth#sigv4";else throw Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${y}'`);let R=r[h];if(!R)throw Error(`Could not find HttpAuthOption create function for '${h}'`);let g=R(s);g.schemeId=h,g.signingProperties={...g.signingProperties||{},...b,...l},u.push(g)}return u}},Du=(e)=>{let t=[];switch(e.operation){case"AssumeRoleWithWebIdentity":{t.push(wn(e)),t.push(rt(e));break}default:t.push(Rn(e)),t.push(rt(e))}return t};Pn.defaultSTSHttpAuthSchemeProvider=vu(Eu.defaultEndpointResolver,Du,{"aws.auth#sigv4":Rn,"aws.auth#sigv4a":rt,"smithy.api#noAuth":wn});var Iu=(e)=>Object.assign(e,{stsClientCtor:Ru.STSClient});Pn.resolveStsAuthConfig=Iu;var Tu=(e)=>{let t=Pn.resolveStsAuthConfig(e),r=(0,En.resolveAwsSdkSigV4Config)(t),n=(0,En.resolveAwsSdkSigV4AConfig)(r);return Object.assign(n,{authSchemePreference:(0,ye.normalizeProvider)(e.authSchemePreference??[])})};Pn.resolveHttpAuthSchemeConfig=Tu});var it=E((In)=>{Object.defineProperty(In,"__esModule",{value:!0});In.commonParams=In.resolveClientEndpointParameters=void 0;var Ou=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,defaultSigningName:"sts"})};In.resolveClientEndpointParameters=Ou;In.commonParams={UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}});var he=E((ct)=>{Object.defineProperty(ct,"__esModule",{value:!0});ct.STSServiceException=ct.__ServiceException=void 0;var Sn=k();Object.defineProperty(ct,"__ServiceException",{enumerable:!0,get:function(){return Sn.ServiceException}});class ut extends Sn.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,ut.prototype)}}ct.STSServiceException=ut});var bt=E((On)=>{Object.defineProperty(On,"__esModule",{value:!0});On.IDPCommunicationErrorException=On.InvalidIdentityTokenException=On.IDPRejectedClaimException=On.RegionDisabledException=On.PackedPolicyTooLargeException=On.MalformedPolicyDocumentException=On.ExpiredTokenException=void 0;var j=he();class lt extends j.STSServiceException{name="ExpiredTokenException";$fault="client";constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});Object.setPrototypeOf(this,lt.prototype)}}On.ExpiredTokenException=lt;class dt extends j.STSServiceException{name="MalformedPolicyDocumentException";$fault="client";constructor(e){super({name:"MalformedPolicyDocumentException",$fault:"client",...e});Object.setPrototypeOf(this,dt.prototype)}}On.MalformedPolicyDocumentException=dt;class pt extends j.STSServiceException{name="PackedPolicyTooLargeException";$fault="client";constructor(e){super({name:"PackedPolicyTooLargeException",$fault:"client",...e});Object.setPrototypeOf(this,pt.prototype)}}On.PackedPolicyTooLargeException=pt;class ft extends j.STSServiceException{name="RegionDisabledException";$fault="client";constructor(e){super({name:"RegionDisabledException",$fault:"client",...e});Object.setPrototypeOf(this,ft.prototype)}}On.RegionDisabledException=ft;class gt extends j.STSServiceException{name="IDPRejectedClaimException";$fault="client";constructor(e){super({name:"IDPRejectedClaimException",$fault:"client",...e});Object.setPrototypeOf(this,gt.prototype)}}On.IDPRejectedClaimException=gt;class yt extends j.STSServiceException{name="InvalidIdentityTokenException";$fault="client";constructor(e){super({name:"InvalidIdentityTokenException",$fault:"client",...e});Object.setPrototypeOf(this,yt.prototype)}}On.InvalidIdentityTokenException=yt;class ht extends j.STSServiceException{name="IDPCommunicationErrorException";$fault="client";$retryable={};constructor(e){super({name:"IDPCommunicationErrorException",$fault:"client",...e});Object.setPrototypeOf(this,ht.prototype)}}On.IDPCommunicationErrorException=ht});var Pt=E((Wn)=>{Object.defineProperty(Wn,"__esModule",{value:!0});Wn.AssumeRoleWithWebIdentity$=Wn.AssumeRole$=Wn.Tag$=Wn.ProvidedContext$=Wn.PolicyDescriptorType$=Wn.Credentials$=Wn.AssumeRoleWithWebIdentityResponse$=Wn.AssumeRoleWithWebIdentityRequest$=Wn.AssumeRoleResponse$=Wn.AssumeRoleRequest$=Wn.AssumedRoleUser$=Wn.errorTypeRegistries=Wn.RegionDisabledException$=Wn.PackedPolicyTooLargeException$=Wn.MalformedPolicyDocumentException$=Wn.InvalidIdentityTokenException$=Wn.IDPRejectedClaimException$=Wn.IDPCommunicationErrorException$=Wn.ExpiredTokenException$=Wn.STSServiceException$=void 0;var Mu="Arn",Fu="AccessKeyId",Lu="AssumeRole",Gu="AssumedRoleId",Wu="AssumeRoleRequest",Ku="AssumeRoleResponse",mt="AssumedRoleUser",zu="AssumeRoleWithWebIdentity",qu="AssumeRoleWithWebIdentityRequest",Vu="AssumeRoleWithWebIdentityResponse",ku="Audience",At="Credentials",Qu="ContextAssertion",xn="DurationSeconds",Bu="Expiration",Xu="ExternalId",Yu="ExpiredTokenException",Zu="IDPCommunicationErrorException",Ju="IDPRejectedClaimException",ec="InvalidIdentityTokenException",tc="Key",rc="MalformedPolicyDocumentException",jn="Policy",$n="PolicyArns",nc="ProviderArn",sc="ProvidedContexts",oc="ProvidedContextsListType",ac="ProvidedContext",ic="PolicyDescriptorType",uc="ProviderId",Hn="PackedPolicySize",cc="PackedPolicyTooLargeException",lc="Provider",Cn="RoleArn",dc="RegionDisabledException",Un="RoleSessionName",pc="SecretAccessKey",fc="SubjectFromWebIdentityToken",Et="SourceIdentity",gc="SerialNumber",yc="SessionToken",hc="Tags",bc="TokenCode",mc="TransitiveTagKeys",Ac="Tag",Ec="Value",Rc="WebIdentityToken",wc="arn",Pc="accessKeySecretType",$="awsQueryError",H="client",vc="clientTokenType",C="error",U="httpError",M="message",Dc="policyDescriptorListType",Mn="smithy.ts.sdk.synthetic.com.amazonaws.sts",Ic="tagListType",m="com.amazonaws.sts",Fn=Fe(),F=bt(),Tc=he(),Ln=Fn.TypeRegistry.for(Mn);Wn.STSServiceException$=[-3,Mn,"STSServiceException",0,[],[]];Ln.registerError(Wn.STSServiceException$,Tc.STSServiceException);var _=Fn.TypeRegistry.for(m);Wn.ExpiredTokenException$=[-3,m,Yu,{[$]:["ExpiredTokenException",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.ExpiredTokenException$,F.ExpiredTokenException);Wn.IDPCommunicationErrorException$=[-3,m,Zu,{[$]:["IDPCommunicationError",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.IDPCommunicationErrorException$,F.IDPCommunicationErrorException);Wn.IDPRejectedClaimException$=[-3,m,Ju,{[$]:["IDPRejectedClaim",403],[C]:H,[U]:403},[M],[0]];_.registerError(Wn.IDPRejectedClaimException$,F.IDPRejectedClaimException);Wn.InvalidIdentityTokenException$=[-3,m,ec,{[$]:["InvalidIdentityToken",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.InvalidIdentityTokenException$,F.InvalidIdentityTokenException);Wn.MalformedPolicyDocumentException$=[-3,m,rc,{[$]:["MalformedPolicyDocument",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.MalformedPolicyDocumentException$,F.MalformedPolicyDocumentException);Wn.PackedPolicyTooLargeException$=[-3,m,cc,{[$]:["PackedPolicyTooLarge",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.PackedPolicyTooLargeException$,F.PackedPolicyTooLargeException);Wn.RegionDisabledException$=[-3,m,dc,{[$]:["RegionDisabledException",403],[C]:H,[U]:403},[M],[0]];_.registerError(Wn.RegionDisabledException$,F.RegionDisabledException);Wn.errorTypeRegistries=[Ln,_];var Sc=[0,m,Pc,8,0],_c=[0,m,vc,8,0];Wn.AssumedRoleUser$=[3,m,mt,0,[Gu,Mu],[0,0],2];Wn.AssumeRoleRequest$=[3,m,Wu,0,[Cn,Un,$n,jn,xn,hc,mc,Xu,gc,bc,Et,sc],[0,0,()=>Gn,0,1,()=>Nc,64,0,0,0,0,()=>Oc],2];Wn.AssumeRoleResponse$=[3,m,Ku,0,[At,mt,Hn,Et],[[()=>Wn.Credentials$,0],()=>Wn.AssumedRoleUser$,1,0]];Wn.AssumeRoleWithWebIdentityRequest$=[3,m,qu,0,[Cn,Un,Rc,uc,$n,jn,xn],[0,0,[()=>_c,0],0,()=>Gn,0,1],3];Wn.AssumeRoleWithWebIdentityResponse$=[3,m,Vu,0,[At,fc,mt,Hn,lc,ku,Et],[[()=>Wn.Credentials$,0],0,()=>Wn.AssumedRoleUser$,1,0,0,0]];Wn.Credentials$=[3,m,At,0,[Fu,pc,yc,Bu],[0,[()=>Sc,0],0,4],4];Wn.PolicyDescriptorType$=[3,m,ic,0,[wc],[0]];Wn.ProvidedContext$=[3,m,ac,0,[nc,Qu],[0,0]];Wn.Tag$=[3,m,Ac,0,[tc,Ec],[0,0],2];var Gn=[1,m,Dc,0,()=>Wn.PolicyDescriptorType$],Oc=[1,m,oc,0,()=>Wn.ProvidedContext$],Nc=[1,m,Ic,0,()=>Wn.Tag$];Wn.AssumeRole$=[9,m,Lu,0,()=>Wn.AssumeRoleRequest$,()=>Wn.AssumeRoleResponse$];Wn.AssumeRoleWithWebIdentity$=[9,m,zu,0,()=>Wn.AssumeRoleWithWebIdentityRequest$,()=>Wn.AssumeRoleWithWebIdentityResponse$]});var ls=E((us)=>{Object.defineProperty(us,"__esModule",{value:!0});us.getRuntimeConfig=void 0;var os=nt(),Uc=cr(),Mc=Ye(),Fc=ie(),Lc=k(),Gc=$c(),as=Cc(),is=Hc(),Wc=ot(),Kc=tt(),zc=Pt(),qc=(e)=>{return{apiVersion:"2011-06-15",base64Decoder:e?.base64Decoder??as.fromBase64,base64Encoder:e?.base64Encoder??as.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??Kc.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Wc.defaultSTSHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4"),signer:new os.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4a"),signer:new os.AwsSdkSigV4ASigner},{schemeId:"smithy.api#noAuth",identityProvider:(t)=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new Fc.NoAuthSigner}],logger:e?.logger??new Lc.NoOpLogger,protocol:e?.protocol??Uc.AwsQueryProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.sts",errorTypeRegistries:zc.errorTypeRegistries,xmlNamespace:"https://sts.amazonaws.com/doc/2011-06-15/",version:"2011-06-15",serviceTarget:"AWSSecurityTokenServiceV20110615"},serviceId:e?.serviceId??"STS",signerConstructor:e?.signerConstructor??Mc.SignatureV4MultiRegion,urlParser:e?.urlParser??Gc.parseUrl,utf8Decoder:e?.utf8Decoder??is.fromUtf8,utf8Encoder:e?.utf8Encoder??is.toUtf8}};us.getRuntimeConfig=qc});var As=E((bs)=>{Object.defineProperty(bs,"__esModule",{value:!0});bs.getRuntimeConfig=void 0;var tl=Qc(),rl=tl.__importDefault(Bc()),nl=Le(),be=nt(),ds=Xc(),me=ys(),sl=ie(),ol=Yc(),ps=hs(),O=Zc(),fs=Vc(),gs=k(),al=Jc(),il=el(),ul=kc(),cl=ls(),ll=(e)=>{(0,gs.emitWarningIfUnsupportedVersion)(process.version);let t=(0,il.resolveDefaultsModeConfig)(e),r=()=>t().then(gs.loadConfigsForDefaultMode),n=(0,cl.getRuntimeConfig)(e);(0,nl.emitWarningIfUnsupportedVersion)(process.version);let s={profile:e?.profile,logger:n.logger};return{...n,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??(0,O.loadConfig)(be.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,s),bodyLengthChecker:e?.bodyLengthChecker??al.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,ds.createDefaultUserAgentProvider)({serviceId:n.serviceId,clientVersion:rl.default.version}),httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(o)=>o.getIdentityProvider("aws.auth#sigv4")||(async(a)=>await e.credentialDefaultProvider(a?.__config||{})()),signer:new be.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(o)=>o.getIdentityProvider("aws.auth#sigv4a"),signer:new be.AwsSdkSigV4ASigner},{schemeId:"smithy.api#noAuth",identityProvider:(o)=>o.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new sl.NoAuthSigner}],maxAttempts:e?.maxAttempts??(0,O.loadConfig)(ps.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,O.loadConfig)(me.NODE_REGION_CONFIG_OPTIONS,{...me.NODE_REGION_CONFIG_FILE_OPTIONS,...s}),requestHandler:fs.NodeHttpHandler.create(e?.requestHandler??r),retryMode:e?.retryMode??(0,O.loadConfig)({...ps.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await r()).retryMode||ul.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??ol.Hash.bind(null,"sha256"),sigv4aSigningRegionSet:e?.sigv4aSigningRegionSet??(0,O.loadConfig)(be.NODE_SIGV4A_CONFIG_OPTIONS,s),streamCollector:e?.streamCollector??fs.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,O.loadConfig)(me.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,s),useFipsEndpoint:e?.useFipsEndpoint??(0,O.loadConfig)(me.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,s),userAgentAppId:e?.userAgentAppId??(0,O.loadConfig)(ds.NODE_APP_ID_CONFIG_OPTIONS,s)}};bs.getRuntimeConfig=ll});var ws=E((Es)=>{Object.defineProperty(Es,"__esModule",{value:!0});Es.resolveHttpAuthRuntimeConfig=Es.getHttpAuthExtensionConfiguration=void 0;var dl=(e)=>{let{httpAuthSchemes:t,httpAuthSchemeProvider:r,credentials:n}=e;return{setHttpAuthScheme(s){let o=t.findIndex((a)=>a.schemeId===s.schemeId);if(o===-1)t.push(s);else t.splice(o,1,s)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(s){r=s},httpAuthSchemeProvider(){return r},setCredentials(s){n=s},credentials(){return n}}};Es.getHttpAuthExtensionConfiguration=dl;var pl=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}};Es.resolveHttpAuthRuntimeConfig=pl});var Os=E((Ss)=>{Object.defineProperty(Ss,"__esModule",{value:!0});Ss.resolveRuntimeExtensions=void 0;var Ps=Ts(),vs=gl(),Ds=k(),Is=ws(),yl=(e,t)=>{let r=Object.assign((0,Ps.getAwsRegionExtensionConfiguration)(e),(0,Ds.getDefaultExtensionConfiguration)(e),(0,vs.getHttpHandlerExtensionConfiguration)(e),(0,Is.getHttpAuthExtensionConfiguration)(e));return t.forEach((n)=>n.configure(r)),Object.assign(e,(0,Ps.resolveAwsRegionExtensionConfiguration)(r),(0,Ds.resolveDefaultRuntimeConfig)(r),(0,vs.resolveHttpHandlerRuntimeConfig)(r),(0,Is.resolveHttpAuthRuntimeConfig)(r))};Ss.resolveRuntimeExtensions=yl});var at=E((Dt)=>{Object.defineProperty(Dt,"__esModule",{value:!0});Dt.STSClient=Dt.__Client=void 0;var Ns=hl(),Rl=bl(),wl=ml(),xs=Al(),Pl=ys(),vt=ie(),vl=Fe(),Dl=El(),Il=st(),js=hs(),Hs=k();Object.defineProperty(Dt,"__Client",{enumerable:!0,get:function(){return Hs.Client}});var $s=ot(),Tl=it(),Sl=As(),_l=Os();class Cs extends Hs.Client{config;constructor(...[e]){let t=(0,Sl.getRuntimeConfig)(e||{});super(t);this.initConfig=t;let r=(0,Tl.resolveClientEndpointParameters)(t),n=(0,xs.resolveUserAgentConfig)(r),s=(0,js.resolveRetryConfig)(n),o=(0,Pl.resolveRegionConfig)(s),a=(0,Ns.resolveHostHeaderConfig)(o),u=(0,Il.resolveEndpointConfig)(a),i=(0,$s.resolveHttpAuthSchemeConfig)(u),d=(0,_l.resolveRuntimeExtensions)(i,e?.extensions||[]);this.config=d,this.middlewareStack.use((0,vl.getSchemaSerdePlugin)(this.config)),this.middlewareStack.use((0,xs.getUserAgentPlugin)(this.config)),this.middlewareStack.use((0,js.getRetryPlugin)(this.config)),this.middlewareStack.use((0,Dl.getContentLengthPlugin)(this.config)),this.middlewareStack.use((0,Ns.getHostHeaderPlugin)(this.config)),this.middlewareStack.use((0,Rl.getLoggerPlugin)(this.config)),this.middlewareStack.use((0,wl.getRecursionDetectionPlugin)(this.config)),this.middlewareStack.use((0,vt.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config,{httpAuthSchemeParametersProvider:$s.defaultSTSHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(l)=>new vt.DefaultIdentityProviderConfig({"aws.auth#sigv4":l.credentials,"aws.auth#sigv4a":l.credentials})})),this.middlewareStack.use((0,vt.getHttpSigningPlugin)(this.config))}destroy(){super.destroy()}}Dt.STSClient=Cs});var zl=E((I)=>{var L=at(),Ee=k(),Ms=st(),Fs=it(),Q=Pt(),Ae=bt(),It=Le(),Ol=Ts(),Nl=he();class Re extends Ee.Command.classBuilder().ep(Fs.commonParams).m(function(e,t,r,n){return[Ms.getEndpointPlugin(r,e.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRole",{}).n("STSClient","AssumeRoleCommand").sc(Q.AssumeRole$).build(){}class we extends Ee.Command.classBuilder().ep(Fs.commonParams).m(function(e,t,r,n){return[Ms.getEndpointPlugin(r,e.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRoleWithWebIdentity",{}).n("STSClient","AssumeRoleWithWebIdentityCommand").sc(Q.AssumeRoleWithWebIdentity$).build(){}var xl={AssumeRoleCommand:Re,AssumeRoleWithWebIdentityCommand:we};class Tt extends L.STSClient{}Ee.createAggregatedClient(xl,Tt);var Ls=(e)=>{if(typeof e?.Arn==="string"){let t=e.Arn.split(":");if(t.length>4&&t[4]!=="")return t[4]}return},Gs=async(e,t,r,n={})=>{let s=typeof e==="function"?await e():e,o=typeof t==="function"?await t():t,a="",u=s??o??(a=await Ol.stsRegionDefaultResolver(n)());return r?.debug?.("@aws-sdk/client-sts::resolveRegion","accepting first of:",`${s} (credential provider clientConfig)`,`${o} (contextual client)`,`${a} (STS default: AWS_REGION, profile region, or us-east-1)`),u},jl=(e,t)=>{let r,n;return async(s,o)=>{if(n=s,!r){let{logger:l=e?.parentClientConfig?.logger,profile:b=e?.parentClientConfig?.profile,region:y,requestHandler:h=e?.parentClientConfig?.requestHandler,credentialProviderLogger:R,userAgentAppId:g=e?.parentClientConfig?.userAgentAppId}=e,T=await Gs(y,e?.parentClientConfig?.region,R,{logger:l,profile:b}),Pe=!Ws(h);r=new t({...e,userAgentAppId:g,profile:b,credentialDefaultProvider:()=>async()=>n,region:T,requestHandler:Pe?h:void 0,logger:l})}let{Credentials:a,AssumedRoleUser:u}=await r.send(new Re(o));if(!a||!a.AccessKeyId||!a.SecretAccessKey)throw Error(`Invalid response from STS.assumeRole call with role ${o.RoleArn}`);let i=Ls(u),d={accessKeyId:a.AccessKeyId,secretAccessKey:a.SecretAccessKey,sessionToken:a.SessionToken,expiration:a.Expiration,...a.CredentialScope&&{credentialScope:a.CredentialScope},...i&&{accountId:i}};return It.setCredentialFeature(d,"CREDENTIALS_STS_ASSUME_ROLE","i"),d}},$l=(e,t)=>{let r;return async(n)=>{if(!r){let{logger:i=e?.parentClientConfig?.logger,profile:d=e?.parentClientConfig?.profile,region:l,requestHandler:b=e?.parentClientConfig?.requestHandler,credentialProviderLogger:y,userAgentAppId:h=e?.parentClientConfig?.userAgentAppId}=e,R=await Gs(l,e?.parentClientConfig?.region,y,{logger:i,profile:d}),g=!Ws(b);r=new t({...e,userAgentAppId:h,profile:d,region:R,requestHandler:g?b:void 0,logger:i})}let{Credentials:s,AssumedRoleUser:o}=await r.send(new we(n));if(!s||!s.AccessKeyId||!s.SecretAccessKey)throw Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${n.RoleArn}`);let a=Ls(o),u={accessKeyId:s.AccessKeyId,secretAccessKey:s.SecretAccessKey,sessionToken:s.SessionToken,expiration:s.Expiration,...s.CredentialScope&&{credentialScope:s.CredentialScope},...a&&{accountId:a}};if(a)It.setCredentialFeature(u,"RESOLVED_ACCOUNT_ID","T");return It.setCredentialFeature(u,"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID","k"),u}},Ws=(e)=>{return e?.metadata?.handlerProtocol==="h2"},Ks=(e,t)=>{if(!t)return e;else return class extends e{constructor(n){super(n);for(let s of t)this.middlewareStack.use(s)}}},zs=(e={},t)=>jl(e,Ks(L.STSClient,t)),qs=(e={},t)=>$l(e,Ks(L.STSClient,t)),Hl=(e)=>(t)=>e({roleAssumer:zs(t),roleAssumerWithWebIdentity:qs(t),...t});I.$Command=Ee.Command;I.STSServiceException=Nl.STSServiceException;I.AssumeRoleCommand=Re;I.AssumeRoleWithWebIdentityCommand=we;I.STS=Tt;I.decorateDefaultCredentialProvider=Hl;I.getDefaultRoleAssumer=zs;I.getDefaultRoleAssumerWithWebIdentity=qs;Object.prototype.hasOwnProperty.call(L,"__proto__")&&!Object.prototype.hasOwnProperty.call(I,"__proto__")&&Object.defineProperty(I,"__proto__",{enumerable:!0,value:L.__proto__});Object.keys(L).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(I,e))I[e]=L[e]});Object.prototype.hasOwnProperty.call(Q,"__proto__")&&!Object.prototype.hasOwnProperty.call(I,"__proto__")&&Object.defineProperty(I,"__proto__",{enumerable:!0,value:Q.__proto__});Object.keys(Q).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(I,e))I[e]=Q[e]});Object.prototype.hasOwnProperty.call(Ae,"__proto__")&&!Object.prototype.hasOwnProperty.call(I,"__proto__")&&Object.defineProperty(I,"__proto__",{enumerable:!0,value:Ae.__proto__});Object.keys(Ae).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(I,e))I[e]=Ae[e]})});
|
|
25
|
-
export{zl as F9};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$h as j,bi as l}from"./cli-1.1.0-6pd6d43a.mjs";import{li as W,ri as i}from"./cli-1.1.0-w99tv921.mjs";import{EQ as s,Lx as U,Mx as m,QT as G,Xw as B,YO as b,Yj as Z,ZO as o,Zj as P,aj as Y,aw as $,ax as p,bU as r,bj as A,bw as D,cD as L,cU as R,dD as h,dU as f,dx as N,eU as F,ex as g,fU as u,gU as t,hC as d,lC as E,mC as C,uQ as x,wv as _,wz as V,xO as M,yz as S,zO as n}from"./cli-1.1.0-27q99qxg.mjs";import{h_ as Q,n_ as k}from"./cli-1.1.0-z515ecdw.mjs";import{S_ as O,Z_ as I,taa as X,uaa as v}from"./cli-1.1.0-f2zea2vz.mjs";import{Pqa as T,eqa as J,qqa as K}from"./cli-1.1.0-q0xhsdq5.mjs";import{ysa as y,zsa as w}from"./cli-1.1.0-t314tbev.mjs";function Mq(H=new Set){let z=H.size>0;if(u.cache.clear?.(),F.cache.clear?.(),f.cache.clear?.(),Y.cache.clear?.(),W(),x(),!z)N();if(R(null),K(null),b(),_(),G("session_start"),V(),X.clear(),Z(),!z)B();if(Q(),M(),!z)U();J(H),O(),L(),$(),j(),E(),import("./utils-1.1.0-8gfj8s3w.mjs").then(({clearWebFetchCache:q})=>q()),import("./ToolSearchTool-1.1.0-3gd1pr4d.mjs").then(({clearToolSearchDescriptionCache:q})=>q()),import("./loadAgentsDir-1.1.0-6jtp0hpx.mjs").then(({clearAgentDefinitionsCache:q})=>q()),import("./prompt-1.1.0-2r56j5nk.mjs").then(({clearPromptCache:q})=>q())}var c=y(()=>{T();s();A();t();i();p();m();g();P();o();D();l();h();d();n();r();k();I();v();S();C()});
|
|
2
|
-
export{Mq as Zh,c as _h};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{xsa as x,ysa as z}from"./cli-1.1.0-t314tbev.mjs";var H={};x(H,{toInfraSessionId:()=>G,toCompatSessionId:()=>F,setCseShimGate:()=>A});function A(j){q=j}function F(j){if(!j.startsWith("cse_"))return j;if(q&&!q())return j;return"session_"+j.slice(4)}function G(j){if(!j.startsWith("session_"))return j;return"cse_"+j.slice(8)}var q;var J=()=>{};
|
|
2
|
-
export{A as y2,F as z2,G as A2,H as B2,J as C2};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{o4 as K,q4 as Z}from"./cli-1.1.0-kchy50kf.mjs";import{r4 as J,t4 as Y}from"./cli-1.1.0-pc78xk2w.mjs";import{A8 as F,B8 as G,E5 as W,V8 as X,v8 as D,z5 as B}from"./cli-1.1.0-kb88a691.mjs";import{kja as y,lja as Q}from"./cli-1.1.0-ab3nq7yd.mjs";import{$ra as V,Jra as z}from"./cli-1.1.0-kyvxb684.mjs";import{ysa as N}from"./cli-1.1.0-t314tbev.mjs";async function P(){if(!F()||!G())return{};let w=D();if(w&&B(w.expiresAt))return null;let q=K();if(q.error)throw Error(`Auth error: ${q.error}`);let L={"Content-Type":"application/json","User-Agent":J(),...q.headers},M=`${y().BASE_API_URL}/api/oauth/usage`;return(await z.get(M,{headers:L,timeout:5000})).data}var _=N(()=>{V();Q();X();Z();Y();W()});
|
|
2
|
-
export{P as Ui,_ as Vi};
|