@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,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-1ffvrpkg.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin22,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin22 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin25 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint6);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint6, Plugin22, exports_exa };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./provider-0vtm6bxs.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-4d2ssmng.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Options: () => Options5,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service41,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
24
|
available: () => available2,
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
configured: () => configured6,
|
|
26
|
+
layer: () => layer19,
|
|
27
|
+
node: () => node45
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,25 +36,25 @@ import { Global } from "@opencode/util/global";
|
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
-
var
|
|
39
|
+
var Options5 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service41 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
57
|
-
const bus = yield*
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service41, Effect.gen(function* () {
|
|
57
|
+
const bus = yield* Service83;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
60
60
|
const runFork = Effect.runForkWith(context);
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError6({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service41.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
266
|
-
deps: [
|
|
262
|
+
var layer19 = makeLayer();
|
|
263
|
+
var configured6 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service41,
|
|
265
|
+
layer: options === undefined ? layer19 : makeLayer(options),
|
|
266
|
+
deps: [node87, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node45 = configured6();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options5, UnavailableError3, NotFoundError6, Service41, layer19, configured6, node45, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./provider-ashwz6j6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service16,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./provider-m98yqj1g.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service80
|
|
11
|
+
} from "./provider-t1ab5pxs.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service75
|
|
14
|
+
} from "./provider-2h977fq8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service72
|
|
17
|
+
} from "./provider-rc8hhhh7.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-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: () => Input2,
|
|
29
|
+
Output: () => Output2,
|
|
30
|
+
Plugin: () => Plugin3,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name2,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
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 name2 = "write";
|
|
39
|
+
var Input2 = 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 Output2 = 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 toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin3 = {
|
|
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* Service72;
|
|
56
|
+
const fileMutation = yield* Service16;
|
|
57
|
+
const environment = yield* Service59;
|
|
58
|
+
const formatter = yield* Service80;
|
|
59
|
+
const permission = yield* Service75;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name2,
|
|
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: Input2,
|
|
69
|
+
output: Output2,
|
|
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: toModelContent2(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 { name2, Input2, Output2, toModelContent2, Plugin3, exports_write };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-2vvh33eb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service49,
|
|
6
|
+
node52
|
|
7
|
+
} from "./provider-apq16njp.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate = {};
|
|
14
|
+
__export(exports_generate, {
|
|
15
|
+
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service24,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
|
+
layer: () => layer11,
|
|
20
|
+
node: () => node27
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
28
28
|
}) {
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
32
32
|
message: Schema.String,
|
|
33
33
|
service: Schema.optional(Schema.String)
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service24 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer11 = Layer.effect(Service24, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service49;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -48,7 +48,7 @@ var layer24 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
48
48
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
49
49
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
50
50
|
], (error) => {
|
|
51
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
51
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
52
52
|
return Effect.fail(mapped);
|
|
53
53
|
}));
|
|
54
54
|
if (!resolved)
|
|
@@ -59,21 +59,21 @@ var layer24 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
59
59
|
model: resolved.model,
|
|
60
60
|
prompt: input.prompt,
|
|
61
61
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
62
|
-
})).pipe(Effect.mapError((error) => new
|
|
62
|
+
})).pipe(Effect.mapError((error) => new UnavailableError2({
|
|
63
63
|
message: error.message,
|
|
64
64
|
service: resolved.ref.providerID
|
|
65
65
|
})));
|
|
66
66
|
return response.text;
|
|
67
67
|
});
|
|
68
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
68
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service24.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node27 = makeLocationNode({
|
|
74
|
+
service: Service24,
|
|
75
|
+
layer: layer11,
|
|
76
|
+
deps: [node52, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError2, Service24, layer11, node27, exports_generate };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./provider-0vtm6bxs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID9,
|
|
6
6
|
Event17,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service69
|
|
8
|
+
} from "./provider-qrhkshcm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID7
|
|
11
|
+
} from "./provider-8k33st31.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-85b4mqzk.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,8 +41,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
45
|
-
const bus = yield*
|
|
44
|
+
const credentials = yield* Service69;
|
|
45
|
+
const bus = yield* Service83;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
48
48
|
}));
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID7.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID7.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID9.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID7.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID7.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID7.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID7.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID7.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-5zageasv.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-1ffvrpkg.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin17,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
16
|
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin17 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -73,4 +73,4 @@ var Plugin22 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export { endpoint3,
|
|
76
|
+
export { endpoint3, Plugin17, exports_tinyfish };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event12,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options9,
|
|
17
|
+
Service: () => Service62,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured10,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer25,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node65,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event12 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options9 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service62 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer25 = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service62.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer20 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service62.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service62).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service62, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured10(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service62, layer: layer25(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node65 = configured10();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event12, hasNativeBinding2, Native3, Options9, Service62, Test3, layer25, testLayer3, nativeLayer2, nativeNode2, configured10, node65, exports_watcher };
|