@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,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-y6gtwkkz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./variant-p3ewdwpp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service52,
|
|
11
|
+
node55
|
|
12
|
+
} from "./variant-8gy6y1pp.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service50,
|
|
15
|
+
node53
|
|
16
|
+
} from "./variant-hq8zt1th.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./variant-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
make18
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./variant-r8xr0va3.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service48
|
|
26
|
+
} from "./variant-zav06jzw.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./variant-vmwh049b.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service75,
|
|
32
|
+
node79
|
|
33
|
+
} from "./variant-5waazmq4.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./variant-q9qvx5k4.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./variant-re8h066d.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./variant-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service47,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer17,
|
|
50
|
+
node: () => node51,
|
|
51
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 Service47 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ 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*
|
|
68
|
+
var layer17 = Layer.effect(Service47, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service75;
|
|
70
|
+
const instances = yield* Service50;
|
|
71
|
+
const bus = yield* Service81;
|
|
72
|
+
const jobs = yield* Service52;
|
|
73
73
|
const db = (yield* Service83).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) => ({
|
|
@@ -82,7 +82,7 @@ var layer22 = Layer.effect(Service59, 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* Service48.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),
|
|
@@ -110,7 +110,7 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service47.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [
|
|
132
|
+
var node51 = makeGlobalNode({
|
|
133
|
+
service: Service47,
|
|
134
|
+
layer: layer17,
|
|
135
|
+
deps: [node79, node53, node85, node87, node55]
|
|
136
136
|
});
|
|
137
|
-
var noopLayer3 = Layer.succeed(
|
|
137
|
+
var noopLayer3 = Layer.succeed(Service47, Service47.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service59, Service59.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service47, terminal2, layer17, node51, noopLayer3, exports_execution };
|
|
@@ -2,53 +2,53 @@ import {
|
|
|
2
2
|
ID16,
|
|
3
3
|
Info31,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./variant-5cmxdwv8.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./variant-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service83,
|
|
11
11
|
node87
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-y6gtwkkz.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service81,
|
|
16
|
+
node85
|
|
17
|
+
} from "./variant-p3ewdwpp.js";
|
|
18
18
|
import {
|
|
19
19
|
Service80,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./variant-t679ksrz.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service50,
|
|
24
|
+
node53
|
|
25
|
+
} from "./variant-hq8zt1th.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./variant-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./variant-a1bz86dw.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node52
|
|
34
|
+
} from "./variant-re8h066d.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./variant-bha4atvq.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./variant-zrjh3the.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./variant-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node27
|
|
47
|
+
} from "./variant-aztr3m3n.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node69
|
|
51
|
+
} from "./variant-1q4zsn8w.js";
|
|
52
52
|
import {
|
|
53
53
|
NotFoundError10,
|
|
54
54
|
MessageNotFoundError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./variant-vmwh049b.js";
|
|
65
65
|
import {
|
|
66
66
|
ListInput5,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service75,
|
|
68
|
+
node79
|
|
69
|
+
} from "./variant-5waazmq4.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service52,
|
|
72
|
+
node55
|
|
73
|
+
} from "./variant-8gy6y1pp.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service47,
|
|
76
|
+
node51
|
|
77
|
+
} from "./variant-da92w30y.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./variant-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service32,
|
|
83
|
+
node36
|
|
84
|
+
} from "./variant-b5f1m11j.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./variant-r176d7a5.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./variant-m7yrkyxp.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service78,
|
|
93
|
+
node82
|
|
94
|
+
} from "./variant-zes4m6vf.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service23,
|
|
100
|
+
node26
|
|
101
|
+
} from "./variant-5c0a4jh2.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service39,
|
|
104
|
+
node42
|
|
105
|
+
} from "./variant-15nepkqg.js";
|
|
106
106
|
import {
|
|
107
107
|
make13
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./variant-1r23n6jg.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./variant-10x51kd0.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./variant-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -132,13 +132,13 @@ __export(exports_session, {
|
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
133
|
NotFoundError: () => NotFoundError10,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service22,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node25
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -149,26 +149,26 @@ import path from "path";
|
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
151
|
var ListInput3 = ListInput5;
|
|
152
|
-
class
|
|
152
|
+
class Service22 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service83;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
158
|
+
const bus = yield* Service81;
|
|
159
159
|
const projects = yield* Service80;
|
|
160
|
-
const execution = yield*
|
|
160
|
+
const execution = yield* Service47;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service32;
|
|
163
|
+
const store = yield* Service75;
|
|
164
|
+
const instances = yield* Service50;
|
|
165
|
+
const moves = yield* Service23;
|
|
166
|
+
const jobs = yield* Service52;
|
|
167
|
+
const environments = yield* Service39;
|
|
168
|
+
const locations = yield* Service78;
|
|
169
169
|
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service22.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service83, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service50, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -326,27 +326,27 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
326
326
|
});
|
|
327
327
|
return result;
|
|
328
328
|
}));
|
|
329
|
-
var
|
|
330
|
-
service:
|
|
329
|
+
var node25 = Node.makeGlobalNode({
|
|
330
|
+
service: Service22,
|
|
331
331
|
layer,
|
|
332
332
|
deps: [
|
|
333
|
-
|
|
334
|
-
|
|
333
|
+
node55,
|
|
334
|
+
node42,
|
|
335
335
|
node87,
|
|
336
|
-
|
|
336
|
+
node85,
|
|
337
337
|
node84,
|
|
338
|
-
|
|
339
|
-
|
|
338
|
+
node51,
|
|
339
|
+
node36,
|
|
340
340
|
llmClient2,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
341
|
+
node79,
|
|
342
|
+
node53,
|
|
343
|
+
node52,
|
|
344
|
+
node26,
|
|
345
|
+
node27,
|
|
346
|
+
node82,
|
|
347
347
|
FSUtil.node,
|
|
348
|
-
|
|
348
|
+
node69
|
|
349
349
|
]
|
|
350
350
|
});
|
|
351
351
|
|
|
352
|
-
export { ListAnchor2, ListInput3,
|
|
352
|
+
export { ListAnchor2, ListInput3, Service22, node25, exports_session };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service10,
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service10 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service10.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node12 = makeLocationNode({ service: Service10, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service10, node12, exports_location_watcher_policy };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./variant-d9j1s0dk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make9
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make9 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service63;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make9, LoadError2, exports_module };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID10,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service68,
|
|
4
|
+
node72
|
|
5
|
+
} from "./variant-r714qx8e.js";
|
|
6
6
|
import {
|
|
7
7
|
ID9,
|
|
8
8
|
isAISDK2,
|
|
@@ -13,21 +13,21 @@ import {
|
|
|
13
13
|
mergeHeaders2,
|
|
14
14
|
Service67,
|
|
15
15
|
node71
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./variant-aqrscnf9.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service59,
|
|
19
|
+
node62
|
|
20
|
+
} from "./variant-52xvjhmr.js";
|
|
21
21
|
import {
|
|
22
22
|
ID8,
|
|
23
23
|
VariantID2,
|
|
24
24
|
Ref2,
|
|
25
25
|
Service66,
|
|
26
26
|
node70
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./variant-w5b9s23p.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./variant-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/model-resolver.ts
|
|
33
33
|
var exports_model_resolver = {};
|
|
@@ -36,15 +36,15 @@ __export(exports_model_resolver, {
|
|
|
36
36
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
37
37
|
ModelInitializationError: () => ModelInitializationError3,
|
|
38
38
|
ModelResolver: () => exports_model_resolver,
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service58,
|
|
40
40
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
41
41
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
42
42
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
43
43
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
44
44
|
fromCatalogModel: () => fromCatalogModel2,
|
|
45
45
|
hasPackage: () => hasPackage2,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer20,
|
|
47
|
+
node: () => node61,
|
|
48
48
|
resolveModel: () => resolveModel2,
|
|
49
49
|
withVariant: () => withVariant2
|
|
50
50
|
});
|
|
@@ -117,7 +117,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
class
|
|
120
|
+
class Service58 extends Context.Service()("@opencode/ModelResolver") {
|
|
121
121
|
}
|
|
122
122
|
var withVariant2 = (model, variantID) => {
|
|
123
123
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -257,12 +257,12 @@ var causeMessage = (cause) => {
|
|
|
257
257
|
};
|
|
258
258
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
259
259
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
260
|
-
var
|
|
260
|
+
var layer20 = Layer.effect(Service58, Effect.gen(function* () {
|
|
261
261
|
const providers = yield* Service67;
|
|
262
262
|
const models = yield* Service66;
|
|
263
|
-
const integrations = yield*
|
|
263
|
+
const integrations = yield* Service68;
|
|
264
264
|
const npm = yield* Npm.Service;
|
|
265
|
-
const aisdk = yield*
|
|
265
|
+
const aisdk = yield* Service59;
|
|
266
266
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
267
267
|
const provider = yield* providers.get(selected.providerID);
|
|
268
268
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
|
|
@@ -287,7 +287,7 @@ var layer24 = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
287
287
|
transport: selected.transport
|
|
288
288
|
};
|
|
289
289
|
});
|
|
290
|
-
return
|
|
290
|
+
return Service58.of({
|
|
291
291
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
292
292
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
293
293
|
if (!selected)
|
|
@@ -304,10 +304,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
304
304
|
const name = packageName2(packageName);
|
|
305
305
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
306
306
|
}
|
|
307
|
-
var
|
|
308
|
-
service:
|
|
309
|
-
layer:
|
|
310
|
-
deps: [node71, node70,
|
|
307
|
+
var node61 = makeLocationNode({
|
|
308
|
+
service: Service58,
|
|
309
|
+
layer: layer20,
|
|
310
|
+
deps: [node71, node70, node72, Npm.node, node62]
|
|
311
311
|
});
|
|
312
312
|
|
|
313
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
313
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service58, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node61, exports_model_resolver };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./variant-p3ewdwpp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service64,
|
|
6
6
|
Event12
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-yf0xe7xe.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./variant-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin14,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin14 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service81;
|
|
24
|
+
const wellknown = yield* Service64;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -45,4 +45,4 @@ var Plugin46 = define({
|
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin14, exports_plugin };
|