@opencode/core 0.0.0-dev-21032 → 0.0.0-dev-21040
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +92 -92
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-resolver-zp79st75.js → mime-050xtdf8.js} +4 -4
- package/dist/chunks/{model-resolver-t4mxe9mg.js → mime-07965hzr.js} +12 -12
- package/dist/chunks/{model-resolver-0jskk18s.js → mime-0nsxtbsr.js} +3 -3
- package/dist/chunks/{model-resolver-jn47bq7y.js → mime-0p8e2j75.js} +10 -10
- package/dist/chunks/{model-resolver-0vbcp93d.js → mime-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-resolver-h449cfbc.js → mime-0vjek7f6.js} +17 -17
- package/dist/chunks/{model-resolver-j2rkz0eh.js → mime-0x1pdtng.js} +23 -23
- package/dist/chunks/{model-resolver-gpm60zja.js → mime-0y2vcsp3.js} +11 -11
- package/dist/chunks/{model-resolver-qyp94w8s.js → mime-109ybz4f.js} +17 -17
- package/dist/chunks/{model-resolver-z7pkff1z.js → mime-11bjrp3g.js} +3 -3
- package/dist/chunks/mime-12710b3q.js +26 -0
- package/dist/chunks/{model-resolver-5sd65k63.js → mime-15q8m5cs.js} +19 -19
- package/dist/chunks/{model-resolver-e5vt2zzh.js → mime-15rpx8aj.js} +7 -7
- package/dist/chunks/{model-resolver-ghe25ndt.js → mime-1bn046zq.js} +17 -17
- package/dist/chunks/{model-resolver-v1vh7s4p.js → mime-1jdt266a.js} +9 -9
- package/dist/chunks/{model-resolver-tmnq69cf.js → mime-1y2xvrc2.js} +9 -9
- package/dist/chunks/{model-resolver-w5rka97k.js → mime-2003xh4j.js} +9 -9
- package/dist/chunks/{model-resolver-rngsm5nq.js → mime-205wgd7n.js} +18 -18
- package/dist/chunks/{model-resolver-k1sxn049.js → mime-21tzjh1m.js} +24 -24
- package/dist/chunks/{model-resolver-cc3zbjhe.js → mime-25bf223w.js} +35 -35
- package/dist/chunks/{model-resolver-vbfgae2j.js → mime-277eer69.js} +4 -4
- package/dist/chunks/{model-resolver-kf03r3fp.js → mime-2frssyxc.js} +25 -25
- package/dist/chunks/{model-resolver-ymgkxg7n.js → mime-2r1j4600.js} +11 -11
- package/dist/chunks/{model-resolver-cgcq2d6q.js → mime-2rnpn95x.js} +5 -5
- package/dist/chunks/{model-resolver-2wnpv58w.js → mime-2xntw82p.js} +5 -5
- package/dist/chunks/{model-resolver-h7s7r6s9.js → mime-31xfzrxg.js} +5 -5
- package/dist/chunks/{model-resolver-9mmjpn4f.js → mime-32tazwv6.js} +16 -16
- package/dist/chunks/{model-resolver-mhtf1agk.js → mime-345etsgx.js} +17 -17
- package/dist/chunks/{model-resolver-p2cz521y.js → mime-39kjv65j.js} +20 -20
- package/dist/chunks/{model-resolver-ppk3ywg1.js → mime-3bzm20zk.js} +1 -1
- package/dist/chunks/{model-resolver-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-3hwn7j4h.js → mime-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-resolver-rya3mfce.js → mime-3m85peyz.js} +47 -47
- package/dist/chunks/{model-resolver-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-8rmcv8hn.js → mime-3t0rsrrn.js} +12 -12
- package/dist/chunks/{model-resolver-gefhqhbp.js → mime-3trpv21a.js} +8 -8
- package/dist/chunks/{model-resolver-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-r5536f5q.js → mime-3wad62ms.js} +11 -11
- package/dist/chunks/{model-resolver-mdf2ba13.js → mime-3zgffv18.js} +180 -180
- package/dist/chunks/{model-resolver-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-v5h246c5.js → mime-41qawrfa.js} +7 -7
- package/dist/chunks/{model-resolver-w0nw3455.js → mime-43rv0vt2.js} +36 -36
- package/dist/chunks/{model-resolver-t11n65rj.js → mime-46c3m50y.js} +19 -19
- package/dist/chunks/{model-resolver-esme7ehw.js → mime-4d7s1pf1.js} +4 -4
- package/dist/chunks/{model-resolver-ztmj8phm.js → mime-4n1kryv0.js} +11 -11
- package/dist/chunks/{model-resolver-54ma36ye.js → mime-54ma36ye.js} +1 -1
- package/dist/chunks/{model-resolver-j48y8drp.js → mime-5684rj21.js} +22 -22
- package/dist/chunks/{model-resolver-dhb2hta4.js → mime-58hng72m.js} +5 -5
- package/dist/chunks/{model-resolver-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-e3qxr5gk.js → mime-5qd3pb7m.js} +2 -2
- package/dist/chunks/{model-resolver-p37cw4rj.js → mime-5yzzbxa7.js} +8 -8
- package/dist/chunks/{model-resolver-rah8ek0q.js → mime-62e165w1.js} +22 -22
- package/dist/chunks/{model-resolver-3k0t8dzv.js → mime-63jkwkyz.js} +19 -19
- package/dist/chunks/mime-67npv2yq.js +253 -0
- package/dist/chunks/{model-resolver-121zk92f.js → mime-6a6nq1pp.js} +20 -20
- package/dist/chunks/{model-resolver-fpecnkgp.js → mime-6c4cp2wz.js} +7 -7
- package/dist/chunks/{model-resolver-9n6m857c.js → mime-6k3mcxsj.js} +13 -13
- package/dist/chunks/{model-resolver-6xb47vfp.js → mime-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-resolver-k5khmzd0.js → mime-6yprj1qa.js} +11 -11
- package/dist/chunks/{model-resolver-cecf97zp.js → mime-70jpvrmq.js} +22 -22
- package/dist/chunks/{model-resolver-5srkvmy1.js → mime-74sj64d5.js} +26 -26
- package/dist/chunks/{model-resolver-775gj3j1.js → mime-775gj3j1.js} +2 -2
- package/dist/chunks/{model-resolver-a22q20jk.js → mime-78bqkphs.js} +20 -20
- package/dist/chunks/{model-resolver-r18rd4df.js → mime-78s9dq41.js} +15 -15
- package/dist/chunks/{model-resolver-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-7dqw4kz8.js → mime-7dqw4kz8.js} +1 -1
- package/dist/chunks/{model-resolver-2bhwdn85.js → mime-7ej9kcre.js} +20 -20
- package/dist/chunks/{model-resolver-6v699sff.js → mime-7fkngs2v.js} +2 -2
- package/dist/chunks/{model-resolver-4qsb07a0.js → mime-7henczxa.js} +12 -12
- package/dist/chunks/{model-resolver-32q9bdbf.js → mime-7ny7wjsd.js} +4 -4
- package/dist/chunks/{model-resolver-67ggwtmd.js → mime-7qrghndb.js} +14 -14
- package/dist/chunks/{model-resolver-k6exk33w.js → mime-7rkx4gms.js} +11 -11
- package/dist/chunks/{model-resolver-mf39t390.js → mime-7sc8a7ge.js} +50 -50
- package/dist/chunks/{model-resolver-ytw0b5ae.js → mime-7war8x1d.js} +5 -5
- package/dist/chunks/{model-resolver-7hhqs9ev.js → mime-7zkbhs7g.js} +11 -11
- package/dist/chunks/{model-resolver-hdck4srb.js → mime-826e8q9w.js} +13 -13
- package/dist/chunks/{model-resolver-yzwajjfv.js → mime-87f36h6m.js} +5 -5
- package/dist/chunks/{model-resolver-yw8t9dwe.js → mime-8ank75fn.js} +8 -8
- package/dist/chunks/{model-resolver-dhmh7aw6.js → mime-8gxqpgph.js} +4 -4
- package/dist/chunks/{model-resolver-4xx2cn4x.js → mime-8m6gnkp5.js} +10 -10
- package/dist/chunks/{model-resolver-8m6m0r52.js → mime-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-resolver-y4xxc7mq.js → mime-8mptw0yh.js} +14 -14
- package/dist/chunks/{model-resolver-w92k2e0p.js → mime-8sze2n9a.js} +4 -4
- package/dist/chunks/{model-resolver-8wbxkt1z.js → mime-8wbxkt1z.js} +1 -1
- package/dist/chunks/{model-resolver-j09zfasm.js → mime-91qna3x0.js} +3 -3
- package/dist/chunks/{model-resolver-32nmwdhe.js → mime-984f2ybn.js} +15 -15
- package/dist/chunks/{model-resolver-vghjwcv5.js → mime-9cexasrx.js} +36 -36
- package/dist/chunks/{model-resolver-4msazfqr.js → mime-9hshahkt.js} +25 -25
- package/dist/chunks/{model-resolver-6z7f3aj9.js → mime-9rwfab3m.js} +30 -30
- package/dist/chunks/{model-resolver-7cf56ajb.js → mime-9thd8pbs.js} +13 -13
- package/dist/chunks/{model-resolver-nt66sm3b.js → mime-a1gprgvs.js} +18 -18
- package/dist/chunks/{model-resolver-793pmwr3.js → mime-a1p7dyg9.js} +5 -5
- package/dist/chunks/{model-resolver-1deqag97.js → mime-a3a1kd57.js} +7 -7
- package/dist/chunks/{model-resolver-e9az0enp.js → mime-a465zkn0.js} +33 -33
- package/dist/chunks/{model-resolver-x661k3y3.js → mime-azwe5p1w.js} +4 -4
- package/dist/chunks/{model-resolver-b3f8fkhc.js → mime-b3f8fkhc.js} +2 -2
- package/dist/chunks/{model-resolver-392bmkv0.js → mime-b6bc02an.js} +22 -22
- package/dist/chunks/{model-resolver-jq8znyjb.js → mime-ba2ek88a.js} +9 -9
- package/dist/chunks/{model-resolver-rjrvrrm1.js → mime-bh8ytvkx.js} +20 -20
- package/dist/chunks/{model-resolver-bjx1sjef.js → mime-bjx1sjef.js} +2 -2
- package/dist/chunks/{model-resolver-c1fqxshp.js → mime-c1fqxshp.js} +3 -3
- package/dist/chunks/{model-resolver-hs73t9tm.js → mime-ce0rpsvc.js} +11 -11
- package/dist/chunks/{model-resolver-2w7tcbkg.js → mime-cwc6qd5v.js} +4 -4
- package/dist/chunks/{model-resolver-dk9awe6p.js → mime-d4kct8rx.js} +14 -14
- package/dist/chunks/{model-resolver-s541pesz.js → mime-d4mkpxw9.js} +11 -11
- package/dist/chunks/{model-resolver-rf3mqbns.js → mime-dd2pvs9r.js} +21 -21
- package/dist/chunks/{model-resolver-sznyev98.js → mime-dfzjqex4.js} +5 -5
- package/dist/chunks/{model-resolver-ft3hqk2c.js → mime-djszqvmq.js} +9 -9
- package/dist/chunks/{model-resolver-y71avatq.js → mime-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-resolver-crz08krd.js → mime-dpxxne8d.js} +6 -6
- package/dist/chunks/{model-resolver-dqxsqydv.js → mime-dqxsqydv.js} +1 -1
- package/dist/chunks/{model-resolver-e73819aa.js → mime-dt81vr0m.js} +21 -21
- package/dist/chunks/{model-resolver-zcfjyxn9.js → mime-e7d0aeaq.js} +24 -24
- package/dist/chunks/{model-resolver-rhjbct0v.js → mime-eaj1djv9.js} +8 -8
- package/dist/chunks/{model-resolver-4qybra34.js → mime-edm94f7d.js} +7 -7
- package/dist/chunks/{model-resolver-eej6y6fw.js → mime-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-resolver-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-yqee2774.js → mime-ejcpmtps.js} +24 -24
- package/dist/chunks/{model-resolver-qk84nr82.js → mime-emv6g1k7.js} +10 -10
- package/dist/chunks/{model-resolver-x30w6bae.js → mime-epnnc93h.js} +22 -22
- package/dist/chunks/{model-resolver-1bbkrr1z.js → mime-esxexcce.js} +32 -32
- package/dist/chunks/{model-resolver-wwwg8pmm.js → mime-ev50a1gv.js} +27 -27
- package/dist/chunks/{model-resolver-8h8nb9x6.js → mime-f169yh43.js} +15 -15
- package/dist/chunks/{model-resolver-7r94a8zm.js → mime-f4x800jg.js} +15 -15
- package/dist/chunks/{model-resolver-rttpym1x.js → mime-f593gmc1.js} +32 -32
- package/dist/chunks/{model-resolver-jb03hw38.js → mime-fmycb6r9.js} +18 -18
- package/dist/chunks/{model-resolver-88hkx883.js → mime-fqwbcgn7.js} +12 -12
- package/dist/chunks/{model-resolver-fxaymqdw.js → mime-fxaymqdw.js} +1 -1
- package/dist/chunks/{model-resolver-jtbrrh68.js → mime-fxsx3k7c.js} +16 -16
- package/dist/chunks/{model-resolver-6yz0wx8n.js → mime-g6yfr6ja.js} +5 -5
- package/dist/chunks/{model-resolver-ebj1p111.js → mime-ga8mg7ng.js} +45 -45
- package/dist/chunks/{model-resolver-v6exexfb.js → mime-gaffhmcy.js} +3 -3
- package/dist/chunks/{model-resolver-qbmv3hq3.js → mime-gd07dkrx.js} +9 -9
- package/dist/chunks/{model-resolver-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-d426qwtt.js → mime-gd540jsm.js} +4 -4
- package/dist/chunks/{model-resolver-s56kyd1y.js → mime-gpab4zxm.js} +6 -6
- package/dist/chunks/{model-resolver-rtk67pzp.js → mime-h62rqyvr.js} +30 -30
- package/dist/chunks/{model-resolver-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-cqcppvwa.js → mime-h7c27e8q.js} +14 -14
- package/dist/chunks/{model-resolver-tcay1cqt.js → mime-hdab2k61.js} +6 -6
- package/dist/chunks/{model-resolver-hjpw2ktw.js → mime-hdq1afwm.js} +43 -43
- package/dist/chunks/{model-resolver-hgz4x7wa.js → mime-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-resolver-nn6qn2mt.js → mime-hhvx8q4y.js} +13 -13
- package/dist/chunks/{model-resolver-gxx80edd.js → mime-hrtv8xrh.js} +41 -41
- package/dist/chunks/{model-resolver-nmfgk2za.js → mime-htfaj60w.js} +11 -11
- package/dist/chunks/{model-resolver-c0nagjzw.js → mime-hwt4zdf0.js} +11 -11
- package/dist/chunks/{model-resolver-22q50vj6.js → mime-hxevttss.js} +23 -23
- package/dist/chunks/{model-resolver-ryaerzpp.js → mime-j52fadta.js} +1 -1
- package/dist/chunks/{model-resolver-0prbvn1s.js → mime-jbax71gz.js} +11 -11
- package/dist/chunks/{model-resolver-6x64453h.js → mime-jbnd8fp8.js} +16 -16
- package/dist/chunks/{model-resolver-2fcwg21n.js → mime-jh86bj30.js} +35 -35
- package/dist/chunks/{model-resolver-6g107h22.js → mime-jk540des.js} +2 -2
- package/dist/chunks/{model-resolver-ry5rj60g.js → mime-jkbjgekk.js} +11 -11
- package/dist/chunks/{model-resolver-nvx1vskb.js → mime-jn7vh711.js} +33 -33
- package/dist/chunks/mime-jqh9b0xq.js +18 -0
- package/dist/chunks/{model-resolver-vy6fg5p6.js → mime-k2wgnsn0.js} +24 -24
- package/dist/chunks/{model-resolver-y44p5hdc.js → mime-ka7th2ed.js} +35 -35
- package/dist/chunks/{model-resolver-qz1medfn.js → mime-kay1zs2t.js} +47 -47
- package/dist/chunks/{model-resolver-9g3a9q2q.js → mime-kghccary.js} +81 -81
- package/dist/chunks/{model-resolver-tnabgbb7.js → mime-kjejtsqg.js} +16 -16
- package/dist/chunks/{model-resolver-a6j0r2sw.js → mime-kmajrsye.js} +12 -12
- package/dist/chunks/{model-resolver-43sqknmp.js → mime-m01n3hyd.js} +15 -15
- package/dist/chunks/{model-resolver-my4zabxr.js → mime-m5jcjszt.js} +3 -3
- package/dist/chunks/{model-resolver-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-maspj1v3.js → mime-maspj1v3.js} +1 -1
- package/dist/chunks/{model-resolver-jdnq93kg.js → mime-mdqph4s0.js} +22 -22
- package/dist/chunks/{model-resolver-m3atekq7.js → mime-mfgyg3rw.js} +45 -45
- package/dist/chunks/{model-resolver-v2k5f06t.js → mime-mqb0p7pg.js} +5 -5
- package/dist/chunks/{model-resolver-6r767sng.js → mime-my1befea.js} +20 -20
- package/dist/chunks/{model-resolver-rss8evm2.js → mime-mzvkzawb.js} +34 -34
- package/dist/chunks/{model-resolver-a6wgvm8d.js → mime-n0yzpgaz.js} +21 -21
- package/dist/chunks/{model-resolver-kq1bqq66.js → mime-n24hx9b9.js} +12 -12
- package/dist/chunks/{model-resolver-9be2kz6z.js → mime-n2ky5gkf.js} +27 -27
- package/dist/chunks/{model-resolver-7ppyhzjx.js → mime-ng3918dk.js} +5 -5
- package/dist/chunks/{model-resolver-dafg4d8k.js → mime-nhqmpqry.js} +3 -3
- package/dist/chunks/{model-resolver-3m0b5fsq.js → mime-nkmznbth.js} +10 -10
- package/dist/chunks/{model-resolver-1a12x520.js → mime-nncd61c2.js} +35 -35
- package/dist/chunks/{model-resolver-csfpqy7c.js → mime-nym9wyb3.js} +6 -6
- package/dist/chunks/{model-resolver-qnq8y3bv.js → mime-p24hwdax.js} +23 -23
- package/dist/chunks/{model-resolver-171a9z80.js → mime-p3vvxz2w.js} +6 -6
- package/dist/chunks/{model-resolver-ncny1qzz.js → mime-p42maxsr.js} +37 -37
- package/dist/chunks/{model-resolver-8wf75xe6.js → mime-p6ax3407.js} +13 -13
- package/dist/chunks/{model-resolver-dybxmwj9.js → mime-p7v2masw.js} +4 -4
- package/dist/chunks/{model-resolver-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-yqc6bamn.js → mime-pnzf6mjf.js} +1 -1
- package/dist/chunks/{model-resolver-0jq9fyba.js → mime-prq7hedt.js} +2 -2
- package/dist/chunks/{model-resolver-nfeetva4.js → mime-pw8wyqgn.js} +321 -321
- package/dist/chunks/{model-resolver-8ajv5xtq.js → mime-pz5b1pah.js} +5 -5
- package/dist/chunks/{model-resolver-0j77ygfz.js → mime-q0xm7vwc.js} +6 -6
- package/dist/chunks/{model-resolver-tj7kxczc.js → mime-q7ttfbsd.js} +5 -5
- package/dist/chunks/{model-resolver-mcwabzk9.js → mime-q8pcrqed.js} +11 -11
- package/dist/chunks/{model-resolver-k4nc0g6z.js → mime-qc91r9hq.js} +19 -19
- package/dist/chunks/{model-resolver-7bzg5cgk.js → mime-qe9cja5v.js} +26 -26
- package/dist/chunks/{model-resolver-5nnetc6k.js → mime-qhexs5yx.js} +20 -20
- package/dist/chunks/{model-resolver-qa3qhgw8.js → mime-qm0v3jhh.js} +7 -7
- package/dist/chunks/{model-resolver-qnc92qwc.js → mime-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-resolver-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-6x4admn2.js → mime-qw8rpmjb.js} +39 -39
- package/dist/chunks/{model-resolver-rcyxvf8g.js → mime-qwd8z7en.js} +51 -51
- package/dist/chunks/{model-resolver-nma959mg.js → mime-r2z489rp.js} +3 -3
- package/dist/chunks/{model-resolver-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-rert0e01.js → mime-rert0e01.js} +2 -2
- package/dist/chunks/{model-resolver-rj3eygr5.js → mime-rj3eygr5.js} +2 -2
- package/dist/chunks/{model-resolver-09k7wrv4.js → mime-rm7werhc.js} +28 -28
- package/dist/chunks/{model-resolver-bgst5jmd.js → mime-rpesnf7a.js} +22 -22
- package/dist/chunks/{model-resolver-fenh6xsq.js → mime-rpp8qasa.js} +19 -19
- package/dist/chunks/{model-resolver-y0msmzz5.js → mime-rr32njry.js} +38 -38
- package/dist/chunks/{model-resolver-fjakydk0.js → mime-rrz55b2p.js} +76 -76
- package/dist/chunks/{model-resolver-zmnv7sx5.js → mime-rwmkx81w.js} +11 -11
- package/dist/chunks/{model-resolver-ak9msbxp.js → mime-rxcdjwh1.js} +6 -6
- package/dist/chunks/{model-resolver-c90mqxem.js → mime-rykdsr0g.js} +71 -71
- package/dist/chunks/{model-resolver-hkc4w8pe.js → mime-s6s64s2j.js} +4 -4
- package/dist/chunks/{model-resolver-sa8ekw3f.js → mime-sa8ekw3f.js} +2 -2
- package/dist/chunks/{model-resolver-d3y6n0b6.js → mime-sg61y373.js} +4 -4
- package/dist/chunks/{model-resolver-h30rxhwn.js → mime-sg7jdfe4.js} +12 -12
- package/dist/chunks/{model-resolver-vtr2qm7r.js → mime-sgspe6rh.js} +20 -20
- package/dist/chunks/{model-resolver-ads5hjyh.js → mime-skk0c0bv.js} +10 -10
- package/dist/chunks/{model-resolver-axxh5741.js → mime-sps5w11b.js} +36 -36
- package/dist/chunks/{model-resolver-3n7sqfmk.js → mime-sszm17mh.js} +20 -20
- package/dist/chunks/{model-resolver-rendx1gy.js → mime-svc4qe25.js} +30 -30
- package/dist/chunks/{model-resolver-syv4x271.js → mime-syv4x271.js} +1 -1
- package/dist/chunks/{model-resolver-wm6vgevc.js → mime-t1qqdzsn.js} +8 -8
- package/dist/chunks/{model-resolver-2gbv331w.js → mime-ta0smedg.js} +46 -46
- package/dist/chunks/{model-resolver-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-kak0n85x.js → mime-tfgrxbbg.js} +5 -5
- package/dist/chunks/{model-resolver-tm0kqsz3.js → mime-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-resolver-0kydaqed.js → mime-tq4zrfhc.js} +3 -3
- package/dist/chunks/{model-resolver-1j6m29mr.js → mime-txm3e8qz.js} +9 -9
- package/dist/chunks/{model-resolver-tyytaxap.js → mime-tyytaxap.js} +1 -1
- package/dist/chunks/{model-resolver-e1k4xdgj.js → mime-v0fktwpp.js} +4 -4
- package/dist/chunks/{model-resolver-drnf6xwf.js → mime-v0xmac3n.js} +2 -2
- package/dist/chunks/{model-resolver-yemwmjqt.js → mime-v7kctqng.js} +31 -31
- package/dist/chunks/{model-resolver-v7p4zvkq.js → mime-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-resolver-70cnkcsv.js → mime-vatybvvw.js} +23 -23
- package/dist/chunks/{model-resolver-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-zxdyc6t8.js → mime-vesg7vyr.js} +22 -22
- package/dist/chunks/{model-resolver-vmmrq9g8.js → mime-vp964jq4.js} +42 -42
- package/dist/chunks/{model-resolver-7ffb04cr.js → mime-vxa6qxmv.js} +29 -29
- package/dist/chunks/{model-resolver-wzked6k4.js → mime-vynfj1qm.js} +8 -8
- package/dist/chunks/{model-resolver-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-w1eejvng.js → mime-w1eejvng.js} +1 -1
- package/dist/chunks/{model-resolver-mcv1dfk8.js → mime-w30cgv0b.js} +5 -5
- package/dist/chunks/{model-resolver-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-r61qxybf.js → mime-w3x9v1nk.js} +8 -8
- package/dist/chunks/{model-resolver-dc3k7rmc.js → mime-w56fr51s.js} +4 -4
- package/dist/chunks/{model-resolver-fb8g9918.js → mime-w81spx5m.js} +4 -4
- package/dist/chunks/{model-resolver-jx6fkytk.js → mime-w9n24aqy.js} +33 -33
- package/dist/chunks/{model-resolver-xawvyy5x.js → mime-wb86ees7.js} +17 -17
- package/dist/chunks/{model-resolver-z1v1h6at.js → mime-wbt7h3w0.js} +10 -10
- package/dist/chunks/{model-resolver-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-sfvacr6d.js → mime-ws5ka3n2.js} +21 -21
- package/dist/chunks/{model-resolver-8e83x98h.js → mime-wswphd9c.js} +9 -9
- package/dist/chunks/{model-resolver-ahv2j09c.js → mime-wsyn0rjs.js} +11 -11
- package/dist/chunks/{model-resolver-2bbfedhs.js → mime-wwp51aqn.js} +30 -30
- package/dist/chunks/{model-resolver-rk5c66hf.js → mime-wy8qa55f.js} +37 -37
- package/dist/chunks/{model-resolver-5hj1971d.js → mime-xbhefgk3.js} +27 -27
- package/dist/chunks/{model-resolver-av7cjdq7.js → mime-xbr5rkwb.js} +9 -9
- package/dist/chunks/{model-resolver-57b9ws8p.js → mime-xfkkasph.js} +7 -7
- package/dist/chunks/{model-resolver-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-acq2jkv0.js → mime-y2rpf3m1.js} +8 -8
- package/dist/chunks/{model-resolver-pepx8s05.js → mime-y2vzq5h6.js} +14 -14
- package/dist/chunks/{model-resolver-sfatkps4.js → mime-yfmm3r9p.js} +22 -22
- package/dist/chunks/{model-resolver-zmr78fwr.js → mime-ygdna4kr.js} +5 -5
- package/dist/chunks/{model-resolver-q95fhctt.js → mime-ygmyzbnp.js} +45 -45
- package/dist/chunks/{model-resolver-fdwgrwmf.js → mime-ym12zjx9.js} +29 -29
- package/dist/chunks/{model-resolver-yp2x3t23.js → mime-yp2x3t23.js} +1 -1
- package/dist/chunks/{model-resolver-5f50v25j.js → mime-ypj40ynd.js} +20 -20
- package/dist/chunks/{model-resolver-h9wp8z5w.js → mime-yrcj3v3g.js} +4 -4
- package/dist/chunks/{model-resolver-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-89za3yyg.js → mime-z2jd07rd.js} +7 -7
- package/dist/chunks/{model-resolver-mm8y8jbb.js → mime-z4x74e20.js} +23 -23
- package/dist/chunks/{model-resolver-shncg65v.js → mime-z5w93em6.js} +7 -7
- package/dist/chunks/{model-resolver-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +216 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +130 -130
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/model-resolver-4zfvjxth.js +0 -253
- package/dist/chunks/model-resolver-d9c50y5c.js +0 -26
- package/dist/chunks/model-resolver-qc068m1q.js +0 -18
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → mime-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3t0ybcrp.js → mime-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → mime-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → mime-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jze0r7bz.js → mime-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → mime-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-pkyv6v7h.js → mime-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-resolver-pyv0edze.js → mime-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → mime-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wjj7prxr.js → mime-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./mime-sg7jdfe4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID13,
|
|
6
|
+
Event16,
|
|
7
|
+
Service71
|
|
8
|
+
} from "./mime-a465zkn0.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID11
|
|
11
|
+
} from "./mime-jn7vh711.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-p3vvxz2w.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,8 +41,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
45
|
-
const bus = yield*
|
|
44
|
+
const credentials = yield* Service71;
|
|
45
|
+
const bus = yield* Service84;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
48
48
|
}));
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID11.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID11.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID13.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID11.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID11.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID11.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event16.Updated, Event16.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
160
160
|
const next = yield* load();
|
|
161
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
162
162
|
return;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service77,
|
|
6
|
+
node81
|
|
7
|
+
} from "./mime-kjejtsqg.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service23,
|
|
10
|
+
node25
|
|
11
|
+
} from "./mime-8mptw0yh.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options3,
|
|
25
|
+
Service: () => Service22,
|
|
26
|
+
configured: () => configured3,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer11,
|
|
29
|
+
node: () => node24,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service22 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service22, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service77;
|
|
63
|
+
const ripgrep = yield* Service23;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service22.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service22, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service77;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service22.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service22.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer11 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service77;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured3(options) {
|
|
186
|
+
return makeLocationNode({ service: Service22, layer: layer11(options), deps: [node81, node25] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node24 = configured3();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options3, Service22, ripgrepLayer2, fffLayer2, layer11, configured3, node24, exports_search };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-jn7vh711.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./mime-mzvkzawb.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin8,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin8 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service59;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin8, exports_verbosity };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./mime-sg7jdfe4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event16,
|
|
7
|
+
Service71,
|
|
8
|
+
node74
|
|
9
|
+
} from "./mime-a465zkn0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service57,
|
|
12
|
+
node60
|
|
13
|
+
} from "./mime-7ej9kcre.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service77,
|
|
19
|
+
node81
|
|
20
|
+
} from "./mime-kjejtsqg.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-jk540des.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-fmycb6r9.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
stripPreferenceMetadata2,
|
|
30
30
|
discover3
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./mime-7war8x1d.js";
|
|
32
32
|
import {
|
|
33
33
|
plan2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./mime-dqxsqydv.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
Service58,
|
|
37
|
+
Event9,
|
|
38
|
+
node61
|
|
39
|
+
} from "./mime-70jpvrmq.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./mime-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/config.ts
|
|
45
45
|
var exports_config = {};
|
|
46
46
|
__export(exports_config, {
|
|
47
47
|
Config: () => exports_config,
|
|
48
48
|
Options: () => Options7,
|
|
49
|
-
Service: () =>
|
|
49
|
+
Service: () => Service56,
|
|
50
50
|
Test: () => Test2,
|
|
51
51
|
configured: () => configured8,
|
|
52
52
|
latest: () => latest2,
|
|
53
|
-
layer: () =>
|
|
54
|
-
node: () =>
|
|
53
|
+
layer: () => layer23,
|
|
54
|
+
node: () => node59,
|
|
55
55
|
testLayer: () => testLayer2
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -76,7 +76,7 @@ var Options7 = Schema.Struct({
|
|
|
76
76
|
content: Schema.optional(Schema.String)
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service56 extends Context.Service()("@opencode/Config") {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
94
94
|
setEntries: (next) => Ref.set(entries, next),
|
|
95
95
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
96
96
|
});
|
|
97
|
-
return Context.empty().pipe(Context.add(
|
|
97
|
+
return Context.empty().pipe(Context.add(Service56, service), Context.add(Test2, service));
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var layer23 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const watcher = yield*
|
|
103
|
-
const bus = yield*
|
|
104
|
-
const credentials = yield*
|
|
101
|
+
const location = yield* Service77;
|
|
102
|
+
const watcher = yield* Service57;
|
|
103
|
+
const bus = yield* Service84;
|
|
104
|
+
const credentials = yield* Service71;
|
|
105
105
|
const globalService = yield* Global.Service;
|
|
106
|
-
const wellknown = yield*
|
|
106
|
+
const wellknown = yield* Service58;
|
|
107
107
|
const processes = yield* AppProcess.Service;
|
|
108
108
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
109
109
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
@@ -254,8 +254,8 @@ var layer25 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
254
254
|
}, (effect) => reloadLock.withPermit(effect));
|
|
255
255
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
256
256
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
257
|
-
yield* bus.subscribe(
|
|
258
|
-
yield* bus.subscribe(
|
|
257
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
258
|
+
yield* bus.subscribe(Event9.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
259
259
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
260
260
|
if (!wellknown.snapshot().length)
|
|
261
261
|
return Effect.void;
|
|
@@ -283,7 +283,7 @@ var layer25 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
283
283
|
`);
|
|
284
284
|
yield* requestReload;
|
|
285
285
|
}, (effect) => updateLock.withPermit(effect));
|
|
286
|
-
return
|
|
286
|
+
return Service56.of({
|
|
287
287
|
entries: Effect.fnUntraced(function* () {
|
|
288
288
|
return configs;
|
|
289
289
|
}),
|
|
@@ -297,20 +297,20 @@ var layer25 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
297
297
|
}));
|
|
298
298
|
function configured8(options) {
|
|
299
299
|
return makeLocationNode({
|
|
300
|
-
service:
|
|
301
|
-
layer:
|
|
300
|
+
service: Service56,
|
|
301
|
+
layer: layer23(options),
|
|
302
302
|
deps: [
|
|
303
|
-
|
|
304
|
-
|
|
303
|
+
node60,
|
|
304
|
+
node88,
|
|
305
305
|
FSUtil.node,
|
|
306
306
|
Global.node,
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
307
|
+
node81,
|
|
308
|
+
node74,
|
|
309
|
+
node61,
|
|
310
310
|
AppProcess.node
|
|
311
311
|
]
|
|
312
312
|
});
|
|
313
313
|
}
|
|
314
|
-
var
|
|
314
|
+
var node59 = configured8();
|
|
315
315
|
|
|
316
|
-
export { latest2, Options7,
|
|
316
|
+
export { latest2, Options7, Service56, Test2, testLayer2, layer23, configured8, node59, exports_config };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-j52fadta.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-dpxxne8d.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-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,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-jn7vh711.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-mzvkzawb.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info12,
|
|
12
12
|
Object: () => Object2,
|
|
13
|
-
Rule: () =>
|
|
13
|
+
Rule: () => Rule2
|
|
14
14
|
});
|
|
15
15
|
import { Schema, SchemaGetter } from "effect";
|
|
16
16
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
19
19
|
encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
|
|
20
20
|
}));
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
|
-
var
|
|
22
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info12 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule2, Info12, exports_permission };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-h7c27e8q.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make7 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make4 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make7();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make7, VLLMPlugin2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-m5jcjszt.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|