@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,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service61
|
|
7
|
+
} from "./provider-32qtf6eh.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service59
|
|
13
|
+
} from "./provider-ashwz6j6.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service50
|
|
16
|
+
} from "./provider-pv6pvbp0.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service75
|
|
19
|
+
} from "./provider-2h977fq8.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service72,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-rc8hhhh7.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./provider-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service60,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./provider-4d2ssmng.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError7,
|
|
36
|
+
Service56
|
|
37
|
+
} from "./provider-4jgvg5sf.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service25
|
|
40
|
+
} from "./provider-mkdknv6v.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./provider-wzwfmfap.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./provider-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input5,
|
|
53
|
+
Plugin: () => Plugin7,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name5
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name5 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input5 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin7 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service25;
|
|
123
|
+
const jobs = yield* Service50;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service59;
|
|
126
|
+
const access = yield* Service72;
|
|
127
|
+
const shell = yield* Service56;
|
|
128
|
+
const shellSelect = yield* Service60;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service75;
|
|
131
|
+
const config = yield* Service61;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin38 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name5,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin38 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name5,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input5,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin38 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError7({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name5,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name5];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin7, exports_shell };
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./provider-tazgh4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service81
|
|
14
|
+
} from "./provider-bnhfyrbt.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./provider-1z89szcw.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin21,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin21 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service81;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin21, exports_git };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-0xwgk9vz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./provider-0vtm6bxs.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./provider-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
@@ -22,44 +22,44 @@ __export(exports_credential, {
|
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
23
|
Event: () => Event17,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
27
|
-
Key: () =>
|
|
25
|
+
ID: () => ID9,
|
|
26
|
+
Info: () => Info19,
|
|
27
|
+
Key: () => Key3,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service69,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node72
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
35
35
|
import { Credential } from "@opencode/schema/credential";
|
|
36
36
|
import { Integration } from "@opencode/schema/integration";
|
|
37
37
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
38
|
-
var
|
|
38
|
+
var ID9 = Credential.ID;
|
|
39
39
|
var OAuth3 = Credential.OAuth;
|
|
40
|
-
var
|
|
40
|
+
var Key3 = Credential.Key;
|
|
41
41
|
var External2 = Credential.External;
|
|
42
42
|
var Value2 = Credential.Value;
|
|
43
43
|
var Event17 = Credential.Event;
|
|
44
44
|
|
|
45
|
-
class
|
|
46
|
-
id:
|
|
45
|
+
class Info19 extends Schema.Class("Credential.Info")({
|
|
46
|
+
id: ID9,
|
|
47
47
|
integrationID: Integration.ID,
|
|
48
48
|
label: Schema.String,
|
|
49
49
|
value: Value2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service69 extends Context.Service()("@opencode/Credential") {
|
|
54
54
|
}
|
|
55
|
-
var layer = Layer.effect(
|
|
55
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
56
56
|
const db = (yield* Service85).db;
|
|
57
|
-
const bus = yield*
|
|
57
|
+
const bus = yield* Service83;
|
|
58
58
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
59
59
|
const stored = (row) => {
|
|
60
60
|
if (!row.integration_id)
|
|
61
61
|
return;
|
|
62
|
-
return new
|
|
62
|
+
return new Info19({
|
|
63
63
|
id: row.id,
|
|
64
64
|
integrationID: row.integration_id,
|
|
65
65
|
label: row.label,
|
|
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
70
70
|
const credential = stored(row);
|
|
71
71
|
return credential ? [credential] : [];
|
|
72
72
|
});
|
|
73
|
-
return
|
|
73
|
+
return Service69.of({
|
|
74
74
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
75
75
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
76
76
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -78,8 +78,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
78
78
|
return row ? stored(row) : undefined;
|
|
79
79
|
}),
|
|
80
80
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
81
|
-
const credential = new
|
|
82
|
-
id: input.id ??
|
|
81
|
+
const credential = new Info19({
|
|
82
|
+
id: input.id ?? ID9.create(),
|
|
83
83
|
integrationID: input.integrationID,
|
|
84
84
|
label: input.label ?? "default",
|
|
85
85
|
value: input.value
|
|
@@ -203,6 +203,6 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
203
203
|
})
|
|
204
204
|
});
|
|
205
205
|
}));
|
|
206
|
-
var
|
|
206
|
+
var node72 = makeGlobalNode({ service: Service69, layer, deps: [node89, node87] });
|
|
207
207
|
|
|
208
|
-
export {
|
|
208
|
+
export { ID9, OAuth3, Key3, External2, Value2, Event17, Info19, Service69, node72, exports_credential };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./provider-9yq3t2hf.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-0hb4wmm5.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-0xwgk9vz.js";
|
|
8
|
+
import {
|
|
9
|
+
Service83,
|
|
10
|
+
node87
|
|
11
|
+
} from "./provider-0vtm6bxs.js";
|
|
8
12
|
import {
|
|
9
13
|
Service84,
|
|
10
14
|
node88
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
Service82,
|
|
14
|
-
node86
|
|
15
|
-
} from "./skill-mp3rbb49.js";
|
|
15
|
+
} from "./provider-wt1nksa6.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info29,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-v0es1rhs.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./provider-3cegwx68.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./provider-84h8c373.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./provider-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info28,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service82,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node86,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info28 = Info29;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service82 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,11 +95,11 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service84;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service83;
|
|
103
103
|
const db = (yield* Service85).db;
|
|
104
104
|
const announcing = new Set;
|
|
105
105
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
108
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
109
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
110
110
|
if (row)
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
112
112
|
}
|
|
113
113
|
if (!project.vcs)
|
|
114
114
|
return project;
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
145
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
146
146
|
projectID: item.projectID,
|
|
147
147
|
directory: item.directory,
|
|
148
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID17.global,
|
|
149
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
150
150
|
}, {
|
|
151
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -170,7 +170,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
170
170
|
if (!row)
|
|
171
171
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event21.Updated, project);
|
|
174
174
|
return project;
|
|
175
175
|
});
|
|
176
176
|
const activated = new Map;
|
|
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
181
181
|
activated.set(projectID, now);
|
|
182
182
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
183
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
184
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
188
188
|
return;
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
195
195
|
const normalized = url(origin);
|
|
196
196
|
if (!normalized)
|
|
197
197
|
return;
|
|
198
|
-
return
|
|
198
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
199
199
|
});
|
|
200
200
|
function url(input) {
|
|
201
201
|
const value = input.trim();
|
|
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
220
220
|
}
|
|
221
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
222
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
223
|
-
return root ?
|
|
223
|
+
return root ? ID17.make(root) : undefined;
|
|
224
224
|
});
|
|
225
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
226
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
236
236
|
return;
|
|
237
237
|
const node = result.stdout.toString("utf8").split(`
|
|
238
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
239
|
-
return node ?
|
|
239
|
+
return node ? ID17.make(node) : undefined;
|
|
240
240
|
});
|
|
241
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
242
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
245
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
246
246
|
return {
|
|
247
247
|
previous,
|
|
248
|
-
id: id ??
|
|
248
|
+
id: id ?? ID17.global,
|
|
249
249
|
directory: worktree,
|
|
250
250
|
vcs: { type: "hg", store }
|
|
251
251
|
};
|
|
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
262
262
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
263
263
|
return yield* persist({
|
|
264
264
|
previous,
|
|
265
|
-
id: id ??
|
|
265
|
+
id: id ?? ID17.global,
|
|
266
266
|
directory: repo.worktree,
|
|
267
267
|
canonical,
|
|
268
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
return yield* persist({
|
|
279
|
-
id:
|
|
279
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
280
280
|
directory,
|
|
281
281
|
canonical: directory,
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service82.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node86 = makeGlobalNode({
|
|
288
|
+
service: Service82,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [
|
|
290
|
+
deps: [node87, node89, FSUtil.node, node88, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export {
|
|
293
|
+
export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service82, node86, exports_project };
|