@opencode-ai/core 0.0.0-beta-18743 → 0.0.0-beta-18866
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-pmxbkaxh.js → reference-088y9cbk.js} +6 -6
- package/dist/chunks/{websearch-3thh6229.js → reference-0ag03ecw.js} +2 -2
- package/dist/chunks/{websearch-vgk3vx5v.js → reference-0bw2p3eg.js} +11 -11
- package/dist/chunks/{websearch-v4twp2vj.js → reference-0emrnx66.js} +7 -7
- package/dist/chunks/{websearch-sfg41mtw.js → reference-0enfz0ma.js} +12 -12
- package/dist/chunks/{websearch-57ej80dx.js → reference-0gpahtwn.js} +92 -15
- package/dist/chunks/{websearch-6z2cdyqa.js → reference-0kz3ajyp.js} +33 -39
- package/dist/chunks/{websearch-4zzdwbaz.js → reference-0pc4kdn1.js} +2 -2
- package/dist/chunks/{websearch-2m0hgr65.js → reference-0rz7yd7x.js} +3 -3
- package/dist/chunks/{websearch-xxpvz42q.js → reference-136c8mz3.js} +12 -11
- package/dist/chunks/{websearch-fgbg5vp8.js → reference-17fnrv0p.js} +74 -91
- package/dist/chunks/{websearch-q8bf6xcm.js → reference-1btf37k0.js} +4 -4
- package/dist/chunks/{websearch-r8by723k.js → reference-1e3g1ft9.js} +7 -7
- package/dist/chunks/{websearch-264e1nfp.js → reference-264e1nfp.js} +2 -2
- package/dist/chunks/{websearch-txeepgh1.js → reference-2cehtecm.js} +5 -5
- package/dist/chunks/{websearch-mkaa6r1p.js → reference-2nszkqak.js} +6 -6
- package/dist/chunks/{websearch-cgqn2mrm.js → reference-2sqw2jjm.js} +20 -20
- package/dist/chunks/{websearch-b22ptp6c.js → reference-2syg46b4.js} +28 -45
- package/dist/chunks/{websearch-w385wtt6.js → reference-2x0ckx01.js} +2 -2
- package/dist/chunks/{websearch-9m53xm9q.js → reference-2xn0r9vb.js} +16 -94
- package/dist/chunks/{websearch-513qbefx.js → reference-30f47jbp.js} +5 -5
- package/dist/chunks/{websearch-g68hwncr.js → reference-30st6gwt.js} +1 -1
- package/dist/chunks/{websearch-393a352g.js → reference-326j4s6w.js} +5 -5
- package/dist/chunks/{websearch-aw3ez9f6.js → reference-3529n0tr.js} +17 -17
- package/dist/chunks/{websearch-cwrtkqrz.js → reference-38cv1e1c.js} +27 -17
- package/dist/chunks/{websearch-vz89hfgr.js → reference-3chx3ng6.js} +11 -11
- package/dist/chunks/{websearch-h5wnyjzw.js → reference-3ep0k87g.js} +5 -5
- package/dist/chunks/{websearch-j281xcgt.js → reference-3mc1hhwa.js} +5 -5
- package/dist/chunks/{websearch-2ygx7nw7.js → reference-3t5c6jt3.js} +40 -40
- package/dist/chunks/{websearch-medv9fna.js → reference-3vc9vmpv.js} +10 -10
- package/dist/chunks/{websearch-h7xf8fhv.js → reference-3y28g1fq.js} +18 -18
- package/dist/chunks/reference-424hja68.js +196 -0
- package/dist/chunks/{websearch-thstd87d.js → reference-42zyazrq.js} +3 -3
- package/dist/chunks/{websearch-69gn2r8j.js → reference-46azr2y9.js} +5 -5
- package/dist/chunks/{websearch-16zkvt3y.js → reference-4e9y157d.js} +2 -2
- package/dist/chunks/{websearch-10p29vm9.js → reference-4qz7zhx0.js} +7 -7
- package/dist/chunks/{websearch-5sc277j1.js → reference-4v53bvyt.js} +21 -21
- package/dist/chunks/{websearch-2nmyybe0.js → reference-4v6g3p22.js} +3 -3
- package/dist/chunks/{websearch-5ps159h2.js → reference-4z6b1r7t.js} +41 -58
- package/dist/chunks/{websearch-pdzzmdc7.js → reference-5400f3k2.js} +16 -16
- package/dist/chunks/{websearch-99hgw2nh.js → reference-567c56db.js} +8 -8
- package/dist/chunks/{websearch-9qy4593r.js → reference-5gzv38nr.js} +36 -36
- package/dist/chunks/{websearch-bfwky23p.js → reference-5n97c1kz.js} +3 -3
- package/dist/chunks/{websearch-etvrgfqj.js → reference-5y5kqjze.js} +7 -7
- package/dist/chunks/{websearch-vqbmgfq1.js → reference-63teb4w1.js} +5 -5
- package/dist/chunks/{websearch-0kvmztkf.js → reference-66mds5ht.js} +3 -3
- package/dist/chunks/reference-6bxzghb6.js +20 -0
- package/dist/chunks/{websearch-bbhffenw.js → reference-6f6thqyy.js} +15 -15
- package/dist/chunks/{websearch-fm3b2wbt.js → reference-6hppa3xw.js} +4 -4
- package/dist/chunks/{websearch-9rc3m3re.js → reference-6qa4ddqm.js} +59 -23
- package/dist/chunks/{websearch-d2gk9vpf.js → reference-6vbv4je1.js} +4 -4
- package/dist/chunks/{websearch-zxe9jjhn.js → reference-6wsfy4sp.js} +4 -4
- package/dist/chunks/{websearch-rw8s73eq.js → reference-73zc7acq.js} +6 -6
- package/dist/chunks/{websearch-0d4mk87s.js → reference-750jzgaa.js} +3 -3
- package/dist/chunks/{websearch-8g883nkb.js → reference-7epmrnkh.js} +12 -12
- package/dist/chunks/{websearch-xva3gx0c.js → reference-7f09d21b.js} +9 -9
- package/dist/chunks/{websearch-kg1345f7.js → reference-7myqjfx6.js} +4 -4
- package/dist/chunks/{websearch-dcawee05.js → reference-7w4qx9zy.js} +25 -6
- package/dist/chunks/{websearch-t6ma3p1k.js → reference-7y13h7qh.js} +5 -5
- package/dist/chunks/{websearch-xj0xhwdw.js → reference-7z97vfjw.js} +3 -3
- package/dist/chunks/{websearch-2yr8bd15.js → reference-80jq34sk.js} +13 -13
- package/dist/chunks/{websearch-ebkm32az.js → reference-893c53jd.js} +10 -10
- package/dist/chunks/{websearch-nr76rjj3.js → reference-89ttfx5q.js} +7 -7
- package/dist/chunks/{websearch-t683wdge.js → reference-8ck72gm8.js} +16 -16
- package/dist/chunks/{websearch-ngz3v23c.js → reference-8ezmrsyj.js} +4 -4
- package/dist/chunks/{websearch-v6wdqan0.js → reference-8g6k80zr.js} +9 -9
- package/dist/chunks/{websearch-wq5r9j83.js → reference-8jwkk0nn.js} +4 -4
- package/dist/chunks/{websearch-1zfavzce.js → reference-8ngkfkdx.js} +4 -4
- package/dist/chunks/reference-8q7rztf6.js +187 -0
- package/dist/chunks/{websearch-sqsnmb9f.js → reference-8r263vtv.js} +2 -2
- package/dist/chunks/{websearch-5wqkeaf9.js → reference-8ze61944.js} +15 -15
- package/dist/chunks/{websearch-73j8zhd3.js → reference-8zsay21d.js} +3 -3
- package/dist/chunks/{websearch-gx14js23.js → reference-90je674c.js} +4 -4
- package/dist/chunks/{websearch-y7qjjh9e.js → reference-97q0eayt.js} +31 -27
- package/dist/chunks/{websearch-w5wgtd7r.js → reference-98a24b06.js} +109 -116
- package/dist/chunks/{websearch-jqdqx4ms.js → reference-9dpm0ypj.js} +16 -24
- package/dist/chunks/{websearch-abv0a2s2.js → reference-9ex87gzq.js} +24 -24
- package/dist/chunks/{websearch-2b5rfbmh.js → reference-9kywsdzv.js} +5 -5
- package/dist/chunks/{websearch-33thd34n.js → reference-9nyt8zyy.js} +6 -7
- package/dist/chunks/{websearch-8rq9vje0.js → reference-9s00a4cy.js} +5 -5
- package/dist/chunks/{websearch-bswth2jt.js → reference-9vqgpz70.js} +6 -6
- package/dist/chunks/{websearch-zxbgx7sv.js → reference-9z5kkd1v.js} +14 -14
- package/dist/chunks/{websearch-byab506k.js → reference-a6xqkezx.js} +1 -1
- package/dist/chunks/{websearch-wjk9b8hz.js → reference-a7swh0z4.js} +6 -6
- package/dist/chunks/{websearch-wps8gh8n.js → reference-af42tqdk.js} +2 -2
- package/dist/chunks/{websearch-0atc81xx.js → reference-ak8kj9h3.js} +26 -26
- package/dist/chunks/{websearch-rft40sg1.js → reference-an1f8bbd.js} +125 -67
- package/dist/chunks/{websearch-ncfwr7ab.js → reference-ayh0b6nc.js} +13 -13
- package/dist/chunks/{websearch-f9wt0tjw.js → reference-b1f1x5nb.js} +4 -4
- package/dist/chunks/{websearch-x89rah0x.js → reference-b7rje112.js} +4 -4
- package/dist/chunks/{websearch-e1z9a0ts.js → reference-bd2mvb8t.js} +6 -6
- package/dist/chunks/{websearch-mk3z7nc0.js → reference-bhk5bpxq.js} +10 -8
- package/dist/chunks/{websearch-y0x38cee.js → reference-bnha4c96.js} +3 -3
- package/dist/chunks/{websearch-8axmdjr3.js → reference-bwqptwn6.js} +10 -10
- package/dist/chunks/{websearch-q66tjefk.js → reference-byc4rwvh.js} +2 -2
- package/dist/chunks/{websearch-yz1n3za9.js → reference-c1qrh1pd.js} +4 -4
- package/dist/chunks/{websearch-ec8vrfw5.js → reference-c54e84vp.js} +19 -19
- package/dist/chunks/{websearch-c8ya26sa.js → reference-c8ya26sa.js} +2 -2
- package/dist/chunks/{websearch-zdkg1k91.js → reference-c8z1ewty.js} +16 -5
- package/dist/chunks/{websearch-gzxnmdrv.js → reference-c9xhhs5v.js} +39 -39
- package/dist/chunks/{websearch-d4h7vwhh.js → reference-d4h7vwhh.js} +2 -2
- package/dist/chunks/{websearch-5rs65q6p.js → reference-dexm22yg.js} +4 -4
- package/dist/chunks/{websearch-mhvnwbnm.js → reference-df9ps1ev.js} +3 -3
- package/dist/chunks/reference-dtm6fkaa.js +54 -0
- package/dist/chunks/reference-dvqebtf1.js +37 -0
- package/dist/chunks/{websearch-emhmd4ee.js → reference-dxcg1gpj.js} +21 -21
- package/dist/chunks/{websearch-mxvw03gv.js → reference-dyhtrhy2.js} +1 -1
- package/dist/chunks/{websearch-zvz5j2bc.js → reference-e2kekfkw.js} +9 -9
- package/dist/chunks/{websearch-7ks83nc4.js → reference-e4ve50r5.js} +2 -2
- package/dist/chunks/{websearch-58qy95wc.js → reference-e5r3hp5p.js} +18 -18
- package/dist/chunks/{websearch-betp4092.js → reference-ec0fjxjh.js} +7 -7
- package/dist/chunks/{websearch-y67x6rf6.js → reference-edxnhgvj.js} +3 -3
- package/dist/chunks/{websearch-c4wcb9vc.js → reference-etbnsc4s.js} +5 -5
- package/dist/chunks/{websearch-4qfc90j3.js → reference-ez1a90zg.js} +90 -90
- package/dist/chunks/{websearch-qe0d689s.js → reference-f2nhxfjt.js} +2 -2
- package/dist/chunks/{websearch-44bp186z.js → reference-f410cv5t.js} +22 -22
- package/dist/chunks/{websearch-74qdg080.js → reference-f6687h7n.js} +92 -137
- package/dist/chunks/{websearch-p6jxvkgx.js → reference-f821qzap.js} +5 -5
- package/dist/chunks/{websearch-r3rfmnhs.js → reference-f85kjf82.js} +51 -32
- package/dist/chunks/{websearch-41qzzbpz.js → reference-f8wvq04h.js} +3 -3
- package/dist/chunks/{websearch-srvcw5ce.js → reference-fddsdmdf.js} +4 -4
- package/dist/chunks/reference-fkdrrz2d.js +30 -0
- package/dist/chunks/{websearch-2yvgq9hf.js → reference-fkf3c53e.js} +9 -9
- package/dist/chunks/{websearch-j7w45qd7.js → reference-fq40qrnc.js} +21 -16
- package/dist/chunks/{websearch-smpeg8c9.js → reference-fqehnn9p.js} +2 -2
- package/dist/chunks/{websearch-vg3nw4cf.js → reference-ftjbsen0.js} +11 -11
- package/dist/chunks/{websearch-jrxhrvps.js → reference-g0z4yfdj.js} +48 -104
- package/dist/chunks/{websearch-4h896fer.js → reference-g6q238va.js} +2 -2
- package/dist/chunks/{websearch-azdqaz44.js → reference-g7dw4rk5.js} +12 -12
- package/dist/chunks/{websearch-18pv8fg3.js → reference-g9dd0fv6.js} +5 -5
- package/dist/chunks/{websearch-gzkavbc5.js → reference-gat33t0e.js} +5 -5
- package/dist/chunks/{websearch-gb1z7yet.js → reference-gb1z7yet.js} +2 -2
- package/dist/chunks/{websearch-mnb85w6b.js → reference-gc513wew.js} +4 -4
- package/dist/chunks/{websearch-q8xy3s52.js → reference-gq0njyjb.js} +20 -20
- package/dist/chunks/{websearch-gd2xppx8.js → reference-grfz4hhj.js} +3 -3
- package/dist/chunks/{websearch-jv2akzxs.js → reference-gte2a4bk.js} +28 -19
- package/dist/chunks/{websearch-zsyc5nym.js → reference-h292hczs.js} +15 -15
- package/dist/chunks/{websearch-rmjj1pjh.js → reference-hfzsp55z.js} +4 -4
- package/dist/chunks/{websearch-yv7jst0e.js → reference-hgf74c4y.js} +10 -10
- package/dist/chunks/{websearch-hgr9y616.js → reference-hgr9y616.js} +1 -1
- package/dist/chunks/{websearch-02f9w0t0.js → reference-hhxh8pdx.js} +2 -2
- package/dist/chunks/{websearch-15hpbjb6.js → reference-hpkeh7wf.js} +6 -6
- package/dist/chunks/{websearch-50jxp3hw.js → reference-hs51b0fc.js} +7 -7
- package/dist/chunks/{websearch-3g8vftxb.js → reference-hvydqsq5.js} +4 -4
- package/dist/chunks/{websearch-5vcssjzn.js → reference-hy5n5jcn.js} +3 -3
- package/dist/chunks/{websearch-39vp2fsy.js → reference-hyfbxc6f.js} +1 -1
- package/dist/chunks/{websearch-j0feex7e.js → reference-j0feex7e.js} +1 -1
- package/dist/chunks/{websearch-h6q26knr.js → reference-j9ymnb9b.js} +2 -2
- package/dist/chunks/{websearch-vmj52cpb.js → reference-jcc5a2z4.js} +2 -2
- package/dist/chunks/reference-je5g7w6t.js +34 -0
- package/dist/chunks/{websearch-0300b7d6.js → reference-jesbcz0e.js} +7 -7
- package/dist/chunks/{websearch-cat9v99r.js → reference-jghhn6h0.js} +16 -16
- package/dist/chunks/{websearch-qwn30307.js → reference-jjepj7kz.js} +14 -11
- package/dist/chunks/{websearch-6wkzvma0.js → reference-jqd42x9x.js} +4 -4
- package/dist/chunks/{websearch-yt02w91s.js → reference-jqhp3fpz.js} +4 -4
- package/dist/chunks/{websearch-tjrfm0xh.js → reference-jr5m26np.js} +8 -8
- package/dist/chunks/{websearch-5kg7kdyf.js → reference-jsb6y3ce.js} +7 -7
- package/dist/chunks/{websearch-h8nbdcx9.js → reference-k3b0087g.js} +17 -17
- package/dist/chunks/{websearch-0xmbntw2.js → reference-k5r2vn1t.js} +21 -21
- package/dist/chunks/{websearch-xwftk1fd.js → reference-k7hkdbw5.js} +2 -2
- package/dist/chunks/{websearch-1b8q0qfd.js → reference-k85ch1vg.js} +14 -14
- package/dist/chunks/{websearch-nshceesa.js → reference-ka1ze8e7.js} +9 -9
- package/dist/chunks/{websearch-cb3xnjzj.js → reference-kek3rf55.js} +6 -6
- package/dist/chunks/{websearch-wfxbz101.js → reference-kemcf5mw.js} +8 -8
- package/dist/chunks/{websearch-bh1wr8rq.js → reference-kggc3hrm.js} +4 -4
- package/dist/chunks/{websearch-8ydxcqkb.js → reference-khswz5rb.js} +14 -14
- package/dist/chunks/{websearch-dhphtf1x.js → reference-kq3q54gz.js} +3 -3
- package/dist/chunks/{websearch-a7zp47hx.js → reference-kr9vgar1.js} +3 -3
- package/dist/chunks/{websearch-0687t5rp.js → reference-m3k5wttq.js} +16 -16
- package/dist/chunks/{websearch-r0c038tz.js → reference-m48hb2tb.js} +9 -9
- package/dist/chunks/{websearch-h94zdhz8.js → reference-m7jtgrng.js} +8 -8
- package/dist/chunks/{websearch-rhf7srtt.js → reference-m8dxe63b.js} +12 -11
- package/dist/chunks/{websearch-mf0hyk7z.js → reference-mf0hyk7z.js} +1 -1
- package/dist/chunks/{websearch-qcny0ysj.js → reference-mhxjtrfr.js} +26 -26
- package/dist/chunks/{websearch-kp1t5rcy.js → reference-mnyszbxc.js} +3 -3
- package/dist/chunks/{websearch-np0as9yq.js → reference-mq1tw6ze.js} +21 -21
- package/dist/chunks/{websearch-17cn0e7w.js → reference-mxhs55xx.js} +35 -35
- package/dist/chunks/{websearch-s8pv2mgp.js → reference-n256kz7s.js} +11 -11
- package/dist/chunks/reference-n5yhfyk0.js +408 -0
- package/dist/chunks/{websearch-r3k9abhd.js → reference-ngzr6ypz.js} +4 -4
- package/dist/chunks/{websearch-sw84ckhj.js → reference-nn16cgj7.js} +5 -5
- package/dist/chunks/{websearch-0xa3ynrb.js → reference-np5sawwb.js} +8 -8
- package/dist/chunks/{websearch-hp6rpdnc.js → reference-p1m5qwvv.js} +3 -3
- package/dist/chunks/{websearch-sa72t5px.js → reference-p4fwfknn.js} +12 -12
- package/dist/chunks/{websearch-7wcmqxrc.js → reference-p5gyct0y.js} +4 -4
- package/dist/chunks/{websearch-k9fxkxys.js → reference-pdq2xh3y.js} +11 -11
- package/dist/chunks/{websearch-mxccen0e.js → reference-pg6rcx6v.js} +20 -20
- package/dist/chunks/{websearch-kww0mg52.js → reference-pj0nw4b1.js} +1 -1
- package/dist/chunks/{websearch-2pd1mgzx.js → reference-pk53j7qk.js} +4 -4
- package/dist/chunks/{websearch-vv04m5r9.js → reference-pkvv3k6x.js} +12 -16
- package/dist/chunks/{websearch-mp6zts7p.js → reference-pp6802x5.js} +9 -10
- package/dist/chunks/{websearch-ntdt82vf.js → reference-pw0qjder.js} +16 -16
- package/dist/chunks/{websearch-q606pcse.js → reference-q606pcse.js} +3 -3
- package/dist/chunks/{websearch-ep35cpen.js → reference-qf52r0wh.js} +5 -5
- package/dist/chunks/{websearch-wft6ftgt.js → reference-qf5b2gmg.js} +16 -16
- package/dist/chunks/{websearch-v9bfv94f.js → reference-qfvp8zq7.js} +5 -5
- package/dist/chunks/{websearch-fzn2mac5.js → reference-qp1z2q9w.js} +24 -23
- package/dist/chunks/{websearch-ambzzkps.js → reference-qvh7d3mm.js} +6 -6
- package/dist/chunks/{websearch-3vz1ew5q.js → reference-qx3jf2qk.js} +7 -7
- package/dist/chunks/{websearch-dyj7wa6j.js → reference-qz5gwjr7.js} +10 -10
- package/dist/chunks/{websearch-02dbfq60.js → reference-r7z6wjth.js} +4 -4
- package/dist/chunks/{websearch-npwkm078.js → reference-r932pxqs.js} +1 -1
- package/dist/chunks/{websearch-r9d3d23r.js → reference-r9d3d23r.js} +1 -1
- package/dist/chunks/{websearch-rahat93a.js → reference-rahat93a.js} +1 -1
- package/dist/chunks/{websearch-rwymanc1.js → reference-ramface9.js} +8 -8
- package/dist/chunks/{websearch-fvzd795v.js → reference-rancn5ng.js} +11 -11
- package/dist/chunks/reference-rr7wbarq.js +151 -0
- package/dist/chunks/{websearch-gz9s6gpj.js → reference-rv2n9m0t.js} +2 -2
- package/dist/chunks/{websearch-ppeewn5e.js → reference-rw2ay6e7.js} +21 -21
- package/dist/chunks/reference-rzv103sq.js +36 -0
- package/dist/chunks/{websearch-s2kjqxd3.js → reference-s2kjqxd3.js} +1 -1
- package/dist/chunks/{websearch-y198y2ra.js → reference-s32nnj3r.js} +12 -12
- package/dist/chunks/{websearch-b88z1mq9.js → reference-s4nkbdgv.js} +10 -10
- package/dist/chunks/{websearch-v80zsxnb.js → reference-s6ck6xts.js} +3 -3
- package/dist/chunks/{websearch-wnh6cdm7.js → reference-sawwddx8.js} +32 -28
- package/dist/chunks/{websearch-b3c7c25w.js → reference-t253hdyx.js} +5 -5
- package/dist/chunks/{websearch-qtnwpnb7.js → reference-t5rvtmq7.js} +61 -61
- package/dist/chunks/{websearch-xz7tgbq3.js → reference-thngpag9.js} +12 -12
- package/dist/chunks/{websearch-k5e6kcej.js → reference-tr2gzb1w.js} +4 -4
- package/dist/chunks/{websearch-djtgymwn.js → reference-tt4qnzy6.js} +7 -7
- package/dist/chunks/{websearch-wsf0pp6q.js → reference-ty5gs0vf.js} +14 -14
- package/dist/chunks/{websearch-5jsm3hkx.js → reference-v1q61tmm.js} +9 -9
- package/dist/chunks/{websearch-vcwr2vpf.js → reference-vcwr2vpf.js} +1 -1
- package/dist/chunks/{websearch-svakn3c9.js → reference-vczm1m9n.js} +3 -3
- package/dist/chunks/{websearch-rejtg0m2.js → reference-vd8gzy68.js} +12 -12
- package/dist/chunks/{websearch-sycwgz0f.js → reference-vem6fgbh.js} +20 -18
- package/dist/chunks/{websearch-z9qwgjnx.js → reference-vmf3mwf0.js} +14 -14
- package/dist/chunks/{websearch-xczfw7dq.js → reference-vynk8zbr.js} +6 -6
- package/dist/chunks/reference-vyxqdbzy.js +68 -0
- package/dist/chunks/{websearch-7mrpdsq5.js → reference-w5r9s7kx.js} +4 -4
- package/dist/chunks/reference-w7agyzeg.js +66 -0
- package/dist/chunks/{websearch-wbkt8qpj.js → reference-wbkt8qpj.js} +1 -1
- package/dist/chunks/{websearch-gcay93cp.js → reference-wdqva41w.js} +3 -3
- package/dist/chunks/{websearch-9f0rnpkn.js → reference-wf5w4wph.js} +3 -3
- package/dist/chunks/{websearch-vd03bq4r.js → reference-wghtbf73.js} +11 -11
- package/dist/chunks/{websearch-ns0sdez7.js → reference-wkcm2121.js} +15 -15
- package/dist/chunks/{websearch-wmxdh12w.js → reference-wmxdh12w.js} +1 -1
- package/dist/chunks/{websearch-8epg6g0q.js → reference-wv8n739s.js} +10 -10
- package/dist/chunks/{websearch-mzabt5y0.js → reference-wvzafhct.js} +6 -7
- package/dist/chunks/{websearch-g8vhkwkh.js → reference-wx0fv060.js} +26 -11
- package/dist/chunks/{websearch-nzrjycs5.js → reference-x3vb5b1t.js} +3 -3
- package/dist/chunks/{websearch-58xdvehb.js → reference-x4az4y7r.js} +5 -5
- package/dist/chunks/{websearch-pn41wmfy.js → reference-x7g08g2m.js} +5 -5
- package/dist/chunks/{websearch-pq4b4pqk.js → reference-xdb88cdw.js} +4 -4
- package/dist/chunks/{websearch-5fe026tx.js → reference-xfk2eagt.js} +5 -5
- package/dist/chunks/{websearch-ps01fcq7.js → reference-xh0dkm7j.js} +1 -1
- package/dist/chunks/{websearch-t87z2dfg.js → reference-xwpxh8hr.js} +12 -12
- package/dist/chunks/{websearch-v2wshkax.js → reference-xws7arpm.js} +3 -3
- package/dist/chunks/{websearch-snd64xsa.js → reference-xxphcf1f.js} +13 -13
- package/dist/chunks/{websearch-1064xx1w.js → reference-xzp0zmzd.js} +6 -6
- package/dist/chunks/{websearch-nxaza16h.js → reference-y1yqxy0w.js} +8 -8
- package/dist/chunks/{websearch-682366gn.js → reference-yt5sqzpx.js} +33 -33
- package/dist/chunks/{websearch-62f8vfk8.js → reference-yvej0khr.js} +6 -6
- package/dist/chunks/{websearch-6fe9z7g5.js → reference-yyskhrw5.js} +8 -8
- package/dist/chunks/{websearch-hetwehem.js → reference-z1959vye.js} +13 -13
- package/dist/chunks/{websearch-rdqmt1vp.js → reference-z1x5ppqv.js} +2 -2
- package/dist/chunks/{websearch-1qcm30f5.js → reference-z427xjvx.js} +17 -17
- package/dist/chunks/{websearch-g57kecbr.js → reference-z5p8bt57.js} +10 -10
- package/dist/chunks/{websearch-bwv594nh.js → reference-z65x5xn8.js} +15 -15
- package/dist/chunks/{websearch-w06zjwdb.js → reference-z6zhg99y.js} +33 -35
- package/dist/chunks/{websearch-5wmbkqw2.js → reference-z83gsyf2.js} +5 -5
- package/dist/chunks/{websearch-v972xay6.js → reference-z8c1ty6e.js} +3 -3
- package/dist/chunks/{websearch-zbqqnp0n.js → reference-zbqqnp0n.js} +1 -1
- package/dist/chunks/{websearch-8v308b8a.js → reference-zgfz4nwa.js} +14 -14
- package/dist/chunks/{websearch-6ky7rqk7.js → reference-zn935gjz.js} +3 -3
- package/dist/chunks/{websearch-fex42j86.js → reference-zq5w46q0.js} +13 -13
- package/dist/chunks/{websearch-yeb65r72.js → reference-zqygmzvz.js} +17 -17
- package/dist/chunks/{websearch-t14kykx1.js → reference-zyyhrfr9.js} +9 -9
- 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 +34 -34
- 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 +82 -82
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +3 -3
- package/dist/effect/app-node-builder.js +361 -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 +218 -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 +20 -20
- 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 +346 -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 +86 -91
- package/dist/location-mutation.js +85 -90
- package/dist/location-service-map.js +83 -86
- package/dist/location-services.js +342 -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 +217 -205
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +313 -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/skill.js +131 -137
- package/dist/plugin/source-directory.js +5 -5
- package/dist/plugin/supervisor.js +328 -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 +221 -211
- 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 +79 -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 +213 -197
- package/dist/session/execution.js +122 -127
- package/dist/session/generate.js +155 -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 +116 -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 +225 -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 +172 -179
- package/dist/session/shell.js +136 -0
- package/dist/session/skill.js +105 -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 +216 -200
- package/dist/session/usage.js +6 -6
- package/dist/session.js +231 -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 +5 -5
- 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/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 +211 -200
- package/dist/tool/plugin/skill.js +103 -108
- package/dist/tool/plugin/subagent.js +211 -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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +3 -3
- package/dist/types/filesystem.d.ts +3 -1
- package/dist/types/form.d.ts +1 -1
- package/dist/types/formatter.d.ts +1 -1
- package/dist/types/generate.d.ts +1 -1
- package/dist/types/git.d.ts +1 -1
- package/dist/types/image.d.ts +1 -1
- package/dist/types/instance/service.d.ts +14 -0
- package/dist/types/instance.d.ts +5 -5
- package/dist/types/instruction-discovery.d.ts +2 -2
- package/dist/types/instructions/builtins.d.ts +1 -1
- package/dist/types/integration.d.ts +1 -1
- 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 +3 -3
- package/dist/types/mcp/instructions.d.ts +1 -1
- package/dist/types/model-resolver.d.ts +1 -1
- 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 +21 -6
- package/dist/types/plugin/sdk.d.ts +5 -6
- package/dist/types/plugin/skill.d.ts +2 -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 +13 -5
- package/dist/types/project.d.ts +1 -2
- package/dist/types/provider.d.ts +25 -0
- 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 +1 -3
- 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 +6 -3
- 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 +2 -2
- 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 +2 -2
- 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 +1 -1
- package/dist/types/snapshot.d.ts +1 -1
- 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 +1 -1
- package/dist/types/tool/plugin/grep.d.ts +3 -1
- 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 +1 -1
- package/dist/types/tool.d.ts +4 -3
- package/dist/types/v1/config/migrate.d.ts +66 -65
- package/dist/types/vcs.d.ts +1 -1
- package/dist/types/websearch.d.ts +1 -1
- 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 +7 -7
- package/dist/chunks/websearch-57tzwnz4.js +0 -107
- 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-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-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 → reference-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{websearch-0f48qthw.js → reference-0f48qthw.js} +0 -0
- /package/dist/chunks/{websearch-0zz82cjq.js → reference-0zz82cjq.js} +0 -0
- /package/dist/chunks/{websearch-1fb7bmpf.js → reference-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{websearch-1wcz8fvj.js → reference-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{websearch-29n7vfk2.js → reference-29n7vfk2.js} +0 -0
- /package/dist/chunks/{websearch-2qdx6zz3.js → reference-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{websearch-2xb0r1c6.js → reference-2xb0r1c6.js} +0 -0
- /package/dist/chunks/{websearch-39ktntah.js → reference-39ktntah.js} +0 -0
- /package/dist/chunks/{websearch-3g3rpp2x.js → reference-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{websearch-3w3ybtfd.js → reference-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{websearch-47ty4mvs.js → reference-47ty4mvs.js} +0 -0
- /package/dist/chunks/{websearch-4b2tz2m9.js → reference-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{websearch-5a5ch9ts.js → reference-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{websearch-5va1yh78.js → reference-5va1yh78.js} +0 -0
- /package/dist/chunks/{websearch-61ek4hj9.js → reference-61ek4hj9.js} +0 -0
- /package/dist/chunks/{websearch-69qrqpw0.js → reference-69qrqpw0.js} +0 -0
- /package/dist/chunks/{websearch-6zqxzw0a.js → reference-6zqxzw0a.js} +0 -0
- /package/dist/chunks/{websearch-7n9qwqk4.js → reference-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{websearch-8nn8kqcn.js → reference-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{websearch-8rpfd2h6.js → reference-8rpfd2h6.js} +0 -0
- /package/dist/chunks/{websearch-8sj3ajy5.js → reference-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{websearch-8w9tzfz1.js → reference-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{websearch-906y0b6d.js → reference-906y0b6d.js} +0 -0
- /package/dist/chunks/{websearch-9dct5xhx.js → reference-9dct5xhx.js} +0 -0
- /package/dist/chunks/{websearch-9maxscqf.js → reference-9maxscqf.js} +0 -0
- /package/dist/chunks/{websearch-9sdtsapf.js → reference-9sdtsapf.js} +0 -0
- /package/dist/chunks/{websearch-a02svayp.js → reference-a02svayp.js} +0 -0
- /package/dist/chunks/{websearch-a83yvq99.js → reference-a83yvq99.js} +0 -0
- /package/dist/chunks/{websearch-ayevdmef.js → reference-ayevdmef.js} +0 -0
- /package/dist/chunks/{websearch-b02txbh8.js → reference-b02txbh8.js} +0 -0
- /package/dist/chunks/{websearch-bbqs2y60.js → reference-bbqs2y60.js} +0 -0
- /package/dist/chunks/{websearch-bjwj8hwv.js → reference-bjwj8hwv.js} +0 -0
- /package/dist/chunks/{websearch-brsh5f65.js → reference-brsh5f65.js} +0 -0
- /package/dist/chunks/{websearch-bxdhjb3y.js → reference-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{websearch-bybkghrn.js → reference-bybkghrn.js} +0 -0
- /package/dist/chunks/{websearch-c77ad0vh.js → reference-c77ad0vh.js} +0 -0
- /package/dist/chunks/{websearch-cm67rqy2.js → reference-cm67rqy2.js} +0 -0
- /package/dist/chunks/{websearch-df3v2q6j.js → reference-df3v2q6j.js} +0 -0
- /package/dist/chunks/{websearch-dhcq6c44.js → reference-dhcq6c44.js} +0 -0
- /package/dist/chunks/{websearch-dht5baf0.js → reference-dht5baf0.js} +0 -0
- /package/dist/chunks/{websearch-dkmkay92.js → reference-dkmkay92.js} +0 -0
- /package/dist/chunks/{websearch-ehj9csmv.js → reference-ehj9csmv.js} +0 -0
- /package/dist/chunks/{websearch-em6xpscd.js → reference-em6xpscd.js} +0 -0
- /package/dist/chunks/{websearch-emmqknsm.js → reference-emmqknsm.js} +0 -0
- /package/dist/chunks/{websearch-ezs3tagn.js → reference-ezs3tagn.js} +0 -0
- /package/dist/chunks/{websearch-f14r7hfz.js → reference-f14r7hfz.js} +0 -0
- /package/dist/chunks/{websearch-f1jj19e8.js → reference-f1jj19e8.js} +0 -0
- /package/dist/chunks/{websearch-f4cp4g4a.js → reference-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{websearch-faypg4r1.js → reference-faypg4r1.js} +0 -0
- /package/dist/chunks/{websearch-fg7fz4q3.js → reference-fg7fz4q3.js} +0 -0
- /package/dist/chunks/{websearch-fgbfdq62.js → reference-fgbfdq62.js} +0 -0
- /package/dist/chunks/{websearch-g23fad86.js → reference-g23fad86.js} +0 -0
- /package/dist/chunks/{websearch-gd5xeqc2.js → reference-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{websearch-ghm4673n.js → reference-ghm4673n.js} +0 -0
- /package/dist/chunks/{websearch-ghwjy7my.js → reference-ghwjy7my.js} +0 -0
- /package/dist/chunks/{websearch-gy500k2r.js → reference-gy500k2r.js} +0 -0
- /package/dist/chunks/{websearch-hzeg9cfr.js → reference-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{websearch-j07kk359.js → reference-j07kk359.js} +0 -0
- /package/dist/chunks/{websearch-j32vdj8r.js → reference-j32vdj8r.js} +0 -0
- /package/dist/chunks/{websearch-jqms80b0.js → reference-jqms80b0.js} +0 -0
- /package/dist/chunks/{websearch-jve7t217.js → reference-jve7t217.js} +0 -0
- /package/dist/chunks/{websearch-k3e42drn.js → reference-k3e42drn.js} +0 -0
- /package/dist/chunks/{websearch-k8b45nas.js → reference-k8b45nas.js} +0 -0
- /package/dist/chunks/{websearch-kpdbz7gn.js → reference-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{websearch-kxy11nzk.js → reference-kxy11nzk.js} +0 -0
- /package/dist/chunks/{websearch-kyyqvx4s.js → reference-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{websearch-m8cbvarh.js → reference-m8cbvarh.js} +0 -0
- /package/dist/chunks/{websearch-ma60vzgv.js → reference-ma60vzgv.js} +0 -0
- /package/dist/chunks/{websearch-n3m50c2t.js → reference-n3m50c2t.js} +0 -0
- /package/dist/chunks/{websearch-nkm1m8dz.js → reference-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{websearch-nsc0c3zb.js → reference-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{websearch-qaarhjrp.js → reference-qaarhjrp.js} +0 -0
- /package/dist/chunks/{websearch-qc167nrn.js → reference-qc167nrn.js} +0 -0
- /package/dist/chunks/{websearch-qp95y4jb.js → reference-qp95y4jb.js} +0 -0
- /package/dist/chunks/{websearch-r8f4w671.js → reference-r8f4w671.js} +0 -0
- /package/dist/chunks/{websearch-rdfev9jy.js → reference-rdfev9jy.js} +0 -0
- /package/dist/chunks/{websearch-s7whb9gt.js → reference-s7whb9gt.js} +0 -0
- /package/dist/chunks/{websearch-se76j685.js → reference-se76j685.js} +0 -0
- /package/dist/chunks/{websearch-sem2g21k.js → reference-sem2g21k.js} +0 -0
- /package/dist/chunks/{websearch-sp575ygv.js → reference-sp575ygv.js} +0 -0
- /package/dist/chunks/{websearch-tmb1f636.js → reference-tmb1f636.js} +0 -0
- /package/dist/chunks/{websearch-ttxf0gsy.js → reference-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{websearch-tvmhrvfj.js → reference-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{websearch-v2adqbbe.js → reference-v2adqbbe.js} +0 -0
- /package/dist/chunks/{websearch-vac9eqd2.js → reference-vac9eqd2.js} +0 -0
- /package/dist/chunks/{websearch-rvfvac9x.js → reference-vpjkya7h.js} +0 -0
- /package/dist/chunks/{websearch-wj4sxzqa.js → reference-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{websearch-wwntjmk1.js → reference-wwntjmk1.js} +0 -0
- /package/dist/chunks/{websearch-wyqjaaa5.js → reference-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{websearch-x4q807cx.js → reference-x4q807cx.js} +0 -0
- /package/dist/chunks/{websearch-yrqrg4vp.js → reference-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{websearch-z47nswr2.js → reference-z47nswr2.js} +0 -0
- /package/dist/chunks/{websearch-zsf8rs93.js → reference-zsf8rs93.js} +0 -0
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
export * as PluginHost from "./host.js";
|
|
2
2
|
import { Plugin } from "@opencode-ai/plugin/effect";
|
|
3
|
-
import {
|
|
4
|
-
import type { Event } from "@opencode-ai/schema/event";
|
|
5
|
-
import { App } from "../app.js";
|
|
6
|
-
import { Effect, Stream } from "effect";
|
|
3
|
+
import { Effect } from "effect";
|
|
7
4
|
import { Agent } from "../agent.js";
|
|
8
5
|
import { AISDK } from "../aisdk.js";
|
|
9
6
|
import { Catalog } from "../catalog.js";
|
|
@@ -12,11 +9,12 @@ import { Bus } from "../bus.js";
|
|
|
12
9
|
import { Integration } from "../integration.js";
|
|
13
10
|
import { KV } from "../kv.js";
|
|
14
11
|
import { Location } from "../location.js";
|
|
12
|
+
import { LocationServiceMap } from "../location-service-map.js";
|
|
15
13
|
import { Mcp } from "../mcp/index.js";
|
|
16
|
-
import {
|
|
14
|
+
import { Session } from "../session.js";
|
|
15
|
+
import { PersistentPty } from "../persistent-pty.js";
|
|
17
16
|
import { Reference } from "../reference.js";
|
|
18
17
|
import { Rpc } from "../rpc.js";
|
|
19
|
-
import { AbsolutePath } from "../schema.js";
|
|
20
18
|
import { Skill } from "../skill.js";
|
|
21
19
|
import { Tool } from "../tool.js";
|
|
22
20
|
import { Vcs } from "../vcs.js";
|
|
@@ -25,356 +23,7 @@ import { Generate } from "../generate.js";
|
|
|
25
23
|
import { Permission } from "../permission.js";
|
|
26
24
|
import { PluginHooks } from "./hooks.js";
|
|
27
25
|
import type { Interface } from "../plugin.js";
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
readonly data: Readonly<Record<string, unknown>>;
|
|
32
|
-
};
|
|
33
|
-
export declare const make: (plugin: Interface, pluginID?: string | undefined) => Effect.Effect<{
|
|
34
|
-
app: App.Info;
|
|
35
|
-
location: Location.Info;
|
|
36
|
-
options: {};
|
|
37
|
-
rpc: (<D extends Rpc.Definition>(definition: D) => import("@opencode-ai/client/effect/api").RpcClient<D, import("@opencode-ai/schema/rpc").SystemError, never, unknown>) & {
|
|
38
|
-
register: <const D extends Rpc.Definition>(definition: D, handlers: import("@opencode-ai/plugin/effect/rpc").RpcHandlers<NoInfer<D>>) => Effect.Effect<import("@opencode-ai/plugin/effect/rpc").RpcRegistration<D>, unknown, import("effect/Scope").Scope>;
|
|
39
|
-
};
|
|
40
|
-
agent: {
|
|
41
|
-
get: (input: import("@opencode-ai/client/effect/api").AgentGetInput) => Effect.Effect<{
|
|
42
|
-
data: import("@opencode-ai/schema/agent").Info;
|
|
43
|
-
location: Location.Info;
|
|
44
|
-
}, Error, never>;
|
|
45
|
-
list: (input: import("@opencode-ai/client/effect/api").AgentListInput | undefined) => Effect.Effect<{
|
|
46
|
-
readonly location: Location.Info;
|
|
47
|
-
readonly data: Agent.Info[];
|
|
48
|
-
}, never, never>;
|
|
49
|
-
reload: import("../state.js").Reload;
|
|
50
|
-
transform: (callback: (input: import("@opencode-ai/plugin/effect/agent").AgentDraft) => void) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
51
|
-
};
|
|
52
|
-
aisdk: {
|
|
53
|
-
hook: <Name extends keyof import("@opencode-ai/plugin/effect/aisdk").AISDKHooks>(name: Name, callback: (input: import("@opencode-ai/plugin/effect/aisdk").AISDKHooks[Name]) => Effect.Effect<void, Record<keyof import("@opencode-ai/plugin/effect/aisdk").AISDKHooks, never>[Name], never>, options: (import("@opencode-ai/plugin/effect/aisdk").AISDKHooks[Name] extends {
|
|
54
|
-
readonly model: unknown;
|
|
55
|
-
} ? import("@opencode-ai/plugin/effect/registration").ModelHookOptions : never) | undefined) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
56
|
-
};
|
|
57
|
-
catalog: {
|
|
58
|
-
provider: {
|
|
59
|
-
list: () => Effect.Effect<{
|
|
60
|
-
location: Location.Info;
|
|
61
|
-
data: import("@opencode-ai/schema/provider").Info[];
|
|
62
|
-
}, never, never>;
|
|
63
|
-
get: (input: import("@opencode-ai/client/effect/api").ProviderGetInput) => Effect.Effect<{
|
|
64
|
-
location: Location.Info;
|
|
65
|
-
data: import("@opencode-ai/schema/provider").Info;
|
|
66
|
-
}, Error, never>;
|
|
67
|
-
};
|
|
68
|
-
model: {
|
|
69
|
-
list: () => Effect.Effect<{
|
|
70
|
-
location: Location.Info;
|
|
71
|
-
data: import("@opencode-ai/schema/model").Info[];
|
|
72
|
-
}, never, never>;
|
|
73
|
-
default: () => Effect.Effect<{
|
|
74
|
-
location: Location.Info;
|
|
75
|
-
data: import("@opencode-ai/schema/model").Info | undefined;
|
|
76
|
-
}, never, never>;
|
|
77
|
-
};
|
|
78
|
-
reload: import("../state.js").Reload;
|
|
79
|
-
transform: (callback: (input: import("@opencode-ai/plugin/effect/catalog").CatalogDraft) => void) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
80
|
-
};
|
|
81
|
-
command: {
|
|
82
|
-
list: () => Effect.Effect<{
|
|
83
|
-
location: Location.Info;
|
|
84
|
-
data: import("@opencode-ai/schema/command").Info[];
|
|
85
|
-
}, never, never>;
|
|
86
|
-
reload: import("../state.js").Reload;
|
|
87
|
-
transform: import("../state.js").Transform<Command.Draft>;
|
|
88
|
-
};
|
|
89
|
-
event: {
|
|
90
|
-
subscribe: () => Stream.Stream<EventManifest.ServerEvent | RpcEvent, never, never>;
|
|
91
|
-
};
|
|
92
|
-
experimental: {
|
|
93
|
-
terminal: {
|
|
94
|
-
read: (input: import("@opencode-ai/client/effect/api").ExperimentalPersistentPtyReadInput) => Effect.Effect<import("@opencode-ai/schema/persistent-pty").ReadResult | null, import("../persistent-pty/index.js").UnavailableError, never>;
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
generate: {
|
|
98
|
-
text: (input: import("@opencode-ai/client/effect/api").GenerateTextInput) => Effect.Effect<{
|
|
99
|
-
text: string;
|
|
100
|
-
}, Generate.Error, never>;
|
|
101
|
-
};
|
|
102
|
-
integration: {
|
|
103
|
-
list: () => Effect.Effect<{
|
|
104
|
-
location: Location.Info;
|
|
105
|
-
data: import("@opencode-ai/schema/integration").Info[];
|
|
106
|
-
}, never, never>;
|
|
107
|
-
get: (input: import("@opencode-ai/client/effect/api").IntegrationGetInput) => Effect.Effect<{
|
|
108
|
-
location: Location.Info;
|
|
109
|
-
data: import("@opencode-ai/schema/integration").Info | undefined;
|
|
110
|
-
}, never, never>;
|
|
111
|
-
connect: {
|
|
112
|
-
key: (input: import("@opencode-ai/client/effect/api").IntegrationConnectKeyInput) => Effect.Effect<void, Integration.AuthorizationError, never>;
|
|
113
|
-
};
|
|
114
|
-
oauth: {
|
|
115
|
-
connect: (input: import("@opencode-ai/client/effect/api").IntegrationOauthConnectInput) => Effect.Effect<{
|
|
116
|
-
location: Location.Info;
|
|
117
|
-
data: import("@opencode-ai/schema/integration").Attempt;
|
|
118
|
-
}, Integration.AuthorizationError, never>;
|
|
119
|
-
status: (input: import("@opencode-ai/client/effect/api").IntegrationOauthStatusInput) => Effect.Effect<{
|
|
120
|
-
location: Location.Info;
|
|
121
|
-
data: {
|
|
122
|
-
readonly status: "pending";
|
|
123
|
-
readonly time: {
|
|
124
|
-
readonly created: number;
|
|
125
|
-
readonly expires: number;
|
|
126
|
-
};
|
|
127
|
-
} | {
|
|
128
|
-
readonly status: "complete";
|
|
129
|
-
readonly time: {
|
|
130
|
-
readonly created: number;
|
|
131
|
-
readonly expires: number;
|
|
132
|
-
};
|
|
133
|
-
} | {
|
|
134
|
-
readonly status: "failed";
|
|
135
|
-
readonly message: string;
|
|
136
|
-
readonly time: {
|
|
137
|
-
readonly created: number;
|
|
138
|
-
readonly expires: number;
|
|
139
|
-
};
|
|
140
|
-
} | {
|
|
141
|
-
readonly status: "expired";
|
|
142
|
-
readonly time: {
|
|
143
|
-
readonly created: number;
|
|
144
|
-
readonly expires: number;
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
}, never, never>;
|
|
148
|
-
complete: (input: import("@opencode-ai/client/effect/api").IntegrationOauthCompleteInput) => Effect.Effect<void, Integration.CodeRequiredError | Integration.AuthorizationError, never>;
|
|
149
|
-
cancel: (input: import("@opencode-ai/client/effect/api").IntegrationOauthCancelInput) => Effect.Effect<void, never, never>;
|
|
150
|
-
};
|
|
151
|
-
command: {
|
|
152
|
-
connect: (input: import("@opencode-ai/client/effect/api").IntegrationCommandConnectInput) => Effect.Effect<{
|
|
153
|
-
location: Location.Info;
|
|
154
|
-
data: import("@opencode-ai/schema/integration").CommandAttempt;
|
|
155
|
-
}, Integration.AuthorizationError, never>;
|
|
156
|
-
status: (input: import("@opencode-ai/client/effect/api").IntegrationCommandStatusInput) => Effect.Effect<{
|
|
157
|
-
location: Location.Info;
|
|
158
|
-
data: {
|
|
159
|
-
readonly status: "pending";
|
|
160
|
-
readonly time: {
|
|
161
|
-
readonly created: number;
|
|
162
|
-
readonly expires: number;
|
|
163
|
-
};
|
|
164
|
-
readonly message?: string | undefined;
|
|
165
|
-
} | {
|
|
166
|
-
readonly status: "complete";
|
|
167
|
-
readonly time: {
|
|
168
|
-
readonly created: number;
|
|
169
|
-
readonly expires: number;
|
|
170
|
-
};
|
|
171
|
-
} | {
|
|
172
|
-
readonly status: "failed";
|
|
173
|
-
readonly message: string;
|
|
174
|
-
readonly time: {
|
|
175
|
-
readonly created: number;
|
|
176
|
-
readonly expires: number;
|
|
177
|
-
};
|
|
178
|
-
} | {
|
|
179
|
-
readonly status: "expired";
|
|
180
|
-
readonly time: {
|
|
181
|
-
readonly created: number;
|
|
182
|
-
readonly expires: number;
|
|
183
|
-
};
|
|
184
|
-
};
|
|
185
|
-
}, never, never>;
|
|
186
|
-
cancel: (input: import("@opencode-ai/client/effect/api").IntegrationCommandCancelInput) => Effect.Effect<void, never, never>;
|
|
187
|
-
};
|
|
188
|
-
reload: import("../state.js").Reload;
|
|
189
|
-
connection: {
|
|
190
|
-
active: (id: string) => Effect.Effect<{
|
|
191
|
-
readonly type: "credential";
|
|
192
|
-
readonly id: string & import("effect/Brand").Brand<"Credential.ID">;
|
|
193
|
-
readonly label: string;
|
|
194
|
-
} | {
|
|
195
|
-
readonly type: "env";
|
|
196
|
-
readonly name: string;
|
|
197
|
-
} | undefined, never, never>;
|
|
198
|
-
resolve: (connection: import("@opencode-ai/client").ConnectionInfo) => Effect.Effect<{
|
|
199
|
-
readonly type: "oauth";
|
|
200
|
-
readonly methodID: string & import("effect/Brand").Brand<"Integration.MethodID">;
|
|
201
|
-
readonly refresh: string;
|
|
202
|
-
readonly access: string;
|
|
203
|
-
readonly expires: number;
|
|
204
|
-
readonly metadata?: {
|
|
205
|
-
readonly [x: string]: unknown;
|
|
206
|
-
} | undefined;
|
|
207
|
-
} | {
|
|
208
|
-
readonly type: "key";
|
|
209
|
-
readonly key: string;
|
|
210
|
-
readonly metadata?: {
|
|
211
|
-
readonly [x: string]: unknown;
|
|
212
|
-
} | undefined;
|
|
213
|
-
readonly configuration?: {
|
|
214
|
-
readonly [x: string]: string | number | boolean | readonly string[];
|
|
215
|
-
} | undefined;
|
|
216
|
-
} | undefined, Integration.AuthorizationError, never>;
|
|
217
|
-
};
|
|
218
|
-
transform: (callback: (input: import("@opencode-ai/plugin/effect/integration").IntegrationDraft) => void) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
219
|
-
};
|
|
220
|
-
mcp: {
|
|
221
|
-
list: (input: import("@opencode-ai/client/effect/api").McpListInput | undefined) => Effect.Effect<{
|
|
222
|
-
readonly location: Location.Info;
|
|
223
|
-
readonly data: Mcp.ServerInfo[];
|
|
224
|
-
}, unknown, never>;
|
|
225
|
-
reload: import("../state.js").Reload;
|
|
226
|
-
transform: (callback: (input: import("@opencode-ai/plugin/effect/mcp").MCPDraft) => void) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
227
|
-
};
|
|
228
|
-
permission: {
|
|
229
|
-
hook: <Name extends "evaluate">(name: Name, callback: (input: import("@opencode-ai/plugin/effect/permission").PermissionHooks[Name]) => Effect.Effect<void, Record<"evaluate", never>[Name], never>) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
230
|
-
list: (input: import("@opencode-ai/client/effect/api").PermissionListInput) => Effect.Effect<readonly {
|
|
231
|
-
readonly id: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
232
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
233
|
-
readonly action: string;
|
|
234
|
-
readonly resources: readonly string[];
|
|
235
|
-
readonly source?: {
|
|
236
|
-
readonly type: "tool";
|
|
237
|
-
readonly messageID: string;
|
|
238
|
-
readonly id: string;
|
|
239
|
-
} | undefined;
|
|
240
|
-
readonly metadata?: {
|
|
241
|
-
readonly [x: string]: unknown;
|
|
242
|
-
} | undefined;
|
|
243
|
-
readonly message?: string | undefined;
|
|
244
|
-
readonly save?: readonly string[] | undefined;
|
|
245
|
-
}[], never, never>;
|
|
246
|
-
get: (input: import("@opencode-ai/client/effect/api").PermissionGetInput) => Effect.Effect<{
|
|
247
|
-
readonly id: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
248
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
249
|
-
readonly action: string;
|
|
250
|
-
readonly resources: readonly string[];
|
|
251
|
-
readonly source?: {
|
|
252
|
-
readonly type: "tool";
|
|
253
|
-
readonly messageID: string;
|
|
254
|
-
readonly id: string;
|
|
255
|
-
} | undefined;
|
|
256
|
-
readonly metadata?: {
|
|
257
|
-
readonly [x: string]: unknown;
|
|
258
|
-
} | undefined;
|
|
259
|
-
readonly message?: string | undefined;
|
|
260
|
-
readonly save?: readonly string[] | undefined;
|
|
261
|
-
}, Error, never>;
|
|
262
|
-
reply: (input: import("@opencode-ai/client/effect/api").PermissionReplyInput) => Effect.Effect<void, Error, never>;
|
|
263
|
-
};
|
|
264
|
-
plugin: {
|
|
265
|
-
list: () => Effect.Effect<{
|
|
266
|
-
location: Location.Info;
|
|
267
|
-
data: import("@opencode-ai/schema/plugin").Info[];
|
|
268
|
-
}, never, never>;
|
|
269
|
-
};
|
|
270
|
-
reference: {
|
|
271
|
-
list: () => Effect.Effect<{
|
|
272
|
-
location: Location.Info;
|
|
273
|
-
data: import("@opencode-ai/schema/reference").Info[];
|
|
274
|
-
}, never, never>;
|
|
275
|
-
reload: import("../state.js").Reload;
|
|
276
|
-
transform: (callback: (input: import("@opencode-ai/plugin/effect/reference").ReferenceDraft) => void) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
277
|
-
};
|
|
278
|
-
skill: {
|
|
279
|
-
list: () => Effect.Effect<{
|
|
280
|
-
location: Location.Info;
|
|
281
|
-
data: import("@opencode-ai/schema/skill").Info[];
|
|
282
|
-
}, never, never>;
|
|
283
|
-
reload: import("../state.js").Reload;
|
|
284
|
-
transform: (callback: (input: import("@opencode-ai/plugin/effect/skill").SkillDraft) => void) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
285
|
-
};
|
|
286
|
-
storage: import("@opencode-ai/plugin/effect/storage").StorageDomain;
|
|
287
|
-
shell: {
|
|
288
|
-
hook: <Name extends "create.before">(name: Name, callback: (input: import("@opencode-ai/plugin/effect/shell").ShellHooks[Name]) => Effect.Effect<void, Record<"create.before", never>[Name], never>) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
289
|
-
};
|
|
290
|
-
tool: {
|
|
291
|
-
transform: import("../state.js").Transform<Tool.Draft>;
|
|
292
|
-
reload: import("../state.js").Reload;
|
|
293
|
-
hook: <Name extends keyof import("@opencode-ai/plugin/effect/tool").ToolHooks>(name: Name, callback: (input: import("@opencode-ai/plugin/effect/tool").ToolHooks[Name]) => Effect.Effect<void, import("@opencode-ai/plugin/effect/tool").ToolFailures[Name], never>) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
294
|
-
};
|
|
295
|
-
vcs: {
|
|
296
|
-
get: () => Effect.Effect<{
|
|
297
|
-
location: Location.Info;
|
|
298
|
-
data: Vcs.Info;
|
|
299
|
-
}, never, never>;
|
|
300
|
-
base: () => Effect.Effect<{
|
|
301
|
-
location: Location.Info;
|
|
302
|
-
data: Vcs.Base | null;
|
|
303
|
-
}, Vcs.DiffError, never>;
|
|
304
|
-
branches: (input: import("@opencode-ai/client/effect/api").VcsBranchesInput | undefined) => Effect.Effect<{
|
|
305
|
-
location: Location.Info;
|
|
306
|
-
data: readonly string[];
|
|
307
|
-
}, never, never>;
|
|
308
|
-
status: () => Effect.Effect<{
|
|
309
|
-
location: Location.Info;
|
|
310
|
-
data: Vcs.FileStatus[];
|
|
311
|
-
}, never, never>;
|
|
312
|
-
diff: (input: import("@opencode-ai/client/effect/api").VcsDiffInput) => Effect.Effect<{
|
|
313
|
-
location: Location.Info;
|
|
314
|
-
data: import("@opencode-ai/schema/file-diff").Info[];
|
|
315
|
-
}, Vcs.DiffError, never>;
|
|
316
|
-
transform: import("../state.js").Transform<import("@opencode-ai/plugin/effect/vcs").VcsDraft>;
|
|
317
|
-
reload: import("../state.js").Reload;
|
|
318
|
-
};
|
|
319
|
-
websearch: {
|
|
320
|
-
providers: () => Effect.Effect<{
|
|
321
|
-
location: Location.Info;
|
|
322
|
-
data: readonly import("@opencode-ai/schema/websearch").Provider[];
|
|
323
|
-
}, never, never>;
|
|
324
|
-
query: (input: import("@opencode-ai/client/effect/api").WebsearchQueryInput) => Effect.Effect<{
|
|
325
|
-
location: Location.Info;
|
|
326
|
-
data: import("@opencode-ai/schema/websearch").Response;
|
|
327
|
-
}, WebSearch.Error, never>;
|
|
328
|
-
reload: import("../state.js").Reload;
|
|
329
|
-
transform: (callback: (input: import("@opencode-ai/plugin/effect/websearch").WebSearchDraft) => void) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
330
|
-
};
|
|
331
|
-
session: {
|
|
332
|
-
hook: <Name extends keyof import("@opencode-ai/plugin/effect/session").SessionHooks>(name: Name, callback: (input: import("@opencode-ai/plugin/effect/session").SessionHooks[Name]) => Effect.Effect<void, Record<keyof import("@opencode-ai/plugin/effect/session").SessionHooks, never>[Name], never>, options: (import("@opencode-ai/plugin/effect/session").SessionHooks[Name] extends {
|
|
333
|
-
readonly model: unknown;
|
|
334
|
-
} ? import("@opencode-ai/plugin/effect/registration").ModelHookOptions : never) | undefined) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
335
|
-
create: (input: import("@opencode-ai/client/effect/api").SessionCreateInput | undefined) => Effect.Effect<import("@opencode-ai/schema/session").Info, import("../session.js").NotFoundError, never>;
|
|
336
|
-
get: (input: import("@opencode-ai/client/effect/api").SessionGetInput) => Effect.Effect<import("@opencode-ai/schema/session").Info, import("../session.js").NotFoundError, never>;
|
|
337
|
-
switchAgent: (input: {
|
|
338
|
-
sessionID: import("@opencode-ai/schema/session").ID;
|
|
339
|
-
agent: import("@opencode-ai/schema/agent").ID;
|
|
340
|
-
}) => Effect.Effect<void, import("../session.js").NotFoundError>;
|
|
341
|
-
switchModel: (input: {
|
|
342
|
-
sessionID: import("@opencode-ai/schema/session").ID;
|
|
343
|
-
model: import("@opencode-ai/schema/model").Ref;
|
|
344
|
-
}) => Effect.Effect<void, import("../session.js").NotFoundError>;
|
|
345
|
-
prompt: (input: Parameters<import("../session/session.js").Handle["prompt"]>[0] & {
|
|
346
|
-
sessionID: import("@opencode-ai/schema/session").ID;
|
|
347
|
-
}) => ReturnType<import("../session/session.js").Handle["prompt"]>;
|
|
348
|
-
generate: (input: import("@opencode-ai/client/effect/api").SessionGenerateInput) => Effect.Effect<{
|
|
349
|
-
text: string;
|
|
350
|
-
}, import("../session.js").NotFoundError | import("../session/generate.js").Error, never>;
|
|
351
|
-
command: (input: {
|
|
352
|
-
sessionID: import("@opencode-ai/schema/session").ID;
|
|
353
|
-
command: string;
|
|
354
|
-
text: string;
|
|
355
|
-
files?: import("@opencode-ai/schema/prompt-input").Prompt["files"];
|
|
356
|
-
agents?: import("@opencode-ai/schema/prompt-input").Prompt["agents"];
|
|
357
|
-
skills?: import("@opencode-ai/schema/prompt-input").Prompt["skills"];
|
|
358
|
-
delivery?: import("@opencode-ai/schema/session-inbox").Delivery;
|
|
359
|
-
}) => Effect.Effect<void, import("../session.js").NotFoundError | Command.NotFoundError | Command.ExecutionError>;
|
|
360
|
-
rename: (input: {
|
|
361
|
-
sessionID: import("@opencode-ai/schema/session").ID;
|
|
362
|
-
title: string;
|
|
363
|
-
}) => Effect.Effect<void, import("../session.js").NotFoundError>;
|
|
364
|
-
move: (input: {
|
|
365
|
-
sessionID: import("@opencode-ai/schema/session").ID;
|
|
366
|
-
directory: AbsolutePath;
|
|
367
|
-
workspaceID?: Location.Ref["workspaceID"];
|
|
368
|
-
delivery?: import("@opencode-ai/schema/session-inbox").Delivery;
|
|
369
|
-
}) => Effect.Effect<void, import("../session.js").NotFoundError | import("../session.js").DestinationNotFoundError | import("../session.js").DestinationNotDirectoryError | import("../session.js").DestinationUnavailableError>;
|
|
370
|
-
synthetic: (input: Parameters<import("../session/session.js").Handle["synthetic"]>[0] & {
|
|
371
|
-
sessionID: import("@opencode-ai/schema/session").ID;
|
|
372
|
-
}) => ReturnType<import("../session/session.js").Handle["synthetic"]>;
|
|
373
|
-
interrupt: (input: import("@opencode-ai/client/effect/api").SessionInterruptInput) => Effect.Effect<{
|
|
374
|
-
interrupted: boolean;
|
|
375
|
-
}, never, never>;
|
|
376
|
-
wait: (input: import("@opencode-ai/client/effect/api").SessionWaitInput) => Effect.Effect<void, import("../session.js").NotFoundError, never>;
|
|
377
|
-
context: (input: import("@opencode-ai/client/effect/api").SessionContextInput) => Effect.Effect<import("@opencode-ai/schema/session-message").Info[], import("../session.js").NotFoundError | import("../session.js").MessageDecodeError, never>;
|
|
378
|
-
};
|
|
379
|
-
}, never, Bus.Service | Location.Service | KV.Service | AISDK.Service | Integration.Service | Catalog.Service | Command.Service | Mcp.Service | Generate.Service | PluginHooks.Service | Permission.Service | Agent.Service | Tool.Service | Reference.Service | Skill.Service | PluginRuntime.Service | WebSearch.Service | Rpc.Service | Vcs.Service>;
|
|
26
|
+
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
27
|
+
export declare const make: (plugin: Pick<Interface, "list">, pluginID?: string | undefined) => Effect.Effect<Plugin.Context, never, Bus.Service | Location.Service | Agent.Service | AISDK.Service | Integration.Service | Catalog.Service | Command.Service | KV.Service | Generate.Service | PersistentPty.Service | LocationServiceMap.Service | Reference.Service | Rpc.Service | WebSearch.Service | PluginHooks.Service | Mcp.Service | Permission.Service | Session.Service | Skill.Service | Tool.Service | Vcs.Service>;
|
|
28
|
+
export declare const requirements: LayerNode.Graph<Bus.Service | Location.Service | Agent.Service | AISDK.Service | Integration.Service | Catalog.Service | Command.Service | KV.Service | Generate.Service | PersistentPty.Service | LocationServiceMap.Service | Reference.Service | Rpc.Service | WebSearch.Service | PluginHooks.Service | Mcp.Service | Permission.Service | Session.Service | Skill.Service | Tool.Service | Vcs.Service, PersistentPty.UnavailableError, LayerNode.Tag<"global"> | LayerNode.Tag<"location">>;
|
|
380
29
|
export declare function storage(kv: KV.Interface, pluginID: string): Plugin.Context["storage"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as InstancePlugins from "./instance.js";
|
|
2
2
|
import type { Plugin } from "@opencode-ai/plugin/effect/plugin";
|
|
3
3
|
import { Context, Layer } from "effect";
|
|
4
|
-
import type {
|
|
4
|
+
import type { Generation } from "../plugin.js";
|
|
5
5
|
/**
|
|
6
6
|
* Holds the plugins one instance is born with. Unlike the host-global
|
|
7
7
|
* `SdkPlugins` store, this list is a birth argument of a single instance:
|
|
@@ -10,18 +10,15 @@ import type { Versioned } from "../plugin.js";
|
|
|
10
10
|
* for the instance's lifetime; runtime dynamism lives inside plugins through
|
|
11
11
|
* the container transform/reload APIs.
|
|
12
12
|
*
|
|
13
|
-
*
|
|
14
|
-
* `
|
|
15
|
-
* the instance exists — unlike `SdkPlugins`, whose declarations it consumes
|
|
16
|
-
* directly), and config plugin operations may disable instance plugins by id,
|
|
17
|
-
* matching `SdkPlugins` behavior.
|
|
13
|
+
* Config plugin operations may disable instance plugins by id, matching
|
|
14
|
+
* `SdkPlugins` behavior.
|
|
18
15
|
*/
|
|
19
16
|
export type List = readonly Plugin[];
|
|
20
17
|
export interface Interface {
|
|
21
|
-
readonly all: () => readonly
|
|
18
|
+
readonly all: () => readonly Generation[];
|
|
22
19
|
}
|
|
23
20
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/InstancePlugins", Interface>;
|
|
24
21
|
export declare class Service extends Service_base {
|
|
25
22
|
}
|
|
26
|
-
export declare const node: import("@opencode-ai/util/effect/layer-node").
|
|
23
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
|
27
24
|
export declare function bound(plugins: List): Layer.Layer<Service, never, never>;
|
|
@@ -9,7 +9,6 @@ import { Catalog } from "../catalog.js";
|
|
|
9
9
|
import { Command } from "../command.js";
|
|
10
10
|
import { Config } from "../config.js";
|
|
11
11
|
import { Credential } from "../credential.js";
|
|
12
|
-
import { ConfigPluginSource } from "../config/plugin/source.js";
|
|
13
12
|
import { Bus } from "../bus.js";
|
|
14
13
|
import { Environment } from "../environment/index.js";
|
|
15
14
|
import { FileMutation } from "../file-mutation.js";
|
|
@@ -22,6 +21,7 @@ import { Global } from "@opencode-ai/util/global";
|
|
|
22
21
|
import { Image } from "../image.js";
|
|
23
22
|
import { InstructionDiscovery } from "../instruction-discovery.js";
|
|
24
23
|
import { Integration } from "../integration.js";
|
|
24
|
+
import { Job } from "../job.js";
|
|
25
25
|
import { KV } from "../kv.js";
|
|
26
26
|
import { Location } from "../location.js";
|
|
27
27
|
import { LocationMutation } from "../location-mutation.js";
|
|
@@ -32,6 +32,7 @@ import { Permission } from "../permission.js";
|
|
|
32
32
|
import { Reference } from "../reference.js";
|
|
33
33
|
import { WebSearch } from "../websearch.js";
|
|
34
34
|
import { Ripgrep } from "../ripgrep.js";
|
|
35
|
+
import { Session } from "../session.js";
|
|
35
36
|
import { SessionCompaction } from "../session/compaction.js";
|
|
36
37
|
import { SessionInstructions } from "../session/instructions.js";
|
|
37
38
|
import { Shell } from "../shell.js";
|
|
@@ -44,13 +45,11 @@ import { ReadToolFileSystem } from "../tool/read-filesystem.js";
|
|
|
44
45
|
import { Tool } from "../tool.js";
|
|
45
46
|
import { ToolOutput } from "../tool-output.js";
|
|
46
47
|
import { WellKnown } from "../wellknown.js";
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
export type Requirements = ContextServices<Effect.Success<ReturnType<typeof services>>>;
|
|
51
|
-
export declare const requirements: LayerNode.Node<Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Npm.Service | Credential.Service | Bus.Service | Location.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | ConfigPluginSource.Service | Form.Service | Integration.Service | Catalog.Service | Command.Service | Environment.Service | Mcp.Service | FileMutation.Service | Formatter.Service | Ripgrep.Service | FileSystem.Service | Image.Service | Permission.Service | Agent.Service | LocationMutation.Service | SessionInstructions.Service | ReadToolFileSystem.Service | ShellSelect.Service | InstructionDiscovery.Service | Tool.Service | Reference.Service | Skill.Service | ModelsDev.Service | PluginRuntime.Service | Shell.Service | WebSearch.Service | LocationWatcherPolicy.Service | SessionCompaction.Service | Snapshot.Service | SkillDiscovery.Service | ToolOutput.Service, never, LayerNode.Tag<"global"> | LayerNode.Tag<"location">>;
|
|
48
|
+
declare const services: readonly [typeof Agent.Service, typeof AppProcess.Service, typeof Catalog.Service, typeof Command.Service, typeof Config.Service, typeof Credential.Service, typeof Bus.Service, typeof Environment.Service, typeof FileMutation.Service, typeof Formatter.Service, typeof LocationWatcherPolicy.Service, typeof FileSystem.Service, typeof FSUtil.Service, typeof Global.Service, Context.Service<HttpClient.HttpClient, HttpClient.HttpClient>, typeof Image.Service, typeof InstructionDiscovery.Service, typeof Integration.Service, typeof Job.Service, typeof KV.Service, typeof Location.Service, typeof LocationMutation.Service, typeof ModelsDev.Service, typeof Mcp.Service, typeof Npm.Service, typeof Permission.Service, typeof Form.Service, typeof ReadToolFileSystem.Service, typeof Reference.Service, typeof WebSearch.Service, typeof Ripgrep.Service, typeof Session.Service, typeof SessionCompaction.Service, typeof SessionInstructions.Service, typeof Shell.Service, typeof ShellSelect.Service, typeof Snapshot.Service, typeof Skill.Service, typeof SkillDiscovery.Service, typeof Tool.Service, typeof ToolOutput.Service, typeof Watcher.Service, typeof WellKnown.Service];
|
|
49
|
+
export type Requirements = Context.Service.Identifier<(typeof services)[number]>;
|
|
50
|
+
export declare const requirements: LayerNode.Graph<Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Bus.Service | Location.Service | Agent.Service | Npm.Service | Credential.Service | Form.Service | Integration.Service | Catalog.Service | Command.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | Environment.Service | FileMutation.Service | Ripgrep.Service | FileSystem.Service | Formatter.Service | Image.Service | ShellSelect.Service | Reference.Service | WebSearch.Service | Mcp.Service | ModelsDev.Service | LocationMutation.Service | Permission.Service | ReadToolFileSystem.Service | SessionInstructions.Service | Session.Service | Job.Service | Shell.Service | Skill.Service | LocationWatcherPolicy.Service | InstructionDiscovery.Service | SessionCompaction.Service | Snapshot.Service | SkillDiscovery.Service | Tool.Service | ToolOutput.Service, never, LayerNode.Tag<"global"> | LayerNode.Tag<"location">>;
|
|
52
51
|
export type InternalPlugin = Plugin<Requirements | Scope.Scope>;
|
|
53
52
|
export declare const list: () => Effect.Effect<{
|
|
54
53
|
pre: Plugin<Scope.Scope>[];
|
|
55
54
|
post: Plugin<Scope.Scope>[];
|
|
56
|
-
}, never,
|
|
55
|
+
}, never, Requirements>;
|
|
@@ -1,24 +1,39 @@
|
|
|
1
1
|
export * as PluginModule from "./module.js";
|
|
2
2
|
import { Npm } from "@opencode-ai/util/npm";
|
|
3
3
|
import { Effect, Schema } from "effect";
|
|
4
|
+
declare const LoadError_base: Schema.Class<LoadError, Schema.TaggedStruct<"PluginModule.LoadError", {
|
|
5
|
+
readonly message: Schema.String;
|
|
6
|
+
readonly cause: Schema.optional<Schema.Defect>;
|
|
7
|
+
}>, import("effect/Cause").YieldableError>;
|
|
8
|
+
export declare class LoadError extends LoadError_base {
|
|
9
|
+
}
|
|
4
10
|
export declare const load: (operation: {
|
|
5
11
|
readonly type: "add";
|
|
6
12
|
readonly target: string;
|
|
7
13
|
readonly options: Record<string, unknown>;
|
|
8
14
|
readonly mtime?: number;
|
|
9
|
-
}
|
|
15
|
+
}, options?: {
|
|
16
|
+
readonly install?: boolean;
|
|
17
|
+
} | undefined) => Effect.Effect<{
|
|
18
|
+
pending: true;
|
|
19
|
+
id?: undefined;
|
|
20
|
+
features?: undefined;
|
|
21
|
+
revision?: undefined;
|
|
22
|
+
source?: undefined;
|
|
23
|
+
effect?: undefined;
|
|
24
|
+
} | {
|
|
10
25
|
id: string;
|
|
11
26
|
features: {};
|
|
12
|
-
|
|
13
|
-
version: string;
|
|
27
|
+
revision: string;
|
|
14
28
|
source: {
|
|
15
29
|
type: "local";
|
|
16
30
|
path: string;
|
|
17
|
-
package?: undefined;
|
|
18
31
|
} | {
|
|
32
|
+
version?: string | undefined;
|
|
19
33
|
type: "package";
|
|
20
|
-
|
|
34
|
+
target: string;
|
|
21
35
|
path?: undefined;
|
|
22
36
|
};
|
|
23
37
|
effect: (host: import("@opencode-ai/plugin/effect/plugin").Context) => Effect.Effect<void, never, import("effect/Scope").Scope>;
|
|
24
|
-
|
|
38
|
+
pending?: undefined;
|
|
39
|
+
}, import("@opencode-ai/util/effect-flock").EffectFlock.LockError | Npm.InstallFailedError | LoadError, Npm.Service>;
|
|
@@ -2,7 +2,7 @@ export * as SdkPlugins from "./sdk.js";
|
|
|
2
2
|
import type { Plugin } from "@opencode-ai/plugin/effect/plugin";
|
|
3
3
|
import { Context, Effect, Layer } from "effect";
|
|
4
4
|
import { Bus } from "../bus.js";
|
|
5
|
-
import type {
|
|
5
|
+
import type { Generation } from "../plugin.js";
|
|
6
6
|
export declare const Updated: import("effect/Schema").Struct<{
|
|
7
7
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Event.ID"> & {
|
|
8
8
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -38,9 +38,8 @@ export declare const Updated: import("effect/Schema").Struct<{
|
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
40
|
* Holds the plugins an embedder (the `@opencode-ai/sdk` host) contributes,
|
|
41
|
-
* so
|
|
42
|
-
* generation path
|
|
43
|
-
* config. Registration publishes an unlocated update so every booted Location
|
|
41
|
+
* so the application loader can add them on every Location boot through its
|
|
42
|
+
* ordinary generation path. Registration publishes an unlocated update so every booted Location
|
|
44
43
|
* reloads its plugin generation from the shared store.
|
|
45
44
|
*
|
|
46
45
|
* Each host-global layer owns one private store. Location graphs reuse that
|
|
@@ -49,10 +48,10 @@ export declare const Updated: import("effect/Schema").Struct<{
|
|
|
49
48
|
*/
|
|
50
49
|
export interface Interface {
|
|
51
50
|
readonly register: (plugin: Plugin) => Effect.Effect<void>;
|
|
52
|
-
readonly all: () => readonly
|
|
51
|
+
readonly all: () => readonly Generation[];
|
|
53
52
|
}
|
|
54
53
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/SdkPlugins", Interface>;
|
|
55
54
|
export declare class Service extends Service_base {
|
|
56
55
|
}
|
|
57
56
|
export declare const layer: Layer.Layer<Service, never, Bus.Service>;
|
|
58
|
-
export declare const node: import("@opencode-ai/util/effect/layer-node").
|
|
57
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as SkillPlugin from "./skill.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Config } from "../config.js";
|
|
3
3
|
export declare const OpencodeContent: string;
|
|
4
4
|
export declare const ReportContent: string;
|
|
5
5
|
export declare const OpencodeDescription = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
6
|
-
export declare const Plugin: import("@opencode-ai/plugin/effect/plugin").Plugin<import("effect/Scope").Scope |
|
|
6
|
+
export declare const Plugin: import("@opencode-ai/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | Config.Service>;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
export * as PluginSupervisor from "./supervisor.js";
|
|
2
|
-
export { Service, type Interface } from "./supervisor-service.js";
|
|
3
2
|
import { Layer } from "effect";
|
|
4
3
|
import { ConfigPluginSource } from "../config/plugin/source.js";
|
|
5
|
-
import { Bus } from "../bus.js";
|
|
6
|
-
import { Npm } from "@opencode-ai/util/npm";
|
|
7
4
|
import { Plugin } from "../plugin.js";
|
|
8
5
|
import { InstancePlugins } from "./instance.js";
|
|
6
|
+
import { PluginInternal } from "./internal.js";
|
|
9
7
|
import { SdkPlugins } from "./sdk.js";
|
|
10
|
-
import {
|
|
11
|
-
export declare const layer: Layer.Layer<
|
|
12
|
-
export declare const node: import("@opencode-ai/util/effect/layer-node").
|
|
8
|
+
import { PluginUpdate } from "./update.js";
|
|
9
|
+
export declare const layer: Layer.Layer<never, never, Plugin.Service | InstancePlugins.Service | SdkPlugins.Service | ConfigPluginSource.Service | PluginUpdate.Service | PluginInternal.Requirements>;
|
|
10
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<never, import("../persistent-pty/index.js").UnavailableError, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export * as PluginUpdate from "./update.js";
|
|
2
|
+
import { Context, Effect, Stream } from "effect";
|
|
3
|
+
import { Npm } from "@opencode-ai/util/npm";
|
|
4
|
+
import { EffectFlock } from "@opencode-ai/util/effect-flock";
|
|
5
|
+
interface Change {
|
|
6
|
+
readonly target: string;
|
|
7
|
+
readonly outdated: boolean;
|
|
8
|
+
readonly updating: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface Interface {
|
|
11
|
+
readonly check: (target: string, options?: {
|
|
12
|
+
readonly refresh?: boolean;
|
|
13
|
+
}) => Effect.Effect<boolean>;
|
|
14
|
+
readonly update: (target: string) => Effect.Effect<void, Npm.InstallFailedError | EffectFlock.LockError>;
|
|
15
|
+
readonly changes: () => Stream.Stream<Change>;
|
|
16
|
+
}
|
|
17
|
+
declare const Service_base: Context.ServiceClass<Service, "@opencode/PluginUpdate", Interface>;
|
|
18
|
+
export declare class Service extends Service_base {
|
|
19
|
+
}
|
|
20
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
|