@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,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID15
|
|
3
|
+
} from "./config-8d0exfkm.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info14
|
|
9
|
+
} from "./config-k0gdq8ga.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-jq6r9rxs.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service64
|
|
16
|
+
} from "./config-1mddym19.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./config-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent2 = {};
|
|
26
26
|
__export(exports_agent2, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin42
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info14);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin42 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service64;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin32 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID15.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID15.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin42, exports_agent2 };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service58,
|
|
8
|
+
node60
|
|
9
|
+
} from "./config-6km63wvd.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service19,
|
|
24
|
+
node: () => node21
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service19 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service58;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service19.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node21 = makeLocationNode({ service: Service19, layer, deps: [node60, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service19, node21, exports_ripgrep };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-2f04pwep.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError10,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
24
|
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -31,7 +31,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
31
31
|
import { Skill } from "@opencode/schema/skill";
|
|
32
32
|
import { SessionError } from "@opencode/schema/session-error";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class NotFoundError10 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
35
35
|
sessionID: SessionSchema2.ID
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
@@ -116,4 +116,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
116
116
|
}) {
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
export {
|
|
119
|
+
export { NotFoundError10, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./config-d7syg0tc.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-addxnjmp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event16
|
|
9
|
+
} from "./config-arjb37bx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID9
|
|
12
|
+
} from "./config-sve1nj7a.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID8,
|
|
15
|
+
Service68
|
|
16
|
+
} from "./config-0q3s84gs.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./config-h8rda941.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID8.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service68;
|
|
30
|
+
const bus = yield* Service82;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./config-d7syg0tc.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event17,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID11,
|
|
20
|
+
Info: () => Info26,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError8,
|
|
24
|
+
Reply: () => Reply2,
|
|
25
|
+
Service: () => Service71,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer24,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node74,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event17 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID11 = Form.ID;
|
|
39
|
+
var Info26 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID11
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID11
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID11
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID11,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service71 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer24 = Layer.effect(
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer24 = Layer.effect(Service71, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service82;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError8({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID11.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer24 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service71.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node74 = makeLocationNode({ service: Service71, layer: layer24, deps: [node86] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID11, Info26, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service71, layer24, node74, validateAnswer2, validateFields2, exports_form, Event17 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-1ygqh575.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin7,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin7 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin3 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint5);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint5, Plugin7, exports_exa };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./config-dzjeaeqz.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service58
|
|
12
|
+
} from "./config-6km63wvd.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service19
|
|
15
|
+
} from "./config-z3xax5j7.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Entry2
|
|
21
|
+
} from "./config-yp2zyt9e.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service73
|
|
24
|
+
} from "./config-cswq075c.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service22
|
|
27
|
+
} from "./config-twx3wtca.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./config-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
@@ -35,9 +35,9 @@ __export(exports_glob, {
|
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
36
|
Input: () => Input10,
|
|
37
37
|
Output: () => Output7,
|
|
38
|
-
Plugin: () =>
|
|
38
|
+
Plugin: () => Plugin28,
|
|
39
39
|
name: () => name10,
|
|
40
|
-
toModelContent: () =>
|
|
40
|
+
toModelContent: () => toModelContent5
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
@@ -55,22 +55,22 @@ var Input10 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var Output7 = Schema.Array(
|
|
59
|
-
var
|
|
58
|
+
var Output7 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent5 = (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 Plugin28 = {
|
|
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*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service58;
|
|
70
|
+
const ripgrep = yield* Service19;
|
|
71
|
+
const location = yield* Service79;
|
|
72
|
+
const access = yield* Service22;
|
|
73
|
+
const permission = yield* Service73;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
75
|
name: name10,
|
|
76
76
|
options: { codemode: false },
|
|
@@ -111,18 +111,18 @@ var Plugin46 = {
|
|
|
111
111
|
orElse: () => Effect.fail(new ToolFailure({
|
|
112
112
|
message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
|
|
113
113
|
}))
|
|
114
|
-
}), Effect.map((result) => result.map((entry) =>
|
|
114
|
+
}), Effect.map((result) => result.map((entry) => Entry2.make({
|
|
115
115
|
...entry,
|
|
116
116
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
|
|
117
117
|
}))));
|
|
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: toModelContent5(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 { name10, Input10, Output7,
|
|
128
|
+
export { name10, Input10, Output7, toModelContent5, Plugin28, exports_glob };
|