@opencode/core 0.0.0-dev-20561 → 0.0.0-dev-20562
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{filesystem-5167myhe.js → git-02w7fs5d.js} +9 -9
- package/dist/chunks/{filesystem-sgma6wrx.js → git-032cyjyw.js} +26 -26
- package/dist/chunks/{filesystem-c42w5rbs.js → git-0625jp80.js} +13 -13
- package/dist/chunks/{filesystem-nqw83y6t.js → git-07sxpann.js} +22 -22
- package/dist/chunks/{filesystem-n8df4ymx.js → git-085cx3zv.js} +3 -3
- package/dist/chunks/{filesystem-h6gabqmb.js → git-0dj7b03z.js} +11 -11
- package/dist/chunks/{filesystem-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-2pb4n73y.js → git-0spzybr5.js} +8 -8
- package/dist/chunks/{filesystem-5nv1sxm7.js → git-0srz5asd.js} +5 -5
- package/dist/chunks/{filesystem-0vbcp93d.js → git-0vbcp93d.js} +2 -2
- package/dist/chunks/{filesystem-secpxc4k.js → git-1139ch5w.js} +7 -7
- package/dist/chunks/{filesystem-p2nmdyzb.js → git-11y9zc8x.js} +10 -10
- package/dist/chunks/{filesystem-1acjjqhc.js → git-1acjjqhc.js} +1 -1
- package/dist/chunks/{filesystem-1dazxqgg.js → git-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-a1548wxn.js → git-1eyy3q5f.js} +4 -4
- package/dist/chunks/{filesystem-0p056far.js → git-1vn95jfs.js} +38 -38
- package/dist/chunks/{filesystem-0vadek73.js → git-1w4d3wec.js} +6 -6
- package/dist/chunks/{filesystem-56gdpj1q.js → git-1ygqh575.js} +9 -9
- package/dist/chunks/{filesystem-64dva6qk.js → git-22pm8dz8.js} +15 -15
- package/dist/chunks/{filesystem-5xtsng1h.js → git-23fdz8zm.js} +22 -22
- package/dist/chunks/{filesystem-2a5m3afh.js → git-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-nkbqs3g6.js → git-2hkp30bb.js} +3 -3
- package/dist/chunks/{filesystem-7dqw4kz8.js → git-2k8khapm.js} +5 -5
- package/dist/chunks/{filesystem-5c67hs8w.js → git-2p5waxg3.js} +32 -32
- package/dist/chunks/{filesystem-vr6dg64g.js → git-2r2g0atm.js} +5 -5
- package/dist/chunks/{filesystem-h2b79v29.js → git-3cegwx68.js} +2 -2
- package/dist/chunks/{filesystem-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-f99wh82f.js → git-3g5wjmhy.js} +4 -4
- package/dist/chunks/{filesystem-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-fx0ft7bw.js → git-3pf8vdgx.js} +16 -16
- package/dist/chunks/{filesystem-fme8rgsj.js → git-3q2syvxg.js} +2 -2
- package/dist/chunks/{filesystem-gx4wbphy.js → git-3ra56d4r.js} +8 -8
- package/dist/chunks/{filesystem-ee5sde4w.js → git-3rg165q2.js} +11 -11
- package/dist/chunks/{filesystem-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{filesystem-aaxagp5t.js → git-47nsx91x.js} +11 -11
- package/dist/chunks/{filesystem-h31epwvj.js → git-4eew9g2y.js} +14 -14
- package/dist/chunks/{filesystem-zek9rv4e.js → git-4h9agmp5.js} +4 -4
- package/dist/chunks/{filesystem-3cy6ygha.js → git-4hs31730.js} +7 -7
- package/dist/chunks/{filesystem-4ts7tf6z.js → git-4ts7tf6z.js} +2 -2
- package/dist/chunks/{filesystem-54ma36ye.js → git-54ma36ye.js} +1 -1
- package/dist/chunks/{filesystem-kteg0bd6.js → git-5asaxwz0.js} +11 -11
- package/dist/chunks/{filesystem-5daktx2q.js → git-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-aej1k0m3.js → git-5fdwesh3.js} +17 -17
- package/dist/chunks/{filesystem-mt3dh78v.js → git-5fqehrjh.js} +15 -15
- package/dist/chunks/{filesystem-nqxj0yn4.js → git-5pyjqqve.js} +2 -2
- package/dist/chunks/{filesystem-zqaa94x3.js → git-5rd3e1sf.js} +39 -39
- package/dist/chunks/{filesystem-5t3nmthw.js → git-5t3nmthw.js} +2 -2
- package/dist/chunks/git-61eafm4z.js +26 -0
- package/dist/chunks/{filesystem-xd0jjt73.js → git-64w61fh4.js} +7 -7
- package/dist/chunks/{filesystem-669tq793.js → git-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-50vxqkrt.js → git-6e7k9m6e.js} +7 -7
- package/dist/chunks/{filesystem-ht5zbj26.js → git-6f93rc7r.js} +2 -2
- package/dist/chunks/{filesystem-5s1dr8ae.js → git-6j8xr8ks.js} +11 -11
- package/dist/chunks/{filesystem-82p5sc74.js → git-6n2h34sj.js} +9 -9
- package/dist/chunks/{filesystem-espax8zg.js → git-6q3g8xg3.js} +4 -4
- package/dist/chunks/{filesystem-7gk56s9p.js → git-6xee4v4d.js} +21 -21
- package/dist/chunks/{filesystem-zfs19yjd.js → git-7aehpz1c.js} +14 -14
- package/dist/chunks/{filesystem-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-bd0wg847.js → git-7k2b1ern.js} +33 -33
- package/dist/chunks/{filesystem-g3wadahe.js → git-7v7sj3g7.js} +11 -11
- package/dist/chunks/{filesystem-1dvck2a7.js → git-84h8c373.js} +2 -2
- package/dist/chunks/{filesystem-4a0nv7mx.js → git-8ank75fn.js} +8 -8
- package/dist/chunks/{filesystem-kyc74hmy.js → git-8c44v4ms.js} +33 -33
- package/dist/chunks/{filesystem-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-d3efwvz5.js → git-8gbtfts9.js} +48 -48
- package/dist/chunks/{filesystem-kjfdeayr.js → git-8ha6ga5e.js} +8 -8
- package/dist/chunks/{filesystem-hj8vgj88.js → git-8pbvrwxc.js} +15 -15
- package/dist/chunks/{filesystem-jervv9x6.js → git-8pfwr1aj.js} +5 -5
- package/dist/chunks/{filesystem-d19qcdcp.js → git-8tgyg7gg.js} +18 -18
- package/dist/chunks/{filesystem-wjk84ptv.js → git-919a196f.js} +25 -25
- package/dist/chunks/{filesystem-eb1dxvtt.js → git-91jdmawh.js} +10 -10
- package/dist/chunks/{filesystem-vnqerq2z.js → git-976qdcq7.js} +15 -15
- package/dist/chunks/{filesystem-2d5yxwhn.js → git-9djjq72w.js} +2 -2
- package/dist/chunks/{filesystem-yvxbrs33.js → git-9eg3er54.js} +9 -9
- package/dist/chunks/{filesystem-05s1xpx9.js → git-9ektmz52.js} +3 -3
- package/dist/chunks/{filesystem-jeegv1qz.js → git-9qkyr97s.js} +28 -28
- package/dist/chunks/{filesystem-0g731nkn.js → git-9rwve19t.js} +34 -34
- package/dist/chunks/git-9sh4wc5j.js +18 -0
- package/dist/chunks/{filesystem-csgf08gg.js → git-9tfjsxb9.js} +13 -13
- package/dist/chunks/{filesystem-2wdzasa3.js → git-9tfmb0e9.js} +24 -24
- package/dist/chunks/{filesystem-bhmagzz7.js → git-9tkmr5rm.js} +5 -5
- package/dist/chunks/{filesystem-61ga223q.js → git-9wdsrwsz.js} +15 -15
- package/dist/chunks/{filesystem-gt8z7hnk.js → git-9xfshyvk.js} +7 -7
- package/dist/chunks/{filesystem-72gzdak0.js → git-a0jevnqa.js} +18 -18
- package/dist/chunks/{filesystem-nrdmrqsx.js → git-a8bn8zg0.js} +4 -4
- package/dist/chunks/{filesystem-aaet6srn.js → git-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-addxnjmp.js → git-addxnjmp.js} +1 -1
- package/dist/chunks/{filesystem-xmcfxvam.js → git-ajn6tt43.js} +8 -8
- package/dist/chunks/{filesystem-e53c762s.js → git-apgk1548.js} +4 -4
- package/dist/chunks/{filesystem-8606fqv4.js → git-arnr7kcy.js} +14 -14
- package/dist/chunks/{filesystem-68dcddmz.js → git-awrbzsy3.js} +8 -8
- package/dist/chunks/{filesystem-86mzb83b.js → git-b03nnz1c.js} +16 -16
- package/dist/chunks/{filesystem-zyk1yjk8.js → git-b3f8fkhc.js} +5 -5
- package/dist/chunks/{filesystem-b6gygkdw.js → git-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-mmhfxctp.js → git-bk15cxg4.js} +29 -29
- package/dist/chunks/{filesystem-vvecbeba.js → git-bmdjhshj.js} +20 -20
- package/dist/chunks/{filesystem-eycb1p8a.js → git-bp3122xd.js} +20 -20
- package/dist/chunks/{filesystem-dhcb13vn.js → git-bq7b46md.js} +11 -11
- package/dist/chunks/{filesystem-ppnybpah.js → git-bs42k8g9.js} +18 -18
- package/dist/chunks/{filesystem-snf1tfdw.js → git-bsprd9wx.js} +6 -6
- package/dist/chunks/{filesystem-gwfpf1r0.js → git-bxhwpntz.js} +26 -26
- package/dist/chunks/{filesystem-gqk7pm7c.js → git-cehjrd1g.js} +33 -33
- package/dist/chunks/{filesystem-mm0ehgq1.js → git-chtmdyda.js} +27 -27
- package/dist/chunks/{filesystem-jf9xte2j.js → git-cn5gcc51.js} +41 -41
- package/dist/chunks/{filesystem-jyj71esj.js → git-ct466j5d.js} +13 -13
- package/dist/chunks/{filesystem-0darn3w3.js → git-cvfx34b7.js} +3 -3
- package/dist/chunks/{filesystem-epephavf.js → git-d18zaw37.js} +11 -11
- package/dist/chunks/{filesystem-sxz6gkc3.js → git-d216944b.js} +4 -4
- package/dist/chunks/{filesystem-mwwxnxty.js → git-d9sgy5v4.js} +4 -4
- package/dist/chunks/{filesystem-1nwxscpy.js → git-dfzjqex4.js} +5 -5
- package/dist/chunks/{filesystem-qmqgtz8f.js → git-djszqvmq.js} +9 -9
- package/dist/chunks/{filesystem-21mjyg2m.js → git-dnt63nt6.js} +10 -10
- package/dist/chunks/{filesystem-dpkg50ah.js → git-dpkg50ah.js} +1 -1
- package/dist/chunks/{filesystem-p4pj0byg.js → git-ds70c4zn.js} +16 -16
- package/dist/chunks/{filesystem-g6yfr6ja.js → git-dssbfrwz.js} +5 -5
- package/dist/chunks/{filesystem-cmwkp3r5.js → git-dv1qgsyq.js} +8 -8
- package/dist/chunks/{filesystem-dt1mmnkg.js → git-dyf3bp0c.js} +54 -54
- package/dist/chunks/{filesystem-jmn6tp13.js → git-e0efhqhc.js} +3 -3
- package/dist/chunks/{filesystem-s8d7rejh.js → git-eaj1djv9.js} +6 -6
- package/dist/chunks/{filesystem-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-cwvd40hs.js → git-eg3s8dne.js} +8 -8
- package/dist/chunks/{filesystem-wc87bz9b.js → git-eq4s6165.js} +21 -21
- package/dist/chunks/{filesystem-2e1yz4t0.js → git-erac1yxk.js} +13 -13
- package/dist/chunks/{filesystem-etq0c3wd.js → git-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-1178x954.js → git-ex4ebww2.js} +24 -24
- package/dist/chunks/{filesystem-fcvkxbgs.js → git-f3bfwcjn.js} +17 -17
- package/dist/chunks/{filesystem-qhrb4a35.js → git-f4vb4mwh.js} +22 -22
- package/dist/chunks/{filesystem-axs6pdy0.js → git-f62qkzqr.js} +5 -5
- package/dist/chunks/{filesystem-745q83q9.js → git-f66p4zpv.js} +25 -25
- package/dist/chunks/{filesystem-71az546q.js → git-f75zav2x.js} +2 -2
- package/dist/chunks/{filesystem-dypdz9hf.js → git-f77c7bqj.js} +26 -26
- package/dist/chunks/{filesystem-en2hpwz4.js → git-fdrfvwaq.js} +15 -15
- package/dist/chunks/{filesystem-ff11qc79.js → git-fhhj5rn0.js} +9 -9
- package/dist/chunks/{filesystem-z6qgms2n.js → git-fngamann.js} +24 -24
- package/dist/chunks/{filesystem-zf29esk9.js → git-fr1cxnem.js} +11 -11
- package/dist/chunks/{filesystem-ap0z94yk.js → git-gc1qnngx.js} +1 -1
- package/dist/chunks/{filesystem-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-tx57kkma.js → git-ghhqx45q.js} +22 -22
- package/dist/chunks/{filesystem-b674v2dg.js → git-gj71zhbs.js} +5 -5
- package/dist/chunks/{filesystem-kevfspn8.js → git-gjw4ctvs.js} +7 -7
- package/dist/chunks/{filesystem-7mqtmdfv.js → git-gk9savye.js} +1 -1
- package/dist/chunks/{filesystem-6mrppxqh.js → git-gnyqawz5.js} +13 -13
- package/dist/chunks/{filesystem-2kn5e7ew.js → git-gr6b6mj1.js} +11 -11
- package/dist/chunks/{filesystem-z5earm0j.js → git-gvdwxq1q.js} +13 -13
- package/dist/chunks/{filesystem-w8djw5a7.js → git-h04zhhvt.js} +5 -5
- package/dist/chunks/{filesystem-vr31stga.js → git-h1fbqw2s.js} +1 -1
- package/dist/chunks/{filesystem-20yrtfvs.js → git-h25r50c9.js} +29 -29
- package/dist/chunks/{filesystem-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-g4kgyb8v.js → git-h7sfwyf5.js} +10 -10
- package/dist/chunks/{filesystem-dqz32msn.js → git-h7sh9wd4.js} +8 -8
- package/dist/chunks/{filesystem-c8bydgjz.js → git-h896pcm5.js} +6 -6
- package/dist/chunks/{filesystem-6hxqkvwn.js → git-h96n571k.js} +1 -1
- package/dist/chunks/{filesystem-ft0syenm.js → git-hdf9gcx5.js} +31 -31
- package/dist/chunks/{filesystem-b49trrwf.js → git-hj6gy8t6.js} +15 -15
- package/dist/chunks/{filesystem-0b5d4wqg.js → git-hk69fs6d.js} +24 -24
- package/dist/chunks/{filesystem-9mbktg3q.js → git-j33wa8bp.js} +6 -6
- package/dist/chunks/{filesystem-j56e64zr.js → git-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-te6tp5cr.js → git-j85a6hbw.js} +28 -28
- package/dist/chunks/{filesystem-ptwr3tsj.js → git-jpgxd47a.js} +6 -6
- package/dist/chunks/{filesystem-s7pdhzrp.js → git-jq3weww3.js} +14 -14
- package/dist/chunks/{filesystem-da721fkj.js → git-jrb6db6m.js} +11 -11
- package/dist/chunks/{filesystem-wnm70ssr.js → git-jt3xwphd.js} +18 -18
- package/dist/chunks/{filesystem-9e5bzkjp.js → git-kb9j3d72.js} +3 -3
- package/dist/chunks/{filesystem-bh7b7fwa.js → git-kt8c8h95.js} +15 -15
- package/dist/chunks/{filesystem-h4bey8yr.js → git-kv6a6hv4.js} +18 -18
- package/dist/chunks/{filesystem-8bsq9cmc.js → git-m1pm51kw.js} +12 -12
- package/dist/chunks/{filesystem-44e8p68v.js → git-m35jab33.js} +3 -3
- package/dist/chunks/{filesystem-m3fdjcah.js → git-m3fdjcah.js} +1 -1
- package/dist/chunks/{filesystem-ncfw2m6a.js → git-m6zw8jde.js} +12 -12
- package/dist/chunks/{filesystem-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-a1gpj94z.js → git-mhkvc446.js} +3 -3
- package/dist/chunks/{filesystem-hf0fjtc4.js → git-mtjxrmy2.js} +11 -11
- package/dist/chunks/{filesystem-ybjb50wp.js → git-mvaa3kkv.js} +11 -11
- package/dist/chunks/{filesystem-n1n192bv.js → git-n1n192bv.js} +1 -1
- package/dist/chunks/{filesystem-fwwk8vbp.js → git-n37c4crj.js} +9 -9
- package/dist/chunks/{filesystem-9k8khh75.js → git-n5fmv0z0.js} +15 -15
- package/dist/chunks/{filesystem-t35etwb9.js → git-n86q8ppv.js} +13 -13
- package/dist/chunks/{filesystem-ns3eape4.js → git-ns3eape4.js} +1 -1
- package/dist/chunks/{filesystem-hkh5g506.js → git-nvmhbv8t.js} +11 -11
- package/dist/chunks/{filesystem-z7bsjx09.js → git-nwp2eysc.js} +11 -11
- package/dist/chunks/{filesystem-m4fxjmpc.js → git-p3q28g57.js} +9 -9
- package/dist/chunks/{filesystem-z2fhbmnd.js → git-p4c5q89g.js} +20 -20
- package/dist/chunks/{filesystem-33y1fd5k.js → git-p6wspkqp.js} +4 -4
- package/dist/chunks/{filesystem-2za63s1q.js → git-pajnrf35.js} +321 -321
- package/dist/chunks/{filesystem-xew8gt5p.js → git-peat1812.js} +27 -27
- package/dist/chunks/{filesystem-b1ejk53y.js → git-ph09dhrs.js} +18 -18
- package/dist/chunks/{filesystem-s85m4ty3.js → git-pha45w80.js} +1 -1
- package/dist/chunks/{filesystem-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-jkgq88nr.js → git-pnepdkm6.js} +13 -13
- package/dist/chunks/{filesystem-zc5g640q.js → git-pvxbbp0m.js} +8 -8
- package/dist/chunks/{filesystem-vt69289g.js → git-pwnkrwfc.js} +84 -84
- package/dist/chunks/{filesystem-q0xm7vwc.js → git-q0xm7vwc.js} +2 -2
- package/dist/chunks/{filesystem-ykk2czw6.js → git-q1h9zn82.js} +29 -29
- package/dist/chunks/{filesystem-afe1rz3j.js → git-qa8e0n6b.js} +17 -17
- package/dist/chunks/{filesystem-fsxfdkb2.js → git-qak75e21.js} +15 -15
- package/dist/chunks/{filesystem-a7cdrn8g.js → git-qgqd6w9k.js} +5 -5
- package/dist/chunks/{filesystem-qnc92qwc.js → git-qnc92qwc.js} +1 -1
- package/dist/chunks/{filesystem-ddf5b0s2.js → git-qp5539xb.js} +19 -19
- package/dist/chunks/{filesystem-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-qxjc9qry.js → git-qxjc9qry.js} +3 -3
- package/dist/chunks/{filesystem-kf3zv6hf.js → git-qyveymvs.js} +11 -11
- package/dist/chunks/{filesystem-sfa3hexk.js → git-r30cgyyt.js} +13 -13
- package/dist/chunks/{filesystem-ng5taz21.js → git-r9jkr8ab.js} +9 -9
- package/dist/chunks/{filesystem-bp3dz00c.js → git-r9xrehfg.js} +9 -9
- package/dist/chunks/{filesystem-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-nkdq3f4j.js → git-re2vcceh.js} +17 -17
- package/dist/chunks/{filesystem-tv0940e9.js → git-ryzqbc1d.js} +35 -35
- package/dist/chunks/{filesystem-gbm58kyz.js → git-s04zhn75.js} +18 -18
- package/dist/chunks/{filesystem-2wcm31wb.js → git-sm3c74vq.js} +36 -36
- package/dist/chunks/{filesystem-k70p9jzb.js → git-srq8z0b0.js} +9 -9
- package/dist/chunks/{filesystem-qgyv1dwh.js → git-sy2azgy3.js} +6 -6
- package/dist/chunks/{filesystem-pw0ckph3.js → git-t1fggk03.js} +10 -10
- package/dist/chunks/{filesystem-2w3n3m8j.js → git-t7wjs1k1.js} +8 -8
- package/dist/chunks/{filesystem-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-dyyz5283.js → git-tbcsecz1.js} +6 -6
- package/dist/chunks/{filesystem-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{filesystem-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-fahsxrte.js → git-tf5f2wee.js} +9 -9
- package/dist/chunks/{filesystem-ez14c0m1.js → git-tghhmhz1.js} +30 -30
- package/dist/chunks/{filesystem-3wdkwvwj.js → git-tgnesedn.js} +10 -10
- package/dist/chunks/{filesystem-b4twkq7r.js → git-ts23464c.js} +8 -8
- package/dist/chunks/{filesystem-zr4r5d69.js → git-ttd0g9zj.js} +42 -42
- package/dist/chunks/{filesystem-8zz7qfd2.js → git-txb006np.js} +16 -16
- package/dist/chunks/{filesystem-jw6e3k9x.js → git-ty8w44b9.js} +25 -25
- package/dist/chunks/{filesystem-qyfgy2gq.js → git-tywqas9g.js} +43 -43
- package/dist/chunks/{filesystem-v0es1rhs.js → git-v0es1rhs.js} +2 -2
- package/dist/chunks/{filesystem-vafjtnbs.js → git-v2sw3hbb.js} +10 -10
- package/dist/chunks/{filesystem-rt07f39r.js → git-v6kg9bvn.js} +30 -30
- package/dist/chunks/{filesystem-e66qqpgz.js → git-v9hva73f.js} +20 -20
- package/dist/chunks/{filesystem-z25t9qfb.js → git-vb5q025c.js} +23 -23
- package/dist/chunks/{filesystem-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-arz7hw7x.js → git-vx3jgdek.js} +2 -2
- package/dist/chunks/{filesystem-taex66d2.js → git-vxhks8wc.js} +3 -3
- package/dist/chunks/{filesystem-6y4y1s1z.js → git-vyd7j12k.js} +26 -26
- package/dist/chunks/{filesystem-vzcthcp8.js → git-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
- package/dist/chunks/{filesystem-g5w8qwbj.js → git-w19d8598.js} +7 -7
- package/dist/chunks/{filesystem-w1eejvng.js → git-w1eejvng.js} +1 -1
- package/dist/chunks/{filesystem-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-1k07r218.js → git-wfst940x.js} +9 -9
- package/dist/chunks/{filesystem-ptnpxtm5.js → git-whvwv6ra.js} +22 -22
- package/dist/chunks/{filesystem-demj5k7q.js → git-wrjghkwj.js} +10 -10
- package/dist/chunks/{filesystem-eh93c3s7.js → git-wwdvbdba.js} +6 -6
- package/dist/chunks/{filesystem-7g0a4xbf.js → git-wxzz7e6p.js} +3 -3
- package/dist/chunks/{filesystem-q86s7tss.js → git-wz76yb0y.js} +30 -30
- package/dist/chunks/{filesystem-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-e656h771.js → git-x4vmkg1m.js} +19 -19
- package/dist/chunks/{filesystem-r3z47bx0.js → git-x5b87w46.js} +18 -18
- package/dist/chunks/{filesystem-1pb87kts.js → git-x6xfk5f4.js} +10 -10
- package/dist/chunks/{filesystem-zfs8ae4p.js → git-xasyx0as.js} +4 -4
- package/dist/chunks/{filesystem-k5981vyk.js → git-xazf37qb.js} +9 -9
- package/dist/chunks/{filesystem-tfryn9s8.js → git-xg9qb7vy.js} +60 -60
- package/dist/chunks/{filesystem-j7qdy4kr.js → git-xk2ms0jt.js} +13 -13
- package/dist/chunks/{filesystem-xkntkrq7.js → git-xkntkrq7.js} +2 -2
- package/dist/chunks/{filesystem-a1gzp32g.js → git-xrs0cvz4.js} +19 -19
- package/dist/chunks/{filesystem-qbqbaz6q.js → git-xxxym934.js} +4 -4
- package/dist/chunks/{filesystem-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/git-y364wss9.js +253 -0
- package/dist/chunks/{filesystem-v8r5by3x.js → git-yad7bjbc.js} +82 -82
- package/dist/chunks/{filesystem-hz0q9sdq.js → git-yf10kn3d.js} +8 -8
- package/dist/chunks/{filesystem-2k4z4ex5.js → git-ypwwrrgz.js} +127 -127
- package/dist/chunks/{filesystem-vgx6weyf.js → git-yvvvp4gn.js} +8 -8
- package/dist/chunks/{filesystem-fjt2jd2k.js → git-yz7d0qdx.js} +42 -42
- package/dist/chunks/{filesystem-m4g8rqwq.js → git-yzq58wab.js} +6 -6
- package/dist/chunks/{filesystem-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-5cpk2dg7.js → git-z2ph3y3a.js} +27 -27
- package/dist/chunks/{filesystem-7tbpabav.js → git-z3jrwe2t.js} +15 -15
- package/dist/chunks/{filesystem-dhmh7aw6.js → git-zav06jzw.js} +4 -4
- package/dist/chunks/{filesystem-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-r9jqn31q.js → git-zte79gky.js} +13 -13
- package/dist/chunks/{filesystem-fnnra18v.js → git-zw12wknf.js} +11 -11
- package/dist/chunks/{filesystem-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/chunks/{filesystem-rz34hq66.js → git-zyzcc58f.js} +25 -25
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +74 -74
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +8 -8
- 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 +91 -91
- 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/photon.js +2 -2
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +215 -215
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -222
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +9 -9
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +91 -91
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/filesystem-brhkvxaw.js +0 -253
- package/dist/chunks/filesystem-ctefx7dc.js +0 -18
- package/dist/chunks/filesystem-q0w5zgnd.js +0 -26
- /package/dist/chunks/{filesystem-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-34c7v6d4.js → git-34c7v6d4.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3t0ybcrp.js → git-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → git-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → git-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → git-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node86
|
|
5
|
+
} from "./git-nvmhbv8t.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service76,
|
|
8
|
+
node79
|
|
9
|
+
} from "./git-zw12wknf.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event10,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service46,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node49,
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service46 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event10 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service76;
|
|
81
81
|
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event10.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service46.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event10.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event10.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node49 = makeGlobalNode({ service: Service46, layer, deps: [httpClient, node79, node86] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service46, Event10, inspect2, resolve2, node49, exports_wellknown };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service57,
|
|
8
|
+
node59
|
|
9
|
+
} from "./git-23fdz8zm.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service20,
|
|
24
|
+
node: () => node22
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service20 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service57;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service20.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node22 = makeLocationNode({ service: Service20, layer, deps: [node59, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error2, InvalidPatternError2,
|
|
180
|
+
export { Error2, InvalidPatternError2, Service20, node22, exports_ripgrep };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-6e7k9m6e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service57
|
|
12
|
+
} from "./git-23fdz8zm.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service20
|
|
15
|
+
} from "./git-7aehpz1c.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./git-9tfmb0e9.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service61
|
|
24
|
+
} from "./git-5rd3e1sf.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service16
|
|
27
|
+
} from "./git-ds70c4zn.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./git-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input4,
|
|
37
|
+
Output: () => Output3,
|
|
38
|
+
Plugin: () => Plugin39,
|
|
39
|
+
name: () => name4,
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name4 = "glob";
|
|
46
|
+
var Input4 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input10 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output3 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin39 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
69
|
+
const environment = yield* Service57;
|
|
70
|
+
const ripgrep = yield* Service20;
|
|
71
71
|
const location = yield* Service80;
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
72
|
+
const access = yield* Service16;
|
|
73
|
+
const permission = yield* Service61;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name4,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input4,
|
|
79
|
+
output: Output3,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name4,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin31 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name4, Input4, Output3, toModelContent2, Plugin39, exports_glob };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-6e7k9m6e.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service44
|
|
9
|
+
} from "./git-ttd0g9zj.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-xrs0cvz4.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin19
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin19 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service44;
|
|
35
35
|
const location = yield* Service80;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin19, exports_reference };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-qnc92qwc.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-3cegwx68.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service74,
|
|
10
|
+
node: () => node77
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service74 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service74.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node77 = makeLocationNode({ service: Service74, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service74, node77, exports_hooks };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-6e7k9m6e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service57
|
|
12
|
+
} from "./git-23fdz8zm.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service20
|
|
16
|
+
} from "./git-7aehpz1c.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-9tfmb0e9.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service61
|
|
26
|
+
} from "./git-5rd3e1sf.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service16
|
|
29
|
+
} from "./git-ds70c4zn.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./git-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input12,
|
|
39
|
+
Output: () => Output8,
|
|
40
|
+
Plugin: () => Plugin49,
|
|
41
|
+
name: () => name12,
|
|
42
|
+
toModelContent: () => toModelContent6
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name12 = "grep";
|
|
48
|
+
var Input12 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input9 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output8 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent6 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin49 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
89
|
+
const environment = yield* Service57;
|
|
90
|
+
const ripgrep = yield* Service20;
|
|
91
91
|
const location = yield* Service80;
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
92
|
+
const access = yield* Service16;
|
|
93
|
+
const permission = yield* Service61;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name12,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input12,
|
|
99
|
+
output: Output8,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name12,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin30 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent6(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin30 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name12, Input12, Output8, toModelContent6, Plugin49, exports_grep };
|