@opencode/core 0.0.0-dev-19754 → 0.0.0-dev-19755
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 +74 -74
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{location-tjnkxtjb.js → variant-0154zt3t.js} +129 -129
- package/dist/chunks/{location-4s40p9k7.js → variant-05r119gk.js} +23 -23
- package/dist/chunks/{location-x0809vwh.js → variant-0fzt54dc.js} +6 -6
- package/dist/chunks/{location-0ft9cg2j.js → variant-0gaj4617.js} +6 -6
- package/dist/chunks/{location-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-0q0f95c6.js → variant-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-bx7pdy00.js → variant-10x51kd0.js} +11 -11
- package/dist/chunks/{location-n6v1p1rv.js → variant-11r4b5ha.js} +11 -11
- package/dist/chunks/{location-hmp1x13k.js → variant-13dh974y.js} +2 -2
- package/dist/chunks/{location-cq9vh2fv.js → variant-15nepkqg.js} +8 -8
- package/dist/chunks/{location-4pegme4e.js → variant-1cac7wev.js} +41 -41
- package/dist/chunks/{location-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-9k0trt10.js → variant-1q4zsn8w.js} +11 -11
- package/dist/chunks/{location-nw2grrtp.js → variant-1r23n6jg.js} +30 -30
- package/dist/chunks/{location-s5g2gr5j.js → variant-1v4r0pjr.js} +14 -14
- package/dist/chunks/{location-m0r31qfn.js → variant-1y283654.js} +4 -4
- package/dist/chunks/{location-21r38tys.js → variant-21r38tys.js} +1 -1
- package/dist/chunks/{location-2402vzrj.js → variant-2402vzrj.js} +1 -1
- package/dist/chunks/{location-26k5bknw.js → variant-26k5bknw.js} +1 -1
- package/dist/chunks/{location-g4damz2s.js → variant-29eh7px0.js} +13 -13
- package/dist/chunks/{location-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-tx9w5tca.js → variant-2eegacq4.js} +8 -8
- package/dist/chunks/{location-d7b05d6k.js → variant-2f02t6at.js} +43 -43
- package/dist/chunks/{location-3w0fmcng.js → variant-2f0bjgcj.js} +5 -5
- package/dist/chunks/{location-qgn6gcr1.js → variant-2k8khapm.js} +5 -5
- package/dist/chunks/{location-9zyewfa2.js → variant-2vdhmmy2.js} +293 -293
- package/dist/chunks/{location-ccc8z42m.js → variant-2wehargz.js} +13 -13
- package/dist/chunks/{location-7ehep04d.js → variant-2wt4q6sv.js} +8 -8
- package/dist/chunks/{location-vtqj2nn1.js → variant-2z8j0phm.js} +31 -31
- package/dist/chunks/{location-5895fefb.js → variant-2zph646v.js} +6 -6
- package/dist/chunks/{location-s7dp56a3.js → variant-34mngf15.js} +47 -47
- package/dist/chunks/{location-40rqm2bh.js → variant-3as10fz9.js} +4 -4
- package/dist/chunks/{location-degw2fzn.js → variant-3ebgyt18.js} +2 -2
- package/dist/chunks/{location-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-knb7evpn.js → variant-3tq5qxbk.js} +8 -8
- package/dist/chunks/{location-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-e2f1r03f.js → variant-42cx3bd5.js} +32 -32
- package/dist/chunks/{location-44h5tttr.js → variant-44h5tttr.js} +1 -1
- package/dist/chunks/{location-p5sk6m23.js → variant-46q9e2t6.js} +25 -25
- package/dist/chunks/{location-f5fjq72r.js → variant-4r2cc09n.js} +25 -25
- package/dist/chunks/{location-m9g140gf.js → variant-4y9pqhyv.js} +4 -4
- package/dist/chunks/{location-58je2fax.js → variant-52xvjhmr.js} +9 -9
- package/dist/chunks/{location-33w4ejhs.js → variant-56gdpj1q.js} +6 -6
- package/dist/chunks/{location-drwq78ky.js → variant-57b9ws8p.js} +5 -5
- package/dist/chunks/{location-57ez7d0k.js → variant-57ez7d0k.js} +2 -2
- package/dist/chunks/{location-nqq83r9p.js → variant-5c0a4jh2.js} +52 -52
- package/dist/chunks/{location-5daktx2q.js → variant-5daktx2q.js} +1 -1
- package/dist/chunks/{location-4a5qb9ne.js → variant-5jq2p11x.js} +3 -3
- package/dist/chunks/{location-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-jv1xxs7q.js → variant-5waazmq4.js} +12 -12
- package/dist/chunks/{location-vyyew2bd.js → variant-61kgnza5.js} +31 -31
- package/dist/chunks/{location-z2xg158e.js → variant-6346gqxg.js} +11 -11
- package/dist/chunks/{location-669tq793.js → variant-669tq793.js} +1 -1
- package/dist/chunks/{location-9mnrwx6c.js → variant-69eyqcz3.js} +10 -10
- package/dist/chunks/{location-jw0h1ja3.js → variant-6fza86b1.js} +9 -9
- package/dist/chunks/{location-yt8as05q.js → variant-6jhhwrjj.js} +4 -4
- package/dist/chunks/{location-cxp0yhm4.js → variant-6jmftpwx.js} +18 -18
- package/dist/chunks/{location-6msgmcgs.js → variant-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-880p7epb.js → variant-6n4b0dsb.js} +9 -9
- package/dist/chunks/{location-t4267b90.js → variant-6tvncfhr.js} +4 -4
- package/dist/chunks/{location-jn3dn3tv.js → variant-6x3sne5z.js} +10 -10
- package/dist/chunks/{location-vx82sa08.js → variant-6x7n2evt.js} +16 -16
- package/dist/chunks/{location-mhkvc446.js → variant-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-eg1gpj3a.js → variant-75knnh2w.js} +11 -11
- package/dist/chunks/{location-fbawcmnd.js → variant-768gsh1v.js} +8 -8
- package/dist/chunks/{location-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-hyrejdvv.js → variant-84eerp93.js} +1 -1
- package/dist/chunks/{location-wm55hp8j.js → variant-87b5ab83.js} +18 -18
- package/dist/chunks/{location-6rph4hcx.js → variant-8b6mfqax.js} +9 -9
- package/dist/chunks/{location-7d5kf786.js → variant-8bpqntr2.js} +3 -3
- package/dist/chunks/{location-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-dhxed570.js → variant-8gy6y1pp.js} +17 -17
- package/dist/chunks/{location-82h62x3b.js → variant-8n2ngqz1.js} +33 -33
- package/dist/chunks/{location-8p4f9s12.js → variant-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-z0ase6az.js → variant-8tskyc8r.js} +11 -11
- package/dist/chunks/{location-ykczf8eq.js → variant-96te9d4b.js} +5 -5
- package/dist/chunks/{location-fexw5mvn.js → variant-983aazre.js} +9 -9
- package/dist/chunks/{location-8yt4q9vr.js → variant-9bm1wkqx.js} +23 -23
- package/dist/chunks/{location-mfq58xys.js → variant-9eqcqd4c.js} +7 -7
- package/dist/chunks/{location-xdtsb8mr.js → variant-9p24bb7b.js} +10 -10
- package/dist/chunks/{location-53we3s11.js → variant-9pe9ne7r.js} +13 -13
- package/dist/chunks/{location-vn7akvp0.js → variant-9wdbzsk5.js} +18 -18
- package/dist/chunks/{location-b9y9tgv9.js → variant-9yhcv9e4.js} +13 -13
- package/dist/chunks/{location-a1bz86dw.js → variant-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-n4kesxxz.js → variant-a24cc65p.js} +11 -11
- package/dist/chunks/{location-my3nbca3.js → variant-a5ypbz75.js} +3 -3
- package/dist/chunks/{location-aaet6srn.js → variant-aaet6srn.js} +2 -2
- package/dist/chunks/{location-6qr3rp4k.js → variant-adze53zs.js} +4 -4
- package/dist/chunks/{location-kxz8htra.js → variant-amt6wfs0.js} +43 -43
- package/dist/chunks/{location-ae9xvxm4.js → variant-aqagt0xn.js} +29 -29
- package/dist/chunks/{location-tbc1560d.js → variant-aqrscnf9.js} +13 -13
- package/dist/chunks/{location-7zff5f2w.js → variant-aztr3m3n.js} +19 -19
- package/dist/chunks/{location-s7j02z9m.js → variant-b1nwpeh8.js} +6 -6
- package/dist/chunks/{location-y19agrsy.js → variant-b2946ah7.js} +25 -25
- package/dist/chunks/{location-s4t99ejd.js → variant-b5f1m11j.js} +11 -11
- package/dist/chunks/{location-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-b97cbvw3.js → variant-b97cbvw3.js} +1 -1
- package/dist/chunks/{location-1ttp1ytm.js → variant-baqjdnwk.js} +8 -8
- package/dist/chunks/{location-cpwynne0.js → variant-bc17bezm.js} +18 -18
- package/dist/chunks/{location-bha4atvq.js → variant-bha4atvq.js} +4 -4
- package/dist/chunks/{location-mamkxpqt.js → variant-bjmk25e5.js} +19 -19
- package/dist/chunks/{location-c0g1hmz8.js → variant-br86fby1.js} +14 -14
- package/dist/chunks/variant-by5v678g.js +18 -0
- package/dist/chunks/{location-6r7eqvte.js → variant-c8phhc0k.js} +12 -12
- package/dist/chunks/{location-pd9nn3ne.js → variant-c99jbp8g.js} +14 -14
- package/dist/chunks/{location-cfpkc3c9.js → variant-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-5yzzbxa7.js → variant-cmwkp3r5.js} +8 -8
- package/dist/chunks/{location-npajmshb.js → variant-czncv1dn.js} +3 -3
- package/dist/chunks/{location-gwvxqpv7.js → variant-d9j1s0dk.js} +22 -22
- package/dist/chunks/{location-hbmxcjqj.js → variant-da92w30y.js} +38 -38
- package/dist/chunks/{location-8215kpvq.js → variant-dgx4jdcd.js} +80 -80
- package/dist/chunks/{location-cwa6csj7.js → variant-djszqvmq.js} +9 -9
- package/dist/chunks/{location-m479avaq.js → variant-dmzb2kh1.js} +8 -8
- package/dist/chunks/{location-3dgv3hjd.js → variant-dvyyk6h6.js} +22 -22
- package/dist/chunks/{location-60txwd5f.js → variant-dw7gtyxg.js} +10 -10
- package/dist/chunks/{location-q8peyv7x.js → variant-dwq6ryhm.js} +8 -8
- package/dist/chunks/{location-t4qbbbps.js → variant-e07bhymk.js} +33 -33
- package/dist/chunks/{location-ykjyqz5q.js → variant-e4g5679w.js} +13 -13
- package/dist/chunks/{location-9b3vnfxp.js → variant-e72xwpbb.js} +11 -11
- package/dist/chunks/{location-qfx54062.js → variant-e9nwq02x.js} +11 -11
- package/dist/chunks/{location-eaj1djv9.js → variant-eaj1djv9.js} +1 -1
- package/dist/chunks/{location-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-rb3ck9sj.js → variant-erdgrhzk.js} +5 -5
- package/dist/chunks/{location-erw5rpbs.js → variant-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-vj505gsk.js → variant-evnmj0gr.js} +19 -19
- package/dist/chunks/{location-f2dc96r8.js → variant-ez8khb7t.js} +8 -8
- package/dist/chunks/{location-f828m53h.js → variant-f828m53h.js} +2 -2
- package/dist/chunks/{location-q31adfz8.js → variant-ffy1vj08.js} +13 -13
- package/dist/chunks/{location-ndqtf2h8.js → variant-fjvydvzm.js} +6 -6
- package/dist/chunks/{location-4cc1h1mq.js → variant-fpy7bqj6.js} +3 -3
- package/dist/chunks/{location-xbra3s6q.js → variant-fwpce522.js} +33 -33
- package/dist/chunks/{location-fxbjtjnd.js → variant-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-5rj11cww.js → variant-fyxezqnx.js} +3 -3
- package/dist/chunks/{location-m81yw74a.js → variant-fzcazhxe.js} +1 -1
- package/dist/chunks/{location-a8daz2nm.js → variant-g3ca0se1.js} +20 -20
- package/dist/chunks/{location-e4s5wsx0.js → variant-g5x3nt1n.js} +23 -23
- package/dist/chunks/{location-98s8e1rw.js → variant-g6m037q6.js} +8 -8
- package/dist/chunks/{location-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-htnsynwp.js → variant-gmdh372t.js} +11 -11
- package/dist/chunks/{location-c488s98d.js → variant-gmjq4p6e.js} +12 -12
- package/dist/chunks/{location-gv6a8nnw.js → variant-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-ynnt83sx.js → variant-gvkpq563.js} +16 -16
- package/dist/chunks/{location-6kqg9tnj.js → variant-gxjafr90.js} +74 -74
- package/dist/chunks/{location-b1a82khe.js → variant-h424sj19.js} +13 -13
- package/dist/chunks/{location-9h41vc4j.js → variant-h6jr292a.js} +4 -4
- package/dist/chunks/{location-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-njhqdk9p.js → variant-h71w788e.js} +9 -9
- package/dist/chunks/{location-59t0awad.js → variant-he5m8xjt.js} +13 -13
- package/dist/chunks/{location-4ymr1qre.js → variant-hpwhafhw.js} +1 -1
- package/dist/chunks/{location-bw9zjykr.js → variant-hq8zt1th.js} +6 -6
- package/dist/chunks/{location-7kkf9gtp.js → variant-hssa1mk1.js} +6 -6
- package/dist/chunks/{location-fn5vdp5m.js → variant-htawzerg.js} +77 -77
- package/dist/chunks/{location-rny3dqzs.js → variant-hwnqw730.js} +8 -8
- package/dist/chunks/{location-aq2hhbb5.js → variant-hx8ybye2.js} +8 -8
- package/dist/chunks/{location-wyx7s1ws.js → variant-j07j1cdh.js} +40 -40
- package/dist/chunks/{location-j56e64zr.js → variant-j56e64zr.js} +1 -1
- package/dist/chunks/{location-dcse214k.js → variant-jarn1zxe.js} +6 -6
- package/dist/chunks/{location-azx4vnej.js → variant-jcxa0jkb.js} +14 -14
- package/dist/chunks/{location-hn0f0zdj.js → variant-k0crd1e0.js} +15 -15
- package/dist/chunks/{location-cavr175a.js → variant-k2h4r4s0.js} +4 -4
- package/dist/chunks/{location-1k5x2qhk.js → variant-k3an9tzv.js} +23 -23
- package/dist/chunks/{location-6rr5h8pv.js → variant-k4kk5nq6.js} +41 -41
- package/dist/chunks/{location-nfw2844t.js → variant-k5vfzq67.js} +12 -12
- package/dist/chunks/{location-n6151p29.js → variant-ka5jcpbb.js} +12 -12
- package/dist/chunks/{location-2qfd01hw.js → variant-kd66rd8f.js} +42 -42
- package/dist/chunks/{location-50pydq1b.js → variant-kjrb6qxe.js} +3 -3
- package/dist/chunks/{location-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-4qzjx893.js → variant-m4nm25j0.js} +6 -6
- package/dist/chunks/{location-bdsqc29r.js → variant-m6j00t72.js} +22 -22
- package/dist/chunks/{location-t3aez6g2.js → variant-m7qewpwr.js} +12 -12
- package/dist/chunks/{location-m7j0w58y.js → variant-m7yrkyxp.js} +8 -8
- package/dist/chunks/{location-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-rcnj0rme.js → variant-mhk0nngs.js} +33 -33
- package/dist/chunks/{location-42htsy3g.js → variant-mnpyady4.js} +49 -49
- package/dist/chunks/{location-p9xqg7t9.js → variant-mrz9s6e6.js} +9 -9
- package/dist/chunks/{location-tr0b1em8.js → variant-msy9kxmj.js} +9 -9
- package/dist/chunks/{location-9yh9j0es.js → variant-mx4tgcxr.js} +18 -18
- package/dist/chunks/{location-54btsc2b.js → variant-myd99ydh.js} +21 -21
- package/dist/chunks/{location-jp0yz35h.js → variant-mz4hn5fn.js} +10 -10
- package/dist/chunks/{location-0dx2y7e9.js → variant-n2k4sx1d.js} +39 -39
- package/dist/chunks/{location-6vfz26fc.js → variant-nk6esdp9.js} +3 -3
- package/dist/chunks/{location-efbgs6vz.js → variant-nm2vgw0w.js} +29 -29
- package/dist/chunks/{location-fhs97t90.js → variant-nq7qbqzc.js} +9 -9
- package/dist/chunks/{location-skgxmk24.js → variant-nr5pr1ka.js} +28 -28
- package/dist/chunks/{location-s8zy8myc.js → variant-nxhqveyz.js} +5 -5
- package/dist/chunks/{location-nzks3jc8.js → variant-nzks3jc8.js} +3 -3
- package/dist/chunks/{location-p28j5sbe.js → variant-p28j5sbe.js} +2 -2
- package/dist/chunks/{location-y07gmyf9.js → variant-p3ewdwpp.js} +12 -12
- package/dist/chunks/{location-praqn373.js → variant-p41gq7r8.js} +9 -9
- package/dist/chunks/{location-08f3efvy.js → variant-p5ckrkz6.js} +4 -4
- package/dist/chunks/{location-cxgtjqh0.js → variant-pembkt64.js} +2 -2
- package/dist/chunks/variant-pget6tg7.js +252 -0
- package/dist/chunks/{location-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → variant-pknna89w.js} +1 -1
- package/dist/chunks/{location-vncycja5.js → variant-pmr4s4kc.js} +4 -4
- package/dist/chunks/{location-1e0grdj1.js → variant-q9qvx5k4.js} +4 -4
- package/dist/chunks/{location-tkmwgdpd.js → variant-qa3qhgw8.js} +7 -7
- package/dist/chunks/{location-5ncvss9b.js → variant-qatfm6ce.js} +24 -24
- package/dist/chunks/{location-2cxfa0dv.js → variant-qe7hh5pt.js} +21 -21
- package/dist/chunks/{location-9x1ezptv.js → variant-qf1qmhmd.js} +34 -34
- package/dist/chunks/{location-5djjmt2r.js → variant-qr62dt95.js} +5 -5
- package/dist/chunks/{location-qsdy395h.js → variant-qsdy395h.js} +1 -1
- package/dist/chunks/{location-gg7pg1rj.js → variant-qte5z7bc.js} +5 -5
- package/dist/chunks/{location-m4fv4r77.js → variant-r176d7a5.js} +16 -16
- package/dist/chunks/{location-2a6t769v.js → variant-r17hastf.js} +26 -26
- package/dist/chunks/{location-zrvkv1b7.js → variant-r4zbqzs6.js} +26 -26
- package/dist/chunks/{location-9p3nq51p.js → variant-r714qx8e.js} +20 -20
- package/dist/chunks/{location-jdjpygpn.js → variant-r75q3gpe.js} +1 -1
- package/dist/chunks/{location-r8xr0va3.js → variant-r8xr0va3.js} +1 -1
- package/dist/chunks/{location-ymd8awj8.js → variant-r9h5kjxq.js} +1 -1
- package/dist/chunks/{location-dk38q76h.js → variant-rbwerdtn.js} +2 -2
- package/dist/chunks/{location-d1x6gan2.js → variant-rcn97vet.js} +8 -8
- package/dist/chunks/{location-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-59k38er6.js → variant-re8h066d.js} +23 -23
- package/dist/chunks/{location-4zrmry1a.js → variant-rhq1evez.js} +11 -11
- package/dist/chunks/{location-h13g856r.js → variant-s1kf21y0.js} +27 -27
- package/dist/chunks/{location-yj1rgshd.js → variant-s4wyphra.js} +24 -24
- package/dist/chunks/{location-r312qztd.js → variant-sd7tgwdz.js} +28 -28
- package/dist/chunks/{location-92pdxfkb.js → variant-stb6pav1.js} +15 -15
- package/dist/chunks/{location-vtt21ede.js → variant-sz1t3jvt.js} +5 -5
- package/dist/chunks/{location-3jvz8kdw.js → variant-szjxjngx.js} +11 -11
- package/dist/chunks/{location-gyve3rq7.js → variant-t0d015xz.js} +1 -1
- package/dist/chunks/{location-dfw05mcb.js → variant-t679ksrz.js} +14 -14
- package/dist/chunks/{location-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → variant-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → variant-tdstcens.js} +1 -1
- package/dist/chunks/{location-y6gnhzkc.js → variant-tfsrmy5e.js} +28 -28
- package/dist/chunks/{location-tvtrv512.js → variant-tvtrv512.js} +1 -1
- package/dist/chunks/{location-veqvce7d.js → variant-veqvce7d.js} +1 -1
- package/dist/chunks/{location-vmgq4x8b.js → variant-vmgq4x8b.js} +2 -2
- package/dist/chunks/{location-vmwh049b.js → variant-vmwh049b.js} +3 -3
- package/dist/chunks/{location-c0g79gjn.js → variant-vt81eaed.js} +13 -13
- package/dist/chunks/{location-g17wn8cw.js → variant-vvza37g4.js} +12 -12
- package/dist/chunks/{location-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-jvbe9kz0.js → variant-w5b9s23p.js} +9 -9
- package/dist/chunks/{location-qx8pr09x.js → variant-wa6z1zpc.js} +3 -3
- package/dist/chunks/{location-sztr4n2w.js → variant-wc0ayt6v.js} +28 -28
- package/dist/chunks/{location-wd87259q.js → variant-wd87259q.js} +1 -1
- package/dist/chunks/{location-05ygg3qe.js → variant-wjzf10yw.js} +4 -4
- package/dist/chunks/{location-8b5x2rym.js → variant-wn00c1d4.js} +7 -7
- package/dist/chunks/{location-zatg04pf.js → variant-wnedv2xw.js} +17 -17
- package/dist/chunks/{location-cv9se371.js → variant-x14pzsvy.js} +13 -13
- package/dist/chunks/{location-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-19hqpwt2.js → variant-x3a9b0cv.js} +32 -32
- package/dist/chunks/{location-4t1cgb8z.js → variant-xdkvt8cn.js} +9 -9
- package/dist/chunks/{location-tknq6q93.js → variant-xf9f43sm.js} +20 -20
- package/dist/chunks/{location-w1nh38jn.js → variant-xqn5qrhj.js} +15 -15
- package/dist/chunks/variant-xt9w0car.js +26 -0
- package/dist/chunks/{location-x7hqa4ja.js → variant-xy2jrymb.js} +17 -17
- package/dist/chunks/{location-7k4e5m1f.js → variant-xzgc5d6v.js} +15 -15
- package/dist/chunks/{location-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-470p2a86.js → variant-y6gtwkkz.js} +3 -3
- package/dist/chunks/{location-a6akvax8.js → variant-y6zv80t6.js} +3 -3
- package/dist/chunks/{location-y71avatq.js → variant-y71avatq.js} +1 -1
- package/dist/chunks/{location-6znat1zd.js → variant-yb7hxqky.js} +7 -7
- package/dist/chunks/{location-6r44w5n7.js → variant-yf0xe7xe.js} +18 -18
- package/dist/chunks/{location-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-yrznvahk.js → variant-yrznvahk.js} +2 -2
- package/dist/chunks/{location-r86jh9fw.js → variant-yv1wsmnb.js} +24 -24
- package/dist/chunks/{location-f6jdw9wk.js → variant-yxc8j9am.js} +20 -20
- package/dist/chunks/{location-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-y2vx680w.js → variant-z4n77hj8.js} +25 -25
- package/dist/chunks/{location-z63w68vq.js → variant-z63w68vq.js} +2 -2
- package/dist/chunks/{location-zee1rnkq.js → variant-zav06jzw.js} +4 -4
- package/dist/chunks/{location-zeh9ct20.js → variant-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-x4vmrnra.js → variant-zes4m6vf.js} +9 -9
- package/dist/chunks/{location-2pjqnemj.js → variant-zf13v5ha.js} +11 -11
- package/dist/chunks/{location-b54zk12g.js → variant-zg1tkmrp.js} +24 -24
- package/dist/chunks/{location-wgxkb9zp.js → variant-zk79tsjd.js} +28 -28
- package/dist/chunks/{location-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-sdep53ed.js → variant-zrjh3the.js} +13 -13
- package/dist/chunks/{location-4dhnehv0.js → variant-ztb7zmdv.js} +28 -28
- package/dist/chunks/{location-ej65p0rp.js → variant-zwzbmaqk.js} +16 -16
- package/dist/chunks/{location-tr98cyyj.js → variant-zx9yds1z.js} +21 -21
- package/dist/chunks/{location-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +89 -89
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +75 -75
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +88 -88
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +13 -13
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +88 -88
- 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 +124 -124
- package/dist/tool/plugin/edit.js +111 -111
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +115 -115
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +100 -100
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/location-619r8v3y.js +0 -18
- package/dist/chunks/location-a88bzxj7.js +0 -252
- package/dist/chunks/location-pzkt74ah.js +0 -26
- /package/dist/chunks/{location-0mesazry.js → variant-0mesazry.js} +0 -0
- /package/dist/chunks/{location-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → variant-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → variant-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → variant-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → variant-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → variant-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → variant-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5cmxdwv8.js → variant-5cmxdwv8.js} +0 -0
- /package/dist/chunks/{location-5qd3pb7m.js → variant-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → variant-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → variant-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → variant-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → variant-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → variant-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → variant-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → variant-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → variant-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → variant-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → variant-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → variant-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → variant-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → variant-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → variant-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → variant-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → variant-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → variant-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → variant-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → variant-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → variant-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → variant-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → variant-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → variant-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → variant-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → variant-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → variant-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → variant-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → variant-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → variant-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → variant-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info10,
|
|
6
|
+
ID6,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./variant-tfsrmy5e.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service62
|
|
11
|
+
} from "./variant-k4kk5nq6.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./variant-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin43,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin43 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info10.make({
|
|
434
|
+
id: ID6.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info10.make({
|
|
441
|
+
id: ID6.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service62;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin43, exports_skill3 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
17
|
Service79,
|
|
18
18
|
node83
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./variant-3ebgyt18.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service41,
|
|
22
|
+
node44
|
|
23
|
+
} from "./variant-r17hastf.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./variant-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service40,
|
|
33
|
+
node: () => node43
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service40,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node43,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service40 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
65
|
const location = yield* Service79;
|
|
66
|
-
const workspace = yield*
|
|
66
|
+
const workspace = yield* Service41;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service40.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node43 = makeLocationNode({
|
|
71
|
+
service: Service40,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node, node83,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node83, node44]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service40, node43, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-y6gtwkkz.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./variant-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service71,
|
|
17
|
+
node: () => node75
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service71 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service83).db;
|
|
26
|
-
return
|
|
26
|
+
return Service71.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node75 = makeGlobalNode({ service: Service71, layer, deps: [node87] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service71, node75, exports_kv };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node86
|
|
7
|
+
} from "./variant-gmjq4p6e.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./variant-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service83,
|
|
13
13
|
node87
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./variant-y6gtwkkz.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service81,
|
|
17
|
+
node85
|
|
18
|
+
} from "./variant-p3ewdwpp.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./variant-8p4f9s12.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./variant-cfpkc3c9.js";
|
|
25
25
|
import {
|
|
26
26
|
ID17,
|
|
27
27
|
NotFoundError11
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./variant-t679ksrz.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./variant-3ebgyt18.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service78,
|
|
34
|
+
node82
|
|
35
|
+
} from "./variant-zes4m6vf.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./variant-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
make12
|
|
42
|
+
} from "./variant-768gsh1v.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service21
|
|
45
|
+
} from "./variant-bc17bezm.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./variant-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
@@ -53,19 +53,19 @@ __export(exports_worktree2, {
|
|
|
53
53
|
CreateInput: () => CreateInput3,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event5,
|
|
57
|
+
Info: () => Info5,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service20,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node23
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -79,7 +79,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
80
|
var CreateInput3 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info5 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
@@ -94,18 +94,18 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event5 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service20 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service83;
|
|
104
104
|
const db = database.db;
|
|
105
|
-
const bus = yield*
|
|
105
|
+
const bus = yield* Service81;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
108
|
-
const gitStrategy = yield*
|
|
107
|
+
const locations = yield* Service78;
|
|
108
|
+
const gitStrategy = yield* make12;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service21).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event5.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service20.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node23 = Node.makeGlobalNode({
|
|
265
|
+
service: Service20,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node,
|
|
267
|
+
deps: [FSUtil.node, node86, node85, node87, AppProcess.node, node82]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service20, node23, exports_worktree2, OperationError2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID9
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-aqrscnf9.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-6jhhwrjj.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./variant-p3ewdwpp.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./variant-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./variant-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service56,
|
|
17
|
+
node59
|
|
18
|
+
} from "./variant-xf9f43sm.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./variant-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./variant-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event7,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info9,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service42,
|
|
35
|
+
Source: () => Source3,
|
|
36
|
+
node: () => node46
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event7 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source3 = Reference.Source;
|
|
46
|
+
var Info9 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service42 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service81;
|
|
53
|
+
const cache = yield* Service56;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info9.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info9.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service42.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node46 = makeLocationNode({
|
|
116
|
+
service: Service42,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node85, node59]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info9, Service42, node46, exports_reference2, Event7 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service12,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service12.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node14 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service12, node14, exports_discovery };
|