@opencode/core 0.0.0-dev-20303 → 0.0.0-dev-20307
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{ripgrep-0996nyz8.js → config-0jq9fyba.js} +9 -9
- package/dist/chunks/{ripgrep-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-zexvq6re.js → config-0q3s84gs.js} +35 -35
- package/dist/chunks/{ripgrep-q13923st.js → config-0t7zfrp0.js} +2 -2
- package/dist/chunks/{ripgrep-pqcvfzvm.js → config-0tny3c9f.js} +27 -27
- package/dist/chunks/{ripgrep-dc0h2f5m.js → config-0vd4engx.js} +10 -10
- package/dist/chunks/{ripgrep-4nj6keg1.js → config-0w59s7c2.js} +18 -18
- package/dist/chunks/{ripgrep-pf2cvmpq.js → config-0x3pdc3s.js} +67 -67
- package/dist/chunks/{ripgrep-2xqghjp6.js → config-12xz87kv.js} +3 -3
- package/dist/chunks/{ripgrep-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-srep0201.js → config-1jz99jwb.js} +48 -48
- package/dist/chunks/{ripgrep-2qtr0tge.js → config-1mddym19.js} +49 -49
- package/dist/chunks/{ripgrep-f6ejcacf.js → config-1rzg8cx3.js} +34 -34
- package/dist/chunks/{ripgrep-1nkg8qc4.js → config-1sf86jmj.js} +12 -12
- package/dist/chunks/{ripgrep-1ygqh575.js → config-1ygqh575.js} +2 -2
- package/dist/chunks/{ripgrep-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-febda8v4.js → config-25be0864.js} +17 -17
- package/dist/chunks/{ripgrep-ff3zzamp.js → config-269darmg.js} +40 -40
- package/dist/chunks/{ripgrep-7y05g5y6.js → config-292wsk96.js} +5 -5
- package/dist/chunks/{ripgrep-5vqak28j.js → config-29t9s0qq.js} +15 -15
- package/dist/chunks/{ripgrep-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-1jd7dvgb.js → config-2d52yt7h.js} +17 -17
- package/dist/chunks/{ripgrep-8q7cq0y1.js → config-2f04pwep.js} +3 -3
- package/dist/chunks/{ripgrep-9gjvwznx.js → config-2fa7a2cb.js} +25 -25
- package/dist/chunks/{ripgrep-ay7z0nzh.js → config-2hbvw9vv.js} +10 -10
- package/dist/chunks/{ripgrep-djszqvmq.js → config-2sejkfem.js} +9 -9
- package/dist/chunks/{ripgrep-ab4nhn8b.js → config-2shgxpvs.js} +6 -6
- package/dist/chunks/{ripgrep-fq5zwzwv.js → config-2sz29cz1.js} +29 -29
- package/dist/chunks/{ripgrep-zxf6vy87.js → config-2vpry5jy.js} +15 -15
- package/dist/chunks/{ripgrep-cztphjx7.js → config-32775zb7.js} +327 -327
- package/dist/chunks/{ripgrep-0b5t2wwf.js → config-3d257yh9.js} +9 -9
- package/dist/chunks/{ripgrep-3fc6dm20.js → config-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-qbv4sgsg.js → config-3jgxhq06.js} +44 -44
- package/dist/chunks/{ripgrep-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-h93zm1px.js → config-3xvfcnst.js} +7 -7
- package/dist/chunks/{ripgrep-3zsf4n22.js → config-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-fbxnn3zg.js → config-422899az.js} +39 -39
- package/dist/chunks/{ripgrep-8wbxkt1z.js → config-44ak30pa.js} +4 -4
- package/dist/chunks/{ripgrep-6ejtffh2.js → config-45trpagw.js} +21 -21
- package/dist/chunks/{ripgrep-e65wgfyf.js → config-46119t3w.js} +13 -13
- package/dist/chunks/{ripgrep-q6kv5hce.js → config-4dzbwv5q.js} +32 -32
- package/dist/chunks/{ripgrep-ttpyk6f9.js → config-4kd7e6ys.js} +9 -9
- package/dist/chunks/{ripgrep-eqd5gpxy.js → config-4kmetaym.js} +44 -44
- package/dist/chunks/{ripgrep-31wx1wqg.js → config-4n7khwcq.js} +32 -29
- package/dist/chunks/{ripgrep-kb6vbnxp.js → config-4wwqnvbr.js} +4 -4
- package/dist/chunks/{ripgrep-dtyy8xh0.js → config-4xh623zh.js} +26 -26
- package/dist/chunks/{ripgrep-bgxcxs0p.js → config-510m7gjw.js} +5 -5
- package/dist/chunks/{ripgrep-54ma36ye.js → config-54ma36ye.js} +1 -1
- package/dist/chunks/{ripgrep-57ez7d0k.js → config-57ez7d0k.js} +2 -2
- package/dist/chunks/{ripgrep-e0rfdckv.js → config-59akn9cc.js} +17 -17
- package/dist/chunks/{ripgrep-bm4pzggq.js → config-5cwfczjf.js} +32 -32
- package/dist/chunks/{ripgrep-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-amjwwp15.js → config-5fn2wwsq.js} +20 -20
- package/dist/chunks/{ripgrep-r9w59ptg.js → config-5mvwrzry.js} +25 -25
- package/dist/chunks/{ripgrep-552s6kfz.js → config-5n0kyfxb.js} +15 -15
- package/dist/chunks/{ripgrep-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-y1cgxa56.js → config-5t7tt675.js} +13 -13
- package/dist/chunks/{ripgrep-gvrdb957.js → config-5xvskv7y.js} +11 -11
- package/dist/chunks/{ripgrep-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-v89pjvzk.js → config-6jcmgf9k.js} +8 -8
- package/dist/chunks/{ripgrep-6ne0j7pm.js → config-6jrp8t3j.js} +11 -11
- package/dist/chunks/{ripgrep-632bft3r.js → config-6k72yjme.js} +19 -19
- package/dist/chunks/{ripgrep-qa3v0gpg.js → config-6km63wvd.js} +24 -24
- package/dist/chunks/{ripgrep-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-rkprpv83.js → config-6pc27hjz.js} +6 -6
- package/dist/chunks/{ripgrep-bhzbay2t.js → config-6tdhfkhk.js} +5 -5
- package/dist/chunks/{ripgrep-dr2s0fjn.js → config-75jb4kyn.js} +12 -12
- package/dist/chunks/{ripgrep-je856w56.js → config-77m06x4p.js} +11 -11
- package/dist/chunks/{ripgrep-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-7dqw4kz8.js → config-7dqw4kz8.js} +1 -1
- package/dist/chunks/{ripgrep-74a0hazz.js → config-7jtbgzxh.js} +11 -11
- package/dist/chunks/{ripgrep-zn4xb62a.js → config-7t1gf4xk.js} +20 -20
- package/dist/chunks/{ripgrep-5hcrxyky.js → config-7xv45gyt.js} +6 -6
- package/dist/chunks/{ripgrep-sj415v3s.js → config-87m1q7ht.js} +10 -10
- package/dist/chunks/{ripgrep-d8s5zaak.js → config-89392nta.js} +18 -18
- package/dist/chunks/{ripgrep-5gxtf2ep.js → config-8d0exfkm.js} +24 -24
- package/dist/chunks/{ripgrep-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-ttqh24zm.js → config-8gxqpgph.js} +4 -4
- package/dist/chunks/{ripgrep-v5fx191f.js → config-8hj0xwzd.js} +30 -30
- package/dist/chunks/{ripgrep-w2y23yj1.js → config-8rrryrvw.js} +13 -13
- package/dist/chunks/{ripgrep-yxj4ckh3.js → config-90jdj94b.js} +22 -22
- package/dist/chunks/{ripgrep-rkdvqggb.js → config-92azg307.js} +5 -5
- package/dist/chunks/{ripgrep-94ek1h2f.js → config-94ek1h2f.js} +2 -2
- package/dist/chunks/{ripgrep-dvs6zpk2.js → config-95y9ape3.js} +41 -41
- package/dist/chunks/{ripgrep-0j9j0cr0.js → config-9bmgxnfb.js} +23 -23
- package/dist/chunks/{ripgrep-qcbzzkxa.js → config-9mkjfjeb.js} +32 -32
- package/dist/chunks/config-9sh4wc5j.js +18 -0
- package/dist/chunks/{ripgrep-pmg28md7.js → config-9z9ew9nd.js} +1 -1
- package/dist/chunks/{ripgrep-rnk4bdv4.js → config-a0ex1whv.js} +21 -21
- package/dist/chunks/{ripgrep-ts8814z6.js → config-a8qx80kp.js} +19 -19
- package/dist/chunks/{ripgrep-7j2mf0b2.js → config-aa6e1bxm.js} +28 -28
- package/dist/chunks/{ripgrep-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-3y377wv9.js → config-addxnjmp.js} +4 -4
- package/dist/chunks/{ripgrep-gmfetzq4.js → config-arjb37bx.js} +45 -37
- package/dist/chunks/{ripgrep-ngymw408.js → config-asnp7hhc.js} +4 -4
- package/dist/chunks/{ripgrep-zrc0yy2v.js → config-b164etxs.js} +27 -27
- package/dist/chunks/{ripgrep-3kkw8qnw.js → config-b1gf7dz2.js} +24 -24
- package/dist/chunks/{ripgrep-v5dkyp31.js → config-b27vhd2z.js} +4 -4
- package/dist/chunks/{ripgrep-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-m74y7a9x.js → config-b9hntxh7.js} +14 -14
- package/dist/chunks/{ripgrep-92z2dgw1.js → config-ba9gehx5.js} +3 -3
- package/dist/chunks/{ripgrep-k8e0krnc.js → config-bdqrk2vk.js} +8 -8
- package/dist/chunks/{ripgrep-mtf32xg9.js → config-bhemr9wh.js} +11 -11
- package/dist/chunks/{ripgrep-8djhgsab.js → config-bnvytdy7.js} +16 -16
- package/dist/chunks/{ripgrep-ag1tg3gv.js → config-byf60vcv.js} +33 -33
- package/dist/chunks/{ripgrep-pxvtywqb.js → config-c6t9gnna.js} +6 -6
- package/dist/chunks/{ripgrep-ws6q902r.js → config-ca9g9rqk.js} +5 -5
- package/dist/chunks/{ripgrep-jkfm4w29.js → config-ce44v4st.js} +28 -28
- package/dist/chunks/{ripgrep-ckecvw8r.js → config-ckecvw8r.js} +2 -2
- package/dist/chunks/{ripgrep-n50qm4s2.js → config-cswq075c.js} +58 -58
- package/dist/chunks/{ripgrep-nhvjymvq.js → config-d2kdndyg.js} +22 -22
- package/dist/chunks/{ripgrep-kcetpk2c.js → config-d7syg0tc.js} +12 -12
- package/dist/chunks/{ripgrep-1m0xqqrr.js → config-d7wsq8bv.js} +11 -11
- package/dist/chunks/{ripgrep-eefdys5x.js → config-dah29an0.js} +4 -4
- package/dist/chunks/{ripgrep-nsth5a41.js → config-dc965nrq.js} +31 -31
- package/dist/chunks/{ripgrep-xkntkrq7.js → config-dmqcgk4z.js} +5 -5
- package/dist/chunks/{ripgrep-3c4e9bh1.js → config-dmqymbqv.js} +7 -7
- package/dist/chunks/{ripgrep-qrgme6ew.js → config-dr8yj0jr.js} +6 -6
- package/dist/chunks/{ripgrep-drwq78ky.js → config-drwq78ky.js} +1 -1
- package/dist/chunks/{ripgrep-q26n4fcx.js → config-dzjeaeqz.js} +14 -14
- package/dist/chunks/{ripgrep-ytbta4pq.js → config-e1n7rw9f.js} +4 -4
- package/dist/chunks/{ripgrep-0f9afca0.js → config-ead3g9p8.js} +5 -5
- package/dist/chunks/{ripgrep-t550f9t1.js → config-eaj1djv9.js} +8 -8
- package/dist/chunks/{ripgrep-jpz1sap8.js → config-ebp6b9tv.js} +14 -14
- package/dist/chunks/{ripgrep-ecfe7b91.js → config-ecfe7b91.js} +2 -2
- package/dist/chunks/{ripgrep-e4dzh796.js → config-eemsvzwm.js} +9 -9
- package/dist/chunks/{ripgrep-ef5x83kb.js → config-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-deajr4zv.js → config-efjjk5dx.js} +11 -11
- package/dist/chunks/{ripgrep-73tb2d7t.js → config-eq1pz5kg.js} +3 -3
- package/dist/chunks/{ripgrep-1d3bftpa.js → config-eq9h0d5y.js} +8 -8
- package/dist/chunks/{ripgrep-hzxzc04q.js → config-eqht9cbe.js} +29 -29
- package/dist/chunks/{ripgrep-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-2pdg46mn.js → config-f1vyadhg.js} +14 -14
- package/dist/chunks/{ripgrep-q1v5hekz.js → config-few7m4w4.js} +11 -11
- package/dist/chunks/{ripgrep-mjpfq375.js → config-ff2d7thw.js} +25 -25
- package/dist/chunks/{ripgrep-yyksnw28.js → config-fj4h7adg.js} +28 -28
- package/dist/chunks/{ripgrep-zrq8kphx.js → config-fqtvmpfq.js} +8 -8
- package/dist/chunks/{ripgrep-35agz59w.js → config-fvanntqq.js} +5 -5
- package/dist/chunks/{ripgrep-d9wxm2fe.js → config-g31nq6sa.js} +8 -8
- package/dist/chunks/{ripgrep-kb333kjr.js → config-g8z1d8m7.js} +7 -7
- package/dist/chunks/{ripgrep-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-wybk36vp.js → config-ghxng14m.js} +10 -10
- package/dist/chunks/{ripgrep-gv6a8nnw.js → config-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-nqfwyc43.js → config-gvw0fbgk.js} +8 -8
- package/dist/chunks/{ripgrep-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-v6695139.js → config-h78069mn.js} +11 -11
- package/dist/chunks/{ripgrep-sd5f6jdk.js → config-h896pcm5.js} +6 -6
- package/dist/chunks/{ripgrep-s5hrj64x.js → config-h8rda941.js} +23 -23
- package/dist/chunks/{ripgrep-fp2xarvc.js → config-hekxc47r.js} +1 -1
- package/dist/chunks/{ripgrep-ckr8yqr6.js → config-hnw0gg26.js} +5 -5
- package/dist/chunks/{ripgrep-4k5pyaj2.js → config-hzc9ca78.js} +10 -10
- package/dist/chunks/{ripgrep-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-jr0j7mve.js → config-jf3khhe6.js} +6 -6
- package/dist/chunks/{ripgrep-whp3wsjn.js → config-jge473sv.js} +11 -11
- package/dist/chunks/{ripgrep-fk34k8b0.js → config-jha2wz63.js} +77 -77
- package/dist/chunks/{ripgrep-qx1x9vga.js → config-jhp1ybt8.js} +22 -22
- package/dist/chunks/{ripgrep-f7xy0jcj.js → config-jhser3r8.js} +12 -12
- package/dist/chunks/{ripgrep-3v1h8cz5.js → config-jnj9g4r4.js} +48 -48
- package/dist/chunks/{ripgrep-szsbf3na.js → config-jq6r9rxs.js} +4 -4
- package/dist/chunks/{ripgrep-pttkx1dj.js → config-jwhtpyzr.js} +27 -27
- package/dist/chunks/{ripgrep-h2r7bbkd.js → config-k0gdq8ga.js} +8 -8
- package/dist/chunks/{ripgrep-k3c624dm.js → config-k3c624dm.js} +3 -3
- package/dist/chunks/config-k8cz98np.js +252 -0
- package/dist/chunks/{ripgrep-h3whq8hs.js → config-kcsm1vfq.js} +7 -7
- package/dist/chunks/{ripgrep-9x50181g.js → config-kgw42yf8.js} +12 -12
- package/dist/chunks/{ripgrep-a2tjj438.js → config-kwwj852z.js} +79 -79
- package/dist/chunks/{ripgrep-k40x70x4.js → config-m10m16yg.js} +8 -8
- package/dist/chunks/{ripgrep-m3fdjcah.js → config-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-tk70hm4f.js → config-mekq1jxg.js} +31 -31
- package/dist/chunks/{ripgrep-4858gwxg.js → config-mjrszqca.js} +35 -35
- package/dist/chunks/{ripgrep-yhc2xmq5.js → config-mt9yrtbx.js} +1 -1
- package/dist/chunks/{ripgrep-jzq9sbf8.js → config-mxp0vfn9.js} +37 -37
- package/dist/chunks/{ripgrep-p97ze781.js → config-n10xprsy.js} +20 -20
- package/dist/chunks/{ripgrep-fj137pk4.js → config-n8zm2rh5.js} +4 -4
- package/dist/chunks/{ripgrep-pvvafe22.js → config-nbbwaq1x.js} +10 -10
- package/dist/chunks/{ripgrep-mwyh8wfh.js → config-nej22d74.js} +26 -26
- package/dist/chunks/{ripgrep-m2d0j7c0.js → config-nq7qbqzc.js} +9 -9
- package/dist/chunks/{ripgrep-rk6ps10a.js → config-nzsvss4e.js} +5 -5
- package/dist/chunks/{ripgrep-zgfpqdce.js → config-p0317zjm.js} +54 -54
- package/dist/chunks/{ripgrep-v9htzwy6.js → config-p27bdzt8.js} +39 -39
- package/dist/chunks/{ripgrep-pa8pe2x7.js → config-p37cw4rj.js} +8 -8
- package/dist/chunks/{ripgrep-dq3vednk.js → config-p67888xt.js} +15 -15
- package/dist/chunks/{ripgrep-c35597j6.js → config-p6wxjpka.js} +4 -4
- package/dist/chunks/{ripgrep-zd5925e4.js → config-pd37k1mn.js} +10 -10
- package/dist/chunks/{ripgrep-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-vncycja5.js → config-pmr4s4kc.js} +4 -4
- package/dist/chunks/{ripgrep-b1k697tw.js → config-pq8y9jyn.js} +9 -9
- package/dist/chunks/{ripgrep-wpzekwss.js → config-q0mntv84.js} +6 -6
- package/dist/chunks/{ripgrep-t849abxh.js → config-q2gm30vq.js} +11 -10
- package/dist/chunks/{ripgrep-8jsvkn40.js → config-q3pdm90z.js} +29 -29
- package/dist/chunks/{ripgrep-tdmq7741.js → config-q67st9n4.js} +38 -38
- package/dist/chunks/{ripgrep-4gr8y5nf.js → config-q7e6fk49.js} +25 -25
- package/dist/chunks/{ripgrep-d450k981.js → config-q8n9d2sh.js} +8 -8
- package/dist/chunks/{ripgrep-nn5bpfje.js → config-qehv365y.js} +9 -9
- package/dist/chunks/{ripgrep-8epfg41c.js → config-qexff29z.js} +6 -6
- package/dist/chunks/{ripgrep-sfpzfcnw.js → config-qgdgv7hk.js} +3 -3
- package/dist/chunks/{ripgrep-jw80jp6b.js → config-qj8eh1ht.js} +4 -4
- package/dist/chunks/{ripgrep-n0gf5ey7.js → config-qnv5e02b.js} +22 -22
- package/dist/chunks/{ripgrep-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-hbyhqfhs.js → config-qsr9synt.js} +5 -5
- package/dist/chunks/{ripgrep-pnh2hy2c.js → config-qwb4tgp6.js} +23 -23
- package/dist/chunks/{ripgrep-r7nsrefv.js → config-r3q6pmcz.js} +6 -6
- package/dist/chunks/{ripgrep-rdw6cm16.js → config-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-x591492r.js → config-s5cnhrvf.js} +15 -15
- package/dist/chunks/{ripgrep-5frpvc34.js → config-s8610hey.js} +2 -2
- package/dist/chunks/{ripgrep-zbzhtaz8.js → config-s8avne91.js} +25 -25
- package/dist/chunks/{ripgrep-4pdcrpe9.js → config-s8fxn872.js} +13 -13
- package/dist/chunks/{ripgrep-18qa6r1n.js → config-sa09mgdh.js} +16 -16
- package/dist/chunks/{ripgrep-2x0wkexj.js → config-sk4te5ak.js} +27 -27
- package/dist/chunks/config-sv1g477j.js +26 -0
- package/dist/chunks/{ripgrep-bahgfxtd.js → config-sve1nj7a.js} +33 -33
- package/dist/chunks/{ripgrep-aa6tf4fy.js → config-syj77zjw.js} +22 -22
- package/dist/chunks/{ripgrep-dj9sq318.js → config-t0fxg8b9.js} +5 -5
- package/dist/chunks/{ripgrep-d21fb1vq.js → config-t9b158gy.js} +13 -13
- package/dist/chunks/{ripgrep-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-89znhe33.js → config-tcezcvh9.js} +4 -4
- package/dist/chunks/{ripgrep-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-ycg97etn.js → config-tk3wdx18.js} +174 -174
- package/dist/chunks/{ripgrep-2t95j9c0.js → config-tq32sg09.js} +25 -25
- package/dist/chunks/{ripgrep-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-qwhsc8p7.js → config-twx3wtca.js} +18 -18
- package/dist/chunks/{ripgrep-cx34d9wd.js → config-v8fkb6at.js} +11 -11
- package/dist/chunks/{ripgrep-tjedn1bk.js → config-vbfgae2j.js} +4 -4
- package/dist/chunks/{ripgrep-xvp1j2dc.js → config-vd7rzxqf.js} +5 -5
- package/dist/chunks/{ripgrep-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-kmjdna7m.js → config-vk0rzmvc.js} +50 -50
- package/dist/chunks/{ripgrep-00bkszwx.js → config-vwpf3yy2.js} +23 -23
- package/dist/chunks/{ripgrep-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-vzs5sf6e.js → config-vzs5sf6e.js} +1 -1
- package/dist/chunks/{ripgrep-w1eejvng.js → config-w1eejvng.js} +1 -1
- package/dist/chunks/{ripgrep-3skt28fc.js → config-w3c417zp.js} +3 -3
- package/dist/chunks/{ripgrep-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-zwet3d57.js → config-w7qq5tsb.js} +22 -22
- package/dist/chunks/{ripgrep-wd3x2cqz.js → config-wd3x2cqz.js} +2 -2
- package/dist/chunks/{ripgrep-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-x7xnx0we.js → config-wf79szkf.js} +22 -22
- package/dist/chunks/{ripgrep-37m9xwpn.js → config-wgbxdxnn.js} +26 -26
- package/dist/chunks/{ripgrep-695yb3ne.js → config-wkvewthv.js} +22 -22
- package/dist/chunks/{ripgrep-zmyzpzwz.js → config-ws9abje0.js} +5 -5
- package/dist/chunks/{ripgrep-8vxvqh3p.js → config-wzwsskye.js} +20 -20
- package/dist/chunks/{ripgrep-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-qzqedjgs.js → config-xfcb1x2f.js} +21 -21
- package/dist/chunks/{ripgrep-m4v4sst7.js → config-xks95tas.js} +23 -23
- package/dist/chunks/{ripgrep-9tn9hv36.js → config-xpkwndmr.js} +33 -33
- package/dist/chunks/{ripgrep-bea85hdf.js → config-xvgtn10j.js} +3 -3
- package/dist/chunks/{ripgrep-n1ka8r9d.js → config-xwm6bryg.js} +4 -4
- package/dist/chunks/{ripgrep-bs1d3dhn.js → config-y0ghwd9k.js} +3 -3
- package/dist/chunks/{ripgrep-px76j0pk.js → config-y0mc46pw.js} +9 -9
- package/dist/chunks/{ripgrep-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-xsbrecyh.js → config-y5df08dr.js} +12 -12
- package/dist/chunks/{ripgrep-y71avatq.js → config-y71avatq.js} +1 -1
- package/dist/chunks/{ripgrep-q9m9wzt0.js → config-y8q9ap8c.js} +19 -19
- package/dist/chunks/{ripgrep-k06t1zgt.js → config-y9a1hj5c.js} +11 -11
- package/dist/chunks/{ripgrep-k1qrnqst.js → config-yf10kn3d.js} +8 -8
- package/dist/chunks/{ripgrep-qfchpyts.js → config-yfcxk4hn.js} +25 -25
- package/dist/chunks/{ripgrep-w8wd44rg.js → config-yhd4mc25.js} +22 -22
- package/dist/chunks/{ripgrep-8gy77n4q.js → config-yk4jbxhg.js} +12 -12
- package/dist/chunks/{ripgrep-yp2x3t23.js → config-yp2x3t23.js} +1 -1
- package/dist/chunks/{ripgrep-j726xjcb.js → config-yp2zyt9e.js} +32 -32
- package/dist/chunks/{ripgrep-0ahrpcjw.js → config-ypxgwkzp.js} +14 -14
- package/dist/chunks/{ripgrep-3p17jnne.js → config-yqsrqvmh.js} +14 -14
- package/dist/chunks/{ripgrep-3es9bxre.js → config-yr1ytw2x.js} +17 -17
- package/dist/chunks/{ripgrep-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-yrznvahk.js → config-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-0939078r.js → config-yttf4vyv.js} +3 -3
- package/dist/chunks/{ripgrep-n3fk10xz.js → config-yvpx9whs.js} +32 -32
- package/dist/chunks/{ripgrep-sm965ndy.js → config-yvvvp4gn.js} +8 -8
- package/dist/chunks/{ripgrep-z1t4ccqy.js → config-z04bxrmy.js} +11 -11
- package/dist/chunks/{ripgrep-z07pqspn.js → config-z07pqspn.js} +3 -3
- package/dist/chunks/{ripgrep-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-4438m4a7.js → config-z349dkze.js} +17 -17
- package/dist/chunks/{ripgrep-jtkxxjqx.js → config-z3xax5j7.js} +18 -18
- package/dist/chunks/{ripgrep-j6rk38x8.js → config-z3zp24an.js} +6 -6
- package/dist/chunks/{ripgrep-z63w68vq.js → config-z63w68vq.js} +2 -2
- package/dist/chunks/{ripgrep-8qxm69fb.js → config-z75a89z7.js} +19 -19
- package/dist/chunks/{ripgrep-rthtq9ap.js → config-z8pd6906.js} +28 -28
- package/dist/chunks/{ripgrep-w1ad28wa.js → config-ze5v0a14.js} +8 -8
- package/dist/chunks/{ripgrep-zeh9ct20.js → config-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/chunks/{ripgrep-wj1rks9h.js → config-zz0c306v.js} +28 -28
- package/dist/chunks/{ripgrep-r2rgjgj7.js → config-zz3bkaqy.js} +32 -32
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +77 -77
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- 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 +372 -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 +74 -74
- package/dist/file-access.js +104 -104
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +99 -99
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +103 -103
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- 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 +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -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/gateway.js +2 -2
- 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 +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- 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 +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- 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 +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- 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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- 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 +149 -149
- package/dist/session/diff.js +88 -88
- 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 +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- 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 +126 -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 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- 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 +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -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 +87 -87
- 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 +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +118 -118
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/credential.d.ts +6 -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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/ripgrep-38phvaps.js +0 -252
- package/dist/chunks/ripgrep-9zdhvgqs.js +0 -18
- package/dist/chunks/ripgrep-pwr21gwd.js +0 -26
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → config-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-34c7v6d4.js → config-34c7v6d4.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → config-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → config-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → config-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → config-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./config-d7syg0tc.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service70,
|
|
11
|
+
node73
|
|
12
|
+
} from "./config-arjb37bx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service79,
|
|
15
|
+
node83
|
|
16
|
+
} from "./config-dzjeaeqz.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service58,
|
|
19
|
+
node60
|
|
20
|
+
} from "./config-6km63wvd.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID11,
|
|
23
|
+
Service71,
|
|
24
|
+
node74
|
|
25
|
+
} from "./config-z8pd6906.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./config-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service69,
|
|
34
|
+
node72
|
|
35
|
+
} from "./config-sve1nj7a.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./config-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service34,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured5,
|
|
56
|
+
layer: () => layer13,
|
|
57
|
+
node: () => node37
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -91,21 +91,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
91
91
|
var endpointLoads = makeUnsafe2();
|
|
92
92
|
var cloneConfig = (config) => structuredClone(config);
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Service34 extends Context.Service()("@opencode/MCP") {
|
|
95
95
|
}
|
|
96
|
-
var
|
|
96
|
+
var Options5 = Schema.Struct({
|
|
97
97
|
clientInfo: Schema.optional(Schema.Struct({
|
|
98
98
|
name: Schema.String,
|
|
99
99
|
version: Schema.String
|
|
100
100
|
}))
|
|
101
101
|
});
|
|
102
|
-
var
|
|
103
|
-
const location = yield*
|
|
104
|
-
const environment = yield*
|
|
105
|
-
const bus = yield*
|
|
106
|
-
const forms = yield*
|
|
107
|
-
const integration = yield*
|
|
108
|
-
const credentials = yield*
|
|
102
|
+
var layer13 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
103
|
+
const location = yield* Service79;
|
|
104
|
+
const environment = yield* Service58;
|
|
105
|
+
const bus = yield* Service82;
|
|
106
|
+
const forms = yield* Service71;
|
|
107
|
+
const integration = yield* Service69;
|
|
108
|
+
const credentials = yield* Service70;
|
|
109
109
|
const root = yield* Effect.scope;
|
|
110
110
|
const fork = yield* FiberSet.makeRuntime();
|
|
111
111
|
const entries = new Map;
|
|
@@ -117,7 +117,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
117
117
|
return;
|
|
118
118
|
const remote = entry.config;
|
|
119
119
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
120
|
-
const integrationID =
|
|
120
|
+
const integrationID = ID9.make(suffix);
|
|
121
121
|
entry.integrationID = integrationID;
|
|
122
122
|
owned.add(integrationID);
|
|
123
123
|
const methodID = MethodID2.make(suffix);
|
|
@@ -133,7 +133,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
133
133
|
method: { id: methodID, type: "oauth", label: name },
|
|
134
134
|
authorize: () => Effect.gen(function* () {
|
|
135
135
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
136
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
136
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service70, credentials));
|
|
137
137
|
})
|
|
138
138
|
});
|
|
139
139
|
}).pipe(Scope.provide(scope));
|
|
@@ -142,19 +142,19 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
142
142
|
const name = ServerName2.make(server);
|
|
143
143
|
const entry = entries.get(name);
|
|
144
144
|
if (!entry)
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new NotFoundError5({ server: name });
|
|
146
146
|
return { name, entry };
|
|
147
147
|
});
|
|
148
148
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
149
149
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
150
150
|
return;
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service70, credentials));
|
|
153
153
|
});
|
|
154
154
|
const elicitation = {
|
|
155
155
|
create: (input) => Effect.gen(function* () {
|
|
156
156
|
if (input.params.mode === "url") {
|
|
157
|
-
const formID =
|
|
157
|
+
const formID = ID11.create();
|
|
158
158
|
const elicitationID = input.params.elicitationId;
|
|
159
159
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
160
160
|
if (key)
|
|
@@ -257,7 +257,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
257
257
|
entry.scope = scope;
|
|
258
258
|
const authProvider = yield* connectProvider(entry);
|
|
259
259
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
260
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
260
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service58, environment), Scope.provide(scope));
|
|
261
261
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
262
262
|
if (Exit.isSuccess(result)) {
|
|
263
263
|
entry.client = result.value.connection;
|
|
@@ -382,7 +382,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
382
382
|
yield* startServer(name, entry);
|
|
383
383
|
}).pipe(locks.withLock(name));
|
|
384
384
|
});
|
|
385
|
-
fork(bus.subscribe(
|
|
385
|
+
fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
386
386
|
const state = create3({
|
|
387
387
|
name: "mcp",
|
|
388
388
|
initial: () => ({
|
|
@@ -408,7 +408,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
408
408
|
}),
|
|
409
409
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
410
410
|
});
|
|
411
|
-
return
|
|
411
|
+
return Service34.of({
|
|
412
412
|
transform: state.transform,
|
|
413
413
|
reload: state.reload,
|
|
414
414
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -514,14 +514,14 @@ function mergeCatalogs(catalogs) {
|
|
|
514
514
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
515
515
|
});
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function configured5(options) {
|
|
518
518
|
return makeLocationNode({
|
|
519
|
-
service:
|
|
520
|
-
layer:
|
|
521
|
-
deps: [
|
|
519
|
+
service: Service34,
|
|
520
|
+
layer: layer13(options),
|
|
521
|
+
deps: [node83, node60, node86, node74, node72, node73]
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
|
-
var
|
|
524
|
+
var node37 = configured5();
|
|
525
525
|
function toElicitationField(key, property, required) {
|
|
526
526
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
527
527
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -572,4 +572,4 @@ function toElicitationField(key, property, required) {
|
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
575
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service34, Options5, layer13, configured5, node37, exports_mcp4 };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Info16
|
|
10
|
-
} from "./ripgrep-h2r7bbkd.js";
|
|
6
|
+
Info19
|
|
7
|
+
} from "./config-qj8eh1ht.js";
|
|
11
8
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
9
|
+
Info14
|
|
10
|
+
} from "./config-k0gdq8ga.js";
|
|
14
11
|
import {
|
|
15
12
|
Info12
|
|
16
|
-
} from "./
|
|
13
|
+
} from "./config-t0fxg8b9.js";
|
|
14
|
+
import {
|
|
15
|
+
Info16
|
|
16
|
+
} from "./config-b27vhd2z.js";
|
|
17
17
|
import {
|
|
18
18
|
Info15
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-bdqrk2vk.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./config-21r38tys.js";
|
|
23
23
|
import {
|
|
24
24
|
Info18
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./config-fvanntqq.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info20
|
|
28
|
+
} from "./config-ead3g9p8.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./config-7dqw4kz8.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info17
|
|
34
|
+
} from "./config-510m7gjw.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./config-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info13
|
|
40
|
+
} from "./config-pmr4s4kc.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./config-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info11,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info11 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info9 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info16)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info13).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,20 +113,20 @@ var Info9 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info14), plan: Schema.optional(Info14) }), [Schema.Record(Schema.String, Info14)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info14),
|
|
119
|
+
build: Schema.optional(Info14),
|
|
120
|
+
general: Schema.optional(Info14),
|
|
121
|
+
explore: Schema.optional(Info14),
|
|
122
|
+
title: Schema.optional(Info14),
|
|
123
|
+
summary: Schema.optional(Info14),
|
|
124
|
+
compaction: Schema.optional(Info14)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info14)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info17)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info20, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
130
|
formatter: Schema.optional(Info15).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
@@ -137,9 +137,9 @@ var Info9 = Schema.Struct({
|
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info19),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info12).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info9 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info11, exports_config2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service4,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node5
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service4 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node5 = makeLocationNode({
|
|
19
|
+
service: Service4,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service4, node5, bound2, exports_instance2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info10,
|
|
6
|
+
ID6,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-wgbxdxnn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service64
|
|
11
|
+
} from "./config-1mddym19.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill = {};
|
|
18
18
|
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin17,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
@@ -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 Plugin17 = 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(Info10.make({
|
|
434
|
+
id: ID6.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(Info10.make({
|
|
441
|
+
id: ID6.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* Service64;
|
|
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, Plugin17, exports_skill };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info28,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info28 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info28, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service34
|
|
6
|
+
} from "./config-p0317zjm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service73
|
|
9
|
+
} from "./config-cswq075c.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin25
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin25 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service34;
|
|
26
|
+
const permission = yield* Service73;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin43 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin25, exports_mcp_resource };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info13
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info13 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info14 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info13, exports_skills };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-dzjeaeqz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service53,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node55,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service53 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service53, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node55 = LayerNode.unbound(Service53, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service53;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service53, node55, reload2, canonical3, exports_location_service_map };
|