@opencode/core 0.0.0-dev-19400 → 0.0.0-dev-19402
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent.js +59 -59
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +51 -51
- package/dist/catalog.js +60 -60
- package/dist/chunks/{worktree-ttqfmzkf.js → worktree-07gza034.js} +4 -4
- package/dist/chunks/{worktree-4y7f1htk.js → worktree-0a6m9zn6.js} +23 -23
- package/dist/chunks/{worktree-nfnn75e4.js → worktree-0bfcx7cw.js} +12 -12
- package/dist/chunks/{worktree-e79axaby.js → worktree-0ddfdf6h.js} +9 -9
- package/dist/chunks/{worktree-zfm6bwvs.js → worktree-0hjjfnva.js} +20 -20
- package/dist/chunks/{worktree-1k4ezpe5.js → worktree-0kjjkgrz.js} +13 -13
- package/dist/chunks/{worktree-63rqrmz1.js → worktree-0ms7d4ta.js} +9 -9
- package/dist/chunks/{worktree-sehhrc3t.js → worktree-0qzq572y.js} +3 -3
- package/dist/chunks/{worktree-pg7qm28t.js → worktree-12jxt57q.js} +10 -10
- package/dist/chunks/{worktree-f2n192rq.js → worktree-1acjjqhc.js} +3 -3
- package/dist/chunks/{worktree-typy0p4q.js → worktree-1aqychxq.js} +79 -79
- package/dist/chunks/{worktree-xe1bsykz.js → worktree-1n39waag.js} +15 -15
- package/dist/chunks/{worktree-kpvyk30t.js → worktree-1tjg7tvh.js} +7 -7
- package/dist/chunks/{worktree-33w4ejhs.js → worktree-1ygqh575.js} +4 -4
- package/dist/chunks/{worktree-pdjr2yqz.js → worktree-22pek6eg.js} +34 -34
- package/dist/chunks/{worktree-ev46nrf8.js → worktree-2t5f0p39.js} +22 -22
- package/dist/chunks/{worktree-1ery4yfq.js → worktree-2t5vmbg2.js} +11 -11
- package/dist/chunks/{worktree-b2a3xspp.js → worktree-31n43axm.js} +16 -16
- package/dist/chunks/{worktree-9qj7dh1c.js → worktree-37fxfkdc.js} +16 -16
- package/dist/chunks/{worktree-dp88awst.js → worktree-39gq0jsz.js} +14 -14
- package/dist/chunks/{worktree-atxwy4st.js → worktree-3gvv7fv9.js} +14 -14
- package/dist/chunks/{worktree-ge649byp.js → worktree-3m1vdcah.js} +16 -16
- package/dist/chunks/{worktree-7wbb1zn6.js → worktree-3ma48d2q.js} +20 -20
- package/dist/chunks/{worktree-erjxbtfh.js → worktree-47cde2b0.js} +12 -12
- package/dist/chunks/worktree-4arj8dq0.js +462 -0
- package/dist/chunks/{worktree-3gdgz9fc.js → worktree-4hs0xter.js} +5 -5
- package/dist/chunks/{worktree-8fp5w46m.js → worktree-4w6drx90.js} +16 -16
- package/dist/chunks/{worktree-rme689gw.js → worktree-4zn0m4jw.js} +3 -3
- package/dist/chunks/{worktree-m5y0j72z.js → worktree-530frpyx.js} +11 -11
- package/dist/chunks/{worktree-y1f8q6kf.js → worktree-5aq7k26p.js} +49 -49
- package/dist/chunks/{worktree-2njfwjb2.js → worktree-5d5n2frr.js} +35 -35
- package/dist/chunks/{worktree-bct739vz.js → worktree-5q02cxx3.js} +3 -3
- package/dist/chunks/{worktree-hm24pp5g.js → worktree-5sdemcz3.js} +7 -7
- package/dist/chunks/{worktree-zxq47b82.js → worktree-5t6qf0dk.js} +6 -6
- package/dist/chunks/{worktree-wk4gand9.js → worktree-68sfsyrr.js} +1 -1
- package/dist/chunks/{worktree-2bt6bea8.js → worktree-6jnybvqn.js} +7 -7
- package/dist/chunks/{worktree-wtf4ezaw.js → worktree-6npnztgt.js} +1 -1
- package/dist/chunks/{worktree-rk0ywbkq.js → worktree-721cw5cc.js} +1 -1
- package/dist/chunks/{worktree-tqfdrk91.js → worktree-75nkg2tt.js} +7 -7
- package/dist/chunks/{worktree-fq1h1v14.js → worktree-787q5hy4.js} +3 -3
- package/dist/chunks/{worktree-8gy8zqjj.js → worktree-7d9jba8k.js} +16 -16
- package/dist/chunks/{worktree-hpfvhvya.js → worktree-7m5f9412.js} +7 -7
- package/dist/chunks/{worktree-3a69nzm4.js → worktree-7x1jk2s0.js} +38 -38
- package/dist/chunks/{worktree-mqy0jkn2.js → worktree-7z7az0f5.js} +3 -3
- package/dist/chunks/{worktree-a31gkhvw.js → worktree-84esvpjp.js} +6 -6
- package/dist/chunks/{worktree-07h6kd27.js → worktree-87s6j92f.js} +18 -18
- package/dist/chunks/{worktree-cht86wkj.js → worktree-88nd1tx7.js} +29 -29
- package/dist/chunks/{worktree-z3g4xrj9.js → worktree-89y6ec7x.js} +17 -17
- package/dist/chunks/{worktree-44baxtt9.js → worktree-8g9sv97x.js} +19 -19
- package/dist/chunks/{worktree-tsc6q5nc.js → worktree-8hyjw9n3.js} +29 -29
- package/dist/chunks/{worktree-rs226bz6.js → worktree-8rkr9qb0.js} +5 -5
- package/dist/chunks/{worktree-xjqvt66n.js → worktree-8t3tghaa.js} +9 -9
- package/dist/chunks/{worktree-5tapvk4p.js → worktree-8tw6vjk5.js} +12 -12
- package/dist/chunks/{worktree-w418y777.js → worktree-9abatgz1.js} +14 -14
- package/dist/chunks/{worktree-gbk988mc.js → worktree-9b60vqg3.js} +19 -19
- package/dist/chunks/{worktree-3qdqgmdj.js → worktree-9df0z3fr.js} +12 -12
- package/dist/chunks/{worktree-6a5c1xrn.js → worktree-9mszsyym.js} +7 -7
- package/dist/chunks/{worktree-z027aptg.js → worktree-9pbhwmzz.js} +41 -41
- package/dist/chunks/{worktree-3trbxeqx.js → worktree-a54cm72e.js} +1 -1
- package/dist/chunks/{worktree-nnn1sa7c.js → worktree-a81erjcz.js} +17 -17
- package/dist/chunks/{worktree-c2bnm6k2.js → worktree-aw7fybkd.js} +4 -4
- package/dist/chunks/{worktree-cqja50m8.js → worktree-b7qepvza.js} +4 -4
- package/dist/chunks/{worktree-gst7axd9.js → worktree-baaqp4zd.js} +3 -3
- package/dist/chunks/{worktree-tsjq9kym.js → worktree-bf5zf3k6.js} +22 -22
- package/dist/chunks/{worktree-fxqygnfa.js → worktree-bha4atvq.js} +1 -1
- package/dist/chunks/{worktree-cewmsarv.js → worktree-bsn55ndq.js} +21 -21
- package/dist/chunks/{worktree-2gydx7a7.js → worktree-bz2gz0gx.js} +7 -7
- package/dist/chunks/{worktree-k2h4r4s0.js → worktree-cavr175a.js} +3 -3
- package/dist/chunks/{worktree-vypqtakx.js → worktree-ceanckhm.js} +1 -1
- package/dist/chunks/{worktree-81zaz4ac.js → worktree-cwyfgkk1.js} +39 -39
- package/dist/chunks/{worktree-n8fan464.js → worktree-d73e9djv.js} +27 -27
- package/dist/chunks/{worktree-e9x29tk8.js → worktree-d99x89gq.js} +10 -10
- package/dist/chunks/{worktree-93x798nw.js → worktree-d9sn21bc.js} +1 -1
- package/dist/chunks/{worktree-nhvhf6q8.js → worktree-dep21bfz.js} +3 -3
- package/dist/chunks/{worktree-zsedakp3.js → worktree-dfzyx3vm.js} +6 -6
- package/dist/chunks/{worktree-2bbm4yb8.js → worktree-dj33xrhc.js} +17 -17
- package/dist/chunks/{worktree-cpaskrdq.js → worktree-dsk24zyn.js} +24 -24
- package/dist/chunks/worktree-dt3c0xg5.js +22 -0
- package/dist/chunks/{worktree-ht5y0zrb.js → worktree-dxj72tfx.js} +4 -4
- package/dist/chunks/{worktree-1z0pzthf.js → worktree-dz46kn0c.js} +1 -1
- package/dist/chunks/{worktree-q6r44qt1.js → worktree-e5sghx2m.js} +1 -1
- package/dist/chunks/{worktree-mrw4weg4.js → worktree-e7f0s3sx.js} +4 -4
- package/dist/chunks/{worktree-nhy5jxhy.js → worktree-e82z9tr0.js} +6 -6
- package/dist/chunks/{worktree-02nrjc1r.js → worktree-eaj1djv9.js} +3 -3
- package/dist/chunks/{worktree-34rkz0x9.js → worktree-edrmdtr5.js} +3 -3
- package/dist/chunks/{worktree-2eadnc11.js → worktree-efywkr4m.js} +25 -25
- package/dist/chunks/{worktree-mzcj9rt6.js → worktree-ehzmktfy.js} +20 -20
- package/dist/chunks/{worktree-47t1zbrj.js → worktree-enae0pqt.js} +6 -6
- package/dist/chunks/{worktree-54cxa91y.js → worktree-et0ngb76.js} +3 -3
- package/dist/chunks/{worktree-axcvnh6x.js → worktree-etbytr9f.js} +19 -19
- package/dist/chunks/{worktree-1c2y2rkk.js → worktree-ex6wht0f.js} +7 -7
- package/dist/chunks/{worktree-47b9yvnx.js → worktree-f4hvcdyc.js} +18 -18
- package/dist/chunks/{worktree-hch7hs3h.js → worktree-f59qb7z8.js} +10 -10
- package/dist/chunks/{worktree-xaqsqef1.js → worktree-f7ng0avf.js} +14 -14
- package/dist/chunks/{worktree-g2r6x3tk.js → worktree-fan4hwvp.js} +10 -10
- package/dist/chunks/{worktree-qc69zkx6.js → worktree-fbnvfbcr.js} +26 -26
- package/dist/chunks/{worktree-h48cjffy.js → worktree-fdkcz4j4.js} +16 -16
- package/dist/chunks/{worktree-g44j0cq6.js → worktree-fjsew8y4.js} +18 -18
- package/dist/chunks/{worktree-wsgy8dtq.js → worktree-fmtcp64w.js} +56 -56
- package/dist/chunks/{worktree-fs5d0kpm.js → worktree-fxr0k3ej.js} +26 -26
- package/dist/chunks/{worktree-09xs0kpr.js → worktree-g1f7p4xr.js} +35 -35
- package/dist/chunks/{worktree-0pnwce6d.js → worktree-g5z572jc.js} +20 -20
- package/dist/chunks/{worktree-kt1ecy0s.js → worktree-gb17qnes.js} +26 -26
- package/dist/chunks/{worktree-3fc6dm20.js → worktree-gdvy8fx6.js} +3 -3
- package/dist/chunks/{worktree-wbkyxrgf.js → worktree-gg7pg1rj.js} +3 -3
- package/dist/chunks/{worktree-bb7ds5b0.js → worktree-ggr3x0mq.js} +13 -13
- package/dist/chunks/{worktree-nwbet28h.js → worktree-gqt4stpv.js} +7 -7
- package/dist/chunks/{worktree-c0ewq7ys.js → worktree-h1201fn2.js} +14 -14
- package/dist/chunks/{worktree-jrf7w1sk.js → worktree-hapy5g3w.js} +4 -4
- package/dist/chunks/{worktree-a4wsc5ch.js → worktree-hcryep5n.js} +6 -6
- package/dist/chunks/{worktree-nqdxr6ky.js → worktree-hd849z55.js} +1 -1
- package/dist/chunks/{worktree-72bhgy2p.js → worktree-hf4cy5d5.js} +22 -22
- package/dist/chunks/{worktree-7f1zm8xr.js → worktree-hv82z4gy.js} +10 -10
- package/dist/chunks/{worktree-xd2p8b6x.js → worktree-j47svp76.js} +4 -4
- package/dist/chunks/{worktree-pdyh4aae.js → worktree-j7k24pbc.js} +18 -18
- package/dist/chunks/{worktree-539jk4fq.js → worktree-j7wq2tw5.js} +3 -3
- package/dist/chunks/{worktree-h538v51m.js → worktree-j8n86hs1.js} +20 -20
- package/dist/chunks/{worktree-we8gksts.js → worktree-jb4hwekh.js} +13 -13
- package/dist/chunks/{worktree-s1ht2sg9.js → worktree-jbeqfmv6.js} +21 -21
- package/dist/chunks/{worktree-5trk58xb.js → worktree-jdh6s7jq.js} +7 -7
- package/dist/chunks/{worktree-dc6hwzzt.js → worktree-jjxpfn67.js} +50 -50
- package/dist/chunks/{worktree-byda3mc6.js → worktree-jkzabyxv.js} +7 -7
- package/dist/chunks/{worktree-kqd2wwpf.js → worktree-jnmqjdkf.js} +3 -3
- package/dist/chunks/{worktree-yve3c8px.js → worktree-jr0w00x6.js} +32 -32
- package/dist/chunks/{worktree-884je023.js → worktree-jy5v7e4m.js} +52 -52
- package/dist/chunks/{worktree-244mw7cq.js → worktree-k0kes8vm.js} +30 -30
- package/dist/chunks/{worktree-5ak723ww.js → worktree-kexm4n6m.js} +9 -9
- package/dist/chunks/{worktree-yn5pc3yf.js → worktree-kgxk992x.js} +15 -15
- package/dist/chunks/{worktree-nyy8pdp4.js → worktree-ks9r2606.js} +23 -23
- package/dist/chunks/{worktree-h2gyv3sg.js → worktree-kx71qmfd.js} +1 -1
- package/dist/chunks/{worktree-0bqrjw7h.js → worktree-kyamxspj.js} +6 -6
- package/dist/chunks/{worktree-j0eba36x.js → worktree-m1m1txre.js} +40 -40
- package/dist/chunks/{worktree-qfzde7bh.js → worktree-m2manvsf.js} +5 -5
- package/dist/chunks/{worktree-nx4935gj.js → worktree-m2wv8ykr.js} +11 -11
- package/dist/chunks/{worktree-84tssp1s.js → worktree-m3g11tvf.js} +7 -7
- package/dist/chunks/{worktree-qzkqxs9z.js → worktree-mcrth2bg.js} +8 -8
- package/dist/chunks/{worktree-sxs9szdh.js → worktree-me1mq5zn.js} +27 -27
- package/dist/chunks/{worktree-tn4hkw1v.js → worktree-mkyhyqbc.js} +30 -30
- package/dist/chunks/{worktree-bf84bve4.js → worktree-mmg38rnz.js} +165 -165
- package/dist/chunks/{worktree-yhrpggw5.js → worktree-mw16jd8v.js} +7 -7
- package/dist/chunks/{worktree-dxag5rg4.js → worktree-mzbvs37z.js} +7 -7
- package/dist/chunks/{worktree-c8r0p240.js → worktree-n1qkhzt6.js} +12 -12
- package/dist/chunks/{worktree-2ggpg6at.js → worktree-n2rf99bc.js} +21 -21
- package/dist/chunks/{worktree-jefma2gq.js → worktree-nbddwgy7.js} +7 -7
- package/dist/chunks/{worktree-swhf355t.js → worktree-nf98eega.js} +13 -13
- package/dist/chunks/{worktree-0fyqfvqt.js → worktree-nhpkhfw8.js} +20 -20
- package/dist/chunks/{worktree-74argw2a.js → worktree-nt7ny3vf.js} +22 -22
- package/dist/chunks/{worktree-fdhw24dr.js → worktree-nx9fcjx2.js} +33 -33
- package/dist/chunks/{worktree-yapytcgw.js → worktree-p1bhyryy.js} +6 -6
- package/dist/chunks/{worktree-0f9afca0.js → worktree-p44d8wdy.js} +3 -3
- package/dist/chunks/{worktree-crm0qphm.js → worktree-p6vhw81v.js} +9 -9
- package/dist/chunks/{worktree-twrvq24m.js → worktree-paqdzpve.js} +26 -26
- package/dist/chunks/{worktree-y13khpec.js → worktree-pda56gn5.js} +11 -11
- package/dist/chunks/{worktree-mz61je2n.js → worktree-psyj660w.js} +8 -8
- package/dist/chunks/{worktree-edme2h3e.js → worktree-pt3jfr41.js} +8 -8
- package/dist/chunks/{worktree-3y4zrqv5.js → worktree-pztj2cvn.js} +12 -12
- package/dist/chunks/{worktree-7qq57c1m.js → worktree-q2t36530.js} +7 -7
- package/dist/chunks/{worktree-v3psvfd1.js → worktree-q6dht6b8.js} +24 -24
- package/dist/chunks/{worktree-v2xpgazf.js → worktree-qhrw8p3b.js} +5 -5
- package/dist/chunks/{worktree-zxkpyd1k.js → worktree-qj8a3ybw.js} +5 -5
- package/dist/chunks/{worktree-tw3b2c1y.js → worktree-qsfs49vc.js} +80 -80
- package/dist/chunks/{worktree-esdnemd6.js → worktree-qvgcjadf.js} +1 -1
- package/dist/chunks/{worktree-k6z6zgfk.js → worktree-qwkytnft.js} +4 -4
- package/dist/chunks/{worktree-wx9wy1qm.js → worktree-rfnzy394.js} +1 -1
- package/dist/chunks/{worktree-2310gy7k.js → worktree-rq2m1hnf.js} +15 -15
- package/dist/chunks/{worktree-c34h00rm.js → worktree-rzse8s8s.js} +19 -19
- package/dist/chunks/{worktree-5xyve7h3.js → worktree-sdva1t93.js} +25 -25
- package/dist/chunks/{worktree-kd5sw36g.js → worktree-sfbj4knz.js} +7 -7
- package/dist/chunks/{worktree-81enad2h.js → worktree-swqq1grb.js} +1 -1
- package/dist/chunks/{worktree-9k2v62xn.js → worktree-sxc4n3b4.js} +1 -1
- package/dist/chunks/{worktree-c78bbtc9.js → worktree-t0fxg8b9.js} +3 -3
- package/dist/chunks/{worktree-2zjkjrap.js → worktree-t0msmdsn.js} +14 -14
- package/dist/chunks/{worktree-p1wf2k30.js → worktree-t0x5rdq8.js} +7 -7
- package/dist/chunks/{worktree-0nz9pv5r.js → worktree-t5sxkdg8.js} +30 -30
- package/dist/chunks/{worktree-6wc2ywbc.js → worktree-t7pm3pdd.js} +11 -11
- package/dist/chunks/{worktree-y5p6jryx.js → worktree-t7xstbkq.js} +3 -3
- package/dist/chunks/{worktree-1dhk6hmk.js → worktree-t8k0wgen.js} +11 -11
- package/dist/chunks/{worktree-arv4s5vt.js → worktree-tby7n86s.js} +42 -42
- package/dist/chunks/{worktree-jqdzd9z8.js → worktree-tezvarmp.js} +11 -11
- package/dist/chunks/{worktree-gngqx6ca.js → worktree-tfj258z8.js} +23 -23
- package/dist/chunks/{worktree-mn22b81s.js → worktree-trwfvtm6.js} +13 -13
- package/dist/chunks/{worktree-nzwz8brh.js → worktree-txqj87x6.js} +17 -17
- package/dist/chunks/{worktree-ya8x3fj2.js → worktree-ty151b2e.js} +11 -11
- package/dist/chunks/{worktree-b293fxw2.js → worktree-vdehrbvs.js} +36 -36
- package/dist/chunks/{worktree-msdm1bd1.js → worktree-vh076mqk.js} +17 -17
- package/dist/chunks/{worktree-pyakq9xe.js → worktree-vvgctfdq.js} +8 -8
- package/dist/chunks/{worktree-wewgh3cc.js → worktree-w1ad28wa.js} +7 -7
- package/dist/chunks/{worktree-yj5yszst.js → worktree-w1cjc361.js} +12 -12
- package/dist/chunks/{worktree-rsdf2nvv.js → worktree-w1k39n5e.js} +3 -3
- package/dist/chunks/{worktree-hb79c5eb.js → worktree-w2pgmj82.js} +7 -7
- package/dist/chunks/worktree-w6vhhse3.js +247 -0
- package/dist/chunks/{worktree-wtez2wwh.js → worktree-wnbnthsg.js} +4 -4
- package/dist/chunks/{worktree-6fdj6kdr.js → worktree-wtkpn8tp.js} +2 -2
- package/dist/chunks/{worktree-n6a4148r.js → worktree-x05hx5mx.js} +2 -2
- package/dist/chunks/{worktree-bqd37ks9.js → worktree-x3af3qht.js} +8 -8
- package/dist/chunks/{worktree-7b15y959.js → worktree-x3et2xth.js} +7 -7
- package/dist/chunks/{worktree-x1b4jc5q.js → worktree-xb08yn7h.js} +27 -27
- package/dist/chunks/{worktree-q9h22sj1.js → worktree-xhm4y6wv.js} +21 -21
- package/dist/chunks/{worktree-qezjrgcf.js → worktree-xjgcvsjt.js} +17 -17
- package/dist/chunks/{worktree-y869hese.js → worktree-xkskprjp.js} +26 -26
- package/dist/chunks/{worktree-6t3tdbke.js → worktree-xvarwbkw.js} +11 -11
- package/dist/chunks/{worktree-nj8r009v.js → worktree-y2a9qway.js} +15 -15
- package/dist/chunks/{worktree-9cdxmsp5.js → worktree-y2e61msj.js} +37 -37
- package/dist/chunks/{worktree-6cnhqcb5.js → worktree-y6qp2ybc.js} +30 -30
- package/dist/chunks/{worktree-dykjtkm6.js → worktree-y91xqvp5.js} +8 -8
- package/dist/chunks/{worktree-vdc5d1rg.js → worktree-yefxppqx.js} +12 -12
- package/dist/chunks/{worktree-35agz59w.js → worktree-yr02nea7.js} +5 -5
- package/dist/chunks/{worktree-r7kds8hk.js → worktree-yse482wb.js} +4 -4
- package/dist/chunks/{worktree-3h1qna2c.js → worktree-z1cvmk2p.js} +11 -11
- package/dist/chunks/{worktree-2h5ywktg.js → worktree-z2333xw5.js} +10 -10
- package/dist/chunks/{worktree-vxsx0exv.js → worktree-z5vzydcd.js} +49 -49
- package/dist/chunks/worktree-z926abd4.js +4 -0
- package/dist/chunks/{worktree-vabb23s0.js → worktree-z92e5j38.js} +1 -1
- package/dist/chunks/{worktree-0c6ktq3y.js → worktree-za9cx4qh.js} +6 -6
- package/dist/chunks/{worktree-zr3qrszr.js → worktree-zbxt5nxa.js} +16 -16
- package/dist/chunks/{worktree-1afrw49r.js → worktree-zc2n0ndy.js} +10 -10
- package/dist/chunks/{worktree-wgr81hh0.js → worktree-zez8w2s0.js} +30 -30
- package/dist/chunks/{worktree-w74v902z.js → worktree-zgcjn2bs.js} +22 -22
- package/dist/chunks/{worktree-0rstx4q2.js → worktree-zznp8j5v.js} +2 -2
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/command.js +61 -61
- package/dist/config/discovery.js +52 -52
- package/dist/config/normalize.js +15 -15
- package/dist/config/plugin/agent.js +80 -80
- package/dist/config/plugin/command.js +162 -162
- package/dist/config/plugin/compaction.js +116 -116
- package/dist/config/plugin/formatter.js +82 -82
- package/dist/config/plugin/image.js +80 -80
- package/dist/config/plugin/instruction.js +58 -58
- package/dist/config/plugin/location-watcher.js +82 -82
- package/dist/config/plugin/mcp.js +87 -87
- package/dist/config/plugin/policy.js +79 -79
- package/dist/config/plugin/provider.js +78 -78
- package/dist/config/plugin/reference.js +81 -81
- package/dist/config/plugin/shell.js +81 -81
- package/dist/config/plugin/skill-file.js +68 -68
- package/dist/config/plugin/skill.js +97 -97
- package/dist/config/plugin/snapshot.js +80 -80
- package/dist/config/plugin/source.js +80 -80
- package/dist/config/plugin/tool-output.js +81 -81
- package/dist/config/plugin/websearch.js +78 -78
- package/dist/config/plugin/worktree.js +81 -81
- package/dist/config.js +85 -85
- package/dist/credential.js +58 -58
- package/dist/database/database.js +50 -50
- package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +8 -8
- package/dist/database/drizzle/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/db.js +6 -6
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +7 -7
- package/dist/database/drizzle.js +10 -10
- package/dist/database/migration.gen.js +34 -34
- package/dist/database/migration.js +35 -35
- package/dist/database/v1-migration.bun.js +12 -12
- package/dist/effect/app-node-builder.js +230 -230
- package/dist/environment/environment.js +60 -60
- package/dist/environment/index.js +62 -62
- package/dist/event-logger.js +13 -13
- package/dist/file-access.js +71 -71
- package/dist/file-mutation.js +61 -61
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +177 -177
- package/dist/filesystem/search.js +62 -62
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +63 -63
- package/dist/form.js +62 -62
- package/dist/formatter.js +59 -59
- package/dist/generate.js +66 -66
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/responses/openai-responses-language-model.js +8 -8
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +295 -295
- package/dist/instruction-discovery.js +62 -62
- package/dist/instructions/builtins.js +57 -57
- package/dist/instructions/index.js +3 -3
- package/dist/integration.js +63 -63
- package/dist/job.js +56 -56
- package/dist/kv.js +51 -51
- package/dist/location-activity.js +56 -56
- package/dist/location-mutation.js +29 -29
- package/dist/location-service-map.js +56 -56
- package/dist/location-services.js +291 -291
- package/dist/location.js +55 -55
- package/dist/mcp/client.js +16 -16
- package/dist/mcp/index.js +73 -73
- package/dist/mcp/instructions.js +89 -89
- package/dist/mcp/stdio.js +57 -57
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +63 -63
- package/dist/model.js +8 -8
- package/dist/models-dev.js +64 -64
- package/dist/permission/saved.js +57 -57
- package/dist/permission.js +78 -78
- package/dist/persistent-pty/index.js +64 -64
- package/dist/persistent-pty.js +50 -50
- package/dist/plugin/agent.js +69 -69
- package/dist/plugin/command.js +64 -64
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +168 -168
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +268 -268
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +53 -53
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +69 -69
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +83 -83
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +82 -82
- package/dist/plugin/provider/cloudflare-workers-ai.js +82 -82
- package/dist/plugin/provider/configured.js +80 -80
- package/dist/plugin/provider/digitalocean.js +55 -55
- package/dist/plugin/provider/github-copilot.js +57 -57
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +53 -53
- package/dist/plugin/provider/lmstudio.js +81 -81
- package/dist/plugin/provider/modal.js +56 -56
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +83 -83
- package/dist/plugin/provider/openai.js +54 -54
- package/dist/plugin/provider/opencode.js +55 -55
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/poe.js +52 -52
- package/dist/plugin/provider/sap-ai-core.js +2 -2
- package/dist/plugin/provider/snowflake-cortex.js +82 -82
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +83 -83
- package/dist/plugin/provider/xai.js +54 -54
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +118 -118
- package/dist/plugin/sdk.js +52 -52
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +97 -97
- package/dist/plugin/supervisor.js +282 -282
- package/dist/plugin/update.js +5 -5
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +56 -56
- package/dist/plugin/vcs/hg.js +56 -56
- package/dist/plugin/warming.js +78 -78
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +7 -7
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +178 -178
- package/dist/project.js +54 -54
- package/dist/provider.js +7 -7
- package/dist/pty/schema.js +3 -3
- package/dist/pty.js +67 -67
- package/dist/reference/instructions.js +60 -60
- package/dist/reference.js +60 -60
- package/dist/repository-cache.js +53 -53
- package/dist/ripgrep.js +61 -61
- package/dist/rpc.js +56 -56
- package/dist/session/command.js +52 -52
- package/dist/session/compaction.js +93 -93
- package/dist/session/context.js +111 -111
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +117 -117
- package/dist/session/execution.js +94 -94
- package/dist/session/generate.js +112 -112
- package/dist/session/history.js +6 -6
- package/dist/session/inbox.js +59 -59
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +54 -54
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +64 -64
- package/dist/session/model-request.js +77 -77
- package/dist/session/model-transport.js +3 -3
- package/dist/session/move.js +94 -94
- package/dist/session/projector.js +55 -55
- package/dist/session/prompt.js +71 -71
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +57 -57
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +174 -174
- package/dist/session/runner/model.js +63 -63
- package/dist/session/runner/retry.js +78 -78
- package/dist/session/runner/step.js +86 -86
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +127 -127
- package/dist/session/shell.js +93 -93
- package/dist/session/skill.js +70 -70
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +60 -60
- package/dist/session/subagent-job.js +159 -159
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +110 -110
- package/dist/session/to-session-error.js +77 -77
- package/dist/session/transfer.js +117 -117
- package/dist/session.js +168 -168
- package/dist/shell/parse.js +2 -2
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +96 -96
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +70 -70
- package/dist/skill.js +77 -77
- package/dist/snapshot.js +59 -59
- package/dist/tool/mcp.js +86 -86
- package/dist/tool/plugin/edit.js +83 -83
- package/dist/tool/plugin/glob.js +82 -82
- package/dist/tool/plugin/grep.js +84 -84
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +85 -85
- package/dist/tool/plugin/question.js +68 -68
- package/dist/tool/plugin/read.js +87 -87
- package/dist/tool/plugin/shell.js +167 -167
- package/dist/tool/plugin/skill.js +80 -80
- package/dist/tool/plugin/subagent.js +170 -170
- package/dist/tool/plugin/webfetch.js +78 -78
- package/dist/tool/plugin/websearch.js +79 -79
- package/dist/tool/plugin/write.js +85 -85
- package/dist/tool/read-filesystem.js +65 -65
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +9 -9
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +12 -12
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +3 -3
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/skills.js +3 -3
- package/dist/vcs.js +59 -59
- package/dist/websearch.js +56 -56
- package/dist/wellknown/plugin.js +52 -52
- package/dist/wellknown.js +55 -55
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace.js +58 -58
- package/dist/worktree/git.js +4 -4
- package/dist/worktree/refresh.js +283 -283
- package/dist/worktree.js +64 -64
- package/package.json +8 -8
- package/dist/chunks/worktree-0mesazry.js +0 -4
- package/dist/chunks/worktree-fe4ks3ds.js +0 -462
- package/dist/chunks/worktree-gm7vsq7q.js +0 -247
- package/dist/chunks/worktree-xc139tzx.js +0 -22
- /package/dist/chunks/{worktree-468dtmg8.js → worktree-0cj21tsq.js} +0 -0
- /package/dist/chunks/{worktree-q5xvhvda.js → worktree-3cdjp2z1.js} +0 -0
- /package/dist/chunks/{worktree-sadxt2pa.js → worktree-4rx8c3z8.js} +0 -0
- /package/dist/chunks/{worktree-9b00c1fb.js → worktree-9w4ppqge.js} +0 -0
|
@@ -5,28 +5,28 @@ import {
|
|
|
5
5
|
RelativePath2
|
|
6
6
|
} from "./worktree-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./worktree-
|
|
8
|
+
Service75
|
|
9
|
+
} from "./worktree-trwfvtm6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./worktree-
|
|
11
|
+
Service43
|
|
12
|
+
} from "./worktree-rzse8s8s.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./worktree-
|
|
15
|
+
Service22
|
|
16
|
+
} from "./worktree-t7pm3pdd.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./worktree-
|
|
23
|
+
} from "./worktree-89y6ec7x.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./worktree-
|
|
25
|
+
Service71
|
|
26
|
+
} from "./worktree-jy5v7e4m.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./worktree-
|
|
28
|
+
Service70
|
|
29
|
+
} from "./worktree-zbxt5nxa.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
32
|
} from "./worktree-9rqn6x4v.js";
|
|
@@ -35,17 +35,17 @@ import {
|
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
38
|
+
Input: () => Input8,
|
|
39
|
+
Output: () => Output5,
|
|
40
|
+
Plugin: () => Plugin22,
|
|
41
|
+
name: () => name8,
|
|
42
42
|
toModelContent: () => toModelContent4
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name8 = "grep";
|
|
48
|
+
var Input8 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,7 +65,7 @@ var Input5 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
68
|
+
var Output5 = Schema.Array(Match2);
|
|
69
69
|
var toModelContent4 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin22 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service43;
|
|
90
|
+
const ripgrep = yield* Service22;
|
|
91
|
+
const location = yield* Service75;
|
|
92
|
+
const access = yield* Service70;
|
|
93
|
+
const permission = yield* Service71;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name8,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input8,
|
|
99
|
+
output: Output5,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name8,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -154,4 +154,4 @@ var Plugin5 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name8, Input8, Output5, toModelContent4, Plugin22, exports_grep };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2
|
|
5
|
-
} from "./worktree-
|
|
5
|
+
} from "./worktree-m3g11tvf.js";
|
|
6
6
|
|
|
7
7
|
// src/plugin/provider/google-vertex.ts
|
|
8
8
|
import { Effect } from "effect";
|
|
@@ -39,7 +39,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
39
39
|
for (const item of evt.provider.list()) {
|
|
40
40
|
if (!isAISDK2(item.provider.package))
|
|
41
41
|
continue;
|
|
42
|
-
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id ===
|
|
42
|
+
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID11.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
|
|
43
43
|
continue;
|
|
44
44
|
const project = resolveProject(item.provider.settings ?? {});
|
|
45
45
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -56,7 +56,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
59
|
-
if (evt.model.providerID ===
|
|
59
|
+
if (evt.model.providerID === ID11.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
|
|
60
60
|
evt.options.fetch = authFetch(evt.options.fetch);
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
@@ -87,7 +87,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
87
87
|
});
|
|
88
88
|
}));
|
|
89
89
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
90
|
-
if (evt.model.providerID !==
|
|
90
|
+
if (evt.model.providerID !== ID11.googleVertex)
|
|
91
91
|
return;
|
|
92
92
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
93
93
|
}));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./worktree-
|
|
3
|
+
Service40
|
|
4
|
+
} from "./worktree-tby7n86s.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./worktree-
|
|
6
|
+
Service67
|
|
7
|
+
} from "./worktree-yefxppqx.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
10
|
} from "./worktree-qsdy395h.js";
|
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
var exports_shell2 = {};
|
|
17
17
|
__export(exports_shell2, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin32
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin32 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service40;
|
|
27
|
+
const shell = yield* Service67;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin43 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin32, exports_shell2 };
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
UnsupportedPackageError3,
|
|
4
4
|
UnresolvedProviderVariablesError3,
|
|
5
5
|
UnsupportedCompactionError3,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./worktree-
|
|
6
|
+
Service55,
|
|
7
|
+
node60
|
|
8
|
+
} from "./worktree-m1m1txre.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./worktree-
|
|
11
|
+
} from "./worktree-j7wq2tw5.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
14
|
} from "./worktree-9rqn6x4v.js";
|
|
@@ -18,13 +18,13 @@ var exports_model = {};
|
|
|
18
18
|
__export(exports_model, {
|
|
19
19
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
20
20
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service52,
|
|
22
22
|
SessionRunnerModel: () => exports_model,
|
|
23
23
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
24
24
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
25
25
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
26
26
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node57,
|
|
28
28
|
resolved: () => resolved2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var UnsupportedPackageError2 = UnsupportedPackageError3;
|
|
|
51
51
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
52
52
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service52 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
55
55
|
}
|
|
56
56
|
var resolved2 = (model, options) => ({
|
|
57
57
|
model,
|
|
@@ -66,9 +66,9 @@ var resolved2 = (model, options) => ({
|
|
|
66
66
|
compaction: options.compaction,
|
|
67
67
|
websocket: options.websocket ?? true
|
|
68
68
|
});
|
|
69
|
-
var layer = Layer.effect(
|
|
70
|
-
const resolver = yield*
|
|
71
|
-
return
|
|
69
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
70
|
+
const resolver = yield* Service55;
|
|
71
|
+
return Service52.of({
|
|
72
72
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
73
73
|
if (!session.model) {
|
|
74
74
|
const resolved = yield* resolver.resolve();
|
|
@@ -86,6 +86,6 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
86
86
|
})
|
|
87
87
|
});
|
|
88
88
|
}));
|
|
89
|
-
var
|
|
89
|
+
var node57 = makeLocationNode({ service: Service52, layer, deps: [node60] });
|
|
90
90
|
|
|
91
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
91
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service52, resolved2, node57, exports_model };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./worktree-
|
|
6
|
+
} from "./worktree-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./worktree-
|
|
11
|
+
} from "./worktree-gdvy8fx6.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
14
|
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
17
|
+
var exports_instructions5 = {};
|
|
18
|
+
__export(exports_instructions5, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions5,
|
|
20
|
+
make: () => make14,
|
|
21
|
+
render: () => render3,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -34,7 +34,7 @@ Call \`search(...)\` to discover exact paths and signatures for additional tools
|
|
|
34
34
|
- ${searchSignature}` : ""}
|
|
35
35
|
|
|
36
36
|
## Available tools`;
|
|
37
|
-
function
|
|
37
|
+
function render3(catalog) {
|
|
38
38
|
if (catalog.total === 0)
|
|
39
39
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
40
40
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -48,7 +48,7 @@ ${tools.join(`
|
|
|
48
48
|
function update3(previous, current) {
|
|
49
49
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
50
50
|
|
|
51
|
-
${
|
|
51
|
+
${render3(current)}`;
|
|
52
52
|
if (current.total === 0)
|
|
53
53
|
return replacement;
|
|
54
54
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -113,18 +113,18 @@ ${render2(current)}`;
|
|
|
113
113
|
}
|
|
114
114
|
var key = Key4.make("core/codemode");
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
|
-
var
|
|
116
|
+
var make14 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
|
-
return
|
|
118
|
+
return make21({
|
|
119
119
|
key,
|
|
120
120
|
codec,
|
|
121
121
|
read: Effect.succeed(catalog),
|
|
122
122
|
render: {
|
|
123
|
-
initial:
|
|
123
|
+
initial: render3,
|
|
124
124
|
changed: update3,
|
|
125
125
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { render3, update3, make14, exports_instructions5 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./worktree-
|
|
2
|
+
Service78
|
|
3
|
+
} from "./worktree-0kjjkgrz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./worktree-
|
|
5
|
+
Service65
|
|
6
|
+
} from "./worktree-z1cvmk2p.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
inherit2
|
|
12
12
|
} from "./worktree-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service31,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./worktree-
|
|
16
|
+
} from "./worktree-dxj72tfx.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./worktree-
|
|
21
|
+
} from "./worktree-mmg38rnz.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./worktree-9rqn6x4v.js";
|
|
@@ -27,22 +27,22 @@ import {
|
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
29
|
Event: () => Event4,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID2,
|
|
31
|
+
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service31,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node21
|
|
38
38
|
});
|
|
39
|
-
import { Event as Event4, ID as
|
|
39
|
+
import { Event as Event4, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service78;
|
|
45
|
+
const kv = yield* Service65;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service31.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node21 = Node.makeLocationNode({
|
|
226
|
+
service: Service31,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node21, exports_plugin2, Event4, ID2, Info2, Source2, State2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./worktree-
|
|
2
|
+
Service40
|
|
3
|
+
} from "./worktree-tby7n86s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./worktree-
|
|
5
|
+
Service12
|
|
6
|
+
} from "./worktree-t0x5rdq8.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
9
|
} from "./worktree-qsdy395h.js";
|
|
@@ -12,18 +12,18 @@ import {
|
|
|
12
12
|
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher = {};
|
|
16
|
+
__export(exports_location_watcher, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
+
Plugin: () => Plugin30
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin30 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service40;
|
|
26
|
+
const policy = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin27 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin30, exports_location_watcher };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./worktree-
|
|
2
|
+
Service63
|
|
3
|
+
} from "./worktree-ks9r2606.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./worktree-
|
|
5
|
+
Service53
|
|
6
|
+
} from "./worktree-m2manvsf.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./worktree-
|
|
9
|
+
} from "./worktree-dxj72tfx.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
12
|
} from "./worktree-9rqn6x4v.js";
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service53;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service63), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service80,
|
|
3
|
-
node85
|
|
4
|
-
} from "./worktree-g2r6x3tk.js";
|
|
5
1
|
import {
|
|
6
2
|
Service79,
|
|
7
3
|
node84
|
|
8
|
-
} from "./worktree-
|
|
4
|
+
} from "./worktree-fan4hwvp.js";
|
|
5
|
+
import {
|
|
6
|
+
Service78,
|
|
7
|
+
node83
|
|
8
|
+
} from "./worktree-0kjjkgrz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./worktree-
|
|
10
|
+
Service60,
|
|
11
|
+
node65
|
|
12
|
+
} from "./worktree-3gvv7fv9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./worktree-
|
|
14
|
+
Service53,
|
|
15
|
+
node58
|
|
16
|
+
} from "./worktree-m2manvsf.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
19
|
} from "./worktree-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./worktree-
|
|
21
|
+
make17
|
|
22
|
+
} from "./worktree-1acjjqhc.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./worktree-
|
|
25
|
+
Service50
|
|
26
|
+
} from "./worktree-baaqp4zd.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./worktree-
|
|
29
|
+
} from "./worktree-qwkytnft.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./worktree-
|
|
31
|
+
Service73,
|
|
32
|
+
node78
|
|
33
|
+
} from "./worktree-1n39waag.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./worktree-
|
|
36
|
+
} from "./worktree-b7qepvza.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./worktree-
|
|
39
|
+
} from "./worktree-n2rf99bc.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
42
|
} from "./worktree-9rqn6x4v.js";
|
|
@@ -44,16 +44,16 @@ import {
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service49,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
51
|
-
noopLayer: () =>
|
|
49
|
+
layer: () => layer21,
|
|
50
|
+
node: () => node55,
|
|
51
|
+
noopLayer: () => noopLayer3,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service49 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,12 +65,12 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
71
|
-
const bus = yield*
|
|
72
|
-
const jobs = yield*
|
|
73
|
-
const db = (yield*
|
|
68
|
+
var layer21 = Layer.effect(Service49, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service73;
|
|
70
|
+
const instances = yield* Service53;
|
|
71
|
+
const bus = yield* Service78;
|
|
72
|
+
const jobs = yield* Service60;
|
|
73
|
+
const db = (yield* Service79).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
76
76
|
commit: () => store.claim(sessionID)
|
|
@@ -82,13 +82,13 @@ var layer15 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service50.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable)
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
|
-
const coordinator = yield*
|
|
91
|
+
const coordinator = yield* make17({
|
|
92
92
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
93
93
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
94
94
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -109,7 +109,7 @@ var layer15 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
109
109
|
}, releaseOnCommit(sessionID));
|
|
110
110
|
}))
|
|
111
111
|
});
|
|
112
|
-
return
|
|
112
|
+
return Service49.of({
|
|
113
113
|
active: coordinator.active,
|
|
114
114
|
isActive: coordinator.isActive,
|
|
115
115
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -128,12 +128,12 @@ var layer15 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
128
128
|
awaitIdle: coordinator.awaitIdle
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
133
|
-
layer:
|
|
134
|
-
deps: [
|
|
131
|
+
var node55 = makeGlobalNode({
|
|
132
|
+
service: Service49,
|
|
133
|
+
layer: layer21,
|
|
134
|
+
deps: [node78, node58, node83, node84, node65]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
136
|
+
var noopLayer3 = Layer.succeed(Service49, Service49.of({
|
|
137
137
|
active: Effect.succeed(new Set),
|
|
138
138
|
isActive: () => Effect.succeed(false),
|
|
139
139
|
resume: () => Effect.void,
|
|
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service36, Service36.of({
|
|
|
142
142
|
awaitIdle: () => Effect.void
|
|
143
143
|
}));
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { Service49, terminal2, layer21, node55, noopLayer3, exports_execution };
|