@opencode/core 0.0.0-dev-19637 → 0.0.0-dev-19639
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{file-access-zd6ydzqz.js → kv-0181d07v.js} +25 -25
- package/dist/chunks/{file-access-j933w6sb.js → kv-06bhybne.js} +13 -13
- package/dist/chunks/{file-access-xdrba4jw.js → kv-06jg94xm.js} +9 -9
- package/dist/chunks/{file-access-kd6d57r1.js → kv-09evap6p.js} +84 -84
- package/dist/chunks/{file-access-jdfjhp2e.js → kv-0eyg9sj2.js} +8 -8
- package/dist/chunks/{file-access-ks3vd1j0.js → kv-0faph1ym.js} +11 -11
- package/dist/chunks/{file-access-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-access-0q0f95c6.js → kv-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-access-3h8hw3gv.js → kv-11cdrfz0.js} +13 -13
- package/dist/chunks/{file-access-t192nm8m.js → kv-19d1a1wx.js} +6 -6
- package/dist/chunks/{file-access-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-access-t5dv71qx.js → kv-1jzfq4bq.js} +13 -13
- package/dist/chunks/{file-access-h8ptc2jy.js → kv-1qnd0792.js} +25 -25
- package/dist/chunks/kv-1x11rq2a.js +18 -0
- package/dist/chunks/{file-access-21r38tys.js → kv-21r38tys.js} +1 -1
- package/dist/chunks/{file-access-e2609ak5.js → kv-23razwnm.js} +3 -3
- package/dist/chunks/{file-access-ccz297mt.js → kv-26xgc15z.js} +13 -13
- package/dist/chunks/{file-access-r88mwysp.js → kv-278xm5yv.js} +41 -41
- package/dist/chunks/{file-access-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-access-11ayc5k1.js → kv-2rjb08nw.js} +13 -13
- package/dist/chunks/{file-access-t271ntmg.js → kv-2tkww0cv.js} +63 -63
- package/dist/chunks/{file-access-ck2q371s.js → kv-2v2aaw6h.js} +3 -3
- package/dist/chunks/{file-access-a5mt2rtc.js → kv-3a9wmna2.js} +26 -26
- package/dist/chunks/{file-access-grw98w6v.js → kv-3c2xh2cb.js} +24 -24
- package/dist/chunks/{file-access-b2rkp7aa.js → kv-3d23mvyt.js} +10 -10
- package/dist/chunks/{file-access-npmmx7a7.js → kv-3fa9na4z.js} +6 -6
- package/dist/chunks/{file-access-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-access-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-access-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-access-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-access-s8cf5yxm.js → kv-3xjrnnx0.js} +7 -7
- package/dist/chunks/{file-access-55zx3jwd.js → kv-3yaty7qs.js} +18 -18
- package/dist/chunks/{file-access-hv8qssb6.js → kv-41j1ttxa.js} +10 -10
- package/dist/chunks/{file-access-sn3rxfgj.js → kv-426xjh9f.js} +6 -6
- package/dist/chunks/{file-access-e7vjkpcb.js → kv-427pr1n5.js} +8 -8
- package/dist/chunks/{file-access-ah3b0qta.js → kv-43p703w4.js} +7 -7
- package/dist/chunks/{file-access-5d6nmhah.js → kv-4pwnbtse.js} +33 -33
- package/dist/chunks/{file-access-wjcn38ba.js → kv-4q6ckhfj.js} +3 -3
- package/dist/chunks/{file-access-ky68ekyp.js → kv-4rpey7g3.js} +9 -9
- package/dist/chunks/{file-access-jy3pp1pb.js → kv-51fjvt3r.js} +3 -3
- package/dist/chunks/{file-access-yd4pvbh8.js → kv-548bwhbx.js} +1 -1
- package/dist/chunks/{file-access-1ygqh575.js → kv-56gdpj1q.js} +9 -9
- package/dist/chunks/{file-access-d9s573fh.js → kv-57ez7d0k.js} +2 -2
- package/dist/chunks/{file-access-5c4hm403.js → kv-5c4hm403.js} +3 -3
- package/dist/chunks/{file-access-5daktx2q.js → kv-5daktx2q.js} +1 -1
- package/dist/chunks/{file-access-ygk8sne3.js → kv-5jh529f7.js} +24 -24
- package/dist/chunks/{file-access-sfe15w4t.js → kv-5kjbzgy0.js} +15 -15
- package/dist/chunks/{file-access-h6r3nrb9.js → kv-5mtzsd3b.js} +4 -4
- package/dist/chunks/{file-access-0x7mekqw.js → kv-5q9yd8mm.js} +11 -11
- package/dist/chunks/{file-access-4jv7e9dq.js → kv-5qkxfyep.js} +9 -9
- package/dist/chunks/kv-5rea1s2y.js +26 -0
- package/dist/chunks/{file-access-9k7ekhq9.js → kv-5rm646d3.js} +11 -11
- package/dist/chunks/{file-access-s52y66be.js → kv-5syhs8jk.js} +11 -11
- package/dist/chunks/{file-access-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-access-8yk8gp0p.js → kv-5z94tqmr.js} +11 -11
- package/dist/chunks/{file-access-s5trtwgj.js → kv-60rh8x3g.js} +9 -9
- package/dist/chunks/{file-access-669tq793.js → kv-669tq793.js} +1 -1
- package/dist/chunks/{file-access-ycjb11n5.js → kv-6ehbgqat.js} +6 -6
- package/dist/chunks/{file-access-2402vzrj.js → kv-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-access-fhj2ec39.js → kv-6h8410cm.js} +15 -15
- package/dist/chunks/{file-access-fdms3n6w.js → kv-6hjx5zpb.js} +9 -9
- package/dist/chunks/{file-access-q5rhn9x0.js → kv-6jqkynh6.js} +12 -12
- package/dist/chunks/kv-6kdq0pjd.js +4 -0
- package/dist/chunks/{file-access-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-access-7mqb335e.js → kv-6n468d57.js} +6 -6
- package/dist/chunks/{file-access-a8092cx4.js → kv-6sg1sdqs.js} +11 -11
- package/dist/chunks/{file-access-ssdhg7mn.js → kv-6w4gqaqz.js} +1 -1
- package/dist/chunks/{file-access-cjwxcw7h.js → kv-70qbzkph.js} +16 -16
- package/dist/chunks/{file-access-dhxdeg25.js → kv-782x85dz.js} +50 -50
- package/dist/chunks/{file-access-89smrnyf.js → kv-7ac170kv.js} +4 -4
- package/dist/chunks/{file-access-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-access-fcrkznn8.js → kv-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-access-apqkkg64.js → kv-7e0sryjp.js} +12 -12
- package/dist/chunks/{file-access-x182m7xa.js → kv-7p8zzw9r.js} +10 -10
- package/dist/chunks/{file-access-ytgdyx08.js → kv-82jgxh54.js} +2 -2
- package/dist/chunks/{file-access-ewvjyc2d.js → kv-837ekr2g.js} +8 -8
- package/dist/chunks/{file-access-sa8j3x6g.js → kv-8b9twrdg.js} +24 -24
- package/dist/chunks/{file-access-e5vq6wef.js → kv-8bcx3nez.js} +4 -4
- package/dist/chunks/{file-access-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-access-www2df0c.js → kv-8ma1xsee.js} +16 -16
- package/dist/chunks/{file-access-s3ze4hah.js → kv-8s7dmzqa.js} +8 -8
- package/dist/chunks/{file-access-qrkqsxkr.js → kv-990yn902.js} +24 -24
- package/dist/chunks/{file-access-5apets8e.js → kv-9c9zbnn4.js} +6 -6
- package/dist/chunks/{file-access-c9ecbdb0.js → kv-9d2y98hx.js} +5 -5
- package/dist/chunks/{file-access-v24739yc.js → kv-9g3kc011.js} +5 -5
- package/dist/chunks/{file-access-xc8sh4yv.js → kv-9gth7wdx.js} +16 -16
- package/dist/chunks/{file-access-x2nqcre9.js → kv-9x5mrpkq.js} +11 -11
- package/dist/chunks/{file-access-aaet6srn.js → kv-aaet6srn.js} +2 -2
- package/dist/chunks/{file-access-2jywpyj8.js → kv-aazbweyx.js} +23 -23
- package/dist/chunks/{file-access-eezbyd6d.js → kv-aeccn3br.js} +1 -1
- package/dist/chunks/{file-access-hfvc964k.js → kv-af04s6ss.js} +5 -5
- package/dist/chunks/{file-access-n4r3xatb.js → kv-ag4rn41e.js} +4 -4
- package/dist/chunks/{file-access-qehrwxjr.js → kv-ammhsa5d.js} +20 -20
- package/dist/chunks/{file-access-1gfa7nhd.js → kv-aq3mj96b.js} +32 -32
- package/dist/chunks/{file-access-rytnjs8b.js → kv-avdt6qhh.js} +20 -20
- package/dist/chunks/{file-access-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-access-7374nn42.js → kv-behht3cm.js} +11 -11
- package/dist/chunks/{file-access-e5nv3ght.js → kv-bndc73cn.js} +5 -5
- package/dist/chunks/{file-access-qf53spd6.js → kv-bnkdgddv.js} +21 -21
- package/dist/chunks/{file-access-76rf663v.js → kv-bqvrq9r3.js} +15 -15
- package/dist/chunks/{file-access-j4gdw6gw.js → kv-br1n7bnk.js} +11 -11
- package/dist/chunks/{file-access-cz6y612w.js → kv-by366b0z.js} +11 -11
- package/dist/chunks/{file-access-rzbfacg9.js → kv-c38fatdf.js} +31 -31
- package/dist/chunks/{file-access-x0511brf.js → kv-c5gn303e.js} +4 -4
- package/dist/chunks/{file-access-dr6h9h98.js → kv-c9h4s5tc.js} +32 -32
- package/dist/chunks/{file-access-s0bax34n.js → kv-ca0bryv0.js} +17 -17
- package/dist/chunks/{file-access-vh7dp00t.js → kv-cd1mq5a8.js} +1 -1
- package/dist/chunks/{file-access-jsbpgh5s.js → kv-cfxtxrf2.js} +18 -18
- package/dist/chunks/{file-access-7zm7jxc7.js → kv-cm4vr11e.js} +4 -4
- package/dist/chunks/{file-access-jexxy024.js → kv-csdaj16z.js} +2 -2
- package/dist/chunks/{file-access-efzqyggw.js → kv-d60avr4p.js} +12 -12
- package/dist/chunks/{file-access-7gahrvww.js → kv-d9s3hc82.js} +12 -12
- package/dist/chunks/{file-access-hfx69nqz.js → kv-ddq2qd83.js} +22 -22
- package/dist/chunks/{file-access-dj2t23y0.js → kv-dj2t23y0.js} +2 -2
- package/dist/chunks/{file-access-gqchpbtd.js → kv-dj9sq318.js} +2 -2
- package/dist/chunks/{file-access-kq1t1162.js → kv-dn2vbr7z.js} +11 -11
- package/dist/chunks/{file-access-xh45r5pf.js → kv-dwdfpg9y.js} +20 -20
- package/dist/chunks/{file-access-fstwsg2e.js → kv-e1nkw1ch.js} +39 -39
- package/dist/chunks/{file-access-xe94yqgp.js → kv-e8340df8.js} +6 -6
- package/dist/chunks/{file-access-v2rf49aq.js → kv-e8m664vc.js} +7 -7
- package/dist/chunks/{file-access-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-access-5dyw5czf.js → kv-egt3aqgc.js} +83 -83
- package/dist/chunks/{file-access-6d6cd74m.js → kv-eh9sc5va.js} +3 -3
- package/dist/chunks/{file-access-9ppknq4r.js → kv-epmshq33.js} +8 -8
- package/dist/chunks/{file-access-xahw4cd4.js → kv-er44h2rz.js} +24 -24
- package/dist/chunks/{file-access-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-access-v6ede5y2.js → kv-f9v9ak1k.js} +33 -33
- package/dist/chunks/{file-access-912kkt9t.js → kv-faqjheh2.js} +9 -9
- package/dist/chunks/{file-access-gg8wv5as.js → kv-fbge7qf9.js} +26 -26
- package/dist/chunks/{file-access-da5p2m5f.js → kv-fbsb99ch.js} +8 -8
- package/dist/chunks/{file-access-v5dkyp31.js → kv-fdv30zvt.js} +7 -7
- package/dist/chunks/{file-access-f55hhvzh.js → kv-fq769th7.js} +4 -4
- package/dist/chunks/{file-access-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-access-p37cw4rj.js → kv-g0445xdp.js} +8 -8
- package/dist/chunks/{file-access-0xezjjjn.js → kv-g1sxm558.js} +8 -8
- package/dist/chunks/{file-access-ss56yrvr.js → kv-g4g43v69.js} +30 -30
- package/dist/chunks/{file-access-q2cy2y1a.js → kv-g5m2be3b.js} +7 -7
- package/dist/chunks/{file-access-890y149a.js → kv-g5wygk5r.js} +8 -8
- package/dist/chunks/{file-access-waqrje5a.js → kv-g6qcyr5q.js} +24 -24
- package/dist/chunks/{file-access-aj5f68bw.js → kv-g800bs2f.js} +26 -26
- package/dist/chunks/{file-access-468d37b3.js → kv-g8saz83p.js} +6 -6
- package/dist/chunks/{file-access-dffmtpj7.js → kv-gagqe2a0.js} +9 -9
- package/dist/chunks/{file-access-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-access-rhr5fvwd.js → kv-gfkqpt1e.js} +11 -11
- package/dist/chunks/{file-access-amtb1fgb.js → kv-gftr8a0n.js} +12 -12
- package/dist/chunks/{file-access-r8t2xrpw.js → kv-gqhmbrjs.js} +14 -14
- package/dist/chunks/{file-access-yyb7tjpc.js → kv-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-access-17m608xa.js → kv-gzwt477p.js} +7 -7
- package/dist/chunks/{file-access-h03wrkyp.js → kv-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-access-k701emjf.js → kv-h61d1rt6.js} +18 -15
- package/dist/chunks/{file-access-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
- package/dist/chunks/kv-h8hc1fxm.js +247 -0
- package/dist/chunks/{file-access-hdnk95c8.js → kv-hdnk95c8.js} +2 -2
- package/dist/chunks/{file-access-8dpx7m7d.js → kv-hgkbtkys.js} +11 -11
- package/dist/chunks/{file-access-m6ay5emd.js → kv-hkqaemm2.js} +31 -14
- package/dist/chunks/{file-access-mrhssej4.js → kv-hmgs27qq.js} +36 -36
- package/dist/chunks/{file-access-etbqe1sp.js → kv-hnwcghfw.js} +6 -6
- package/dist/chunks/{file-access-sm965ndy.js → kv-hpfvhvya.js} +8 -8
- package/dist/chunks/{file-access-2mzw0ev8.js → kv-hq4ym7hc.js} +47 -47
- package/dist/chunks/{file-access-56m60q16.js → kv-hr5bc81f.js} +8 -8
- package/dist/chunks/{file-access-m17nagwc.js → kv-hvj1z1b4.js} +3 -3
- package/dist/chunks/{file-access-vbmj93bj.js → kv-hzk0yx3b.js} +4 -4
- package/dist/chunks/{file-access-0ft9cg2j.js → kv-j15mfg1p.js} +6 -6
- package/dist/chunks/{file-access-92xny6nd.js → kv-j1t3fp47.js} +1 -1
- package/dist/chunks/{file-access-j56e64zr.js → kv-j56e64zr.js} +1 -1
- package/dist/chunks/{file-access-9t16ekdb.js → kv-j8xqf3tm.js} +23 -23
- package/dist/chunks/{file-access-8v7kkkbw.js → kv-j9e3hj5f.js} +9 -9
- package/dist/chunks/{file-access-4tafv0me.js → kv-ja5e70h9.js} +23 -23
- package/dist/chunks/{file-access-2775jj4e.js → kv-je97d5cj.js} +1 -1
- package/dist/chunks/{file-access-paghhsgz.js → kv-jhrsatcv.js} +2 -2
- package/dist/chunks/{file-access-490pvwh4.js → kv-jkt2pdqn.js} +10 -10
- package/dist/chunks/{file-access-h7923tt2.js → kv-jsa56ppy.js} +15 -15
- package/dist/chunks/{file-access-50mzsvk4.js → kv-jw80jp6b.js} +4 -4
- package/dist/chunks/{file-access-m7qxvmyy.js → kv-k0hvzg6w.js} +22 -22
- package/dist/chunks/{file-access-sf0yp864.js → kv-k0nnq3t9.js} +6 -6
- package/dist/chunks/{file-access-xmvk7qad.js → kv-k14ta1mw.js} +38 -38
- package/dist/chunks/{file-access-zc4efzed.js → kv-kb187nae.js} +13 -13
- package/dist/chunks/{file-access-pcd7pbnd.js → kv-kkqrf715.js} +25 -25
- package/dist/chunks/{file-access-hmfh1rh8.js → kv-ktsp86c1.js} +10 -10
- package/dist/chunks/{file-access-5jhep4w0.js → kv-kxq43fw0.js} +28 -28
- package/dist/chunks/{file-access-m0jqrx5p.js → kv-m0jqrx5p.js} +2 -2
- package/dist/chunks/{file-access-1ktgcqzb.js → kv-m2xnkqg2.js} +12 -12
- package/dist/chunks/{file-access-c07j17hk.js → kv-m5bnrnnk.js} +308 -308
- package/dist/chunks/{file-access-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-access-3dz5wwbt.js → kv-mja1kt4d.js} +13 -13
- package/dist/chunks/{file-access-zqfhgf5b.js → kv-mjvv52aw.js} +131 -131
- package/dist/chunks/{file-access-5c0f1prt.js → kv-msq0jde0.js} +4 -4
- package/dist/chunks/{file-access-73tb2d7t.js → kv-mvfsc1pv.js} +3 -3
- package/dist/chunks/{file-access-yzcxy4rp.js → kv-n1cf34bf.js} +38 -38
- package/dist/chunks/{file-access-352n4qm2.js → kv-nh999r6h.js} +16 -16
- package/dist/chunks/{file-access-hjt4xg1x.js → kv-nhy5jxhy.js} +4 -4
- package/dist/chunks/{file-access-dxzm7sqd.js → kv-nxsj8qk0.js} +6 -6
- package/dist/chunks/{file-access-1z24zf3x.js → kv-p70cw9s4.js} +38 -34
- package/dist/chunks/{file-access-nmn5p8yd.js → kv-pegpe8pp.js} +8 -8
- package/dist/chunks/{file-access-m8y6a9gt.js → kv-pf8xhqfy.js} +41 -41
- package/dist/chunks/{file-access-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-access-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{file-access-0v53mg2y.js → kv-pmr4s4kc.js} +4 -4
- package/dist/chunks/{file-access-zhq6vg7a.js → kv-pstg3rfm.js} +1 -1
- package/dist/chunks/{file-access-nbygjmnq.js → kv-psw4s0xn.js} +23 -23
- package/dist/chunks/{file-access-tkfbqfej.js → kv-ptkydeht.js} +29 -29
- package/dist/chunks/{file-access-gy9mz9hm.js → kv-q3skwyt1.js} +30 -30
- package/dist/chunks/{file-access-rvh2fpxc.js → kv-q6mv38f6.js} +4 -4
- package/dist/chunks/{file-access-ch5zdy2s.js → kv-qdc4xrm1.js} +8 -8
- package/dist/chunks/{file-access-30ntgpz7.js → kv-qj2k6z66.js} +24 -24
- package/dist/chunks/{file-access-9zzv5pgc.js → kv-qn4ba14w.js} +5 -5
- package/dist/chunks/{file-access-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{file-access-1szx0rct.js → kv-qxckzp83.js} +13 -13
- package/dist/chunks/{file-access-ybhbtxjg.js → kv-r0cp9c3a.js} +6 -6
- package/dist/chunks/{file-access-cwa6csj7.js → kv-r2m716tb.js} +9 -9
- package/dist/chunks/{file-access-btrn8rgp.js → kv-r39yac3r.js} +27 -27
- package/dist/chunks/{file-access-zk8c4w5t.js → kv-r4yqrmdq.js} +5 -5
- package/dist/chunks/{file-access-r9mregkx.js → kv-r9mregkx.js} +2 -2
- package/dist/chunks/{file-access-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-access-ebw7vtp3.js → kv-re5kaxrw.js} +23 -23
- package/dist/chunks/{file-access-0addxkp5.js → kv-rp9zvaag.js} +24 -24
- package/dist/chunks/{file-access-det33w69.js → kv-rxk5qj53.js} +5 -5
- package/dist/chunks/{file-access-0r581tt5.js → kv-s4xyvqvb.js} +9 -9
- package/dist/chunks/{file-access-s8d7rejh.js → kv-s8d7rejh.js} +1 -1
- package/dist/chunks/{file-access-szrf2gp8.js → kv-s9q8v06y.js} +23 -23
- package/dist/chunks/{file-access-p459fsr1.js → kv-sm181a3e.js} +35 -35
- package/dist/chunks/{file-access-64stfe7m.js → kv-sqenp41j.js} +18 -18
- package/dist/chunks/{file-access-vbctgszn.js → kv-t0ws8mbr.js} +44 -44
- package/dist/chunks/{file-access-zs4gxp06.js → kv-t1r2rqz2.js} +21 -21
- package/dist/chunks/{file-access-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-access-tcezcvh9.js → kv-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-access-tdstcens.js → kv-tdstcens.js} +1 -1
- package/dist/chunks/{file-access-4e8qeqw2.js → kv-tpej6hf6.js} +8 -8
- package/dist/chunks/{file-access-c8vbwmvy.js → kv-tpej8ve4.js} +22 -22
- package/dist/chunks/{file-access-tvtrv512.js → kv-tvtrv512.js} +1 -1
- package/dist/chunks/{file-access-a3r4dcrj.js → kv-tyqkzprt.js} +2 -2
- package/dist/chunks/{file-access-wa065q7p.js → kv-v001sjzq.js} +3 -3
- package/dist/chunks/{file-access-pf4e8y03.js → kv-v3w1xs5d.js} +27 -27
- package/dist/chunks/{file-access-veqvce7d.js → kv-veqvce7d.js} +1 -1
- package/dist/chunks/{file-access-8nsc8gnz.js → kv-verbbpg9.js} +12 -12
- package/dist/chunks/{file-access-wajqf0bb.js → kv-vm4kz6ms.js} +30 -30
- package/dist/chunks/{file-access-q54epvg6.js → kv-vmmg1jfa.js} +11 -11
- package/dist/chunks/{file-access-196s2236.js → kv-vz25c400.js} +22 -22
- package/dist/chunks/{file-access-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-access-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-access-afes4715.js → kv-w66h423q.js} +2 -2
- package/dist/chunks/{file-access-w1wd9tp2.js → kv-w7pp9m0t.js} +14 -14
- package/dist/chunks/{file-access-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{file-access-tcrhe9m8.js → kv-werfsjnx.js} +17 -17
- package/dist/chunks/{file-access-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-access-bycqfhhp.js → kv-x3krd4w8.js} +2 -2
- package/dist/chunks/{file-access-6n9rjysc.js → kv-x50x66fn.js} +3 -3
- package/dist/chunks/{file-access-hg3nex49.js → kv-x58pb539.js} +8 -8
- package/dist/chunks/{file-access-p630c9xd.js → kv-xk747vep.js} +9 -9
- package/dist/chunks/{file-access-xf0yen68.js → kv-xwztb879.js} +9 -9
- package/dist/chunks/{file-access-y2m441pc.js → kv-xxf7whvt.js} +6 -6
- package/dist/chunks/{file-access-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-access-y71avatq.js → kv-y71avatq.js} +1 -1
- package/dist/chunks/{file-access-vgxg80g2.js → kv-y7mmfpa1.js} +8 -8
- package/dist/chunks/{file-access-bh51kybc.js → kv-y91nftqb.js} +21 -21
- package/dist/chunks/{file-access-204v3eqv.js → kv-y98n2nmb.js} +24 -24
- package/dist/chunks/{file-access-z4zzqkyn.js → kv-ydpmx7wn.js} +22 -22
- package/dist/chunks/{file-access-9gfvx8yt.js → kv-ynbq69as.js} +4 -4
- package/dist/chunks/{file-access-r8xr0va3.js → kv-yp2x3t23.js} +4 -4
- package/dist/chunks/{file-access-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-access-q0r2d8rn.js → kv-yrw3g6cq.js} +33 -33
- package/dist/chunks/{file-access-yrznvahk.js → kv-yrznvahk.js} +2 -2
- package/dist/chunks/{file-access-rw2xgg53.js → kv-yvbb4q6z.js} +17 -17
- package/dist/chunks/{file-access-hpv156nq.js → kv-ywb23tag.js} +4 -4
- package/dist/chunks/{file-access-v812h1xz.js → kv-yx4rmz5q.js} +6 -6
- package/dist/chunks/{file-access-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-access-xg631j7a.js → kv-z5zwqd1h.js} +5 -5
- package/dist/chunks/{file-access-z63w68vq.js → kv-z63w68vq.js} +2 -2
- package/dist/chunks/{file-access-kmkxeyh5.js → kv-z6c53ynw.js} +18 -18
- package/dist/chunks/{file-access-2d8e38yw.js → kv-z7pmxwv1.js} +6 -6
- package/dist/chunks/{file-access-jkpvc1gj.js → kv-zegzr0ah.js} +20 -20
- package/dist/chunks/{file-access-rq775frq.js → kv-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-access-jcas26n6.js → kv-zr0yvs15.js} +11 -11
- package/dist/chunks/{file-access-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-access-7qz0vyfs.js → kv-zr3rbwkr.js} +22 -22
- package/dist/chunks/{file-access-ffzfw6dq.js → kv-zrdk0evt.js} +39 -39
- package/dist/chunks/{file-access-x0wxay44.js → kv-zwgd9mwv.js} +3 -3
- package/dist/chunks/{file-access-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- package/dist/git.js +6 -6
- 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 +90 -90
- 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/id/id.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 +354 -354
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +351 -351
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- 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 +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +95 -95
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/session/model-transport.d.ts +6 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/file-access-24q6q5zm.js +0 -247
- package/dist/chunks/file-access-4v7qdvcn.js +0 -18
- package/dist/chunks/file-access-mqjrdake.js +0 -26
- package/dist/chunks/file-access-qapv375x.js +0 -4
- /package/dist/chunks/{file-access-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-access-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-access-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-access-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-access-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-access-24dcb14g.js → kv-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-access-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-access-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-access-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-access-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-access-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{file-access-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-access-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-access-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-access-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-access-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-access-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-access-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-access-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{file-access-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-access-5qd3pb7m.js → kv-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-access-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{file-access-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-access-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-access-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{file-access-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-access-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-access-922hggd3.js → kv-922hggd3.js} +0 -0
- /package/dist/chunks/{file-access-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-access-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-access-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-access-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-access-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-access-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-access-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-access-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-access-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-access-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-access-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-access-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-access-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-access-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-access-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-access-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{file-access-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-access-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-access-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-access-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-access-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-access-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-access-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-access-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-access-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-access-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-access-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-access-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-access-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{file-access-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-access-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{file-access-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-access-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{file-access-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-access-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-access-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-access-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-access-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-access-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-access-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-access-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-access-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-access-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-access-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-access-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-access-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-access-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-access-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-access-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-access-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-access-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-access-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-access-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-access-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-access-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-access-twg0f83k.js → kv-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-access-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-access-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-access-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-access-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-access-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-access-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{file-access-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-access-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-access-y8f7s663.js → kv-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-access-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-access-ym463w8f.js → kv-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-access-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service34
|
|
3
|
+
} from "./kv-06jg94xm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service32
|
|
6
|
+
} from "./kv-6ehbgqat.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-1x11rq2a.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service67
|
|
15
|
+
} from "./kv-g1sxm558.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-r0cp9c3a.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service62
|
|
23
|
+
} from "./kv-5jh529f7.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./kv-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* Service32;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service67;
|
|
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* Service62;
|
|
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);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service34;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
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,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make14,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make14(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render3, exports_system_prompt };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-re5kaxrw.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-g6qcyr5q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve4
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve4(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -497,4 +497,4 @@ var PROTOCOLS = {
|
|
|
497
497
|
[aisdk2("@ai-sdk/cohere")]: cohere
|
|
498
498
|
};
|
|
499
499
|
|
|
500
|
-
export {
|
|
500
|
+
export { resolve4, exports_variant };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node41
|
|
5
|
+
} from "./kv-dn2vbr7z.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-msq0jde0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service67,
|
|
12
|
+
node71
|
|
13
|
+
} from "./kv-g1sxm558.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-hmgs27qq.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-6sg1sdqs.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error2
|
|
22
|
+
} from "./kv-0181d07v.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service24,
|
|
25
|
+
node27
|
|
26
|
+
} from "./kv-h61d1rt6.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
make14
|
|
29
|
+
} from "./kv-nhy5jxhy.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./kv-pstg3rfm.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./kv-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service23,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer12,
|
|
45
|
+
node: () => node26,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
|
|
|
66
66
|
return {
|
|
67
67
|
providerMetadataKey,
|
|
68
68
|
system: [
|
|
69
|
-
input.agent.system ? input.agent.system :
|
|
69
|
+
input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
|
|
70
70
|
input.initial
|
|
71
71
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
72
72
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
|
|
|
150
150
|
}));
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
class
|
|
153
|
+
class Service23 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
154
154
|
}
|
|
155
|
-
var
|
|
156
|
-
const hooks = yield*
|
|
157
|
-
const transport = yield*
|
|
155
|
+
var layer12 = Layer.effect(Service23, Effect.gen(function* () {
|
|
156
|
+
const hooks = yield* Service67;
|
|
157
|
+
const transport = yield* Service24;
|
|
158
158
|
const app = yield* Metadata2;
|
|
159
159
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
160
160
|
const session = input.session;
|
|
@@ -162,7 +162,7 @@ var layer10 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
162
162
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
163
163
|
const tools = input.tools ?? {
|
|
164
164
|
definitions: [],
|
|
165
|
-
execute: () => new
|
|
165
|
+
execute: () => new Error2({ message: "Tools are not available for this request" })
|
|
166
166
|
};
|
|
167
167
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
168
168
|
const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
|
|
@@ -231,11 +231,15 @@ var layer10 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
231
231
|
});
|
|
232
232
|
return HttpClientResponse.fromWeb(sent, after.response);
|
|
233
233
|
}).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause)))) : undefined;
|
|
234
|
-
const webSocket = input.webSocket === "session" &&
|
|
234
|
+
const webSocket = input.webSocket === "session" && model.transport === "websocket" ? transport.bind(session.id, (connect) => hooks.trigger("session", "experimental.ws.handshake", {
|
|
235
|
+
...scope,
|
|
236
|
+
url: connect.url,
|
|
237
|
+
headers: connect.headers
|
|
238
|
+
}).pipe(Effect.map((event) => ({ url: event.url, headers: event.headers })))) : undefined;
|
|
235
239
|
return {
|
|
236
240
|
event: shaped,
|
|
237
241
|
request,
|
|
238
|
-
options: { ...http ? { http } : {}, ...webSocket ? { webSocket
|
|
242
|
+
options: { ...http ? { http } : {}, ...webSocket ? { webSocket } : {} },
|
|
239
243
|
retry: (event) => hooks.trigger("session", "retry", event).pipe(Effect.asVoid),
|
|
240
244
|
executeTool: (call) => tools.execute({ ...call, definitions: hooked }).pipe(Effect.catchCauseFilter((cause) => {
|
|
241
245
|
const decline = cause.reasons.flatMap((r) => Cause.isDieReason(r) && (r.defect instanceof DeclinedError2 || r.defect instanceof CancelledError2) ? [r.defect] : [])[0];
|
|
@@ -244,17 +248,17 @@ var layer10 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
244
248
|
};
|
|
245
249
|
});
|
|
246
250
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
247
|
-
return
|
|
251
|
+
return Service23.of({
|
|
248
252
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
249
253
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
250
254
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
251
255
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
252
256
|
});
|
|
253
257
|
}));
|
|
254
|
-
var
|
|
255
|
-
service:
|
|
256
|
-
layer:
|
|
257
|
-
deps: [
|
|
258
|
+
var node26 = makeLocationNode({
|
|
259
|
+
service: Service23,
|
|
260
|
+
layer: layer12,
|
|
261
|
+
deps: [node71, node27, node41]
|
|
258
262
|
});
|
|
259
263
|
|
|
260
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
264
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service23, layer12, node26, exports_model_request };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-dn2vbr7z.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-ynbq69as.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-ammhsa5d.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-ydpmx7wn.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./kv-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
20
|
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./kv-re5kaxrw.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -159,7 +159,7 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
165
|
const bus = yield* Service81;
|
|
@@ -316,4 +316,4 @@ function claim(token) {
|
|
|
316
316
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info17
|
|
7
|
+
} from "./kv-jw80jp6b.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info9
|
|
10
|
+
} from "./kv-tpej6hf6.js";
|
|
11
11
|
import {
|
|
12
12
|
Info11
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-dj9sq318.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info14
|
|
16
|
+
} from "./kv-fdv30zvt.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info10
|
|
19
|
+
} from "./kv-5qkxfyep.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./kv-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info15
|
|
25
|
+
} from "./kv-j15mfg1p.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info16
|
|
28
|
+
} from "./kv-af04s6ss.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./kv-7dqw4kz8.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info12
|
|
34
|
+
} from "./kv-qn4ba14w.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./kv-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info13
|
|
40
|
+
} from "./kv-pmr4s4kc.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./kv-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info8,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info8 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info9 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info14)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info13).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,31 +113,31 @@ var Info9 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info9), plan: Schema.optional(Info9) }), [Schema.Record(Schema.String, Info9)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info9),
|
|
119
|
+
build: Schema.optional(Info9),
|
|
120
|
+
general: Schema.optional(Info9),
|
|
121
|
+
explore: Schema.optional(Info9),
|
|
122
|
+
title: Schema.optional(Info9),
|
|
123
|
+
summary: Schema.optional(Info9),
|
|
124
|
+
compaction: Schema.optional(Info9)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info9)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info12)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info16, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info10).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info15).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info17),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
142
|
attachment: Schema.optional(Info11).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
@@ -191,4 +191,4 @@ var Info9 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info8, exports_config2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info13
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info13 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info15 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info13, exports_skills };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./kv-rp9zvaag.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./kv-hmgs27qq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./kv-j8xqf3tm.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./kv-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch = {};
|
|
21
21
|
__export(exports_websearch, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input2,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin2,
|
|
25
25
|
WebSearchTool: () => exports_websearch,
|
|
26
26
|
description: () => description2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name2
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name2 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
@@ -39,28 +39,28 @@ var httpErrors = new Map([
|
|
|
39
39
|
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input2 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin2 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service63;
|
|
53
|
+
const forms = yield* Service74;
|
|
54
|
+
const websearch = yield* Service13;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name2,
|
|
57
57
|
options: { codemode: false },
|
|
58
58
|
description: description2,
|
|
59
|
-
input:
|
|
59
|
+
input: Input2,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name2,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name2];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name2, NO_RESULTS2, description2, Input2, Plugin2, exports_websearch };
|