@opencode/core 2.0.22 → 2.0.24
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{instruction-discovery-4rr4p9ms.js → repository-00e0wh3q.js} +24 -24
- package/dist/chunks/{instruction-discovery-772hnq51.js → repository-012g15cx.js} +13 -13
- package/dist/chunks/{instruction-discovery-qyc0y5ej.js → repository-042aawn8.js} +16 -16
- package/dist/chunks/{instruction-discovery-67mhc6gs.js → repository-05t95569.js} +19 -19
- package/dist/chunks/{instruction-discovery-s4r1cmp3.js → repository-067895h7.js} +20 -20
- package/dist/chunks/{instruction-discovery-rqkavtkg.js → repository-0f0pgr2e.js} +3 -3
- package/dist/chunks/{instruction-discovery-gd7r64mz.js → repository-0g25qkkf.js} +11 -11
- package/dist/chunks/{instruction-discovery-na0cega3.js → repository-0h1qn0y5.js} +10 -10
- package/dist/chunks/{instruction-discovery-q0xm7vwc.js → repository-0j77ygfz.js} +6 -6
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-5mxct2xg.js → repository-0qpq6ar5.js} +13 -13
- package/dist/chunks/{instruction-discovery-s225zym4.js → repository-0qqvk1tp.js} +17 -17
- package/dist/chunks/{instruction-discovery-0vbcp93d.js → repository-0vbcp93d.js} +2 -2
- package/dist/chunks/{instruction-discovery-1vnjqps3.js → repository-16558gs3.js} +46 -46
- package/dist/chunks/{instruction-discovery-rhraev7y.js → repository-1acjjqhc.js} +4 -4
- package/dist/chunks/{instruction-discovery-73tb2d7t.js → repository-1bbkgx8g.js} +3 -3
- package/dist/chunks/{instruction-discovery-r4akt23v.js → repository-1cw3fj19.js} +3 -3
- package/dist/chunks/{instruction-discovery-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{instruction-discovery-1dvck2a7.js → repository-1dvck2a7.js} +2 -2
- package/dist/chunks/{instruction-discovery-fqtvmpfq.js → repository-1gfgk62c.js} +8 -8
- package/dist/chunks/{instruction-discovery-qs2rp835.js → repository-1vvm3xv7.js} +11 -11
- package/dist/chunks/{instruction-discovery-wbx60fzd.js → repository-1wb0x8n3.js} +5 -5
- package/dist/chunks/{instruction-discovery-g259vpc3.js → repository-23294nz8.js} +26 -26
- package/dist/chunks/{instruction-discovery-wszd5dmy.js → repository-2455wr4j.js} +17 -16
- package/dist/chunks/{instruction-discovery-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{instruction-discovery-4ts7tf6z.js → repository-2ccvkpx1.js} +2 -2
- package/dist/chunks/{instruction-discovery-7dqw4kz8.js → repository-2k8khapm.js} +5 -5
- package/dist/chunks/{instruction-discovery-vn72gsba.js → repository-2m8jawch.js} +4 -4
- package/dist/chunks/{instruction-discovery-mqw81mrh.js → repository-2t9hnq90.js} +10 -10
- package/dist/chunks/{instruction-discovery-96c14hr5.js → repository-2texf5vf.js} +22 -22
- package/dist/chunks/{instruction-discovery-a56fhhr2.js → repository-2tyga0yy.js} +28 -60
- package/dist/chunks/{instruction-discovery-a5jrrkeg.js → repository-2wredcz9.js} +20 -20
- package/dist/chunks/{instruction-discovery-01wcheh0.js → repository-32xj3ztx.js} +62 -83
- package/dist/chunks/{instruction-discovery-wxyynt4w.js → repository-3556dn8t.js} +1 -1
- package/dist/chunks/repository-3b3navdj.js +253 -0
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-sk3qaz4a.js → repository-3t0ybcrp.js} +58 -20
- package/dist/chunks/{instruction-discovery-4tgz421y.js → repository-3t7hfzt0.js} +30 -19
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-cyk1kg6z.js → repository-3vy5pcbx.js} +33 -33
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-qxmvdacm.js → repository-4344f0hm.js} +34 -34
- package/dist/chunks/repository-45085rbj.js +26 -0
- package/dist/chunks/repository-46tr0mr7.js +126 -0
- package/dist/chunks/{instruction-discovery-rz6t0wqc.js → repository-47phkfqm.js} +47 -47
- package/dist/chunks/{instruction-discovery-0yrmzdme.js → repository-4azg6a58.js} +16 -11
- package/dist/chunks/{instruction-discovery-3z218dsj.js → repository-4c5k237e.js} +39 -44
- package/dist/chunks/{instruction-discovery-k6hcwg2z.js → repository-4cw36es0.js} +9 -9
- package/dist/chunks/{instruction-discovery-axmmtzpw.js → repository-4ege8dpt.js} +19 -19
- package/dist/chunks/{instruction-discovery-bh3q4eyg.js → repository-4y69v0zr.js} +13 -13
- package/dist/chunks/{instruction-discovery-gw7cjrad.js → repository-4z58m4b4.js} +4 -4
- package/dist/chunks/{instruction-discovery-hzktwm2m.js → repository-4z7pkycv.js} +19 -19
- package/dist/chunks/{instruction-discovery-54ma36ye.js → repository-54ma36ye.js} +1 -1
- package/dist/chunks/{instruction-discovery-hjxrfacw.js → repository-56a9smke.js} +13 -13
- package/dist/chunks/{instruction-discovery-33w4ejhs.js → repository-56gdpj1q.js} +6 -6
- package/dist/chunks/{instruction-discovery-aszn3zwx.js → repository-56gyfky0.js} +5 -5
- package/dist/chunks/{instruction-discovery-w2h15q85.js → repository-57myy5jh.js} +5 -5
- package/dist/chunks/{instruction-discovery-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/repository-5ej07zgb.js +143 -0
- package/dist/chunks/{instruction-discovery-vk0h33mx.js → repository-5k54pn5m.js} +10 -10
- package/dist/chunks/{instruction-discovery-vzcthcp8.js → repository-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-93pbq578.js → repository-5ng375bv.js} +28 -28
- package/dist/chunks/{instruction-discovery-cr59q9qa.js → repository-5pptr25h.js} +40 -25
- package/dist/chunks/{instruction-discovery-a90g57x6.js → repository-5r637m3f.js} +57 -57
- package/dist/chunks/{instruction-discovery-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{instruction-discovery-vc32h82s.js → repository-5t80mpw4.js} +18 -18
- package/dist/chunks/{instruction-discovery-nrjg26ec.js → repository-5w6ne2rj.js} +11 -11
- package/dist/chunks/{instruction-discovery-d4k4eg4n.js → repository-68ga000j.js} +47 -47
- package/dist/chunks/{instruction-discovery-62s7jehk.js → repository-6b1pjwt3.js} +5 -5
- package/dist/chunks/{instruction-discovery-hjbc5kem.js → repository-6q2bdcd1.js} +4 -1
- package/dist/chunks/{instruction-discovery-an4n7p46.js → repository-6r4hjhnf.js} +20 -21
- package/dist/chunks/{instruction-discovery-6644et9y.js → repository-6x4qebe7.js} +33 -33
- package/dist/chunks/{instruction-discovery-x1ezjp6w.js → repository-6xb47vfp.js} +4 -2
- package/dist/chunks/{instruction-discovery-71az546q.js → repository-71az546q.js} +2 -2
- package/dist/chunks/{instruction-discovery-hjryqbzv.js → repository-77apbbcp.js} +45 -45
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-87bs7bte.js → repository-7c08hygz.js} +11 -11
- package/dist/chunks/{instruction-discovery-xmh85kzb.js → repository-7d05dvcz.js} +11 -11
- package/dist/chunks/{instruction-discovery-fxvwdnb4.js → repository-7wnc14t4.js} +44 -21
- package/dist/chunks/{instruction-discovery-ysyp8d4a.js → repository-7z6z4pna.js} +21 -21
- package/dist/chunks/{instruction-discovery-84txncab.js → repository-84txncab.js} +1 -1
- package/dist/chunks/{instruction-discovery-kn7rctz9.js → repository-89za3yyg.js} +9 -9
- package/dist/chunks/{instruction-discovery-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instruction-discovery-yppg54y4.js → repository-8hjmwb77.js} +13 -13
- package/dist/chunks/{instruction-discovery-fah0stq9.js → repository-8kys6q5k.js} +9 -9
- package/dist/chunks/{instruction-discovery-m0r31qfn.js → repository-8tsdq50x.js} +4 -4
- package/dist/chunks/{instruction-discovery-hehaxqkv.js → repository-96ctqc5x.js} +4 -4
- package/dist/chunks/{instruction-discovery-5sv8fqdt.js → repository-9815d8pv.js} +45 -35
- package/dist/chunks/{instruction-discovery-9e5bzkjp.js → repository-9e5bzkjp.js} +3 -3
- package/dist/chunks/{instruction-discovery-h53acpwd.js → repository-9mhtj97w.js} +16 -16
- package/dist/chunks/{instruction-discovery-fajwdt4h.js → repository-9mxexfbd.js} +14 -14
- package/dist/chunks/{instruction-discovery-s48x4bgh.js → repository-9s1pr29s.js} +41 -41
- package/dist/chunks/{instruction-discovery-th1qq6gc.js → repository-9yaf30yb.js} +35 -35
- package/dist/chunks/{instruction-discovery-mjv4tm51.js → repository-9yxvhatz.js} +4 -4
- package/dist/chunks/{instruction-discovery-79wzcjsa.js → repository-a199weyn.js} +6 -6
- package/dist/chunks/{instruction-discovery-6hh8tjw2.js → repository-a2ew8a62.js} +4 -4
- package/dist/chunks/{instruction-discovery-arxkpe44.js → repository-a6rczh0a.js} +60 -40
- package/dist/chunks/{instruction-discovery-1ajc00mn.js → repository-a7cd87s2.js} +58 -58
- package/dist/chunks/{instruction-discovery-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{instruction-discovery-068serwz.js → repository-addxnjmp.js} +4 -4
- package/dist/chunks/{instruction-discovery-zk4rm6sg.js → repository-ajh7mqgq.js} +20 -20
- package/dist/chunks/{instruction-discovery-fqzyqcjh.js → repository-aqryd466.js} +24 -24
- package/dist/chunks/{instruction-discovery-xjbrwz9c.js → repository-b20bdvd4.js} +12 -12
- package/dist/chunks/{instruction-discovery-80t7gq44.js → repository-b3cm3psy.js} +10 -7
- package/dist/chunks/{instruction-discovery-17z9v3bw.js → repository-b5f9cqb8.js} +33 -29
- package/dist/chunks/{instruction-discovery-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{instruction-discovery-ksgw4q3t.js → repository-b751st24.js} +3 -3
- package/dist/chunks/{instruction-discovery-c8g8cdht.js → repository-bzadqhw2.js} +4 -4
- package/dist/chunks/{instruction-discovery-qj8eh1ht.js → repository-c20khjev.js} +21 -21
- package/dist/chunks/{instruction-discovery-eqkxs06z.js → repository-c8bydgjz.js} +6 -6
- package/dist/chunks/{instruction-discovery-7e0zw79e.js → repository-cb3fgacg.js} +29 -29
- package/dist/chunks/{instruction-discovery-j4q93wg3.js → repository-ce3pkz8w.js} +5 -5
- package/dist/chunks/{instruction-discovery-b4twkq7r.js → repository-cfsekr6v.js} +6 -6
- package/dist/chunks/{instruction-discovery-caxch348.js → repository-chyvjp63.js} +12 -12
- package/dist/chunks/{instruction-discovery-r01t9b5y.js → repository-cjwramev.js} +4 -4
- package/dist/chunks/{instruction-discovery-ntngab6e.js → repository-cs63tcvs.js} +20 -10
- package/dist/chunks/{instruction-discovery-cwa6csj7.js → repository-d4he2qe1.js} +9 -9
- package/dist/chunks/{instruction-discovery-hn87b5yq.js → repository-dbp4m4ge.js} +33 -33
- package/dist/chunks/{instruction-discovery-fnwnhbfk.js → repository-dfcrteyq.js} +13 -13
- package/dist/chunks/{instruction-discovery-txp0vmzz.js → repository-dp8mmgq4.js} +15 -15
- package/dist/chunks/{instruction-discovery-dpkg50ah.js → repository-dpkg50ah.js} +1 -1
- package/dist/chunks/{instruction-discovery-53eqz1v2.js → repository-drnf6xwf.js} +2 -2
- package/dist/chunks/{instruction-discovery-yydx669n.js → repository-dt6m3qwv.js} +18 -18
- package/dist/chunks/{instruction-discovery-5qd3pb7m.js → repository-e3qxr5gk.js} +2 -2
- package/dist/chunks/{instruction-discovery-xw25vat5.js → repository-ecwx0042.js} +13 -13
- package/dist/chunks/{instruction-discovery-yphk03p8.js → repository-ef2cw19s.js} +9 -9
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-ckf8nxjz.js → repository-embw8kgh.js} +4 -4
- package/dist/chunks/{instruction-discovery-38p5t189.js → repository-eqh5fpv6.js} +11 -11
- package/dist/chunks/{instruction-discovery-dn5164wf.js → repository-erq8vxjr.js} +3 -3
- package/dist/chunks/{instruction-discovery-ywxndyv1.js → repository-espax8zg.js} +4 -4
- package/dist/chunks/{instruction-discovery-75p81wsx.js → repository-etdaqrbr.js} +30 -30
- package/dist/chunks/{instruction-discovery-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{instruction-discovery-70f73jf1.js → repository-f6sbv01c.js} +47 -46
- package/dist/chunks/{instruction-discovery-6ehccv3h.js → repository-f8tnf7f1.js} +20 -25
- package/dist/chunks/{instruction-discovery-wvmj1et3.js → repository-f8xdbq78.js} +9 -9
- package/dist/chunks/{instruction-discovery-x8pk0y4v.js → repository-fj3b7143.js} +42 -42
- package/dist/chunks/{instruction-discovery-eq8x7ha8.js → repository-fy3w4x98.js} +31 -39
- package/dist/chunks/{instruction-discovery-h3rm5wyc.js → repository-fy698pgn.js} +13 -13
- package/dist/chunks/{instruction-discovery-yzzqahvy.js → repository-g34b934z.js} +22 -22
- package/dist/chunks/repository-g4nj3be3.js +507 -0
- package/dist/chunks/repository-g50bcqhp.js +43 -0
- package/dist/chunks/{instruction-discovery-g5w8qwbj.js → repository-g5w8qwbj.js} +1 -1
- package/dist/chunks/{instruction-discovery-nwb3b15q.js → repository-g69c5a8v.js} +14 -18
- package/dist/chunks/{instruction-discovery-gqawmzqm.js → repository-gc135ar8.js} +8 -8
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-76jv6ta8.js → repository-gkcjs2dn.js} +13 -13
- package/dist/chunks/{instruction-discovery-r57kss4c.js → repository-gpng080p.js} +32 -32
- package/dist/chunks/{instruction-discovery-qgr4tws1.js → repository-gry8sgkd.js} +15 -15
- package/dist/chunks/{instruction-discovery-ved7ma53.js → repository-gy4662d6.js} +9 -9
- package/dist/chunks/{instruction-discovery-b0t1fydp.js → repository-h16n41p4.js} +20 -20
- package/dist/chunks/{instruction-discovery-h2b79v29.js → repository-h2b79v29.js} +2 -2
- package/dist/chunks/{instruction-discovery-x74ax8b2.js → repository-h2yw0gk4.js} +20 -20
- package/dist/chunks/{instruction-discovery-3bss0zm1.js → repository-h4jx6m0r.js} +14 -14
- package/dist/chunks/{instruction-discovery-nxq54803.js → repository-h4p4pa57.js} +11 -11
- package/dist/chunks/{instruction-discovery-nnxtdpka.js → repository-h6c2yg5r.js} +8 -8
- package/dist/chunks/{instruction-discovery-qtkea077.js → repository-h6qw898r.js} +11 -11
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-7fx6jza6.js → repository-h6yzxz9r.js} +17 -17
- package/dist/chunks/{instruction-discovery-chamsvbn.js → repository-hdjgtqrb.js} +33 -33
- package/dist/chunks/{instruction-discovery-6wqmdryt.js → repository-hkgfm0m5.js} +24 -24
- package/dist/chunks/{instruction-discovery-vpw3bjrj.js → repository-hp7m3mgg.js} +28 -28
- package/dist/chunks/{instruction-discovery-7je2rhvj.js → repository-hw3ewgqj.js} +11 -11
- package/dist/chunks/{instruction-discovery-vj991bdt.js → repository-j2htzqze.js} +2 -2
- package/dist/chunks/{instruction-discovery-098a7yv1.js → repository-j3pg2mx4.js} +3 -3
- package/dist/chunks/{instruction-discovery-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-y56ehv6b.js → repository-j58c5xyq.js} +9 -9
- package/dist/chunks/{instruction-discovery-kgxgq8c4.js → repository-jnevnthy.js} +25 -25
- package/dist/chunks/{instruction-discovery-jqh9b0xq.js → repository-jqh9b0xq.js} +1 -1
- package/dist/chunks/{instruction-discovery-exnynncn.js → repository-k02x6tcx.js} +30 -30
- package/dist/chunks/{instruction-discovery-7fvn2yaq.js → repository-k37ga4vh.js} +13 -9
- package/dist/chunks/{instruction-discovery-srq8z0b0.js → repository-k70p9jzb.js} +9 -9
- package/dist/chunks/{instruction-discovery-b0xx1bw1.js → repository-kfj4fg87.js} +5 -5
- package/dist/chunks/{instruction-discovery-ccwzr35z.js → repository-kxam66j6.js} +13 -13
- package/dist/chunks/{instruction-discovery-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{instruction-discovery-b65pgdb7.js → repository-m44fkk4m.js} +18 -11
- package/dist/chunks/{instruction-discovery-4gksvbnk.js → repository-m993mvxq.js} +177 -177
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-768hztz0.js → repository-mfct962c.js} +28 -28
- package/dist/chunks/{instruction-discovery-qg6jkzae.js → repository-mfmqp3ds.js} +43 -43
- package/dist/chunks/{instruction-discovery-rttzrg3r.js → repository-mjqndqed.js} +12 -12
- package/dist/chunks/{instruction-discovery-jpcc9kth.js → repository-mn0942hp.js} +24 -24
- package/dist/chunks/{instruction-discovery-s0ptdndk.js → repository-mpd66srn.js} +1 -1
- package/dist/chunks/{instruction-discovery-hz0q9sdq.js → repository-mxr1v1s0.js} +8 -8
- package/dist/chunks/{instruction-discovery-93hpb89x.js → repository-my4zabxr.js} +3 -3
- package/dist/chunks/{instruction-discovery-c9qfs3nh.js → repository-nszdq9jy.js} +78 -78
- package/dist/chunks/{instruction-discovery-wwsveqr1.js → repository-ntaqe8vs.js} +21 -21
- package/dist/chunks/{instruction-discovery-gt8knnyb.js → repository-ntbz9wjc.js} +8 -8
- package/dist/chunks/{instruction-discovery-dv1qgsyq.js → repository-p42hj8p8.js} +8 -8
- package/dist/chunks/{instruction-discovery-5ch8te7e.js → repository-p5ev1zz5.js} +9 -9
- package/dist/chunks/{instruction-discovery-fwq9htr3.js → repository-pe71rtbx.js} +11 -11
- package/dist/chunks/{instruction-discovery-w9p1c293.js → repository-pg4zag0e.js} +24 -24
- package/dist/chunks/{instruction-discovery-6a5ag3jq.js → repository-pgze7171.js} +5 -5
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-1q5zb881.js → repository-pk7hbv6p.js} +24 -132
- package/dist/chunks/{instruction-discovery-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/repository-prjw6x41.js +31 -0
- package/dist/chunks/{instruction-discovery-2daza0p7.js → repository-q0cdrezg.js} +14 -14
- package/dist/chunks/{instruction-discovery-qdyk8phn.js → repository-q6vgfyay.js} +6 -6
- package/dist/chunks/{instruction-discovery-36cgxzxf.js → repository-q76xcmv9.js} +16 -16
- package/dist/chunks/{instruction-discovery-4d8yn3gb.js → repository-q7jxq9y7.js} +20 -20
- package/dist/chunks/{instruction-discovery-2yez9773.js → repository-q7ngdz78.js} +24 -24
- package/dist/chunks/{instruction-discovery-qnc92qwc.js → repository-qnc92qwc.js} +1 -1
- package/dist/chunks/{instruction-discovery-n8vdnqrc.js → repository-qne3fa44.js} +5 -5
- package/dist/chunks/{instruction-discovery-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-cc4mqy7q.js → repository-qv02qg64.js} +12 -6
- package/dist/chunks/{instruction-discovery-k3c624dm.js → repository-qxjc9qry.js} +4 -4
- package/dist/chunks/{instruction-discovery-vm2gnf4v.js → repository-qy0n8417.js} +26 -26
- package/dist/chunks/{instruction-discovery-m58kmhef.js → repository-r3c58j5g.js} +6 -9
- package/dist/chunks/{instruction-discovery-e3bkmxas.js → repository-rb8xm6cm.js} +11 -11
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-21201d4m.js → repository-rjfypheq.js} +27 -27
- package/dist/chunks/{instruction-discovery-bc819vt5.js → repository-rjsk0n41.js} +11 -11
- package/dist/chunks/{instruction-discovery-8faykdbn.js → repository-rk3ekeb4.js} +5 -5
- package/dist/chunks/{instruction-discovery-jw34hpx6.js → repository-rm4s95e7.js} +79 -79
- package/dist/chunks/{instruction-discovery-0n82x6dt.js → repository-rn938jk3.js} +39 -39
- package/dist/chunks/{instruction-discovery-geswxttb.js → repository-rpp7c75e.js} +48 -48
- package/dist/chunks/{instruction-discovery-4a973s6x.js → repository-s4075y1x.js} +5 -5
- package/dist/chunks/{instruction-discovery-42h9518d.js → repository-s8qvywtq.js} +14 -14
- package/dist/chunks/{instruction-discovery-jvy07h1s.js → repository-s8v3amej.js} +1 -1
- package/dist/chunks/{instruction-discovery-7ws0qf92.js → repository-s9nwmxxs.js} +29 -29
- package/dist/chunks/{instruction-discovery-h9zw7x04.js → repository-srhj5f56.js} +11 -11
- package/dist/chunks/{instruction-discovery-034ce5nj.js → repository-t5483b9c.js} +4 -4
- package/dist/chunks/{instruction-discovery-9t7a50xb.js → repository-t550f9t1.js} +4 -4
- package/dist/chunks/{instruction-discovery-3gc4y8jw.js → repository-t7wcnk30.js} +9 -9
- package/dist/chunks/{instruction-discovery-fagw50gs.js → repository-t7y8x8j8.js} +16 -16
- package/dist/chunks/{instruction-discovery-kgr5617j.js → repository-t8n7ymvq.js} +66 -46
- package/dist/chunks/{instruction-discovery-b1f75b2t.js → repository-tarna68p.js} +9 -9
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-8sesv03m.js → repository-tbs2jyb2.js} +7 -7
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-c5c0bz0t.js → repository-tdpndm1c.js} +5 -5
- package/dist/chunks/{instruction-discovery-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-ab44fxfx.js → repository-tg6e69q8.js} +5 -5
- package/dist/chunks/{instruction-discovery-pzxge5ds.js → repository-tgah08rb.js} +30 -30
- package/dist/chunks/{instruction-discovery-9prspse7.js → repository-tk5m56y0.js} +13 -13
- package/dist/chunks/{instruction-discovery-7wtms9gt.js → repository-tzy9a5tv.js} +30 -30
- package/dist/chunks/{instruction-discovery-adrzke39.js → repository-v0es1rhs.js} +9 -9
- package/dist/chunks/{instruction-discovery-p5pxx3ht.js → repository-ve1j3q85.js} +15 -15
- package/dist/chunks/{instruction-discovery-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-b2nc1zae.js → repository-vngdzw63.js} +19 -19
- package/dist/chunks/{instruction-discovery-0xcdhwc5.js → repository-vqkmcgyv.js} +3 -3
- package/dist/chunks/{instruction-discovery-5mmejq10.js → repository-vt8dt6j6.js} +30 -30
- package/dist/chunks/{instruction-discovery-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-609c7rjf.js → repository-w5ystqj3.js} +5 -5
- package/dist/chunks/{instruction-discovery-x5k8pkz3.js → repository-w6gqnbcy.js} +3 -3
- package/dist/chunks/{instruction-discovery-g6pt2ykv.js → repository-w7a2abxy.js} +17 -17
- package/dist/chunks/{instruction-discovery-kjcere04.js → repository-wb70vhte.js} +11 -11
- package/dist/chunks/{instruction-discovery-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-3j0eccra.js → repository-wnfszx78.js} +10 -10
- package/dist/chunks/{instruction-discovery-9vjnmhkc.js → repository-wnh11861.js} +15 -15
- package/dist/chunks/{instruction-discovery-fxt23bak.js → repository-x4k83k5f.js} +11 -11
- package/dist/chunks/{instruction-discovery-8r9kvmb6.js → repository-xhv84ab7.js} +25 -25
- package/dist/chunks/{instruction-discovery-xkntkrq7.js → repository-xkntkrq7.js} +2 -2
- package/dist/chunks/{instruction-discovery-br0fskr5.js → repository-xmy45d6e.js} +20 -20
- package/dist/chunks/{instruction-discovery-e709npfq.js → repository-xpwv3d90.js} +22 -22
- package/dist/chunks/{instruction-discovery-qnet8f1y.js → repository-xvvw76kz.js} +7 -7
- package/dist/chunks/{instruction-discovery-d737nyfv.js → repository-y16p1w2y.js} +9 -9
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-gv15az23.js → repository-y1w7bwtd.js} +22 -22
- package/dist/chunks/{instruction-discovery-4g11qfmx.js → repository-y6brtjeh.js} +46 -41
- package/dist/chunks/repository-y6mhs71q.js +72 -0
- package/dist/chunks/{instruction-discovery-90gx0j5y.js → repository-ydszhw6d.js} +27 -27
- package/dist/chunks/{instruction-discovery-gb65a7a1.js → repository-yf33k1p3.js} +24 -24
- package/dist/chunks/{instruction-discovery-g2b38xbr.js → repository-yfe405ny.js} +13 -13
- package/dist/chunks/{instruction-discovery-e2jmw6zx.js → repository-yn96zvvk.js} +11 -11
- package/dist/chunks/{instruction-discovery-t9r88hzk.js → repository-yprc5htm.js} +24 -24
- package/dist/chunks/{instruction-discovery-386stjsv.js → repository-yqt58wae.js} +9 -9
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-7pw8dncw.js → repository-z6b5w8cf.js} +4 -4
- package/dist/chunks/{instruction-discovery-3bc8czyk.js → repository-zd30eb5w.js} +5 -5
- package/dist/chunks/{instruction-discovery-y9e73xa5.js → repository-zhwzkc0c.js} +12 -12
- package/dist/chunks/{instruction-discovery-z468zaec.js → repository-zk46kswf.js} +15 -15
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-7j2qha59.js → repository-zvjhkatg.js} +8 -8
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/chunks/{instruction-discovery-qygbw77c.js → repository-zyk1yjk8.js} +5 -5
- 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 +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -106
- package/dist/config/plugin/agent.js +118 -125
- package/dist/config/plugin/command.js +207 -215
- package/dist/config/plugin/compaction.js +154 -161
- package/dist/config/plugin/compatibility.js +134 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -124
- package/dist/config/plugin/image.js +116 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -123
- package/dist/config/plugin/mcp.js +125 -132
- package/dist/config/plugin/policy.js +117 -124
- package/dist/config/plugin/provider.js +116 -123
- package/dist/config/plugin/reference.js +118 -125
- package/dist/config/plugin/shell.js +116 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -144
- package/dist/config/plugin/snapshot.js +116 -123
- package/dist/config/plugin/source.js +119 -126
- package/dist/config/plugin/tool-output.js +117 -125
- package/dist/config/plugin/websearch.js +115 -122
- package/dist/config/plugin/worktree.js +118 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +91 -91
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +74 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -360
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +105 -101
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +92 -87
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +101 -99
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +3 -1
- package/dist/persistent-pty/binary.node.js +2 -0
- package/dist/persistent-pty/binary.workerd.js +2 -0
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -122
- package/dist/plugin/provider/local.js +118 -0
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -122
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +134 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +216 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +212 -220
- package/dist/session/execution.js +127 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -93
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -170
- package/dist/session/shell.js +130 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +114 -112
- package/dist/session/transfer.js +210 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1561 -1030
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -6
- package/dist/tool.js +14 -14
- package/dist/types/aisdk-native.d.ts +1 -0
- package/dist/types/instance/service.d.ts +2 -2
- package/dist/types/instance.d.ts +2 -2
- package/dist/types/job.d.ts +1 -1
- package/dist/types/location-service-map.d.ts +3 -3
- package/dist/types/mcp/oauth.d.ts +1 -10
- package/dist/types/model.d.ts +1 -0
- package/dist/types/persistent-pty/binary.bun.d.ts +1 -0
- package/dist/types/persistent-pty/binary.node.d.ts +1 -0
- package/dist/types/persistent-pty/binary.workerd.d.ts +1 -0
- package/dist/types/persistent-pty/daemon.d.ts +4 -4
- package/dist/types/persistent-pty/index.d.ts +3 -0
- package/dist/types/plugin/provider/chatgpt.d.ts +1 -1
- package/dist/types/plugin/provider/lmstudio.d.ts +2 -5
- package/dist/types/plugin/provider/local.d.ts +29 -0
- package/dist/types/plugin/provider/ollama.d.ts +2 -5
- package/dist/types/plugin/provider/vllm.d.ts +2 -5
- package/dist/types/session/command.d.ts +1 -1
- package/dist/types/session/compaction.d.ts +4 -1
- package/dist/types/session/diff.d.ts +2 -2
- package/dist/types/session/generate.d.ts +3 -2
- package/dist/types/session/prompt.d.ts +1 -1
- package/dist/types/session/revert.d.ts +2 -3
- package/dist/types/session/runner/index.d.ts +2 -1
- package/dist/types/session/session.d.ts +5 -5
- package/dist/types/session/shell.d.ts +1 -1
- package/dist/types/session/skill.d.ts +1 -1
- package/dist/types/session/to-session-error.d.ts +2 -0
- package/dist/types/session/transfer.d.ts +2 -3
- package/dist/types/session.d.ts +5 -4
- package/dist/types/shell/scan.d.ts +2 -1
- package/dist/types/tool-output.d.ts +1 -0
- package/dist/types/v1/config/migrate.d.ts +15 -319
- package/dist/types/vcs.d.ts +6 -0
- package/dist/types/worktree.d.ts +2 -1
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +96 -96
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +11 -13
- package/dist/chunks/instruction-discovery-21r38tys.js +0 -14
- package/dist/chunks/instruction-discovery-24x7sj2v.js +0 -137
- package/dist/chunks/instruction-discovery-669tq793.js +0 -15
- package/dist/chunks/instruction-discovery-bbx3sj05.js +0 -173
- package/dist/chunks/instruction-discovery-bscb95cy.js +0 -21
- package/dist/chunks/instruction-discovery-c49890bn.js +0 -194
- package/dist/chunks/instruction-discovery-fp86hj50.js +0 -145
- package/dist/chunks/instruction-discovery-j15mfg1p.js +0 -84
- package/dist/chunks/instruction-discovery-jzzgdak2.js +0 -34
- package/dist/chunks/instruction-discovery-mazbtkaa.js +0 -29
- package/dist/chunks/instruction-discovery-mp9mcqyr.js +0 -252
- package/dist/chunks/instruction-discovery-mvh4jj0m.js +0 -26
- package/dist/chunks/instruction-discovery-p813dxyq.js +0 -134
- package/dist/chunks/instruction-discovery-tvtrv512.js +0 -51
- package/dist/chunks/instruction-discovery-vncycja5.js +0 -21
- package/dist/chunks/instruction-discovery-wb3qhx4w.js +0 -507
- package/dist/chunks/instruction-discovery-yrhqyw5v.js +0 -15
- package/dist/filesystem/ignore.js +0 -58
- package/dist/id/id.js +0 -14
- package/dist/plugin/provider/gateway.js +0 -7
- package/dist/plugin/provider/venice.js +0 -7
- package/dist/types/filesystem/ignore.d.ts +0 -2
- package/dist/types/id/id.d.ts +0 -19
- package/dist/types/plugin/provider/gateway.d.ts +0 -1
- package/dist/types/plugin/provider/venice.d.ts +0 -1
- package/dist/types/v1/config/attachment.d.ts +0 -18
- package/dist/types/v1/config/config.d.ts +0 -1243
- package/dist/types/v1/config/formatter.d.ts +0 -15
- package/dist/types/v1/config/layout.d.ts +0 -4
- package/dist/types/v1/config/lsp.d.ts +0 -38
- package/dist/types/v1/config/server.d.ts +0 -10
- package/dist/types/v1/config/skills.d.ts +0 -7
- package/dist/v1/config/attachment.js +0 -11
- package/dist/v1/config/config.js +0 -23
- package/dist/v1/config/formatter.js +0 -10
- package/dist/v1/config/layout.js +0 -8
- package/dist/v1/config/lsp.js +0 -16
- package/dist/v1/config/server.js +0 -9
- package/dist/v1/config/skills.js +0 -8
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service78
|
|
9
|
+
} from "./repository-w7a2abxy.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service66
|
|
12
|
+
} from "./repository-hkgfm0m5.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service17
|
|
15
|
+
} from "./repository-9mxexfbd.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-vngdzw63.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service56
|
|
24
|
+
} from "./repository-5r637m3f.js";
|
|
25
25
|
import {
|
|
26
26
|
Service19
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-zhwzkc0c.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input5,
|
|
37
|
+
Output: () => Output4,
|
|
38
|
+
Plugin: () => Plugin5,
|
|
39
|
+
name: () => name5,
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name5 = "glob";
|
|
46
|
+
var Input5 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input10 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output4 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin5 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
69
|
+
const environment = yield* Service66;
|
|
70
|
+
const ripgrep = yield* Service17;
|
|
71
|
+
const location = yield* Service78;
|
|
72
72
|
const access = yield* Service19;
|
|
73
|
-
const permission = yield*
|
|
73
|
+
const permission = yield* Service56;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name5,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input5,
|
|
79
|
+
output: Output4,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name5,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin11 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name5, Input5, Output4, toModelContent2, Plugin5, exports_glob };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./repository-w7a2abxy.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service68
|
|
9
|
+
} from "./repository-9s1pr29s.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-23294nz8.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin18
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin18 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service68;
|
|
35
|
+
const location = yield* Service78;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin18, exports_reference };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./repository-w7a2abxy.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service68
|
|
9
|
+
} from "./repository-9s1pr29s.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service24
|
|
12
|
+
} from "./repository-05t95569.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin16
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin16 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service68;
|
|
34
|
+
const location = yield* Service78;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service24;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin39 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin16, exports_worktree };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-my4zabxr.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info8,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-yf33k1p3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service68
|
|
11
|
+
} from "./repository-9s1pr29s.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin40,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin40 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info8.make({
|
|
434
|
+
id: ID5.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info8.make({
|
|
441
|
+
id: ID5.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service68;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin40, exports_skill3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load5() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load5 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-b751st24.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9e5bzkjp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service32,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service32 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make19({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make22({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service32.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node36 = makeLocationNode({ service: Service32, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node36, exports_instruction_entry };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-9815d8pv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID12,
|
|
7
7
|
VariantID2,
|
|
8
8
|
Info21,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-b5f9cqb8.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID12.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -97,7 +97,7 @@ function build(id, remote, baseURL, previous) {
|
|
|
97
97
|
return Info21.make({
|
|
98
98
|
...Info21.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID12.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service47,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service47 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service47, exports_runner };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service35,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node39
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service35 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service42, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service35.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node39 = makeGlobalNode({ service: Service35, layer: layer12, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service35, makeLayer2, layer12, node39, exports_model_transport };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./repository-9815d8pv.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID13.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin48
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin48 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin23 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin48, exports_mcp_codemode_defaults };
|