@opencode/core 0.0.0-dev-19715 → 0.0.0-dev-19716
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{model-resolver-j3bqg59g.js → location-03vb6nv0.js} +14 -14
- package/dist/chunks/{model-resolver-s4se5etm.js → location-04rxcna7.js} +13 -13
- package/dist/chunks/{model-resolver-2wnfz5wx.js → location-07agr24d.js} +4 -4
- package/dist/chunks/{model-resolver-qgekj8ca.js → location-0e2d0my9.js} +41 -41
- package/dist/chunks/{model-resolver-hkfg6fzm.js → location-0f9afca0.js} +5 -5
- package/dist/chunks/{model-resolver-z9g8xfyx.js → location-0hts9xpv.js} +49 -49
- package/dist/chunks/location-0mesazry.js +4 -0
- package/dist/chunks/{model-resolver-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-fpbvkm1j.js → location-0v5xzxqh.js} +11 -11
- package/dist/chunks/{model-resolver-5e78k31r.js → location-10aqkgyz.js} +40 -40
- package/dist/chunks/{model-resolver-tvf48a4m.js → location-15krg189.js} +7 -7
- package/dist/chunks/{model-resolver-v2cxq5df.js → location-16515e26.js} +4 -4
- package/dist/chunks/{model-resolver-cmq7pf5c.js → location-16w9ders.js} +18 -18
- package/dist/chunks/{model-resolver-d109n3v6.js → location-17mnmpxr.js} +31 -31
- package/dist/chunks/{model-resolver-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-5zj12wam.js → location-1g4swf33.js} +8 -8
- package/dist/chunks/{model-resolver-ryr25ayn.js → location-1g7epwpd.js} +7 -7
- package/dist/chunks/{model-resolver-4x4qpr1k.js → location-1p5sngkf.js} +22 -22
- package/dist/chunks/{model-resolver-65rp8168.js → location-1zmmndd6.js} +10 -10
- package/dist/chunks/{model-resolver-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-rhpdx0qt.js → location-29069r0y.js} +8 -8
- package/dist/chunks/{model-resolver-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-x2zthxjy.js → location-2av5k0ex.js} +13 -13
- package/dist/chunks/{model-resolver-3h3ebsbh.js → location-2f31fhhr.js} +3 -3
- package/dist/chunks/{model-resolver-600jpw1a.js → location-2jyc838z.js} +42 -42
- package/dist/chunks/{model-resolver-0jwsre1p.js → location-2k8khapm.js} +5 -5
- package/dist/chunks/{model-resolver-ma7aqx0g.js → location-2rjsj06d.js} +32 -32
- package/dist/chunks/{model-resolver-t2az9yje.js → location-2vs2nh1n.js} +4 -4
- package/dist/chunks/{model-resolver-v5922aq3.js → location-2zpv682r.js} +9 -9
- package/dist/chunks/{model-resolver-h47manga.js → location-341nwn3y.js} +11 -11
- package/dist/chunks/{model-resolver-jrqpj1rz.js → location-36nh78em.js} +9 -9
- package/dist/chunks/{model-resolver-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-6yr1acw8.js → location-3tx7s8ws.js} +18 -18
- package/dist/chunks/{model-resolver-ak0zzeb3.js → location-40h225zc.js} +8 -8
- package/dist/chunks/{model-resolver-y7n7x5e2.js → location-446f22m8.js} +25 -25
- package/dist/chunks/{model-resolver-p4y0yfrh.js → location-47dwvvdh.js} +4 -4
- package/dist/chunks/{model-resolver-kv88q56w.js → location-49yfp6qw.js} +6 -6
- package/dist/chunks/{model-resolver-xxn18gh4.js → location-4cme8wqz.js} +11 -11
- package/dist/chunks/{model-resolver-renjvscw.js → location-4mxy4x30.js} +29 -29
- package/dist/chunks/{model-resolver-4j06sfkj.js → location-4tcynec1.js} +15 -15
- package/dist/chunks/{model-resolver-a3t5n920.js → location-4y6aj75k.js} +5 -5
- package/dist/chunks/{model-resolver-510m7gjw.js → location-510m7gjw.js} +2 -2
- package/dist/chunks/{model-resolver-56gdpj1q.js → location-56gdpj1q.js} +2 -2
- package/dist/chunks/{model-resolver-57ez7d0k.js → location-57ez7d0k.js} +2 -2
- package/dist/chunks/{model-resolver-mfhfdr54.js → location-5c0f1prt.js} +4 -4
- package/dist/chunks/{model-resolver-a1bz86dw.js → location-5c4hm403.js} +3 -3
- package/dist/chunks/{model-resolver-2e7snx76.js → location-5d3r82j4.js} +13 -13
- package/dist/chunks/{model-resolver-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-vq049g7e.js → location-5sdpey35.js} +6 -6
- package/dist/chunks/{model-resolver-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-6vb019bv.js → location-66hnwthb.js} +18 -18
- package/dist/chunks/{model-resolver-ch5kqfnt.js → location-66xnrqgf.js} +15 -15
- package/dist/chunks/{model-resolver-qcn7s4dm.js → location-67yf8xyg.js} +13 -13
- package/dist/chunks/{model-resolver-xfa6k0ew.js → location-6bjvpy3z.js} +32 -32
- package/dist/chunks/{model-resolver-4g9kkqcn.js → location-6c52q5tt.js} +30 -30
- package/dist/chunks/{model-resolver-0msmke65.js → location-6dcjsk18.js} +10 -10
- package/dist/chunks/{model-resolver-80yczg4x.js → location-6gqfwrv9.js} +23 -23
- package/dist/chunks/{model-resolver-2402vzrj.js → location-6h73sxmp.js} +5 -5
- package/dist/chunks/{model-resolver-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-zrwc20gf.js → location-6my6xgtn.js} +21 -21
- package/dist/chunks/{model-resolver-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-vf5b43e0.js → location-7jje38px.js} +86 -86
- package/dist/chunks/{model-resolver-9y0wa7jp.js → location-7md7yvmw.js} +25 -25
- package/dist/chunks/{model-resolver-9c540yp5.js → location-7njqjn6e.js} +37 -37
- package/dist/chunks/{model-resolver-ggn5tyje.js → location-7np6y5v9.js} +12 -12
- package/dist/chunks/{model-resolver-thjxzeng.js → location-7s451enq.js} +8 -8
- package/dist/chunks/{model-resolver-qr39vjzw.js → location-7tzqssjy.js} +7 -7
- package/dist/chunks/{model-resolver-0z8vjex2.js → location-7w3s9kd0.js} +7 -7
- package/dist/chunks/{model-resolver-7xrtp4yq.js → location-7w60vn1f.js} +46 -46
- package/dist/chunks/{model-resolver-fy3y9pe0.js → location-80rhzvyv.js} +32 -32
- package/dist/chunks/{model-resolver-tvtfxz4g.js → location-8753ede7.js} +8 -8
- package/dist/chunks/{model-resolver-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-pqx0ybs2.js → location-8ggx16vj.js} +3 -3
- package/dist/chunks/{model-resolver-3dwbpzm6.js → location-8gmdrp80.js} +2 -2
- package/dist/chunks/{model-resolver-14e3p8es.js → location-8h1wbkf2.js} +9 -9
- package/dist/chunks/{model-resolver-jcbyds1h.js → location-8qaxm4pj.js} +9 -9
- package/dist/chunks/{model-resolver-as67bepm.js → location-8r7r9fdq.js} +4 -4
- package/dist/chunks/{model-resolver-3n5a2veh.js → location-8rp7g9cy.js} +41 -41
- package/dist/chunks/{model-resolver-j3ev6qnf.js → location-8sgh5qkz.js} +1 -1
- package/dist/chunks/{model-resolver-6cehp1nk.js → location-945gedbd.js} +22 -22
- package/dist/chunks/{model-resolver-96ngbw1f.js → location-96vnqt3j.js} +8 -8
- package/dist/chunks/{model-resolver-03ya27h5.js → location-99jmq6zc.js} +24 -24
- package/dist/chunks/{model-resolver-yxc7efnj.js → location-9da2ad09.js} +23 -23
- package/dist/chunks/{model-resolver-encgc94b.js → location-9f4em37r.js} +11 -11
- package/dist/chunks/{model-resolver-19sa2dm4.js → location-9fmj559e.js} +18 -18
- package/dist/chunks/{model-resolver-q7p04bx4.js → location-9rrewzca.js} +9 -9
- package/dist/chunks/{model-resolver-x8xgg3h0.js → location-9ttjsn7w.js} +34 -34
- package/dist/chunks/{model-resolver-h9h1j1mz.js → location-9w8twnxw.js} +12 -12
- package/dist/chunks/{model-resolver-j699j8bt.js → location-a3r4dcrj.js} +2 -2
- package/dist/chunks/{model-resolver-kz3etvb1.js → location-a4fef9kt.js} +15 -15
- package/dist/chunks/{model-resolver-g190xswt.js → location-a8bn8zg0.js} +4 -4
- package/dist/chunks/{model-resolver-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-k9axbpjs.js → location-acetg5m5.js} +30 -30
- package/dist/chunks/{model-resolver-n9e4wkb0.js → location-aeghxbft.js} +9 -9
- package/dist/chunks/{model-resolver-edw5f9yb.js → location-af5hkrde.js} +4 -4
- package/dist/chunks/{model-resolver-2jkesbth.js → location-agz7cdrt.js} +5 -5
- package/dist/chunks/{model-resolver-fqhbsnr5.js → location-ahd542yp.js} +8 -8
- package/dist/chunks/{model-resolver-163dsem0.js → location-ak8tfqh0.js} +23 -23
- package/dist/chunks/{model-resolver-5mrjc4yb.js → location-aqb83mxp.js} +28 -28
- package/dist/chunks/{model-resolver-37nypx1t.js → location-aqjkr82e.js} +9 -9
- package/dist/chunks/{model-resolver-95py5vr5.js → location-ar8f19jx.js} +4 -4
- package/dist/chunks/{model-resolver-5h812224.js → location-ar97txna.js} +26 -26
- package/dist/chunks/{model-resolver-d5czr6p1.js → location-ayc4235b.js} +4 -4
- package/dist/chunks/{model-resolver-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-g5r1tnmz.js → location-bq5cns8k.js} +26 -26
- package/dist/chunks/{model-resolver-ceetf7sw.js → location-bqszwq89.js} +6 -6
- package/dist/chunks/{model-resolver-vzxxg8zg.js → location-c35r68nx.js} +23 -23
- package/dist/chunks/{model-resolver-st5e36a0.js → location-c6mftpmm.js} +12 -12
- package/dist/chunks/{model-resolver-8rtyjtxr.js → location-c7cfwd58.js} +21 -21
- package/dist/chunks/{model-resolver-mjnf20yt.js → location-cachp1nz.js} +37 -37
- package/dist/chunks/{model-resolver-xrsny83m.js → location-ceayma22.js} +8 -8
- package/dist/chunks/{model-resolver-fmf6pfgv.js → location-cg60qzy9.js} +6 -6
- package/dist/chunks/{model-resolver-tew83jr1.js → location-cj7xm2yn.js} +47 -47
- package/dist/chunks/{model-resolver-r53vwz5c.js → location-ckzk2jkt.js} +14 -14
- package/dist/chunks/{model-resolver-rn0a0t8a.js → location-cxrs0jvz.js} +17 -17
- package/dist/chunks/{model-resolver-phstrbs2.js → location-czfptnv9.js} +8 -8
- package/dist/chunks/{model-resolver-mkssaqtm.js → location-d5hmfdq1.js} +29 -29
- package/dist/chunks/{model-resolver-k4kd387c.js → location-dbhy9y10.js} +11 -11
- package/dist/chunks/{model-resolver-30n129z3.js → location-dbk0wazz.js} +17 -17
- package/dist/chunks/{model-resolver-dwq6ryhm.js → location-dh75pk8w.js} +5 -5
- package/dist/chunks/{model-resolver-8p4f9s12.js → location-dj2t23y0.js} +2 -2
- package/dist/chunks/{model-resolver-y71avatq.js → location-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-resolver-aaxq2vfe.js → location-e6t6afcf.js} +21 -21
- package/dist/chunks/{model-resolver-bjn91642.js → location-ec8389mk.js} +4 -4
- package/dist/chunks/{model-resolver-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-q936sf20.js → location-etrrypk7.js} +29 -29
- package/dist/chunks/{model-resolver-yp2x3t23.js → location-f2n192rq.js} +4 -4
- package/dist/chunks/{model-resolver-cq37gk0t.js → location-fab8hzt3.js} +4 -4
- package/dist/chunks/{model-resolver-r0cdk6bg.js → location-fppj5by2.js} +22 -22
- package/dist/chunks/{model-resolver-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-55xz6a4b.js → location-g43kd5zb.js} +9 -9
- package/dist/chunks/{model-resolver-j95y1bft.js → location-g8kqh204.js} +15 -15
- package/dist/chunks/{model-resolver-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-5vb0pc45.js → location-gfxbkdwe.js} +31 -31
- package/dist/chunks/{model-resolver-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-03ej3xf2.js → location-gw1r2wcq.js} +7 -7
- package/dist/chunks/{model-resolver-h03wrkyp.js → location-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-resolver-4dgbcxzg.js → location-h6r3nrb9.js} +4 -4
- package/dist/chunks/{model-resolver-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-f828m53h.js → location-hdnk95c8.js} +2 -2
- package/dist/chunks/{model-resolver-ry53p5f5.js → location-hedyh7s6.js} +36 -36
- package/dist/chunks/{model-resolver-b9zfys3q.js → location-hhanhgqp.js} +47 -47
- package/dist/chunks/{model-resolver-vxjtd25a.js → location-hjrr39kg.js} +21 -21
- package/dist/chunks/{model-resolver-ncfs2mqg.js → location-j0d9e70d.js} +12 -12
- package/dist/chunks/{model-resolver-3b1q5j1v.js → location-j15mfg1p.js} +6 -6
- package/dist/chunks/{model-resolver-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-pk2244jm.js → location-jexxy024.js} +3 -3
- package/dist/chunks/{model-resolver-jppvw2tx.js → location-jppvw2tx.js} +2 -2
- package/dist/chunks/{model-resolver-0vva8vqn.js → location-jr53dr5m.js} +29 -29
- package/dist/chunks/location-jt1k8a7s.js +478 -0
- package/dist/chunks/{model-resolver-8z4mzydb.js → location-jtq6z7z2.js} +5 -5
- package/dist/chunks/{model-resolver-pnja8679.js → location-jz02bzhy.js} +32 -32
- package/dist/chunks/{model-resolver-4sqf757v.js → location-k05f6hb9.js} +8 -8
- package/dist/chunks/{model-resolver-sttvgref.js → location-kkdjd7sx.js} +32 -32
- package/dist/chunks/{model-resolver-6d7rtenb.js → location-kqgc0d2k.js} +14 -14
- package/dist/chunks/{model-resolver-j46cxss4.js → location-kszj9asf.js} +1 -1
- package/dist/chunks/{model-resolver-49ngy6nw.js → location-kyxg2szg.js} +13 -13
- package/dist/chunks/{model-resolver-cfpkc3c9.js → location-m0jqrx5p.js} +2 -2
- package/dist/chunks/{model-resolver-jp55f8a2.js → location-m14n58wx.js} +3 -3
- package/dist/chunks/{model-resolver-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-y396q54h.js → location-mhafq4c6.js} +22 -22
- package/dist/chunks/{model-resolver-yt385gn2.js → location-mp468g0n.js} +24 -24
- package/dist/chunks/{model-resolver-gr1f03ws.js → location-mqw5201m.js} +9 -9
- package/dist/chunks/{model-resolver-fn6s2bpw.js → location-msvegwct.js} +11 -11
- package/dist/chunks/{model-resolver-1bbkgx8g.js → location-mvfsc1pv.js} +3 -3
- package/dist/chunks/{model-resolver-s4tv09cy.js → location-mxwfqr9b.js} +78 -78
- package/dist/chunks/{model-resolver-vb4gjqtk.js → location-ndde06na.js} +13 -13
- package/dist/chunks/{model-resolver-brp8zeym.js → location-nge3vtdb.js} +6 -6
- package/dist/chunks/{model-resolver-fx9zhezm.js → location-nkrk1h0r.js} +9 -9
- package/dist/chunks/{model-resolver-mgwx0cg1.js → location-nneghs7t.js} +18 -18
- package/dist/chunks/{model-resolver-yjtbktzn.js → location-nyj9qeg3.js} +27 -27
- package/dist/chunks/{model-resolver-nzks3jc8.js → location-nzks3jc8.js} +3 -3
- package/dist/chunks/{model-resolver-7m2r0vgy.js → location-p17j87wz.js} +29 -29
- package/dist/chunks/location-phz3h32g.js +18 -0
- package/dist/chunks/{model-resolver-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-mksbb8nz.js → location-pktg7h7y.js} +18 -18
- package/dist/chunks/{model-resolver-4x0p6wc7.js → location-py190zb7.js} +16 -16
- package/dist/chunks/{model-resolver-vgd6my2m.js → location-py6bk7z7.js} +24 -24
- package/dist/chunks/{model-resolver-bqapkkwx.js → location-q8ba8d8n.js} +36 -36
- package/dist/chunks/{model-resolver-4k5cy1h1.js → location-qab2nw4t.js} +12 -12
- package/dist/chunks/{model-resolver-53b56yzz.js → location-qffcmhtj.js} +6 -6
- package/dist/chunks/{model-resolver-efc3y9qy.js → location-qfjfqh5t.js} +28 -28
- package/dist/chunks/{model-resolver-qqeeq2t9.js → location-qqeeq2t9.js} +1 -1
- package/dist/chunks/{model-resolver-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-c765mh8b.js → location-r2m716tb.js} +5 -5
- package/dist/chunks/{model-resolver-1627k7qg.js → location-r4m2h3v6.js} +29 -29
- package/dist/chunks/{model-resolver-jnjv4swr.js → location-r92fhvpg.js} +157 -157
- package/dist/chunks/{model-resolver-a3ftg8j6.js → location-r9w3djhf.js} +9 -9
- package/dist/chunks/{model-resolver-pjjzqhjh.js → location-r9yepgex.js} +27 -27
- package/dist/chunks/{model-resolver-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-rhjbct0v.js → location-rhjbct0v.js} +1 -1
- package/dist/chunks/{model-resolver-7h4d0hsa.js → location-rmm87f9n.js} +7 -7
- package/dist/chunks/{model-resolver-13q063b0.js → location-rn79xn25.js} +7 -7
- package/dist/chunks/location-rnc8y5xx.js +252 -0
- package/dist/chunks/{model-resolver-m717gk7q.js → location-s245t2v6.js} +5 -5
- package/dist/chunks/{model-resolver-g757ar9v.js → location-s2vmkekr.js} +5 -5
- package/dist/chunks/{model-resolver-2hdn0xd5.js → location-sb9bn2e6.js} +18 -18
- package/dist/chunks/{model-resolver-shhj53tb.js → location-sdehcrsb.js} +9 -9
- package/dist/chunks/{model-resolver-jbryrjhm.js → location-smdb1w7c.js} +8 -8
- package/dist/chunks/{model-resolver-e5k77c54.js → location-smdjk38f.js} +14 -14
- package/dist/chunks/{model-resolver-r345bmqf.js → location-ssvs6b7e.js} +11 -11
- package/dist/chunks/{model-resolver-tjnzpwm8.js → location-szmqx304.js} +15 -15
- package/dist/chunks/{model-resolver-0zcechvz.js → location-t81q7vse.js} +23 -23
- package/dist/chunks/{model-resolver-sx1n432n.js → location-t9zs3egg.js} +4 -4
- package/dist/chunks/{model-resolver-ndccpjjz.js → location-taadejx1.js} +17 -17
- package/dist/chunks/{model-resolver-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-pa484fme.js → location-tbfk151j.js} +7 -7
- package/dist/chunks/{model-resolver-tbmac1c7.js → location-tbmac1c7.js} +1 -1
- package/dist/chunks/{model-resolver-89znhe33.js → location-tcezcvh9.js} +4 -4
- package/dist/chunks/{model-resolver-r5pvgzgj.js → location-tcjrbdf6.js} +24 -24
- package/dist/chunks/{model-resolver-vacv9019.js → location-td4xbn75.js} +6 -6
- package/dist/chunks/{model-resolver-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-j2w7j3x5.js → location-tgcb6fx0.js} +13 -13
- package/dist/chunks/{model-resolver-wfcjyhbd.js → location-tnrwzpwm.js} +44 -44
- package/dist/chunks/{model-resolver-3hcrnb3w.js → location-tnztkhzv.js} +5 -5
- package/dist/chunks/{model-resolver-98mrngdw.js → location-tq8nnr3c.js} +34 -34
- package/dist/chunks/{model-resolver-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-evbgk2k8.js → location-tz2bjj40.js} +5 -5
- package/dist/chunks/{model-resolver-paj7g8d0.js → location-v1ddstbj.js} +7 -7
- package/dist/chunks/{model-resolver-fz4jpxex.js → location-v5wmmv50.js} +16 -16
- package/dist/chunks/{model-resolver-jharhjnw.js → location-v787tjtf.js} +28 -28
- package/dist/chunks/{model-resolver-tzfanr63.js → location-vdjm6brp.js} +22 -22
- package/dist/chunks/{model-resolver-sh9h5wwb.js → location-vedx8cwj.js} +20 -20
- package/dist/chunks/{model-resolver-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-cdm0dq9n.js → location-vqfzq50h.js} +6 -6
- package/dist/chunks/location-vtb1hg3s.js +26 -0
- package/dist/chunks/{model-resolver-pq7ecckh.js → location-vv5a2hcq.js} +36 -36
- package/dist/chunks/{model-resolver-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-t8f302nt.js → location-w3424jcz.js} +4 -4
- package/dist/chunks/{model-resolver-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-8trbt2et.js → location-w4cxarg0.js} +23 -23
- package/dist/chunks/{model-resolver-6r4v01x8.js → location-w4d6fy0p.js} +45 -45
- package/dist/chunks/{model-resolver-z8nvkxrw.js → location-w7r1czy6.js} +3 -3
- package/dist/chunks/{model-resolver-018rch66.js → location-w9daxb4n.js} +61 -61
- package/dist/chunks/{model-resolver-ncrmpxjj.js → location-wasd3021.js} +9 -9
- package/dist/chunks/{model-resolver-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-2g4qtz8w.js → location-wjtkehg3.js} +96 -96
- package/dist/chunks/{model-resolver-jk24q48k.js → location-wk6w68nx.js} +9 -9
- package/dist/chunks/{model-resolver-7y8bq3bf.js → location-wn5vrjrm.js} +3 -3
- package/dist/chunks/{model-resolver-6c46qrvz.js → location-wxfpnx53.js} +18 -18
- package/dist/chunks/{model-resolver-hjp5nr78.js → location-x0qhwc4r.js} +30 -30
- package/dist/chunks/{model-resolver-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-bcft8wmc.js → location-x1frxw2k.js} +9 -9
- package/dist/chunks/{model-resolver-82cncyfr.js → location-x7rm4bm5.js} +36 -36
- package/dist/chunks/{model-resolver-d2yvgesw.js → location-xbhkafsn.js} +8 -8
- package/dist/chunks/{model-resolver-m485abxa.js → location-xgaytrrd.js} +21 -21
- package/dist/chunks/{model-resolver-fhs97t90.js → location-xk747vep.js} +8 -8
- package/dist/chunks/{model-resolver-ttypvbs3.js → location-xtc376qs.js} +5 -5
- package/dist/chunks/{model-resolver-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-9d58krhf.js → location-y5hz63qk.js} +18 -18
- package/dist/chunks/{model-resolver-p4pkk9xt.js → location-y6r52svf.js} +13 -13
- package/dist/chunks/{model-resolver-8n65eehz.js → location-y7mhrj1b.js} +12 -12
- package/dist/chunks/{model-resolver-818pfwc9.js → location-y7x142mt.js} +8 -8
- package/dist/chunks/{model-resolver-r629fsmj.js → location-y9q9tkrd.js} +52 -52
- package/dist/chunks/{model-resolver-3f15rfkp.js → location-ybhbtxjg.js} +6 -6
- package/dist/chunks/{model-resolver-fwrss4ad.js → location-ykv3t8te.js} +4 -4
- package/dist/chunks/{model-resolver-bynfxm7n.js → location-yng26616.js} +5 -5
- package/dist/chunks/{model-resolver-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-7m2q8372.js → location-yrzwczvk.js} +13 -13
- package/dist/chunks/{model-resolver-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-rve0xcj6.js → location-z1mphqcv.js} +4 -4
- package/dist/chunks/{model-resolver-1krsbgzh.js → location-z5tqk6g1.js} +10 -10
- package/dist/chunks/{model-resolver-z63w68vq.js → location-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-gypa8pv9.js → location-z7h5xcrq.js} +3 -3
- package/dist/chunks/{model-resolver-dx0v4jym.js → location-z82a5ak4.js} +11 -11
- package/dist/chunks/{model-resolver-c808kqea.js → location-zbf3s7c4.js} +35 -35
- package/dist/chunks/{model-resolver-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-fch79rh9.js → location-zhq6vg7a.js} +1 -1
- package/dist/chunks/{model-resolver-ghrzdqqx.js → location-zk8c4w5t.js} +5 -5
- package/dist/chunks/{model-resolver-zqx8wcya.js → location-zqx8wcya.js} +2 -2
- package/dist/chunks/{model-resolver-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +105 -105
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +79 -79
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +93 -93
- package/dist/model.js +101 -101
- package/dist/models-dev.js +102 -102
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +122 -122
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/model-resolver-12rmxn42.js +0 -26
- package/dist/chunks/model-resolver-4v7qdvcn.js +0 -18
- package/dist/chunks/model-resolver-fq8e80gj.js +0 -478
- package/dist/chunks/model-resolver-kpe9p76v.js +0 -252
- package/dist/chunks/model-resolver-xrsqh21y.js +0 -4
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -4,29 +4,29 @@ import {
|
|
|
4
4
|
empty3,
|
|
5
5
|
make20,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-rhjbct0v.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-y9q9tkrd.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service33,
|
|
13
|
+
node36
|
|
14
|
+
} from "./location-0hts9xpv.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
17
|
name14
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-bq5cns8k.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
McpInstructions: () =>
|
|
27
|
-
Service: () =>
|
|
24
|
+
var exports_instructions5 = {};
|
|
25
|
+
__export(exports_instructions5, {
|
|
26
|
+
McpInstructions: () => exports_instructions5,
|
|
27
|
+
Service: () => Service31,
|
|
28
28
|
layer: () => layer12,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node34
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,11 +62,11 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service31 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var layer12 = Layer.effect(
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service33;
|
|
69
|
+
return Service31.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
@@ -100,6 +100,6 @@ var layer12 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node34 = makeLocationNode({ service: Service31, layer: layer12, deps: [node36] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service31, layer12, node34, exports_instructions5 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-h6r3nrb9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./location-v5wmmv50.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./location-9ttjsn7w.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-vedx8cwj.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service75
|
|
20
|
+
} from "./location-d5hmfdq1.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./location-zbf3s7c4.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./location-945gedbd.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-ssvs6b7e.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -157,8 +157,8 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
161
|
-
const bus = yield*
|
|
160
|
+
const providers = yield* Service75;
|
|
161
|
+
const bus = yield* Service81;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
164
164
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
|
-
try: () =>
|
|
178
|
+
try: () => load3(url, {
|
|
179
179
|
...provider?.headers,
|
|
180
180
|
Authorization: `Bearer ${credential.refresh}`,
|
|
181
181
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID13.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
201
201
|
evt.add({
|
|
202
202
|
info: item.provider,
|
|
203
|
-
models: Array.from(
|
|
203
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
204
204
|
sourceConnection: loaded.connection
|
|
205
205
|
});
|
|
206
206
|
return;
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID13.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID13.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID13.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID13.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service79
|
|
13
|
+
} from "./location-ckzk2jkt.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-c35r68nx.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin34,
|
|
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 Plugin34 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service79;
|
|
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 { Plugin34, exports_hg };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service79
|
|
8
|
+
} from "./location-ckzk2jkt.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service73
|
|
11
|
+
} from "./location-mp468g0n.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./location-sb9bn2e6.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service72,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-ndde06na.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service62
|
|
22
|
+
} from "./location-y9q9tkrd.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service17,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-pktg7h7y.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin21,
|
|
42
|
+
name: () => name2,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name2 = "patch";
|
|
89
|
+
var Input2 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin21 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service73;
|
|
112
|
+
const access = yield* Service17;
|
|
113
|
+
const fileMutation = yield* Service72;
|
|
114
|
+
const formatter = yield* Service15;
|
|
115
|
+
const location = yield* Service79;
|
|
116
|
+
const permission = yield* Service62;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin4 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name2, Input2, Applied2, Output2, toModelContent2, Plugin21, exports_patch };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service47
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-10aqkgyz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service33
|
|
6
|
+
} from "./location-0hts9xpv.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin17,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin17 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
@@ -25,7 +25,7 @@ var Plugin21 = define({
|
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
27
|
const config = yield* Service47;
|
|
28
|
-
const mcp = yield*
|
|
28
|
+
const mcp = yield* Service33;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin17, register2, exports_mcp };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
Service60,
|
|
6
6
|
node63
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-hedyh7s6.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service59,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer23,
|
|
20
|
+
node: () => node62
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,15 +27,15 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service59 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer23 = Layer.effect(Service59, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
40
|
const resolver = yield* Service60;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
@@ -47,28 +47,28 @@ var layer8 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
47
47
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
48
48
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
49
49
|
], (error) => {
|
|
50
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
50
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
51
51
|
return Effect.fail(mapped);
|
|
52
52
|
}));
|
|
53
53
|
if (!resolved)
|
|
54
54
|
return yield* new ModelSelectionError2({
|
|
55
55
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
56
56
|
});
|
|
57
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
57
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
58
58
|
message: error.message,
|
|
59
59
|
service: resolved.ref.providerID
|
|
60
60
|
})));
|
|
61
61
|
return response.text;
|
|
62
62
|
});
|
|
63
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
63
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service59.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
68
|
+
var node62 = makeLocationNode({
|
|
69
|
+
service: Service59,
|
|
70
|
+
layer: layer23,
|
|
71
71
|
deps: [node63, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError3, Service59, layer23, node62, exports_generate2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service9,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
13
|
node: () => node10
|
|
14
14
|
});
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service9 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service9.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var node10 = makeGlobalNode({ service:
|
|
153
|
+
var node10 = makeGlobalNode({ service: Service9, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service9, node10, exports_discovery };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-y9q9tkrd.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin45
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin45 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin45, exports_plan };
|