@opencode/core 0.0.0-dev-20789 → 0.0.0-dev-20791
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 +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{skill-0yfwxyck.js → provider-03g00rc2.js} +11 -11
- package/dist/chunks/{skill-hzjbd8ja.js → provider-047jqq3p.js} +28 -28
- package/dist/chunks/{skill-5gctr7pz.js → provider-0d84vz2x.js} +15 -15
- package/dist/chunks/{skill-gen6e5ga.js → provider-0ftbr9pt.js} +4 -4
- package/dist/chunks/{skill-b5mrbpzb.js → provider-0hb4wmm5.js} +6 -6
- package/dist/chunks/{skill-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
- package/dist/chunks/{skill-0vbcp93d.js → provider-0vbcp93d.js} +2 -2
- package/dist/chunks/{skill-x2cv103a.js → provider-0vtm6bxs.js} +12 -12
- package/dist/chunks/{skill-vfjhn2wd.js → provider-0xqyf95c.js} +4 -4
- package/dist/chunks/{skill-z41ms5aa.js → provider-0xwgk9vz.js} +3 -3
- package/dist/chunks/{skill-aspk6a8p.js → provider-1281thgj.js} +18 -18
- package/dist/chunks/{skill-q1gfrjka.js → provider-14y0d454.js} +16 -16
- package/dist/chunks/{skill-f2n192rq.js → provider-1acjjqhc.js} +4 -4
- package/dist/chunks/{skill-p37cw4rj.js → provider-1ajx6rf5.js} +8 -8
- package/dist/chunks/{skill-wjr9rjd7.js → provider-1ffvrpkg.js} +9 -9
- package/dist/chunks/{skill-71mzqg8a.js → provider-1fgp8xwn.js} +23 -23
- package/dist/chunks/{skill-wnqeyzq4.js → provider-1pb85ckn.js} +3 -3
- package/dist/chunks/{skill-5adtfy05.js → provider-1sw2bjqg.js} +26 -26
- package/dist/chunks/{skill-00arqr3w.js → provider-1z89szcw.js} +24 -24
- package/dist/chunks/{skill-jyxdmbfn.js → provider-1zvzsdwq.js} +4 -4
- package/dist/chunks/{skill-mvyxbeb7.js → provider-26zrht65.js} +5 -5
- package/dist/chunks/{skill-zajq5fj4.js → provider-29wxprpz.js} +11 -11
- package/dist/chunks/{skill-xa2w9q8x.js → provider-2aftvdxj.js} +20 -20
- package/dist/chunks/{skill-6azt9ew3.js → provider-2cbec54g.js} +47 -47
- package/dist/chunks/{skill-cr9jtv1m.js → provider-2e7wrvcp.js} +5 -5
- package/dist/chunks/{skill-wcty64ct.js → provider-2h977fq8.js} +58 -58
- package/dist/chunks/{skill-fhdpcka2.js → provider-2kqaa06v.js} +28 -28
- package/dist/chunks/{skill-zhqfqnam.js → provider-2ptgxraj.js} +18 -18
- package/dist/chunks/{skill-2vvh33eb.js → provider-2vvh33eb.js} +2 -2
- package/dist/chunks/{skill-m4wcbn95.js → provider-30405gqp.js} +7 -7
- package/dist/chunks/{skill-dg6zp6za.js → provider-32qtf6eh.js} +44 -44
- package/dist/chunks/{skill-6rgf6b6h.js → provider-335g9ndw.js} +45 -45
- package/dist/chunks/{skill-dt46c1re.js → provider-3403f573.js} +11 -11
- package/dist/chunks/{skill-e5m1de66.js → provider-37rmtkzf.js} +11 -11
- package/dist/chunks/{skill-fepbnb8j.js → provider-38adaqc0.js} +5 -5
- package/dist/chunks/{skill-h2b79v29.js → provider-3cegwx68.js} +2 -2
- package/dist/chunks/{skill-cp112310.js → provider-3f6waj75.js} +36 -36
- package/dist/chunks/{skill-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-08g6pvj0.js → provider-3hrm5za2.js} +17 -17
- package/dist/chunks/{skill-3hwn7j4h.js → provider-3hwn7j4h.js} +2 -2
- package/dist/chunks/{skill-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-6h28ha74.js → provider-3vyzva02.js} +49 -49
- package/dist/chunks/{skill-hcgg574b.js → provider-3xks077t.js} +9 -9
- package/dist/chunks/{skill-3zsf4n22.js → provider-3zsf4n22.js} +1 -1
- package/dist/chunks/{skill-wtz46evs.js → provider-45hw2ke2.js} +6 -6
- package/dist/chunks/{skill-yvfc4kz5.js → provider-49q5ax9f.js} +23 -23
- package/dist/chunks/{skill-n81k1gxp.js → provider-4b6t6vp9.js} +11 -11
- package/dist/chunks/{skill-gce79w0q.js → provider-4d2ssmng.js} +19 -19
- package/dist/chunks/{skill-f0ykjh2k.js → provider-4gnvd7qm.js} +9 -9
- package/dist/chunks/{skill-emr3wtvp.js → provider-4jgvg5sf.js} +50 -50
- package/dist/chunks/{skill-ggw8f2hf.js → provider-4spa2hfp.js} +5 -5
- package/dist/chunks/{skill-4ts7tf6z.js → provider-4ts7tf6z.js} +2 -2
- package/dist/chunks/{skill-8ktnpv6s.js → provider-4wbp889g.js} +8 -8
- package/dist/chunks/{skill-vrrq7v3g.js → provider-4xpgt2w9.js} +5 -5
- package/dist/chunks/{skill-3hjytx3g.js → provider-4yyqrevp.js} +27 -27
- package/dist/chunks/{skill-qqjkr9a4.js → provider-52y26bc1.js} +11 -11
- package/dist/chunks/{skill-54ma36ye.js → provider-54ma36ye.js} +1 -1
- package/dist/chunks/provider-58247qtm.js +26 -0
- package/dist/chunks/{skill-5m9w47nd.js → provider-5m9w47nd.js} +1 -1
- package/dist/chunks/{skill-7tb6jmww.js → provider-5xd5tp9x.js} +37 -37
- package/dist/chunks/{skill-cngx66nk.js → provider-5zageasv.js} +11 -11
- package/dist/chunks/{skill-kv7cqvsa.js → provider-62jnxtzq.js} +13 -13
- package/dist/chunks/{skill-swvvsswy.js → provider-62vm8mpr.js} +27 -27
- package/dist/chunks/{skill-vjjaysxc.js → provider-63db42yp.js} +2 -2
- package/dist/chunks/{skill-snm9vxbg.js → provider-660vws5y.js} +11 -11
- package/dist/chunks/{skill-8kj5v6pp.js → provider-6an8s7fn.js} +4 -4
- package/dist/chunks/{skill-vs07pngr.js → provider-6dktpyb5.js} +36 -36
- package/dist/chunks/{skill-ftaw7sa4.js → provider-6e3qzxz7.js} +45 -45
- package/dist/chunks/{skill-6m371703.js → provider-6m6pfhdc.js} +4 -4
- package/dist/chunks/{skill-smp627vn.js → provider-6p4dxar3.js} +11 -11
- package/dist/chunks/{skill-g2vm2m1v.js → provider-6rf3xdqr.js} +7 -7
- package/dist/chunks/{skill-w5g91xe9.js → provider-6t6v4r2b.js} +29 -29
- package/dist/chunks/{skill-6xb47vfp.js → provider-6xb47vfp.js} +1 -1
- package/dist/chunks/{skill-btvbq7ph.js → provider-70kn96kt.js} +14 -14
- package/dist/chunks/{skill-2smt9sqp.js → provider-76geegwy.js} +32 -32
- package/dist/chunks/{skill-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-9e40jta8.js → provider-7ev5skf9.js} +15 -15
- package/dist/chunks/{skill-9430thwq.js → provider-7f2fthed.js} +8 -8
- package/dist/chunks/{skill-7feea0h6.js → provider-7feea0h6.js} +2 -2
- package/dist/chunks/{skill-82v73sw7.js → provider-82v73sw7.js} +3 -3
- package/dist/chunks/{skill-1dvck2a7.js → provider-84h8c373.js} +2 -2
- package/dist/chunks/{skill-84txncab.js → provider-84txncab.js} +1 -1
- package/dist/chunks/{skill-1grmk9rr.js → provider-85b4mqzk.js} +6 -6
- package/dist/chunks/{skill-a881zpfh.js → provider-880p7epb.js} +9 -9
- package/dist/chunks/{skill-1b5fmrz5.js → provider-8gn0smby.js} +14 -14
- package/dist/chunks/{skill-32q8qkzs.js → provider-8k33st31.js} +31 -31
- package/dist/chunks/{skill-8m6m0r52.js → provider-8m6m0r52.js} +1 -1
- package/dist/chunks/{skill-atw21n6r.js → provider-8r1jb4je.js} +3 -3
- package/dist/chunks/{skill-cvg5z9hw.js → provider-8saax5z0.js} +3 -3
- package/dist/chunks/{skill-rkprpv83.js → provider-8sze2n9a.js} +6 -6
- package/dist/chunks/{skill-qz85bdjt.js → provider-8xxzf2da.js} +2 -2
- package/dist/chunks/{skill-m4cqym4f.js → provider-92vpqabm.js} +38 -38
- package/dist/chunks/{skill-weypcjsg.js → provider-95fdcy0x.js} +3 -3
- package/dist/chunks/{skill-v62npd1m.js → provider-9cppds89.js} +18 -18
- package/dist/chunks/{skill-wsa6nz93.js → provider-9h4qydt5.js} +16 -16
- package/dist/chunks/{skill-sjdnb4tv.js → provider-9hgbqvyk.js} +20 -20
- package/dist/chunks/{skill-ea2cjnvh.js → provider-9kc6pycg.js} +21 -21
- package/dist/chunks/{skill-vtdbq9f7.js → provider-9v6yecg3.js} +9 -9
- package/dist/chunks/{skill-2hqxtjqw.js → provider-9yq3t2hf.js} +1 -1
- package/dist/chunks/{skill-x353b1jt.js → provider-a2qe2ev9.js} +8 -8
- package/dist/chunks/{skill-q7a3w1qy.js → provider-a9gv15q4.js} +35 -35
- package/dist/chunks/{skill-ptk5q1an.js → provider-amxsreew.js} +3 -3
- package/dist/chunks/{skill-pfnhpyy1.js → provider-apq16njp.js} +45 -45
- package/dist/chunks/{skill-h51scejt.js → provider-ashwz6j6.js} +24 -24
- package/dist/chunks/{skill-meetr4ga.js → provider-atm02tjg.js} +23 -23
- package/dist/chunks/{skill-78xe48n9.js → provider-avqctdqx.js} +13 -13
- package/dist/chunks/{skill-enzp79dy.js → provider-b42z8asq.js} +20 -20
- package/dist/chunks/{skill-hmvn8skc.js → provider-b65scesz.js} +18 -18
- package/dist/chunks/{skill-ygdna4kr.js → provider-b674v2dg.js} +5 -5
- package/dist/chunks/{skill-6dbdcyf3.js → provider-bfsxa3aj.js} +9 -9
- package/dist/chunks/{skill-g8vgyxq1.js → provider-bkec5w72.js} +17 -17
- package/dist/chunks/{skill-1d306zj7.js → provider-bnhfyrbt.js} +16 -16
- package/dist/chunks/{skill-mv783v7m.js → provider-bvmsv81p.js} +23 -23
- package/dist/chunks/{skill-by5v678g.js → provider-by5v678g.js} +1 -1
- package/dist/chunks/{skill-rr6gbw65.js → provider-c59j4z19.js} +49 -49
- package/dist/chunks/{skill-xkaq2mgm.js → provider-cd6yk4zv.js} +23 -23
- package/dist/chunks/{skill-qarhv81h.js → provider-cjggxxw5.js} +5 -5
- package/dist/chunks/{skill-9av8whcn.js → provider-ck5v4t4h.js} +13 -13
- package/dist/chunks/{skill-gdjh7nny.js → provider-cn00qjjk.js} +33 -33
- package/dist/chunks/{skill-3y9439dg.js → provider-cngbv4vx.js} +12 -12
- package/dist/chunks/{skill-5df3pshv.js → provider-cscw30g0.js} +23 -23
- package/dist/chunks/{skill-r2m716tb.js → provider-cwa6csj7.js} +9 -9
- package/dist/chunks/{skill-pm94sc92.js → provider-d883x9cj.js} +31 -31
- package/dist/chunks/{skill-jh2p3cej.js → provider-dg0xkvw5.js} +42 -42
- package/dist/chunks/{skill-xw33hjet.js → provider-dj10tw80.js} +12 -12
- package/dist/chunks/{skill-y71avatq.js → provider-dpkg50ah.js} +4 -4
- package/dist/chunks/{skill-j2y740qz.js → provider-dtkcvn89.js} +26 -26
- package/dist/chunks/{skill-qvsfm0cn.js → provider-dv078rhj.js} +22 -22
- package/dist/chunks/{skill-00mpf3fe.js → provider-dvf4d4yx.js} +7 -7
- package/dist/chunks/{skill-hgc4c8g5.js → provider-dzzj39sc.js} +27 -27
- package/dist/chunks/{skill-tzr9m6ew.js → provider-e5bq21fb.js} +39 -39
- package/dist/chunks/{skill-c7zza6wf.js → provider-e80seqcp.js} +3 -3
- package/dist/chunks/{skill-0ybbsf06.js → provider-e8vwfchq.js} +6 -6
- package/dist/chunks/{skill-rhjbct0v.js → provider-eaj1djv9.js} +8 -8
- package/dist/chunks/{skill-a18c1dz5.js → provider-ebwxn0bv.js} +8 -8
- package/dist/chunks/{skill-eej6y6fw.js → provider-eej6y6fw.js} +2 -2
- package/dist/chunks/{skill-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
- package/dist/chunks/{skill-empzf135.js → provider-eh0k18hk.js} +26 -26
- package/dist/chunks/provider-ejhexyp6.js +253 -0
- package/dist/chunks/{skill-sgcan731.js → provider-emrckeyb.js} +28 -28
- package/dist/chunks/{skill-n1n192bv.js → provider-f29mbr7f.js} +4 -4
- package/dist/chunks/{skill-e6n3n32a.js → provider-f3njbn8g.js} +37 -37
- package/dist/chunks/{skill-71az546q.js → provider-f75zav2x.js} +2 -2
- package/dist/chunks/{skill-1ghf8zs3.js → provider-f78dsz6n.js} +11 -11
- package/dist/chunks/{skill-7dqw4kz8.js → provider-fcrkznn8.js} +5 -5
- package/dist/chunks/{skill-ds79b92t.js → provider-fff0xyha.js} +19 -19
- package/dist/chunks/{skill-7gb6bbw5.js → provider-fj6865vy.js} +20 -20
- package/dist/chunks/{skill-md0w14xr.js → provider-fjw2kstf.js} +35 -35
- package/dist/chunks/{skill-shbwr51e.js → provider-fmp9231c.js} +5 -5
- package/dist/chunks/{skill-0jq9fyba.js → provider-fwwk8vbp.js} +9 -9
- package/dist/chunks/{skill-rf11ewf6.js → provider-g249fj17.js} +5 -5
- package/dist/chunks/{skill-ra67jj04.js → provider-g686f6pq.js} +9 -9
- package/dist/chunks/{skill-c536jfwj.js → provider-g7758hjd.js} +33 -33
- package/dist/chunks/{skill-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-gk8qb678.js → provider-gk8qb678.js} +1 -1
- package/dist/chunks/{skill-vg5ng587.js → provider-gtkn8gkd.js} +28 -28
- package/dist/chunks/{skill-q391smpk.js → provider-h2jbhxpy.js} +10 -10
- package/dist/chunks/{skill-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
- package/dist/chunks/{skill-n0qca65e.js → provider-h7a371x4.js} +27 -27
- package/dist/chunks/{skill-h7s7r6s9.js → provider-h7s7r6s9.js} +2 -2
- package/dist/chunks/{skill-hgz4x7wa.js → provider-hgz4x7wa.js} +1 -1
- package/dist/chunks/{skill-x4tfj1b6.js → provider-hhgjrq7n.js} +4 -4
- package/dist/chunks/{skill-j56e64zr.js → provider-j56e64zr.js} +1 -1
- package/dist/chunks/{skill-370emgfb.js → provider-j9cyargr.js} +8 -8
- package/dist/chunks/{skill-dxcmn7gv.js → provider-j9sn2hmy.js} +58 -58
- package/dist/chunks/{skill-tt0td6bw.js → provider-jthxwa51.js} +4 -4
- package/dist/chunks/{skill-4x0qy855.js → provider-jxjmkhwe.js} +69 -69
- package/dist/chunks/{skill-2dsmk9dz.js → provider-k621mz99.js} +9 -9
- package/dist/chunks/{skill-enxcwg50.js → provider-kancfa1f.js} +10 -10
- package/dist/chunks/{skill-9e5bzkjp.js → provider-kb9j3d72.js} +3 -3
- package/dist/chunks/{skill-mnzexygb.js → provider-ke3v7s92.js} +4 -4
- package/dist/chunks/{skill-77qc4jg9.js → provider-kkq6mwcr.js} +14 -14
- package/dist/chunks/{skill-8134vgq8.js → provider-kmyvz7s7.js} +187 -187
- package/dist/chunks/{skill-8p3svrjv.js → provider-m30y0s1n.js} +7 -7
- package/dist/chunks/{skill-m3fdjcah.js → provider-m3fdjcah.js} +1 -1
- package/dist/chunks/{skill-aaynj67q.js → provider-m98yqj1g.js} +13 -13
- package/dist/chunks/{skill-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-pxfjkbst.js → provider-mkdknv6v.js} +90 -90
- package/dist/chunks/{skill-sm965ndy.js → provider-mp6d0dty.js} +8 -8
- package/dist/chunks/{skill-h8nhsb3s.js → provider-mv3a9vfa.js} +31 -31
- package/dist/chunks/{skill-ck0279kv.js → provider-mxc9h5jw.js} +11 -11
- package/dist/chunks/{skill-pg6wempa.js → provider-myz3c1x1.js} +14 -14
- package/dist/chunks/{skill-axfvp7va.js → provider-n5yd7gvm.js} +8 -8
- package/dist/chunks/{skill-sa0pf6kw.js → provider-n9henkkh.js} +31 -31
- package/dist/chunks/{skill-e430y7md.js → provider-nggw558s.js} +32 -32
- package/dist/chunks/{skill-jtgksb6t.js → provider-nk5pjz5k.js} +25 -25
- package/dist/chunks/{skill-9gzxjqw2.js → provider-nzqd0z95.js} +18 -18
- package/dist/chunks/{skill-1hjdtj4f.js → provider-p2kw5rbw.js} +6 -6
- package/dist/chunks/{skill-y2ft0csz.js → provider-p6hhy8bg.js} +22 -22
- package/dist/chunks/{skill-g5tm6mc8.js → provider-pawgp0r2.js} +23 -23
- package/dist/chunks/{skill-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-pknna89w.js → provider-pknna89w.js} +1 -1
- package/dist/chunks/{skill-h1mnhnd9.js → provider-pr7pa2x1.js} +8 -8
- package/dist/chunks/{skill-3kdj2wrp.js → provider-pssynsjy.js} +13 -13
- package/dist/chunks/{skill-j9zs8hdq.js → provider-pt6k7v6r.js} +15 -15
- package/dist/chunks/{skill-c4g0n60f.js → provider-pv6pvbp0.js} +16 -16
- package/dist/chunks/{skill-q0xm7vwc.js → provider-q0xm7vwc.js} +2 -2
- package/dist/chunks/{skill-hdd6nsph.js → provider-q2zbepsx.js} +28 -28
- package/dist/chunks/{skill-3g8j9he4.js → provider-q5e7cmwt.js} +1 -1
- package/dist/chunks/{skill-41ae5dp3.js → provider-q5xvhvda.js} +6 -6
- package/dist/chunks/{skill-5e7cbs51.js → provider-q95xegsv.js} +46 -46
- package/dist/chunks/{skill-ee5fywxb.js → provider-qjqmwmzb.js} +10 -10
- package/dist/chunks/{skill-qnc92qwc.js → provider-qnc92qwc.js} +1 -1
- package/dist/chunks/{skill-6zt0yphx.js → provider-qrhkshcm.js} +25 -25
- package/dist/chunks/{skill-qsdy395h.js → provider-qsdy395h.js} +1 -1
- package/dist/chunks/{skill-xz56r2t1.js → provider-qwgxfp2a.js} +5 -5
- package/dist/chunks/{skill-xjprcrhm.js → provider-r4kk7qr4.js} +41 -41
- package/dist/chunks/{skill-6tsdpw4y.js → provider-r5w6n4cv.js} +22 -22
- package/dist/chunks/{skill-j8wnfk71.js → provider-r7jvaf8c.js} +332 -332
- package/dist/chunks/{skill-yd1kt14t.js → provider-rc8hhhh7.js} +18 -18
- package/dist/chunks/{skill-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
- package/dist/chunks/{skill-hnreq56c.js → provider-rf8f0yt3.js} +8 -8
- package/dist/chunks/{skill-1j56twd0.js → provider-rmjt2b52.js} +39 -39
- package/dist/chunks/{skill-qm0v3jhh.js → provider-ryr25ayn.js} +7 -7
- package/dist/chunks/{skill-a5cjz17g.js → provider-s1dh365q.js} +5 -5
- package/dist/chunks/{skill-80scg3y3.js → provider-s26hbv8p.js} +4 -4
- package/dist/chunks/{skill-bs7692vd.js → provider-s9qpn53w.js} +15 -15
- package/dist/chunks/{skill-b3f8fkhc.js → provider-scgrse2b.js} +5 -5
- package/dist/chunks/{skill-qz02d4gv.js → provider-sds13m34.js} +13 -13
- package/dist/chunks/{skill-fk73qj2b.js → provider-shrjyxtz.js} +1 -1
- package/dist/chunks/{skill-hzrfc1p4.js → provider-ss358qx3.js} +3 -3
- package/dist/chunks/{skill-5c60w89n.js → provider-sv3kqa3f.js} +75 -75
- package/dist/chunks/{skill-105tfwjb.js → provider-t1ab5pxs.js} +15 -15
- package/dist/chunks/{skill-zjwzhnbf.js → provider-t6waa6vr.js} +22 -22
- package/dist/chunks/{skill-jvf3yq6v.js → provider-t7n9q6bq.js} +4 -4
- package/dist/chunks/{skill-hpc7c59x.js → provider-t91hcw5k.js} +20 -20
- package/dist/chunks/{skill-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-7gqw55ax.js → provider-tby2y51h.js} +5 -5
- package/dist/chunks/{skill-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
- package/dist/chunks/{skill-n2f72mwv.js → provider-td1bkjex.js} +20 -20
- package/dist/chunks/{skill-tdstcens.js → provider-tdstcens.js} +1 -1
- package/dist/chunks/{skill-vr35wzvx.js → provider-thm5q0xs.js} +22 -22
- package/dist/chunks/{skill-zkar08me.js → provider-tjnp7r6e.js} +15 -15
- package/dist/chunks/{skill-tyytaxap.js → provider-tyytaxap.js} +1 -1
- package/dist/chunks/{skill-fpecnkgp.js → provider-v0es1rhs.js} +9 -9
- package/dist/chunks/{skill-v7p4zvkq.js → provider-v7p4zvkq.js} +2 -2
- package/dist/chunks/{skill-9qjx46b1.js → provider-vee0vrgv.js} +9 -9
- package/dist/chunks/{skill-xnc2fnjt.js → provider-vejsh113.js} +29 -29
- package/dist/chunks/{skill-veqvce7d.js → provider-veqvce7d.js} +1 -1
- package/dist/chunks/{skill-w6cpfezs.js → provider-vk40tmth.js} +10 -10
- package/dist/chunks/{skill-90f4gfvd.js → provider-vsnf9nwj.js} +17 -17
- package/dist/chunks/{skill-mx9vqzsb.js → provider-vvccsdf3.js} +6 -6
- package/dist/chunks/{skill-vzs5sf6e.js → provider-vzs5sf6e.js} +1 -1
- package/dist/chunks/{skill-ncb659dg.js → provider-w144htxh.js} +4 -4
- package/dist/chunks/{skill-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-yadxnt8q.js → provider-w4jn1cxa.js} +11 -11
- package/dist/chunks/{skill-97aeaand.js → provider-waskdk5r.js} +4 -4
- package/dist/chunks/{skill-npmzekpt.js → provider-wcgx21r5.js} +20 -20
- package/dist/chunks/{skill-wd87259q.js → provider-wd87259q.js} +1 -1
- package/dist/chunks/{skill-c2285g23.js → provider-weqgmzm7.js} +21 -21
- package/dist/chunks/{skill-cjd91dpb.js → provider-wh8ssgqw.js} +20 -20
- package/dist/chunks/{skill-e509ft0y.js → provider-ws53rjxg.js} +24 -24
- package/dist/chunks/{skill-mp3rbb49.js → provider-wt1nksa6.js} +12 -12
- package/dist/chunks/{skill-mvcqbvqp.js → provider-wzwfmfap.js} +4 -4
- package/dist/chunks/{skill-vq34yhbc.js → provider-x0q5m72f.js} +8 -8
- package/dist/chunks/{skill-b6gr20b6.js → provider-x2arpr3q.js} +34 -34
- package/dist/chunks/{skill-p6ms1qj3.js → provider-xa42b6m5.js} +13 -13
- package/dist/chunks/{skill-s0b7t9fd.js → provider-xasyx0as.js} +4 -4
- package/dist/chunks/{skill-drwq78ky.js → provider-xfkkasph.js} +4 -4
- package/dist/chunks/{skill-meetrtdx.js → provider-xnfh7z4s.js} +24 -24
- package/dist/chunks/{skill-mj9byv44.js → provider-xxbftrs5.js} +11 -11
- package/dist/chunks/{skill-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-7t68mjgs.js → provider-y6fmmag9.js} +11 -11
- package/dist/chunks/{skill-2wncw716.js → provider-y7f9yaqr.js} +13 -13
- package/dist/chunks/{skill-3cc556wd.js → provider-yykvs157.js} +20 -20
- package/dist/chunks/{skill-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
- package/dist/chunks/{skill-ccxrkxzs.js → provider-zdj1medq.js} +19 -19
- package/dist/chunks/{skill-gvg9dw6p.js → provider-zec2tej3.js} +9 -9
- package/dist/chunks/{skill-sw9e8akq.js → provider-zee0z0hh.js} +14 -14
- package/dist/chunks/{skill-zjtrsxny.js → provider-zjtrsxny.js} +2 -2
- package/dist/chunks/{skill-y5v0xzkg.js → provider-zkzvxy35.js} +16 -16
- package/dist/chunks/{skill-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
- package/dist/chunks/{skill-mxvxcxwy.js → provider-zw2hpfmh.js} +4 -4
- package/dist/chunks/{skill-a32h2kad.js → provider-zxjj126v.js} +17 -17
- package/dist/chunks/{skill-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +86 -86
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +67 -67
- 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.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- 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 +75 -75
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +106 -106
- 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 +100 -100
- 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 +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +354 -354
- package/dist/location.js +88 -88
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +101 -101
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +96 -96
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- 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 +6 -6
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- 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 +218 -218
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +3 -3
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +109 -109
- 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 +127 -127
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +110 -110
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +114 -114
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/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 +93 -93
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +83 -83
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +99 -99
- package/package.json +8 -8
- package/dist/chunks/skill-5h3ye409.js +0 -26
- package/dist/chunks/skill-zm1zmdrb.js +0 -253
- /package/dist/chunks/{skill-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → provider-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → provider-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-34c7v6d4.js → provider-34c7v6d4.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → provider-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → provider-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3t0ybcrp.js → provider-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → provider-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → provider-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-5qd3pb7m.js → provider-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → provider-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-6q2bdcd1.js → provider-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → provider-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → provider-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-84wd9syh.js → provider-84wd9syh.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → provider-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → provider-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → provider-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-bw78ga2c.js → provider-bw78ga2c.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → provider-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → provider-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → provider-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → provider-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → provider-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → provider-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → provider-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → provider-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fxgpk5d8.js → provider-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → provider-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → provider-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → provider-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jze0r7bz.js → provider-jze0r7bz.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → provider-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → provider-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-pyv0edze.js → provider-pyv0edze.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → provider-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-ve7vex1e.js → provider-ve7vex1e.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → provider-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → provider-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → provider-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → provider-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → provider-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-ym463w8f.js → provider-ym463w8f.js} +0 -0
- /package/dist/chunks/{skill-z5v4ffb3.js → provider-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → provider-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-zw2hpfmh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./provider-0vtm6bxs.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event17
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-qrhkshcm.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-d883x9cj.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID7,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service67
|
|
20
|
+
} from "./provider-8k33st31.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID6
|
|
23
|
+
} from "./provider-mv3a9vfa.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./provider-t6waa6vr.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./provider-5zageasv.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID15
|
|
33
|
+
} from "./provider-xnfh7z4s.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./provider-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: ID8.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,8 +163,8 @@ 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*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service67;
|
|
167
|
+
const bus = yield* Service83;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -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(ID7.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(ID7.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;
|
|
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
yield* ctx.model.transform((models) => {
|
|
225
|
-
if (models.get(
|
|
226
|
-
models.update(
|
|
225
|
+
if (models.get(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
|
|
226
|
+
models.update(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
227
227
|
model.enabled = false;
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
232
|
-
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
232
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
233
233
|
yield* refresh().pipe(Effect.forkScoped);
|
|
234
234
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
235
|
-
if (evt.model.providerID !==
|
|
235
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
236
236
|
return;
|
|
237
237
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
238
238
|
return;
|
|
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
242
242
|
}));
|
|
243
243
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
247
247
|
return;
|
|
@@ -251,13 +251,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
251
251
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
252
252
|
if (interaction !== "conversation-agent")
|
|
253
253
|
evt.headers["x-initiator"] = "agent";
|
|
254
|
-
}), { providerID:
|
|
254
|
+
}), { providerID: ID7.githubCopilot });
|
|
255
255
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
256
|
-
if (evt.model.providerID !==
|
|
256
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
260
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
260
|
+
const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
261
261
|
return;
|
|
262
262
|
}));
|
|
263
263
|
if (agent?.data.model)
|
|
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
268
268
|
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(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
|
-
}), { providerID:
|
|
271
|
+
}), { providerID: ID7.githubCopilot });
|
|
272
272
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
273
|
-
if (evt.model.providerID !==
|
|
273
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
274
274
|
return;
|
|
275
275
|
const token = evt.request.headers.get("x-api-key");
|
|
276
276
|
if (!token)
|
|
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
278
278
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
279
279
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
280
280
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
281
|
-
}), { providerID:
|
|
281
|
+
}), { providerID: ID7.githubCopilot });
|
|
282
282
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
284
284
|
return;
|
|
285
285
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
286
286
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured5,
|
|
11
|
+
layer: () => layer17,
|
|
12
|
+
make: () => make16,
|
|
13
|
+
node: () => node43,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make16()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make16(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer17 = (input) => Layer.succeed(Metadata2, make16(input));
|
|
32
|
+
var configured5 = (input) => makeGlobalNode({ service: Metadata2, layer: layer17(input), deps: [] });
|
|
33
|
+
var node43 = configured5();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make16, useragent2, layer17, configured5, node43, exports_app };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service49,
|
|
3
|
+
node52
|
|
4
|
+
} from "./provider-apq16njp.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-ss358qx3.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service48,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node51,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service48 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service49;
|
|
59
|
+
return Service48.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node51 = makeLocationNode({ service: Service48, layer, deps: [node52] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service48, resolved2, node51, exports_model };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./provider-0vtm6bxs.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service51,
|
|
17
|
+
node54
|
|
18
|
+
} from "./provider-fj6865vy.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./provider-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./provider-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info6,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service38,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node41
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info6 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service38 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service83;
|
|
53
|
+
const cache = yield* Service51;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info6.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info6.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service38.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node41 = makeLocationNode({
|
|
116
|
+
service: Service38,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node87, node54]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info6, Service38, node41, exports_reference2, Event8 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-ss358qx3.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-5zageasv.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service69
|
|
7
|
+
} from "./provider-qrhkshcm.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID8,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-d883x9cj.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID7,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-8k33st31.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID7.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID8.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service69;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID8.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-6rf3xdqr.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/ollama.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
|
|
|
34
34
|
model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
|
|
35
35
|
});
|
|
36
36
|
var shows = new Map;
|
|
37
|
-
var
|
|
37
|
+
var make5 = createLocalProviderPlugin2({
|
|
38
38
|
id: "opencode.provider.ollama",
|
|
39
39
|
providerID: "ollama",
|
|
40
40
|
name: "Ollama",
|
|
@@ -67,6 +67,6 @@ var make4 = createLocalProviderPlugin2({
|
|
|
67
67
|
context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var OllamaPlugin2 =
|
|
70
|
+
var OllamaPlugin2 = make5();
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { make5, OllamaPlugin2 };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./provider-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service81
|
|
8
|
+
} from "./provider-bnhfyrbt.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service59
|
|
11
|
+
} from "./provider-ashwz6j6.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service80
|
|
14
|
+
} from "./provider-t1ab5pxs.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service16,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./provider-m98yqj1g.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service75
|
|
22
|
+
} from "./provider-2h977fq8.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service72,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./provider-rc8hhhh7.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./provider-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./provider-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input8,
|
|
39
|
+
Output: () => Output7,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin10,
|
|
42
|
+
name: () => name8,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name8 = "patch";
|
|
89
|
+
var Input8 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output7 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent5 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin10 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service59;
|
|
112
|
+
const access = yield* Service72;
|
|
113
|
+
const fileMutation = yield* Service16;
|
|
114
|
+
const formatter = yield* Service80;
|
|
115
|
+
const location = yield* Service81;
|
|
116
|
+
const permission = yield* Service75;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name8,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input8,
|
|
122
|
+
output: Output7,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin41 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent5(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name8, Input8, Applied2, Output7, toModelContent5, Plugin10, exports_patch };
|