@opencode-ai/core 0.0.0-beta-18743 → 0.0.0-beta-18955
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 +4 -4
- package/dist/agent.js +78 -78
- package/dist/aisdk-native.js +5 -5
- package/dist/aisdk.js +8 -8
- package/dist/app.js +8 -8
- package/dist/bus.js +78 -78
- package/dist/catalog.js +81 -81
- package/dist/chunks/{websearch-zxbgx7sv.js → event-logger-08pxpvak.js} +17 -17
- package/dist/chunks/{websearch-3thh6229.js → event-logger-0ag03ecw.js} +2 -2
- package/dist/chunks/{websearch-svakn3c9.js → event-logger-0dz826pz.js} +3 -3
- package/dist/chunks/{websearch-57ej80dx.js → event-logger-0gpahtwn.js} +92 -15
- package/dist/chunks/{websearch-pmxbkaxh.js → event-logger-0gxv3s82.js} +6 -6
- package/dist/chunks/{websearch-4zzdwbaz.js → event-logger-0pc4kdn1.js} +2 -2
- package/dist/chunks/{websearch-2m0hgr65.js → event-logger-0rz7yd7x.js} +3 -3
- package/dist/chunks/{websearch-xxpvz42q.js → event-logger-136c8mz3.js} +12 -11
- package/dist/chunks/{websearch-ebkm32az.js → event-logger-1cvrgbet.js} +17 -14
- package/dist/chunks/{websearch-58qy95wc.js → event-logger-1j04cwhr.js} +23 -17
- package/dist/chunks/{websearch-5jsm3hkx.js → event-logger-1n8w657t.js} +13 -13
- package/dist/chunks/{websearch-16zkvt3y.js → event-logger-23y1jcwt.js} +2 -2
- package/dist/chunks/{websearch-264e1nfp.js → event-logger-264e1nfp.js} +2 -2
- package/dist/chunks/event-logger-2dy05jzf.js +206 -0
- package/dist/chunks/{websearch-vv04m5r9.js → event-logger-2gjt1w6y.js} +12 -16
- package/dist/chunks/{websearch-bswth2jt.js → event-logger-2hktn3e1.js} +8 -8
- package/dist/chunks/{websearch-r0c038tz.js → event-logger-2hmmtx2y.js} +16 -13
- package/dist/chunks/{websearch-bbhffenw.js → event-logger-2qq12ds3.js} +17 -17
- package/dist/chunks/{websearch-cgqn2mrm.js → event-logger-2sqw2jjm.js} +20 -20
- package/dist/chunks/{websearch-fgbg5vp8.js → event-logger-2y7knjcn.js} +78 -95
- package/dist/chunks/{websearch-393a352g.js → event-logger-326j4s6w.js} +5 -5
- package/dist/chunks/{websearch-qcny0ysj.js → event-logger-35q0pxy1.js} +25 -25
- package/dist/chunks/{websearch-g57kecbr.js → event-logger-3cfzw09p.js} +13 -13
- package/dist/chunks/{websearch-vz89hfgr.js → event-logger-3chx3ng6.js} +11 -11
- package/dist/chunks/{websearch-t6ma3p1k.js → event-logger-3ebhgms6.js} +5 -5
- package/dist/chunks/{websearch-h5wnyjzw.js → event-logger-3ep0k87g.js} +5 -5
- package/dist/chunks/{websearch-zsyc5nym.js → event-logger-3fsqcqr3.js} +15 -15
- package/dist/chunks/{websearch-j281xcgt.js → event-logger-3mc1hhwa.js} +5 -5
- package/dist/chunks/{websearch-g8vhkwkh.js → event-logger-3r1x0nyw.js} +29 -14
- package/dist/chunks/{websearch-8rq9vje0.js → event-logger-3r56fk07.js} +5 -5
- package/dist/chunks/event-logger-3tg0cqem.js +51 -0
- package/dist/chunks/{websearch-thstd87d.js → event-logger-42zyazrq.js} +3 -3
- package/dist/chunks/{websearch-azdqaz44.js → event-logger-436nrt40.js} +12 -12
- package/dist/chunks/{websearch-p6jxvkgx.js → event-logger-46rdtn0f.js} +3 -3
- package/dist/chunks/event-logger-473q516w.js +34 -0
- package/dist/chunks/{websearch-h7xf8fhv.js → event-logger-492z0nb6.js} +18 -18
- package/dist/chunks/{websearch-sa72t5px.js → event-logger-4cpn1159.js} +12 -12
- package/dist/chunks/{websearch-1b8q0qfd.js → event-logger-4dptn36j.js} +14 -14
- package/dist/chunks/{websearch-nxaza16h.js → event-logger-4fsyr2s9.js} +12 -12
- package/dist/chunks/{websearch-b3c7c25w.js → event-logger-4hynchfh.js} +5 -5
- package/dist/chunks/{websearch-ppeewn5e.js → event-logger-4psh7k13.js} +21 -21
- package/dist/chunks/{websearch-wft6ftgt.js → event-logger-4v4fym39.js} +13 -13
- package/dist/chunks/{websearch-2nmyybe0.js → event-logger-4v6g3p22.js} +3 -3
- package/dist/chunks/{websearch-aw3ez9f6.js → event-logger-4vcd31gm.js} +20 -20
- package/dist/chunks/{websearch-vqbmgfq1.js → event-logger-4w0ckvbq.js} +11 -11
- package/dist/chunks/{websearch-k5e6kcej.js → event-logger-51t2tyks.js} +6 -14
- package/dist/chunks/{websearch-vmj52cpb.js → event-logger-52a5hsyw.js} +21 -5
- package/dist/chunks/{websearch-h6q26knr.js → event-logger-53jxjgr1.js} +2 -2
- package/dist/chunks/{websearch-bwv594nh.js → event-logger-5efgsk2e.js} +19 -14
- package/dist/chunks/{websearch-5kg7kdyf.js → event-logger-5hd326tc.js} +7 -7
- package/dist/chunks/{websearch-bfwky23p.js → event-logger-5sakdtm6.js} +3 -3
- package/dist/chunks/{websearch-q66tjefk.js → event-logger-5vbk082d.js} +2 -2
- package/dist/chunks/{websearch-etvrgfqj.js → event-logger-5y5kqjze.js} +7 -7
- package/dist/chunks/{websearch-qtnwpnb7.js → event-logger-61znvqb4.js} +60 -60
- package/dist/chunks/event-logger-63yqstqv.js +200 -0
- package/dist/chunks/{websearch-0kvmztkf.js → event-logger-66mds5ht.js} +3 -3
- package/dist/chunks/{websearch-fex42j86.js → event-logger-68yag814.js} +14 -14
- package/dist/chunks/{websearch-6wkzvma0.js → event-logger-6a909wmz.js} +10 -12
- package/dist/chunks/event-logger-6bxzghb6.js +20 -0
- package/dist/chunks/{websearch-fm3b2wbt.js → event-logger-6hppa3xw.js} +4 -4
- package/dist/chunks/{websearch-d2gk9vpf.js → event-logger-6vbv4je1.js} +4 -4
- package/dist/chunks/{websearch-zxe9jjhn.js → event-logger-6wsfy4sp.js} +4 -4
- package/dist/chunks/{websearch-5sc277j1.js → event-logger-6wskbeqw.js} +28 -30
- package/dist/chunks/{websearch-44bp186z.js → event-logger-6x09n4m4.js} +20 -20
- package/dist/chunks/{websearch-gzkavbc5.js → event-logger-754qx1qh.js} +10 -10
- package/dist/chunks/{websearch-8ydxcqkb.js → event-logger-78s2egvq.js} +21 -21
- package/dist/chunks/{websearch-1qcm30f5.js → event-logger-7kvqks8y.js} +16 -16
- package/dist/chunks/{websearch-kg1345f7.js → event-logger-7myqjfx6.js} +4 -4
- package/dist/chunks/{websearch-73j8zhd3.js → event-logger-7nhr92kz.js} +3 -3
- package/dist/chunks/{websearch-b22ptp6c.js → event-logger-80djagdx.js} +26 -43
- package/dist/chunks/{websearch-0atc81xx.js → event-logger-8458mtgv.js} +46 -45
- package/dist/chunks/event-logger-88rtces7.js +412 -0
- package/dist/chunks/{websearch-wfxbz101.js → event-logger-89h2133j.js} +10 -10
- package/dist/chunks/{websearch-j7w45qd7.js → event-logger-89jm8ntc.js} +21 -16
- package/dist/chunks/{websearch-nr76rjj3.js → event-logger-89ttfx5q.js} +7 -7
- package/dist/chunks/{websearch-0687t5rp.js → event-logger-8c5xq4gn.js} +14 -14
- package/dist/chunks/{websearch-vd03bq4r.js → event-logger-8eb86sst.js} +20 -20
- package/dist/chunks/{websearch-ngz3v23c.js → event-logger-8ezmrsyj.js} +4 -4
- package/dist/chunks/{websearch-t683wdge.js → event-logger-8manx9kj.js} +16 -16
- package/dist/chunks/{websearch-sqsnmb9f.js → event-logger-8r263vtv.js} +2 -2
- package/dist/chunks/{websearch-npwkm078.js → event-logger-8y5vxhk7.js} +1 -1
- package/dist/chunks/{websearch-cwrtkqrz.js → event-logger-90ryhae1.js} +26 -16
- package/dist/chunks/{websearch-mp6zts7p.js → event-logger-90zcexzw.js} +9 -10
- package/dist/chunks/{websearch-y7qjjh9e.js → event-logger-97fepfd9.js} +32 -28
- package/dist/chunks/{websearch-rdqmt1vp.js → event-logger-9dbv6hqn.js} +2 -2
- package/dist/chunks/{websearch-q8bf6xcm.js → event-logger-9nw2dxvq.js} +4 -4
- package/dist/chunks/{websearch-nshceesa.js → event-logger-9pdtp4hh.js} +9 -9
- package/dist/chunks/{websearch-byab506k.js → event-logger-a6xqkezx.js} +1 -1
- package/dist/chunks/{websearch-wps8gh8n.js → event-logger-af42tqdk.js} +2 -2
- package/dist/chunks/{websearch-ns0sdez7.js → event-logger-aqq7me5d.js} +26 -18
- package/dist/chunks/{websearch-513qbefx.js → event-logger-b1z99xtq.js} +12 -23
- package/dist/chunks/{websearch-1064xx1w.js → event-logger-b6k0ney6.js} +10 -10
- package/dist/chunks/{websearch-2yr8bd15.js → event-logger-b9nrx84y.js} +13 -13
- package/dist/chunks/{websearch-jqdqx4ms.js → event-logger-bctawmv9.js} +15 -24
- package/dist/chunks/{websearch-e1z9a0ts.js → event-logger-bd2mvb8t.js} +6 -6
- package/dist/chunks/{websearch-0xa3ynrb.js → event-logger-bmdmb8f9.js} +8 -8
- package/dist/chunks/{websearch-y0x38cee.js → event-logger-bnha4c96.js} +3 -3
- package/dist/chunks/{websearch-gzxnmdrv.js → event-logger-c2bhx1ec.js} +60 -46
- package/dist/chunks/{websearch-ec8vrfw5.js → event-logger-c54e84vp.js} +19 -19
- package/dist/chunks/{websearch-rmjj1pjh.js → event-logger-c55cgmsp.js} +4 -4
- package/dist/chunks/{websearch-2ygx7nw7.js → event-logger-c5h8z8cv.js} +40 -40
- package/dist/chunks/{websearch-c8ya26sa.js → event-logger-c8ya26sa.js} +2 -2
- package/dist/chunks/{websearch-hetwehem.js → event-logger-cj6y4gbf.js} +14 -14
- package/dist/chunks/{websearch-4h896fer.js → event-logger-ckcq38kt.js} +2 -2
- package/dist/chunks/{websearch-zvz5j2bc.js → event-logger-crecg5t7.js} +23 -20
- package/dist/chunks/event-logger-crz4xfzm.js +433 -0
- package/dist/chunks/{websearch-xz7tgbq3.js → event-logger-cz4g9a0v.js} +12 -12
- package/dist/chunks/{websearch-d4h7vwhh.js → event-logger-d4h7vwhh.js} +2 -2
- package/dist/chunks/{websearch-mk3z7nc0.js → event-logger-d8f23dkx.js} +10 -8
- package/dist/chunks/{websearch-3vz1ew5q.js → event-logger-db33vhr2.js} +12 -12
- package/dist/chunks/{websearch-5rs65q6p.js → event-logger-dexm22yg.js} +4 -4
- package/dist/chunks/event-logger-dn2wztxw.js +40 -0
- package/dist/chunks/event-logger-dtm6fkaa.js +54 -0
- package/dist/chunks/{websearch-cb3xnjzj.js → event-logger-dvcabejh.js} +8 -8
- package/dist/chunks/{websearch-mxvw03gv.js → event-logger-dyhtrhy2.js} +1 -1
- package/dist/chunks/event-logger-dyrfpcd0.js +114 -0
- package/dist/chunks/{websearch-pdzzmdc7.js → event-logger-dyv1aw3z.js} +14 -14
- package/dist/chunks/{websearch-f9wt0tjw.js → event-logger-e0n16vwa.js} +10 -10
- package/dist/chunks/{websearch-kww0mg52.js → event-logger-eb87q0yv.js} +1 -1
- package/dist/chunks/{websearch-djtgymwn.js → event-logger-eccfdzzr.js} +8 -9
- package/dist/chunks/{websearch-y67x6rf6.js → event-logger-edxnhgvj.js} +3 -3
- package/dist/chunks/{websearch-62f8vfk8.js → event-logger-efy5rfxh.js} +8 -8
- package/dist/chunks/event-logger-esv5q40e.js +18 -0
- package/dist/chunks/{websearch-c4wcb9vc.js → event-logger-etbnsc4s.js} +5 -5
- package/dist/chunks/{websearch-s8pv2mgp.js → event-logger-ety6zxes.js} +38 -27
- package/dist/chunks/{websearch-qe0d689s.js → event-logger-f2nhxfjt.js} +2 -2
- package/dist/chunks/{websearch-sfg41mtw.js → event-logger-f4vqkfbt.js} +15 -15
- package/dist/chunks/{websearch-41qzzbpz.js → event-logger-f8wvq04h.js} +3 -3
- package/dist/chunks/{websearch-smpeg8c9.js → event-logger-fqehnn9p.js} +2 -2
- package/dist/chunks/{websearch-18pv8fg3.js → event-logger-g9dd0fv6.js} +5 -5
- package/dist/chunks/{websearch-mkaa6r1p.js → event-logger-gag4b6js.js} +10 -10
- package/dist/chunks/{websearch-gb1z7yet.js → event-logger-gb1z7yet.js} +2 -2
- package/dist/chunks/{websearch-mnb85w6b.js → event-logger-gc513wew.js} +4 -4
- package/dist/chunks/{websearch-mzabt5y0.js → event-logger-ggzp5gpk.js} +8 -9
- package/dist/chunks/{websearch-gd2xppx8.js → event-logger-grfz4hhj.js} +3 -3
- package/dist/chunks/{websearch-mxccen0e.js → event-logger-gse5vfpv.js} +25 -25
- package/dist/chunks/{websearch-medv9fna.js → event-logger-gwp0mkke.js} +18 -17
- package/dist/chunks/{websearch-39vp2fsy.js → event-logger-gwpvptdr.js} +1 -1
- package/dist/chunks/{websearch-fvzd795v.js → event-logger-h01zxzks.js} +12 -12
- package/dist/chunks/{websearch-z9qwgjnx.js → event-logger-hbm0jdrs.js} +15 -15
- package/dist/chunks/{websearch-gx14js23.js → event-logger-he5ca1b1.js} +10 -10
- package/dist/chunks/{websearch-hgr9y616.js → event-logger-hgr9y616.js} +1 -1
- package/dist/chunks/{websearch-15hpbjb6.js → event-logger-hpkeh7wf.js} +6 -6
- package/dist/chunks/{websearch-t87z2dfg.js → event-logger-hr3zcmss.js} +27 -17
- package/dist/chunks/{websearch-50jxp3hw.js → event-logger-hs51b0fc.js} +7 -7
- package/dist/chunks/{websearch-10p29vm9.js → event-logger-htmhxvv7.js} +37 -202
- package/dist/chunks/{websearch-3g8vftxb.js → event-logger-hvydqsq5.js} +4 -4
- package/dist/chunks/{websearch-np0as9yq.js → event-logger-hxhg3cbh.js} +21 -21
- package/dist/chunks/{websearch-5vcssjzn.js → event-logger-hy5n5jcn.js} +3 -3
- package/dist/chunks/{websearch-s2kjqxd3.js → event-logger-hzag9ake.js} +1 -1
- package/dist/chunks/{websearch-v80zsxnb.js → event-logger-hzwx8p6y.js} +7 -6
- package/dist/chunks/{websearch-j0feex7e.js → event-logger-j0feex7e.js} +1 -1
- package/dist/chunks/{websearch-xva3gx0c.js → event-logger-j189w519.js} +9 -9
- package/dist/chunks/{websearch-0d4mk87s.js → event-logger-jar52fmb.js} +3 -3
- package/dist/chunks/{websearch-17cn0e7w.js → event-logger-jmk5afdx.js} +50 -49
- package/dist/chunks/{websearch-yt02w91s.js → event-logger-jqhp3fpz.js} +4 -4
- package/dist/chunks/{websearch-tjrfm0xh.js → event-logger-jr5m26np.js} +8 -8
- package/dist/chunks/{websearch-ambzzkps.js → event-logger-k030pceh.js} +8 -8
- package/dist/chunks/{websearch-xwftk1fd.js → event-logger-k7hkdbw5.js} +2 -2
- package/dist/chunks/{websearch-4qfc90j3.js → event-logger-ke5mv4q1.js} +88 -88
- package/dist/chunks/{websearch-69gn2r8j.js → event-logger-kje1pb31.js} +5 -5
- package/dist/chunks/{websearch-dhphtf1x.js → event-logger-kq3q54gz.js} +3 -3
- package/dist/chunks/{websearch-a7zp47hx.js → event-logger-kr9vgar1.js} +3 -3
- package/dist/chunks/{websearch-5wmbkqw2.js → event-logger-kz3am89c.js} +5 -5
- package/dist/chunks/{websearch-h8nbdcx9.js → event-logger-kzzx546a.js} +23 -23
- package/dist/chunks/{websearch-r3rfmnhs.js → event-logger-m32vxkan.js} +56 -37
- package/dist/chunks/{websearch-g68hwncr.js → event-logger-m6a7zjhr.js} +1 -1
- package/dist/chunks/{websearch-h94zdhz8.js → event-logger-m7jtgrng.js} +8 -8
- package/dist/chunks/{websearch-mf0hyk7z.js → event-logger-mf0hyk7z.js} +1 -1
- package/dist/chunks/{websearch-kp1t5rcy.js → event-logger-mnyszbxc.js} +3 -3
- package/dist/chunks/{websearch-74qdg080.js → event-logger-mp08m2a2.js} +96 -141
- package/dist/chunks/{websearch-02f9w0t0.js → event-logger-mv81kt5z.js} +2 -2
- package/dist/chunks/{websearch-682366gn.js → event-logger-mvhmw1qg.js} +30 -30
- package/dist/chunks/{websearch-xj0xhwdw.js → event-logger-my53s247.js} +5 -5
- package/dist/chunks/{websearch-mhvnwbnm.js → event-logger-mywmt41p.js} +3 -3
- package/dist/chunks/{websearch-wjk9b8hz.js → event-logger-n060v487.js} +8 -8
- package/dist/chunks/{websearch-r3k9abhd.js → event-logger-ngzr6ypz.js} +4 -4
- package/dist/chunks/{websearch-qwn30307.js → event-logger-nj6yqve1.js} +21 -12
- package/dist/chunks/{websearch-5wqkeaf9.js → event-logger-njrb9jc2.js} +15 -15
- package/dist/chunks/{websearch-sw84ckhj.js → event-logger-nn16cgj7.js} +5 -5
- package/dist/chunks/{websearch-rhf7srtt.js → event-logger-nrbccn7t.js} +26 -27
- package/dist/chunks/{websearch-5fe026tx.js → event-logger-ntev5d3k.js} +11 -11
- package/dist/chunks/{websearch-vgk3vx5v.js → event-logger-nv5prhmc.js} +11 -11
- package/dist/chunks/{websearch-hp6rpdnc.js → event-logger-p1m5qwvv.js} +3 -3
- package/dist/chunks/{websearch-ncfwr7ab.js → event-logger-p30vnntj.js} +19 -19
- package/dist/chunks/{websearch-1zfavzce.js → event-logger-p3qtk0sz.js} +4 -4
- package/dist/chunks/{websearch-7wcmqxrc.js → event-logger-p5gyct0y.js} +4 -4
- package/dist/chunks/{websearch-2pd1mgzx.js → event-logger-pk53j7qk.js} +4 -4
- package/dist/chunks/{websearch-rft40sg1.js → event-logger-pm6tc1g5.js} +167 -109
- package/dist/chunks/event-logger-pmxccgjm.js +70 -0
- package/dist/chunks/{websearch-7ks83nc4.js → event-logger-pnnr4jav.js} +2 -2
- package/dist/chunks/{websearch-v6wdqan0.js → event-logger-prqhf714.js} +10 -10
- package/dist/chunks/{websearch-bh1wr8rq.js → event-logger-pves38xm.js} +10 -10
- package/dist/chunks/{websearch-0xmbntw2.js → event-logger-pvhtfzrc.js} +23 -23
- package/dist/chunks/{websearch-5ps159h2.js → event-logger-q3a4v6k3.js} +42 -59
- package/dist/chunks/{websearch-q606pcse.js → event-logger-q606pcse.js} +3 -3
- package/dist/chunks/{websearch-ep35cpen.js → event-logger-qf52r0wh.js} +5 -5
- package/dist/chunks/{websearch-v9bfv94f.js → event-logger-qfvp8zq7.js} +5 -5
- package/dist/chunks/{websearch-betp4092.js → event-logger-qj8f3w7s.js} +9 -9
- package/dist/chunks/{websearch-v4twp2vj.js → event-logger-qjrxng61.js} +7 -7
- package/dist/chunks/{websearch-sycwgz0f.js → event-logger-qkxw4gnc.js} +21 -18
- package/dist/chunks/{websearch-ps01fcq7.js → event-logger-qpxzqy01.js} +1 -1
- package/dist/chunks/{websearch-b88z1mq9.js → event-logger-qy3e6rw6.js} +8 -8
- package/dist/chunks/{websearch-dyj7wa6j.js → event-logger-qz5gwjr7.js} +10 -10
- package/dist/chunks/event-logger-r6n0mc8a.js +165 -0
- package/dist/chunks/event-logger-r7a2r1m6.js +74 -0
- package/dist/chunks/{websearch-02dbfq60.js → event-logger-r7z6wjth.js} +4 -4
- package/dist/chunks/{websearch-r9d3d23r.js → event-logger-r9d3d23r.js} +1 -1
- package/dist/chunks/{websearch-k9fxkxys.js → event-logger-r9eqmc8s.js} +12 -12
- package/dist/chunks/{websearch-rahat93a.js → event-logger-rahat93a.js} +1 -1
- package/dist/chunks/{websearch-8g883nkb.js → event-logger-rezbca9p.js} +9 -9
- package/dist/chunks/{websearch-emhmd4ee.js → event-logger-rg8m7c20.js} +21 -21
- package/dist/chunks/event-logger-rr7wbarq.js +151 -0
- package/dist/chunks/{websearch-9m53xm9q.js → event-logger-rw0wpwwx.js} +20 -98
- package/dist/chunks/{websearch-y198y2ra.js → event-logger-s32nnj3r.js} +12 -12
- package/dist/chunks/{websearch-8axmdjr3.js → event-logger-shpran1t.js} +10 -10
- package/dist/chunks/{websearch-2yvgq9hf.js → event-logger-sn8j54fn.js} +7 -7
- package/dist/chunks/{websearch-pn41wmfy.js → event-logger-snaeak2t.js} +5 -5
- package/dist/chunks/{websearch-j32vdj8r.js → event-logger-snpn6bap.js} +3 -6
- package/dist/chunks/{websearch-w06zjwdb.js → event-logger-sx32kxcj.js} +34 -36
- package/dist/chunks/{websearch-rw8s73eq.js → event-logger-t1t3wgqy.js} +6 -6
- package/dist/chunks/{websearch-wsf0pp6q.js → event-logger-ta3m9k5q.js} +39 -27
- package/dist/chunks/{websearch-8epg6g0q.js → event-logger-thpgkbc3.js} +13 -13
- package/dist/chunks/{websearch-yeb65r72.js → event-logger-txgyjqwh.js} +18 -18
- package/dist/chunks/event-logger-v1m6ft8e.js +33 -0
- package/dist/chunks/event-logger-v7p6trqn.js +68 -0
- package/dist/chunks/{websearch-rwymanc1.js → event-logger-va0cyycw.js} +8 -8
- package/dist/chunks/{websearch-2b5rfbmh.js → event-logger-vby4rget.js} +8 -8
- package/dist/chunks/{websearch-vcwr2vpf.js → event-logger-vcwr2vpf.js} +1 -1
- package/dist/chunks/{websearch-wnh6cdm7.js → event-logger-vd3sdp2r.js} +30 -26
- package/dist/chunks/{websearch-w5wgtd7r.js → event-logger-vnbqnfbp.js} +107 -114
- package/dist/chunks/{websearch-dcawee05.js → event-logger-vtw5d7yb.js} +25 -6
- package/dist/chunks/{websearch-cat9v99r.js → event-logger-vw7aptj1.js} +16 -16
- package/dist/chunks/{websearch-fzn2mac5.js → event-logger-vy2v88c7.js} +36 -43
- package/dist/chunks/{websearch-xczfw7dq.js → event-logger-vynk8zbr.js} +6 -6
- package/dist/chunks/{websearch-7mrpdsq5.js → event-logger-w5r9s7kx.js} +4 -4
- package/dist/chunks/{websearch-99hgw2nh.js → event-logger-w659emnr.js} +8 -8
- package/dist/chunks/{websearch-wbkt8qpj.js → event-logger-wbkt8qpj.js} +1 -1
- package/dist/chunks/{websearch-gcay93cp.js → event-logger-wdqva41w.js} +3 -3
- package/dist/chunks/{websearch-9f0rnpkn.js → event-logger-wf5w4wph.js} +3 -3
- package/dist/chunks/{websearch-wmxdh12w.js → event-logger-wmxdh12w.js} +1 -1
- package/dist/chunks/{websearch-snd64xsa.js → event-logger-wntga0jy.js} +12 -12
- package/dist/chunks/event-logger-x3tdcr34.js +39 -0
- package/dist/chunks/{websearch-nzrjycs5.js → event-logger-x3vb5b1t.js} +3 -3
- package/dist/chunks/{websearch-58xdvehb.js → event-logger-x4az4y7r.js} +5 -5
- package/dist/chunks/{websearch-33thd34n.js → event-logger-x9jcn2rd.js} +8 -9
- package/dist/chunks/{websearch-vg3nw4cf.js → event-logger-xc7tt4dr.js} +11 -11
- package/dist/chunks/{websearch-pq4b4pqk.js → event-logger-xdb88cdw.js} +4 -4
- package/dist/chunks/{websearch-0300b7d6.js → event-logger-xdbcpqje.js} +7 -7
- package/dist/chunks/{websearch-w385wtt6.js → event-logger-xe02v0q7.js} +2 -2
- package/dist/chunks/{websearch-zdkg1k91.js → event-logger-xtqs7d5w.js} +16 -5
- package/dist/chunks/{websearch-v2wshkax.js → event-logger-xws7arpm.js} +3 -3
- package/dist/chunks/{websearch-yv7jst0e.js → event-logger-ydjr7n73.js} +14 -14
- package/dist/chunks/{websearch-ntdt82vf.js → event-logger-ykct3tqj.js} +19 -19
- package/dist/chunks/{websearch-abv0a2s2.js → event-logger-yvgr2m8p.js} +23 -23
- package/dist/chunks/{websearch-8v308b8a.js → event-logger-z2xdydfc.js} +17 -17
- package/dist/chunks/{websearch-6z2cdyqa.js → event-logger-z4wj20et.js} +37 -43
- package/dist/chunks/{websearch-9qy4593r.js → event-logger-z7sxqf8x.js} +34 -34
- package/dist/chunks/{websearch-v972xay6.js → event-logger-z8c1ty6e.js} +3 -3
- package/dist/chunks/{websearch-rejtg0m2.js → event-logger-z9v87wg9.js} +16 -15
- package/dist/chunks/{websearch-zbqqnp0n.js → event-logger-zbqqnp0n.js} +1 -1
- package/dist/chunks/{websearch-r8by723k.js → event-logger-zef5gtky.js} +9 -9
- package/dist/chunks/{websearch-srvcw5ce.js → event-logger-zh3jcm0q.js} +4 -4
- package/dist/chunks/{websearch-6fe9z7g5.js → event-logger-zhwqdhdj.js} +7 -7
- package/dist/chunks/{websearch-gz9s6gpj.js → event-logger-zmbmd7xf.js} +2 -2
- package/dist/chunks/{websearch-txeepgh1.js → event-logger-zmvw3ptf.js} +8 -8
- package/dist/chunks/{websearch-6ky7rqk7.js → event-logger-zn935gjz.js} +3 -3
- package/dist/chunks/{websearch-wq5r9j83.js → event-logger-zseh86v1.js} +4 -4
- package/dist/chunks/{websearch-yz1n3za9.js → event-logger-zsq8es3s.js} +7 -7
- package/dist/chunks/{websearch-t14kykx1.js → event-logger-zyyhrfr9.js} +9 -9
- package/dist/chunks/{websearch-q8xy3s52.js → event-logger-zzr78n57.js} +53 -55
- package/dist/codemode/catalog.js +8 -6
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +6 -5
- package/dist/command.js +77 -77
- package/dist/config/markdown.js +5 -5
- package/dist/config/normalize.js +22 -22
- package/dist/config/plugin/agent.js +129 -134
- package/dist/config/plugin/command.js +115 -120
- package/dist/config/plugin/compaction.js +168 -148
- package/dist/config/plugin/entry-observer.js +111 -116
- package/dist/config/plugin/formatter.js +116 -121
- package/dist/config/plugin/image.js +128 -133
- package/dist/config/plugin/instruction.js +87 -92
- package/dist/config/plugin/location-watcher.js +114 -119
- package/dist/config/plugin/mcp.js +124 -129
- package/dist/config/plugin/policy.js +113 -118
- package/dist/config/plugin/provider.js +112 -117
- package/dist/config/plugin/reference.js +116 -121
- package/dist/config/plugin/shell.js +115 -120
- package/dist/config/plugin/skill-file.js +100 -105
- package/dist/config/plugin/skill.js +132 -137
- package/dist/config/plugin/snapshot.js +114 -119
- package/dist/config/plugin/source.js +114 -118
- package/dist/config/plugin/tool-output.js +116 -121
- package/dist/config/plugin/websearch.js +112 -117
- package/dist/config/variable.js +6 -6
- package/dist/config.js +116 -121
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +79 -79
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +16 -16
- package/dist/database/drizzle/effect-sqlite/index.js +20 -20
- package/dist/database/drizzle/effect-sqlite/session.js +14 -14
- package/dist/database/drizzle/index.js +22 -22
- package/dist/database/drizzle/internal/drizzle-utils.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/index.js +33 -33
- package/dist/database/drizzle/sqlite-core/effect/insert.js +5 -5
- package/dist/database/drizzle/sqlite-core/effect/query.js +4 -4
- package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/select.js +5 -5
- package/dist/database/drizzle/sqlite-core/effect/session.js +13 -13
- package/dist/database/drizzle/sqlite-core/effect/update.js +5 -5
- package/dist/database/drizzle.js +23 -23
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
- package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
- package/dist/database/migration/20260225215848_workspace.js +2 -2
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
- package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
- package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
- package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
- package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
- package/dist/database/migration/20260323234822_events.js +2 -2
- package/dist/database/migration/20260410174513_workspace-name.js +2 -2
- package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
- package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
- package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
- package/dist/database/migration/20260428004200_add_session_path.js +2 -2
- package/dist/database/migration/20260501142318_next_venus.js +2 -2
- package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
- package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
- package/dist/database/migration/20260510033149_session_usage.js +2 -2
- package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
- package/dist/database/migration/20260511173437_session-metadata.js +2 -2
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
- package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
- package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
- package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
- package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
- package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
- package/dist/database/migration/20260611035744_credential.js +2 -2
- package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
- package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
- package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
- package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +4 -4
- package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
- package/dist/database/migration/20260812181746_session_inbox.js +2 -2
- package/dist/database/migration/20260812213948_worktree.js +2 -2
- package/dist/database/migration/20260819222447_session_viewed_state.js +2 -2
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +2 -2
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +52 -52
- package/dist/database/path.js +6 -6
- package/dist/database/schema.gen.js +2 -2
- package/dist/database/schema.sql.js +2 -2
- package/dist/database/sqlite.bun.js +4 -4
- package/dist/database/sqlite.js +5 -5
- package/dist/database/sqlite.node.js +4 -4
- package/dist/database/sqlite.workerd.js +4 -4
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +3 -3
- package/dist/effect/app-node-builder.js +363 -352
- package/dist/effect/app-node-platform.js +6 -6
- package/dist/effect/keyed-mutex.js +4 -4
- package/dist/effect/websocket-constructor.js +2 -2
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -93
- package/dist/environment/exec-defaults.js +5 -5
- package/dist/environment/files.js +7 -7
- package/dist/environment/index.js +98 -103
- package/dist/environment/local.js +5 -5
- package/dist/environment/memory.js +5 -5
- package/dist/environment/unavailable.js +5 -5
- package/dist/event/sql.js +4 -4
- package/dist/event-logger.js +72 -72
- package/dist/file-mutation.js +91 -96
- package/dist/file-retention.js +4 -4
- package/dist/file.js +4 -4
- package/dist/filesystem/fff.bun.js +6 -6
- package/dist/filesystem/fff.js +2 -2
- package/dist/filesystem/fff.node.js +6 -6
- package/dist/filesystem/fff.workerd.js +6 -6
- package/dist/filesystem/ignore.js +5 -5
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +219 -316
- package/dist/filesystem/protected.js +5 -5
- package/dist/filesystem/search.js +98 -103
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +16 -16
- package/dist/filesystem.js +106 -111
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +82 -87
- package/dist/generate.js +89 -89
- package/dist/git.js +12 -12
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
- package/dist/github-copilot/chat/get-response-metadata.js +2 -2
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
- package/dist/github-copilot/copilot-provider.js +22 -22
- package/dist/github-copilot/models.js +6 -6
- package/dist/github-copilot/openai-compatible-error.js +4 -4
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +2 -2
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
- package/dist/github-copilot/responses/openai-error.js +4 -4
- package/dist/github-copilot/responses/openai-responses-language-model.js +11 -11
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +9 -9
- package/dist/github-copilot/responses/tool/code-interpreter.js +6 -6
- package/dist/github-copilot/responses/tool/file-search.js +4 -4
- package/dist/github-copilot/responses/tool/image-generation.js +4 -4
- package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
- package/dist/github-copilot/responses/tool/web-search.js +2 -2
- package/dist/id/id.js +6 -6
- package/dist/image/photon-wasm.bun.js +1 -1
- package/dist/image/photon-wasm.node.js +1 -1
- package/dist/image/photon-wasm.workerd.js +1 -1
- package/dist/image/photon.js +94 -99
- package/dist/image.js +99 -104
- package/dist/instance/service.js +11 -0
- package/dist/instance.js +348 -341
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +82 -87
- package/dist/instructions/index.js +20 -20
- package/dist/integration/connection.js +5 -5
- package/dist/integration.js +94 -94
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +70 -70
- package/dist/location-activity.js +88 -93
- package/dist/location-mutation.js +85 -90
- package/dist/location-service-map.js +83 -86
- package/dist/location-services.js +344 -342
- package/dist/location.js +84 -89
- package/dist/mcp/client.js +93 -98
- package/dist/mcp/index.js +117 -122
- package/dist/mcp/instructions.js +125 -130
- package/dist/mcp/oauth.js +14 -14
- package/dist/mcp/stdio.js +89 -94
- package/dist/mime.js +4 -4
- package/dist/model-resolver.js +91 -91
- package/dist/model.js +14 -14
- package/dist/models-dev.js +83 -83
- package/dist/oauth/page.js +5 -5
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +114 -119
- package/dist/persistent-pty/binary.bun.js +2 -2
- package/dist/persistent-pty/binary.node.js +1 -1
- package/dist/persistent-pty/binary.workerd.js +1 -1
- package/dist/persistent-pty/daemon.js +5 -5
- package/dist/persistent-pty/index.js +81 -81
- package/dist/persistent-pty/pty-binding.js +2 -2
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -103
- package/dist/plugin/command.js +96 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -205
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +315 -309
- package/dist/plugin/mcp-codemode-exclusion.js +4 -4
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -5
- package/dist/plugin/plan.js +98 -103
- package/dist/plugin/promise.js +4 -4
- package/dist/plugin/provider/alibaba.js +3 -3
- package/dist/plugin/provider/amazon-bedrock.js +3 -3
- package/dist/plugin/provider/anthropic.js +3 -3
- package/dist/plugin/provider/azure.js +118 -123
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -122
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -122
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +116 -121
- package/dist/plugin/provider/dynamic.js +3 -3
- package/dist/plugin/provider/factory.js +2 -2
- package/dist/plugin/provider/gateway.js +3 -3
- package/dist/plugin/provider/github-copilot.js +84 -84
- package/dist/plugin/provider/gitlab.js +4 -4
- package/dist/plugin/provider/google-vertex.js +3 -3
- package/dist/plugin/provider/kilo.js +3 -3
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +117 -122
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/ollama.js +117 -122
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +77 -93
- package/dist/plugin/provider/openrouter.js +4 -4
- package/dist/plugin/provider/perplexity.js +3 -3
- package/dist/plugin/provider/sap-ai-core.js +4 -4
- package/dist/plugin/provider/sdk-factory.js +2 -2
- package/dist/plugin/provider/snowflake-cortex.js +5 -5
- package/dist/plugin/provider/venice.js +3 -3
- package/dist/plugin/provider/vercel.js +3 -3
- package/dist/plugin/provider/vllm.js +117 -122
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +154 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +11 -0
- package/dist/plugin/skill.js +131 -137
- package/dist/plugin/source-directory.js +4 -6
- package/dist/plugin/supervisor.js +330 -318
- package/dist/plugin/system-prompt.js +8 -8
- package/dist/plugin/update.js +12 -0
- package/dist/plugin/variant.js +5 -5
- package/dist/plugin/vcs/git.js +84 -89
- package/dist/plugin/vcs/hg.js +84 -89
- package/dist/plugin/warming.js +111 -116
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin.js +226 -212
- package/dist/project/schema.js +9 -9
- package/dist/project/sql.js +7 -7
- package/dist/project.js +86 -91
- package/dist/provider.js +14 -14
- package/dist/pty/protocol.js +9 -9
- package/dist/pty/pty.bun.js +1 -1
- package/dist/pty/pty.node.js +1 -1
- package/dist/pty/pty.workerd.js +1 -1
- package/dist/pty/schema.js +2 -2
- package/dist/pty/ticket.js +10 -10
- package/dist/pty.js +92 -97
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +85 -85
- package/dist/repository.js +13 -13
- package/dist/ripgrep/binary.js +3 -3
- package/dist/ripgrep.js +93 -98
- package/dist/rpc.js +82 -87
- package/dist/schema.js +9 -9
- package/dist/session/command.js +80 -0
- package/dist/session/compaction.js +146 -124
- package/dist/session/context.js +152 -325
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +21 -21
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +214 -197
- package/dist/session/execution.js +122 -127
- package/dist/session/generate.js +156 -5
- package/dist/session/history.js +83 -83
- package/dist/session/inbox.js +104 -104
- package/dist/session/info.js +4 -4
- package/dist/session/instruction-entry.js +82 -82
- package/dist/session/instruction-state.js +20 -20
- package/dist/session/instructions.js +91 -96
- package/dist/session/message-updater.js +6 -6
- package/dist/session/message.js +2 -2
- package/dist/session/model-request.js +140 -145
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +93 -0
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +117 -125
- package/dist/session/revert.js +93 -100
- package/dist/session/run-coordinator.js +4 -4
- package/dist/session/runner/index.js +86 -86
- package/dist/session/runner/llm.js +226 -331
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +91 -91
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +74 -74
- package/dist/session/runner/step.js +145 -150
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +4 -4
- package/dist/session/session.js +173 -179
- package/dist/session/shell.js +137 -0
- package/dist/session/skill.js +106 -0
- package/dist/session/sql.js +12 -12
- package/dist/session/stats.js +77 -79
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +4 -4
- package/dist/session/system-prompt.js +4 -4
- package/dist/session/title.js +156 -328
- package/dist/session/to-session-error.js +108 -113
- package/dist/session/transfer.js +219 -202
- package/dist/session/usage.js +6 -6
- package/dist/session.js +232 -214
- package/dist/shell/parse.js +9 -9
- package/dist/shell/parser-wasm.bun.js +1 -1
- package/dist/shell/parser-wasm.node.js +1 -1
- package/dist/shell/parser-wasm.workerd.js +1 -1
- package/dist/shell/result.js +8 -8
- package/dist/shell/scan.js +5 -5
- package/dist/shell/select.js +16 -16
- package/dist/shell.js +133 -138
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +99 -104
- package/dist/skill.js +109 -114
- package/dist/snapshot.js +85 -90
- package/dist/state.js +10 -6
- package/dist/tool/html-markdown.js +4 -4
- package/dist/tool/http-body.js +2 -2
- package/dist/tool/mcp.js +126 -131
- package/dist/tool/plugin/edit.js +112 -117
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +116 -121
- package/dist/tool/plugin/grep.js +116 -121
- package/dist/tool/plugin/opencode.js +11 -0
- package/dist/tool/plugin/patch.js +114 -119
- package/dist/tool/plugin/question.js +104 -109
- package/dist/tool/plugin/read.js +118 -123
- package/dist/tool/plugin/shell.js +212 -200
- package/dist/tool/plugin/skill.js +103 -108
- package/dist/tool/plugin/subagent.js +212 -200
- package/dist/tool/plugin/webfetch.js +107 -112
- package/dist/tool/plugin/websearch.js +105 -110
- package/dist/tool/plugin/write.js +113 -118
- package/dist/tool/read-filesystem.js +110 -115
- package/dist/tool/runtime.js +6 -6
- package/dist/tool-output.js +11 -11
- package/dist/tool.js +122 -127
- package/dist/types/agent.d.ts +3 -3
- package/dist/types/aisdk.d.ts +1 -1
- package/dist/types/app.d.ts +2 -2
- package/dist/types/bus.d.ts +2 -2
- package/dist/types/catalog.d.ts +3 -3
- package/dist/types/codemode/catalog.d.ts +28 -4
- package/dist/types/codemode/instructions.d.ts +1 -1
- package/dist/types/codemode/tool.d.ts +16 -8
- package/dist/types/command.d.ts +3 -3
- package/dist/types/config/plugin/formatter.d.ts +1 -1
- package/dist/types/config/plugin/source.d.ts +2 -2
- package/dist/types/config.d.ts +3 -3
- package/dist/types/credential.d.ts +1 -1
- package/dist/types/database/database.d.ts +3 -3
- package/dist/types/effect/app-node-builder.d.ts +2 -1
- package/dist/types/effect/app-node-platform.d.ts +3 -3
- package/dist/types/environment/environment.d.ts +1 -1
- package/dist/types/event-logger.d.ts +1 -1
- package/dist/types/file-mutation.d.ts +1 -1
- package/dist/types/filesystem/location-watcher-policy.d.ts +3 -3
- package/dist/types/filesystem/location-watcher.d.ts +1 -1
- package/dist/types/filesystem/search.d.ts +2 -2
- package/dist/types/filesystem/watcher.d.ts +7 -5
- package/dist/types/filesystem.d.ts +4 -1
- package/dist/types/form.d.ts +1 -1
- package/dist/types/formatter.d.ts +3 -3
- package/dist/types/generate.d.ts +1 -1
- package/dist/types/git.d.ts +1 -1
- package/dist/types/image.d.ts +3 -3
- package/dist/types/instance/service.d.ts +14 -0
- package/dist/types/instance.d.ts +5 -5
- package/dist/types/instruction-discovery.d.ts +4 -4
- package/dist/types/instructions/builtins.d.ts +1 -1
- package/dist/types/integration.d.ts +3 -3
- package/dist/types/job.d.ts +1 -1
- package/dist/types/kv.d.ts +1 -1
- package/dist/types/location-activity.d.ts +1 -1
- package/dist/types/location-mutation.d.ts +1 -1
- package/dist/types/location-service-map.d.ts +8 -2
- package/dist/types/location.d.ts +1 -2
- package/dist/types/mcp/client.d.ts +1 -1
- package/dist/types/mcp/index.d.ts +5 -5
- package/dist/types/mcp/instructions.d.ts +1 -1
- package/dist/types/model-resolver.d.ts +2 -2
- package/dist/types/model.d.ts +25 -0
- package/dist/types/models-dev.d.ts +2 -2
- package/dist/types/permission/saved.d.ts +1 -1
- package/dist/types/permission.d.ts +1 -1
- package/dist/types/persistent-pty/index.d.ts +2 -2
- package/dist/types/plugin/hooks.d.ts +1 -1
- package/dist/types/plugin/host.d.ts +7 -358
- package/dist/types/plugin/instance.d.ts +5 -8
- package/dist/types/plugin/internal.d.ts +6 -7
- package/dist/types/plugin/module.d.ts +25 -7
- package/dist/types/plugin/sdk.d.ts +5 -6
- package/dist/types/plugin/service.d.ts +32 -0
- package/dist/types/plugin/skill.d.ts +2 -2
- package/dist/types/plugin/source-directory.d.ts +1 -2
- package/dist/types/plugin/supervisor.d.ts +4 -6
- package/dist/types/plugin/update.d.ts +20 -0
- package/dist/types/plugin.d.ts +6 -21
- package/dist/types/project.d.ts +1 -2
- package/dist/types/provider.d.ts +26 -1
- package/dist/types/pty/ticket.d.ts +1 -1
- package/dist/types/pty.d.ts +1 -1
- package/dist/types/reference/instructions.d.ts +1 -1
- package/dist/types/reference.d.ts +3 -5
- package/dist/types/repository-cache.d.ts +1 -1
- package/dist/types/ripgrep/binary.d.ts +1 -1
- package/dist/types/ripgrep.d.ts +3 -1
- package/dist/types/rpc.d.ts +1 -1
- package/dist/types/session/command.d.ts +16 -0
- package/dist/types/session/compaction.d.ts +17 -13
- package/dist/types/session/context.d.ts +1 -1
- package/dist/types/session/environment.d.ts +1 -1
- package/dist/types/session/execution/restart.d.ts +2 -2
- package/dist/types/session/execution.d.ts +5 -5
- package/dist/types/session/generate.d.ts +9 -13
- package/dist/types/session/history.d.ts +5 -5
- package/dist/types/session/inbox.d.ts +11 -11
- package/dist/types/session/instruction-entry.d.ts +1 -1
- package/dist/types/session/instructions.d.ts +1 -1
- package/dist/types/session/model-request.d.ts +7 -6
- package/dist/types/session/model-transport.d.ts +1 -1
- package/dist/types/session/move.d.ts +30 -0
- package/dist/types/session/projector.d.ts +1 -1
- package/dist/types/session/prompt.d.ts +49 -109
- package/dist/types/session/revert.d.ts +18 -22
- package/dist/types/session/runner/llm.d.ts +1 -1
- package/dist/types/session/runner/model.d.ts +1 -1
- package/dist/types/session/session.d.ts +25 -18
- package/dist/types/session/shell.d.ts +13 -0
- package/dist/types/session/skill.d.ts +10 -0
- package/dist/types/session/store.d.ts +1 -1
- package/dist/types/session/title.d.ts +1 -1
- package/dist/types/session/transfer.d.ts +3 -3
- package/dist/types/session.d.ts +7 -18
- package/dist/types/shell/select.d.ts +4 -4
- package/dist/types/shell.d.ts +1 -1
- package/dist/types/skill/discovery.d.ts +1 -1
- package/dist/types/skill/instructions.d.ts +1 -1
- package/dist/types/skill.d.ts +3 -3
- package/dist/types/snapshot.d.ts +3 -3
- package/dist/types/state.d.ts +34 -24
- package/dist/types/tool/mcp.d.ts +1 -1
- package/dist/types/tool/plugin/edit.d.ts +1 -1
- package/dist/types/tool/plugin/glob.d.ts +2 -1
- package/dist/types/tool/plugin/grep.d.ts +3 -1
- package/dist/types/tool/plugin/opencode.d.ts +14 -0
- package/dist/types/tool/plugin/patch.d.ts +1 -1
- package/dist/types/tool/plugin/read.d.ts +1 -1
- package/dist/types/tool/plugin/shell.d.ts +3 -2
- package/dist/types/tool/plugin/subagent.d.ts +3 -2
- package/dist/types/tool/plugin/websearch.d.ts +1 -1
- package/dist/types/tool/plugin/write.d.ts +1 -1
- package/dist/types/tool/read-filesystem.d.ts +1 -1
- package/dist/types/tool-output.d.ts +3 -3
- package/dist/types/tool.d.ts +6 -5
- package/dist/types/v1/config/migrate.d.ts +67 -66
- package/dist/types/vcs.d.ts +3 -3
- package/dist/types/websearch.d.ts +3 -3
- package/dist/types/wellknown.d.ts +5 -5
- package/dist/types/workspace/driver.d.ts +2 -2
- package/dist/types/workspace.d.ts +2 -2
- package/dist/types/worktree.d.ts +2 -2
- package/dist/util/array.js +1 -1
- package/dist/util/error.js +2 -2
- package/dist/util/identifier.js +1 -1
- package/dist/util/iife.js +2 -2
- package/dist/util/lazy.js +2 -2
- package/dist/util/process-lock-ffi.bun.js +3 -3
- package/dist/util/process-lock-ffi.node.js +3 -3
- package/dist/util/process-lock-ffi.workerd.js +3 -3
- package/dist/util/process-lock.js +1 -1
- package/dist/util/slug.js +2 -2
- package/dist/util/token.js +4 -4
- package/dist/util/which.js +2 -2
- package/dist/util/wildcard.js +4 -4
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/attachment.js +5 -5
- package/dist/v1/config/command.js +4 -4
- package/dist/v1/config/config.js +17 -17
- package/dist/v1/config/error.js +8 -8
- package/dist/v1/config/formatter.js +4 -4
- package/dist/v1/config/layout.js +4 -4
- package/dist/v1/config/lsp.js +7 -7
- package/dist/v1/config/mcp.js +7 -7
- package/dist/v1/config/migrate.js +26 -26
- package/dist/v1/config/permission.js +6 -6
- package/dist/v1/config/plugin.js +4 -4
- package/dist/v1/config/provider-options.js +4 -4
- package/dist/v1/config/provider.js +6 -6
- package/dist/v1/config/server.js +5 -5
- package/dist/v1/config/skills.js +4 -4
- package/dist/v1/permission.js +9 -9
- package/dist/vcs/patch.js +12 -12
- package/dist/vcs.js +89 -94
- package/dist/websearch.js +87 -87
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +10 -10
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +5 -5
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +6 -6
- package/dist/worktree.js +102 -107
- package/package.json +8 -7
- package/dist/chunks/websearch-57tzwnz4.js +0 -107
- package/dist/chunks/websearch-9rc3m3re.js +0 -356
- package/dist/chunks/websearch-de7ccgrb.js +0 -33
- package/dist/chunks/websearch-jgf6ak7q.js +0 -34
- package/dist/chunks/websearch-jjpry013.js +0 -410
- package/dist/chunks/websearch-jrxhrvps.js +0 -217
- package/dist/chunks/websearch-jv2akzxs.js +0 -80
- package/dist/chunks/websearch-py4nahnn.js +0 -77
- package/dist/chunks/websearch-s33fw6zm.js +0 -16
- package/dist/chunks/websearch-ts88b2w4.js +0 -157
- package/dist/chunks/websearch-vhmx40y3.js +0 -144
- package/dist/chunks/websearch-wdpjxg53.js +0 -34
- package/dist/chunks/websearch-x89rah0x.js +0 -139
- package/dist/chunks/websearch-xgv25zxy.js +0 -16
- package/dist/chunks/websearch-xtjf5v78.js +0 -203
- package/dist/chunks/websearch-y1bq0y26.js +0 -144
- package/dist/plugin/runtime.js +0 -214
- package/dist/plugin/supervisor-service.js +0 -9
- package/dist/project/markers.js +0 -83
- package/dist/session/generate-node.js +0 -333
- package/dist/session/prompt-node.js +0 -321
- package/dist/session/revert-node.js +0 -321
- package/dist/types/plugin/runtime.d.ts +0 -41
- package/dist/types/plugin/supervisor-service.d.ts +0 -13
- package/dist/types/project/markers.d.ts +0 -18
- package/dist/types/session/generate-node.d.ts +0 -7
- package/dist/types/session/prompt-node.d.ts +0 -3
- package/dist/types/session/revert-node.d.ts +0 -3
- /package/dist/chunks/{websearch-0cgt0xh2.js → event-logger-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{websearch-0f48qthw.js → event-logger-0f48qthw.js} +0 -0
- /package/dist/chunks/{websearch-0zz82cjq.js → event-logger-0zz82cjq.js} +0 -0
- /package/dist/chunks/{websearch-1fb7bmpf.js → event-logger-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{websearch-1wcz8fvj.js → event-logger-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{websearch-29n7vfk2.js → event-logger-29n7vfk2.js} +0 -0
- /package/dist/chunks/{websearch-2qdx6zz3.js → event-logger-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{websearch-2xb0r1c6.js → event-logger-2xb0r1c6.js} +0 -0
- /package/dist/chunks/{websearch-39ktntah.js → event-logger-39ktntah.js} +0 -0
- /package/dist/chunks/{websearch-3g3rpp2x.js → event-logger-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{websearch-3w3ybtfd.js → event-logger-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{websearch-47ty4mvs.js → event-logger-47ty4mvs.js} +0 -0
- /package/dist/chunks/{websearch-4b2tz2m9.js → event-logger-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{websearch-5a5ch9ts.js → event-logger-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{websearch-5va1yh78.js → event-logger-5va1yh78.js} +0 -0
- /package/dist/chunks/{websearch-61ek4hj9.js → event-logger-61ek4hj9.js} +0 -0
- /package/dist/chunks/{websearch-69qrqpw0.js → event-logger-69qrqpw0.js} +0 -0
- /package/dist/chunks/{websearch-6zqxzw0a.js → event-logger-6zqxzw0a.js} +0 -0
- /package/dist/chunks/{websearch-7n9qwqk4.js → event-logger-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{websearch-8nn8kqcn.js → event-logger-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{websearch-8rpfd2h6.js → event-logger-8rpfd2h6.js} +0 -0
- /package/dist/chunks/{websearch-8sj3ajy5.js → event-logger-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{websearch-8w9tzfz1.js → event-logger-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{websearch-906y0b6d.js → event-logger-906y0b6d.js} +0 -0
- /package/dist/chunks/{websearch-9dct5xhx.js → event-logger-9dct5xhx.js} +0 -0
- /package/dist/chunks/{websearch-9maxscqf.js → event-logger-9maxscqf.js} +0 -0
- /package/dist/chunks/{websearch-9sdtsapf.js → event-logger-9sdtsapf.js} +0 -0
- /package/dist/chunks/{websearch-a02svayp.js → event-logger-a02svayp.js} +0 -0
- /package/dist/chunks/{websearch-a83yvq99.js → event-logger-a83yvq99.js} +0 -0
- /package/dist/chunks/{websearch-ayevdmef.js → event-logger-ayevdmef.js} +0 -0
- /package/dist/chunks/{websearch-b02txbh8.js → event-logger-b02txbh8.js} +0 -0
- /package/dist/chunks/{websearch-bbqs2y60.js → event-logger-bbqs2y60.js} +0 -0
- /package/dist/chunks/{websearch-bjwj8hwv.js → event-logger-bjwj8hwv.js} +0 -0
- /package/dist/chunks/{websearch-brsh5f65.js → event-logger-brsh5f65.js} +0 -0
- /package/dist/chunks/{websearch-bxdhjb3y.js → event-logger-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{websearch-bybkghrn.js → event-logger-bybkghrn.js} +0 -0
- /package/dist/chunks/{websearch-c77ad0vh.js → event-logger-c77ad0vh.js} +0 -0
- /package/dist/chunks/{websearch-cm67rqy2.js → event-logger-cm67rqy2.js} +0 -0
- /package/dist/chunks/{websearch-df3v2q6j.js → event-logger-df3v2q6j.js} +0 -0
- /package/dist/chunks/{websearch-dhcq6c44.js → event-logger-dhcq6c44.js} +0 -0
- /package/dist/chunks/{websearch-dht5baf0.js → event-logger-dht5baf0.js} +0 -0
- /package/dist/chunks/{websearch-dkmkay92.js → event-logger-dkmkay92.js} +0 -0
- /package/dist/chunks/{websearch-ehj9csmv.js → event-logger-ehj9csmv.js} +0 -0
- /package/dist/chunks/{websearch-em6xpscd.js → event-logger-em6xpscd.js} +0 -0
- /package/dist/chunks/{websearch-emmqknsm.js → event-logger-emmqknsm.js} +0 -0
- /package/dist/chunks/{websearch-ezs3tagn.js → event-logger-ezs3tagn.js} +0 -0
- /package/dist/chunks/{websearch-f14r7hfz.js → event-logger-f14r7hfz.js} +0 -0
- /package/dist/chunks/{websearch-f1jj19e8.js → event-logger-f1jj19e8.js} +0 -0
- /package/dist/chunks/{websearch-f4cp4g4a.js → event-logger-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{websearch-faypg4r1.js → event-logger-faypg4r1.js} +0 -0
- /package/dist/chunks/{websearch-fg7fz4q3.js → event-logger-fg7fz4q3.js} +0 -0
- /package/dist/chunks/{websearch-fgbfdq62.js → event-logger-fgbfdq62.js} +0 -0
- /package/dist/chunks/{websearch-g23fad86.js → event-logger-g23fad86.js} +0 -0
- /package/dist/chunks/{websearch-gd5xeqc2.js → event-logger-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{websearch-ghm4673n.js → event-logger-ghm4673n.js} +0 -0
- /package/dist/chunks/{websearch-ghwjy7my.js → event-logger-ghwjy7my.js} +0 -0
- /package/dist/chunks/{websearch-gy500k2r.js → event-logger-gy500k2r.js} +0 -0
- /package/dist/chunks/{websearch-hzeg9cfr.js → event-logger-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{websearch-j07kk359.js → event-logger-j07kk359.js} +0 -0
- /package/dist/chunks/{websearch-jqms80b0.js → event-logger-jqms80b0.js} +0 -0
- /package/dist/chunks/{websearch-jve7t217.js → event-logger-jve7t217.js} +0 -0
- /package/dist/chunks/{websearch-k3e42drn.js → event-logger-k3e42drn.js} +0 -0
- /package/dist/chunks/{websearch-k8b45nas.js → event-logger-k8b45nas.js} +0 -0
- /package/dist/chunks/{websearch-kpdbz7gn.js → event-logger-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{websearch-kxy11nzk.js → event-logger-kxy11nzk.js} +0 -0
- /package/dist/chunks/{websearch-kyyqvx4s.js → event-logger-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{websearch-m8cbvarh.js → event-logger-m8cbvarh.js} +0 -0
- /package/dist/chunks/{websearch-ma60vzgv.js → event-logger-ma60vzgv.js} +0 -0
- /package/dist/chunks/{websearch-n3m50c2t.js → event-logger-n3m50c2t.js} +0 -0
- /package/dist/chunks/{websearch-nkm1m8dz.js → event-logger-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{websearch-nsc0c3zb.js → event-logger-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{websearch-qaarhjrp.js → event-logger-qaarhjrp.js} +0 -0
- /package/dist/chunks/{websearch-qc167nrn.js → event-logger-qc167nrn.js} +0 -0
- /package/dist/chunks/{websearch-qp95y4jb.js → event-logger-qp95y4jb.js} +0 -0
- /package/dist/chunks/{websearch-r8f4w671.js → event-logger-r8f4w671.js} +0 -0
- /package/dist/chunks/{websearch-rdfev9jy.js → event-logger-rdfev9jy.js} +0 -0
- /package/dist/chunks/{websearch-s7whb9gt.js → event-logger-s7whb9gt.js} +0 -0
- /package/dist/chunks/{websearch-se76j685.js → event-logger-se76j685.js} +0 -0
- /package/dist/chunks/{websearch-sem2g21k.js → event-logger-sem2g21k.js} +0 -0
- /package/dist/chunks/{websearch-sp575ygv.js → event-logger-sp575ygv.js} +0 -0
- /package/dist/chunks/{websearch-tmb1f636.js → event-logger-tmb1f636.js} +0 -0
- /package/dist/chunks/{websearch-ttxf0gsy.js → event-logger-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{websearch-tvmhrvfj.js → event-logger-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{websearch-v2adqbbe.js → event-logger-v2adqbbe.js} +0 -0
- /package/dist/chunks/{websearch-vac9eqd2.js → event-logger-vac9eqd2.js} +0 -0
- /package/dist/chunks/{websearch-rvfvac9x.js → event-logger-vpjkya7h.js} +0 -0
- /package/dist/chunks/{websearch-wj4sxzqa.js → event-logger-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{websearch-wwntjmk1.js → event-logger-wwntjmk1.js} +0 -0
- /package/dist/chunks/{websearch-wyqjaaa5.js → event-logger-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{websearch-x4q807cx.js → event-logger-x4q807cx.js} +0 -0
- /package/dist/chunks/{websearch-yrqrg4vp.js → event-logger-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{websearch-z47nswr2.js → event-logger-z47nswr2.js} +0 -0
- /package/dist/chunks/{websearch-zsf8rs93.js → event-logger-zsf8rs93.js} +0 -0
package/dist/types/skill.d.ts
CHANGED
|
@@ -73,17 +73,17 @@ export declare const prepare: (fs: FSUtil.Interface, skill: Skill.Info) => Effec
|
|
|
73
73
|
export type Data = {
|
|
74
74
|
skills: Map<ID, Types.DeepMutable<Info>>;
|
|
75
75
|
};
|
|
76
|
-
export type
|
|
76
|
+
export type Editor = {
|
|
77
77
|
list: () => readonly Types.DeepMutable<Info>[];
|
|
78
78
|
add: (skill: Info) => void;
|
|
79
79
|
update: (id: string, update: (skill: Types.DeepMutable<Info>) => void) => void;
|
|
80
80
|
remove: (id: string) => void;
|
|
81
81
|
};
|
|
82
|
-
export interface Interface extends State.Transformable<
|
|
82
|
+
export interface Interface extends State.Transformable<Editor> {
|
|
83
83
|
readonly get: (id: ID) => Effect.Effect<Info | undefined>;
|
|
84
84
|
readonly list: () => Effect.Effect<Info[]>;
|
|
85
85
|
}
|
|
86
86
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/Skill", Interface>;
|
|
87
87
|
export declare class Service extends Service_base {
|
|
88
88
|
}
|
|
89
|
-
export declare const node: import("@opencode-ai/util/effect/layer-node").
|
|
89
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
package/dist/types/snapshot.d.ts
CHANGED
|
@@ -24,10 +24,10 @@ export interface RestoreInput {
|
|
|
24
24
|
/** Paths are relative to the project root. */
|
|
25
25
|
readonly files: ReadonlyMap<RelativePath, ID>;
|
|
26
26
|
}
|
|
27
|
-
export type
|
|
27
|
+
export type Editor = {
|
|
28
28
|
configure: (enabled: boolean) => void;
|
|
29
29
|
};
|
|
30
|
-
export interface Interface extends State.Transformable<
|
|
30
|
+
export interface Interface extends State.Transformable<Editor> {
|
|
31
31
|
/**
|
|
32
32
|
* Capture the current Location-scoped filesystem state as a content-addressed
|
|
33
33
|
* tree. Returns `undefined` when snapshots are disabled, unsupported, or the
|
|
@@ -53,5 +53,5 @@ export interface Interface extends State.Transformable<Draft> {
|
|
|
53
53
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/Snapshot", Interface>;
|
|
54
54
|
export declare class Service extends Service_base {
|
|
55
55
|
}
|
|
56
|
-
export declare const node: import("@opencode-ai/util/effect/layer-node").
|
|
56
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
|
57
57
|
export declare const noopLayer: Layer.Layer<Service, never, never>;
|
package/dist/types/state.d.ts
CHANGED
|
@@ -1,45 +1,55 @@
|
|
|
1
1
|
export * as State from "./state.js";
|
|
2
|
-
import { Effect, Scope } from "effect";
|
|
2
|
+
import { Effect, Fiber, Scope } from "effect";
|
|
3
3
|
/**
|
|
4
|
-
* A replayable
|
|
4
|
+
* A synchronous, replayable edit to the current domain state.
|
|
5
5
|
*
|
|
6
|
-
* Domain
|
|
6
|
+
* Domain editors expose readable and writable state while preserving concise
|
|
7
7
|
* plugin/config code. Transforms synchronously rebuild derived state.
|
|
8
8
|
*/
|
|
9
|
-
type TransformCallback<
|
|
10
|
-
export type
|
|
9
|
+
type TransformCallback<Editor> = (editor: Editor) => void;
|
|
10
|
+
export type MakeEditor<State, Editor> = (state: State) => Editor;
|
|
11
11
|
export interface Registration {
|
|
12
12
|
readonly dispose: Effect.Effect<void>;
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
* Registers
|
|
16
|
-
* the transform and
|
|
15
|
+
* Registers a scoped transform. Reads rebuild by applying every registered transform in order.
|
|
16
|
+
* Closing the owning Scope removes the transform and invalidates the current value.
|
|
17
17
|
*/
|
|
18
|
-
export type Transform<
|
|
18
|
+
export type Transform<Editor> = (transform: TransformCallback<Editor>) => Effect.Effect<Registration, never, Scope.Scope>;
|
|
19
|
+
/** Invalidates the current value after captured inputs change and notifies like a registration would. */
|
|
19
20
|
export type Reload = () => Effect.Effect<void>;
|
|
20
|
-
export interface Transformable<
|
|
21
|
-
readonly transform: Transform<
|
|
21
|
+
export interface Transformable<Editor> {
|
|
22
|
+
readonly transform: Transform<Editor>;
|
|
22
23
|
readonly reload: Reload;
|
|
23
24
|
}
|
|
24
|
-
/**
|
|
25
|
-
export declare function batch<A, E, R>(effect: Effect.Effect<A, E, R
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
/** Coalesces notifications until the effect completes. Reads inside stay fresh; nothing is rolled back. */
|
|
26
|
+
export declare function batch<A, E, R>(effect: Effect.Effect<A, E, R>): Effect.Effect<A, E, R>;
|
|
27
|
+
/** Runs the effect as shutdown: States changed inside it close permanently and never notify again. */
|
|
28
|
+
export declare function shutdown<A, E, R>(effect: Effect.Effect<A, E, R>): Effect.Effect<A, E, R>;
|
|
29
|
+
/**
|
|
30
|
+
* A `notify` body that runs resource reconciliation in the owning layer's FiberSet and awaits it, so work
|
|
31
|
+
* queued behind the layer's locks is interrupted with the layer. That interruption is not a failure.
|
|
32
|
+
*/
|
|
33
|
+
export declare function reconcile(root: Scope.Scope, fork: (effect: Effect.Effect<void>) => Fiber.Fiber<void>, work: () => Effect.Effect<void>): Effect.Effect<void>;
|
|
28
34
|
export declare const inherit: () => Effect.Effect<(<A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, Exclude<R, never>>), never, never>;
|
|
29
|
-
export interface Options<State,
|
|
35
|
+
export interface Options<State, Editor> {
|
|
30
36
|
readonly name?: string;
|
|
31
|
-
/** Creates the base value for
|
|
37
|
+
/** Creates the empty base value for every rebuild. */
|
|
32
38
|
readonly initial: () => State;
|
|
33
|
-
/** Wraps mutable state in a domain-specific
|
|
34
|
-
readonly
|
|
39
|
+
/** Wraps mutable state in a domain-specific editor API. */
|
|
40
|
+
readonly editor: MakeEditor<State, Editor>;
|
|
35
41
|
/**
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
42
|
+
* Observes the freshly rebuilt value outside the read path. Every registration, disposal, or
|
|
43
|
+
* reload notifies once it is applied; a batch coalesces them into one notification at its end.
|
|
44
|
+
* Resource reconciliation owns its execution scope and coordination.
|
|
39
45
|
*/
|
|
40
|
-
readonly
|
|
46
|
+
readonly notify?: (state: State) => Effect.Effect<void>;
|
|
41
47
|
}
|
|
42
|
-
export interface Interface<State,
|
|
48
|
+
export interface Interface<State, Editor> extends Transformable<Editor> {
|
|
49
|
+
/**
|
|
50
|
+
* Rebuilds synchronously when transforms changed since the last read. Each rebuild produces a new
|
|
51
|
+
* value and never touches earlier ones, so callers may retain what they read.
|
|
52
|
+
*/
|
|
43
53
|
readonly get: () => State;
|
|
44
54
|
}
|
|
45
|
-
export declare function create<State,
|
|
55
|
+
export declare function create<State, Editor>(options: Options<State, Editor>): Interface<State, Editor>;
|
package/dist/types/tool/mcp.d.ts
CHANGED
|
@@ -17,4 +17,4 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/McpTool", I
|
|
|
17
17
|
export declare class Service extends Service_base {
|
|
18
18
|
}
|
|
19
19
|
export declare const layer: Layer.Layer<Service, never, Bus.Service | Mcp.Service | Permission.Service | Tool.Service>;
|
|
20
|
-
export declare const node: import("@opencode-ai/util/effect/layer-node").
|
|
20
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
|
@@ -34,5 +34,5 @@ export type Output = typeof Output.Type;
|
|
|
34
34
|
/** Deferred edit behavior and UX integrations remain visible at the model-facing seam. */
|
|
35
35
|
export declare const Plugin: {
|
|
36
36
|
id: string;
|
|
37
|
-
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Environment.Service | FileMutation.Service | Formatter.Service |
|
|
37
|
+
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Environment.Service | FileMutation.Service | Formatter.Service | LocationMutation.Service | Permission.Service>;
|
|
38
38
|
};
|
|
@@ -10,6 +10,7 @@ export declare const name = "glob";
|
|
|
10
10
|
export declare const Input: Schema.Struct<{
|
|
11
11
|
readonly pattern: Schema.String;
|
|
12
12
|
readonly path: Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>;
|
|
13
|
+
readonly hidden: Schema.optionalKey<Schema.Boolean>;
|
|
13
14
|
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
14
15
|
}>;
|
|
15
16
|
export declare const Output: Schema.$Array<Schema.Struct<{
|
|
@@ -22,5 +23,5 @@ export declare const toModelContent: (entries: EncodedOutput, truncated?: boolea
|
|
|
22
23
|
/** Glob leaf that defaults its filesystem root to the active Location. */
|
|
23
24
|
export declare const Plugin: {
|
|
24
25
|
id: string;
|
|
25
|
-
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Environment.Service | Ripgrep.Service |
|
|
26
|
+
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Environment.Service | Ripgrep.Service | LocationMutation.Service | Permission.Service>;
|
|
26
27
|
};
|
|
@@ -11,6 +11,8 @@ export declare const Input: Schema.Struct<{
|
|
|
11
11
|
readonly pattern: Schema.String;
|
|
12
12
|
readonly path: Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>;
|
|
13
13
|
readonly include: Schema.optionalKey<Schema.String>;
|
|
14
|
+
readonly literal: Schema.optionalKey<Schema.Boolean>;
|
|
15
|
+
readonly caseSensitive: Schema.optionalKey<Schema.Boolean>;
|
|
14
16
|
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
15
17
|
}>;
|
|
16
18
|
export declare const Output: Schema.$Array<Schema.Struct<{
|
|
@@ -33,5 +35,5 @@ export declare const toModelContent: (matches: EncodedOutput, truncated?: boolea
|
|
|
33
35
|
/** Grep leaf that defaults its filesystem root to the active Location. */
|
|
34
36
|
export declare const Plugin: {
|
|
35
37
|
id: string;
|
|
36
|
-
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Environment.Service | Ripgrep.Service |
|
|
38
|
+
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Environment.Service | Ripgrep.Service | LocationMutation.Service | Permission.Service>;
|
|
37
39
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * as OpenCodeTools from "./opencode.js";
|
|
2
|
+
import type { Context } from "@opencode-ai/plugin/effect/plugin";
|
|
3
|
+
import { Effect, Schema } from "effect";
|
|
4
|
+
export declare const MoveInput: Schema.Struct<{
|
|
5
|
+
readonly sessionID: Schema.optionalKey<Schema.brand<Schema.String, "SessionID"> & {
|
|
6
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
8
|
+
}>;
|
|
9
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
10
|
+
}>;
|
|
11
|
+
export declare const Plugin: {
|
|
12
|
+
id: string;
|
|
13
|
+
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope>;
|
|
14
|
+
};
|
|
@@ -34,5 +34,5 @@ export type Output = typeof Output.Type;
|
|
|
34
34
|
export declare const toModelContent: (output: Output) => string;
|
|
35
35
|
export declare const Plugin: {
|
|
36
36
|
id: string;
|
|
37
|
-
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Environment.Service | FileMutation.Service | Formatter.Service |
|
|
37
|
+
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Environment.Service | FileMutation.Service | Formatter.Service | LocationMutation.Service | Permission.Service>;
|
|
38
38
|
};
|
|
@@ -23,7 +23,7 @@ declare const Output: Schema.Union<readonly [Schema.Struct<{
|
|
|
23
23
|
}>, typeof ReadToolFileSystem.TextPage, typeof ReadToolFileSystem.ListPage]>;
|
|
24
24
|
export declare const Plugin: {
|
|
25
25
|
id: string;
|
|
26
|
-
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | FSUtil.Service | Location.Service |
|
|
26
|
+
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | FSUtil.Service | Location.Service | LocationMutation.Service | Permission.Service | ReadToolFileSystem.Service | SessionInstructions.Service>;
|
|
27
27
|
};
|
|
28
28
|
export declare const toModelContent: (path: string, offset: number | undefined, output: typeof Output.Type) => string | readonly [{
|
|
29
29
|
readonly type: "text";
|
|
@@ -3,9 +3,10 @@ import type { Context } from "@opencode-ai/plugin/effect/plugin";
|
|
|
3
3
|
import { Effect, Schema, Scope } from "effect";
|
|
4
4
|
import { Config } from "../../config.js";
|
|
5
5
|
import { Environment } from "../../environment/index.js";
|
|
6
|
+
import { Job } from "../../job.js";
|
|
6
7
|
import { LocationMutation } from "../../location-mutation.js";
|
|
7
8
|
import { Permission } from "../../permission.js";
|
|
8
|
-
import {
|
|
9
|
+
import { Session } from "../../session.js";
|
|
9
10
|
import { Shell } from "../../shell.js";
|
|
10
11
|
import { ShellSelect } from "../../shell/select.js";
|
|
11
12
|
export declare const name = "shell";
|
|
@@ -18,5 +19,5 @@ export declare const Input: Schema.Struct<{
|
|
|
18
19
|
}>;
|
|
19
20
|
export declare const Plugin: {
|
|
20
21
|
id: string;
|
|
21
|
-
effect: (ctx: Context) => Effect.Effect<void, never, Scope.Scope | Config.Service | Environment.Service |
|
|
22
|
+
effect: (ctx: Context) => Effect.Effect<void, never, Scope.Scope | Config.Service | Environment.Service | ShellSelect.Service | LocationMutation.Service | Permission.Service | Session.Service | Job.Service | Shell.Service>;
|
|
22
23
|
};
|
|
@@ -3,8 +3,9 @@ import type { Context } from "@opencode-ai/plugin/effect/plugin";
|
|
|
3
3
|
import { Effect, Schema, Scope } from "effect";
|
|
4
4
|
import { Agent } from "../../agent.js";
|
|
5
5
|
import { Config } from "../../config.js";
|
|
6
|
-
import {
|
|
6
|
+
import { Job } from "../../job.js";
|
|
7
7
|
import { Permission } from "../../permission.js";
|
|
8
|
+
import { Session } from "../../session.js";
|
|
8
9
|
export declare const name = "subagent";
|
|
9
10
|
export declare const Input: Schema.Struct<{
|
|
10
11
|
readonly agent: Schema.String;
|
|
@@ -27,5 +28,5 @@ export declare const Output: Schema.Struct<{
|
|
|
27
28
|
export declare const description: string;
|
|
28
29
|
export declare const Plugin: {
|
|
29
30
|
id: string;
|
|
30
|
-
effect: (ctx: Context) => Effect.Effect<void, never, Scope.Scope | Config.Service | Permission.Service |
|
|
31
|
+
effect: (ctx: Context) => Effect.Effect<void, never, Scope.Scope | Agent.Service | Config.Service | Permission.Service | Session.Service | Job.Service>;
|
|
31
32
|
};
|
|
@@ -12,5 +12,5 @@ export declare const Input: Schema.Struct<{
|
|
|
12
12
|
}>;
|
|
13
13
|
export declare const Plugin: {
|
|
14
14
|
id: string;
|
|
15
|
-
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Form.Service |
|
|
15
|
+
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Form.Service | WebSearch.Service | Permission.Service>;
|
|
16
16
|
};
|
|
@@ -28,5 +28,5 @@ export declare const toModelContent: (output: Output) => string;
|
|
|
28
28
|
/** Deferred write UX integrations remain visible at the model-facing seam. */
|
|
29
29
|
export declare const Plugin: {
|
|
30
30
|
id: string;
|
|
31
|
-
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Environment.Service | FileMutation.Service | Formatter.Service |
|
|
31
|
+
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Environment.Service | FileMutation.Service | Formatter.Service | LocationMutation.Service | Permission.Service>;
|
|
32
32
|
};
|
|
@@ -100,4 +100,4 @@ export declare const read: (files: Environment.Files, input: string & import("ef
|
|
|
100
100
|
encoding: "utf8";
|
|
101
101
|
mime: string;
|
|
102
102
|
}, Environment.NotFound | Environment.Failed | BinaryFileError | MediaIngestLimitError | OffsetOutOfRangeError | PathKindError, never>;
|
|
103
|
-
export declare const node: import("@opencode-ai/util/effect/layer-node").
|
|
103
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
|
@@ -11,14 +11,14 @@ type Limits = {
|
|
|
11
11
|
maxLines: number;
|
|
12
12
|
maxBytes: number;
|
|
13
13
|
};
|
|
14
|
-
export type
|
|
14
|
+
export type Editor = {
|
|
15
15
|
configure: (limits: Partial<Limits>) => void;
|
|
16
16
|
};
|
|
17
|
-
export interface Interface extends State.Transformable<
|
|
17
|
+
export interface Interface extends State.Transformable<Editor> {
|
|
18
18
|
readonly truncate: (result: Result) => Effect.Effect<Result>;
|
|
19
19
|
readonly cleanup: () => Effect.Effect<void>;
|
|
20
20
|
}
|
|
21
21
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/ToolOutput", Interface>;
|
|
22
22
|
export declare class Service extends Service_base {
|
|
23
23
|
}
|
|
24
|
-
export declare const node: import("@opencode-ai/util/effect/layer-node").
|
|
24
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
package/dist/types/tool.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as Tool from "./tool.js";
|
|
2
2
|
export { CallID, Content, Error, FileContent, TextContent } from "@opencode-ai/schema/tool";
|
|
3
|
-
export type { Context, Metadata, Options, Result } from "@opencode-ai/schema/tool";
|
|
3
|
+
export type { Context, Metadata, Namespace, Options, Result } from "@opencode-ai/schema/tool";
|
|
4
4
|
import { ToolDefinition, type ToolCall } from "@opencode-ai/ai";
|
|
5
5
|
import { Tool } from "@opencode-ai/schema/tool";
|
|
6
6
|
import { Context, Effect, Schema, Types } from "effect";
|
|
@@ -16,23 +16,24 @@ declare const RegistrationError_base: Schema.Class<RegistrationError, Schema.Tag
|
|
|
16
16
|
}>, import("effect/Cause").YieldableError>;
|
|
17
17
|
export declare class RegistrationError extends RegistrationError_base {
|
|
18
18
|
}
|
|
19
|
-
export interface
|
|
19
|
+
export interface Editor {
|
|
20
20
|
readonly list: () => readonly (Tool.Info & {
|
|
21
21
|
readonly id: string;
|
|
22
22
|
})[];
|
|
23
23
|
readonly get: (id: string) => (Tool.Info & {
|
|
24
24
|
readonly id: string;
|
|
25
25
|
}) | undefined;
|
|
26
|
+
readonly namespace: (namespace: Tool.Namespace) => void;
|
|
26
27
|
readonly add: (tool: Tool.Info) => void;
|
|
27
28
|
readonly update: (id: string, update: (tool: Types.Mutable<Tool.Info>) => void) => void;
|
|
28
29
|
readonly remove: (id: string) => void;
|
|
29
30
|
}
|
|
30
|
-
export interface Interface extends State.Transformable<
|
|
31
|
+
export interface Interface extends State.Transformable<Editor> {
|
|
31
32
|
readonly snapshot: (permissions?: Permission.Ruleset) => Effect.Effect<Snapshot>;
|
|
32
33
|
}
|
|
33
34
|
export interface Snapshot {
|
|
34
35
|
readonly definitions: ReadonlyArray<ToolDefinition>;
|
|
35
|
-
readonly codeModeCatalog?:
|
|
36
|
+
readonly codeModeCatalog?: CodeModeCatalog.Inventory;
|
|
36
37
|
readonly execute: (input: {
|
|
37
38
|
readonly sessionID: SessionSchema.ID;
|
|
38
39
|
readonly agent: Agent.ID;
|
|
@@ -48,4 +49,4 @@ export interface Snapshot {
|
|
|
48
49
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/Tool", Interface>;
|
|
49
50
|
export declare class Service extends Service_base {
|
|
50
51
|
}
|
|
51
|
-
export declare const node: import("@opencode-ai/util/effect/layer-node").
|
|
52
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
|
@@ -18,6 +18,7 @@ export declare function migrate(info: typeof ConfigV1.Info.Type): {
|
|
|
18
18
|
readonly effect: "allow" | "deny" | "ask";
|
|
19
19
|
}[] | undefined;
|
|
20
20
|
readonly share?: "auto" | "disabled" | "manual" | undefined;
|
|
21
|
+
readonly update?: "auto" | "disable" | "notify" | undefined;
|
|
21
22
|
readonly commands?: {
|
|
22
23
|
readonly [x: string]: {
|
|
23
24
|
readonly template: string;
|
|
@@ -69,9 +70,68 @@ export declare function migrate(info: typeof ConfigV1.Info.Type): {
|
|
|
69
70
|
readonly tokens?: number | undefined;
|
|
70
71
|
} | undefined;
|
|
71
72
|
} | undefined;
|
|
73
|
+
readonly media?: {
|
|
74
|
+
readonly image?: {
|
|
75
|
+
readonly auto_resize?: boolean | undefined;
|
|
76
|
+
readonly max_width?: number | undefined;
|
|
77
|
+
readonly max_height?: number | undefined;
|
|
78
|
+
readonly max_base64_bytes?: number | undefined;
|
|
79
|
+
} | undefined;
|
|
80
|
+
} | undefined;
|
|
81
|
+
readonly mcp?: {
|
|
82
|
+
readonly timeout?: {
|
|
83
|
+
readonly catalog?: number | undefined;
|
|
84
|
+
readonly startup?: number | undefined;
|
|
85
|
+
readonly execution?: number | undefined;
|
|
86
|
+
} | undefined;
|
|
87
|
+
readonly servers?: {
|
|
88
|
+
readonly [x: string]: {
|
|
89
|
+
readonly type: "local";
|
|
90
|
+
readonly command: readonly string[];
|
|
91
|
+
readonly disabled?: boolean | undefined;
|
|
92
|
+
readonly timeout?: {
|
|
93
|
+
readonly catalog?: number | undefined;
|
|
94
|
+
readonly startup?: number | undefined;
|
|
95
|
+
readonly execution?: number | undefined;
|
|
96
|
+
} | undefined;
|
|
97
|
+
readonly cwd?: string | undefined;
|
|
98
|
+
readonly environment?: {
|
|
99
|
+
readonly [x: string]: string;
|
|
100
|
+
} | undefined;
|
|
101
|
+
readonly codemode?: boolean | undefined;
|
|
102
|
+
} | {
|
|
103
|
+
readonly type: "remote";
|
|
104
|
+
readonly url: string;
|
|
105
|
+
readonly oauth?: false | {
|
|
106
|
+
readonly scope?: string | undefined;
|
|
107
|
+
readonly client_id?: string | undefined;
|
|
108
|
+
readonly client_secret?: string | undefined;
|
|
109
|
+
readonly callback_port?: number | undefined;
|
|
110
|
+
readonly redirect_uri?: string | undefined;
|
|
111
|
+
} | undefined;
|
|
112
|
+
readonly disabled?: boolean | undefined;
|
|
113
|
+
readonly headers?: {
|
|
114
|
+
readonly [x: string]: string;
|
|
115
|
+
} | undefined;
|
|
116
|
+
readonly timeout?: {
|
|
117
|
+
readonly catalog?: number | undefined;
|
|
118
|
+
readonly startup?: number | undefined;
|
|
119
|
+
readonly execution?: number | undefined;
|
|
120
|
+
} | undefined;
|
|
121
|
+
readonly codemode?: boolean | undefined;
|
|
122
|
+
};
|
|
123
|
+
} | undefined;
|
|
124
|
+
} | undefined;
|
|
125
|
+
readonly plugins?: readonly (string | {
|
|
126
|
+
readonly package: string;
|
|
127
|
+
readonly options?: {
|
|
128
|
+
readonly [x: string]: unknown;
|
|
129
|
+
} | undefined;
|
|
130
|
+
})[] | undefined;
|
|
72
131
|
readonly providers?: {
|
|
73
132
|
readonly [x: string]: {
|
|
74
133
|
readonly name?: string | undefined;
|
|
134
|
+
readonly canonical?: string | undefined;
|
|
75
135
|
readonly env?: readonly string[] | undefined;
|
|
76
136
|
readonly settings?: {
|
|
77
137
|
readonly [x: string]: Schema.Json;
|
|
@@ -120,25 +180,25 @@ export declare function migrate(info: typeof ConfigV1.Info.Type): {
|
|
|
120
180
|
readonly cost?: {
|
|
121
181
|
readonly input: number;
|
|
122
182
|
readonly output: number;
|
|
123
|
-
readonly cache?: {
|
|
124
|
-
readonly read?: number | undefined;
|
|
125
|
-
readonly write?: number | undefined;
|
|
126
|
-
} | undefined;
|
|
127
183
|
readonly tier?: {
|
|
128
184
|
readonly type: "context";
|
|
129
185
|
readonly size: number;
|
|
130
186
|
} | undefined;
|
|
131
|
-
} | readonly {
|
|
132
|
-
readonly input: number;
|
|
133
|
-
readonly output: number;
|
|
134
187
|
readonly cache?: {
|
|
135
188
|
readonly read?: number | undefined;
|
|
136
189
|
readonly write?: number | undefined;
|
|
137
190
|
} | undefined;
|
|
191
|
+
} | readonly {
|
|
192
|
+
readonly input: number;
|
|
193
|
+
readonly output: number;
|
|
138
194
|
readonly tier?: {
|
|
139
195
|
readonly type: "context";
|
|
140
196
|
readonly size: number;
|
|
141
197
|
} | undefined;
|
|
198
|
+
readonly cache?: {
|
|
199
|
+
readonly read?: number | undefined;
|
|
200
|
+
readonly write?: number | undefined;
|
|
201
|
+
} | undefined;
|
|
142
202
|
}[] | undefined;
|
|
143
203
|
readonly limit?: {
|
|
144
204
|
readonly input?: number | undefined;
|
|
@@ -167,7 +227,6 @@ export declare function migrate(info: typeof ConfigV1.Info.Type): {
|
|
|
167
227
|
} | undefined;
|
|
168
228
|
readonly $schema?: string | undefined;
|
|
169
229
|
readonly default_agent?: string | undefined;
|
|
170
|
-
readonly autoupdate?: boolean | "notify" | undefined;
|
|
171
230
|
readonly enterprise?: {
|
|
172
231
|
readonly url?: string | undefined;
|
|
173
232
|
} | undefined;
|
|
@@ -201,62 +260,10 @@ export declare function migrate(info: typeof ConfigV1.Info.Type): {
|
|
|
201
260
|
readonly disabled: true;
|
|
202
261
|
};
|
|
203
262
|
} | undefined;
|
|
204
|
-
readonly media?: {
|
|
205
|
-
readonly image?: {
|
|
206
|
-
readonly auto_resize?: boolean | undefined;
|
|
207
|
-
readonly max_width?: number | undefined;
|
|
208
|
-
readonly max_height?: number | undefined;
|
|
209
|
-
readonly max_base64_bytes?: number | undefined;
|
|
210
|
-
} | undefined;
|
|
211
|
-
} | undefined;
|
|
212
263
|
readonly tool_output?: {
|
|
213
264
|
readonly max_lines?: number | undefined;
|
|
214
265
|
readonly max_bytes?: number | undefined;
|
|
215
266
|
} | undefined;
|
|
216
|
-
readonly mcp?: {
|
|
217
|
-
readonly timeout?: {
|
|
218
|
-
readonly startup?: number | undefined;
|
|
219
|
-
readonly catalog?: number | undefined;
|
|
220
|
-
readonly execution?: number | undefined;
|
|
221
|
-
} | undefined;
|
|
222
|
-
readonly servers?: {
|
|
223
|
-
readonly [x: string]: {
|
|
224
|
-
readonly type: "local";
|
|
225
|
-
readonly command: readonly string[];
|
|
226
|
-
readonly disabled?: boolean | undefined;
|
|
227
|
-
readonly timeout?: {
|
|
228
|
-
readonly startup?: number | undefined;
|
|
229
|
-
readonly catalog?: number | undefined;
|
|
230
|
-
readonly execution?: number | undefined;
|
|
231
|
-
} | undefined;
|
|
232
|
-
readonly cwd?: string | undefined;
|
|
233
|
-
readonly environment?: {
|
|
234
|
-
readonly [x: string]: string;
|
|
235
|
-
} | undefined;
|
|
236
|
-
readonly codemode?: boolean | undefined;
|
|
237
|
-
} | {
|
|
238
|
-
readonly type: "remote";
|
|
239
|
-
readonly url: string;
|
|
240
|
-
readonly oauth?: false | {
|
|
241
|
-
readonly scope?: string | undefined;
|
|
242
|
-
readonly client_id?: string | undefined;
|
|
243
|
-
readonly client_secret?: string | undefined;
|
|
244
|
-
readonly callback_port?: number | undefined;
|
|
245
|
-
readonly redirect_uri?: string | undefined;
|
|
246
|
-
} | undefined;
|
|
247
|
-
readonly disabled?: boolean | undefined;
|
|
248
|
-
readonly headers?: {
|
|
249
|
-
readonly [x: string]: string;
|
|
250
|
-
} | undefined;
|
|
251
|
-
readonly timeout?: {
|
|
252
|
-
readonly startup?: number | undefined;
|
|
253
|
-
readonly catalog?: number | undefined;
|
|
254
|
-
readonly execution?: number | undefined;
|
|
255
|
-
} | undefined;
|
|
256
|
-
readonly codemode?: boolean | undefined;
|
|
257
|
-
};
|
|
258
|
-
} | undefined;
|
|
259
|
-
} | undefined;
|
|
260
267
|
readonly references?: {
|
|
261
268
|
readonly [x: string]: string | {
|
|
262
269
|
readonly repository: string;
|
|
@@ -272,12 +279,6 @@ export declare function migrate(info: typeof ConfigV1.Info.Type): {
|
|
|
272
279
|
readonly websearch?: false | {
|
|
273
280
|
readonly provider: string;
|
|
274
281
|
} | undefined;
|
|
275
|
-
readonly plugins?: readonly (string | {
|
|
276
|
-
readonly package: string;
|
|
277
|
-
readonly options?: {
|
|
278
|
-
readonly [x: string]: unknown;
|
|
279
|
-
} | undefined;
|
|
280
|
-
})[] | undefined;
|
|
281
282
|
readonly warming?: boolean | {
|
|
282
283
|
readonly duration?: string | undefined;
|
|
283
284
|
readonly interval?: string | undefined;
|
package/dist/types/vcs.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as Vcs from "./vcs.js";
|
|
2
2
|
import { Cause, Context, Effect, Schema } from "effect";
|
|
3
|
-
import type {
|
|
3
|
+
import type { VcsEditor } from "@opencode-ai/plugin/effect/vcs";
|
|
4
4
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
5
5
|
import { Base, BranchList, FileStatus, Info, Mode } from "@opencode-ai/schema/vcs";
|
|
6
6
|
import { State } from "./state.js";
|
|
@@ -25,10 +25,10 @@ export interface Adapter {
|
|
|
25
25
|
readonly status: () => Effect.Effect<FileStatus[]>;
|
|
26
26
|
readonly diff: (mode: Mode, options?: DiffOptions) => Effect.Effect<FileDiff.Info[], DiffError>;
|
|
27
27
|
}
|
|
28
|
-
export interface Interface extends Adapter, State.Transformable<
|
|
28
|
+
export interface Interface extends Adapter, State.Transformable<VcsEditor> {
|
|
29
29
|
readonly base: () => Effect.Effect<Base | null, DiffError>;
|
|
30
30
|
}
|
|
31
31
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/Vcs", Interface>;
|
|
32
32
|
export declare class Service extends Service_base {
|
|
33
33
|
}
|
|
34
|
-
export declare const node: import("@opencode-ai/util/effect/layer-node").
|
|
34
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
|
@@ -51,7 +51,7 @@ declare const RequestError_base: Schema.Class<RequestError, Schema.TaggedStruct<
|
|
|
51
51
|
export declare class RequestError extends RequestError_base {
|
|
52
52
|
}
|
|
53
53
|
export type Error = ProviderRequiredError | ProviderNotFoundError | DisabledError | RequestError;
|
|
54
|
-
export interface Interface extends State.Transformable<
|
|
54
|
+
export interface Interface extends State.Transformable<Editor> {
|
|
55
55
|
readonly providers: () => Effect.Effect<readonly Provider[]>;
|
|
56
56
|
readonly default: () => Effect.Effect<Provider | undefined, DisabledError>;
|
|
57
57
|
readonly select: (selection: Selection) => Effect.Effect<void>;
|
|
@@ -60,11 +60,11 @@ export interface Interface extends State.Transformable<Draft> {
|
|
|
60
60
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/WebSearch", Interface>;
|
|
61
61
|
export declare class Service extends Service_base {
|
|
62
62
|
}
|
|
63
|
-
export type
|
|
63
|
+
export type Editor = {
|
|
64
64
|
add: (provider: ProviderImplementation) => void;
|
|
65
65
|
default: {
|
|
66
66
|
get: () => Selection | undefined;
|
|
67
67
|
set: (selection: Selection) => void;
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
|
-
export declare const node: import("@opencode-ai/util/effect/layer-node").
|
|
70
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
|
@@ -89,18 +89,18 @@ export declare const inspect: (origin: string) => Effect.Effect<{
|
|
|
89
89
|
readonly config?: {
|
|
90
90
|
readonly [x: string]: Schema.Json;
|
|
91
91
|
} | null | undefined;
|
|
92
|
+
readonly auth?: {
|
|
93
|
+
readonly command: readonly string[];
|
|
94
|
+
readonly env: string;
|
|
95
|
+
} | undefined;
|
|
92
96
|
readonly remote_config?: {
|
|
93
97
|
readonly url: string;
|
|
94
98
|
readonly headers?: {
|
|
95
99
|
readonly [x: string]: string;
|
|
96
100
|
} | undefined;
|
|
97
101
|
} | undefined;
|
|
98
|
-
readonly auth?: {
|
|
99
|
-
readonly command: readonly string[];
|
|
100
|
-
readonly env: string;
|
|
101
|
-
} | undefined;
|
|
102
102
|
}, Error, HttpClient.HttpClient>;
|
|
103
103
|
export declare const resolve: (input: ResolveInput) => Effect.Effect<{
|
|
104
104
|
readonly [x: string]: Schema.Json;
|
|
105
105
|
}[], Error, HttpClient.HttpClient>;
|
|
106
|
-
export declare const node: import("@opencode-ai/util/effect/layer-node").
|
|
106
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
|
|
@@ -68,5 +68,5 @@ declare const RegistryService_base: Context.ServiceClass<RegistryService, "@open
|
|
|
68
68
|
export declare class RegistryService extends RegistryService_base {
|
|
69
69
|
}
|
|
70
70
|
export declare const registry: (drivers: Readonly<Record<string, Interface>>) => Registry;
|
|
71
|
-
export declare const registryNode: (drivers: Readonly<Record<string, Interface>>) => import("@opencode-ai/util/effect/layer-node").
|
|
72
|
-
export declare const node: import("@opencode-ai/util/effect/layer-node").
|
|
71
|
+
export declare const registryNode: (drivers: Readonly<Record<string, Interface>>) => import("@opencode-ai/util/effect/layer-node").Provider<RegistryService, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
|
|
72
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<RegistryService, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
|
|
@@ -57,5 +57,5 @@ export interface Options {
|
|
|
57
57
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/Workspace", Interface>;
|
|
58
58
|
export declare class Service extends Service_base {
|
|
59
59
|
}
|
|
60
|
-
export declare const configured: (options?: Options) => import("@opencode-ai/util/effect/layer-node").
|
|
61
|
-
export declare const node: import("@opencode-ai/util/effect/layer-node").
|
|
60
|
+
export declare const configured: (options?: Options) => import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
|
|
61
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
|
package/dist/types/worktree.d.ts
CHANGED
|
@@ -329,5 +329,5 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/v2/Worktree
|
|
|
329
329
|
export declare class Service extends Service_base {
|
|
330
330
|
}
|
|
331
331
|
export declare const refreshAfterBoot: Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Service>;
|
|
332
|
-
export declare const node: import("@opencode-ai/util/effect/layer-node").
|
|
333
|
-
export declare const refreshNode: import("@opencode-ai/util/effect/layer-node").
|
|
332
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
|
|
333
|
+
export declare const refreshNode: import("@opencode-ai/util/effect/layer-node").Provider<never, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|