@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,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin15,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin15 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin10 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin15, exports_identity };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-ga8mg7ng.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service40,
|
|
12
|
+
node43
|
|
13
|
+
} from "./mime-mfgyg3rw.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name13
|
|
17
|
+
} from "./mime-f593gmc1.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./mime-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions2 = {};
|
|
24
|
+
__export(exports_instructions2, {
|
|
25
|
+
McpInstructions: () => exports_instructions2,
|
|
26
|
+
Service: () => Service34,
|
|
27
|
+
layer: () => layer14,
|
|
28
|
+
node: () => node38
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,14 +61,14 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service34 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer14 = Layer.effect(Service34, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service40;
|
|
68
|
+
return Service34.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
71
|
-
key:
|
|
70
|
+
const source = (value) => make21({
|
|
71
|
+
key: Key4.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
74
74
|
render: {
|
|
@@ -86,7 +86,7 @@ var layer16 = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer16 = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node38 = makeLocationNode({ service: Service34, layer: layer14, deps: [node43] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service34, layer14, node38, exports_instructions2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info12
|
|
7
|
+
} from "./mime-txm3e8qz.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigAgentV1: () =>
|
|
16
|
-
Info: () =>
|
|
13
|
+
var exports_agent3 = {};
|
|
14
|
+
__export(exports_agent3, {
|
|
15
|
+
ConfigAgentV1: () => exports_agent3,
|
|
16
|
+
Info: () => Info10
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info12)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info10 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info10, exports_agent3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./mime-jn7vh711.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID11.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID11.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-ga8mg7ng.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin14
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin14 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin14, exports_plan };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update3
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update3(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -403,4 +403,4 @@ function update2(adapter, event) {
|
|
|
403
403
|
return project(event);
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
-
export {
|
|
406
|
+
export { update3, exports_message_updater };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./mime-2003xh4j.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./mime-hdab2k61.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-jqh9b0xq.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service74
|
|
15
|
+
} from "./mime-8ank75fn.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-z2jd07rd.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service60
|
|
23
|
+
} from "./mime-my1befea.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service51;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service74;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service60;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service81;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-8m6gnkp5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./mime-sg7jdfe4.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./mime-a465zkn0.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-w9n24aqy.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID11
|
|
17
|
+
} from "./mime-jn7vh711.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID5,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./mime-mzvkzawb.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./mime-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID11.make("digitalocean");
|
|
31
|
+
var integrationID = ID12.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service84;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID5.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./mime-ga8mg7ng.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input9,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin27,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name9 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input9 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input2 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input9.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin27 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service61;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name9,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description3,
|
|
104
|
+
input: Input9,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin19 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name9,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name9, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input9, Plugin27, extractTextFromHTML2, exports_webfetch };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|