@opencode/core 0.0.0-dev-20377 → 0.0.0-dev-20381
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{repository-f3fd7e69.js → rpc-02jj188d.js} +4 -4
- package/dist/chunks/{repository-w6zk8pbt.js → rpc-0ejd5hp1.js} +8 -8
- package/dist/chunks/{repository-2k8khapm.js → rpc-0jwsre1p.js} +5 -5
- package/dist/chunks/{repository-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-y9zw62b3.js → rpc-0qnwgxcx.js} +12 -12
- package/dist/chunks/{repository-fbfxcass.js → rpc-0veeyvfm.js} +17 -17
- package/dist/chunks/{repository-g1sxm558.js → rpc-166kng33.js} +8 -8
- package/dist/chunks/{repository-ftnrf378.js → rpc-1cpck8gv.js} +15 -15
- package/dist/chunks/{repository-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-bt3gm041.js → rpc-1g5vmb1j.js} +21 -21
- package/dist/chunks/{repository-0jnnt1bs.js → rpc-1pk1jfmd.js} +17 -17
- package/dist/chunks/{repository-h0j67pyz.js → rpc-1vxd76q3.js} +10 -10
- package/dist/chunks/{repository-vspmykee.js → rpc-1wzyakj1.js} +14 -14
- package/dist/chunks/{repository-vzvmbq7x.js → rpc-1xhj1txz.js} +46 -46
- package/dist/chunks/{repository-wz5tj16h.js → rpc-207ajt2h.js} +5 -5
- package/dist/chunks/{repository-21r38tys.js → rpc-21r38tys.js} +1 -1
- package/dist/chunks/{repository-csr47hpp.js → rpc-240vvp2b.js} +7 -7
- package/dist/chunks/{repository-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-5nm3sjh9.js → rpc-2kfagwra.js} +9 -9
- package/dist/chunks/rpc-2q4d7yj3.js +252 -0
- package/dist/chunks/{repository-qhj864bm.js → rpc-2rbsv4j1.js} +22 -22
- package/dist/chunks/{repository-awaee7qt.js → rpc-2y34zzjz.js} +6 -6
- package/dist/chunks/{repository-y5kv6yf7.js → rpc-37gzdae6.js} +25 -25
- package/dist/chunks/{repository-dj9sq318.js → rpc-3cfzdc8e.js} +5 -5
- package/dist/chunks/{repository-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-45g6rp4p.js → rpc-3ky9a5f7.js} +8 -8
- package/dist/chunks/{repository-bxcevcrv.js → rpc-3sj2hmhn.js} +15 -15
- package/dist/chunks/{repository-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-p9qne3wm.js → rpc-3zn4sg2c.js} +54 -54
- package/dist/chunks/{repository-3zsf4n22.js → rpc-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-b9ek0cs0.js → rpc-411radew.js} +9 -9
- package/dist/chunks/{repository-3ewed21c.js → rpc-4bm5ja14.js} +4 -4
- package/dist/chunks/{repository-92k45pvj.js → rpc-4pwxaf10.js} +6 -6
- package/dist/chunks/{repository-7ys5ezf5.js → rpc-4qr0emt2.js} +17 -17
- package/dist/chunks/{repository-3kjwbdcf.js → rpc-4rh22bex.js} +8 -8
- package/dist/chunks/{repository-tea56sn9.js → rpc-5146pxbw.js} +30 -30
- package/dist/chunks/{repository-qm7jrdpz.js → rpc-533t3k18.js} +5 -5
- package/dist/chunks/{repository-54ma36ye.js → rpc-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-bk4cztra.js → rpc-54sgfqm0.js} +6 -6
- package/dist/chunks/{repository-56gdpj1q.js → rpc-56gdpj1q.js} +2 -2
- package/dist/chunks/{repository-6d58n71n.js → rpc-56sbpqpy.js} +18 -18
- package/dist/chunks/{repository-2fgn2we9.js → rpc-57ez7d0k.js} +9 -9
- package/dist/chunks/{repository-m85aqzgd.js → rpc-59sqkgcz.js} +41 -41
- package/dist/chunks/{repository-5daktx2q.js → rpc-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-x23wrtd4.js → rpc-5dht68aa.js} +16 -16
- package/dist/chunks/{repository-db2txphp.js → rpc-5fn1j13d.js} +17 -17
- package/dist/chunks/{repository-kxzsw107.js → rpc-5qz9vfqb.js} +23 -23
- package/dist/chunks/{repository-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-rjkc8qw5.js → rpc-5tb8a3cn.js} +5 -5
- package/dist/chunks/{repository-zss2mcem.js → rpc-5w0ma60y.js} +8 -8
- package/dist/chunks/{repository-pj8e2ttv.js → rpc-61p2gn3c.js} +48 -48
- package/dist/chunks/{repository-fbjrfmj9.js → rpc-658hk3ar.js} +20 -20
- package/dist/chunks/{repository-669tq793.js → rpc-669tq793.js} +1 -1
- package/dist/chunks/{repository-4xvg8qhq.js → rpc-682rjw8a.js} +87 -87
- package/dist/chunks/{repository-q82chg0w.js → rpc-692kj7w3.js} +37 -37
- package/dist/chunks/{repository-f75xppwz.js → rpc-6d2xvp2z.js} +58 -58
- package/dist/chunks/{repository-xr3n93y1.js → rpc-6g45nwks.js} +9 -9
- package/dist/chunks/{repository-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-v8v68fnp.js → rpc-6p67gzpn.js} +13 -13
- package/dist/chunks/{repository-6pc27hjz.js → rpc-6pc27hjz.js} +2 -2
- package/dist/chunks/{repository-0bmz8k31.js → rpc-6q90rzng.js} +30 -30
- package/dist/chunks/{repository-bhq0jy72.js → rpc-6t37hax9.js} +3 -3
- package/dist/chunks/{repository-yn23vpp6.js → rpc-7537esrs.js} +17 -17
- package/dist/chunks/{repository-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-8h613fcm.js → rpc-7e96yn50.js} +22 -22
- package/dist/chunks/{repository-10w0r48r.js → rpc-7kkv30ab.js} +3 -3
- package/dist/chunks/{repository-g5zdntwf.js → rpc-7yhnk20z.js} +9 -9
- package/dist/chunks/{repository-84txncab.js → rpc-84txncab.js} +1 -1
- package/dist/chunks/{repository-tcezcvh9.js → rpc-89znhe33.js} +4 -4
- package/dist/chunks/{repository-js2zbbsy.js → rpc-8d5kb0gn.js} +10 -10
- package/dist/chunks/{repository-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-ef9qytv4.js → rpc-8d8c4s3b.js} +15 -15
- package/dist/chunks/{repository-cfkxc3zx.js → rpc-8fn17prt.js} +14 -14
- package/dist/chunks/{repository-61d2erc5.js → rpc-8smk45yf.js} +23 -23
- package/dist/chunks/{repository-b7n1errk.js → rpc-8ytx492z.js} +310 -310
- package/dist/chunks/{repository-36mnffrz.js → rpc-8zn2na59.js} +4 -4
- package/dist/chunks/{repository-4pq2ykhk.js → rpc-91a17qdz.js} +9 -9
- package/dist/chunks/{repository-4hzcvfa9.js → rpc-946svjry.js} +19 -19
- package/dist/chunks/{repository-94ek1h2f.js → rpc-94ek1h2f.js} +2 -2
- package/dist/chunks/{repository-hnr8f6ws.js → rpc-96ctqc5x.js} +4 -4
- package/dist/chunks/{repository-pptf5a6z.js → rpc-9cememrc.js} +11 -11
- package/dist/chunks/{repository-t5fcdsyj.js → rpc-9fwpadhv.js} +5 -5
- package/dist/chunks/{repository-2j74qy9w.js → rpc-9gc7vjkx.js} +4 -4
- package/dist/chunks/{repository-s9jd6y68.js → rpc-9gwfnzdc.js} +11 -11
- package/dist/chunks/{repository-ah4v29zr.js → rpc-9vgxsr0f.js} +23 -23
- package/dist/chunks/{repository-y5rf7nzv.js → rpc-a2rpfkac.js} +4 -4
- package/dist/chunks/{repository-wgs8hk86.js → rpc-a3e33rv8.js} +8 -8
- package/dist/chunks/{repository-aaet6srn.js → rpc-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-gp17yma0.js → rpc-aafym81k.js} +26 -26
- package/dist/chunks/{repository-kjnxwy2q.js → rpc-aaz57tz5.js} +9 -9
- package/dist/chunks/{repository-rskbfe93.js → rpc-ahtncqw7.js} +3 -3
- package/dist/chunks/{repository-fad6j005.js → rpc-akrnn5pm.js} +8 -8
- package/dist/chunks/{repository-pnpn4wz1.js → rpc-amzhydp5.js} +17 -17
- package/dist/chunks/{repository-k6a913mc.js → rpc-antesb8a.js} +3 -3
- package/dist/chunks/{repository-81ye6pg3.js → rpc-b18k1zs2.js} +23 -23
- package/dist/chunks/{repository-667yebj2.js → rpc-b38j3whv.js} +47 -47
- package/dist/chunks/{repository-7pr2hkwv.js → rpc-b4p19tx4.js} +5 -5
- package/dist/chunks/{repository-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-74m68t1r.js → rpc-bg7q500h.js} +17 -17
- package/dist/chunks/{repository-ez9bk2es.js → rpc-bgepzekk.js} +10 -10
- package/dist/chunks/{repository-0xgfsmsc.js → rpc-bh4mgjf3.js} +4 -4
- package/dist/chunks/{repository-t8c99pq6.js → rpc-bnae1mpp.js} +187 -187
- package/dist/chunks/{repository-zdqwn290.js → rpc-by4ebpdc.js} +19 -19
- package/dist/chunks/{repository-51f5btjf.js → rpc-c8bydgjz.js} +6 -6
- package/dist/chunks/{repository-8nbxw31j.js → rpc-cezp6vxa.js} +9 -9
- package/dist/chunks/{repository-ckecvw8r.js → rpc-ckecvw8r.js} +2 -2
- package/dist/chunks/{repository-pf2hb43r.js → rpc-cqg8v4c7.js} +5 -5
- package/dist/chunks/{repository-wpzgjbhj.js → rpc-cryfzwrd.js} +33 -33
- package/dist/chunks/{repository-j0dca7h1.js → rpc-ctvmbjvv.js} +36 -36
- package/dist/chunks/{repository-ddg1taeb.js → rpc-czpmk66h.js} +6 -6
- package/dist/chunks/{repository-rwa9kg8s.js → rpc-d0vm0wq8.js} +16 -16
- package/dist/chunks/{repository-ak8wweg5.js → rpc-d2anxpr8.js} +2 -2
- package/dist/chunks/{repository-1n9hcfy3.js → rpc-d3zp2qn8.js} +15 -15
- package/dist/chunks/{repository-vjx0011y.js → rpc-d4w79z61.js} +17 -17
- package/dist/chunks/{repository-j290mkxf.js → rpc-dhqze9vc.js} +24 -24
- package/dist/chunks/{repository-djszqvmq.js → rpc-djszqvmq.js} +2 -2
- package/dist/chunks/{repository-xkntkrq7.js → rpc-dmqcgk4z.js} +5 -5
- package/dist/chunks/{repository-drwq78ky.js → rpc-drwq78ky.js} +1 -1
- package/dist/chunks/{repository-x8e3c47v.js → rpc-dwevmsma.js} +30 -30
- package/dist/chunks/{repository-7545v071.js → rpc-dytv88em.js} +5 -5
- package/dist/chunks/{repository-t550f9t1.js → rpc-eaj1djv9.js} +8 -8
- package/dist/chunks/{repository-6mksg9xh.js → rpc-eb4na3fv.js} +27 -27
- package/dist/chunks/{repository-ecfe7b91.js → rpc-ecfe7b91.js} +2 -2
- package/dist/chunks/{repository-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-g5b01x5v.js → rpc-ekyy2mhv.js} +36 -36
- package/dist/chunks/{repository-zcrspsvn.js → rpc-embw8kgh.js} +4 -4
- package/dist/chunks/{repository-14v0t5se.js → rpc-en2dwfny.js} +90 -90
- package/dist/chunks/{repository-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-t8cezs0c.js → rpc-f66bccwn.js} +5 -5
- package/dist/chunks/{repository-mdenj6n2.js → rpc-fb7qthtr.js} +22 -22
- package/dist/chunks/{repository-ys0z6e7b.js → rpc-fcvmnj0r.js} +26 -26
- package/dist/chunks/{repository-ex6sdzkj.js → rpc-fd0e9ebd.js} +13 -13
- package/dist/chunks/{repository-qevyghr7.js → rpc-fdv9msya.js} +5 -5
- package/dist/chunks/{repository-b27vhd2z.js → rpc-fm2qvscf.js} +4 -4
- package/dist/chunks/{repository-fqka1xvk.js → rpc-fvxg17y2.js} +3 -3
- package/dist/chunks/{repository-k91vaj61.js → rpc-fwgga033.js} +4 -4
- package/dist/chunks/{repository-ws0hhf19.js → rpc-fxtmaxyj.js} +12 -12
- package/dist/chunks/{repository-kc72bagp.js → rpc-fzk8ehhv.js} +5 -5
- package/dist/chunks/{repository-cxnbdzcm.js → rpc-g3ntd4xd.js} +50 -50
- package/dist/chunks/{repository-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-rfstt2b7.js → rpc-gmjnk6ep.js} +7 -7
- package/dist/chunks/{repository-gv6a8nnw.js → rpc-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-0zh0x4h1.js → rpc-h2jp4waz.js} +24 -24
- package/dist/chunks/{repository-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-7zrv9dtw.js → rpc-hcqe9dg4.js} +23 -23
- package/dist/chunks/{repository-a4ae1mqs.js → rpc-hekxc47r.js} +1 -1
- package/dist/chunks/{repository-04atd798.js → rpc-hj4aaq0x.js} +4 -4
- package/dist/chunks/{repository-hx5mqagm.js → rpc-hk4xp7sk.js} +54 -54
- package/dist/chunks/{repository-jj3kxevf.js → rpc-hp8gp39b.js} +6 -6
- package/dist/chunks/{repository-mn05vpar.js → rpc-hvajpj5a.js} +17 -17
- package/dist/chunks/{repository-y5df08dr.js → rpc-hx5ww8wt.js} +12 -12
- package/dist/chunks/{repository-9qrdrmps.js → rpc-j2hgmjn3.js} +15 -15
- package/dist/chunks/{repository-j56e64zr.js → rpc-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-0a237mzv.js → rpc-jbega7th.js} +12 -12
- package/dist/chunks/{repository-yqgpt25r.js → rpc-jbkjygfb.js} +32 -32
- package/dist/chunks/{repository-0magjvjs.js → rpc-jc9759m4.js} +17 -17
- package/dist/chunks/{repository-ts1yq6xm.js → rpc-jmttzreg.js} +30 -30
- package/dist/chunks/{repository-23tvs9mh.js → rpc-jrv9zaag.js} +25 -25
- package/dist/chunks/{repository-tt62nkee.js → rpc-k14mz5r3.js} +34 -34
- package/dist/chunks/{repository-k3c624dm.js → rpc-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-5txyz6kk.js → rpc-k8m084bz.js} +9 -9
- package/dist/chunks/{repository-nz569jqt.js → rpc-kbqjp078.js} +5 -5
- package/dist/chunks/{repository-m3fdjcah.js → rpc-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-3xcbwh8b.js → rpc-maff49ax.js} +3 -3
- package/dist/chunks/{repository-z0vv805r.js → rpc-mcbtmp24.js} +34 -34
- package/dist/chunks/{repository-xts7ca3t.js → rpc-mdpssxg0.js} +11 -11
- package/dist/chunks/rpc-mhrcjgnb.js +26 -0
- package/dist/chunks/{repository-dx8av2x7.js → rpc-mjrfwaps.js} +20 -20
- package/dist/chunks/{repository-ee7enzjx.js → rpc-mkeasgba.js} +3 -3
- package/dist/chunks/{repository-apg4ryxk.js → rpc-mkya1vkq.js} +7 -7
- package/dist/chunks/{repository-e0dagena.js → rpc-n1bpmmce.js} +20 -20
- package/dist/chunks/{repository-h57x98jw.js → rpc-n2pdwfck.js} +8 -8
- package/dist/chunks/{repository-436fakxd.js → rpc-n3s1wep9.js} +44 -44
- package/dist/chunks/{repository-0k9hz50x.js → rpc-ndd4s1hb.js} +19 -19
- package/dist/chunks/{repository-qf2587vm.js → rpc-njhxfh55.js} +31 -31
- package/dist/chunks/{repository-pnv527nz.js → rpc-nq7qbqzc.js} +9 -9
- package/dist/chunks/{repository-p1pf9hx4.js → rpc-nxpjk0n4.js} +18 -18
- package/dist/chunks/{repository-bxg2qx57.js → rpc-p1p7yams.js} +4 -4
- package/dist/chunks/{repository-d2czbp48.js → rpc-p6wxjpka.js} +4 -4
- package/dist/chunks/{repository-tj650tt1.js → rpc-p9sy75vy.js} +20 -20
- package/dist/chunks/rpc-pf31ssb9.js +18 -0
- package/dist/chunks/{repository-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{repository-fkdqjgjc.js → rpc-px383m71.js} +23 -23
- package/dist/chunks/{repository-3sfbkq17.js → rpc-q6zw89mm.js} +9 -9
- package/dist/chunks/{repository-c87t5eya.js → rpc-q7dmtnxx.js} +32 -32
- package/dist/chunks/{repository-jw7mqvhb.js → rpc-q83t8ykt.js} +24 -24
- package/dist/chunks/{repository-21y796mf.js → rpc-q8nwh079.js} +15 -15
- package/dist/chunks/{repository-d68cj2ze.js → rpc-q95fwmf1.js} +26 -26
- package/dist/chunks/{repository-tgthxese.js → rpc-qbmejtr1.js} +5 -5
- package/dist/chunks/{repository-bay05q8f.js → rpc-qdwhejxn.js} +16 -16
- package/dist/chunks/{repository-b0v5ywzm.js → rpc-qf2h8j7x.js} +11 -11
- package/dist/chunks/{repository-knxfq3yn.js → rpc-qhhddrhx.js} +13 -13
- package/dist/chunks/{repository-9cr16z8x.js → rpc-qhke4dz0.js} +8 -8
- package/dist/chunks/{repository-cavr175a.js → rpc-qj8eh1ht.js} +4 -4
- package/dist/chunks/{repository-86m00gc1.js → rpc-qmx1h8v8.js} +8 -8
- package/dist/chunks/{repository-a6azfam0.js → rpc-qpbm3ztw.js} +2 -2
- package/dist/chunks/{repository-qsdy395h.js → rpc-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-f6ky630e.js → rpc-qtsqcjpr.js} +38 -38
- package/dist/chunks/{repository-25cs5cen.js → rpc-qvb3nf84.js} +8 -8
- package/dist/chunks/{repository-wqbbhmw9.js → rpc-r11hkjk4.js} +18 -18
- package/dist/chunks/{repository-tqs9jcf6.js → rpc-r3pyn2sd.js} +22 -22
- package/dist/chunks/{repository-73tb2d7t.js → rpc-r5x6zcsm.js} +3 -3
- package/dist/chunks/{repository-z2018skw.js → rpc-rdg24yab.js} +12 -12
- package/dist/chunks/{repository-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-mmsj8dfy.js → rpc-rm7hx2h9.js} +21 -21
- package/dist/chunks/{repository-dpja8khg.js → rpc-rsp3dmjs.js} +43 -43
- package/dist/chunks/{repository-f1gpw9yy.js → rpc-rtzzq57v.js} +8 -8
- package/dist/chunks/{repository-0ztvbm79.js → rpc-rz9de3a5.js} +29 -29
- package/dist/chunks/{repository-fmqp2bpe.js → rpc-s02jbxs5.js} +27 -27
- package/dist/chunks/{repository-4f06rze2.js → rpc-s2csw21s.js} +10 -10
- package/dist/chunks/{repository-yt0fqk68.js → rpc-s8zy8myc.js} +5 -5
- package/dist/chunks/{repository-f346y1sz.js → rpc-sn70db0p.js} +10 -10
- package/dist/chunks/{repository-6t45mx4g.js → rpc-snf13aa5.js} +24 -24
- package/dist/chunks/{repository-40v6kns3.js → rpc-syaeh5dc.js} +9 -9
- package/dist/chunks/{repository-s6sgn3gb.js → rpc-sz63pebb.js} +26 -26
- package/dist/chunks/{repository-6b8mt4qe.js → rpc-t1jms00y.js} +18 -18
- package/dist/chunks/{repository-rzecepek.js → rpc-t43fmngk.js} +10 -10
- package/dist/chunks/{repository-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-84npfg6g.js → rpc-tbdvezg6.js} +22 -22
- package/dist/chunks/{repository-rpt1dgh1.js → rpc-tbwm0nt3.js} +11 -11
- package/dist/chunks/{repository-tdstcens.js → rpc-tdstcens.js} +1 -1
- package/dist/chunks/{repository-pa8pe2x7.js → rpc-tpw6cwsb.js} +8 -8
- package/dist/chunks/{repository-tvtrv512.js → rpc-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-cegyq325.js → rpc-tw7s424j.js} +5 -5
- package/dist/chunks/{repository-smzj8rfw.js → rpc-tznb5qaq.js} +25 -25
- package/dist/chunks/{repository-hr7n7dfk.js → rpc-v2b68ckw.js} +39 -39
- package/dist/chunks/{repository-ve0yqpdc.js → rpc-v9achbqy.js} +18 -18
- package/dist/chunks/{repository-5rf1rhax.js → rpc-va7p1h3t.js} +24 -24
- package/dist/chunks/{repository-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-0v53mg2y.js → rpc-vncycja5.js} +4 -4
- package/dist/chunks/{repository-kg3dqxfj.js → rpc-vnx05bne.js} +3 -3
- package/dist/chunks/{repository-krswtk6s.js → rpc-vrffbp44.js} +6 -6
- package/dist/chunks/{repository-b7sdn3j2.js → rpc-vvdghh7g.js} +11 -11
- package/dist/chunks/{repository-kxgkk26h.js → rpc-vw19fjw8.js} +15 -15
- package/dist/chunks/{repository-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-vzs5sf6e.js → rpc-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-ttqxpwhe.js → rpc-w1xvrbj5.js} +20 -20
- package/dist/chunks/{repository-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-pdbx26ag.js → rpc-w547y7sk.js} +7 -7
- package/dist/chunks/{repository-f58hpvk1.js → rpc-w6gfe054.js} +10 -10
- package/dist/chunks/{repository-2hkadfk1.js → rpc-w7w2jjhx.js} +20 -20
- package/dist/chunks/{repository-fsbk27r1.js → rpc-w9vf9qqj.js} +9 -9
- package/dist/chunks/{repository-qjnxxf51.js → rpc-wbkyxrgf.js} +5 -5
- package/dist/chunks/{repository-wd3x2cqz.js → rpc-wd3x2cqz.js} +2 -2
- package/dist/chunks/{repository-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{repository-2rahks1y.js → rpc-wdr62gh7.js} +32 -32
- package/dist/chunks/{repository-82gfdtdv.js → rpc-wee23531.js} +11 -11
- package/dist/chunks/{repository-6gb6ah6k.js → rpc-wg9j838r.js} +1 -1
- package/dist/chunks/{repository-fdw6x2n6.js → rpc-wgq3tw2n.js} +32 -32
- package/dist/chunks/{repository-82rhge12.js → rpc-wk5z6jzv.js} +9 -9
- package/dist/chunks/{repository-ahjyxdwj.js → rpc-wnzb6xvf.js} +15 -15
- package/dist/chunks/{repository-pccq72bz.js → rpc-wq4mmp7m.js} +4 -4
- package/dist/chunks/{repository-1dak9s0j.js → rpc-wtcb6vs4.js} +24 -24
- package/dist/chunks/{repository-60ycj86c.js → rpc-wxfc6s8g.js} +21 -21
- package/dist/chunks/{repository-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-wzvzbcsg.js → rpc-x6p7tmnf.js} +12 -12
- package/dist/chunks/{repository-8e7h0d3g.js → rpc-xe1rq30m.js} +1 -1
- package/dist/chunks/{repository-zg91g03d.js → rpc-xef3vhss.js} +33 -33
- package/dist/chunks/{repository-xbnvh8b8.js → rpc-xmhzgq26.js} +17 -17
- package/dist/chunks/{repository-3373zw91.js → rpc-xvwyzs5x.js} +11 -11
- package/dist/chunks/{repository-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-dnxkq42g.js → rpc-y6bex35g.js} +4 -4
- package/dist/chunks/{repository-y71avatq.js → rpc-y71avatq.js} +1 -1
- package/dist/chunks/{repository-mm244bga.js → rpc-y82bc83e.js} +30 -30
- package/dist/chunks/{repository-x1fz7ram.js → rpc-y9x49r01.js} +15 -15
- package/dist/chunks/{repository-5jr1zcyz.js → rpc-yc3z08e9.js} +43 -43
- package/dist/chunks/{repository-xkyyaqys.js → rpc-ydkeg25k.js} +13 -13
- package/dist/chunks/{repository-d7fh38br.js → rpc-ygpp3mx7.js} +11 -11
- package/dist/chunks/{repository-ckb64qrr.js → rpc-ynpc68wq.js} +19 -19
- package/dist/chunks/{repository-f2n192rq.js → rpc-yp2x3t23.js} +4 -4
- package/dist/chunks/{repository-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-yrznvahk.js → rpc-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-7wv6t35z.js → rpc-yv1rk2qz.js} +11 -11
- package/dist/chunks/{repository-z07pqspn.js → rpc-z07pqspn.js} +3 -3
- package/dist/chunks/{repository-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-bkgg21ch.js → rpc-z1q79rtb.js} +8 -8
- package/dist/chunks/{repository-z63w68vq.js → rpc-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-zeh9ct20.js → rpc-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-5qedxm44.js → rpc-zyyvvwzg.js} +11 -11
- package/dist/chunks/{repository-sqdvw4xb.js → rpc-zzrx66n5.js} +6 -6
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +123 -123
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- 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 +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +126 -126
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/repository-3snht0cr.js +0 -252
- package/dist/chunks/repository-6evwh1wj.js +0 -26
- package/dist/chunks/repository-by5v678g.js +0 -18
- /package/dist/chunks/{repository-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-34c7v6d4.js → rpc-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-5qd3pb7m.js → rpc-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → rpc-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-hj4aaq0x.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-y6bex35g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event17
|
|
9
|
+
} from "./rpc-jmttzreg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID9
|
|
12
|
+
} from "./rpc-y82bc83e.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID8,
|
|
15
|
+
Service65
|
|
16
|
+
} from "./rpc-q7dmtnxx.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./rpc-9vgxsr0f.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID8.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service65;
|
|
30
30
|
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./rpc-5dht68aa.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service14
|
|
9
|
+
} from "./rpc-v9achbqy.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service8
|
|
12
|
+
} from "./rpc-ynpc68wq.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service9
|
|
27
|
+
} from "./rpc-y9x49r01.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input10,
|
|
36
|
+
Plugin: () => Plugin13,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
38
|
+
name: () => name10,
|
|
39
39
|
toModelContent: () => toModelContent4
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name10 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input10 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin13 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service9;
|
|
62
|
+
const access = yield* Service14;
|
|
63
|
+
const sessionInstructions = yield* Service8;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service78;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name10,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input10,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -181,4 +181,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name10, Input10, Plugin13, toModelContent4, exports_read };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update3
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update3(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -402,4 +402,4 @@ function update2(adapter, event) {
|
|
|
402
402
|
return project(event);
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
-
export {
|
|
405
|
+
export { update3, exports_message_updater };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-7kkv30ab.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-hj4aaq0x.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service49
|
|
9
|
+
} from "./rpc-c8bydgjz.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError8,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-hp8gp39b.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service72
|
|
29
|
+
} from "./rpc-8fn17prt.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service48
|
|
34
|
+
} from "./rpc-mjrfwaps.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service46
|
|
37
|
+
} from "./rpc-ekyy2mhv.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./rpc-d0vm0wq8.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./rpc-n1bpmmce.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./rpc-k8m084bz.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./rpc-7yhnk20z.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./rpc-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -65,16 +65,16 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
65
65
|
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service83;
|
|
67
67
|
const database = yield* Service84;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service72;
|
|
69
|
+
const instances = yield* Service49;
|
|
70
|
+
const execution = yield* Service46;
|
|
71
|
+
const admission = yield* Service48;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError8({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service49, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service49, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service49, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./rpc-q7dmtnxx.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key4,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make21,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key4 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key4
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make21(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-hj4aaq0x.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-amzhydp5.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError11,
|
|
20
|
+
Options: () => Options9,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service81,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
configured: () => configured10,
|
|
25
|
+
layer: () => layer25,
|
|
26
|
+
node: () => node85
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options9 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError11 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service81 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service81, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError11({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service81.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer25 = makeLayer();
|
|
259
|
+
var configured10 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service81,
|
|
261
|
+
layer: options === undefined ? layer25 : makeLayer(options),
|
|
262
262
|
deps: [node87, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node85 = configured10();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options9, UnavailableError3, NotFoundError11, Service81, layer25, configured10, node85, exports_persistent_pty, Handoff2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|