@opencode/core 0.0.0-dev-19638 → 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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{file-access-6ywjc070.js → kv-0181d07v.js} +24 -24
- package/dist/chunks/{file-access-76xmbs1m.js → kv-06bhybne.js} +17 -17
- package/dist/chunks/{file-access-kw9xdzv2.js → kv-06jg94xm.js} +9 -9
- package/dist/chunks/{file-access-zf9pbwsw.js → kv-09evap6p.js} +81 -81
- package/dist/chunks/{file-access-ypyq2zsn.js → kv-0eyg9sj2.js} +10 -10
- package/dist/chunks/{file-access-5srkf7nd.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-hm7xtcxq.js → kv-11cdrfz0.js} +13 -13
- package/dist/chunks/{file-access-6ykthspn.js → kv-19d1a1wx.js} +6 -6
- package/dist/chunks/{file-access-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-access-rj5xkaak.js → kv-1jzfq4bq.js} +13 -13
- package/dist/chunks/{file-access-a97f1kxr.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-avs77xrm.js → kv-23razwnm.js} +5 -5
- package/dist/chunks/{file-access-rtxak1ft.js → kv-26xgc15z.js} +13 -13
- package/dist/chunks/{file-access-hpe0ccrg.js → kv-278xm5yv.js} +46 -46
- package/dist/chunks/{file-access-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-access-62agcz7g.js → kv-2rjb08nw.js} +20 -20
- package/dist/chunks/{file-access-vbmkf8sa.js → kv-2tkww0cv.js} +65 -65
- package/dist/chunks/{file-access-e2qab2dq.js → kv-2v2aaw6h.js} +5 -5
- package/dist/chunks/{file-access-z6q28316.js → kv-3a9wmna2.js} +29 -29
- package/dist/chunks/{file-access-e2e34s5q.js → kv-3c2xh2cb.js} +24 -24
- package/dist/chunks/{file-access-q12jtckr.js → kv-3d23mvyt.js} +10 -10
- package/dist/chunks/{file-access-dbtyj0an.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-f60890a8.js → kv-3xjrnnx0.js} +7 -7
- package/dist/chunks/{file-access-pr444p5c.js → kv-3yaty7qs.js} +18 -18
- package/dist/chunks/{file-access-6ycvbcht.js → kv-41j1ttxa.js} +16 -16
- package/dist/chunks/{file-access-e64xqjet.js → kv-426xjh9f.js} +4 -4
- package/dist/chunks/{file-access-sxd752g3.js → kv-427pr1n5.js} +8 -8
- package/dist/chunks/{file-access-nzha355v.js → kv-43p703w4.js} +15 -15
- package/dist/chunks/{file-access-f6fgfmmn.js → kv-4pwnbtse.js} +33 -33
- package/dist/chunks/{file-access-pj43p8qp.js → kv-4q6ckhfj.js} +3 -3
- package/dist/chunks/{file-access-vhfq0sg5.js → kv-4rpey7g3.js} +9 -9
- package/dist/chunks/{file-access-vmgcxazz.js → kv-51fjvt3r.js} +5 -5
- package/dist/chunks/{file-access-ewwzb6sv.js → kv-548bwhbx.js} +5 -5
- package/dist/chunks/{file-access-mfqp6xfm.js → kv-56gdpj1q.js} +6 -6
- 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-8yppv9j5.js → kv-5jh529f7.js} +22 -22
- package/dist/chunks/{file-access-m6gy85y0.js → kv-5kjbzgy0.js} +20 -20
- package/dist/chunks/{file-access-cpj0znwe.js → kv-5mtzsd3b.js} +4 -4
- package/dist/chunks/{file-access-rsk3jvy7.js → kv-5q9yd8mm.js} +11 -11
- package/dist/chunks/{file-access-vyqn3nqs.js → kv-5qkxfyep.js} +4 -4
- package/dist/chunks/kv-5rea1s2y.js +26 -0
- package/dist/chunks/{file-access-j0vfj7ky.js → kv-5rm646d3.js} +11 -11
- package/dist/chunks/{file-access-be47w3k3.js → kv-5syhs8jk.js} +11 -11
- package/dist/chunks/{file-access-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-access-vfp4enkz.js → kv-5z94tqmr.js} +11 -11
- package/dist/chunks/{file-access-3zrjs6f3.js → kv-60rh8x3g.js} +9 -9
- package/dist/chunks/{file-access-669tq793.js → kv-669tq793.js} +1 -1
- package/dist/chunks/{file-access-3ppptnan.js → kv-6ehbgqat.js} +6 -6
- package/dist/chunks/{file-access-2402vzrj.js → kv-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-access-xsyev9bv.js → kv-6h8410cm.js} +15 -15
- package/dist/chunks/{file-access-a3ftg8j6.js → kv-6hjx5zpb.js} +9 -9
- package/dist/chunks/{file-access-jgv4nkbw.js → kv-6jqkynh6.js} +20 -20
- 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-8y62cfgq.js → kv-6n468d57.js} +6 -6
- package/dist/chunks/{file-access-4nfbas15.js → kv-6sg1sdqs.js} +14 -14
- package/dist/chunks/{file-access-4cmr76fd.js → kv-6w4gqaqz.js} +3 -3
- package/dist/chunks/{file-access-22xdy94t.js → kv-70qbzkph.js} +16 -16
- package/dist/chunks/{file-access-sve5t580.js → kv-782x85dz.js} +40 -40
- package/dist/chunks/{file-access-9b36z5yg.js → kv-7ac170kv.js} +4 -4
- package/dist/chunks/{file-access-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-access-qgn6gcr1.js → kv-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-access-dthhqzns.js → kv-7e0sryjp.js} +12 -12
- package/dist/chunks/{file-access-812zr1rk.js → kv-7p8zzw9r.js} +10 -10
- package/dist/chunks/{file-access-t9kha2ca.js → kv-82jgxh54.js} +2 -2
- package/dist/chunks/{file-access-mrxfpjcs.js → kv-837ekr2g.js} +5 -5
- package/dist/chunks/{file-access-zetsppkw.js → kv-8b9twrdg.js} +24 -24
- package/dist/chunks/{file-access-g0r62mbx.js → kv-8bcx3nez.js} +4 -4
- package/dist/chunks/{file-access-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-access-2j0dgarf.js → kv-8ma1xsee.js} +16 -16
- package/dist/chunks/{file-access-wvxf6pmh.js → kv-8s7dmzqa.js} +10 -10
- package/dist/chunks/{file-access-f3k401ar.js → kv-990yn902.js} +22 -22
- package/dist/chunks/{file-access-5apets8e.js → kv-9c9zbnn4.js} +6 -6
- package/dist/chunks/{file-access-hwr433ds.js → kv-9d2y98hx.js} +10 -10
- package/dist/chunks/{file-access-v24739yc.js → kv-9g3kc011.js} +5 -5
- package/dist/chunks/{file-access-js4k7t4e.js → kv-9gth7wdx.js} +16 -16
- package/dist/chunks/{file-access-km5njsm9.js → kv-9x5mrpkq.js} +8 -8
- package/dist/chunks/{file-access-aaet6srn.js → kv-aaet6srn.js} +2 -2
- package/dist/chunks/{file-access-0hnxfn8s.js → kv-aazbweyx.js} +25 -25
- package/dist/chunks/{file-access-qfjwnv02.js → kv-aeccn3br.js} +1 -1
- package/dist/chunks/{file-access-s587y4ee.js → kv-af04s6ss.js} +5 -5
- package/dist/chunks/{file-access-hn57h045.js → kv-ag4rn41e.js} +4 -4
- package/dist/chunks/{file-access-fak7xqqt.js → kv-ammhsa5d.js} +30 -30
- package/dist/chunks/{file-access-yb8fj77w.js → kv-aq3mj96b.js} +32 -32
- package/dist/chunks/{file-access-3knnkrdf.js → kv-avdt6qhh.js} +20 -20
- package/dist/chunks/{file-access-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-access-mzrp1fyr.js → kv-behht3cm.js} +17 -17
- package/dist/chunks/{file-access-e5nv3ght.js → kv-bndc73cn.js} +5 -5
- package/dist/chunks/{file-access-eahf1j6r.js → kv-bnkdgddv.js} +21 -21
- package/dist/chunks/{file-access-7dcaf0ce.js → kv-bqvrq9r3.js} +21 -21
- package/dist/chunks/{file-access-dpcqhtkn.js → kv-br1n7bnk.js} +17 -17
- package/dist/chunks/{file-access-njqgj7qg.js → kv-by366b0z.js} +11 -11
- package/dist/chunks/{file-access-cy2r3qg1.js → kv-c38fatdf.js} +31 -31
- package/dist/chunks/{file-access-zj09a0ew.js → kv-c5gn303e.js} +4 -4
- package/dist/chunks/{file-access-y3ye89br.js → kv-c9h4s5tc.js} +39 -39
- package/dist/chunks/{file-access-8b68vhre.js → kv-ca0bryv0.js} +17 -17
- package/dist/chunks/{file-access-c1661jpf.js → kv-cd1mq5a8.js} +1 -1
- package/dist/chunks/{file-access-g00jty2v.js → kv-cfxtxrf2.js} +15 -15
- package/dist/chunks/{file-access-8yph952s.js → kv-cm4vr11e.js} +4 -4
- package/dist/chunks/{file-access-q3t37ft6.js → kv-csdaj16z.js} +3 -3
- package/dist/chunks/{file-access-by9rpdtw.js → kv-d60avr4p.js} +12 -12
- package/dist/chunks/{file-access-9ev53f4q.js → kv-d9s3hc82.js} +16 -16
- package/dist/chunks/{file-access-9s92gzw6.js → kv-ddq2qd83.js} +26 -26
- 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-7n0p62ew.js → kv-dn2vbr7z.js} +10 -10
- package/dist/chunks/{file-access-33c2t3mm.js → kv-dwdfpg9y.js} +18 -18
- package/dist/chunks/{file-access-k33y0e94.js → kv-e1nkw1ch.js} +39 -39
- package/dist/chunks/{file-access-ngdt5g2x.js → kv-e8340df8.js} +8 -8
- package/dist/chunks/{file-access-4vb1y0qz.js → kv-e8m664vc.js} +7 -7
- package/dist/chunks/{file-access-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-access-1bz55dqa.js → kv-egt3aqgc.js} +85 -85
- package/dist/chunks/{file-access-s8j3dq9b.js → kv-eh9sc5va.js} +3 -3
- package/dist/chunks/{file-access-p5599t8k.js → kv-epmshq33.js} +8 -8
- package/dist/chunks/{file-access-k31cg7qp.js → kv-er44h2rz.js} +20 -20
- package/dist/chunks/{file-access-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-access-6m499kzd.js → kv-f9v9ak1k.js} +33 -33
- package/dist/chunks/{file-access-t7e0y256.js → kv-faqjheh2.js} +9 -9
- package/dist/chunks/{file-access-92f8rgp2.js → kv-fbge7qf9.js} +17 -17
- package/dist/chunks/{file-access-2js99wz0.js → kv-fbsb99ch.js} +17 -17
- package/dist/chunks/{file-access-b27vhd2z.js → kv-fdv30zvt.js} +7 -7
- package/dist/chunks/{file-access-bj5hbc59.js → kv-fq769th7.js} +4 -4
- package/dist/chunks/{file-access-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-access-cmwkp3r5.js → kv-g0445xdp.js} +4 -4
- package/dist/chunks/{file-access-8ank75fn.js → kv-g1sxm558.js} +8 -8
- package/dist/chunks/{file-access-b5jkzqy2.js → kv-g4g43v69.js} +35 -35
- package/dist/chunks/{file-access-dy562txv.js → kv-g5m2be3b.js} +17 -17
- package/dist/chunks/{file-access-8602h8p3.js → kv-g5wygk5r.js} +8 -8
- package/dist/chunks/{file-access-ea3fxjgj.js → kv-g6qcyr5q.js} +29 -29
- package/dist/chunks/{file-access-9rrc34ns.js → kv-g800bs2f.js} +26 -26
- package/dist/chunks/{file-access-sstmea9h.js → kv-g8saz83p.js} +22 -22
- package/dist/chunks/{file-access-3zdwcfwy.js → kv-gagqe2a0.js} +9 -9
- package/dist/chunks/{file-access-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-access-et8mzwyf.js → kv-gfkqpt1e.js} +11 -11
- package/dist/chunks/{file-access-ycrw32xq.js → kv-gftr8a0n.js} +9 -9
- package/dist/chunks/{file-access-dsyvch4e.js → kv-gqhmbrjs.js} +20 -20
- package/dist/chunks/{file-access-yyb7tjpc.js → kv-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-access-7tcrqq4t.js → kv-gzwt477p.js} +7 -7
- package/dist/chunks/{file-access-h03wrkyp.js → kv-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-access-7h1ryc6p.js → kv-h61d1rt6.js} +9 -9
- 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-z6t9vx1b.js → kv-hgkbtkys.js} +11 -11
- package/dist/chunks/{file-access-hftty0sn.js → kv-hkqaemm2.js} +23 -23
- package/dist/chunks/{file-access-6snq9ewv.js → kv-hmgs27qq.js} +51 -51
- package/dist/chunks/{file-access-a46e93d3.js → kv-hnwcghfw.js} +6 -6
- package/dist/chunks/{file-access-99xay3p1.js → kv-hpfvhvya.js} +8 -8
- package/dist/chunks/{file-access-m3kws1jr.js → kv-hq4ym7hc.js} +47 -47
- package/dist/chunks/{file-access-2wts5qzq.js → kv-hr5bc81f.js} +8 -8
- package/dist/chunks/{file-access-v65pmyz7.js → kv-hvj1z1b4.js} +3 -3
- package/dist/chunks/{file-access-32x43b5h.js → kv-hzk0yx3b.js} +4 -4
- package/dist/chunks/{file-access-j15mfg1p.js → kv-j15mfg1p.js} +1 -1
- package/dist/chunks/{file-access-9bkgmrac.js → kv-j1t3fp47.js} +3 -3
- package/dist/chunks/{file-access-j56e64zr.js → kv-j56e64zr.js} +1 -1
- package/dist/chunks/{file-access-8kckztxt.js → kv-j8xqf3tm.js} +25 -25
- package/dist/chunks/{file-access-0tg58rzn.js → kv-j9e3hj5f.js} +11 -11
- package/dist/chunks/{file-access-j03d6hs6.js → kv-ja5e70h9.js} +23 -23
- package/dist/chunks/{file-access-8r5sxhkv.js → kv-je97d5cj.js} +3 -3
- package/dist/chunks/{file-access-46hd3f0f.js → kv-jhrsatcv.js} +5 -5
- package/dist/chunks/{file-access-ashkezcm.js → kv-jkt2pdqn.js} +30 -30
- package/dist/chunks/{file-access-b2jj88ef.js → kv-jsa56ppy.js} +15 -15
- package/dist/chunks/{file-access-f3ngv102.js → kv-jw80jp6b.js} +4 -4
- package/dist/chunks/{file-access-3stbjpb0.js → kv-k0hvzg6w.js} +18 -18
- package/dist/chunks/{file-access-w4axh9wz.js → kv-k0nnq3t9.js} +6 -6
- package/dist/chunks/{file-access-vpgyrhve.js → kv-k14ta1mw.js} +38 -38
- package/dist/chunks/{file-access-n9y08rq6.js → kv-kb187nae.js} +13 -13
- package/dist/chunks/{file-access-s7769g1c.js → kv-kkqrf715.js} +20 -20
- package/dist/chunks/{file-access-mxyhxd0t.js → kv-ktsp86c1.js} +10 -10
- package/dist/chunks/{file-access-7heb594d.js → kv-kxq43fw0.js} +28 -28
- package/dist/chunks/{file-access-m0jqrx5p.js → kv-m0jqrx5p.js} +2 -2
- package/dist/chunks/{file-access-b5j16w9d.js → kv-m2xnkqg2.js} +12 -12
- package/dist/chunks/{file-access-phnkt68t.js → kv-m5bnrnnk.js} +305 -305
- package/dist/chunks/{file-access-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-access-zmk6j7b1.js → kv-mja1kt4d.js} +10 -10
- package/dist/chunks/{file-access-76jmq1mn.js → kv-mjvv52aw.js} +171 -171
- package/dist/chunks/{file-access-w1k39n5e.js → kv-msq0jde0.js} +4 -4
- package/dist/chunks/{file-access-7yh4e7ss.js → kv-mvfsc1pv.js} +3 -3
- package/dist/chunks/{file-access-z25b1m8j.js → kv-n1cf34bf.js} +35 -35
- package/dist/chunks/{file-access-qx87dfmj.js → kv-nh999r6h.js} +16 -16
- package/dist/chunks/{file-access-47gsdddb.js → kv-nhy5jxhy.js} +5 -5
- package/dist/chunks/{file-access-a6kbnp9r.js → kv-nxsj8qk0.js} +6 -6
- package/dist/chunks/{file-access-9ancjmj9.js → kv-p70cw9s4.js} +26 -26
- package/dist/chunks/{file-access-ke9sk9ax.js → kv-pegpe8pp.js} +17 -17
- package/dist/chunks/{file-access-fc4nsy51.js → kv-pf8xhqfy.js} +39 -39
- 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-vncycja5.js → kv-pmr4s4kc.js} +4 -4
- package/dist/chunks/{file-access-4jc5c4h4.js → kv-pstg3rfm.js} +1 -1
- package/dist/chunks/{file-access-e3adyxrg.js → kv-psw4s0xn.js} +29 -29
- package/dist/chunks/{file-access-wc8ptzv7.js → kv-ptkydeht.js} +29 -29
- package/dist/chunks/{file-access-25fjjxm2.js → kv-q3skwyt1.js} +30 -30
- package/dist/chunks/{file-access-p2f255ct.js → kv-q6mv38f6.js} +4 -4
- package/dist/chunks/{file-access-qv9gx9bg.js → kv-qdc4xrm1.js} +8 -8
- package/dist/chunks/{file-access-86jfkp86.js → kv-qj2k6z66.js} +21 -21
- package/dist/chunks/{file-access-t3swkhbg.js → kv-qn4ba14w.js} +5 -5
- package/dist/chunks/{file-access-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{file-access-r4ck6ye8.js → kv-qxckzp83.js} +13 -13
- package/dist/chunks/{file-access-3ktbe3hf.js → kv-r0cp9c3a.js} +6 -6
- package/dist/chunks/{file-access-qmqgtz8f.js → kv-r2m716tb.js} +9 -9
- package/dist/chunks/{file-access-a3dkvnxb.js → kv-r39yac3r.js} +44 -44
- package/dist/chunks/{file-access-fyjp43ss.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-rds37zvx.js → kv-re5kaxrw.js} +29 -29
- package/dist/chunks/{file-access-hg4hxzv1.js → kv-rp9zvaag.js} +26 -26
- package/dist/chunks/{file-access-rw8kjknk.js → kv-rxk5qj53.js} +5 -5
- package/dist/chunks/{file-access-4hxfx086.js → kv-s4xyvqvb.js} +9 -9
- package/dist/chunks/{file-access-02nrjc1r.js → kv-s8d7rejh.js} +8 -8
- package/dist/chunks/{file-access-56rycjvn.js → kv-s9q8v06y.js} +16 -16
- package/dist/chunks/{file-access-8526r7vx.js → kv-sm181a3e.js} +35 -35
- package/dist/chunks/{file-access-pdd0bbjk.js → kv-sqenp41j.js} +14 -14
- package/dist/chunks/{file-access-andt55zn.js → kv-t0ws8mbr.js} +48 -48
- package/dist/chunks/{file-access-7tdtfp7b.js → kv-t1r2rqz2.js} +22 -22
- 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-5n7sh86d.js → kv-tpej6hf6.js} +8 -8
- package/dist/chunks/{file-access-s6jatava.js → kv-tpej8ve4.js} +15 -15
- package/dist/chunks/{file-access-tvtrv512.js → kv-tvtrv512.js} +1 -1
- package/dist/chunks/{file-access-jca4demv.js → kv-tyqkzprt.js} +2 -2
- package/dist/chunks/{file-access-he2x7e7z.js → kv-v001sjzq.js} +3 -3
- package/dist/chunks/{file-access-1h5aw7tx.js → kv-v3w1xs5d.js} +27 -27
- package/dist/chunks/{file-access-veqvce7d.js → kv-veqvce7d.js} +1 -1
- package/dist/chunks/{file-access-50hk1gym.js → kv-verbbpg9.js} +15 -15
- package/dist/chunks/{file-access-ys2m57fz.js → kv-vm4kz6ms.js} +33 -33
- package/dist/chunks/{file-access-gsj5sv52.js → kv-vmmg1jfa.js} +11 -11
- package/dist/chunks/{file-access-bbfsgge0.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-rgp511zr.js → kv-w66h423q.js} +2 -2
- package/dist/chunks/{file-access-snmjhvm7.js → kv-w7pp9m0t.js} +11 -11
- package/dist/chunks/{file-access-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{file-access-tdbakys2.js → kv-werfsjnx.js} +20 -20
- package/dist/chunks/{file-access-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-access-1r6cykv1.js → kv-x3krd4w8.js} +4 -4
- package/dist/chunks/{file-access-01bhhyb7.js → kv-x50x66fn.js} +3 -3
- package/dist/chunks/{file-access-bhqn7aj9.js → kv-x58pb539.js} +9 -9
- package/dist/chunks/{file-access-mvn2r3z4.js → kv-xk747vep.js} +8 -8
- package/dist/chunks/{file-access-azvx9vjt.js → kv-xwztb879.js} +12 -12
- package/dist/chunks/{file-access-z12cg9p1.js → kv-xxf7whvt.js} +9 -9
- 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-mby8mxat.js → kv-y7mmfpa1.js} +8 -8
- package/dist/chunks/{file-access-pfz3dw98.js → kv-y91nftqb.js} +26 -26
- package/dist/chunks/{file-access-b2gch9fn.js → kv-y98n2nmb.js} +24 -24
- package/dist/chunks/{file-access-mmy2zf88.js → kv-ydpmx7wn.js} +29 -29
- package/dist/chunks/{file-access-zw6dtez5.js → kv-ynbq69as.js} +4 -4
- package/dist/chunks/{file-access-yp2x3t23.js → kv-yp2x3t23.js} +1 -1
- package/dist/chunks/{file-access-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-access-enbnvbva.js → kv-yrw3g6cq.js} +27 -27
- package/dist/chunks/{file-access-yrznvahk.js → kv-yrznvahk.js} +2 -2
- package/dist/chunks/{file-access-6jft8mvs.js → kv-yvbb4q6z.js} +17 -17
- package/dist/chunks/{file-access-4wrt768g.js → kv-ywb23tag.js} +4 -4
- package/dist/chunks/{file-access-spqgdpza.js → kv-yx4rmz5q.js} +23 -23
- package/dist/chunks/{file-access-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-access-kr9cqyf0.js → kv-z5zwqd1h.js} +8 -8
- package/dist/chunks/{file-access-z63w68vq.js → kv-z63w68vq.js} +2 -2
- package/dist/chunks/{file-access-0j8y3tn5.js → kv-z6c53ynw.js} +22 -22
- package/dist/chunks/{file-access-zsn07k7j.js → kv-z7pmxwv1.js} +11 -11
- package/dist/chunks/{file-access-ajk9kppy.js → kv-zegzr0ah.js} +20 -20
- package/dist/chunks/{file-access-rq775frq.js → kv-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-access-917gka4z.js → kv-zr0yvs15.js} +14 -14
- package/dist/chunks/{file-access-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-access-y3d0z3tn.js → kv-zr3rbwkr.js} +18 -18
- package/dist/chunks/{file-access-jjefk1kz.js → kv-zrdk0evt.js} +43 -43
- package/dist/chunks/{file-access-8snetkfr.js → kv-zwgd9mwv.js} +5 -5
- package/dist/chunks/{file-access-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- 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 +122 -122
- package/dist/config/plugin/command.js +210 -210
- 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 +129 -129
- 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 +124 -124
- 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 +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- 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 +219 -219
- 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 +11 -11
- package/dist/filesystem.js +105 -105
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +98 -98
- 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 +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- 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 +124 -124
- 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 +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +104 -104
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +3 -3
- 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 +7 -7
- 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 +121 -121
- 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 +345 -345
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- 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 +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- 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 +125 -125
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- 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 +115 -115
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +83 -83
- 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 +1 -1
- 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 +5 -5
- 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 +206 -206
- 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 +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +119 -119
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +215 -215
- 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 +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- 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 +83 -83
- 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-0mesazry.js +0 -4
- package/dist/chunks/file-access-by5v678g.js +0 -18
- package/dist/chunks/file-access-h2q74avv.js +0 -26
- package/dist/chunks/file-access-xv4gw76e.js +0 -247
- /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,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78,
|
|
6
6
|
node82
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-82jgxh54.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service49,
|
|
10
|
+
node52
|
|
11
|
+
} from "./kv-sqenp41j.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./kv-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options6,
|
|
25
|
+
Service: () => Service48,
|
|
26
|
+
configured: () => configured7,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer19,
|
|
29
|
+
node: () => node51,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options6 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service48 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service48, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service78;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service49;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service48.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service48, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service78;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service48.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service48.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer19 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service78;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -182,9 +182,9 @@ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured7(options) {
|
|
186
|
+
return makeLocationNode({ service: Service48, layer: layer19(options), deps: [node82, node52] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node51 = configured7();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options6, Service48, ripgrepLayer2, fffLayer2, layer19, configured7, node51, exports_search };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service27,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service27 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service27.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service27, awaitActivation2, exports_service };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./kv-re5kaxrw.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-3fa9na4z.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
16
16
|
var CloudflareAIGatewayPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service60,
|
|
6
|
+
node63
|
|
7
|
+
} from "./kv-bnkdgddv.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service40,
|
|
17
|
+
node: () => node43,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service40 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service60;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service40.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node43 = makeLocationNode({ service: Service40, layer, deps: [node63] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service40, readText2, syncTextBom2, node43, exports_file_mutation };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./kv-k14ta1mw.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service60
|
|
13
|
+
} from "./kv-bnkdgddv.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service37
|
|
16
|
+
} from "./kv-ca0bryv0.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service63
|
|
19
|
+
} from "./kv-hmgs27qq.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service45,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./kv-jsa56ppy.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./kv-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service58,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./kv-tpej8ve4.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service53
|
|
37
|
+
} from "./kv-zrdk0evt.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service15
|
|
40
|
+
} from "./kv-09evap6p.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./kv-hzk0yx3b.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./kv-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input4,
|
|
53
|
+
Plugin: () => Plugin4,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name4
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name4 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input4 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin4 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service15;
|
|
122
|
+
const jobs = yield* Service37;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service60;
|
|
125
|
+
const access = yield* Service45;
|
|
126
|
+
const shell = yield* Service53;
|
|
127
|
+
const shellSelect = yield* Service58;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service63;
|
|
130
|
+
const config = yield* Service55;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin35 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name4,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin35 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name4,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input4,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin35 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name4,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name4];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin4, exports_shell };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-ynbq69as.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./kv-3d23mvyt.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service27,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-1x11rq2a.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./kv-mjvv52aw.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./kv-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event2,
|
|
30
|
+
ID: () => ID2,
|
|
31
|
+
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service27,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node15
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service81;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service70;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service27.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node15 = Node.makeLocationNode({
|
|
226
|
+
service: Service27,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node15, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
|