@opencode/core 0.0.0-dev-605 → 0.0.0-dev-627
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/account/sql.js +1 -1
- package/dist/agent.js +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +236 -236
- package/dist/bus.js +84 -84
- package/dist/chunks/{repository-cache-aj7mw0zk.js → tool-034tev2y.js} +2 -2
- package/dist/chunks/{repository-cache-fy5egg00.js → tool-04r04va6.js} +4 -4
- package/dist/chunks/{repository-cache-xjbsd7zy.js → tool-04whjz6n.js} +9 -9
- package/dist/chunks/{repository-cache-cpvd08na.js → tool-0ahs07zn.js} +4 -4
- package/dist/chunks/{repository-cache-kqfwe6fh.js → tool-0b12brbm.js} +23 -23
- package/dist/chunks/{repository-cache-p2tq4kr4.js → tool-0bgjjgx2.js} +4 -4
- package/dist/chunks/{repository-cache-31hb070v.js → tool-0hknrezz.js} +25 -25
- package/dist/chunks/{repository-cache-sqjzf8x2.js → tool-0j7gp832.js} +4 -4
- package/dist/chunks/{repository-cache-0ma9gw4f.js → tool-0ma9gw4f.js} +2 -2
- package/dist/chunks/{repository-cache-n8p1a6g7.js → tool-0mv06tb8.js} +24 -24
- package/dist/chunks/{repository-cache-96w3k37w.js → tool-0zrc1hgf.js} +40 -40
- package/dist/chunks/{repository-cache-sqtk4kde.js → tool-1555t097.js} +17 -17
- package/dist/chunks/tool-19r7p8qd.js +26 -0
- package/dist/chunks/{repository-cache-1aqsckx4.js → tool-1aqsckx4.js} +1 -1
- package/dist/chunks/{repository-cache-q5kt2txt.js → tool-1brsnn94.js} +2 -2
- package/dist/chunks/{repository-cache-27w5k9zf.js → tool-1ep2p91f.js} +2 -2
- package/dist/chunks/{repository-cache-sm0v90f9.js → tool-1hw98qrx.js} +8 -8
- package/dist/chunks/{repository-cache-9mrfv1j4.js → tool-1j4h07zs.js} +12 -12
- package/dist/chunks/{repository-cache-m5m4mawt.js → tool-1nhv4g69.js} +23 -23
- package/dist/chunks/{repository-cache-pkmmfs3s.js → tool-1qtvm13f.js} +32 -32
- package/dist/chunks/{repository-cache-ysbrq79k.js → tool-1rapdk7p.js} +31 -31
- package/dist/chunks/{repository-cache-ybws1qgk.js → tool-1v2g13eq.js} +4 -4
- package/dist/chunks/{repository-cache-9a7pwgbe.js → tool-1wkggrjf.js} +6 -6
- package/dist/chunks/{repository-cache-1x2knyw4.js → tool-1x2knyw4.js} +1 -1
- package/dist/chunks/{repository-cache-bdhd9h6e.js → tool-1yq9hg58.js} +5 -5
- package/dist/chunks/{repository-cache-7f2htwtk.js → tool-1zc261y1.js} +8 -8
- package/dist/chunks/{repository-cache-94t12mdt.js → tool-28rx08cw.js} +31 -31
- package/dist/chunks/{repository-cache-c82xecz8.js → tool-29vsvq2t.js} +8 -8
- package/dist/chunks/{repository-cache-ecgv8t09.js → tool-2dkpp6r2.js} +11 -11
- package/dist/chunks/{repository-cache-hnb0d39k.js → tool-2dq8jpdd.js} +6 -6
- package/dist/chunks/{repository-cache-1ks5bmjz.js → tool-2k9qpqfa.js} +28 -28
- package/dist/chunks/{repository-cache-2kg89srt.js → tool-2kg89srt.js} +1 -1
- package/dist/chunks/tool-2kkp9s70.js +571 -0
- package/dist/chunks/{repository-cache-bsjf3n8a.js → tool-2na6qge8.js} +25 -25
- package/dist/chunks/{repository-cache-ewan1qgf.js → tool-2p1fyn1z.js} +59 -59
- package/dist/chunks/{repository-cache-s1ba0vj0.js → tool-2p60zmnr.js} +2 -2
- package/dist/chunks/{repository-cache-bq8k2rb4.js → tool-2qgmh7f2.js} +32 -32
- package/dist/chunks/{repository-cache-xk70r0xg.js → tool-2r8wnwkh.js} +11 -11
- package/dist/chunks/{repository-cache-kt9nnfjs.js → tool-2s7a5cr8.js} +54 -54
- package/dist/chunks/{repository-cache-k55yvrq8.js → tool-2y0y3f74.js} +18 -18
- package/dist/chunks/{repository-cache-gyh9cr2k.js → tool-2y3daeve.js} +18 -18
- package/dist/chunks/{repository-cache-8nxj1m7z.js → tool-34kmj136.js} +15 -15
- package/dist/chunks/{repository-cache-v2x3jtqh.js → tool-35fxc5rr.js} +3 -3
- package/dist/chunks/{repository-cache-d9qsesfx.js → tool-3669yegd.js} +40 -40
- package/dist/chunks/{repository-cache-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-r8ne8z0s.js → tool-3kc70r3e.js} +17 -17
- package/dist/chunks/{repository-cache-tmc7xdjs.js → tool-3nnrz6f6.js} +4 -4
- package/dist/chunks/{repository-cache-by7xstp6.js → tool-3pkw540f.js} +35 -35
- package/dist/chunks/{repository-cache-p5tk1xdz.js → tool-3qevzq3v.js} +8 -8
- package/dist/chunks/{repository-cache-pc5xv1xx.js → tool-3w3bwa55.js} +12 -12
- package/dist/chunks/{repository-cache-z0cbg25n.js → tool-40dmbkek.js} +26 -26
- package/dist/chunks/{repository-cache-40y6dtc2.js → tool-40y6dtc2.js} +1 -1
- package/dist/chunks/{repository-cache-40za9wsf.js → tool-40za9wsf.js} +2 -2
- package/dist/chunks/{repository-cache-g84d5t96.js → tool-44fq2p83.js} +5 -5
- package/dist/chunks/{repository-cache-jxd6f16v.js → tool-44pmzq9c.js} +2 -2
- package/dist/chunks/{repository-cache-3417we6b.js → tool-46eaz8xc.js} +20 -20
- package/dist/chunks/{repository-cache-zybks6b0.js → tool-47p5bcf3.js} +5 -5
- package/dist/chunks/{repository-cache-rhrvxtbv.js → tool-47xhmy8n.js} +5 -5
- package/dist/chunks/{repository-cache-wa8k00xj.js → tool-4bwthz3m.js} +6 -6
- package/dist/chunks/{repository-cache-qew61d36.js → tool-4dn934sm.js} +18 -18
- package/dist/chunks/{repository-cache-4dx1dgte.js → tool-4dx1dgte.js} +1 -1
- package/dist/chunks/{repository-cache-4f25tdd0.js → tool-4f25tdd0.js} +1 -1
- package/dist/chunks/{repository-cache-6rqkmd8e.js → tool-4kfzmx5g.js} +2 -2
- package/dist/chunks/{repository-cache-4pyp9zr9.js → tool-4pyp9zr9.js} +1 -1
- package/dist/chunks/{repository-cache-4v008n1t.js → tool-4v008n1t.js} +1 -1
- package/dist/chunks/{repository-cache-0ejkdvg9.js → tool-4z0mnfsb.js} +193 -193
- package/dist/chunks/{repository-cache-a3fn0gmm.js → tool-55g2q5p5.js} +2 -2
- package/dist/chunks/{repository-cache-3vnxarw0.js → tool-57a3gt61.js} +8 -8
- package/dist/chunks/{repository-cache-1bhkzdch.js → tool-5eh5vnwa.js} +17 -17
- package/dist/chunks/{repository-cache-twgcqmbs.js → tool-5jgwgsds.js} +33 -33
- package/dist/chunks/{repository-cache-bjtg0brr.js → tool-5kn2gf19.js} +9 -9
- package/dist/chunks/{repository-cache-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-cache-2bzd8xhn.js → tool-5r3wrmp5.js} +16 -16
- package/dist/chunks/{repository-cache-k4w24gzt.js → tool-5vnxagfg.js} +20 -20
- package/dist/chunks/{repository-cache-s1dbe4ph.js → tool-5vzkvv7b.js} +17 -17
- package/dist/chunks/{repository-cache-5whx36p1.js → tool-5whx36p1.js} +1 -1
- package/dist/chunks/{repository-cache-6y9mx2ek.js → tool-5y3wp1ns.js} +20 -20
- package/dist/chunks/{repository-cache-25x0fh9y.js → tool-6015y25q.js} +19 -19
- package/dist/chunks/{repository-cache-0xmsj0de.js → tool-60scttwb.js} +6 -6
- package/dist/chunks/{repository-cache-530xg6vw.js → tool-65zzbc8y.js} +6 -6
- package/dist/chunks/{repository-cache-963hk181.js → tool-68cs06h1.js} +5 -5
- package/dist/chunks/{repository-cache-bb3pv0r8.js → tool-6cqkw5v2.js} +7 -7
- package/dist/chunks/{repository-cache-jhwp234h.js → tool-6dqyy18z.js} +4 -4
- package/dist/chunks/{repository-cache-vajcf8z8.js → tool-6fj7drec.js} +8 -8
- package/dist/chunks/{repository-cache-mw6xpct4.js → tool-6fwyg1ss.js} +31 -31
- package/dist/chunks/{repository-cache-z597atea.js → tool-6yc1yn4a.js} +12 -12
- package/dist/chunks/{repository-cache-24n4d6cx.js → tool-6yebzpzq.js} +24 -24
- package/dist/chunks/tool-6zjm2phc.js +18 -0
- package/dist/chunks/{repository-cache-8n065enx.js → tool-71dvczxp.js} +25 -25
- package/dist/chunks/{repository-cache-zm7k6k12.js → tool-75c0yt7x.js} +24 -24
- package/dist/chunks/{repository-cache-qmncx9et.js → tool-772thxeb.js} +10 -10
- package/dist/chunks/{repository-cache-775hqbnd.js → tool-775hqbnd.js} +3 -3
- package/dist/chunks/{repository-cache-axm2n1bv.js → tool-77h00f9v.js} +45 -45
- package/dist/chunks/{repository-cache-kqz76vss.js → tool-78j7y49x.js} +6 -6
- package/dist/chunks/{repository-cache-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-64c9es3a.js → tool-7f5g0fx5.js} +22 -22
- package/dist/chunks/{repository-cache-ezxsjh08.js → tool-7ft1dw8t.js} +10 -10
- package/dist/chunks/{repository-cache-7w2ypzdf.js → tool-7w2ypzdf.js} +1 -1
- package/dist/chunks/{repository-cache-7weczvnd.js → tool-7weczvnd.js} +1 -1
- package/dist/chunks/{repository-cache-fg6qht7z.js → tool-84483szx.js} +23 -23
- package/dist/chunks/{repository-cache-89287pr7.js → tool-89287pr7.js} +1 -1
- package/dist/chunks/{repository-cache-25h84942.js → tool-8b3vzgkx.js} +4 -4
- package/dist/chunks/{repository-cache-x3nq4fqn.js → tool-8ggfwbsw.js} +10 -10
- package/dist/chunks/{repository-cache-1j777bfw.js → tool-8qmf4c22.js} +15 -15
- package/dist/chunks/{repository-cache-bb3mmwvh.js → tool-8sxe6kv8.js} +2 -2
- package/dist/chunks/{repository-cache-3qgwywyc.js → tool-8t99kr38.js} +4 -4
- package/dist/chunks/{repository-cache-26x8xhvd.js → tool-8vav0wt6.js} +33 -33
- package/dist/chunks/{repository-cache-8wtp7s3z.js → tool-8wtp7s3z.js} +1 -1
- package/dist/chunks/{repository-cache-1veh5y7b.js → tool-8ww1xt0h.js} +18 -18
- package/dist/chunks/tool-8x4h6gj5.js +265 -0
- package/dist/chunks/{repository-cache-j8sdmxac.js → tool-8yf6c4ws.js} +5 -5
- package/dist/chunks/{repository-cache-anvcme1c.js → tool-90ct6wq4.js} +4 -4
- package/dist/chunks/{repository-cache-90zstvax.js → tool-90zstvax.js} +1 -1
- package/dist/chunks/{repository-cache-ayf0r5fr.js → tool-99b14w1w.js} +16 -16
- package/dist/chunks/{repository-cache-j29phncd.js → tool-9hnph9wg.js} +33 -33
- package/dist/chunks/{repository-cache-smhgbwgb.js → tool-9m4t11kw.js} +15 -15
- package/dist/chunks/{repository-cache-9dwca51d.js → tool-9n2jx8hn.js} +38 -38
- package/dist/chunks/{repository-cache-t68b6a1a.js → tool-9v4dp1sv.js} +46 -46
- package/dist/chunks/{repository-cache-vbegfqj5.js → tool-9xkpsvpb.js} +22 -22
- package/dist/chunks/{repository-cache-9zwexsxs.js → tool-9zwexsxs.js} +2 -2
- package/dist/chunks/{repository-cache-0hyhtq4c.js → tool-a93bg3fh.js} +4 -4
- package/dist/chunks/{repository-cache-0hq8hh55.js → tool-aapszx4f.js} +4 -4
- package/dist/chunks/{repository-cache-3cbjf1nt.js → tool-ayjs7tqn.js} +2 -2
- package/dist/chunks/{repository-cache-b6vsg801.js → tool-b6vsg801.js} +2 -2
- package/dist/chunks/{repository-cache-n1wvmqaw.js → tool-bm60jz01.js} +12 -12
- package/dist/chunks/{repository-cache-qj27ec1j.js → tool-bqa8ney4.js} +4 -4
- package/dist/chunks/{repository-cache-bstexjd6.js → tool-bstexjd6.js} +1 -1
- package/dist/chunks/{repository-cache-cwy0vxkf.js → tool-bt50pbny.js} +24 -24
- package/dist/chunks/{repository-cache-24abvbg3.js → tool-c5xfa1xp.js} +36 -36
- package/dist/chunks/{repository-cache-c5zvymhv.js → tool-c5zvymhv.js} +1 -1
- package/dist/chunks/{repository-cache-t62dywgn.js → tool-c7r9599d.js} +6 -6
- package/dist/chunks/{repository-cache-h861acdj.js → tool-c9djvm77.js} +41 -41
- package/dist/chunks/{repository-cache-9jtk5nne.js → tool-cc953ej2.js} +9 -9
- package/dist/chunks/{repository-cache-9f3jsh1d.js → tool-ctmpqb7w.js} +9 -9
- package/dist/chunks/{repository-cache-cwrgdav8.js → tool-cwrgdav8.js} +2 -2
- package/dist/chunks/{repository-cache-nyxvvj5y.js → tool-czwy3yzx.js} +7 -7
- package/dist/chunks/{repository-cache-d4v9tmah.js → tool-d4v9tmah.js} +2 -2
- package/dist/chunks/{repository-cache-pz0sfbj3.js → tool-db4seax3.js} +11 -11
- package/dist/chunks/{repository-cache-r0m92t3y.js → tool-dd57nsvn.js} +8 -8
- package/dist/chunks/{repository-cache-0xx27840.js → tool-debd8pf3.js} +5 -5
- package/dist/chunks/{repository-cache-djadtdmr.js → tool-djadtdmr.js} +1 -1
- package/dist/chunks/{repository-cache-zh3qqm7s.js → tool-dqmkpjk4.js} +18 -18
- package/dist/chunks/{repository-cache-dt77769w.js → tool-dt77769w.js} +1 -1
- package/dist/chunks/{repository-cache-g3s7hktw.js → tool-e0d96e0q.js} +8 -8
- package/dist/chunks/{repository-cache-3xvjtn27.js → tool-e53hqhbg.js} +34 -34
- package/dist/chunks/{repository-cache-e834z07m.js → tool-e834z07m.js} +1 -1
- package/dist/chunks/{repository-cache-g4qx8njx.js → tool-ejt8ytt0.js} +10 -10
- package/dist/chunks/{repository-cache-k53hj7rs.js → tool-enaqqywp.js} +17 -17
- package/dist/chunks/{repository-cache-m4kbpbwy.js → tool-eqkq82nh.js} +45 -45
- package/dist/chunks/{repository-cache-phybxfj4.js → tool-eqrv7k0x.js} +22 -22
- package/dist/chunks/{repository-cache-eqw4pqj1.js → tool-eqw4pqj1.js} +2 -2
- package/dist/chunks/{repository-cache-8mst53cj.js → tool-ew00rcme.js} +35 -35
- package/dist/chunks/{repository-cache-j1w6jv9f.js → tool-f3h7dwma.js} +3 -3
- package/dist/chunks/{repository-cache-h5km7rmp.js → tool-faaqe93r.js} +48 -48
- package/dist/chunks/{repository-cache-gkyhj69x.js → tool-few90dvn.js} +43 -43
- package/dist/chunks/{repository-cache-fffv3p7h.js → tool-fffv3p7h.js} +1 -1
- package/dist/chunks/{repository-cache-dvnqv6yn.js → tool-fmjsjtqm.js} +4 -4
- package/dist/chunks/{repository-cache-qp1j9gx1.js → tool-fretqggx.js} +18 -18
- package/dist/chunks/{repository-cache-w6312yaw.js → tool-fvypmx9y.js} +22 -22
- package/dist/chunks/{repository-cache-rvc92y6q.js → tool-fwqqjaak.js} +15 -15
- package/dist/chunks/{repository-cache-d557ra3j.js → tool-fxgn3893.js} +15 -15
- package/dist/chunks/{repository-cache-k9d0tmsy.js → tool-g4yftf1w.js} +88 -88
- package/dist/chunks/{repository-cache-hxewmaf0.js → tool-g70vkb7s.js} +30 -30
- package/dist/chunks/{repository-cache-gbjdnr5j.js → tool-gbjdnr5j.js} +2 -2
- package/dist/chunks/{repository-cache-jbv7by8f.js → tool-gdqab8my.js} +5 -5
- package/dist/chunks/{repository-cache-ghrv1g9c.js → tool-ghrv1g9c.js} +1 -1
- package/dist/chunks/{repository-cache-26wfx3k0.js → tool-gmemj5zs.js} +4 -4
- package/dist/chunks/{repository-cache-gxs71cxp.js → tool-gxs71cxp.js} +1 -1
- package/dist/chunks/{repository-cache-y58zdc56.js → tool-h00e2jz3.js} +22 -22
- package/dist/chunks/{repository-cache-rcbjwvze.js → tool-h0rg6s60.js} +4 -4
- package/dist/chunks/{repository-cache-tfbh0ys0.js → tool-h1da92q3.js} +31 -31
- package/dist/chunks/{repository-cache-b0v1b7fn.js → tool-h6k67dd7.js} +20 -20
- package/dist/chunks/{repository-cache-s4dd1dkr.js → tool-h78x36nt.js} +13 -13
- package/dist/chunks/{repository-cache-8phvsahy.js → tool-haj538yg.js} +12 -12
- package/dist/chunks/{repository-cache-2zg8vxn7.js → tool-he2d4cv0.js} +15 -15
- package/dist/chunks/{repository-cache-7z4ak66b.js → tool-hjnjc3ts.js} +9 -9
- package/dist/chunks/{repository-cache-93ctvjtr.js → tool-hkajchxt.js} +15 -15
- package/dist/chunks/{repository-cache-v19wj8hw.js → tool-hqpnkr71.js} +1 -1
- package/dist/chunks/{repository-cache-nw32hq9a.js → tool-j5f9jgzm.js} +13 -13
- package/dist/chunks/{repository-cache-p4y4gte6.js → tool-j64v0wxx.js} +9 -9
- package/dist/chunks/{repository-cache-j9nxzz3g.js → tool-j9nxzz3g.js} +3 -3
- package/dist/chunks/{repository-cache-sspakpas.js → tool-jj3d0q0a.js} +11 -11
- package/dist/chunks/{repository-cache-bhfd478d.js → tool-jkdcm5hg.js} +4 -4
- package/dist/chunks/{repository-cache-xpxrcxw7.js → tool-jswra5yg.js} +11 -11
- package/dist/chunks/{repository-cache-vw7tgt0x.js → tool-k3pgnzh0.js} +20 -20
- package/dist/chunks/{repository-cache-wx3jdmfq.js → tool-k6r1bs0t.js} +20 -20
- package/dist/chunks/{repository-cache-tqhrmc4d.js → tool-k75at1a4.js} +8 -8
- package/dist/chunks/{repository-cache-s8w07hhj.js → tool-kf978mzt.js} +21 -21
- package/dist/chunks/{repository-cache-kh8gdsej.js → tool-kh8gdsej.js} +1 -1
- package/dist/chunks/{repository-cache-rfpd92cq.js → tool-kmq4a999.js} +11 -11
- package/dist/chunks/{repository-cache-hy8c1z76.js → tool-kmzgegqq.js} +8 -8
- package/dist/chunks/{repository-cache-2ra1cvjf.js → tool-kq17g8gv.js} +6 -6
- package/dist/chunks/{repository-cache-kzczzf4v.js → tool-kzczzf4v.js} +1 -1
- package/dist/chunks/{repository-cache-nn2nd58t.js → tool-kzdam8c6.js} +5 -5
- package/dist/chunks/{repository-cache-m1714858.js → tool-m1714858.js} +1 -1
- package/dist/chunks/{repository-cache-4ke1hpwn.js → tool-m76bysk3.js} +13 -13
- package/dist/chunks/{repository-cache-m8b0hmkn.js → tool-m9f5rdz9.js} +16 -16
- package/dist/chunks/{repository-cache-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-8z6m94af.js → tool-mb7mbhnz.js} +3 -3
- package/dist/chunks/{repository-cache-yp198zx3.js → tool-mgrbscb1.js} +11 -11
- package/dist/chunks/{repository-cache-p07n1nra.js → tool-mh6aekfc.js} +25 -25
- package/dist/chunks/{repository-cache-mm06edep.js → tool-mm06edep.js} +1 -1
- package/dist/chunks/{repository-cache-a87ec6x6.js → tool-mnq1jwzt.js} +14 -14
- package/dist/chunks/{repository-cache-w2sb21bb.js → tool-mt3yb1mx.js} +11 -11
- package/dist/chunks/{repository-cache-fkteqegr.js → tool-mycg523h.js} +27 -27
- package/dist/chunks/{repository-cache-ssbjkerf.js → tool-mzf8qq5c.js} +11 -11
- package/dist/chunks/{repository-cache-9qsmkj40.js → tool-n00hnt5k.js} +11 -11
- package/dist/chunks/{repository-cache-mrgb2a4m.js → tool-nezv9r4s.js} +88 -88
- package/dist/chunks/{repository-cache-q94k5xag.js → tool-nh09tcxv.js} +13 -13
- package/dist/chunks/{repository-cache-fcepfbwx.js → tool-nhxnj8wq.js} +7 -7
- package/dist/chunks/{repository-cache-8zsy9fqe.js → tool-nn6t2hk7.js} +10 -10
- package/dist/chunks/{repository-cache-bz0790vs.js → tool-nrp7ym1y.js} +21 -21
- package/dist/chunks/{repository-cache-rj7jtxy8.js → tool-nt907s04.js} +3 -3
- package/dist/chunks/{repository-cache-me215f18.js → tool-nw5eecxx.js} +1 -1
- package/dist/chunks/{repository-cache-cb6hg470.js → tool-nwzg2a6d.js} +3 -3
- package/dist/chunks/{repository-cache-jx8bmjsr.js → tool-nzgq6x82.js} +4 -4
- package/dist/chunks/{repository-cache-ekkxmf4g.js → tool-p4a0yr3q.js} +10 -10
- package/dist/chunks/{repository-cache-6cv5ggqa.js → tool-p5shtcs3.js} +46 -46
- package/dist/chunks/{repository-cache-hng2z574.js → tool-p7vg4ymv.js} +8 -8
- package/dist/chunks/{repository-cache-4krr2nde.js → tool-p8pjvayg.js} +3 -3
- package/dist/chunks/{repository-cache-6pxkgvpn.js → tool-p8t94sdg.js} +7 -7
- package/dist/chunks/{repository-cache-y47xsr57.js → tool-pa056g0m.js} +18 -18
- package/dist/chunks/{repository-cache-ygwvpf8d.js → tool-pdvy17jd.js} +18 -18
- package/dist/chunks/{repository-cache-dt4jdg3a.js → tool-pebg18yw.js} +5 -5
- package/dist/chunks/{repository-cache-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-5fn96twt.js → tool-ppedw7jc.js} +16 -16
- package/dist/chunks/{repository-cache-fg9p65nk.js → tool-prq7xxp2.js} +6 -6
- package/dist/chunks/{repository-cache-begae6zc.js → tool-ptxs8w6f.js} +25 -25
- package/dist/chunks/{repository-cache-82phgae0.js → tool-pyc3gczw.js} +5 -5
- package/dist/chunks/{repository-cache-27hvkd05.js → tool-q2kq49nt.js} +11 -11
- package/dist/chunks/{repository-cache-4ac5e6w9.js → tool-q81kq6vk.js} +7 -7
- package/dist/chunks/{repository-cache-3n8f9t2c.js → tool-q8yjkgp4.js} +6 -6
- package/dist/chunks/{repository-cache-4d5w7vpt.js → tool-qd895tht.js} +35 -35
- package/dist/chunks/{repository-cache-qfz6bxfd.js → tool-qfz6bxfd.js} +1 -1
- package/dist/chunks/{repository-cache-pa6k4317.js → tool-qgcn30ny.js} +9 -9
- package/dist/chunks/{repository-cache-ncxak54a.js → tool-qhgzfx65.js} +94 -94
- package/dist/chunks/{repository-cache-rwk2fnkc.js → tool-qm1pyt2m.js} +3 -3
- package/dist/chunks/{repository-cache-qp7r0hxv.js → tool-qp7r0hxv.js} +1 -1
- package/dist/chunks/{repository-cache-maahcrgj.js → tool-qs1v69th.js} +16 -16
- package/dist/chunks/{repository-cache-qsdghx1p.js → tool-qsdghx1p.js} +1 -1
- package/dist/chunks/{repository-cache-27zyrpv6.js → tool-qv28rmvw.js} +9 -9
- package/dist/chunks/{repository-cache-6g3dkt3t.js → tool-qwfph5fh.js} +12 -12
- package/dist/chunks/{repository-cache-q5rkgeb7.js → tool-qxs6496v.js} +35 -35
- package/dist/chunks/{repository-cache-ddwaa558.js → tool-r96ere88.js} +4 -4
- package/dist/chunks/{repository-cache-rb9dy4dg.js → tool-rb9dy4dg.js} +1 -1
- package/dist/chunks/{repository-cache-cq64w893.js → tool-ret0xxsr.js} +36 -36
- package/dist/chunks/{repository-cache-xhc0sbzt.js → tool-rfrmsrgv.js} +5 -5
- package/dist/chunks/{repository-cache-rgc9cx3e.js → tool-rgc9cx3e.js} +2 -2
- package/dist/chunks/{repository-cache-q2yv65ar.js → tool-rgejq9ef.js} +20 -20
- package/dist/chunks/{repository-cache-qw2t3dzn.js → tool-rmv7fhs4.js} +6 -6
- package/dist/chunks/{repository-cache-xpsvaypt.js → tool-rp5s57se.js} +9 -9
- package/dist/chunks/{repository-cache-4dc9r7jw.js → tool-rqjqz1dx.js} +6 -6
- package/dist/chunks/{repository-cache-rt5dr6hb.js → tool-rt5dr6hb.js} +1 -1
- package/dist/chunks/{repository-cache-xw5mamnk.js → tool-rv2ck8m4.js} +18 -18
- package/dist/chunks/{repository-cache-t2w0276p.js → tool-rxs3kqv2.js} +6 -6
- package/dist/chunks/{repository-cache-35y1ta0e.js → tool-s0x6kf2p.js} +1 -1
- package/dist/chunks/{repository-cache-nhgkss9c.js → tool-s2d4b5x8.js} +7 -7
- package/dist/chunks/{repository-cache-cnh7rm97.js → tool-s818qefp.js} +5 -5
- package/dist/chunks/{repository-cache-7fc7hhs4.js → tool-s9m725b8.js} +33 -33
- package/dist/chunks/{repository-cache-sa3fpqfw.js → tool-sa3fpqfw.js} +2 -2
- package/dist/chunks/{repository-cache-sbya78hr.js → tool-sbya78hr.js} +1 -1
- package/dist/chunks/{repository-cache-2cdjxzfg.js → tool-sbz71ybr.js} +3 -3
- package/dist/chunks/{repository-cache-49hd1xwg.js → tool-sd2het5a.js} +8 -8
- package/dist/chunks/{repository-cache-zr3g104n.js → tool-senv5r2t.js} +31 -31
- package/dist/chunks/{repository-cache-rk0hf552.js → tool-sfnc6e8w.js} +24 -24
- package/dist/chunks/{repository-cache-d1bpbjnm.js → tool-sgzhenxf.js} +54 -54
- package/dist/chunks/{repository-cache-6h8zfbw9.js → tool-snkgcq6v.js} +3 -3
- package/dist/chunks/{repository-cache-v6nb87wz.js → tool-spbh5ss8.js} +6 -6
- package/dist/chunks/{repository-cache-2nkkrr4x.js → tool-ssx9tcnt.js} +6 -6
- package/dist/chunks/{repository-cache-svcy3p9a.js → tool-svcy3p9a.js} +1 -1
- package/dist/chunks/{repository-cache-96djdqw5.js → tool-szwm4crx.js} +4 -4
- package/dist/chunks/{repository-cache-0w3jajew.js → tool-t04y6rka.js} +30 -30
- package/dist/chunks/{repository-cache-a4qk5w5d.js → tool-t2kbrzxc.js} +31 -31
- package/dist/chunks/{repository-cache-874wyhaa.js → tool-t8nm1vpg.js} +32 -32
- package/dist/chunks/{repository-cache-qkc4txyr.js → tool-tah62rx7.js} +4 -4
- package/dist/chunks/{repository-cache-tczq8hjw.js → tool-tczq8hjw.js} +1 -1
- package/dist/chunks/{repository-cache-fksnpssn.js → tool-tfgq9ps6.js} +37 -37
- package/dist/chunks/{repository-cache-str9wgcc.js → tool-th2rzzzd.js} +51 -51
- package/dist/chunks/{repository-cache-p911a251.js → tool-tmsyzkdq.js} +13 -13
- package/dist/chunks/{repository-cache-j376ae4e.js → tool-tr8x705m.js} +5 -5
- package/dist/chunks/tool-tt9rk80g.js +16 -0
- package/dist/chunks/{repository-cache-twssxy5n.js → tool-twssxy5n.js} +2 -2
- package/dist/chunks/{repository-cache-32hjadc8.js → tool-twz8991w.js} +6 -6
- package/dist/chunks/{repository-cache-ra4eg6v2.js → tool-v1t7h3ys.js} +13 -13
- package/dist/chunks/{repository-cache-v2r1d0zg.js → tool-v2r1d0zg.js} +1 -1
- package/dist/chunks/{repository-cache-9v8670en.js → tool-v7mersgb.js} +20 -20
- package/dist/chunks/{repository-cache-j3gab23w.js → tool-v9zj8gmy.js} +16 -16
- package/dist/chunks/{repository-cache-0mgprbja.js → tool-vcfdc226.js} +4 -4
- package/dist/chunks/{repository-cache-w1zmw0j0.js → tool-vh5kkfdr.js} +12 -12
- package/dist/chunks/{repository-cache-vjf35v1f.js → tool-vjf35v1f.js} +1 -1
- package/dist/chunks/{repository-cache-4tn3tan0.js → tool-vkwey47a.js} +5 -5
- package/dist/chunks/{repository-cache-barjrk5t.js → tool-vmjdpmwf.js} +37 -37
- package/dist/chunks/{repository-cache-tz8eqr11.js → tool-vre17ymf.js} +9 -9
- package/dist/chunks/{repository-cache-6rw411p0.js → tool-vv9k68sd.js} +17 -17
- package/dist/chunks/{repository-cache-pjg7v7g5.js → tool-vy064tmw.js} +11 -11
- package/dist/chunks/{repository-cache-f7nfmysm.js → tool-w2jbjawn.js} +35 -35
- package/dist/chunks/{repository-cache-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-11v5wvkn.js → tool-w5zs3rpn.js} +3 -3
- package/dist/chunks/{repository-cache-wakvkjy4.js → tool-wakvkjy4.js} +1 -1
- package/dist/chunks/{repository-cache-jsj2kb7z.js → tool-wbzmgrmw.js} +30 -30
- package/dist/chunks/{repository-cache-zjyc304t.js → tool-wc9tj2ev.js} +21 -21
- package/dist/chunks/{repository-cache-z1tseqzz.js → tool-wcgjrgaf.js} +40 -40
- package/dist/chunks/{repository-cache-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-ydbbrfg1.js → tool-wdx6g3kg.js} +2 -2
- package/dist/chunks/{repository-cache-nx4vzyjd.js → tool-wegkxhrn.js} +2 -2
- package/dist/chunks/{repository-cache-2n444ktb.js → tool-weqc7sb9.js} +3 -3
- package/dist/chunks/{repository-cache-t9pw00nj.js → tool-wmndttsw.js} +9 -9
- package/dist/chunks/{repository-cache-wnhgecwx.js → tool-wnhgecwx.js} +1 -1
- package/dist/chunks/{repository-cache-w687dnns.js → tool-wr3re1en.js} +4 -4
- package/dist/chunks/{repository-cache-fcbvcd8w.js → tool-ws4tpv13.js} +3 -3
- package/dist/chunks/{repository-cache-xza8sa1q.js → tool-x5vj74a2.js} +17 -17
- package/dist/chunks/{repository-cache-h8pahg21.js → tool-xa23xek1.js} +8 -8
- package/dist/chunks/{repository-cache-hqk2k8xj.js → tool-xdgtjw5x.js} +33 -33
- package/dist/chunks/{repository-cache-qvbkypgt.js → tool-xg73td2j.js} +11 -11
- package/dist/chunks/{repository-cache-xjr6c8m4.js → tool-xjr6c8m4.js} +1 -1
- package/dist/chunks/{repository-cache-xksw6ev0.js → tool-xksw6ev0.js} +1 -1
- package/dist/chunks/{repository-cache-93cqz5g6.js → tool-xr7xm7qf.js} +29 -29
- package/dist/chunks/{repository-cache-zqab1dhd.js → tool-y094zgrg.js} +14 -14
- package/dist/chunks/{repository-cache-p5fywhk1.js → tool-y2wreccq.js} +5 -5
- package/dist/chunks/{repository-cache-8eynzsy4.js → tool-y3bjyseh.js} +14 -14
- package/dist/chunks/{repository-cache-wxgjsayh.js → tool-y4rkeds0.js} +11 -11
- package/dist/chunks/{repository-cache-3hg9251g.js → tool-y67570ve.js} +27 -27
- package/dist/chunks/{repository-cache-12p8jfwf.js → tool-y84y5pby.js} +15 -15
- package/dist/chunks/{repository-cache-yb20nhc3.js → tool-yb20nhc3.js} +1 -1
- package/dist/chunks/{repository-cache-tb0r11sh.js → tool-yf2cgb8m.js} +21 -21
- package/dist/chunks/{repository-cache-8ef1n296.js → tool-ym84t9db.js} +25 -25
- package/dist/chunks/{repository-cache-yr705xyq.js → tool-yr705xyq.js} +1 -1
- package/dist/chunks/{repository-cache-yvtc2x31.js → tool-yvtc2x31.js} +1 -1
- package/dist/chunks/{repository-cache-shqt4tg1.js → tool-yzt4cd6e.js} +19 -19
- package/dist/chunks/{repository-cache-d0gzc6r9.js → tool-z1tj3v26.js} +4 -4
- package/dist/chunks/{repository-cache-9r6t02y1.js → tool-zcnch7vt.js} +11 -11
- package/dist/chunks/{repository-cache-ng4tgbdz.js → tool-zeby9t0g.js} +12 -12
- package/dist/chunks/{repository-cache-0gk8k154.js → tool-zezjv31z.js} +60 -60
- package/dist/chunks/{repository-cache-f7jx66g0.js → tool-zggfewvb.js} +18 -18
- package/dist/chunks/{repository-cache-vmeb0awz.js → tool-zh6krqj4.js} +9 -9
- package/dist/chunks/{repository-cache-5rrtfrnm.js → tool-zhrtystx.js} +42 -42
- package/dist/chunks/{repository-cache-14k4sggx.js → tool-zn5cq78w.js} +7 -7
- package/dist/chunks/{repository-cache-zpdbqgja.js → tool-zpdbqgja.js} +1 -1
- package/dist/chunks/{repository-cache-wf1m3h04.js → tool-zyjx7tf0.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +234 -234
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +128 -128
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +139 -139
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +151 -151
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +128 -128
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +7 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +96 -96
- package/dist/database/database.js +81 -81
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +437 -437
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +157 -157
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +161 -161
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +247 -247
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +428 -428
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +98 -98
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +181 -181
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +425 -425
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +155 -155
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +183 -183
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +154 -154
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +151 -151
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +240 -240
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +404 -404
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +110 -110
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +138 -138
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +157 -157
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +235 -235
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +147 -147
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +412 -412
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +245 -245
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +97 -97
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +105 -105
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +245 -245
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +259 -259
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +200 -200
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +250 -250
- package/dist/session/execution.js +165 -165
- package/dist/session/generate.js +202 -202
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +147 -147
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +141 -141
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +167 -167
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +254 -254
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +182 -182
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +149 -149
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +86 -86
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +233 -233
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +204 -204
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +247 -247
- package/dist/session/usage.js +1 -1
- package/dist/session.js +237 -237
- package/dist/shared-cache.js +1 -1
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +156 -156
- package/dist/snapshot.js +104 -104
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +178 -178
- package/dist/tool/plugin/artifact.js +232 -232
- package/dist/tool/plugin/edit.js +167 -167
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +161 -161
- package/dist/tool/plugin/grep.js +170 -170
- package/dist/tool/plugin/image-generate.js +243 -243
- package/dist/tool/plugin/mcp-resource.js +164 -164
- package/dist/tool/plugin/opencode.js +163 -163
- package/dist/tool/plugin/patch.js +168 -168
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +172 -172
- package/dist/tool/plugin/schedule.js +251 -251
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +240 -240
- package/dist/tool/plugin/todo.js +151 -151
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +168 -168
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/usage-limits.js +94 -94
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +89 -89
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/repository-cache-2jjfs7g5.js +0 -16
- package/dist/chunks/repository-cache-f8ma18fn.js +0 -18
- package/dist/chunks/repository-cache-gf5rrebp.js +0 -571
- package/dist/chunks/repository-cache-x0g2yw4m.js +0 -26
- package/dist/chunks/repository-cache-x7kkwesj.js +0 -265
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-108x4f4w.js → tool-108x4f4w.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kah00gy.js → tool-1kah00gy.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2bv980vf.js → tool-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3af0jn4w.js → tool-3af0jn4w.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4qk9sjk2.js → tool-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-5w3e23ze.js → tool-5w3e23ze.js} +0 -0
- /package/dist/chunks/{repository-cache-6agm2x70.js → tool-6agm2x70.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-84wd9syh.js → tool-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-beh6qq61.js → tool-beh6qq61.js} +0 -0
- /package/dist/chunks/{repository-cache-bhmrqjy3.js → tool-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cqv5kn06.js → tool-cqv5kn06.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-ean2d8b5.js → tool-ean2d8b5.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-fkpq3x5p.js → tool-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jwr30sdr.js → tool-jwr30sdr.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-m18g726c.js → tool-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-nh4v3znn.js → tool-nh4v3znn.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-p71gwv9c.js → tool-p71gwv9c.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-syrav9an.js → tool-syrav9an.js} +0 -0
- /package/dist/chunks/{repository-cache-t03h4f5z.js → tool-t03h4f5z.js} +0 -0
- /package/dist/chunks/{repository-cache-ty7weeps.js → tool-ty7weeps.js} +0 -0
- /package/dist/chunks/{repository-cache-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-cache-vtarvj67.js → tool-vtarvj67.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-z0h12gs8.js → tool-z0h12gs8.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → tool-z9919s4g.js} +0 -0
- /package/dist/chunks/{repository-cache-zxpyjp51.js → tool-zxpyjp51.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service91,
|
|
3
|
+
node95
|
|
4
|
+
} from "./tool-2r8wnwkh.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
16
|
+
ID: () => ID12,
|
|
17
|
+
Info: () => Info15,
|
|
18
|
+
NotFoundError: () => NotFoundError11,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service67,
|
|
21
|
+
node: () => node70
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { isSqlError } from "effect/sql/SqlError";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID12 = PermissionSaved.ID;
|
|
29
|
+
var Info15 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
32
|
-
id:
|
|
31
|
+
class NotFoundError11 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
|
+
id: ID12
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
37
|
-
id:
|
|
37
|
+
id: ID12,
|
|
38
38
|
action: Schema.String,
|
|
39
39
|
resource: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service67 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const db = (yield*
|
|
45
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
46
|
+
const db = (yield* Service91).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
49
49
|
return rows.map(info);
|
|
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
52
52
|
if (!input.resources.length)
|
|
53
53
|
return;
|
|
54
54
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
55
|
-
id:
|
|
55
|
+
id: ID12.create(),
|
|
56
56
|
project_id: input.projectID,
|
|
57
57
|
action: input.action,
|
|
58
58
|
resource
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError11({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError11({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service67.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node70 = makeGlobalNode({ service: Service67, layer, deps: [node95] });
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { ID12, Info15, NotFoundError11, ConflictError2, Service67, node70, exports_saved };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service90,
|
|
3
|
+
node94
|
|
4
|
+
} from "./tool-5r3wrmp5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node81
|
|
8
|
+
} from "./tool-75c0yt7x.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service86,
|
|
11
|
+
node90
|
|
12
|
+
} from "./tool-e53hqhbg.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref5,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service85,
|
|
16
|
+
node89
|
|
17
|
+
} from "./tool-y3bjyseh.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-5kn2gf19.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service66,
|
|
26
|
+
node69
|
|
27
|
+
} from "./tool-eqkq82nh.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service56,
|
|
30
|
+
node58
|
|
31
|
+
} from "./tool-2y3daeve.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./tool-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service21,
|
|
41
|
+
node: () => node24
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -46,15 +46,15 @@ import { LocationEvent } from "@opencode/schema/location-event";
|
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
var durableSessionEventTypes = new Set(SessionEvent2.DurableDefinitions.map((definition) => definition.type));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service21 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
50
50
|
}
|
|
51
|
-
var layer = Layer.effect(
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const location = yield*
|
|
54
|
-
const permission = yield*
|
|
55
|
-
const forms = yield*
|
|
56
|
-
const rpc = yield*
|
|
57
|
-
const project = yield*
|
|
51
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
52
|
+
const bus = yield* Service90;
|
|
53
|
+
const location = yield* Service85;
|
|
54
|
+
const permission = yield* Service66;
|
|
55
|
+
const forms = yield* Service78;
|
|
56
|
+
const rpc = yield* Service56;
|
|
57
|
+
const project = yield* Service86;
|
|
58
58
|
const scope = yield* Effect.scope;
|
|
59
59
|
const self = canonical3(Ref5.make({ directory: location.directory, workspaceID: location.workspaceID }));
|
|
60
60
|
yield* project.activate(location.project.id);
|
|
@@ -85,7 +85,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
85
85
|
});
|
|
86
86
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
87
87
|
}).pipe(Effect.uninterruptible);
|
|
88
|
-
return
|
|
88
|
+
return Service21.of({
|
|
89
89
|
isClosed: () => closed,
|
|
90
90
|
shutdown,
|
|
91
91
|
awaitShutdown: Deferred.await(done),
|
|
@@ -97,10 +97,10 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
97
97
|
isRetained: () => retained > 0
|
|
98
98
|
});
|
|
99
99
|
}));
|
|
100
|
-
var
|
|
101
|
-
service:
|
|
100
|
+
var node24 = makeLocationNode({
|
|
101
|
+
service: Service21,
|
|
102
102
|
layer,
|
|
103
|
-
deps: [
|
|
103
|
+
deps: [node94, node89, node69, node90, node81, node58]
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { Service21, node24, exports_location_lifecycle };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions7 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions7, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions7,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key4,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -30,7 +30,7 @@ __export(exports_instructions7, {
|
|
|
30
30
|
import { createHash } from "crypto";
|
|
31
31
|
import { Instruction } from "@opencode/schema/instruction";
|
|
32
32
|
import { Data, Effect, Option, Schema } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Key4 = Instruction.Key;
|
|
34
34
|
var Hash2 = Instruction.Hash;
|
|
35
35
|
var Values2 = Instruction.Values;
|
|
36
36
|
var Delta2 = Instruction.Delta;
|
|
@@ -38,14 +38,14 @@ var NonValue = Data.taggedEnum();
|
|
|
38
38
|
var unavailable3 = NonValue.Unavailable();
|
|
39
39
|
var removed2 = NonValue.Removed();
|
|
40
40
|
|
|
41
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
41
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
|
|
42
42
|
get message() {
|
|
43
43
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
48
|
-
key:
|
|
48
|
+
key: Key4
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Duplicate instruction key: ${this.key}`;
|
|
@@ -213,4 +213,4 @@ function requireText(key, kind, text) {
|
|
|
213
213
|
return text;
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
-
export {
|
|
216
|
+
export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make32, combine2, read5, diff2, renderInitial2, join2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, listUpdate2, exports_instructions7 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-mt3yb1mx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID19,
|
|
6
|
+
Service79
|
|
7
|
+
} from "./tool-3pkw540f.js";
|
|
8
8
|
import {
|
|
9
9
|
key2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-6dqyy18z.js";
|
|
11
11
|
import {
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-s9m725b8.js";
|
|
14
14
|
import {
|
|
15
15
|
which2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-qaymkmh1.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
ID16,
|
|
19
|
+
Service76
|
|
20
|
+
} from "./tool-5jgwgsds.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID15
|
|
23
|
+
} from "./tool-qd895tht.js";
|
|
24
24
|
import {
|
|
25
25
|
interval2,
|
|
26
26
|
Service15,
|
|
27
27
|
fingerprint2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-djadtdmr.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-q8yjkgp4.js";
|
|
32
32
|
import {
|
|
33
33
|
onSwitch2,
|
|
34
34
|
switched2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./tool-zh6krqj4.js";
|
|
36
36
|
import {
|
|
37
37
|
activeCredential2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./tool-spbh5ss8.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/azure.ts
|
|
41
41
|
import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -70,17 +70,17 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
70
70
|
}));
|
|
71
71
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
72
72
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
73
|
-
function
|
|
73
|
+
function make17(endpoints = {
|
|
74
74
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
75
75
|
management: "https://management.azure.com"
|
|
76
76
|
}) {
|
|
77
77
|
return define({
|
|
78
78
|
id: "opencode.provider.azure",
|
|
79
79
|
effect: Effect.fn(function* (ctx) {
|
|
80
|
-
const configured = yield* configuredSettings2(
|
|
80
|
+
const configured = yield* configuredSettings2(ID16.azure);
|
|
81
81
|
const processes = yield* AppProcess.Service;
|
|
82
|
-
const credentials = yield*
|
|
83
|
-
const providers = yield*
|
|
82
|
+
const credentials = yield* Service79;
|
|
83
|
+
const providers = yield* Service76;
|
|
84
84
|
const cache = yield* Service15;
|
|
85
85
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
86
86
|
const tokens = new Map;
|
|
@@ -107,11 +107,11 @@ function make13(endpoints = {
|
|
|
107
107
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
108
108
|
yield* ctx.integration.transform((editor) => {
|
|
109
109
|
editor.method.update({
|
|
110
|
-
integrationID:
|
|
110
|
+
integrationID: ID16.azure,
|
|
111
111
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
112
112
|
});
|
|
113
113
|
editor.method.update({
|
|
114
|
-
integrationID:
|
|
114
|
+
integrationID: ID16.azure,
|
|
115
115
|
method: {
|
|
116
116
|
type: "key",
|
|
117
117
|
label: "API key",
|
|
@@ -129,7 +129,7 @@ function make13(endpoints = {
|
|
|
129
129
|
if (!available)
|
|
130
130
|
return;
|
|
131
131
|
editor.method.update({
|
|
132
|
-
integrationID:
|
|
132
|
+
integrationID: ID16.azure,
|
|
133
133
|
method: {
|
|
134
134
|
id: methodID,
|
|
135
135
|
type: "external",
|
|
@@ -149,8 +149,8 @@ function make13(endpoints = {
|
|
|
149
149
|
});
|
|
150
150
|
});
|
|
151
151
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
152
|
-
const connection = yield* ctx.integration.connection.active(
|
|
153
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
152
|
+
const connection = yield* ctx.integration.connection.active(ID16.azure);
|
|
153
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID19.make(connection.id)) : undefined;
|
|
154
154
|
return { connection, resource: credentialResource(stored?.value) };
|
|
155
155
|
});
|
|
156
156
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -189,7 +189,7 @@ function make13(endpoints = {
|
|
|
189
189
|
}));
|
|
190
190
|
const discover = Effect.fn("AzurePlugin.discover")(function* (options) {
|
|
191
191
|
const connection = loaded.connection;
|
|
192
|
-
const settings = (yield* providers.get(
|
|
192
|
+
const settings = (yield* providers.get(ID16.azure))?.settings;
|
|
193
193
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
194
194
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
195
195
|
if (loaded.connection !== connection)
|
|
@@ -219,11 +219,11 @@ function make13(endpoints = {
|
|
|
219
219
|
});
|
|
220
220
|
const apply = (next) => next ? loading.withPermit(publish(next.connection, next.found)).pipe(Effect.uninterruptible) : Effect.void;
|
|
221
221
|
const publish = Effect.fn("AzurePlugin.publish")(function* (connection, found) {
|
|
222
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
222
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID16.azure)))
|
|
223
223
|
return;
|
|
224
224
|
if (Equal.equals(found, loaded.deployments))
|
|
225
225
|
return;
|
|
226
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
226
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID16.azure)?.models.keys() ?? [], (id) => [
|
|
227
227
|
id.toLowerCase(),
|
|
228
228
|
id
|
|
229
229
|
]));
|
|
@@ -236,7 +236,7 @@ function make13(endpoints = {
|
|
|
236
236
|
yield* ctx.model.reload();
|
|
237
237
|
});
|
|
238
238
|
const refresh = discover({}).pipe(Effect.flatMap(apply));
|
|
239
|
-
const resourceFor = (provider) => provider.id ===
|
|
239
|
+
const resourceFor = (provider) => provider.id === ID16.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
240
240
|
Object.assign(loaded, yield* load());
|
|
241
241
|
yield* ctx.provider.transform((evt) => {
|
|
242
242
|
for (const item of evt.list()) {
|
|
@@ -255,7 +255,7 @@ function make13(endpoints = {
|
|
|
255
255
|
};
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
|
-
const item = evt.get(
|
|
258
|
+
const item = evt.get(ID16.azure);
|
|
259
259
|
if (!item)
|
|
260
260
|
return;
|
|
261
261
|
evt.add({
|
|
@@ -285,21 +285,21 @@ function make13(endpoints = {
|
|
|
285
285
|
}
|
|
286
286
|
if (!loaded.deployments)
|
|
287
287
|
return;
|
|
288
|
-
const catalog = models.list(
|
|
288
|
+
const catalog = models.list(ID16.azure);
|
|
289
289
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
290
290
|
for (const model of catalog) {
|
|
291
291
|
if (!deployed.has(model.id))
|
|
292
|
-
models.remove(
|
|
292
|
+
models.remove(ID16.azure, model.id);
|
|
293
293
|
}
|
|
294
294
|
for (const [id, model] of deployed) {
|
|
295
|
-
models.update(
|
|
295
|
+
models.update(ID16.azure, id, (draft) => Object.assign(draft, model));
|
|
296
296
|
}
|
|
297
297
|
});
|
|
298
298
|
yield* onSwitch2("azure", rebind().pipe(Effect.andThen(FiberHandle.run(discovery, switched2(discover, apply)))));
|
|
299
299
|
yield* rebind().pipe(Effect.andThen(FiberHandle.run(discovery, refresh)), Effect.forkScoped);
|
|
300
300
|
yield* Effect.sleep(interval2).pipe(Effect.andThen(FiberHandle.run(discovery, refresh, { onlyIfMissing: true })), Effect.forever, Effect.forkScoped);
|
|
301
301
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
302
|
-
const { credential } = yield* activeCredential2(ctx,
|
|
302
|
+
const { credential } = yield* activeCredential2(ctx, ID16.azure);
|
|
303
303
|
if (credential?.type !== "external" || credential.methodID !== methodID)
|
|
304
304
|
return;
|
|
305
305
|
const target = new URL(url);
|
|
@@ -315,7 +315,7 @@ function make13(endpoints = {
|
|
|
315
315
|
evt.request.headers.delete("x-api-key");
|
|
316
316
|
evt.request.headers.set("authorization", authorization);
|
|
317
317
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID16.azure });
|
|
319
319
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
320
320
|
const authorization = yield* bearer(evt.url);
|
|
321
321
|
if (!authorization)
|
|
@@ -324,11 +324,11 @@ function make13(endpoints = {
|
|
|
324
324
|
delete evt.headers["x-api-key"];
|
|
325
325
|
evt.headers.authorization = authorization;
|
|
326
326
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
327
|
-
}), { providerID:
|
|
327
|
+
}), { providerID: ID16.azure });
|
|
328
328
|
})
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
-
var AzurePlugin2 =
|
|
331
|
+
var AzurePlugin2 = make17();
|
|
332
332
|
function deploymentsKey(connection, credential, url) {
|
|
333
333
|
const access = credential.type === "key" ? `:${fingerprint2(credential.key)}` : "";
|
|
334
334
|
return `azure:${key2(connection)}${access}:${url}`;
|
|
@@ -343,7 +343,7 @@ function expandResourceName(baseURL, resourceName) {
|
|
|
343
343
|
return baseURL.replaceAll("${AZURE_RESOURCE_NAME}", resourceName).replaceAll("${AZURE_COGNITIVE_SERVICES_RESOURCE_NAME}", resourceName);
|
|
344
344
|
}
|
|
345
345
|
function azureProvider(provider) {
|
|
346
|
-
return provider.id ===
|
|
346
|
+
return provider.id === ID16.azure || provider.package.startsWith("@opencode/ai/providers/azure/");
|
|
347
347
|
}
|
|
348
348
|
function usable(credential) {
|
|
349
349
|
return credential?.type === "key" || credential?.type === "external" && credential.methodID === methodID;
|
|
@@ -368,11 +368,11 @@ function deployedModels(deployments, catalog) {
|
|
|
368
368
|
const model = catalogModel(models, deployment);
|
|
369
369
|
if (!model)
|
|
370
370
|
return [];
|
|
371
|
-
const id =
|
|
371
|
+
const id = ID15.make(deployment.name.toLowerCase());
|
|
372
372
|
const info = {
|
|
373
373
|
...structuredClone(model),
|
|
374
374
|
id,
|
|
375
|
-
modelID:
|
|
375
|
+
modelID: ID15.make(deployment.name),
|
|
376
376
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
377
377
|
};
|
|
378
378
|
return [[id, info]];
|
|
@@ -394,4 +394,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
394
394
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
export {
|
|
397
|
+
export { make17, AzurePlugin2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./tool-4bwthz3m.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-6zjm2phc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service46
|
|
9
|
+
} from "./tool-9v4dp1sv.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-89287pr7.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start4 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service42;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service46), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-40y6dtc2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service9,
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create4({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service9.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node11 = makeLocationNode({ service: Service9, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service9, node11, exports_location_watcher_policy };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt2 = {};
|
|
7
7
|
__export(exports_system_prompt2, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt2,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make23,
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
// src/session/runner/prompt/system.txt
|
|
13
13
|
var system_default = `You are an AI agent running in OpenCode, a coding agent harness. Help the user accomplish their goals using the tools you have available.
|
|
@@ -28,10 +28,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
30
|
// src/session/system-prompt.ts
|
|
31
|
-
function
|
|
32
|
-
return
|
|
31
|
+
function make23(tools) {
|
|
32
|
+
return render2(system_default, tools);
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function render2(prompt, tools) {
|
|
35
35
|
const instructions = [];
|
|
36
36
|
if (tools.includes("shell")) {
|
|
37
37
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -46,4 +46,4 @@ function render3(prompt, tools) {
|
|
|
46
46
|
`));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make23, render2, exports_system_prompt2 };
|