@opencode/core 0.0.0-dev-20851 → 0.0.0-dev-20854
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{form-y56ehv6b.js → snapshot-0996nyz8.js} +9 -9
- package/dist/chunks/{form-v5ab8yn1.js → snapshot-0hnj9qkb.js} +4 -4
- package/dist/chunks/{form-2k8khapm.js → snapshot-0jwsre1p.js} +5 -5
- package/dist/chunks/{form-smk4c7dc.js → snapshot-0jzh9efz.js} +3 -3
- package/dist/chunks/{form-k3xk6ajn.js → snapshot-0nghcqs1.js} +7 -7
- package/dist/chunks/{form-kdxfwdry.js → snapshot-0sacbgq8.js} +9 -9
- package/dist/chunks/{form-0vbcp93d.js → snapshot-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-58072hz9.js → snapshot-143qq2q9.js} +3 -3
- package/dist/chunks/{form-get0s9tp.js → snapshot-1a5mtg6h.js} +24 -24
- package/dist/chunks/{form-1acjjqhc.js → snapshot-1acjjqhc.js} +1 -1
- package/dist/chunks/{form-f2vdq2p6.js → snapshot-1bwe1zv2.js} +6 -6
- package/dist/chunks/{form-06pebr32.js → snapshot-1f5hxzwj.js} +30 -30
- package/dist/chunks/{form-8ca0q5ge.js → snapshot-1hx7m0gn.js} +28 -28
- package/dist/chunks/{form-py3kkmfq.js → snapshot-1p07q0wb.js} +4 -4
- package/dist/chunks/{form-xcxmemts.js → snapshot-1r73c9nv.js} +22 -22
- package/dist/chunks/{form-ybqrzh0b.js → snapshot-1raercmk.js} +8 -8
- package/dist/chunks/{form-m6w2zr8w.js → snapshot-2bpy8z58.js} +13 -13
- package/dist/chunks/{form-38005zny.js → snapshot-2hn7av3m.js} +31 -31
- package/dist/chunks/{form-n0tq777j.js → snapshot-2ktf0ed2.js} +8 -8
- package/dist/chunks/{form-2s64xept.js → snapshot-2nbevc3z.js} +84 -84
- package/dist/chunks/{form-taktjfvt.js → snapshot-2pd7f3c1.js} +18 -18
- package/dist/chunks/{form-2vvh33eb.js → snapshot-2vvh33eb.js} +2 -2
- package/dist/chunks/{form-bmr4bg0q.js → snapshot-313rc44e.js} +16 -16
- package/dist/chunks/{form-jgtkz6r6.js → snapshot-31ymszjf.js} +1 -1
- package/dist/chunks/{form-k3s4mzc3.js → snapshot-323ga0xb.js} +3 -3
- package/dist/chunks/{form-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-tsn6bzsd.js → snapshot-3fppgx15.js} +11 -11
- package/dist/chunks/{form-thc86arw.js → snapshot-3h72pgqc.js} +42 -42
- package/dist/chunks/{form-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3hwn7j4h.js → snapshot-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-5xz0dphx.js → snapshot-3nqjeqvp.js} +20 -20
- package/dist/chunks/{form-321x2wtd.js → snapshot-3ppptnan.js} +6 -6
- package/dist/chunks/{form-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-w5fskeg8.js → snapshot-3zj1jny9.js} +11 -11
- package/dist/chunks/{form-f31xyhx6.js → snapshot-3zqpheq4.js} +24 -24
- package/dist/chunks/{form-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-yrk8qwt0.js → snapshot-44x47vc1.js} +13 -13
- package/dist/chunks/{form-v1bss4wk.js → snapshot-4985kjca.js} +86 -86
- package/dist/chunks/{form-pdgy07wn.js → snapshot-4a32xa5p.js} +17 -17
- package/dist/chunks/{form-byjy60w7.js → snapshot-4b88qf44.js} +26 -26
- package/dist/chunks/{form-vma9t5wb.js → snapshot-4gezj5dt.js} +4 -4
- package/dist/chunks/{form-k0a83kw0.js → snapshot-4k07v71c.js} +10 -10
- package/dist/chunks/{form-006m7k99.js → snapshot-4t394y7h.js} +36 -36
- package/dist/chunks/{form-4ts7tf6z.js → snapshot-4ts7tf6z.js} +2 -2
- package/dist/chunks/{form-qyc8th6x.js → snapshot-4vetjhn5.js} +16 -16
- package/dist/chunks/{form-91f6g28x.js → snapshot-4xffw7wa.js} +5 -5
- package/dist/chunks/{form-54ma36ye.js → snapshot-54ma36ye.js} +1 -1
- package/dist/chunks/{form-xfkkasph.js → snapshot-57b9ws8p.js} +7 -7
- package/dist/chunks/{form-adn6ewvy.js → snapshot-5a4dpzx5.js} +20 -20
- package/dist/chunks/{form-symeabce.js → snapshot-5jkm5zt2.js} +11 -11
- package/dist/chunks/{form-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-j0pd759q.js → snapshot-5nq8wefj.js} +5 -5
- package/dist/chunks/{form-k5g5emw9.js → snapshot-62gdzg6n.js} +12 -12
- package/dist/chunks/{form-8fydwx36.js → snapshot-685jv0gk.js} +16 -16
- package/dist/chunks/{form-v0es1rhs.js → snapshot-6g7e4dd5.js} +7 -7
- package/dist/chunks/{form-ssaew880.js → snapshot-6sbb3tqx.js} +22 -22
- package/dist/chunks/{form-yemq3d8b.js → snapshot-6wg7wrda.js} +6 -6
- package/dist/chunks/{form-6xb47vfp.js → snapshot-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-kfdd03hd.js → snapshot-711nmkr3.js} +24 -24
- package/dist/chunks/{form-kjwtb2ft.js → snapshot-71r40yks.js} +6 -6
- package/dist/chunks/{form-pb3at1xs.js → snapshot-73v3pe0h.js} +22 -22
- package/dist/chunks/{form-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-qrhtqstp.js → snapshot-7jcc7m0g.js} +11 -11
- package/dist/chunks/{form-v5kdx147.js → snapshot-7kt5ec22.js} +23 -23
- package/dist/chunks/{form-9t8mnttq.js → snapshot-7sn28qaa.js} +17 -17
- package/dist/chunks/{form-xybefm6f.js → snapshot-7zt5x37y.js} +1 -1
- package/dist/chunks/{form-3n03h225.js → snapshot-82x33wmm.js} +8 -8
- package/dist/chunks/{form-84txncab.js → snapshot-84txncab.js} +1 -1
- package/dist/chunks/{form-6t11chne.js → snapshot-86hs0axb.js} +1 -1
- package/dist/chunks/{form-jewzahs7.js → snapshot-86qzxe6p.js} +4 -4
- package/dist/chunks/{form-tcezcvh9.js → snapshot-89znhe33.js} +4 -4
- package/dist/chunks/snapshot-8bavg15d.js +253 -0
- package/dist/chunks/{form-8m6m0r52.js → snapshot-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-wjrwvqye.js → snapshot-8qhbfk2n.js} +18 -18
- package/dist/chunks/{form-zrkdjkwg.js → snapshot-92fscyhx.js} +11 -11
- package/dist/chunks/{form-pc5383ba.js → snapshot-9cmfgt91.js} +16 -16
- package/dist/chunks/{form-1va1wqh8.js → snapshot-9g7pswbf.js} +20 -20
- package/dist/chunks/{form-tqshb1vy.js → snapshot-9kmpexhc.js} +45 -45
- package/dist/chunks/{form-gccjnz6h.js → snapshot-9pa8tak9.js} +2 -2
- package/dist/chunks/{form-rsjne1k7.js → snapshot-9pttm90n.js} +17 -17
- package/dist/chunks/{form-zgrr8q45.js → snapshot-9ttnny7k.js} +5 -5
- package/dist/chunks/{form-s0skt53x.js → snapshot-9vxdwdzz.js} +31 -31
- package/dist/chunks/snapshot-9zdhvgqs.js +18 -0
- package/dist/chunks/{form-9hry9nma.js → snapshot-a0we08s8.js} +27 -27
- package/dist/chunks/{form-cw3k6n42.js → snapshot-a16rd8k8.js} +30 -30
- package/dist/chunks/{form-y5rf7nzv.js → snapshot-a3c7ahw6.js} +4 -4
- package/dist/chunks/{form-bhxjw60r.js → snapshot-a6fw190p.js} +12 -12
- package/dist/chunks/{form-82jy7me2.js → snapshot-adns1g9g.js} +24 -24
- package/dist/chunks/{form-e7he988n.js → snapshot-ajtydnxp.js} +11 -11
- package/dist/chunks/{form-1bnbz8vf.js → snapshot-atj79w0v.js} +32 -32
- package/dist/chunks/{form-vs44tbz6.js → snapshot-be7jta6m.js} +4 -4
- package/dist/chunks/{form-x8gz1y8e.js → snapshot-be7qvw84.js} +8 -8
- package/dist/chunks/{form-4eb95kkt.js → snapshot-bg1wkd0b.js} +11 -11
- package/dist/chunks/{form-ywt8jp22.js → snapshot-bjx1sjef.js} +9 -9
- package/dist/chunks/{form-fhpwjwfp.js → snapshot-bqry624m.js} +11 -11
- package/dist/chunks/{form-7rasn972.js → snapshot-bv9pwty2.js} +11 -11
- package/dist/chunks/{form-5jq5wt6a.js → snapshot-bwx17gqq.js} +30 -30
- package/dist/chunks/{form-c1fqxshp.js → snapshot-c1fqxshp.js} +3 -3
- package/dist/chunks/{form-0y615900.js → snapshot-c38a98sw.js} +325 -325
- package/dist/chunks/{form-p6bre1gz.js → snapshot-c7eggyj2.js} +13 -13
- package/dist/chunks/{form-af6zfhme.js → snapshot-ccjdyf7k.js} +4 -4
- package/dist/chunks/{form-x4mcqtmr.js → snapshot-cf6gmne1.js} +15 -15
- package/dist/chunks/{form-0xjmb4aw.js → snapshot-ck1fd7pj.js} +50 -50
- package/dist/chunks/{form-p4mj4rdp.js → snapshot-cmwkp3r5.js} +8 -8
- package/dist/chunks/{form-qq2m2wf4.js → snapshot-cvm04r39.js} +8 -8
- package/dist/chunks/{form-nd57m68f.js → snapshot-cxz0trys.js} +23 -23
- package/dist/chunks/{form-6hh8tjw2.js → snapshot-d216944b.js} +7 -7
- package/dist/chunks/{form-g7swxvb3.js → snapshot-d48vtfkp.js} +20 -20
- package/dist/chunks/{form-myqp0ysx.js → snapshot-dj5070pm.js} +36 -36
- package/dist/chunks/{form-64mfqs5m.js → snapshot-dx27xtfn.js} +35 -35
- package/dist/chunks/{form-7epd78eg.js → snapshot-e62hrcgf.js} +3 -3
- package/dist/chunks/{form-sxcaecc0.js → snapshot-e80seqcp.js} +3 -3
- package/dist/chunks/{form-dkz4h62m.js → snapshot-e81g86hq.js} +2 -2
- package/dist/chunks/{form-5hsh8mcs.js → snapshot-eahqb6ke.js} +30 -30
- package/dist/chunks/{form-rhjbct0v.js → snapshot-eaj1djv9.js} +8 -8
- package/dist/chunks/{form-xk7wqgj3.js → snapshot-edd5yykw.js} +18 -18
- package/dist/chunks/{form-eej6y6fw.js → snapshot-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-80yv71a5.js → snapshot-eejq6m04.js} +13 -13
- package/dist/chunks/{form-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-mccv6fhs.js → snapshot-egftgkpy.js} +3 -3
- package/dist/chunks/{form-44w2dvnf.js → snapshot-ekje3y56.js} +17 -17
- package/dist/chunks/{form-0c2d7m56.js → snapshot-evv0vwxw.js} +9 -9
- package/dist/chunks/{form-55b95wm6.js → snapshot-f6vbds02.js} +24 -24
- package/dist/chunks/{form-2sejkfem.js → snapshot-ft3hqk2c.js} +9 -9
- package/dist/chunks/{form-yh6ztjf0.js → snapshot-fwetwkyp.js} +8 -8
- package/dist/chunks/{form-1w2wqhfv.js → snapshot-fxaymqdw.js} +4 -4
- package/dist/chunks/{form-kbmnqt40.js → snapshot-fxww3vkk.js} +27 -27
- package/dist/chunks/{form-rr2j5meq.js → snapshot-fzrap74d.js} +4 -4
- package/dist/chunks/{form-zb363yrd.js → snapshot-g0886e5s.js} +10 -10
- package/dist/chunks/{form-kdqphf6x.js → snapshot-g1vbddss.js} +5 -5
- package/dist/chunks/{form-gnmx4hex.js → snapshot-g751szay.js} +13 -13
- package/dist/chunks/{form-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-ba52ty8f.js → snapshot-getmpk2p.js} +25 -25
- package/dist/chunks/{form-tpvm8jgs.js → snapshot-ggdbdp3p.js} +22 -22
- package/dist/chunks/{form-47jkzegy.js → snapshot-gj71zhbs.js} +5 -5
- package/dist/chunks/{form-1vw01wqx.js → snapshot-gjw4dczg.js} +9 -9
- package/dist/chunks/{form-gk8qb678.js → snapshot-gk8qb678.js} +1 -1
- package/dist/chunks/{form-a00fgwp6.js → snapshot-gp6j0m16.js} +177 -177
- package/dist/chunks/{form-av3m5zjn.js → snapshot-gpcfbphx.js} +20 -20
- package/dist/chunks/{form-hw0zxg35.js → snapshot-gpmsrege.js} +19 -19
- package/dist/chunks/{form-x6r13a6v.js → snapshot-gr6rb6jp.js} +28 -28
- package/dist/chunks/{form-zee1rnkq.js → snapshot-gst7axd9.js} +4 -4
- package/dist/chunks/{form-d2czbp48.js → snapshot-gw7cjrad.js} +4 -4
- package/dist/chunks/{form-ht6dr56k.js → snapshot-h30nn26j.js} +5 -5
- package/dist/chunks/{form-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-31xfzrxg.js → snapshot-h7s7r6s9.js} +5 -5
- package/dist/chunks/{form-fb1qtx5j.js → snapshot-h8wzkg43.js} +25 -25
- package/dist/chunks/{form-e288s6x8.js → snapshot-hdaz9kwv.js} +22 -22
- package/dist/chunks/{form-va0k404r.js → snapshot-hgcw6g89.js} +17 -17
- package/dist/chunks/{form-hgz4x7wa.js → snapshot-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-322x12bj.js → snapshot-hky8srv6.js} +17 -17
- package/dist/chunks/{form-vgb5yh0c.js → snapshot-hwxse503.js} +43 -43
- package/dist/chunks/{form-c1wvkdzc.js → snapshot-j05shhqh.js} +4 -4
- package/dist/chunks/{form-91qna3x0.js → snapshot-j09zfasm.js} +3 -3
- package/dist/chunks/{form-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
- package/dist/chunks/{form-vfsj0jkk.js → snapshot-j6y24mx7.js} +43 -43
- package/dist/chunks/{form-79v2228v.js → snapshot-j7n20m06.js} +14 -14
- package/dist/chunks/{form-2g5cprqg.js → snapshot-jad7v81x.js} +14 -14
- package/dist/chunks/{form-s3jsmpzc.js → snapshot-jaqgj7gd.js} +5 -5
- package/dist/chunks/{form-yb8yygge.js → snapshot-jhh798t7.js} +16 -16
- package/dist/chunks/{form-z2e4rrbn.js → snapshot-jtfvy0x1.js} +5 -5
- package/dist/chunks/{form-addxnjmp.js → snapshot-k22b66k8.js} +4 -4
- package/dist/chunks/{form-1jq22t41.js → snapshot-kasbmhf8.js} +9 -9
- package/dist/chunks/snapshot-kgjy6kx3.js +26 -0
- package/dist/chunks/{form-xt43jwrv.js → snapshot-kxevvgj2.js} +33 -33
- package/dist/chunks/{form-5fyr2d0m.js → snapshot-m0zh6mp4.js} +13 -13
- package/dist/chunks/{form-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-8y31xnqm.js → snapshot-ma15yhyh.js} +5 -5
- package/dist/chunks/{form-5njrdk08.js → snapshot-meynmx88.js} +43 -43
- package/dist/chunks/{form-c33qfg7v.js → snapshot-meztqrmt.js} +41 -41
- package/dist/chunks/{form-1b0mmj8d.js → snapshot-mma6j8c6.js} +33 -33
- package/dist/chunks/{form-g3fthk25.js → snapshot-n1bf2k3s.js} +10 -10
- package/dist/chunks/{form-ya10tbyq.js → snapshot-n6j6gvjr.js} +25 -25
- package/dist/chunks/{form-pxm319h1.js → snapshot-nb6tc7gn.js} +7 -7
- package/dist/chunks/{form-h0vknvkg.js → snapshot-ncf68bzz.js} +8 -8
- package/dist/chunks/{form-m5ja7mh0.js → snapshot-ncff0ghb.js} +7 -7
- package/dist/chunks/{form-d7x0sh0y.js → snapshot-nd4tfyg0.js} +9 -9
- package/dist/chunks/{form-pp84f3ng.js → snapshot-nf9s1prm.js} +14 -14
- package/dist/chunks/{form-bfegkxfd.js → snapshot-npw39rc8.js} +8 -8
- package/dist/chunks/{form-tnd9dnxn.js → snapshot-nxm9bewc.js} +21 -21
- package/dist/chunks/{form-rmbkajqw.js → snapshot-p0302ss0.js} +23 -23
- package/dist/chunks/{form-enm4z0yr.js → snapshot-pck7vvdx.js} +3 -3
- package/dist/chunks/{form-waz12cep.js → snapshot-pdqzrdag.js} +8 -8
- package/dist/chunks/{form-9y2q36e8.js → snapshot-pgm6csgf.js} +7 -7
- package/dist/chunks/{form-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-wyafh0w1.js → snapshot-pk3rgn0k.js} +18 -18
- package/dist/chunks/{form-trqre4ge.js → snapshot-pkb3ay4t.js} +7 -7
- package/dist/chunks/{form-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{form-bk4r6et7.js → snapshot-pnevy8t0.js} +14 -14
- package/dist/chunks/{form-av8tazrm.js → snapshot-px49nktx.js} +18 -18
- package/dist/chunks/{form-82n0fy7d.js → snapshot-pxdh6z4x.js} +4 -4
- package/dist/chunks/{form-q0xm7vwc.js → snapshot-q0xm7vwc.js} +2 -2
- package/dist/chunks/{form-k0x9c2f3.js → snapshot-q1wh2s52.js} +9 -9
- package/dist/chunks/{form-qsvm9x85.js → snapshot-q5t8tkm3.js} +13 -13
- package/dist/chunks/{form-0sakkys5.js → snapshot-q6pvwn5s.js} +10 -10
- package/dist/chunks/{form-7hzcx47x.js → snapshot-q9099wq0.js} +11 -11
- package/dist/chunks/{form-6s49h116.js → snapshot-q9s0qt54.js} +25 -25
- package/dist/chunks/{form-9ddc3956.js → snapshot-qhtz5tn1.js} +6 -6
- package/dist/chunks/{form-21r0j0k4.js → snapshot-qm7yafx2.js} +27 -27
- package/dist/chunks/{form-qnc92qwc.js → snapshot-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-1dtmr12w.js → snapshot-qp5xdmt9.js} +12 -12
- package/dist/chunks/{form-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{form-3a1kt8mx.js → snapshot-qwz14s94.js} +17 -17
- package/dist/chunks/{form-hvydwdba.js → snapshot-qxs3vhad.js} +8 -8
- package/dist/chunks/{form-k7c61qyd.js → snapshot-qxteq9gp.js} +3 -3
- package/dist/chunks/{form-kvh3hn5p.js → snapshot-r00vxzkf.js} +13 -13
- package/dist/chunks/{form-g4y5gz37.js → snapshot-r1pe02km.js} +6 -6
- package/dist/chunks/{form-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-rert0e01.js → snapshot-rert0e01.js} +2 -2
- package/dist/chunks/{form-rj3eygr5.js → snapshot-rj3eygr5.js} +2 -2
- package/dist/chunks/{form-xhw8kcgn.js → snapshot-rmbqd2ve.js} +14 -14
- package/dist/chunks/{form-cbs81czz.js → snapshot-rrvferkx.js} +10 -10
- package/dist/chunks/{form-w32deh41.js → snapshot-rv7cqpdn.js} +20 -20
- package/dist/chunks/{form-9zhh23v8.js → snapshot-rv8bg9zk.js} +6 -6
- package/dist/chunks/{form-7d1jjv33.js → snapshot-rw725m44.js} +8 -8
- package/dist/chunks/{form-azra3wqg.js → snapshot-ryrkax6k.js} +32 -32
- package/dist/chunks/{form-a9t50ty0.js → snapshot-s21g3yfm.js} +5 -5
- package/dist/chunks/{form-sa8ekw3f.js → snapshot-sa8ekw3f.js} +2 -2
- package/dist/chunks/{form-zyk1yjk8.js → snapshot-scgrse2b.js} +5 -5
- package/dist/chunks/{form-sm0ksd3h.js → snapshot-svcw9x3w.js} +5 -5
- package/dist/chunks/{form-kck1ngxs.js → snapshot-sy5bqw1f.js} +36 -36
- package/dist/chunks/{form-syv4x271.js → snapshot-syv4x271.js} +1 -1
- package/dist/chunks/{form-bmr56wjg.js → snapshot-sz15zhhw.js} +4 -4
- package/dist/chunks/{form-99g2q9zd.js → snapshot-t0jcgyeh.js} +11 -11
- package/dist/chunks/{form-gk5356zs.js → snapshot-t24steab.js} +20 -20
- package/dist/chunks/{form-r540veg5.js → snapshot-t2sp9sft.js} +45 -45
- package/dist/chunks/{form-j2s3779n.js → snapshot-t3g5z3jq.js} +4 -4
- package/dist/chunks/{form-49t7pbwb.js → snapshot-t4xp0xer.js} +20 -20
- package/dist/chunks/{form-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-sp67p2pt.js → snapshot-tczskvm4.js} +9 -9
- package/dist/chunks/{form-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{form-yk3d35tb.js → snapshot-tj9ze35q.js} +11 -11
- package/dist/chunks/{form-tm0kqsz3.js → snapshot-tm0kqsz3.js} +1 -1
- package/dist/chunks/{form-9y14qb5r.js → snapshot-twxex640.js} +29 -29
- package/dist/chunks/{form-tyytaxap.js → snapshot-tyytaxap.js} +1 -1
- package/dist/chunks/{form-jc31vf16.js → snapshot-v61gpap5.js} +20 -20
- package/dist/chunks/{form-v7p4zvkq.js → snapshot-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{form-668vd0mr.js → snapshot-vvdk2v7s.js} +31 -31
- package/dist/chunks/{form-dgteecst.js → snapshot-vxrq7gy3.js} +23 -23
- package/dist/chunks/{form-zy2t3ddk.js → snapshot-vyxcgzxm.js} +4 -4
- package/dist/chunks/{form-7pk2fpkr.js → snapshot-vz7j5hz5.js} +15 -15
- package/dist/chunks/{form-vzs5sf6e.js → snapshot-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-wh6zw745.js → snapshot-w39jehkq.js} +5 -5
- package/dist/chunks/{form-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-hjqck59g.js → snapshot-w9m81hfh.js} +27 -27
- package/dist/chunks/{form-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{form-0x8nqgp6.js → snapshot-wdjckp9n.js} +58 -58
- package/dist/chunks/{form-d3y6n0b6.js → snapshot-wg81ww38.js} +4 -4
- package/dist/chunks/{form-tf3yab8x.js → snapshot-ws8te88a.js} +5 -5
- package/dist/chunks/{form-k9d4b4p7.js → snapshot-ww4mptbv.js} +6 -6
- package/dist/chunks/{form-e5f8kc24.js → snapshot-x0n2r8bm.js} +9 -9
- package/dist/chunks/{form-17xaq5pa.js → snapshot-x2g642t3.js} +50 -50
- package/dist/chunks/{form-yjytrvhv.js → snapshot-x9cg0rxw.js} +21 -21
- package/dist/chunks/{form-qx0zpr7q.js → snapshot-xbn8j5gg.js} +23 -23
- package/dist/chunks/{form-95m8db81.js → snapshot-xdykc06c.js} +15 -15
- package/dist/chunks/{form-t7jdn7q3.js → snapshot-xkcby2w3.js} +25 -25
- package/dist/chunks/{form-x8p4rg84.js → snapshot-xkxtbnne.js} +43 -43
- package/dist/chunks/{form-naz1hppr.js → snapshot-xn2d9mj3.js} +11 -11
- package/dist/chunks/{form-6pg3w5wa.js → snapshot-xwazsn8k.js} +26 -26
- package/dist/chunks/{form-wereqxyc.js → snapshot-xzf894n2.js} +37 -37
- package/dist/chunks/{form-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-dpkg50ah.js → snapshot-y71avatq.js} +4 -4
- package/dist/chunks/{form-0cg871e2.js → snapshot-yd4bzqjj.js} +5 -5
- package/dist/chunks/{form-3zftvv2w.js → snapshot-yfv49cfa.js} +50 -50
- package/dist/chunks/{form-3b9qt4hj.js → snapshot-yh7kjdpc.js} +9 -9
- package/dist/chunks/{form-jxz0pj49.js → snapshot-yrd2kh6r.js} +16 -16
- package/dist/chunks/{form-g8g0s57g.js → snapshot-yw0bx123.js} +15 -15
- package/dist/chunks/{form-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-wmqffk39.js → snapshot-z1j66m5m.js} +9 -9
- package/dist/chunks/{form-68x95car.js → snapshot-z7g7qfqe.js} +15 -15
- package/dist/chunks/{form-gjkgbs04.js → snapshot-z9dst3cg.js} +27 -27
- package/dist/chunks/{form-8dbkkhxs.js → snapshot-zejcb5bb.js} +34 -34
- package/dist/chunks/{form-6cv38wn1.js → snapshot-zhcb31md.js} +11 -11
- package/dist/chunks/{form-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/chunks/{form-j8egbxqg.js → snapshot-zy26rbxg.js} +24 -24
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +6 -6
- 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 +101 -101
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- 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 +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/form-623a4y9d.js +0 -26
- package/dist/chunks/form-7fj5dwt0.js +0 -18
- package/dist/chunks/form-xpxzt0pv.js +0 -253
- /package/dist/chunks/{form-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → snapshot-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5qd3pb7m.js → snapshot-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-bw78ga2c.js → snapshot-bw78ga2c.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → snapshot-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pkyv6v7h.js → snapshot-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{form-pyv0edze.js → snapshot-pyv0edze.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./snapshot-nxm9bewc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service15,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-eejq6m04.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service52
|
|
11
|
+
} from "./snapshot-bg1wkd0b.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service76
|
|
14
|
+
} from "./snapshot-x2g642t3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service14
|
|
17
|
+
} from "./snapshot-vz7j5hz5.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input5,
|
|
29
|
+
Output: () => Output4,
|
|
30
|
+
Plugin: () => Plugin22,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name5,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name5 = "write";
|
|
39
|
+
var Input5 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output4 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin22 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service14;
|
|
56
|
+
const fileMutation = yield* Service15;
|
|
57
|
+
const environment = yield* Service66;
|
|
58
|
+
const formatter = yield* Service52;
|
|
59
|
+
const permission = yield* Service76;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name5,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input5,
|
|
69
|
+
output: Output4,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name5, Input5, Output4, toModelContent3, Plugin22, exports_write };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID6
|
|
3
|
+
} from "./snapshot-a0we08s8.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID6.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID6.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-qnc92qwc.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-rj3eygr5.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/retry.ts
|
|
9
9
|
var exports_retry = {};
|
|
10
10
|
__export(exports_retry, {
|
|
11
11
|
SessionRunnerRetry: () => exports_retry,
|
|
12
12
|
isRetryable: () => isRetryable2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make9,
|
|
14
14
|
policy: () => policy2
|
|
15
15
|
});
|
|
16
16
|
import { isRetryable as isRetryable2 } from "@opencode/ai";
|
|
@@ -60,7 +60,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
60
60
|
return { retry: true, attempt, delay: normalized };
|
|
61
61
|
});
|
|
62
62
|
});
|
|
63
|
-
var
|
|
63
|
+
var make9 = (bus, sessionID) => Effect.gen(function* () {
|
|
64
64
|
const decide = yield* policy2(sessionID);
|
|
65
65
|
const wait = (input) => Effect.gen(function* () {
|
|
66
66
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -77,4 +77,4 @@ var make5 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
77
77
|
return { decide, wait };
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { isRetryable2, policy2,
|
|
80
|
+
export { isRetryable2, policy2, make9, exports_retry };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-k22b66k8.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-ccjdyf7k.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event13
|
|
10
|
+
} from "./snapshot-bwx17gqq.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID7,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-a16rd8k8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID6,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service57
|
|
20
|
+
} from "./snapshot-a0we08s8.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID5
|
|
23
|
+
} from "./snapshot-qm7yafx2.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./snapshot-ggdbdp3p.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-3fppgx15.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID15
|
|
33
|
+
} from "./snapshot-x9cg0rxw.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./snapshot-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID7.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
166
|
+
const providers = yield* Service57;
|
|
167
167
|
const bus = yield* Service84;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID6.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID6.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
yield* ctx.model.transform((models) => {
|
|
233
|
-
if (models.get(
|
|
234
|
-
models.update(
|
|
233
|
+
if (models.get(ID6.githubCopilot, ID5.make("gpt-5-chat-latest"))) {
|
|
234
|
+
models.update(ID6.githubCopilot, ID5.make("gpt-5-chat-latest"), (model) => {
|
|
235
235
|
model.enabled = false;
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(
|
|
240
|
+
yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
|
-
if (evt.model.providerID !==
|
|
243
|
+
if (evt.model.providerID !== ID6.githubCopilot)
|
|
244
244
|
return;
|
|
245
245
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
246
246
|
return;
|
|
@@ -249,7 +249,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
250
|
}));
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
|
-
if (evt.model.providerID !==
|
|
252
|
+
if (evt.model.providerID !== ID6.githubCopilot)
|
|
253
253
|
return;
|
|
254
254
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
255
255
|
return;
|
|
@@ -259,13 +259,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
259
259
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
260
260
|
if (interaction !== "conversation-agent")
|
|
261
261
|
evt.headers["x-initiator"] = "agent";
|
|
262
|
-
}), { providerID:
|
|
262
|
+
}), { providerID: ID6.githubCopilot });
|
|
263
263
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
264
|
-
if (evt.model.providerID !==
|
|
264
|
+
if (evt.model.providerID !== ID6.githubCopilot)
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
276
276
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
277
277
|
return;
|
|
278
278
|
}));
|
|
279
|
-
}), { providerID:
|
|
279
|
+
}), { providerID: ID6.githubCopilot });
|
|
280
280
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
281
|
-
if (evt.model.providerID !==
|
|
281
|
+
if (evt.model.providerID !== ID6.githubCopilot)
|
|
282
282
|
return;
|
|
283
283
|
const token = evt.request.headers.get("x-api-key");
|
|
284
284
|
if (!token)
|
|
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
286
286
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
287
287
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
288
288
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
289
|
-
}), { providerID:
|
|
289
|
+
}), { providerID: ID6.githubCopilot });
|
|
290
290
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID6.githubCopilot)
|
|
292
292
|
return;
|
|
293
293
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
294
294
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_permission, {
|
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info13,
|
|
12
12
|
Object: () => Object2,
|
|
13
13
|
Rule: () => Rule2
|
|
14
14
|
});
|
|
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
22
|
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info13 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2, Rule2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule2, Info13, exports_permission };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./snapshot-meynmx88.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./snapshot-yh7kjdpc.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin38
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin38 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service48;
|
|
26
|
+
const image = yield* Service60;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin15 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin38, exports_image };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-3fppgx15.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-ccjdyf7k.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event13,
|
|
10
|
+
Service59
|
|
11
|
+
} from "./snapshot-bwx17gqq.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID7,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-a16rd8k8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID6,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-a0we08s8.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID5,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info14
|
|
24
|
+
} from "./snapshot-qm7yafx2.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./snapshot-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./snapshot-54ma36ye.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/chatgpt.ts
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -40,8 +40,8 @@ var issuer = "https://auth.openai.com";
|
|
|
40
40
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
41
41
|
var resource = "https://api.openai.com/v1";
|
|
42
42
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
43
|
-
var providerID =
|
|
44
|
-
var integrationID =
|
|
43
|
+
var providerID = ID6.openai;
|
|
44
|
+
var integrationID = ID7.make("openai");
|
|
45
45
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
46
46
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
47
47
|
var fallbackModels = new Set([
|
|
@@ -177,7 +177,7 @@ var ChatGPTPlugin2 = define({
|
|
|
177
177
|
id: "opencode.provider.chatgpt",
|
|
178
178
|
effect: Effect.fn(function* (ctx) {
|
|
179
179
|
const bus = yield* Service84;
|
|
180
|
-
const credentials = yield*
|
|
180
|
+
const credentials = yield* Service59;
|
|
181
181
|
const loading = Semaphore.makeUnsafe(1);
|
|
182
182
|
let chatgpt;
|
|
183
183
|
let source;
|
|
@@ -192,7 +192,7 @@ var ChatGPTPlugin2 = define({
|
|
|
192
192
|
yield* ctx.integration.transform((editor) => {
|
|
193
193
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
194
194
|
});
|
|
195
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
195
|
+
yield* Effect.forEach(yield* credentials.list(ID7.make("openai")), (entry) => {
|
|
196
196
|
const value = entry.value;
|
|
197
197
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
198
198
|
return Effect.void;
|
|
@@ -263,7 +263,7 @@ var ChatGPTPlugin2 = define({
|
|
|
263
263
|
}
|
|
264
264
|
});
|
|
265
265
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
266
|
-
yield* bus.subscribe(
|
|
266
|
+
yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
267
267
|
})
|
|
268
268
|
});
|
|
269
269
|
function headers(app) {
|
|
@@ -320,7 +320,7 @@ function deriveModels2(remote, existing) {
|
|
|
320
320
|
const found = byID.get(model.modelID);
|
|
321
321
|
return found ? [deriveModel(found, model)] : [];
|
|
322
322
|
}),
|
|
323
|
-
...remote.filter((model) => !known.has(
|
|
323
|
+
...remote.filter((model) => !known.has(ID5.make(model.slug))).map((model) => deriveModel(model, Info14.default(ID6.openai, ID5.make(model.slug))))
|
|
324
324
|
];
|
|
325
325
|
}
|
|
326
326
|
function deriveModel(remote, previous) {
|