@opencode/core 0.0.0-dev-20030 → 0.0.0-dev-20032
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 +81 -81
- 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/{snapshot-2q6kkxxq.js → agent-036p5t1s.js} +4 -4
- package/dist/chunks/{snapshot-1grbbkds.js → agent-042xvhgw.js} +11 -11
- package/dist/chunks/{snapshot-6n6t8mg1.js → agent-09e1c8fx.js} +30 -30
- package/dist/chunks/{snapshot-7v3nx88q.js → agent-0cpkxb4n.js} +48 -48
- package/dist/chunks/{snapshot-s8d7rejh.js → agent-0gdmqesm.js} +4 -4
- package/dist/chunks/{snapshot-fcrkznn8.js → agent-0jwsre1p.js} +5 -5
- package/dist/chunks/{snapshot-0paq2nw3.js → agent-0paq2nw3.js} +1 -1
- package/dist/chunks/{snapshot-mkd15s39.js → agent-1bksnpxx.js} +12 -12
- package/dist/chunks/{snapshot-1dazxqgg.js → agent-1dazxqgg.js} +2 -2
- package/dist/chunks/{snapshot-2z3mfw9z.js → agent-1mw3ztx0.js} +13 -13
- package/dist/chunks/{snapshot-rhxvs2d4.js → agent-1pj3pseb.js} +20 -20
- package/dist/chunks/{snapshot-x6pyv2yz.js → agent-1q5awywt.js} +5 -5
- package/dist/chunks/{snapshot-c6srhy44.js → agent-1sjbhta5.js} +10 -10
- package/dist/chunks/{snapshot-1ygqh575.js → agent-1ygqh575.js} +2 -2
- package/dist/chunks/{snapshot-21r38tys.js → agent-21r38tys.js} +1 -1
- package/dist/chunks/{snapshot-2402vzrj.js → agent-2402vzrj.js} +1 -1
- package/dist/chunks/{snapshot-2a5m3afh.js → agent-2a5m3afh.js} +1 -1
- package/dist/chunks/{snapshot-cpfmjptp.js → agent-2fqthqjg.js} +41 -41
- package/dist/chunks/{snapshot-mcehqfzm.js → agent-2fr5yqz7.js} +10 -10
- package/dist/chunks/{snapshot-ft7whn5s.js → agent-2khwyb0w.js} +1 -1
- package/dist/chunks/{snapshot-hawz7qk3.js → agent-2kvkr281.js} +32 -32
- package/dist/chunks/{snapshot-pwm8hhrg.js → agent-2x2nfseg.js} +6 -6
- package/dist/chunks/{snapshot-qa3qhgw8.js → agent-34rkz0x9.js} +7 -7
- package/dist/chunks/{snapshot-v0xhwtxj.js → agent-34vjswhe.js} +32 -32
- package/dist/chunks/{snapshot-nv7qmagz.js → agent-37rtka32.js} +12 -12
- package/dist/chunks/{snapshot-f6f4wqds.js → agent-38j4n8ns.js} +87 -87
- package/dist/chunks/{snapshot-9wzwhfcn.js → agent-3dy7ype7.js} +3 -3
- package/dist/chunks/{snapshot-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
- package/dist/chunks/{snapshot-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{snapshot-92k45pvj.js → agent-3pm9060n.js} +6 -6
- package/dist/chunks/{snapshot-zc1716vc.js → agent-3qf0w8va.js} +8 -8
- package/dist/chunks/{snapshot-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
- package/dist/chunks/{snapshot-k9kj6xed.js → agent-3tq5qxbk.js} +4 -4
- package/dist/chunks/{snapshot-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
- package/dist/chunks/{snapshot-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
- package/dist/chunks/{snapshot-fmzx7afd.js → agent-42dpyp2f.js} +13 -13
- package/dist/chunks/{snapshot-edme2h3e.js → agent-4gycnsfp.js} +7 -7
- package/dist/chunks/{snapshot-ex8d3qgq.js → agent-4hk0erf7.js} +21 -21
- package/dist/chunks/{snapshot-ejyy1vq3.js → agent-4j387kr6.js} +19 -19
- package/dist/chunks/{snapshot-sx6sbev9.js → agent-4n6nta6x.js} +9 -9
- package/dist/chunks/{snapshot-4dhk5hft.js → agent-4tr6j3yt.js} +31 -31
- package/dist/chunks/{snapshot-xfkkasph.js → agent-57b9ws8p.js} +7 -7
- package/dist/chunks/{snapshot-57ez7d0k.js → agent-57ez7d0k.js} +2 -2
- package/dist/chunks/{snapshot-81xajp5a.js → agent-5a165npp.js} +18 -18
- package/dist/chunks/{snapshot-5daktx2q.js → agent-5daktx2q.js} +1 -1
- package/dist/chunks/{snapshot-5ekn9679.js → agent-5ekn9679.js} +1 -1
- package/dist/chunks/{snapshot-ff0svapt.js → agent-5frpvc34.js} +2 -2
- package/dist/chunks/{snapshot-b65pysqy.js → agent-5gtvee54.js} +6 -6
- package/dist/chunks/{snapshot-zwmthm5e.js → agent-5j7bry64.js} +8 -8
- package/dist/chunks/{snapshot-hs7e0j5x.js → agent-5kz5bk4q.js} +7 -7
- package/dist/chunks/{snapshot-5t3nmthw.js → agent-5t3nmthw.js} +2 -2
- package/dist/chunks/{snapshot-at1kfnmk.js → agent-5y480sgp.js} +8 -8
- package/dist/chunks/{snapshot-vzvj8tr4.js → agent-5zwzqxke.js} +5 -5
- package/dist/chunks/{snapshot-6kyzwp48.js → agent-60w5e542.js} +3 -3
- package/dist/chunks/{snapshot-669tq793.js → agent-669tq793.js} +1 -1
- package/dist/chunks/{snapshot-55q6v56a.js → agent-6a91tj2m.js} +10 -10
- package/dist/chunks/{snapshot-k4wvtnxa.js → agent-6gm4jdfq.js} +1 -1
- package/dist/chunks/agent-6kdq0pjd.js +4 -0
- package/dist/chunks/{snapshot-6msgmcgs.js → agent-6msgmcgs.js} +1 -1
- package/dist/chunks/{snapshot-c2x9fe08.js → agent-6pt3k1ax.js} +22 -22
- package/dist/chunks/{snapshot-94pjr4dx.js → agent-6sfqjq27.js} +1 -1
- package/dist/chunks/{snapshot-rsxykv2p.js → agent-6tk3k0am.js} +9 -9
- package/dist/chunks/{snapshot-51fa1qxd.js → agent-6ze6cnmj.js} +14 -14
- package/dist/chunks/{snapshot-sh3v0w80.js → agent-6zyttfys.js} +6 -6
- package/dist/chunks/{snapshot-dyfjs123.js → agent-7232vf31.js} +20 -20
- package/dist/chunks/{snapshot-rmxzq7f5.js → agent-768gsh1v.js} +5 -5
- package/dist/chunks/{snapshot-edakf7cy.js → agent-7797a809.js} +26 -26
- package/dist/chunks/{snapshot-m3y0vspd.js → agent-7ad9f6we.js} +6 -6
- package/dist/chunks/agent-7bk4ngx8.js +252 -0
- package/dist/chunks/{snapshot-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{snapshot-ehtkbpj7.js → agent-7mkcw6wm.js} +28 -28
- package/dist/chunks/{snapshot-7jq11kaw.js → agent-7rz492sz.js} +54 -54
- package/dist/chunks/{snapshot-j9ty9cws.js → agent-7tgakezr.js} +1 -1
- package/dist/chunks/{snapshot-x0511brf.js → agent-7z7az0f5.js} +4 -4
- package/dist/chunks/{snapshot-vtf3z4ss.js → agent-818pfwc9.js} +8 -8
- package/dist/chunks/{snapshot-gmx5hwcv.js → agent-86qzxe6p.js} +4 -4
- package/dist/chunks/{snapshot-ve90vagr.js → agent-87n4nh5h.js} +26 -26
- package/dist/chunks/{snapshot-8d7r5vzw.js → agent-8d7r5vzw.js} +1 -1
- package/dist/chunks/{snapshot-rwm5vee1.js → agent-8gxqpgph.js} +4 -4
- package/dist/chunks/{snapshot-cr0epd3b.js → agent-8jp7x2be.js} +24 -24
- package/dist/chunks/{snapshot-7jgm01sn.js → agent-8k8b4hth.js} +8 -8
- package/dist/chunks/{snapshot-m28tfe1w.js → agent-8mfdap3f.js} +5 -5
- package/dist/chunks/{snapshot-6bsje7ws.js → agent-8q7cq0y1.js} +3 -3
- package/dist/chunks/{snapshot-btj1e51e.js → agent-8rch3mzj.js} +8 -8
- package/dist/chunks/{snapshot-jjwr2adn.js → agent-90j0wwtx.js} +4 -4
- package/dist/chunks/{snapshot-94ek1h2f.js → agent-94ek1h2f.js} +2 -2
- package/dist/chunks/{snapshot-1xrh7e6k.js → agent-95t7q91w.js} +4 -4
- package/dist/chunks/{snapshot-h415rfds.js → agent-96sewvm2.js} +20 -20
- package/dist/chunks/{snapshot-gws5vmfw.js → agent-99102x0e.js} +11 -11
- package/dist/chunks/{snapshot-r6xcm8s4.js → agent-993beb9q.js} +9 -9
- package/dist/chunks/{snapshot-kh9sx4kg.js → agent-9c3np669.js} +8 -8
- package/dist/chunks/{snapshot-7ve2bcyf.js → agent-9kw00vxr.js} +16 -16
- package/dist/chunks/{snapshot-as52rsn2.js → agent-9z1qqh7b.js} +9 -9
- package/dist/chunks/{snapshot-gzh0eb8j.js → agent-a1gfr0v3.js} +9 -9
- package/dist/chunks/{snapshot-1svmzqef.js → agent-a3m1esjv.js} +134 -134
- package/dist/chunks/{snapshot-26k3mmxd.js → agent-a624avds.js} +44 -44
- package/dist/chunks/{snapshot-aaet6srn.js → agent-aaet6srn.js} +2 -2
- package/dist/chunks/{snapshot-a4vsphfm.js → agent-abdgxmtc.js} +7 -7
- package/dist/chunks/{snapshot-qr4n1n51.js → agent-aengndq2.js} +18 -18
- package/dist/chunks/{snapshot-prgk16s2.js → agent-anwzgchg.js} +32 -32
- package/dist/chunks/{snapshot-0k8xz9m1.js → agent-as3gfbfe.js} +2 -2
- package/dist/chunks/{snapshot-zt0y4zs5.js → agent-atcq0r4a.js} +3 -3
- package/dist/chunks/{snapshot-6m32j7gw.js → agent-ate3yb88.js} +1 -1
- package/dist/chunks/{snapshot-mx48q6f7.js → agent-b0rer08y.js} +13 -13
- package/dist/chunks/{snapshot-hrgzvhqa.js → agent-b28x5q96.js} +50 -50
- package/dist/chunks/{snapshot-byv3s7jg.js → agent-b54qgkhb.js} +21 -21
- package/dist/chunks/{snapshot-b6gygkdw.js → agent-b6gygkdw.js} +2 -2
- package/dist/chunks/{snapshot-21ht5ags.js → agent-b8bsj8wv.js} +16 -16
- package/dist/chunks/{snapshot-e6hmchc5.js → agent-bgxcxs0p.js} +5 -5
- package/dist/chunks/{snapshot-0vmkj0bg.js → agent-c3fjamxb.js} +4 -4
- package/dist/chunks/{snapshot-qh76ahng.js → agent-c580fjmb.js} +5 -5
- package/dist/chunks/{snapshot-ckecvw8r.js → agent-ckecvw8r.js} +2 -2
- package/dist/chunks/{snapshot-5yzzbxa7.js → agent-cmwkp3r5.js} +8 -8
- package/dist/chunks/{snapshot-pdvt449s.js → agent-cr6qanjc.js} +68 -68
- package/dist/chunks/{snapshot-cwa6csj7.js → agent-cwa6csj7.js} +2 -2
- package/dist/chunks/{snapshot-2twjr81a.js → agent-cwkmhrp6.js} +14 -14
- package/dist/chunks/{snapshot-pxdwd80t.js → agent-cyrsh1yr.js} +31 -31
- package/dist/chunks/{snapshot-k3d4wrk7.js → agent-d1e9an0g.js} +26 -26
- package/dist/chunks/{snapshot-pwhe4vsk.js → agent-d2wgds0x.js} +12 -12
- package/dist/chunks/{snapshot-p6xwdr19.js → agent-d5jz98xq.js} +13 -13
- package/dist/chunks/{snapshot-d7x2cfb0.js → agent-d747qbk3.js} +8 -8
- package/dist/chunks/agent-dcj1wave.js +26 -0
- package/dist/chunks/{snapshot-0tmgye68.js → agent-dda0p7y7.js} +8 -8
- package/dist/chunks/{snapshot-r9w3djhf.js → agent-depwzj9d.js} +8 -8
- package/dist/chunks/{snapshot-p48nv60c.js → agent-dm43cxx4.js} +23 -23
- package/dist/chunks/agent-dxj72tfx.js +18 -0
- package/dist/chunks/{snapshot-2d57kztd.js → agent-e6hd9jay.js} +4 -4
- package/dist/chunks/{snapshot-jtkwk4gb.js → agent-e6mjvmeb.js} +19 -19
- package/dist/chunks/{snapshot-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
- package/dist/chunks/{snapshot-2ak4dr91.js → agent-efp767h6.js} +4 -4
- package/dist/chunks/{snapshot-phc8pspp.js → agent-egrr39fs.js} +6 -6
- package/dist/chunks/{snapshot-w186ndtb.js → agent-egxpqa30.js} +3 -3
- package/dist/chunks/{snapshot-4c070755.js → agent-ek0z8tpz.js} +2 -2
- package/dist/chunks/{snapshot-b7cywk50.js → agent-emypf9yp.js} +13 -13
- package/dist/chunks/{snapshot-2mhzvh0a.js → agent-erjkhgr0.js} +17 -17
- package/dist/chunks/{snapshot-erw5rpbs.js → agent-erw5rpbs.js} +2 -2
- package/dist/chunks/{snapshot-etq0c3wd.js → agent-etq0c3wd.js} +1 -1
- package/dist/chunks/{snapshot-m1a6ntfn.js → agent-ex1m1kp8.js} +4 -4
- package/dist/chunks/{snapshot-31t8vbzj.js → agent-f2szdyjf.js} +3 -3
- package/dist/chunks/{snapshot-x2rw7g36.js → agent-f62qkzqr.js} +5 -5
- package/dist/chunks/{snapshot-m2d0j7c0.js → agent-fhs97t90.js} +9 -9
- package/dist/chunks/{snapshot-f3ngv102.js → agent-g190xswt.js} +4 -4
- package/dist/chunks/{snapshot-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
- package/dist/chunks/{snapshot-ywc6wpt1.js → agent-gd4ttfw7.js} +14 -14
- package/dist/chunks/{snapshot-7np6y5v9.js → agent-gmjq4p6e.js} +12 -12
- package/dist/chunks/{snapshot-q6vq307s.js → agent-gre73awd.js} +4 -4
- package/dist/chunks/{snapshot-66caeg3n.js → agent-gssvgekz.js} +17 -17
- package/dist/chunks/{snapshot-gv6a8nnw.js → agent-gv6a8nnw.js} +2 -2
- package/dist/chunks/{snapshot-h6r3nrb9.js → agent-h6r3nrb9.js} +1 -1
- package/dist/chunks/{snapshot-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
- package/dist/chunks/{snapshot-9h83vwwk.js → agent-h9dmwwwx.js} +10 -10
- package/dist/chunks/{snapshot-z3anr71n.js → agent-hb8h3vmt.js} +43 -43
- package/dist/chunks/{snapshot-t7smn26t.js → agent-hcm8gwy7.js} +9 -9
- package/dist/chunks/{snapshot-2nwh4zjr.js → agent-hpkeaty4.js} +6 -6
- package/dist/chunks/{snapshot-0vb59zmc.js → agent-j1e4v64e.js} +30 -30
- package/dist/chunks/{snapshot-tqbe3jqy.js → agent-j3ntnz47.js} +10 -10
- package/dist/chunks/{snapshot-j56e64zr.js → agent-j56e64zr.js} +1 -1
- package/dist/chunks/{snapshot-sh3cnwks.js → agent-j710vash.js} +12 -12
- package/dist/chunks/{snapshot-sv1e32h6.js → agent-j9cr01ke.js} +13 -13
- package/dist/chunks/{snapshot-w68r2k6h.js → agent-jasw7syv.js} +27 -27
- package/dist/chunks/{snapshot-e58zfr0z.js → agent-jcec2fc7.js} +47 -47
- package/dist/chunks/{snapshot-cvb7j2ar.js → agent-jrxvx6f5.js} +11 -11
- package/dist/chunks/{snapshot-xv6t57yc.js → agent-jvkm5she.js} +11 -11
- package/dist/chunks/{snapshot-wqkz004e.js → agent-k0a1k3xn.js} +7 -7
- package/dist/chunks/{snapshot-wszcsa84.js → agent-k0w1ng5j.js} +29 -29
- package/dist/chunks/{snapshot-k3c624dm.js → agent-k3c624dm.js} +3 -3
- package/dist/chunks/{snapshot-82ecpvtr.js → agent-k7v2xwv9.js} +27 -27
- package/dist/chunks/{snapshot-4ryqkaf0.js → agent-kesj5jy8.js} +8 -8
- package/dist/chunks/{snapshot-e82tdd7x.js → agent-kpnqw0e7.js} +6 -6
- package/dist/chunks/{snapshot-vfx1g0jc.js → agent-kv03vt94.js} +12 -12
- package/dist/chunks/{snapshot-m3fdjcah.js → agent-m3fdjcah.js} +1 -1
- package/dist/chunks/{snapshot-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{snapshot-y8y02c45.js → agent-ma5qs0kd.js} +273 -273
- package/dist/chunks/{snapshot-hfbmyrxh.js → agent-mc5vr7h5.js} +15 -15
- package/dist/chunks/{snapshot-mhkvc446.js → agent-mhkvc446.js} +1 -1
- package/dist/chunks/{snapshot-4hqw81ab.js → agent-mj1873cd.js} +12 -12
- package/dist/chunks/{snapshot-ndky9e3n.js → agent-mrzfvsf9.js} +1 -1
- package/dist/chunks/{snapshot-601rw66q.js → agent-mskg3jyh.js} +25 -25
- package/dist/chunks/{snapshot-dr8h1v1j.js → agent-mt0p4caj.js} +10 -10
- package/dist/chunks/{snapshot-4146wgg3.js → agent-n5mm3spe.js} +38 -38
- package/dist/chunks/{snapshot-ny7e7z2d.js → agent-nav1p6g3.js} +8 -8
- package/dist/chunks/{snapshot-g6w0fa2e.js → agent-ncdsqf8r.js} +32 -32
- package/dist/chunks/{snapshot-4wp5p5rq.js → agent-ne87pwxh.js} +34 -34
- package/dist/chunks/{snapshot-2tsw83gj.js → agent-nf9xdvg6.js} +14 -14
- package/dist/chunks/{snapshot-6tcepvr3.js → agent-nj66ywra.js} +18 -18
- package/dist/chunks/{snapshot-hkfg6fzm.js → agent-p44d8wdy.js} +5 -5
- package/dist/chunks/{snapshot-hzvqxvwc.js → agent-p4n2tsr9.js} +39 -39
- package/dist/chunks/{snapshot-f4zbrtg8.js → agent-pbv8fc70.js} +24 -24
- package/dist/chunks/{snapshot-npgh0z08.js → agent-pc232jaj.js} +28 -28
- package/dist/chunks/{snapshot-4wcbatk8.js → agent-pfrgg7nw.js} +11 -11
- package/dist/chunks/{snapshot-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
- package/dist/chunks/{snapshot-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{snapshot-0v53mg2y.js → agent-pmr4s4kc.js} +4 -4
- package/dist/chunks/{snapshot-14a2g77m.js → agent-ppxegf25.js} +10 -10
- package/dist/chunks/{snapshot-1e56h9we.js → agent-pv8kkmrg.js} +8 -8
- package/dist/chunks/{snapshot-70xxcz3e.js → agent-q844vg7r.js} +12 -12
- package/dist/chunks/{snapshot-bt2ndnm6.js → agent-qaw4m7e1.js} +12 -12
- package/dist/chunks/{snapshot-8hppf00p.js → agent-qe435bmh.js} +76 -76
- package/dist/chunks/{snapshot-ar08adk5.js → agent-qkaf2nyf.js} +2 -2
- package/dist/chunks/{snapshot-22f648v1.js → agent-qrrsv7v7.js} +9 -9
- package/dist/chunks/{snapshot-kbqjrca6.js → agent-qsaqrdx1.js} +11 -11
- package/dist/chunks/{snapshot-qsdy395h.js → agent-qsdy395h.js} +1 -1
- package/dist/chunks/{snapshot-sf0yp864.js → agent-r7nsrefv.js} +6 -6
- package/dist/chunks/{snapshot-mgfg3xvp.js → agent-rat7368c.js} +8 -8
- package/dist/chunks/{snapshot-5rhvvwjg.js → agent-rb647vmk.js} +28 -28
- package/dist/chunks/{snapshot-m6nec9qq.js → agent-rdecwvm0.js} +4 -4
- package/dist/chunks/{snapshot-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
- package/dist/chunks/{snapshot-s8faeshr.js → agent-rgbhby81.js} +29 -29
- package/dist/chunks/{snapshot-cskct7ae.js → agent-rny51x47.js} +11 -11
- package/dist/chunks/{snapshot-n4v135yq.js → agent-rp5vjngm.js} +17 -17
- package/dist/chunks/{snapshot-tsszah43.js → agent-s44gg63h.js} +5 -5
- package/dist/chunks/{snapshot-yedjkhvm.js → agent-s7p4phhd.js} +22 -22
- package/dist/chunks/{snapshot-qzccvhz5.js → agent-s7xnm3xk.js} +3 -3
- package/dist/chunks/{snapshot-rh7w60c5.js → agent-smaz7q15.js} +28 -28
- package/dist/chunks/{snapshot-dxpm2mzg.js → agent-st50yqfc.js} +21 -21
- package/dist/chunks/{snapshot-6ebmykms.js → agent-t5r9nnk5.js} +17 -17
- package/dist/chunks/{snapshot-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
- package/dist/chunks/{snapshot-5xpznt2d.js → agent-tazp3vs0.js} +4 -4
- package/dist/chunks/{snapshot-tcezcvh9.js → agent-tcezcvh9.js} +1 -1
- package/dist/chunks/{snapshot-tdstcens.js → agent-tdstcens.js} +1 -1
- package/dist/chunks/{snapshot-azs45ne5.js → agent-th3pkrnx.js} +4 -4
- package/dist/chunks/{snapshot-ehng9v5j.js → agent-tn5b9xfz.js} +26 -26
- package/dist/chunks/{snapshot-s39k9fa5.js → agent-tpth3d6j.js} +20 -20
- package/dist/chunks/{snapshot-rs333zy1.js → agent-trkg9a33.js} +20 -20
- package/dist/chunks/{snapshot-tvtrv512.js → agent-tvtrv512.js} +1 -1
- package/dist/chunks/{snapshot-69e754gk.js → agent-twvyfk9y.js} +9 -9
- package/dist/chunks/{snapshot-dj9sq318.js → agent-tz2bjj40.js} +5 -5
- package/dist/chunks/{snapshot-5c299m0q.js → agent-v6zzpp1a.js} +3 -3
- package/dist/chunks/{snapshot-6sb2wa61.js → agent-vb9ggsp7.js} +11 -11
- package/dist/chunks/{snapshot-47zbr52t.js → agent-vbw49qtd.js} +14 -14
- package/dist/chunks/{snapshot-veqvce7d.js → agent-veqvce7d.js} +1 -1
- package/dist/chunks/{snapshot-z8639w91.js → agent-vq4vz5jx.js} +12 -12
- package/dist/chunks/{snapshot-q090x7es.js → agent-vqc379z4.js} +22 -22
- package/dist/chunks/{snapshot-vtxr0yy2.js → agent-vtxr0yy2.js} +2 -2
- package/dist/chunks/{snapshot-5dp1bgzf.js → agent-vv2mzy79.js} +14 -14
- package/dist/chunks/{snapshot-722bm5k1.js → agent-vwxj763t.js} +9 -9
- package/dist/chunks/{snapshot-vzcthcp8.js → agent-vzcthcp8.js} +1 -1
- package/dist/chunks/{snapshot-tb7yevgy.js → agent-w1888pr6.js} +2 -2
- package/dist/chunks/{snapshot-cx57cfsy.js → agent-w3v1w3dz.js} +7 -7
- package/dist/chunks/{snapshot-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{snapshot-ajzsbz6h.js → agent-wcpje083.js} +15 -15
- package/dist/chunks/{snapshot-rj81hrpq.js → agent-wd0m6wek.js} +22 -22
- package/dist/chunks/{snapshot-wd3x2cqz.js → agent-wd3x2cqz.js} +2 -2
- package/dist/chunks/{snapshot-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{snapshot-yztvrmjb.js → agent-wdr78amw.js} +17 -17
- package/dist/chunks/{snapshot-bez6fg5x.js → agent-wsyne64r.js} +9 -9
- package/dist/chunks/{snapshot-55ygg84m.js → agent-wtgbwnmd.js} +6 -6
- package/dist/chunks/{snapshot-764z5t2a.js → agent-x002dt7s.js} +37 -37
- package/dist/chunks/{snapshot-x1ezjp6w.js → agent-x1ezjp6w.js} +1 -1
- package/dist/chunks/{snapshot-f5gy8qwh.js → agent-x2qdxhwm.js} +8 -8
- package/dist/chunks/{snapshot-5a5pf3fm.js → agent-x4twtbmc.js} +31 -31
- package/dist/chunks/{snapshot-prmgem5b.js → agent-xcd0eash.js} +6 -6
- package/dist/chunks/{snapshot-6xnxq4m8.js → agent-xepqwmf1.js} +12 -12
- package/dist/chunks/{snapshot-kbt19f78.js → agent-xn74gsdd.js} +20 -20
- package/dist/chunks/{snapshot-q9p58qae.js → agent-xrrk0pa1.js} +39 -39
- package/dist/chunks/{snapshot-7zp840he.js → agent-xs4zavqa.js} +6 -6
- package/dist/chunks/{snapshot-zwy38s70.js → agent-y11d2ej4.js} +24 -24
- package/dist/chunks/{snapshot-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
- package/dist/chunks/{snapshot-dpkg50ah.js → agent-y71avatq.js} +4 -4
- package/dist/chunks/{snapshot-t30cn9ds.js → agent-yczq05sr.js} +11 -11
- package/dist/chunks/{snapshot-7p9t6n5c.js → agent-yk25tvz4.js} +22 -22
- package/dist/chunks/{snapshot-cwh1ykm4.js → agent-ym4va9hq.js} +16 -16
- package/dist/chunks/{snapshot-r8xr0va3.js → agent-yp2x3t23.js} +4 -4
- package/dist/chunks/{snapshot-yrhqyw5v.js → agent-yrhqyw5v.js} +1 -1
- package/dist/chunks/{snapshot-yrznvahk.js → agent-yrznvahk.js} +2 -2
- package/dist/chunks/{snapshot-y7z8z9pe.js → agent-ysjzdycw.js} +9 -9
- package/dist/chunks/{snapshot-pf5amn4b.js → agent-ywr1yhv3.js} +7 -7
- package/dist/chunks/{snapshot-z07pqspn.js → agent-z07pqspn.js} +3 -3
- package/dist/chunks/{snapshot-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
- package/dist/chunks/{snapshot-c94p0vzs.js → agent-z5985ys6.js} +21 -21
- package/dist/chunks/{snapshot-z63w68vq.js → agent-z63w68vq.js} +2 -2
- package/dist/chunks/{snapshot-5a22swag.js → agent-z6vqazby.js} +1 -1
- package/dist/chunks/{snapshot-ss2695sz.js → agent-z9x99dgf.js} +25 -25
- package/dist/chunks/{snapshot-mcx4wgxb.js → agent-zd8ptnqb.js} +33 -33
- package/dist/chunks/{snapshot-zeh9ct20.js → agent-zeh9ct20.js} +2 -2
- package/dist/chunks/{snapshot-nbpg3hpq.js → agent-zhtpe0kf.js} +13 -13
- package/dist/chunks/{snapshot-gdq1wzkg.js → agent-zk5n06yq.js} +22 -22
- package/dist/chunks/{snapshot-a9r7taa5.js → agent-zq2asrye.js} +18 -18
- package/dist/chunks/{snapshot-yz6jt1q7.js → agent-zqqw7vpf.js} +13 -13
- package/dist/chunks/{snapshot-nats9h3g.js → agent-zqyfehrf.js} +3 -3
- package/dist/chunks/{snapshot-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
- package/dist/chunks/{snapshot-wavy99wc.js → agent-zt1q6574.js} +11 -11
- package/dist/chunks/{snapshot-be4n291q.js → agent-zvr28f0w.js} +23 -23
- package/dist/chunks/{snapshot-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
- 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 +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +139 -139
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +73 -73
- package/dist/database/database.js +66 -66
- 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 +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +95 -95
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +221 -221
- 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 +100 -100
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- 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 +99 -99
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +76 -76
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- 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 +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- 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 +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +94 -94
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- 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 +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -137
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +89 -89
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- 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/command.js +74 -74
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +152 -152
- 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 +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- 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 +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- 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 +208 -208
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +213 -213
- 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 +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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 +5 -5
- 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 +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/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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/snapshot-0mesazry.js +0 -4
- package/dist/chunks/snapshot-by5v678g.js +0 -18
- package/dist/chunks/snapshot-fp8byzsz.js +0 -252
- package/dist/chunks/snapshot-x2psz0qx.js +0 -26
- /package/dist/chunks/{snapshot-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{snapshot-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{snapshot-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{snapshot-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{snapshot-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{snapshot-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{snapshot-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{snapshot-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
- /package/dist/chunks/{snapshot-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{snapshot-34c7v6d4.js → agent-34c7v6d4.js} +0 -0
- /package/dist/chunks/{snapshot-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{snapshot-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{snapshot-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{snapshot-3w5fmr99.js → agent-3w5fmr99.js} +0 -0
- /package/dist/chunks/{snapshot-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{snapshot-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{snapshot-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{snapshot-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{snapshot-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{snapshot-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{snapshot-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{snapshot-5qd3pb7m.js → agent-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{snapshot-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{snapshot-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{snapshot-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{snapshot-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{snapshot-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{snapshot-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{snapshot-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
- /package/dist/chunks/{snapshot-922hggd3.js → agent-922hggd3.js} +0 -0
- /package/dist/chunks/{snapshot-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{snapshot-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{snapshot-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
- /package/dist/chunks/{snapshot-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{snapshot-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{snapshot-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{snapshot-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{snapshot-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{snapshot-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{snapshot-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{snapshot-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{snapshot-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{snapshot-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{snapshot-dajrwvna.js → agent-dajrwvna.js} +0 -0
- /package/dist/chunks/{snapshot-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{snapshot-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{snapshot-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{snapshot-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{snapshot-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
- /package/dist/chunks/{snapshot-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{snapshot-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
- /package/dist/chunks/{snapshot-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{snapshot-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{snapshot-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{snapshot-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{snapshot-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{snapshot-fxgpk5d8.js → agent-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{snapshot-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{snapshot-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{snapshot-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{snapshot-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{snapshot-hjbc5kem.js → agent-hjbc5kem.js} +0 -0
- /package/dist/chunks/{snapshot-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{snapshot-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{snapshot-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{snapshot-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{snapshot-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{snapshot-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{snapshot-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{snapshot-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{snapshot-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{snapshot-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{snapshot-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{snapshot-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{snapshot-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{snapshot-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{snapshot-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{snapshot-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{snapshot-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{snapshot-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{snapshot-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{snapshot-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{snapshot-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{snapshot-sk3qaz4a.js → agent-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{snapshot-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{snapshot-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{snapshot-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{snapshot-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{snapshot-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{snapshot-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{snapshot-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{snapshot-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{snapshot-y8cydn3q.js → agent-y8cydn3q.js} +0 -0
- /package/dist/chunks/{snapshot-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{snapshot-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{snapshot-ym463w8f.js → agent-ym463w8f.js} +0 -0
- /package/dist/chunks/{snapshot-z9919s4g.js → agent-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-v6zzpp1a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./agent-qaw4m7e1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service52
|
|
9
|
+
} from "./agent-xcd0eash.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-5ekn9679.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError7,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./agent-egrr39fs.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./agent-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service59
|
|
29
|
+
} from "./agent-6ze6cnmj.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service50
|
|
34
|
+
} from "./agent-k7v2xwv9.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service48
|
|
37
|
+
} from "./agent-p4n2tsr9.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./agent-ym4va9hq.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./agent-dm43cxx4.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./agent-ysjzdycw.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./agent-vwxj763t.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./agent-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -63,18 +63,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
|
-
const bus = yield*
|
|
66
|
+
const bus = yield* Service83;
|
|
67
67
|
const database = yield* Service84;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service59;
|
|
69
|
+
const instances = yield* Service52;
|
|
70
|
+
const execution = yield* Service48;
|
|
71
|
+
const admission = yield* Service50;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError7({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service52, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service52, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service52, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service52, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service52, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service65
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-cwkmhrp6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service26
|
|
6
|
+
} from "./agent-38j4n8ns.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make10 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
23
|
+
const sessions = yield* Service26;
|
|
24
24
|
const jobs = yield* Service65;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info17
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info17 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info14 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info17, exports_command4 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./agent-qaw4m7e1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service38,
|
|
7
|
+
node41
|
|
8
|
+
} from "./agent-ne87pwxh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service58,
|
|
11
|
+
node60
|
|
12
|
+
} from "./agent-b28x5q96.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service39,
|
|
15
|
+
node42
|
|
16
|
+
} from "./agent-4hk0erf7.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service37,
|
|
26
|
+
layer: () => layer13,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service37 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer13 = Layer.effect(Service37, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service38;
|
|
42
|
+
const tools = yield* Service39;
|
|
43
|
+
const bus = yield* Service83;
|
|
44
|
+
const permission = yield* Service58;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service37.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node40 = makeLocationNode({
|
|
124
|
+
service: Service37,
|
|
125
|
+
layer: layer13,
|
|
126
|
+
deps: [node42, node41, node87, node60]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service37, layer13, node40, exports_mcp3 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./agent-8jp7x2be.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-b28x5q96.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent = {};
|
|
15
15
|
__export(exports_agent, {
|
|
16
16
|
AgentPlugin: () => exports_agent,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin14
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin14 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin17 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID10.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID10.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin17 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID10.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID10.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID10.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin17 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin14, exports_agent };
|