@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,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service81
|
|
9
|
+
} from "./provider-bnhfyrbt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service59
|
|
12
|
+
} from "./provider-ashwz6j6.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
15
|
Service18
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./provider-7f2fthed.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-9kc6pycg.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service75
|
|
26
|
+
} from "./provider-2h977fq8.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service72
|
|
29
|
+
} from "./provider-rc8hhhh7.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./provider-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input4,
|
|
39
|
+
Output: () => Output4,
|
|
40
|
+
Plugin: () => Plugin5,
|
|
41
|
+
name: () => name4,
|
|
42
|
+
toModelContent: () => toModelContent4
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name4 = "grep";
|
|
48
|
+
var Input4 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input8 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output4 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent4 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin5 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
89
|
+
const environment = yield* Service59;
|
|
90
90
|
const ripgrep = yield* Service18;
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
91
|
+
const location = yield* Service81;
|
|
92
|
+
const access = yield* Service72;
|
|
93
|
+
const permission = yield* Service75;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name4,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input4,
|
|
99
|
+
output: Output4,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name4,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin43 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent4(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin43 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name4, Input4, Output4, toModelContent4, Plugin5, exports_grep };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Info9,
|
|
6
6
|
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./provider-t91hcw5k.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service61
|
|
11
|
+
} from "./provider-32qtf6eh.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill2 = {};
|
|
18
18
|
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin31,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
@@ -425,19 +425,19 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin31 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
433
|
+
editor.add(Info9.make({
|
|
434
434
|
id: ID5.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
440
|
+
editor.add(Info9.make({
|
|
441
441
|
id: ID5.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service61;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin31, exports_skill2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service83,
|
|
4
|
+
node87
|
|
5
|
+
} from "./provider-0vtm6bxs.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service65,
|
|
8
|
+
node68
|
|
9
|
+
} from "./provider-kancfa1f.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event14,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service64,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node67,
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service64 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event14 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -78,10 +78,10 @@ var Sources = Schema.Array(Schema.String);
|
|
|
78
78
|
var manifestKey = (origin) => `wellknown:manifest:${origin}`;
|
|
79
79
|
var configKey = (origin) => `wellknown:config:${origin}`;
|
|
80
80
|
var Configs = Schema.Array(Config2);
|
|
81
|
-
var layer = Layer.effect(
|
|
81
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
82
82
|
const http = yield* HttpClient.HttpClient;
|
|
83
|
-
const kv = yield*
|
|
84
|
-
const bus = yield*
|
|
83
|
+
const kv = yield* Service65;
|
|
84
|
+
const bus = yield* Service83;
|
|
85
85
|
const cache = yield* Ref.make(new Map);
|
|
86
86
|
const lock = Semaphore.makeUnsafe(1);
|
|
87
87
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
112
112
|
if (!changed)
|
|
113
113
|
return false;
|
|
114
114
|
yield* Ref.set(cache, next);
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event14.Updated, {});
|
|
116
116
|
return true;
|
|
117
117
|
}, (effect) => lock.withPermit(effect));
|
|
118
|
-
return
|
|
118
|
+
return Service64.of({
|
|
119
119
|
entries: load,
|
|
120
120
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
121
121
|
refresh,
|
|
@@ -128,7 +128,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
128
128
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
129
129
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
130
130
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
131
|
-
yield* bus.publish(
|
|
131
|
+
yield* bus.publish(Event14.Updated, {});
|
|
132
132
|
return entry;
|
|
133
133
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
134
134
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
143
143
|
next.delete(origin);
|
|
144
144
|
return next;
|
|
145
145
|
});
|
|
146
|
-
yield* bus.publish(
|
|
146
|
+
yield* bus.publish(Event14.Updated, {});
|
|
147
147
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
148
148
|
resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
|
|
149
149
|
const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
|
|
@@ -156,6 +156,6 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
156
156
|
})
|
|
157
157
|
});
|
|
158
158
|
}));
|
|
159
|
-
var
|
|
159
|
+
var node67 = makeGlobalNode({ service: Service64, layer, deps: [httpClient, node68, node87] });
|
|
160
160
|
|
|
161
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
161
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service64, Event14, inspect2, resolve4, node67, exports_wellknown };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service12,
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service12.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service12, node14, exports_location_watcher_policy };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./provider-0vtm6bxs.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service69,
|
|
9
|
+
node72
|
|
10
|
+
} from "./provider-qrhkshcm.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./provider-zw2hpfmh.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-dtkcvn89.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -37,16 +37,16 @@ __export(exports_integration, {
|
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
38
|
Event: () => Event16,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID8,
|
|
41
|
+
Info: () => Info17,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service68,
|
|
49
|
+
node: () => node71
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -69,7 +69,7 @@ import { Integration } from "@opencode/schema/integration";
|
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
71
|
import { Event as Event16 } from "@opencode/schema/integration";
|
|
72
|
-
var
|
|
72
|
+
var ID8 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info17 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID8,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service68 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service69;
|
|
117
|
+
const bus = yield* Service83;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info17.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service68.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key3.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node71 = makeLocationNode({
|
|
633
|
+
service: Service68,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node72, node87, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID8, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info17, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service68, node71, exports_integration, Event16 };
|