@opencode/core 0.0.0-dev-19902 → 0.0.0-dev-19904
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +91 -91
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{vcs-jrj7x53v.js → state-00zhev0m.js} +174 -174
- package/dist/chunks/{vcs-eaj1djv9.js → state-02nrjc1r.js} +4 -4
- package/dist/chunks/{vcs-zxgjg8c8.js → state-06av6aqk.js} +5 -5
- package/dist/chunks/{vcs-0m9hvdjb.js → state-07xyahhy.js} +30 -30
- package/dist/chunks/{vcs-vyeeb4fx.js → state-082a02mf.js} +28 -28
- package/dist/chunks/{vcs-wa37zzmg.js → state-0b59w6b8.js} +21 -21
- package/dist/chunks/{vcs-vv7f9fa9.js → state-0bd7yhfg.js} +9 -9
- package/dist/chunks/{vcs-kybf328v.js → state-0dm5naev.js} +8 -8
- package/dist/chunks/{vcs-af04s6ss.js → state-0f9afca0.js} +5 -5
- package/dist/chunks/{vcs-1fb9mvs3.js → state-0j67avv1.js} +8 -8
- package/dist/chunks/{vcs-fcrkznn8.js → state-0jwsre1p.js} +5 -5
- package/dist/chunks/{vcs-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-0q0f95c6.js → state-0q0f95c6.js} +1 -1
- package/dist/chunks/{vcs-ktgztd0g.js → state-0rg4ktbj.js} +5 -5
- package/dist/chunks/{vcs-ajtzfeyv.js → state-0sxvvb3w.js} +27 -27
- package/dist/chunks/{vcs-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-w9g7ydng.js → state-1pch5d31.js} +17 -17
- package/dist/chunks/{vcs-d48v28sm.js → state-20pcmxm3.js} +28 -28
- package/dist/chunks/{vcs-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{vcs-2402vzrj.js → state-2402vzrj.js} +1 -1
- package/dist/chunks/{vcs-8x5gmx2f.js → state-24n67b4a.js} +5 -5
- package/dist/chunks/{vcs-s1nrrhvy.js → state-24x3edfr.js} +41 -41
- package/dist/chunks/{vcs-n4tkj91s.js → state-26gnd6ny.js} +15 -15
- package/dist/chunks/{vcs-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-afs5v1dd.js → state-2jfqkynx.js} +28 -28
- package/dist/chunks/{vcs-gddtx3qm.js → state-2q15ef5p.js} +6 -6
- package/dist/chunks/{vcs-ekrqgzb7.js → state-2zazyk1c.js} +18 -18
- package/dist/chunks/{vcs-8qfhj5ez.js → state-2zwyj5vg.js} +35 -35
- package/dist/chunks/{vcs-57tmmswg.js → state-3bf73811.js} +14 -14
- package/dist/chunks/{vcs-bha4atvq.js → state-3c4e3q8d.js} +4 -4
- package/dist/chunks/{vcs-cqy8643h.js → state-3djcpfd1.js} +13 -13
- package/dist/chunks/{vcs-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-hxnndwj0.js → state-3hatapfr.js} +13 -13
- package/dist/chunks/{vcs-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-vmwh049b.js → state-3ktbe3hf.js} +3 -3
- package/dist/chunks/{vcs-1jp5d5qx.js → state-3sb31twn.js} +3 -3
- package/dist/chunks/{vcs-jcnasrqh.js → state-3sm54r8q.js} +14 -14
- package/dist/chunks/{vcs-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-evbgk2k8.js → state-3w0fmcng.js} +5 -5
- package/dist/chunks/{vcs-pcwda15n.js → state-3w9dm1p6.js} +29 -29
- package/dist/chunks/{vcs-8gfvkmm8.js → state-408pxxnj.js} +7 -7
- package/dist/chunks/{vcs-54f4cdnr.js → state-445gfy8g.js} +34 -34
- package/dist/chunks/{vcs-k9kj6xed.js → state-44ke2mar.js} +6 -6
- package/dist/chunks/{vcs-x4xqgfya.js → state-4742rsvj.js} +18 -18
- package/dist/chunks/{vcs-06bxqvqd.js → state-4ahg9bde.js} +73 -73
- package/dist/chunks/{vcs-4jc5c4h4.js → state-4jc5c4h4.js} +1 -1
- package/dist/chunks/{vcs-qev7t9nn.js → state-4rkm8bzg.js} +32 -32
- package/dist/chunks/{vcs-c1fkwwdb.js → state-4rxpvwq1.js} +9 -9
- package/dist/chunks/{vcs-f3j5hbg7.js → state-4t1gg8ab.js} +31 -31
- package/dist/chunks/{vcs-1ygqh575.js → state-56gdpj1q.js} +9 -9
- package/dist/chunks/{vcs-svgfqqcp.js → state-56zn65x2.js} +5 -5
- package/dist/chunks/{vcs-57ez7d0k.js → state-57ez7d0k.js} +2 -2
- package/dist/chunks/{vcs-r29m84vx.js → state-58t1cv1c.js} +8 -8
- package/dist/chunks/{vcs-a1bz86dw.js → state-5c4hm403.js} +3 -3
- package/dist/chunks/{vcs-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{vcs-gmec7qkh.js → state-5kk03qhb.js} +14 -14
- package/dist/chunks/{vcs-manr16bd.js → state-5n2n84t7.js} +47 -47
- package/dist/chunks/{vcs-bbf4qmt4.js → state-5ndhfjk8.js} +20 -20
- package/dist/chunks/{vcs-62bbsg9f.js → state-5qfhnn3s.js} +28 -28
- package/dist/chunks/{vcs-9rnfzppy.js → state-5ry2patn.js} +89 -89
- package/dist/chunks/{vcs-pk22p7g6.js → state-5szeem2z.js} +52 -52
- package/dist/chunks/{vcs-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{vcs-1w7zh0sm.js → state-69hatrp6.js} +25 -25
- package/dist/chunks/{vcs-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{vcs-bm3m92rh.js → state-6t298p2h.js} +12 -12
- package/dist/chunks/{vcs-m0gns9qd.js → state-6yzef1y4.js} +11 -11
- package/dist/chunks/{vcs-ts0rj8wt.js → state-78g5pcpb.js} +32 -32
- package/dist/chunks/{vcs-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-gxpss1xa.js → state-7zdrdht4.js} +6 -6
- package/dist/chunks/{vcs-6hjx5zpb.js → state-82rhge12.js} +9 -9
- package/dist/chunks/{vcs-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-gbbd40p0.js → state-8fd6bm6b.js} +22 -22
- package/dist/chunks/{vcs-9kx2764h.js → state-8fj2zpf8.js} +3 -3
- package/dist/chunks/{vcs-czadhajx.js → state-8sph61ej.js} +17 -17
- package/dist/chunks/{vcs-weadm8hn.js → state-8xz1pmc4.js} +33 -33
- package/dist/chunks/{vcs-hj10qh6h.js → state-8xzwannf.js} +4 -4
- package/dist/chunks/{vcs-28htqttt.js → state-96kdhf6f.js} +28 -28
- package/dist/chunks/{vcs-afr11sqc.js → state-9v91qm1a.js} +11 -11
- package/dist/chunks/{vcs-a694798e.js → state-a694798e.js} +5 -5
- package/dist/chunks/{vcs-djsfyw38.js → state-a7atkcpn.js} +30 -30
- package/dist/chunks/{vcs-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-zt8dnmbv.js → state-ae4fnj82.js} +5 -5
- package/dist/chunks/{vcs-t6cag2br.js → state-afvjkwnc.js} +8 -8
- package/dist/chunks/{vcs-4qawhqvw.js → state-akftsrpr.js} +41 -41
- package/dist/chunks/{vcs-ygzkyjb3.js → state-ard29dtx.js} +17 -17
- package/dist/chunks/{vcs-9rnex8sw.js → state-az14jj64.js} +29 -29
- package/dist/chunks/{vcs-mbh094q3.js → state-b04b8x2j.js} +5 -5
- package/dist/chunks/{vcs-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-4trwyrk8.js → state-b7hq0td9.js} +16 -16
- package/dist/chunks/{vcs-5ffk9kez.js → state-b8bdg5q4.js} +22 -22
- package/dist/chunks/{vcs-s25fny7j.js → state-bcdacnkc.js} +7 -7
- package/dist/chunks/{vcs-cfpegmwh.js → state-brx6f7c0.js} +18 -18
- package/dist/chunks/{vcs-8n7wg0nx.js → state-brz97kxb.js} +6 -6
- package/dist/chunks/{vcs-wy6y3hhv.js → state-bwy0wnve.js} +26 -26
- package/dist/chunks/{vcs-8vbfh6w5.js → state-c9ys2xqx.js} +18 -18
- package/dist/chunks/{vcs-yjjxz7tc.js → state-cahkz71r.js} +14 -14
- package/dist/chunks/{vcs-895cavcg.js → state-ccdh9qtz.js} +5 -5
- package/dist/chunks/{vcs-q5asdkn4.js → state-ckf8nxjz.js} +4 -4
- package/dist/chunks/{vcs-5kvvkpfr.js → state-ckzpwx1e.js} +26 -26
- package/dist/chunks/{vcs-5yzzbxa7.js → state-cmwkp3r5.js} +8 -8
- package/dist/chunks/{vcs-kdwyyjd3.js → state-crj50ndq.js} +29 -29
- package/dist/chunks/{vcs-m1br8f3h.js → state-da7rfe2v.js} +35 -35
- package/dist/chunks/{vcs-kzqky8qt.js → state-dbm93dyc.js} +4 -4
- package/dist/chunks/{vcs-8p4f9s12.js → state-dj2t23y0.js} +2 -2
- package/dist/chunks/{vcs-cpneeje0.js → state-djszqvmq.js} +9 -9
- package/dist/chunks/{vcs-sfxhchz9.js → state-dsvv60hh.js} +6 -6
- package/dist/chunks/{vcs-p47d79et.js → state-dswh3rat.js} +12 -12
- package/dist/chunks/state-dxj72tfx.js +18 -0
- package/dist/chunks/{vcs-9h9x41eb.js → state-e7nzk88m.js} +44 -44
- package/dist/chunks/state-ec2warxy.js +26 -0
- package/dist/chunks/{vcs-shh6fz4q.js → state-ec8389mk.js} +4 -4
- package/dist/chunks/{vcs-9q338w3w.js → state-eds2t28z.js} +15 -15
- package/dist/chunks/{vcs-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-h4jvj8sb.js → state-ef61rkg5.js} +18 -18
- package/dist/chunks/{vcs-5p5bzsag.js → state-eh40ahnx.js} +44 -44
- package/dist/chunks/{vcs-0rz20qc6.js → state-enhayb15.js} +10 -10
- package/dist/chunks/{vcs-22bvbdp8.js → state-envn6cbq.js} +25 -25
- package/dist/chunks/{vcs-8q9myf25.js → state-eqkxs06z.js} +4 -4
- package/dist/chunks/{vcs-mdt7wpts.js → state-erqyqkr7.js} +12 -12
- package/dist/chunks/{vcs-erw5rpbs.js → state-erw5rpbs.js} +2 -2
- package/dist/chunks/{vcs-kkaetc1n.js → state-etp4kp2m.js} +11 -11
- package/dist/chunks/{vcs-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-7r7wzp6f.js → state-fbzdn206.js} +11 -11
- package/dist/chunks/{vcs-22jekang.js → state-fd4fwae4.js} +10 -10
- package/dist/chunks/{vcs-rm8tnsqk.js → state-fp7m90ch.js} +1 -1
- package/dist/chunks/{vcs-0fpxx9w9.js → state-fpjcj5z0.js} +25 -25
- package/dist/chunks/{vcs-bgjkbd4h.js → state-fsrn267a.js} +10 -10
- package/dist/chunks/{vcs-z66kg6fv.js → state-fve1b9pq.js} +12 -12
- package/dist/chunks/{vcs-dz8x4rxg.js → state-fwrss4ad.js} +4 -4
- package/dist/chunks/{vcs-fxbjtjnd.js → state-fxbjtjnd.js} +1 -1
- package/dist/chunks/{vcs-j7y4ca1s.js → state-fydfvvar.js} +4 -4
- package/dist/chunks/{vcs-pr76b9qx.js → state-fzpgp42w.js} +11 -11
- package/dist/chunks/{vcs-s6gd3yqw.js → state-g10yfvmw.js} +10 -10
- package/dist/chunks/{vcs-y3qk7898.js → state-g8cz2a0a.js} +22 -22
- package/dist/chunks/{vcs-gqmn58wt.js → state-gbmt15v2.js} +13 -13
- package/dist/chunks/{vcs-5bjcf7t7.js → state-gcjfqdjs.js} +13 -13
- package/dist/chunks/{vcs-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-bft4bjt6.js → state-gjsbc86j.js} +23 -23
- package/dist/chunks/{vcs-yzbxen85.js → state-gkefhj12.js} +5 -5
- package/dist/chunks/{vcs-rqr2ktmx.js → state-gmvqgtzg.js} +24 -24
- package/dist/chunks/{vcs-k7myrtme.js → state-gr1f03ws.js} +9 -9
- package/dist/chunks/{vcs-zvgbhwzy.js → state-gr6w9vkk.js} +10 -10
- package/dist/chunks/{vcs-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/{vcs-gw4gsfyf.js → state-h0qb8jnk.js} +25 -25
- package/dist/chunks/{vcs-3pbjq009.js → state-h2r7bbkd.js} +8 -8
- package/dist/chunks/{vcs-6w37svz8.js → state-h34b2p0g.js} +7 -7
- package/dist/chunks/{vcs-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-cgm6kxvk.js → state-h7466sjn.js} +10 -10
- package/dist/chunks/{vcs-f828m53h.js → state-hdnk95c8.js} +2 -2
- package/dist/chunks/{vcs-184qwre1.js → state-hpv0vy0a.js} +32 -32
- package/dist/chunks/{vcs-ng41ab57.js → state-hwakma19.js} +32 -32
- package/dist/chunks/{vcs-xwybkkb8.js → state-j4ehyg90.js} +8 -8
- package/dist/chunks/{vcs-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-kzccg1px.js → state-j5hbqz0e.js} +5 -5
- package/dist/chunks/{vcs-vmgq4x8b.js → state-jca4demv.js} +2 -2
- package/dist/chunks/{vcs-w44apg5x.js → state-jcajstdn.js} +22 -22
- package/dist/chunks/{vcs-ayzh9crp.js → state-jdwbeweq.js} +28 -28
- package/dist/chunks/{vcs-sfkndbk9.js → state-jkzpbdjq.js} +20 -20
- package/dist/chunks/{vcs-tvwc8hr6.js → state-jmngmkqa.js} +79 -79
- package/dist/chunks/{vcs-njh9wamt.js → state-jn4dfycx.js} +9 -9
- package/dist/chunks/{vcs-9had1z43.js → state-jqnmewag.js} +16 -16
- package/dist/chunks/{vcs-f3ngv102.js → state-jw80jp6b.js} +4 -4
- package/dist/chunks/{vcs-w42vs2rt.js → state-jx6e651b.js} +16 -16
- package/dist/chunks/{vcs-851r6173.js → state-jxahb5yh.js} +11 -11
- package/dist/chunks/{vcs-qq8x5mwt.js → state-jz5sxy2v.js} +4 -4
- package/dist/chunks/{vcs-bam9j3yn.js → state-k0345fj3.js} +4 -4
- package/dist/chunks/{vcs-7c6da5rg.js → state-k294xaja.js} +6 -6
- package/dist/chunks/{vcs-k3c624dm.js → state-k3c624dm.js} +3 -3
- package/dist/chunks/{vcs-x12byf42.js → state-kbb6kjfx.js} +17 -17
- package/dist/chunks/{vcs-e1mj0vj7.js → state-kcr5bzs1.js} +15 -15
- package/dist/chunks/{vcs-53b9wc7c.js → state-kcv68n8h.js} +11 -11
- package/dist/chunks/{vcs-86qzxe6p.js → state-kkp8zx71.js} +4 -4
- package/dist/chunks/{vcs-cfpkc3c9.js → state-m0jqrx5p.js} +2 -2
- package/dist/chunks/{vcs-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{vcs-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-kfar339a.js → state-mjyq2s3q.js} +7 -7
- package/dist/chunks/{vcs-nchf4vkq.js → state-mkx85r9t.js} +17 -17
- package/dist/chunks/{vcs-zgr64ze9.js → state-mm9chaq4.js} +9 -9
- package/dist/chunks/{vcs-fvezrss0.js → state-mvr5bn4j.js} +12 -12
- package/dist/chunks/{vcs-714b5bzd.js → state-nvbct2xq.js} +16 -16
- package/dist/chunks/{vcs-44qs7j7x.js → state-ny0kgn08.js} +2 -2
- package/dist/chunks/state-nzkkyty2.js +252 -0
- package/dist/chunks/{vcs-44h5tttr.js → state-nzyhnfxz.js} +4 -4
- package/dist/chunks/{vcs-98xq376d.js → state-p7yx2ddp.js} +318 -318
- package/dist/chunks/{vcs-w1ad28wa.js → state-p84dsdfh.js} +8 -8
- package/dist/chunks/{vcs-w1wexeyx.js → state-pc0qmpcp.js} +25 -25
- package/dist/chunks/{vcs-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-xk747vep.js → state-pnv527nz.js} +5 -5
- package/dist/chunks/{vcs-8z3x7c7v.js → state-q3jrktjg.js} +10 -10
- package/dist/chunks/{vcs-5cmxdwv8.js → state-q3t37ft6.js} +3 -3
- package/dist/chunks/{vcs-tmn9wnk5.js → state-q5v3cv76.js} +6 -6
- package/dist/chunks/{vcs-mnbh32fx.js → state-qh8vdwx1.js} +8 -8
- package/dist/chunks/{vcs-2eqzk29d.js → state-qjn69esg.js} +25 -25
- package/dist/chunks/{vcs-j1b4f4fp.js → state-qnazj4rm.js} +3 -3
- package/dist/chunks/{vcs-e4w0jxb5.js → state-qq4wxkpg.js} +4 -4
- package/dist/chunks/{vcs-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-97352yzp.js → state-qwgcfn1w.js} +10 -10
- package/dist/chunks/{vcs-mf1nhdgy.js → state-qx5nxg37.js} +11 -11
- package/dist/chunks/{vcs-j21skp5h.js → state-qytv0kk9.js} +7 -7
- package/dist/chunks/{vcs-8qg9v9kt.js → state-r2psd9ex.js} +19 -19
- package/dist/chunks/{vcs-6km5j4vv.js → state-r3gf3h6k.js} +28 -28
- package/dist/chunks/{vcs-1bbkgx8g.js → state-r5x6zcsm.js} +3 -3
- package/dist/chunks/{vcs-z5js96t6.js → state-r8hgcn7e.js} +11 -11
- package/dist/chunks/{vcs-r8xr0va3.js → state-r8xr0va3.js} +1 -1
- package/dist/chunks/{vcs-2pa0ebz7.js → state-raxe0qt4.js} +30 -30
- package/dist/chunks/{vcs-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-kc0th94z.js → state-reg39rye.js} +18 -18
- package/dist/chunks/{vcs-g5ey5584.js → state-rgaa4eab.js} +50 -50
- package/dist/chunks/{vcs-9cebvf05.js → state-rnvjvqpz.js} +11 -11
- package/dist/chunks/{vcs-2ma6m1hd.js → state-s3dw44fc.js} +41 -41
- package/dist/chunks/{vcs-r8qbfd09.js → state-sapn1ja6.js} +13 -13
- package/dist/chunks/{vcs-c423wngz.js → state-sxe8pyvn.js} +22 -22
- package/dist/chunks/{vcs-t8ztd77a.js → state-syrrgdn4.js} +23 -23
- package/dist/chunks/{vcs-bvtvf2dx.js → state-sywfsqmm.js} +27 -27
- package/dist/chunks/{vcs-bg2n5hwm.js → state-t3he66w2.js} +24 -24
- package/dist/chunks/{vcs-epn2sa0c.js → state-t50p445y.js} +3 -3
- package/dist/chunks/{vcs-srm9ksap.js → state-t5mbwcqt.js} +32 -32
- package/dist/chunks/{vcs-wnfrhfx2.js → state-t86zkmz1.js} +47 -47
- package/dist/chunks/{vcs-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-tbz0fdvh.js → state-tbz0fdvh.js} +2 -2
- package/dist/chunks/{vcs-tcezcvh9.js → state-tcezcvh9.js} +1 -1
- package/dist/chunks/{vcs-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-2eegacq4.js → state-thjxzeng.js} +8 -8
- package/dist/chunks/{vcs-806j49yq.js → state-tkmwgdpd.js} +7 -7
- package/dist/chunks/{vcs-k93pg8v4.js → state-tnz9rdk5.js} +19 -19
- package/dist/chunks/{vcs-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{vcs-9dkzr50w.js → state-twk0bc43.js} +16 -16
- package/dist/chunks/{vcs-ptcfs43y.js → state-twtg7g1r.js} +9 -9
- package/dist/chunks/{vcs-82tpn184.js → state-ty5rq330.js} +1 -1
- package/dist/chunks/{vcs-aef2hfh8.js → state-vac75nvd.js} +3 -3
- package/dist/chunks/{vcs-3cfy2m9k.js → state-vahzvnrh.js} +15 -15
- package/dist/chunks/{vcs-x445sbb5.js → state-vcep48s5.js} +20 -20
- package/dist/chunks/{vcs-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-bf0ztrs3.js → state-vncycja5.js} +4 -4
- package/dist/chunks/{vcs-c3pnf5gz.js → state-vnp99bxh.js} +5 -5
- package/dist/chunks/{vcs-1q9gvqp4.js → state-vs49n45c.js} +33 -33
- package/dist/chunks/{vcs-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{vcs-w1k39n5e.js → state-w1k39n5e.js} +1 -1
- package/dist/chunks/{vcs-smntnd8a.js → state-w3d1wx13.js} +24 -24
- package/dist/chunks/{vcs-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-3rtxz4nr.js → state-w3x9v1nk.js} +8 -8
- package/dist/chunks/{vcs-23pqda6t.js → state-w4arg62q.js} +4 -4
- package/dist/chunks/{vcs-1persx71.js → state-waym30vw.js} +15 -15
- package/dist/chunks/{vcs-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-9mrdfhh7.js → state-wfea6jy1.js} +4 -4
- package/dist/chunks/{vcs-beqc5mbd.js → state-wnt0n0xb.js} +33 -33
- package/dist/chunks/{vcs-apcpnh84.js → state-x0vavgn5.js} +17 -17
- package/dist/chunks/{vcs-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{vcs-fsb9he91.js → state-x1vjt85b.js} +23 -23
- package/dist/chunks/{vcs-f62qkzqr.js → state-x2d9qy7d.js} +5 -5
- package/dist/chunks/{vcs-md632y2v.js → state-xa5vzajb.js} +23 -23
- package/dist/chunks/{vcs-rbbp8jxz.js → state-xbq29fg5.js} +23 -23
- package/dist/chunks/{vcs-xfkkasph.js → state-xfkkasph.js} +1 -1
- package/dist/chunks/{vcs-vxx99sjc.js → state-xgqe14p2.js} +3 -3
- package/dist/chunks/{vcs-dzqymmzq.js → state-xp1ezwwp.js} +18 -18
- package/dist/chunks/{vcs-ryyjaja0.js → state-xqr0k8gk.js} +26 -26
- package/dist/chunks/{vcs-91p7smtn.js → state-xs7q27km.js} +18 -18
- package/dist/chunks/{vcs-m3m63vqf.js → state-xw29n0bq.js} +18 -18
- package/dist/chunks/{vcs-6e5cdvf9.js → state-xwkvp7ty.js} +3 -3
- package/dist/chunks/{vcs-tcr6kwe6.js → state-y08awjjx.js} +10 -10
- package/dist/chunks/{vcs-6xm7vd1q.js → state-y1b03k3j.js} +45 -45
- package/dist/chunks/{vcs-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-y71avatq.js → state-y71avatq.js} +1 -1
- package/dist/chunks/{vcs-49w1zfkv.js → state-y811x3x5.js} +30 -30
- package/dist/chunks/{vcs-wbkyxrgf.js → state-yjptyezs.js} +5 -5
- package/dist/chunks/{vcs-1vyz3ncy.js → state-ypncs580.js} +22 -22
- package/dist/chunks/{vcs-7kwzg5by.js → state-yr9qftvg.js} +24 -24
- package/dist/chunks/{vcs-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{vcs-yrznvahk.js → state-yrznvahk.js} +2 -2
- package/dist/chunks/{vcs-d9q3pbsw.js → state-ywfcz4kd.js} +22 -22
- package/dist/chunks/{vcs-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-azeezzne.js → state-z42db625.js} +43 -43
- package/dist/chunks/{vcs-z63w68vq.js → state-z63w68vq.js} +2 -2
- package/dist/chunks/{vcs-hgztkpm2.js → state-z6bwbw5f.js} +15 -15
- package/dist/chunks/{vcs-8pjx8nfz.js → state-zdd71wfk.js} +31 -31
- package/dist/chunks/{vcs-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{vcs-gf9cennz.js → state-zn3ftspj.js} +11 -11
- package/dist/chunks/{vcs-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +94 -94
- package/dist/git.js +10 -10
- 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 +98 -98
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +3 -3
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +356 -356
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +97 -97
- package/dist/models-dev.js +102 -102
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +85 -85
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +137 -137
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/vcs-hsw65fz2.js +0 -26
- package/dist/chunks/vcs-pxhh23s1.js +0 -252
- package/dist/chunks/vcs-vnkjks7b.js +0 -18
- /package/dist/chunks/{vcs-0mesazry.js → state-0mesazry.js} +0 -0
- /package/dist/chunks/{vcs-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-twg0f83k.js → state-twg0f83k.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node77
|
|
9
|
+
} from "./state-w3d1wx13.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./state-5qfhnn3s.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service8,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node10,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service74;
|
|
331
|
+
return Service8.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node10 = makeLocationNode({ service: Service8, layer, deps: [node77] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node10, exports_read_filesystem };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-fd4fwae4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./state-nvbct2xq.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event17
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-qjn69esg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-bwy0wnve.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID8
|
|
17
|
+
} from "./state-3w9dm1p6.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID7,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./state-az14jj64.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID8.make("digitalocean");
|
|
31
|
+
var integrationID = ID9.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service79;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID7.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-fd4fwae4.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./state-qjn69esg.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID9,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-bwy0wnve.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID8,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-3w9dm1p6.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID8.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID9.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service66;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID9.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin48,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin48 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin13 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin48, exports_identity };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-dj2t23y0.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service57
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-eqkxs06z.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-dxj72tfx.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-3ktbe3hf.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service52
|
|
12
|
+
} from "./state-96kdhf6f.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -23,7 +23,7 @@ __export(exports_skill4, {
|
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
25
|
const instances = yield* Service57;
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service52), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./state-nvbct2xq.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
6
|
Event17
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-qjn69esg.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID9,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-bwy0wnve.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-nzyhnfxz.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID8,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-3w9dm1p6.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID5,
|
|
22
22
|
Input14,
|
|
23
23
|
Response2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-yr9qftvg.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/opencode.ts
|
|
27
27
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -35,7 +35,7 @@ var methodID = MethodID2.make("device");
|
|
|
35
35
|
var RemoteResponse = Schema.Struct({
|
|
36
36
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
37
37
|
websearch: Schema.Struct({
|
|
38
|
-
providerID:
|
|
38
|
+
providerID: ID5
|
|
39
39
|
}).pipe(Schema.optional)
|
|
40
40
|
});
|
|
41
41
|
var Device = Schema.Struct({
|
|
@@ -57,7 +57,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
57
57
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
58
58
|
function oauth(http) {
|
|
59
59
|
return {
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID9.make("opencode"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -111,7 +111,7 @@ function oauth(http) {
|
|
|
111
111
|
var OpencodePlugin2 = define({
|
|
112
112
|
id: "opencode.provider.opencode",
|
|
113
113
|
effect: Effect.fn(function* (ctx) {
|
|
114
|
-
const bus = yield*
|
|
114
|
+
const bus = yield* Service79;
|
|
115
115
|
const http = yield* HttpClient.HttpClient;
|
|
116
116
|
const loading = Semaphore.makeUnsafe(1);
|
|
117
117
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -137,7 +137,7 @@ var OpencodePlugin2 = define({
|
|
|
137
137
|
providers.update(providerID, (provider) => {
|
|
138
138
|
if (source && source.provider !== provider)
|
|
139
139
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
140
|
-
provider.integrationID =
|
|
140
|
+
provider.integrationID = ID9.make("opencode");
|
|
141
141
|
if (item.canonical !== undefined)
|
|
142
142
|
provider.canonical = item.canonical;
|
|
143
143
|
if (item.name !== undefined)
|
|
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
|
|
|
207
207
|
sourceConnection: snapshot.connection
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
|
-
const item = providers.get(
|
|
210
|
+
const item = providers.get(ID8.opencode);
|
|
211
211
|
if (!item)
|
|
212
212
|
return;
|
|
213
213
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -219,7 +219,7 @@ var OpencodePlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
});
|
|
221
221
|
yield* ctx.model.transform((models) => {
|
|
222
|
-
const item = models.provider.get(
|
|
222
|
+
const item = models.provider.get(ID8.opencode);
|
|
223
223
|
if (!item)
|
|
224
224
|
return;
|
|
225
225
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -274,7 +274,7 @@ var OpencodePlugin2 = define({
|
|
|
274
274
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
275
275
|
});
|
|
276
276
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
277
|
-
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
277
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
278
278
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
279
279
|
})
|
|
280
280
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-fd4fwae4.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin36,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin36 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin6 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin6 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin36, exports_firecrawl };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service47,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node50
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service47 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service47.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node50 = makeLocationNode({
|
|
143
|
+
service: Service47,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service47, node50, exports_tool_output2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./state-etp4kp2m.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service79,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node83,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service79 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service79,
|
|
84
|
+
deps: [node84],
|
|
85
|
+
layer: Layer.effect(Service79, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -93,7 +93,7 @@ function configured12(options) {
|
|
|
93
93
|
const projectors = new Map;
|
|
94
94
|
const listeners = new Array;
|
|
95
95
|
const durableLocks = makeUnsafe2();
|
|
96
|
-
const { db } = yield*
|
|
96
|
+
const { db } = yield* Service80;
|
|
97
97
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
98
98
|
const persist = options?.persist ?? false;
|
|
99
99
|
const sessions = new Map;
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service79.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node83 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service79, configured12, node83, exports_bus };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-bcdacnkc.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|