@opencode/core 0.0.0-dev-19618 → 0.0.0-dev-19619
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 +82 -82
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{filesystem-0m11qpm4.js → state-097xh0r3.js} +31 -31
- package/dist/chunks/{filesystem-dyzsby59.js → state-0faq74rz.js} +11 -11
- package/dist/chunks/{filesystem-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-0q0f95c6.js → state-0q0f95c6.js} +1 -1
- package/dist/chunks/{filesystem-fdywpn9x.js → state-0wzb4xv0.js} +11 -11
- package/dist/chunks/{filesystem-vbxkep6a.js → state-0xdeh7pz.js} +15 -15
- package/dist/chunks/{filesystem-0rshgchp.js → state-10q2fftm.js} +10 -10
- package/dist/chunks/{filesystem-1g7epwpd.js → state-19vf66h0.js} +7 -7
- package/dist/chunks/{filesystem-3wj4dvam.js → state-1a1r3f73.js} +9 -9
- package/dist/chunks/{filesystem-he07zsyr.js → state-1b89q7zg.js} +11 -11
- package/dist/chunks/{filesystem-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-gdqqvv7c.js → state-1p637tnt.js} +14 -14
- package/dist/chunks/{filesystem-btec747f.js → state-1x75wf9g.js} +5 -5
- package/dist/chunks/state-2118r6de.js +26 -0
- package/dist/chunks/{filesystem-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-2402vzrj.js → state-2402vzrj.js} +1 -1
- package/dist/chunks/{filesystem-2w7hg4c7.js → state-28kcw9hr.js} +45 -45
- package/dist/chunks/{filesystem-6ev5h72j.js → state-29rcqgc7.js} +87 -87
- package/dist/chunks/{filesystem-byacmj7b.js → state-29wq7zbx.js} +12 -12
- package/dist/chunks/{filesystem-z63w68vq.js → state-29x78va6.js} +6 -6
- package/dist/chunks/{filesystem-5pkq4p4h.js → state-2a1p01cj.js} +51 -51
- package/dist/chunks/{filesystem-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-h7ygw6q4.js → state-2bt6bea8.js} +9 -9
- package/dist/chunks/{filesystem-t82q7pe6.js → state-2e147z16.js} +6 -6
- package/dist/chunks/{filesystem-57ez7d0k.js → state-2fgn2we9.js} +9 -9
- package/dist/chunks/{filesystem-0jwsre1p.js → state-2k8khapm.js} +5 -5
- package/dist/chunks/{filesystem-92k45pvj.js → state-2p5y98w0.js} +6 -6
- package/dist/chunks/{filesystem-jaqr24m8.js → state-2prd3etb.js} +30 -30
- package/dist/chunks/{filesystem-ck5yfnd1.js → state-2texzmrd.js} +26 -26
- package/dist/chunks/{filesystem-kj1rs0ex.js → state-324jz7fy.js} +4 -4
- package/dist/chunks/{filesystem-q7ts5rjt.js → state-33b7aymv.js} +89 -89
- package/dist/chunks/{filesystem-23pqda6t.js → state-35agz59w.js} +4 -4
- package/dist/chunks/{filesystem-bcfqw6ff.js → state-35g6mzst.js} +15 -15
- package/dist/chunks/{filesystem-ws7b1vd7.js → state-3avsbw2y.js} +24 -24
- package/dist/chunks/{filesystem-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-tqq9vv0r.js → state-3jqje4at.js} +34 -34
- package/dist/chunks/{filesystem-6f0xwptt.js → state-3jwvk6df.js} +11 -11
- package/dist/chunks/{filesystem-gn350eyy.js → state-3s08q6xc.js} +16 -16
- package/dist/chunks/{filesystem-a38p36g0.js → state-3shj2rdg.js} +16 -16
- package/dist/chunks/{filesystem-4sazzpff.js → state-3sjz8m0p.js} +30 -30
- package/dist/chunks/{filesystem-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-qznyv1pd.js → state-3sr08wap.js} +6 -6
- package/dist/chunks/{filesystem-4n11223c.js → state-3te25qqc.js} +31 -31
- package/dist/chunks/{filesystem-gw9t2z3w.js → state-3tsj5f46.js} +21 -21
- package/dist/chunks/{filesystem-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-z07af02a.js → state-3w05p07m.js} +21 -21
- package/dist/chunks/{filesystem-jfzms4ed.js → state-3zevfmxv.js} +1 -1
- package/dist/chunks/{filesystem-8z00fdkb.js → state-4dgbcxzg.js} +4 -4
- package/dist/chunks/{filesystem-s1aps666.js → state-51wwr1cb.js} +7 -7
- package/dist/chunks/{filesystem-1ygqh575.js → state-56gdpj1q.js} +9 -9
- package/dist/chunks/{filesystem-8m0x795s.js → state-571v8kyd.js} +26 -26
- package/dist/chunks/{filesystem-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-zmn1asca.js → state-5edc1x4t.js} +300 -300
- package/dist/chunks/{filesystem-vy0wt1xp.js → state-5f71spy3.js} +36 -36
- package/dist/chunks/{filesystem-qxk9wp59.js → state-5k6red0j.js} +22 -22
- package/dist/chunks/state-5r663aq2.js +251 -0
- package/dist/chunks/{filesystem-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-s2rjst4c.js → state-64xmj3r0.js} +30 -30
- package/dist/chunks/{filesystem-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-9v67fpxy.js → state-67zdakk3.js} +15 -15
- package/dist/chunks/{filesystem-fddsyqr4.js → state-68na6ghx.js} +11 -11
- package/dist/chunks/{filesystem-9389c3ww.js → state-6bhdwa4f.js} +11 -11
- package/dist/chunks/{filesystem-j8hh79t3.js → state-6mp5kyz7.js} +174 -174
- package/dist/chunks/{filesystem-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{filesystem-wbt8vg77.js → state-6r5csvev.js} +20 -20
- package/dist/chunks/{filesystem-wjrkf519.js → state-71n3th9c.js} +5 -5
- package/dist/chunks/{filesystem-71q4at8m.js → state-71q4at8m.js} +1 -1
- package/dist/chunks/{filesystem-apwwcccb.js → state-73mx17hp.js} +23 -23
- package/dist/chunks/{filesystem-7gzpfzkj.js → state-75p5n5ps.js} +24 -24
- package/dist/chunks/{filesystem-7xbgkkry.js → state-76dkszc0.js} +20 -20
- package/dist/chunks/{filesystem-6z8y8spb.js → state-78b8w714.js} +24 -24
- package/dist/chunks/{filesystem-844ef7ks.js → state-7b15y959.js} +8 -8
- package/dist/chunks/{filesystem-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-2h5jvt6q.js → state-7bqgghcm.js} +42 -42
- package/dist/chunks/{filesystem-406qt69j.js → state-7qdpe4cb.js} +9 -9
- package/dist/chunks/{filesystem-2f04pwep.js → state-7w99qc9d.js} +3 -3
- package/dist/chunks/{filesystem-gcx5yr3q.js → state-7zj5q8bn.js} +15 -15
- package/dist/chunks/{filesystem-y7z8aqqx.js → state-89srvkns.js} +15 -15
- package/dist/chunks/{filesystem-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-8p4f9s12.js → state-8p4f9s12.js} +2 -2
- package/dist/chunks/{filesystem-1mqcdkn4.js → state-8pj4s1sz.js} +17 -17
- package/dist/chunks/{filesystem-qq1c0rfq.js → state-8xd21chy.js} +11 -11
- package/dist/chunks/{filesystem-t73pnhmt.js → state-8zrm0029.js} +37 -37
- package/dist/chunks/{filesystem-zxse2e34.js → state-97pyyzsd.js} +14 -14
- package/dist/chunks/{filesystem-f7dhzska.js → state-97tba3wc.js} +37 -37
- package/dist/chunks/{filesystem-d3rs6qmg.js → state-9jbjfr7m.js} +9 -9
- package/dist/chunks/{filesystem-827vnqcm.js → state-9je39wvw.js} +43 -43
- package/dist/chunks/{filesystem-p5tc0jkc.js → state-9wb1t077.js} +3 -3
- package/dist/chunks/{filesystem-813ty9ck.js → state-9yfa5vrp.js} +17 -17
- package/dist/chunks/{filesystem-a1bz86dw.js → state-a1bz86dw.js} +3 -3
- package/dist/chunks/{filesystem-s5pht5ae.js → state-a1jea0jw.js} +29 -29
- package/dist/chunks/{filesystem-gzprh467.js → state-a8279h33.js} +29 -29
- package/dist/chunks/{filesystem-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-z97y4ypk.js → state-agndh9mm.js} +3 -3
- package/dist/chunks/{filesystem-t9zs3egg.js → state-an7cqtb7.js} +4 -4
- package/dist/chunks/{filesystem-5w764t2b.js → state-azcr6ymc.js} +18 -18
- package/dist/chunks/{filesystem-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-kzqkxx2v.js → state-bajjbck4.js} +19 -19
- package/dist/chunks/{filesystem-e6ajfsdf.js → state-bbth31rk.js} +9 -9
- package/dist/chunks/{filesystem-w1k39n5e.js → state-bccb6npm.js} +4 -4
- package/dist/chunks/{filesystem-wqkncbjv.js → state-bjmdedkt.js} +9 -9
- package/dist/chunks/{filesystem-1ak9gecn.js → state-bqszwq89.js} +6 -6
- package/dist/chunks/{filesystem-xd7p5zqs.js → state-bwpeaz3e.js} +25 -25
- package/dist/chunks/{filesystem-magykp64.js → state-c20khjev.js} +21 -21
- package/dist/chunks/{filesystem-jfc61th8.js → state-c74rwkq8.js} +20 -20
- package/dist/chunks/{filesystem-9c8qb4fx.js → state-cfm6v96c.js} +15 -15
- package/dist/chunks/{filesystem-cfpkc3c9.js → state-cfpkc3c9.js} +2 -2
- package/dist/chunks/{filesystem-fxqygnfa.js → state-cq37gk0t.js} +4 -4
- package/dist/chunks/{filesystem-zh0vtjyr.js → state-cw6ezj50.js} +24 -24
- package/dist/chunks/{filesystem-9zswys26.js → state-d09006c3.js} +9 -9
- package/dist/chunks/{filesystem-9wgyq2tt.js → state-d2jcwrqj.js} +11 -11
- package/dist/chunks/{filesystem-wesp68ae.js → state-d2y84238.js} +26 -26
- package/dist/chunks/{filesystem-6dt5d3yy.js → state-d3tz2ej1.js} +9 -9
- package/dist/chunks/{filesystem-b339w5wj.js → state-d3yf3xs0.js} +46 -46
- package/dist/chunks/{filesystem-kpmnv95v.js → state-d66s3x2y.js} +11 -11
- package/dist/chunks/{filesystem-dnxjdd8e.js → state-d7pfk9kx.js} +11 -11
- package/dist/chunks/{filesystem-k17k9k58.js → state-db0wt107.js} +10 -10
- package/dist/chunks/{filesystem-33ka9sw2.js → state-dd3vv6mw.js} +20 -20
- package/dist/chunks/{filesystem-mx9sgxdp.js → state-dfem2sdx.js} +2 -2
- package/dist/chunks/{filesystem-6n2tb6ee.js → state-dfst6sb1.js} +15 -15
- package/dist/chunks/{filesystem-y71avatq.js → state-dpkg50ah.js} +4 -4
- package/dist/chunks/{filesystem-1k8tpdq4.js → state-dq66pm2h.js} +6 -6
- package/dist/chunks/{filesystem-37s12vcn.js → state-dqmwfghx.js} +5 -5
- package/dist/chunks/{filesystem-mfw11q3n.js → state-ds6yvnwz.js} +30 -30
- package/dist/chunks/{filesystem-e54dr8r7.js → state-e3mscyvg.js} +13 -13
- package/dist/chunks/{filesystem-3fr2v5qz.js → state-e3pb3krz.js} +4 -4
- package/dist/chunks/{filesystem-5qd3pb7m.js → state-e3qxr5gk.js} +2 -2
- package/dist/chunks/{filesystem-bndc73cn.js → state-e5nv3ght.js} +5 -5
- package/dist/chunks/{filesystem-nhy5jxhy.js → state-e82z9tr0.js} +7 -7
- package/dist/chunks/{filesystem-ysz7wnt3.js → state-ebvdhfn5.js} +30 -30
- package/dist/chunks/{filesystem-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-req2f1zf.js → state-ezc4vqg9.js} +16 -16
- package/dist/chunks/{filesystem-yp2x3t23.js → state-f2n192rq.js} +4 -4
- package/dist/chunks/{filesystem-jgj0cmjf.js → state-f5cp0sk0.js} +7 -7
- package/dist/chunks/{filesystem-f828m53h.js → state-f828m53h.js} +2 -2
- package/dist/chunks/{filesystem-s9jsf10w.js → state-f9j6kmhz.js} +9 -9
- package/dist/chunks/{filesystem-sfnc39yp.js → state-fc7zbc5p.js} +8 -8
- package/dist/chunks/{filesystem-dm18e6rv.js → state-fd7qd9sy.js} +24 -24
- package/dist/chunks/{filesystem-v5b0xx0m.js → state-fm5c3zy8.js} +16 -16
- package/dist/chunks/{filesystem-fxbjtjnd.js → state-fxbjtjnd.js} +1 -1
- package/dist/chunks/{filesystem-6ynxx3sz.js → state-g31yknb9.js} +10 -10
- package/dist/chunks/{filesystem-39btv581.js → state-g5akcga1.js} +1 -1
- package/dist/chunks/{filesystem-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-skz9jdxs.js → state-gmh1p7c3.js} +46 -46
- package/dist/chunks/{filesystem-th5km1p3.js → state-gv6a8nnw.js} +5 -5
- package/dist/chunks/state-gyce5qg1.js +18 -0
- package/dist/chunks/{filesystem-s4bmhrbd.js → state-gz9zg84n.js} +17 -17
- package/dist/chunks/{filesystem-3a5s2rra.js → state-gzv4yv3q.js} +10 -10
- package/dist/chunks/{filesystem-h03wrkyp.js → state-h03wrkyp.js} +2 -2
- package/dist/chunks/state-h47he10w.js +4 -0
- package/dist/chunks/{filesystem-6j62sct7.js → state-h61yhmmq.js} +15 -15
- package/dist/chunks/{filesystem-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-07yk87ch.js → state-h7vn9w3e.js} +4 -4
- package/dist/chunks/{filesystem-w3jz5mh3.js → state-hb432nf5.js} +17 -17
- package/dist/chunks/{filesystem-m3npdpng.js → state-hc2ch4mw.js} +5 -5
- package/dist/chunks/{filesystem-mqjke63f.js → state-hc844qg4.js} +15 -15
- package/dist/chunks/{filesystem-6kt92yqk.js → state-hk9khx82.js} +13 -13
- package/dist/chunks/{filesystem-41f61ev5.js → state-hkckt1bw.js} +11 -11
- package/dist/chunks/{filesystem-syxap8am.js → state-hkha9254.js} +4 -4
- package/dist/chunks/{filesystem-cqhybqg6.js → state-hmw7b3xg.js} +29 -29
- package/dist/chunks/{filesystem-j41a475f.js → state-hzm9egg4.js} +10 -10
- package/dist/chunks/{filesystem-jmnxg2hy.js → state-j4265jp1.js} +33 -33
- package/dist/chunks/{filesystem-hrc76cbb.js → state-j4w3v36h.js} +16 -16
- package/dist/chunks/{filesystem-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-tn345pzm.js → state-j7gh742f.js} +6 -6
- package/dist/chunks/{filesystem-axq00zzf.js → state-j7q006w5.js} +24 -24
- package/dist/chunks/{filesystem-fcw1zqre.js → state-jbqb2jwb.js} +18 -18
- package/dist/chunks/{filesystem-shh6fz4q.js → state-jva4mgym.js} +4 -4
- package/dist/chunks/{filesystem-wtkcq731.js → state-k3j9nvsf.js} +41 -41
- package/dist/chunks/{filesystem-vbzbj883.js → state-kkk4ycsn.js} +34 -34
- package/dist/chunks/{filesystem-h609avsd.js → state-kkvmk5mz.js} +10 -10
- package/dist/chunks/{filesystem-fap9mv8s.js → state-kp6q4vfw.js} +38 -38
- package/dist/chunks/{filesystem-w0fqee3t.js → state-krmc1sjp.js} +4 -4
- package/dist/chunks/{filesystem-5y69nyve.js → state-kthsafvd.js} +11 -11
- package/dist/chunks/{filesystem-tqb4zsas.js → state-kxfmahn5.js} +18 -18
- package/dist/chunks/{filesystem-yd1jaf3z.js → state-kytg702f.js} +11 -11
- package/dist/chunks/{filesystem-4890h4h8.js → state-m4hmv5tv.js} +32 -32
- package/dist/chunks/{filesystem-70qmacgz.js → state-m8d7rwwq.js} +6 -6
- package/dist/chunks/{filesystem-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-rds95j8z.js → state-mrx0gnf8.js} +1 -1
- package/dist/chunks/{filesystem-qp3v07n2.js → state-mw934p8z.js} +5 -5
- package/dist/chunks/{filesystem-40xvhc0y.js → state-mx19mr1m.js} +28 -28
- package/dist/chunks/{filesystem-z6259ffv.js → state-n1t3wdzz.js} +5 -5
- package/dist/chunks/{filesystem-92s2v7tn.js → state-n36sd619.js} +47 -47
- package/dist/chunks/{filesystem-nryd581v.js → state-n5a5z38x.js} +59 -59
- package/dist/chunks/{filesystem-6nrgx7s9.js → state-n91phzgs.js} +15 -15
- package/dist/chunks/{filesystem-903hvwdd.js → state-nc2qx4zy.js} +32 -32
- package/dist/chunks/{filesystem-7qne9t03.js → state-nhgnsbzd.js} +22 -22
- package/dist/chunks/{filesystem-yjg451mg.js → state-nk4syya3.js} +27 -27
- package/dist/chunks/{filesystem-s8610hey.js → state-nng2ktcm.js} +2 -2
- package/dist/chunks/{filesystem-brhvyepg.js → state-npkvcn11.js} +6 -6
- package/dist/chunks/{filesystem-wwxgka64.js → state-nrs119em.js} +15 -15
- package/dist/chunks/{filesystem-gsjsmvjz.js → state-nspxmzm8.js} +28 -28
- package/dist/chunks/{filesystem-8hm8e1by.js → state-ny5dfp0g.js} +15 -15
- package/dist/chunks/{filesystem-ymcnatpj.js → state-p1d46h3z.js} +24 -24
- package/dist/chunks/{filesystem-q5nw5m1n.js → state-p57dvf2n.js} +6 -6
- package/dist/chunks/{filesystem-chf0k88c.js → state-ph0fbfq2.js} +2 -2
- package/dist/chunks/{filesystem-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-b6nkjk1t.js → state-pv445f03.js} +22 -22
- package/dist/chunks/{filesystem-ms4phxsh.js → state-py24y5k5.js} +20 -20
- package/dist/chunks/{filesystem-x8kx70zw.js → state-q0dhpvqs.js} +17 -17
- package/dist/chunks/{filesystem-nb9b6p15.js → state-q2tqwnr3.js} +23 -23
- package/dist/chunks/{filesystem-38hz51bw.js → state-q34edmb6.js} +18 -18
- package/dist/chunks/{filesystem-asysv629.js → state-qagnz9a5.js} +11 -11
- package/dist/chunks/{filesystem-wtaqqafq.js → state-qbvf5jer.js} +11 -11
- package/dist/chunks/{filesystem-xa9r7nw9.js → state-qfmkjdkz.js} +20 -20
- package/dist/chunks/{filesystem-3n48t328.js → state-qhptap2d.js} +14 -14
- package/dist/chunks/{filesystem-xyyjnszw.js → state-qqjwcvaq.js} +5 -5
- package/dist/chunks/{filesystem-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-qjnxxf51.js → state-qte5z7bc.js} +5 -5
- package/dist/chunks/{filesystem-gdezgtpw.js → state-qtkzm0vp.js} +8 -8
- package/dist/chunks/{filesystem-8de9g2wa.js → state-qwjmgwmn.js} +8 -8
- package/dist/chunks/{filesystem-f0yntm5b.js → state-qx0y9v2b.js} +17 -17
- package/dist/chunks/{filesystem-grkcecy6.js → state-r0r5a59z.js} +30 -30
- package/dist/chunks/{filesystem-0j4pm1hq.js → state-r3g16p04.js} +11 -11
- package/dist/chunks/{filesystem-jx4a7yyx.js → state-r402hwa6.js} +1 -1
- package/dist/chunks/{filesystem-73tb2d7t.js → state-r5x6zcsm.js} +3 -3
- package/dist/chunks/{filesystem-r9mregkx.js → state-r9mregkx.js} +2 -2
- package/dist/chunks/{filesystem-n3pf906j.js → state-raec4cfz.js} +12 -12
- package/dist/chunks/{filesystem-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-02nrjc1r.js → state-rhjbct0v.js} +6 -6
- package/dist/chunks/{filesystem-fw7t8djd.js → state-rn2343kj.js} +60 -60
- package/dist/chunks/{filesystem-evvf1n35.js → state-rp6tmztm.js} +19 -19
- package/dist/chunks/{filesystem-4jc5c4h4.js → state-ryt7pzqc.js} +1 -1
- package/dist/chunks/{filesystem-2vep0yyn.js → state-s16nmm85.js} +15 -15
- package/dist/chunks/{filesystem-yrznvahk.js → state-s4enseaf.js} +2 -2
- package/dist/chunks/{filesystem-9yr2yfq4.js → state-s90d8d6b.js} +6 -6
- package/dist/chunks/{filesystem-33js1h5h.js → state-sb225ygc.js} +18 -18
- package/dist/chunks/{filesystem-5df2rnfx.js → state-sb6d7jsa.js} +13 -13
- package/dist/chunks/{filesystem-gf5fcfbn.js → state-se4nd5as.js} +13 -13
- package/dist/chunks/{filesystem-3j24hfx9.js → state-sw33f489.js} +9 -9
- package/dist/chunks/{filesystem-37k0eqq3.js → state-sxmda080.js} +3 -3
- package/dist/chunks/{filesystem-7rmm56r3.js → state-sy64ktx8.js} +5 -5
- package/dist/chunks/{filesystem-zfs18d5t.js → state-t1pxv65t.js} +5 -5
- package/dist/chunks/{filesystem-mmy54dzb.js → state-t4c6n1n4.js} +9 -9
- package/dist/chunks/{filesystem-zvt32j6c.js → state-t7kxrzfv.js} +17 -17
- package/dist/chunks/{filesystem-wd41hx6g.js → state-t8esaq1p.js} +6 -6
- package/dist/chunks/{filesystem-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-698rmahv.js → state-tc6j6x3q.js} +10 -10
- package/dist/chunks/{filesystem-89znhe33.js → state-tcezcvh9.js} +4 -4
- package/dist/chunks/{filesystem-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-n8mqzfm9.js → state-tk4xefdg.js} +12 -12
- package/dist/chunks/{filesystem-3w85bfh1.js → state-tqwj4vg0.js} +27 -27
- package/dist/chunks/{filesystem-cjjf7ytg.js → state-ttpn01ps.js} +38 -38
- package/dist/chunks/{filesystem-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{filesystem-eqs0pmgx.js → state-txxgpxvq.js} +6 -6
- package/dist/chunks/{filesystem-vymvq99p.js → state-tzfrkvh8.js} +24 -24
- package/dist/chunks/{filesystem-nc6g6xf4.js → state-v1kf15d2.js} +6 -6
- package/dist/chunks/{filesystem-dvj7hexm.js → state-v55354wq.js} +1 -1
- package/dist/chunks/{filesystem-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-dzjvqage.js → state-vqjrrrw6.js} +4 -4
- package/dist/chunks/{filesystem-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-8nwmmt46.js → state-vzy7bsbz.js} +32 -32
- package/dist/chunks/{filesystem-jtzgk00g.js → state-w21hr1ag.js} +9 -9
- package/dist/chunks/{filesystem-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-ngqd1g3c.js → state-wfzjjtzq.js} +4 -4
- package/dist/chunks/{filesystem-ctn2km86.js → state-wq4mgxca.js} +8 -8
- package/dist/chunks/{filesystem-bh5mjw3r.js → state-wq66yabw.js} +46 -46
- package/dist/chunks/{filesystem-n0k1g4fc.js → state-ww06kf95.js} +16 -16
- package/dist/chunks/{filesystem-d2k0bxc6.js → state-wwr4cs06.js} +11 -11
- package/dist/chunks/{filesystem-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-364eg4va.js → state-x6mn7k7a.js} +24 -24
- package/dist/chunks/{filesystem-4f699rp4.js → state-xcmejnqk.js} +10 -10
- package/dist/chunks/{filesystem-dq0sj55k.js → state-xe12cp59.js} +8 -8
- package/dist/chunks/{filesystem-v1kfa28m.js → state-xg3fmavg.js} +9 -9
- package/dist/chunks/{filesystem-ejhwb09y.js → state-xnvr041a.js} +1 -1
- package/dist/chunks/{filesystem-t7n9q6bq.js → state-xw0r27ex.js} +4 -4
- package/dist/chunks/{filesystem-9tmk4wfj.js → state-xwm0ajsd.js} +5 -5
- package/dist/chunks/{filesystem-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-56n3j9hn.js → state-yb0s1s95.js} +53 -53
- package/dist/chunks/{filesystem-4jf7s0ck.js → state-ymawwaz8.js} +4 -4
- package/dist/chunks/{filesystem-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-0f9afca0.js → state-yt0fqk68.js} +5 -5
- package/dist/chunks/{filesystem-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-e0mmdbx3.js → state-z87ss26s.js} +10 -10
- package/dist/chunks/{filesystem-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{filesystem-5xy61mm9.js → state-zmhc1ceh.js} +4 -4
- package/dist/chunks/{filesystem-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-ndh7jbby.js → state-zveeavy8.js} +20 -20
- package/dist/chunks/{filesystem-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- 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 +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +121 -121
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- 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 +123 -123
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +69 -69
- 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 +223 -223
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +101 -101
- 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 +98 -98
- 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 +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +70 -70
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +353 -353
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- 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 +98 -98
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +99 -99
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- 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 +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +94 -94
- package/dist/plugin/module.js +5 -5
- 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/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +89 -89
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- 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 +89 -89
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +89 -89
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- 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/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 +89 -89
- package/dist/plugin/provider.js +159 -159
- 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 +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +91 -91
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +86 -86
- 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 +131 -131
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +7 -7
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +90 -90
- 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 +123 -123
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- 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 +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +117 -117
- 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 +13 -13
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/filesystem-0mesazry.js +0 -4
- package/dist/chunks/filesystem-a5kagja2.js +0 -26
- package/dist/chunks/filesystem-nyrzeqwa.js +0 -251
- package/dist/chunks/filesystem-pf31ssb9.js +0 -18
- /package/dist/chunks/{filesystem-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-hrnqkpcd.js → state-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-twg0f83k.js → state-twg0f83k.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./state-d2y84238.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./state-n5a5z38x.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin47,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin47 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service79;
|
|
57
|
+
const permission = yield* Service44;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export { name13, description6,
|
|
118
|
+
export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin47, exports_question };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service72,
|
|
8
|
+
node76
|
|
9
|
+
} from "./state-cw6ezj50.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service58,
|
|
24
|
+
node: () => node62
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service58 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service72;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service58.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node62 = makeLocationNode({ service: Service58, layer, deps: [node76, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error4, InvalidPatternError2,
|
|
180
|
+
export { Error4, InvalidPatternError2, Service58, node62, exports_ripgrep };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin34
|
|
3
|
+
} from "./state-mw934p8z.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin33
|
|
6
|
+
} from "./state-f9j6kmhz.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin37
|
|
9
|
+
} from "./state-sw33f489.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin39
|
|
12
|
+
} from "./state-xe12cp59.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin38
|
|
15
|
+
} from "./state-1a1r3f73.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin34,
|
|
20
|
+
Plugin33,
|
|
21
|
+
Plugin37,
|
|
22
|
+
Plugin39,
|
|
23
|
+
Plugin38
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID13,
|
|
3
|
+
Service70,
|
|
4
|
+
node74
|
|
5
|
+
} from "./state-a8279h33.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID12,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
11
11
|
nativeSettings2,
|
|
12
12
|
mergeOverlay2,
|
|
13
13
|
mergeHeaders2,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service69,
|
|
15
|
+
node73
|
|
16
|
+
} from "./state-vzy7bsbz.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service50,
|
|
19
|
+
node54
|
|
20
|
+
} from "./state-6bhdwa4f.js";
|
|
21
21
|
import {
|
|
22
22
|
map2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-ph0fbfq2.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID11,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service68,
|
|
29
|
+
node72
|
|
30
|
+
} from "./state-r0r5a59z.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/model-resolver.ts
|
|
36
36
|
var exports_model_resolver = {};
|
|
@@ -39,15 +39,15 @@ __export(exports_model_resolver, {
|
|
|
39
39
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
40
40
|
ModelInitializationError: () => ModelInitializationError3,
|
|
41
41
|
ModelResolver: () => exports_model_resolver,
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service49,
|
|
43
43
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
44
44
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
45
45
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
46
46
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
47
47
|
fromCatalogModel: () => fromCatalogModel2,
|
|
48
48
|
hasPackage: () => hasPackage2,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer20,
|
|
50
|
+
node: () => node53,
|
|
51
51
|
resolveModel: () => resolveModel2,
|
|
52
52
|
withVariant: () => withVariant2
|
|
53
53
|
});
|
|
@@ -57,8 +57,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
57
57
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
58
58
|
import { Npm } from "@opencode/util/npm";
|
|
59
59
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
60
|
-
providerID:
|
|
61
|
-
modelID:
|
|
60
|
+
providerID: ID12,
|
|
61
|
+
modelID: ID11,
|
|
62
62
|
variant: VariantID2
|
|
63
63
|
}) {
|
|
64
64
|
get message() {
|
|
@@ -67,8 +67,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
70
|
-
providerID:
|
|
71
|
-
modelID:
|
|
70
|
+
providerID: ID12,
|
|
71
|
+
modelID: ID11,
|
|
72
72
|
package: Schema.String
|
|
73
73
|
}) {
|
|
74
74
|
get message() {
|
|
@@ -78,8 +78,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
78
78
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
79
79
|
|
|
80
80
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
81
|
-
providerID:
|
|
82
|
-
modelID:
|
|
81
|
+
providerID: ID12,
|
|
82
|
+
modelID: ID11,
|
|
83
83
|
package: Schema.String,
|
|
84
84
|
detail: Schema.String
|
|
85
85
|
}) {
|
|
@@ -89,8 +89,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
92
|
-
providerID:
|
|
93
|
-
modelID:
|
|
92
|
+
providerID: ID12,
|
|
93
|
+
modelID: ID11,
|
|
94
94
|
package: Schema.String,
|
|
95
95
|
phase: InitializationPhase2,
|
|
96
96
|
detail: Schema.String
|
|
@@ -101,8 +101,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
104
|
-
providerID:
|
|
105
|
-
modelID:
|
|
104
|
+
providerID: ID12,
|
|
105
|
+
modelID: ID11,
|
|
106
106
|
variables: Schema.Array(Schema.String)
|
|
107
107
|
}) {
|
|
108
108
|
get message() {
|
|
@@ -111,8 +111,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
114
|
-
providerID:
|
|
115
|
-
modelID:
|
|
114
|
+
providerID: ID12,
|
|
115
|
+
modelID: ID11,
|
|
116
116
|
route: Schema.String
|
|
117
117
|
}) {
|
|
118
118
|
get message() {
|
|
@@ -120,7 +120,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
class
|
|
123
|
+
class Service49 extends Context.Service()("@opencode/ModelResolver") {
|
|
124
124
|
}
|
|
125
125
|
var withVariant2 = (model, variantID) => {
|
|
126
126
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -268,15 +268,15 @@ var causeMessage = (cause) => {
|
|
|
268
268
|
};
|
|
269
269
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
270
270
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
271
|
-
var
|
|
272
|
-
const providers = yield*
|
|
273
|
-
const models = yield*
|
|
274
|
-
const integrations = yield*
|
|
271
|
+
var layer20 = Layer.effect(Service49, Effect.gen(function* () {
|
|
272
|
+
const providers = yield* Service69;
|
|
273
|
+
const models = yield* Service68;
|
|
274
|
+
const integrations = yield* Service70;
|
|
275
275
|
const npm = yield* Npm.Service;
|
|
276
|
-
const aisdk = yield*
|
|
276
|
+
const aisdk = yield* Service50;
|
|
277
277
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
278
278
|
const provider = yield* providers.get(selected.providerID);
|
|
279
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
279
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
|
|
280
280
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
281
281
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
282
282
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -298,7 +298,7 @@ var layer21 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
298
298
|
websocket: selected.websocket ?? false
|
|
299
299
|
};
|
|
300
300
|
});
|
|
301
|
-
return
|
|
301
|
+
return Service49.of({
|
|
302
302
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
303
303
|
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))));
|
|
304
304
|
if (!selected)
|
|
@@ -315,10 +315,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
315
315
|
const name = packageName2(packageName);
|
|
316
316
|
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;
|
|
317
317
|
}
|
|
318
|
-
var
|
|
319
|
-
service:
|
|
320
|
-
layer:
|
|
321
|
-
deps: [
|
|
318
|
+
var node53 = makeLocationNode({
|
|
319
|
+
service: Service49,
|
|
320
|
+
layer: layer20,
|
|
321
|
+
deps: [node73, node72, node74, Npm.node, node54]
|
|
322
322
|
});
|
|
323
323
|
|
|
324
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
324
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service49, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node53, exports_model_resolver };
|
|
@@ -1,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-sxmda080.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./state-ezc4vqg9.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service68,
|
|
13
|
+
node72
|
|
14
|
+
} from "./state-r0r5a59z.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID8,
|
|
17
|
+
Service47,
|
|
18
|
+
node51
|
|
19
|
+
} from "./state-fd7qd9sy.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./state-bjmdedkt.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./state-rhjbct0v.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./state-bccb6npm.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./state-d66s3x2y.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service45,
|
|
34
|
+
node49
|
|
35
|
+
} from "./state-3shj2rdg.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./state-n5a5z38x.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
make14
|
|
41
|
+
} from "./state-nrs119em.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service52,
|
|
44
|
+
node56
|
|
45
|
+
} from "./state-75p5n5ps.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service17,
|
|
48
|
+
node21
|
|
49
|
+
} from "./state-ww06kf95.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service54,
|
|
52
|
+
node58
|
|
53
|
+
} from "./state-p1d46h3z.js";
|
|
54
54
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
55
|
+
Service25,
|
|
56
|
+
node29
|
|
57
|
+
} from "./state-bwpeaz3e.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
} from "./
|
|
59
|
+
Service24,
|
|
60
|
+
node28
|
|
61
|
+
} from "./state-3w05p07m.js";
|
|
62
|
+
import {
|
|
63
|
+
Service23,
|
|
64
|
+
node27
|
|
65
|
+
} from "./state-ny5dfp0g.js";
|
|
62
66
|
import {
|
|
63
67
|
Service22,
|
|
64
68
|
node26
|
|
65
|
-
} from "./
|
|
66
|
-
import {
|
|
67
|
-
Service29,
|
|
68
|
-
node33
|
|
69
|
-
} from "./filesystem-xa9r7nw9.js";
|
|
69
|
+
} from "./state-qfmkjdkz.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service20,
|
|
72
|
+
node25
|
|
73
|
+
} from "./state-n91phzgs.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service18,
|
|
76
|
+
node22
|
|
77
|
+
} from "./state-m4hmv5tv.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
79
|
+
Service29,
|
|
80
|
+
node32
|
|
81
|
+
} from "./state-e3mscyvg.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./state-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
|
-
Service: () =>
|
|
89
|
+
Service: () => Service16,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
|
-
node: () =>
|
|
91
|
+
node: () => node20
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
|
-
class
|
|
95
|
+
class Service16 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
98
|
-
const agents = yield*
|
|
99
|
-
const builtins = yield*
|
|
100
|
-
const model = yield*
|
|
97
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
98
|
+
const agents = yield* Service47;
|
|
99
|
+
const builtins = yield* Service17;
|
|
100
|
+
const model = yield* Service68;
|
|
101
101
|
const db = (yield* Service81).db;
|
|
102
|
-
const discovery = yield*
|
|
103
|
-
const entries = yield*
|
|
104
|
-
const location = yield*
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
108
|
-
const request = yield*
|
|
109
|
-
const referenceInstructions = yield*
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
102
|
+
const discovery = yield* Service52;
|
|
103
|
+
const entries = yield* Service20;
|
|
104
|
+
const location = yield* Service76;
|
|
105
|
+
const mcpInstructions = yield* Service24;
|
|
106
|
+
const mcpTools = yield* Service25;
|
|
107
|
+
const models = yield* Service29;
|
|
108
|
+
const request = yield* Service18;
|
|
109
|
+
const referenceInstructions = yield* Service23;
|
|
110
|
+
const skillInstructions = yield* Service22;
|
|
111
|
+
const store = yield* Service45;
|
|
112
|
+
const registry = yield* Service54;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID8.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
165
165
|
agent: { ...agent, info: agent.info },
|
|
166
166
|
instructions: combine2([
|
|
167
167
|
loaded.builtins,
|
|
168
|
-
|
|
168
|
+
make14(loaded.tools.codeModeCatalog),
|
|
169
169
|
loaded.discovery,
|
|
170
170
|
loaded.skills,
|
|
171
171
|
loaded.references,
|
|
@@ -187,29 +187,29 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
187
187
|
tools: selection.tools
|
|
188
188
|
};
|
|
189
189
|
});
|
|
190
|
-
return
|
|
190
|
+
return Service16.of({ select, load, resolveModel, selectTitle, request });
|
|
191
191
|
}));
|
|
192
192
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
193
|
-
var
|
|
194
|
-
service:
|
|
193
|
+
var node20 = makeLocationNode({
|
|
194
|
+
service: Service16,
|
|
195
195
|
layer,
|
|
196
196
|
deps: [
|
|
197
|
-
|
|
198
|
-
|
|
197
|
+
node51,
|
|
198
|
+
node72,
|
|
199
199
|
node86,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
node30,
|
|
203
|
-
node80,
|
|
200
|
+
node21,
|
|
201
|
+
node56,
|
|
204
202
|
node25,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
203
|
+
node81,
|
|
204
|
+
node28,
|
|
205
|
+
node29,
|
|
208
206
|
node27,
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
207
|
+
node32,
|
|
208
|
+
node22,
|
|
209
|
+
node49,
|
|
210
|
+
node26,
|
|
211
|
+
node58
|
|
212
212
|
]
|
|
213
213
|
});
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Service16, node20, exports_context };
|