@opencode/core 0.0.0-dev-19336 → 0.0.0-dev-19338
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/agent.js +59 -59
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +51 -51
- package/dist/catalog.js +60 -60
- package/dist/chunks/{location-services-1dfhrqqs.js → location-services-0hpxrkyb.js} +3 -3
- package/dist/chunks/{location-services-bmwmmh03.js → location-services-0wd6em3j.js} +7 -7
- package/dist/chunks/{location-services-5thce3ah.js → location-services-0zj4cm3y.js} +26 -26
- package/dist/chunks/{location-services-a5y8eyny.js → location-services-11m7nw5e.js} +22 -22
- package/dist/chunks/{location-services-vvv3thrh.js → location-services-15v2jbpx.js} +11 -11
- package/dist/chunks/{location-services-3xh3zrfj.js → location-services-162h2cbr.js} +10 -10
- package/dist/chunks/{location-services-3znngwgn.js → location-services-16td4x31.js} +7 -7
- package/dist/chunks/{location-services-n0ps73j4.js → location-services-1mapar6n.js} +11 -11
- package/dist/chunks/{location-services-1c4qjgv9.js → location-services-1qdk8c0g.js} +1 -1
- package/dist/chunks/{location-services-56gdpj1q.js → location-services-1ygqh575.js} +7 -7
- package/dist/chunks/{location-services-kqd2wwpf.js → location-services-24sbpj7j.js} +3 -3
- package/dist/chunks/{location-services-d9hczm2r.js → location-services-27j8ahm1.js} +17 -17
- package/dist/chunks/{location-services-dx15qm69.js → location-services-28fzndev.js} +19 -19
- package/dist/chunks/{location-services-d20tfxtv.js → location-services-28pzpvq0.js} +8 -8
- package/dist/chunks/{location-services-hmtdza7e.js → location-services-2acm1nys.js} +50 -50
- package/dist/chunks/{location-services-x95pbp60.js → location-services-2m4pqqb5.js} +27 -27
- package/dist/chunks/{location-services-egdp0v7k.js → location-services-2m8nxcnz.js} +3 -3
- package/dist/chunks/{location-services-k50vc20r.js → location-services-2wdxjxp6.js} +5 -5
- package/dist/chunks/{location-services-dt6arx9z.js → location-services-2xwaa7cw.js} +4 -4
- package/dist/chunks/{location-services-a103fdm3.js → location-services-2z317dgv.js} +25 -25
- package/dist/chunks/{location-services-3w0fmcng.js → location-services-37s12vcn.js} +3 -3
- package/dist/chunks/{location-services-f8q7mv7a.js → location-services-380vjcmd.js} +1 -1
- package/dist/chunks/{location-services-skw6ndhb.js → location-services-38acbevk.js} +35 -35
- package/dist/chunks/{location-services-dhambjr8.js → location-services-3wy413zp.js} +21 -21
- package/dist/chunks/{location-services-g764418v.js → location-services-3xwj35jq.js} +1 -1
- package/dist/chunks/{location-services-7sqxeqwy.js → location-services-3ythc6yv.js} +3 -3
- package/dist/chunks/{location-services-fgh0kbhd.js → location-services-4b6bntqd.js} +1 -1
- package/dist/chunks/{location-services-t2bav4cb.js → location-services-4gp2y10s.js} +6 -6
- package/dist/chunks/{location-services-g35h8zvz.js → location-services-4k845csn.js} +19 -19
- package/dist/chunks/{location-services-1x11rq2a.js → location-services-4v7qdvcn.js} +4 -4
- package/dist/chunks/{location-services-7amtd6bp.js → location-services-4zsc87zk.js} +11 -11
- package/dist/chunks/{location-services-0r7yqxbf.js → location-services-510m7gjw.js} +3 -3
- package/dist/chunks/{location-services-dcfrmvyb.js → location-services-51t4ys7s.js} +22 -22
- package/dist/chunks/{location-services-f32vetax.js → location-services-55bzypr0.js} +10 -10
- package/dist/chunks/{location-services-5ap78ss6.js → location-services-5bfzavyb.js} +39 -39
- package/dist/chunks/{location-services-4ycxm7c6.js → location-services-5bzad00n.js} +15 -15
- package/dist/chunks/{location-services-0387ntk2.js → location-services-5dcgz3aq.js} +12 -12
- package/dist/chunks/{location-services-6wwkxy3b.js → location-services-5etegeke.js} +1 -1
- package/dist/chunks/{location-services-j8b7ra2y.js → location-services-5fs5z9r9.js} +168 -168
- package/dist/chunks/{location-services-31zm1s50.js → location-services-5kh2vy3t.js} +32 -32
- package/dist/chunks/{location-services-a4j6dykb.js → location-services-5vm6jgpp.js} +10 -10
- package/dist/chunks/{location-services-fbrz957q.js → location-services-6320hmrj.js} +16 -16
- package/dist/chunks/location-services-6753kygg.js +22 -0
- package/dist/chunks/{location-services-6qtdhq9p.js → location-services-6c1jg7x4.js} +27 -27
- package/dist/chunks/{location-services-r33ff4dw.js → location-services-6ersrjne.js} +3 -3
- package/dist/chunks/{location-services-erd68jx8.js → location-services-6fjmxycd.js} +22 -22
- package/dist/chunks/{location-services-w8v69kqr.js → location-services-6sj05tzn.js} +6 -6
- package/dist/chunks/{location-services-h0r85tvv.js → location-services-6y3njc5p.js} +10 -10
- package/dist/chunks/{location-services-nw0bqh17.js → location-services-6z6w9rms.js} +9 -9
- package/dist/chunks/{location-services-3mmc2xt1.js → location-services-6zkt8sc0.js} +9 -9
- package/dist/chunks/{location-services-mvfsc1pv.js → location-services-73tb2d7t.js} +2 -2
- package/dist/chunks/{location-services-aj8kkpvr.js → location-services-78hqr335.js} +4 -4
- package/dist/chunks/{location-services-12behdsj.js → location-services-7f4cfqjs.js} +10 -10
- package/dist/chunks/{location-services-eeaf82dq.js → location-services-7j2qha59.js} +7 -7
- package/dist/chunks/{location-services-n3ehebhz.js → location-services-7vc3mrhj.js} +8 -8
- package/dist/chunks/{location-services-fygdb7h7.js → location-services-7ybwwvvx.js} +3 -3
- package/dist/chunks/{location-services-3tey5e4w.js → location-services-7zdm33ac.js} +7 -7
- package/dist/chunks/{location-services-4ttr90xy.js → location-services-85fsg3cm.js} +19 -19
- package/dist/chunks/{location-services-nq6tkbxw.js → location-services-8k3jg3eh.js} +14 -14
- package/dist/chunks/{location-services-z7wszd63.js → location-services-8ncan3qx.js} +16 -16
- package/dist/chunks/location-services-8rfyvjw4.js +462 -0
- package/dist/chunks/{location-services-zd0y80kv.js → location-services-9jzbrzc0.js} +13 -13
- package/dist/chunks/{location-services-xvbxf676.js → location-services-9kvjnr81.js} +31 -31
- package/dist/chunks/{location-services-2q8h11r1.js → location-services-9n75fd9y.js} +4 -4
- package/dist/chunks/{location-services-yt1hy964.js → location-services-9pfdanbq.js} +18 -18
- package/dist/chunks/{location-services-hm9cthtf.js → location-services-9r2qpqkx.js} +26 -26
- package/dist/chunks/{location-services-mgn1q268.js → location-services-9z8a7pbd.js} +24 -24
- package/dist/chunks/{location-services-qa4rp7fn.js → location-services-9zswys26.js} +7 -7
- package/dist/chunks/{location-services-3g0xtcs6.js → location-services-a5abhest.js} +12 -12
- package/dist/chunks/{location-services-w0pkcsrz.js → location-services-at0srrj9.js} +16 -16
- package/dist/chunks/{location-services-8azq3xgr.js → location-services-at5nfy9r.js} +20 -20
- package/dist/chunks/{location-services-54td8zkb.js → location-services-avay8ehz.js} +4 -4
- package/dist/chunks/{location-services-k16ay38w.js → location-services-b2jx7zxs.js} +1 -1
- package/dist/chunks/{location-services-bf0ztrs3.js → location-services-bct739vz.js} +3 -3
- package/dist/chunks/{location-services-6nh5w358.js → location-services-bdetpt2n.js} +7 -7
- package/dist/chunks/{location-services-cq37gk0t.js → location-services-bha4atvq.js} +1 -1
- package/dist/chunks/{location-services-zhj44hqa.js → location-services-brzmmewp.js} +2 -2
- package/dist/chunks/{location-services-marnn1hp.js → location-services-bscb95cy.js} +6 -6
- package/dist/chunks/{location-services-s78rk26g.js → location-services-bt4gwd2t.js} +20 -20
- package/dist/chunks/{location-services-dg94tkx3.js → location-services-btas0783.js} +25 -25
- package/dist/chunks/{location-services-7tkmrrpv.js → location-services-btq6dtd4.js} +29 -29
- package/dist/chunks/{location-services-zmm5wz6q.js → location-services-cpq8mvz9.js} +33 -33
- package/dist/chunks/{location-services-0f9afca0.js → location-services-cr07tj7n.js} +3 -3
- package/dist/chunks/{location-services-9wrk0c7x.js → location-services-d5mjh5gn.js} +18 -18
- package/dist/chunks/{location-services-e6ywpf8t.js → location-services-dpwabj80.js} +4 -4
- package/dist/chunks/{location-services-9r3q67g7.js → location-services-dqm30p7h.js} +73 -73
- package/dist/chunks/{location-services-efrqks1z.js → location-services-drbyteps.js} +18 -18
- package/dist/chunks/{location-services-n65r81b4.js → location-services-dt8w12tc.js} +4 -4
- package/dist/chunks/{location-services-30qzt7jy.js → location-services-dvanp92t.js} +16 -16
- package/dist/chunks/{location-services-vfx896b4.js → location-services-dxea83ar.js} +15 -15
- package/dist/chunks/{location-services-qtmpnr27.js → location-services-dxth83mh.js} +46 -46
- package/dist/chunks/{location-services-8jywm6xd.js → location-services-dyp5k833.js} +16 -16
- package/dist/chunks/{location-services-98cmn0hr.js → location-services-dzx5qajy.js} +15 -15
- package/dist/chunks/{location-services-1s1fbqj5.js → location-services-e4zvp2f4.js} +16 -16
- package/dist/chunks/{location-services-a3vv4rs0.js → location-services-e7p6faa2.js} +6 -6
- package/dist/chunks/{location-services-rhjbct0v.js → location-services-eaj1djv9.js} +7 -7
- package/dist/chunks/{location-services-kap76w5z.js → location-services-eebkyynq.js} +21 -21
- package/dist/chunks/{location-services-akrnn5pm.js → location-services-ep6z9mt6.js} +6 -6
- package/dist/chunks/{location-services-m2m38rh4.js → location-services-eq4p078r.js} +2 -2
- package/dist/chunks/{location-services-rhd00fat.js → location-services-ex5k2c35.js} +5 -5
- package/dist/chunks/{location-services-3rz3vg39.js → location-services-f5bs5vv8.js} +50 -50
- package/dist/chunks/{location-services-4eavgkwb.js → location-services-f9yp8s8r.js} +5 -5
- package/dist/chunks/{location-services-fxf97kjq.js → location-services-fafkyc6a.js} +10 -10
- package/dist/chunks/{location-services-sktxfqvp.js → location-services-fbtcayzh.js} +5 -5
- package/dist/chunks/{location-services-v5dkyp31.js → location-services-fdv30zvt.js} +6 -6
- package/dist/chunks/{location-services-n3pz4r15.js → location-services-fk8q8cg8.js} +15 -15
- package/dist/chunks/{location-services-hqxaqnsz.js → location-services-fnhdbvfa.js} +13 -13
- package/dist/chunks/{location-services-ne17v9pc.js → location-services-g09rc90z.js} +16 -16
- package/dist/chunks/{location-services-qm7jrdpz.js → location-services-g2y161wv.js} +7 -7
- package/dist/chunks/{location-services-bcnz578n.js → location-services-g3599gw0.js} +1 -1
- package/dist/chunks/{location-services-p12hzc12.js → location-services-gacdy71v.js} +22 -22
- package/dist/chunks/{location-services-3fc6dm20.js → location-services-gdvy8fx6.js} +3 -3
- package/dist/chunks/{location-services-er56z9m3.js → location-services-h1n238ac.js} +2 -2
- package/dist/chunks/{location-services-9xx5ccgp.js → location-services-h4r1yjny.js} +29 -29
- package/dist/chunks/{location-services-jd31tk7v.js → location-services-h5e374w5.js} +20 -20
- package/dist/chunks/{location-services-h7merwq8.js → location-services-h5pwjbm9.js} +20 -20
- package/dist/chunks/{location-services-4crx14pj.js → location-services-h9zmmqvn.js} +11 -11
- package/dist/chunks/{location-services-b1t5snx6.js → location-services-hpdzznjk.js} +20 -20
- package/dist/chunks/{location-services-nakqg6cg.js → location-services-hq4ymc60.js} +18 -18
- package/dist/chunks/{location-services-pjsas99n.js → location-services-j1t1n678.js} +6 -6
- package/dist/chunks/{location-services-rbr5swsa.js → location-services-j3xb24h1.js} +17 -17
- package/dist/chunks/{location-services-q70gtfmt.js → location-services-j81s0rnf.js} +13 -13
- package/dist/chunks/{location-services-npm3wgeg.js → location-services-jh4j6rwm.js} +11 -11
- package/dist/chunks/{location-services-gkk9gzwj.js → location-services-jhz8yd6p.js} +8 -8
- package/dist/chunks/{location-services-cy9hrc59.js → location-services-jk10gy5t.js} +33 -33
- package/dist/chunks/{location-services-k33dzkhb.js → location-services-jk9qnxpz.js} +39 -39
- package/dist/chunks/{location-services-tjbdzdwh.js → location-services-jphykfrz.js} +19 -19
- package/dist/chunks/{location-services-m27pyyd3.js → location-services-jtp7wgq3.js} +7 -7
- package/dist/chunks/{location-services-34na97t4.js → location-services-jzjzmfk7.js} +4 -4
- package/dist/chunks/{location-services-9w95a7ga.js → location-services-k5rw4hnc.js} +22 -22
- package/dist/chunks/{location-services-e255sby6.js → location-services-k67g98nv.js} +26 -26
- package/dist/chunks/{location-services-rpsdx5vs.js → location-services-k8n37kmc.js} +6 -6
- package/dist/chunks/{location-services-v5w9803s.js → location-services-ka2k270b.js} +7 -7
- package/dist/chunks/{location-services-96yt6zt0.js → location-services-kcwf74x3.js} +1 -1
- package/dist/chunks/{location-services-0kghfr31.js → location-services-kf1g5n2n.js} +20 -20
- package/dist/chunks/{location-services-s0avzt1k.js → location-services-kjd67z7p.js} +25 -25
- package/dist/chunks/{location-services-cknngr8n.js → location-services-kp0txnpa.js} +5 -5
- package/dist/chunks/{location-services-gbjggf4w.js → location-services-m48bak5g.js} +37 -37
- package/dist/chunks/{location-services-xekzrwwc.js → location-services-m86bnw2c.js} +7 -7
- package/dist/chunks/{location-services-w5qh34h0.js → location-services-m9d2dprq.js} +26 -26
- package/dist/chunks/{location-services-qj8eh1ht.js → location-services-magykp64.js} +3 -3
- package/dist/chunks/{location-services-a8xcd0w8.js → location-services-mr60nntp.js} +1 -1
- package/dist/chunks/{location-services-0qk6n2y7.js → location-services-mw0hasaz.js} +28 -28
- package/dist/chunks/{location-services-0aqaye2v.js → location-services-n4wjpn8n.js} +28 -28
- package/dist/chunks/{location-services-dcg0h0ke.js → location-services-n5ftgbap.js} +32 -32
- package/dist/chunks/{location-services-ebcw7cv9.js → location-services-n5pps5m7.js} +4 -4
- package/dist/chunks/{location-services-r01t9b5y.js → location-services-ncqtmwmy.js} +7 -7
- package/dist/chunks/{location-services-m14v0kx0.js → location-services-nmts8jzf.js} +10 -10
- package/dist/chunks/{location-services-1vb9fm0n.js → location-services-ntzg9vqq.js} +30 -30
- package/dist/chunks/location-services-nzxgkcr5.js +247 -0
- package/dist/chunks/{location-services-y9gdx2th.js → location-services-pa0527fm.js} +3 -3
- package/dist/chunks/{location-services-06dxphr1.js → location-services-paegk39x.js} +3 -3
- package/dist/chunks/{location-services-rk0rec3h.js → location-services-pdqbsy2v.js} +7 -7
- package/dist/chunks/{location-services-1ktzqmb5.js → location-services-pswdd2t8.js} +13 -13
- package/dist/chunks/{location-services-ksz0h0wp.js → location-services-q1c4k7jk.js} +1 -1
- package/dist/chunks/{location-services-e7v4kvvc.js → location-services-qe24w9vn.js} +11 -11
- package/dist/chunks/{location-services-7dqw4kz8.js → location-services-qgn6gcr1.js} +4 -4
- package/dist/chunks/{location-services-p75j69a2.js → location-services-qq9z19f4.js} +17 -17
- package/dist/chunks/{location-services-kc564ayd.js → location-services-qv2bye7a.js} +7 -7
- package/dist/chunks/{location-services-ewqwwm8c.js → location-services-qx1zvxc9.js} +9 -9
- package/dist/chunks/{location-services-1v3d03cy.js → location-services-r537c3kh.js} +21 -21
- package/dist/chunks/{location-services-hewa18pm.js → location-services-r69tr7x2.js} +42 -42
- package/dist/chunks/{location-services-dtz1dq5w.js → location-services-rcxgw5yf.js} +9 -9
- package/dist/chunks/{location-services-r9babyk8.js → location-services-rstnkd3y.js} +1 -1
- package/dist/chunks/{location-services-3am5m0cf.js → location-services-s2qffcb7.js} +5 -5
- package/dist/chunks/{location-services-9tdt6gn5.js → location-services-s2yb2sz1.js} +12 -12
- package/dist/chunks/{location-services-7emx6ety.js → location-services-s3fqj7fn.js} +22 -22
- package/dist/chunks/{location-services-pnean495.js → location-services-s9vxrr1q.js} +4 -4
- package/dist/chunks/{location-services-3gt2xagq.js → location-services-sh26c022.js} +24 -24
- package/dist/chunks/{location-services-p4j0k99t.js → location-services-snjhnxkw.js} +22 -22
- package/dist/chunks/{location-services-9yks55mb.js → location-services-szvm6efx.js} +18 -18
- package/dist/chunks/{location-services-m70sbz6t.js → location-services-t2az9yje.js} +3 -3
- package/dist/chunks/{location-services-zv3e7t68.js → location-services-t2w3xr5a.js} +1 -1
- package/dist/chunks/{location-services-z69s9t6b.js → location-services-t8r3ep1g.js} +4 -4
- package/dist/chunks/{location-services-jw1smgdw.js → location-services-tc8mvhgg.js} +3 -3
- package/dist/chunks/{location-services-gjes9ycv.js → location-services-tfs8xndz.js} +84 -84
- package/dist/chunks/{location-services-4wdwamv9.js → location-services-tjzgn1x1.js} +16 -16
- package/dist/chunks/{location-services-gp27hab3.js → location-services-tmz1m10x.js} +5 -5
- package/dist/chunks/{location-services-g56x3r05.js → location-services-tr9c2tdg.js} +17 -17
- package/dist/chunks/{location-services-6t5esrgx.js → location-services-ts6t2md9.js} +14 -14
- package/dist/chunks/{location-services-wrmagx7v.js → location-services-txm7s3af.js} +53 -53
- package/dist/chunks/{location-services-tjasw5j2.js → location-services-ty4y3jpx.js} +17 -17
- package/dist/chunks/{location-services-zg809rcf.js → location-services-v055rr52.js} +24 -24
- package/dist/chunks/{location-services-z5jxp7ad.js → location-services-v0qc9apc.js} +31 -31
- package/dist/chunks/{location-services-98r3f9c4.js → location-services-v17vgq8s.js} +27 -27
- package/dist/chunks/{location-services-vgtd617j.js → location-services-v5fza2qm.js} +7 -7
- package/dist/chunks/{location-services-mf9m2v67.js → location-services-vjnb44yt.js} +3 -3
- package/dist/chunks/{location-services-81s162yb.js → location-services-vk1048p9.js} +14 -14
- package/dist/chunks/{location-services-vz505d38.js → location-services-vqa79sa2.js} +6 -6
- package/dist/chunks/{location-services-x0b2ccgt.js → location-services-vxqn53pa.js} +24 -24
- package/dist/chunks/{location-services-4j4p0yst.js → location-services-vyjzrkx0.js} +7 -7
- package/dist/chunks/{location-services-m016k5dt.js → location-services-w28m7x89.js} +11 -11
- package/dist/chunks/{location-services-n26aazvb.js → location-services-w76aks9p.js} +8 -8
- package/dist/chunks/{location-services-d50f2zf5.js → location-services-w79zsp0s.js} +1 -1
- package/dist/chunks/{location-services-d5ta482m.js → location-services-wb0heqy3.js} +3 -3
- package/dist/chunks/{location-services-hk3dp6b5.js → location-services-wfjdd711.js} +1 -1
- package/dist/chunks/{location-services-k4f6a3yg.js → location-services-wnttaxta.js} +23 -23
- package/dist/chunks/{location-services-dgj0dq1g.js → location-services-x3et2xth.js} +7 -7
- package/dist/chunks/{location-services-4pg6n0t4.js → location-services-xdj7hph9.js} +6 -6
- package/dist/chunks/{location-services-n1wtw7cf.js → location-services-xsa3sn4e.js} +36 -36
- package/dist/chunks/{location-services-n76fdqym.js → location-services-xsdh20fb.js} +5 -5
- package/dist/chunks/{location-services-wd1wk3fx.js → location-services-xxdsfsv4.js} +22 -22
- package/dist/chunks/{location-services-1at44jv2.js → location-services-y3tjje57.js} +14 -14
- package/dist/chunks/{location-services-00v0w1pn.js → location-services-y8nep4sr.js} +32 -32
- package/dist/chunks/{location-services-v6654y3b.js → location-services-ycaafw61.js} +15 -15
- package/dist/chunks/{location-services-s2jzy5b9.js → location-services-ycmd6xcg.js} +9 -9
- package/dist/chunks/{location-services-4hzm3hzr.js → location-services-yfq8zh9v.js} +60 -60
- package/dist/chunks/{location-services-p79ar1tw.js → location-services-yx9tt4ea.js} +9 -9
- package/dist/chunks/{location-services-rv7qyr27.js → location-services-z43vqr8p.js} +23 -23
- package/dist/chunks/{location-services-8f0zq1qa.js → location-services-z50tb7yx.js} +4 -4
- package/dist/chunks/{location-services-z7vx10hx.js → location-services-zdhmhzs2.js} +12 -12
- package/dist/chunks/{location-services-bv56xrks.js → location-services-zerdtc7d.js} +4 -4
- package/dist/chunks/{location-services-t3nckq9e.js → location-services-zgwwbszc.js} +16 -16
- package/dist/chunks/{location-services-hv7wfk6h.js → location-services-znc92hjm.js} +40 -40
- package/dist/chunks/{location-services-kp0f7k9w.js → location-services-zr33rhch.js} +1 -1
- package/dist/chunks/{location-services-wzxndrfm.js → location-services-zr7mteb2.js} +24 -24
- package/dist/chunks/{location-services-7dh69f0v.js → location-services-zw66t5ma.js} +7 -7
- package/dist/chunks/{location-services-1sfmn0at.js → location-services-zwzjy0a1.js} +18 -18
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/command.js +63 -63
- package/dist/config/discovery.js +52 -52
- package/dist/config/normalize.js +16 -16
- package/dist/config/plugin/agent.js +86 -86
- package/dist/config/plugin/command.js +168 -168
- package/dist/config/plugin/compaction.js +117 -117
- package/dist/config/plugin/formatter.js +85 -85
- package/dist/config/plugin/image.js +84 -84
- package/dist/config/plugin/instruction.js +56 -56
- package/dist/config/plugin/location-watcher.js +83 -83
- package/dist/config/plugin/mcp.js +92 -92
- package/dist/config/plugin/policy.js +82 -82
- package/dist/config/plugin/provider.js +82 -82
- package/dist/config/plugin/reference.js +86 -86
- package/dist/config/plugin/shell.js +84 -84
- package/dist/config/plugin/skill-file.js +66 -66
- package/dist/config/plugin/skill.js +100 -100
- package/dist/config/plugin/snapshot.js +84 -84
- package/dist/config/plugin/source.js +86 -86
- package/dist/config/plugin/tool-output.js +86 -86
- package/dist/config/plugin/websearch.js +82 -82
- package/dist/config/plugin/worktree.js +85 -85
- package/dist/config.js +89 -89
- package/dist/credential.js +60 -60
- package/dist/database/database.js +50 -50
- package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +7 -7
- package/dist/database/drizzle/index.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
- package/dist/database/drizzle.js +9 -9
- package/dist/database/migration.gen.js +35 -35
- package/dist/database/migration.js +36 -36
- package/dist/database/v1-migration.bun.js +12 -12
- package/dist/effect/app-node-builder.js +223 -223
- package/dist/environment/environment.js +59 -59
- package/dist/environment/index.js +61 -61
- package/dist/event-logger.js +13 -13
- package/dist/file-access.js +69 -69
- package/dist/file-mutation.js +60 -60
- package/dist/filesystem/location-watcher.js +175 -175
- package/dist/filesystem/search.js +68 -68
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +67 -67
- package/dist/form.js +64 -64
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +59 -59
- package/dist/generate.js +68 -68
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +5 -5
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance.js +297 -297
- package/dist/instruction-discovery.js +58 -58
- package/dist/instructions/builtins.js +57 -57
- package/dist/instructions/index.js +5 -5
- package/dist/integration.js +63 -63
- package/dist/job.js +57 -57
- package/dist/kv.js +51 -51
- package/dist/location-activity.js +55 -55
- package/dist/location-mutation.js +30 -30
- package/dist/location-service-map.js +56 -56
- package/dist/location-services.js +300 -300
- package/dist/location.js +59 -59
- package/dist/mcp/client.js +17 -17
- package/dist/mcp/index.js +76 -76
- package/dist/mcp/instructions.js +90 -90
- package/dist/mcp/stdio.js +56 -56
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +63 -63
- package/dist/model.js +8 -8
- package/dist/models-dev.js +64 -64
- package/dist/permission/saved.js +55 -55
- package/dist/permission.js +76 -76
- package/dist/persistent-pty/index.js +60 -60
- package/dist/persistent-pty.js +50 -50
- package/dist/plugin/agent.js +69 -69
- package/dist/plugin/command.js +67 -67
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +173 -173
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +275 -275
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +53 -53
- package/dist/plugin/module.js +4 -4
- package/dist/plugin/optimize.js +3 -3
- package/dist/plugin/plan.js +67 -67
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +86 -86
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +86 -86
- package/dist/plugin/provider/cloudflare-workers-ai.js +86 -86
- package/dist/plugin/provider/configured.js +84 -84
- package/dist/plugin/provider/digitalocean.js +55 -55
- package/dist/plugin/provider/github-copilot.js +57 -57
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +53 -53
- package/dist/plugin/provider/lmstudio.js +85 -85
- package/dist/plugin/provider/modal.js +56 -56
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +87 -87
- package/dist/plugin/provider/openai.js +56 -56
- package/dist/plugin/provider/opencode.js +56 -56
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/poe.js +52 -52
- package/dist/plugin/provider/sap-ai-core.js +2 -2
- package/dist/plugin/provider/snowflake-cortex.js +86 -86
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +87 -87
- package/dist/plugin/provider/xai.js +54 -54
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +119 -119
- package/dist/plugin/sdk.js +50 -50
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +98 -98
- package/dist/plugin/supervisor.js +290 -290
- package/dist/plugin/update.js +5 -5
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +56 -56
- package/dist/plugin/vcs/hg.js +56 -56
- package/dist/plugin/warming.js +82 -82
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +7 -7
- package/dist/plugin/websearch/mcp.js +5 -5
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +181 -181
- package/dist/project/schema.js +7 -7
- package/dist/project.js +58 -58
- package/dist/provider.js +7 -7
- package/dist/pty.js +54 -54
- package/dist/reference/instructions.js +59 -59
- package/dist/reference.js +61 -61
- package/dist/repository-cache.js +54 -54
- package/dist/ripgrep.js +63 -63
- package/dist/rpc.js +56 -56
- package/dist/session/command.js +51 -51
- package/dist/session/compaction.js +93 -93
- package/dist/session/context.js +114 -114
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +2 -2
- package/dist/session/execution/restart.js +117 -117
- package/dist/session/execution.js +90 -90
- package/dist/session/generate.js +114 -114
- package/dist/session/history.js +6 -6
- package/dist/session/inbox.js +55 -55
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +52 -52
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +64 -64
- package/dist/session/message-updater.js +3 -3
- package/dist/session/model-request.js +78 -78
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +94 -94
- package/dist/session/projector.js +56 -56
- package/dist/session/prompt.js +69 -69
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +56 -56
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +182 -182
- package/dist/session/runner/model.js +63 -63
- package/dist/session/runner/retry.js +80 -80
- package/dist/session/runner/step.js +85 -85
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +129 -129
- package/dist/session/shell.js +95 -95
- package/dist/session/skill.js +67 -67
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +58 -58
- package/dist/session/subagent-job.js +165 -165
- package/dist/session/title.js +113 -113
- package/dist/session/to-session-error.js +77 -77
- package/dist/session/transfer.js +117 -117
- package/dist/session.js +174 -174
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +5 -5
- package/dist/shell.js +99 -99
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +70 -70
- package/dist/skill.js +75 -75
- package/dist/snapshot.js +61 -61
- package/dist/tool/mcp.js +89 -89
- package/dist/tool/plugin/edit.js +82 -82
- package/dist/tool/plugin/glob.js +85 -85
- package/dist/tool/plugin/grep.js +89 -89
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +82 -82
- package/dist/tool/plugin/question.js +70 -70
- package/dist/tool/plugin/read.js +90 -90
- package/dist/tool/plugin/shell.js +171 -171
- package/dist/tool/plugin/skill.js +76 -76
- package/dist/tool/plugin/subagent.js +172 -172
- package/dist/tool/plugin/webfetch.js +75 -75
- package/dist/tool/plugin/websearch.js +77 -77
- package/dist/tool/plugin/write.js +86 -86
- package/dist/tool/read-filesystem.js +65 -65
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +9 -9
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +13 -13
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +3 -3
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/skills.js +3 -3
- package/dist/vcs.js +59 -59
- package/dist/websearch.js +60 -60
- package/dist/wellknown/plugin.js +52 -52
- package/dist/wellknown.js +55 -55
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace.js +58 -58
- package/dist/worktree/git.js +2 -2
- package/dist/worktree/refresh.js +293 -293
- package/dist/worktree.js +60 -60
- package/package.json +8 -8
- package/dist/chunks/location-services-0ckm5bhw.js +0 -22
- package/dist/chunks/location-services-cgxejw6v.js +0 -462
- package/dist/chunks/location-services-rvz3wna3.js +0 -247
- /package/dist/chunks/{location-services-gqsqt983.js → location-services-27x26mvx.js} +0 -0
- /package/dist/chunks/{location-services-wpmxaqyc.js → location-services-8y62cfgq.js} +0 -0
- /package/dist/chunks/{location-services-bcbmvgj8.js → location-services-e2dtrqwf.js} +0 -0
- /package/dist/chunks/{location-services-3tt1qkhr.js → location-services-sqbb0ctm.js} +0 -0
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./location-services-
|
|
2
|
+
Service48
|
|
3
|
+
} from "./location-services-85fsg3cm.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
6
|
} from "./location-services-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./location-services-
|
|
8
|
+
Service73
|
|
9
|
+
} from "./location-services-e4zvp2f4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./location-services-
|
|
11
|
+
Service47
|
|
12
|
+
} from "./location-services-r69tr7x2.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./location-services-
|
|
17
|
+
} from "./location-services-vxqn53pa.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./location-services-
|
|
19
|
+
Service9
|
|
20
|
+
} from "./location-services-m86bnw2c.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./location-services-
|
|
23
|
+
} from "./location-services-tc8mvhgg.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
26
|
} from "./location-services-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill3 = {};
|
|
30
|
+
__export(exports_skill3, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill3,
|
|
32
|
+
Plugin: () => Plugin38
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin38 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service47;
|
|
43
|
+
const discovery = yield* Service9;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service73;
|
|
47
|
+
const watcher = yield* Service48;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -181,4 +181,4 @@ var Plugin27 = define({
|
|
|
181
181
|
})
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Plugin38, exports_skill3 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./location-services-
|
|
2
|
+
Service68
|
|
3
|
+
} from "./location-services-2acm1nys.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
@@ -16,29 +16,29 @@ import {
|
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input9,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin24,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name9 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input9 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input4 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input9.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin24 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service68;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name9,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description5,
|
|
104
|
+
input: Input9,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin5 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name9,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name9, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input9, Plugin24, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./location-services-
|
|
2
|
+
Service79
|
|
3
|
+
} from "./location-services-j81s0rnf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./location-services-
|
|
5
|
+
Service77,
|
|
6
|
+
Event20
|
|
7
|
+
} from "./location-services-jphykfrz.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
10
|
} from "./location-services-9rqn6x4v.js";
|
|
@@ -12,16 +12,16 @@ import {
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin12,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin12 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service79;
|
|
24
|
+
const wellknown = yield* Service77;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin2 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event20.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin12, exports_plugin };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./location-services-
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-services-j81s0rnf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./location-services-
|
|
6
|
+
Service73,
|
|
7
|
+
node78
|
|
8
|
+
} from "./location-services-e4zvp2f4.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
11
|
} from "./location-services-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./location-services-
|
|
13
|
+
Service70,
|
|
14
|
+
node75
|
|
15
|
+
} from "./location-services-pswdd2t8.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
18
|
} from "./location-services-9rqn6x4v.js";
|
|
@@ -20,9 +20,9 @@ import {
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service11,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node14
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service79;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service70;
|
|
41
|
+
const location = yield* Service73;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service11.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node14 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node84, FSUtil.node, node78, node75]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service11, node14, exports_instructions };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./location-services-
|
|
2
|
+
Service79
|
|
3
|
+
} from "./location-services-j81s0rnf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./location-services-
|
|
5
|
+
Service78
|
|
6
|
+
} from "./location-services-jh4j6rwm.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
inherit2
|
|
12
12
|
} from "./location-services-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service29,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./location-services-
|
|
16
|
+
} from "./location-services-4v7qdvcn.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./location-services-
|
|
21
|
+
} from "./location-services-5fs5z9r9.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./location-services-9rqn6x4v.js";
|
|
@@ -26,23 +26,23 @@ import {
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event3,
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service29,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node17
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event3, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service79;
|
|
45
|
+
const kv = yield* Service78;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service29.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node17 = Node.makeLocationNode({
|
|
226
|
+
service: Service29,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node17, exports_plugin2, Event3, ID3, Info3, Source2, State2 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./location-services-
|
|
2
|
+
ID7,
|
|
3
|
+
Service61
|
|
4
|
+
} from "./location-services-v0qc9apc.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./location-services-
|
|
8
|
+
} from "./location-services-jtp7wgq3.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -13,7 +13,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
13
13
|
var LLMGatewayPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.llmgateway",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
16
|
-
const integrations = yield*
|
|
16
|
+
const integrations = yield* Service61;
|
|
17
17
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
18
18
|
yield* ctx.catalog.transform((evt) => {
|
|
19
19
|
for (const item of evt.provider.list()) {
|
|
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
25
25
|
continue;
|
|
26
26
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
27
27
|
continue;
|
|
28
|
-
if (!configured.has(
|
|
28
|
+
if (!configured.has(ID7.make(item.provider.id)))
|
|
29
29
|
continue;
|
|
30
30
|
evt.provider.update(item.provider.id, (provider) => {
|
|
31
31
|
provider.headers = {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./location-services-
|
|
5
|
+
} from "./location-services-jtp7wgq3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID10,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info23,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./location-services-
|
|
11
|
+
} from "./location-services-15v2jbpx.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
14
|
} from "./location-services-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
ModalModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
ModalModels: () => exports_models2,
|
|
20
|
+
get: () => get3
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID11.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
|
|
|
53
53
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
54
54
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
55
55
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
56
|
-
async function
|
|
56
|
+
async function get3(baseURL, apiKey, existing) {
|
|
57
57
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -69,8 +69,8 @@ async function get2(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID10.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info23.make({
|
|
92
|
+
...Info23.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID10.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -138,4 +138,4 @@ function variants(remote) {
|
|
|
138
138
|
return [...seen.values()];
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { get3, exports_models2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./location-services-
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./location-services-7f4cfqjs.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
@@ -18,13 +18,13 @@ var exports_bus = {};
|
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service79,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node84,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service79 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service79,
|
|
84
|
+
deps: [node85],
|
|
85
|
+
layer: Layer.effect(Service79, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -93,7 +93,7 @@ function configured12(options) {
|
|
|
93
93
|
const projectors = new Map;
|
|
94
94
|
const listeners = new Array;
|
|
95
95
|
const durableLocks = makeUnsafe2();
|
|
96
|
-
const { db } = yield*
|
|
96
|
+
const { db } = yield* Service80;
|
|
97
97
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
98
98
|
const persist = options?.persist ?? false;
|
|
99
99
|
const sessions = new Map;
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service79.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node84 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service79, configured12, node84, exports_bus };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./location-services-
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./location-services-7f4cfqjs.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
7
|
} from "./location-services-3hepkmqq.js";
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service78,
|
|
17
|
+
node: () => node83
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service78 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service80).db;
|
|
26
|
+
return Service78.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node83 = makeGlobalNode({ service: Service78, layer, deps: [node85] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service78, node83, exports_kv };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./location-services-
|
|
3
|
+
Service79,
|
|
4
|
+
node84
|
|
5
|
+
} from "./location-services-j81s0rnf.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
8
|
} from "./location-services-9rqn6x4v.js";
|
|
@@ -13,7 +13,7 @@ __export(exports_sdk, {
|
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
14
|
Service: () => Service5,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
16
|
+
layer: () => layer5,
|
|
17
17
|
node: () => node8
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
@@ -22,8 +22,8 @@ var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
|
22
22
|
|
|
23
23
|
class Service5 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer5 = Layer.effect(Service5, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service79;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
29
|
return Service5.of({
|
|
@@ -33,6 +33,6 @@ var layer6 = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var node8 = makeGlobalNode({ service: Service5, layer:
|
|
36
|
+
var node8 = makeGlobalNode({ service: Service5, layer: layer5, deps: [node84] });
|
|
37
37
|
|
|
38
|
-
export { Updated2, Service5,
|
|
38
|
+
export { Updated2, Service5, layer5, node8, exports_sdk };
|