@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,19 +1,19 @@
|
|
|
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
|
-
|
|
9
|
-
} from "./location-services-
|
|
6
|
+
Key3,
|
|
7
|
+
Service63,
|
|
8
|
+
node67
|
|
9
|
+
} from "./location-services-y8nep4sr.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
12
|
} from "./location-services-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./location-services-
|
|
16
|
+
} from "./location-services-n4wjpn8n.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
19
|
} from "./location-services-9rqn6x4v.js";
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event11,
|
|
34
|
+
ID: () => ID7,
|
|
35
|
+
Info: () => Info20,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
|
-
Ref: () =>
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
41
|
+
Ref: () => Ref2,
|
|
42
|
+
Service: () => Service61,
|
|
43
|
+
node: () => node65
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event11 } from "@opencode/schema/integration";
|
|
65
|
+
var ID7 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info20 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -85,16 +85,16 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
85
85
|
cause: Schema.Defect()
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Ref2 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service61 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
97
|
-
const bus = yield*
|
|
95
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service63;
|
|
97
|
+
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
100
100
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info20.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
271
271
|
const persistence = yield* createCredential({
|
|
272
272
|
integrationID: attempt.integrationID,
|
|
273
273
|
label: attempt.label,
|
|
274
|
-
value:
|
|
274
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
275
275
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
276
276
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
277
277
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service61.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
438
438
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
439
439
|
if (connection.type === "env") {
|
|
440
440
|
const key = process.env[connection.name];
|
|
441
|
-
return key ?
|
|
441
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
442
442
|
}
|
|
443
443
|
const credential = yield* credentials.get(connection.id);
|
|
444
444
|
if (!credential)
|
|
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
471
471
|
yield* createCredential({
|
|
472
472
|
integrationID: input.integrationID,
|
|
473
473
|
label: input.label,
|
|
474
|
-
value:
|
|
474
|
+
value: Key3.make({
|
|
475
475
|
type: "key",
|
|
476
476
|
key: input.key,
|
|
477
477
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node65 = makeLocationNode({
|
|
569
|
+
service: Service61,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node67, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID7, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info20, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service61, node65, exports_integration, Event11 };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
RelativePath2
|
|
3
3
|
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./location-services-
|
|
5
|
+
Service73,
|
|
6
|
+
node78
|
|
7
|
+
} from "./location-services-e4zvp2f4.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./location-services-
|
|
9
|
+
Service39,
|
|
10
|
+
node42
|
|
11
|
+
} from "./location-services-ycaafw61.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
@@ -21,12 +21,12 @@ import {
|
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options3,
|
|
25
|
+
Service: () => Service38,
|
|
26
|
+
configured: () => configured3,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer16,
|
|
29
|
+
node: () => node41,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service38 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service38, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service73;
|
|
63
|
+
const ripgrep = yield* Service39;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service38.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service38, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service73;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service38.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service38.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer16 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service73;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured3(options) {
|
|
186
|
+
return makeLocationNode({ service: Service38, layer: layer16(options), deps: [node78, node42] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node41 = configured3();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options3, Service38, ripgrepLayer2, fffLayer2, layer16, configured3, node41, exports_search };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./location-services-
|
|
2
|
+
Service73
|
|
3
|
+
} from "./location-services-e4zvp2f4.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./location-services-tazgh4e4.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./location-services-
|
|
16
|
+
} from "./location-services-at5nfy9r.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
19
|
} from "./location-services-9rqn6x4v.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin2,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin2 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service73;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin2, exports_hg };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID16 = Session.ID;
|
|
5
|
+
var Info29 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID16, Info29, SessionSchema2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./location-services-
|
|
5
|
+
} from "./location-services-s3fqj7fn.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./location-services-
|
|
8
|
+
} from "./location-services-2acm1nys.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
11
|
} from "./location-services-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent = {};
|
|
15
|
+
__export(exports_agent, {
|
|
16
|
+
AgentPlugin: () => exports_agent,
|
|
17
|
+
Plugin: () => Plugin9
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin9 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin44 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID15.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID15.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin44 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID15.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID15.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID15.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin44 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin9, exports_agent };
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
fromPromise2
|
|
3
3
|
} from "./location-services-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./location-services-
|
|
5
|
+
Service48
|
|
6
|
+
} from "./location-services-85fsg3cm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./location-services-9rqn6x4v.js";
|
|
@@ -13,7 +13,7 @@ var exports_module = {};
|
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make4
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make4 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service48;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make4, LoadError2, exports_module };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./location-services-
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-services-j81s0rnf.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
7
|
} from "./location-services-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./location-services-
|
|
10
|
+
} from "./location-services-2acm1nys.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
13
|
} from "./location-services-9rqn6x4v.js";
|
|
@@ -17,16 +17,16 @@ var exports_skill5 = {};
|
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event15,
|
|
21
|
+
ID: () => ID12,
|
|
22
|
+
Info: () => Info25,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service67,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node72,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event15 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info25 = Skill.Info;
|
|
43
|
+
var ID12 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service67 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service79;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID12.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID12.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID12.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID12.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service67.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node72 = makeLocationNode({
|
|
112
|
+
service: Service67,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info25, ID12, Name2, available2, toModelOutput3, prepare3, Service67, node72, exports_skill5, Event15 };
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service58,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node62
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service58 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service58.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node62 = makeLocationNode({ service: Service58, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service58, node62, exports_image2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./location-services-
|
|
3
|
+
} from "./location-services-55bzypr0.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./location-services-
|
|
6
|
+
Service63
|
|
7
|
+
} from "./location-services-y8nep4sr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID7,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./location-services-
|
|
11
|
+
} from "./location-services-v0qc9apc.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./location-services-
|
|
13
|
+
ID11
|
|
14
|
+
} from "./location-services-jtp7wgq3.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID11.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID7.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service63;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID7.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|