@opencode/core 0.0.0-dev-20402 → 0.0.0-dev-20409
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 +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{file-retention-na8089pj.js → shell-09vtkvs2.js} +8 -8
- package/dist/chunks/{file-retention-26wtd377.js → shell-0h1hke09.js} +19 -19
- package/dist/chunks/{file-retention-0ydfd3tt.js → shell-0mfvdt8p.js} +11 -11
- package/dist/chunks/{file-retention-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-ae141jqd.js → shell-0w0ygeyh.js} +15 -15
- package/dist/chunks/{file-retention-hphkqdz5.js → shell-11040j7v.js} +20 -20
- package/dist/chunks/{file-retention-ztwp6n71.js → shell-1310s4tm.js} +5 -5
- package/dist/chunks/{file-retention-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-tnnwyf4v.js → shell-1w0b4a26.js} +13 -13
- package/dist/chunks/{file-retention-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-kbq17jxs.js → shell-242bp3ky.js} +14 -14
- package/dist/chunks/{file-retention-x2gkbbe6.js → shell-296c8m1w.js} +5 -5
- package/dist/chunks/{file-retention-z63w68vq.js → shell-29x78va6.js} +6 -6
- package/dist/chunks/shell-29yjt9fr.js +507 -0
- package/dist/chunks/{file-retention-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-w3bcvcpc.js → shell-2ccbzhav.js} +10 -10
- package/dist/chunks/{file-retention-s16mhmbj.js → shell-2cfbypp4.js} +4 -4
- package/dist/chunks/{file-retention-p0b4ytnr.js → shell-2d57kztd.js} +6 -6
- package/dist/chunks/{file-retention-x2t18wqz.js → shell-2etfsxvf.js} +8 -8
- package/dist/chunks/{file-retention-57ez7d0k.js → shell-2fgn2we9.js} +9 -9
- package/dist/chunks/{file-retention-en6tpsg7.js → shell-2j558fvx.js} +7 -7
- package/dist/chunks/{file-retention-7dqw4kz8.js → shell-2k8khapm.js} +5 -5
- package/dist/chunks/{file-retention-pgk2xcsw.js → shell-2ypncbw6.js} +55 -55
- package/dist/chunks/{file-retention-5ar0959a.js → shell-2zbxyrg1.js} +11 -11
- package/dist/chunks/{file-retention-a7bcxdzj.js → shell-3b9qt4hj.js} +9 -9
- package/dist/chunks/{file-retention-f36tabf2.js → shell-3czaqwkp.js} +6 -6
- package/dist/chunks/{file-retention-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-pb1eahw5.js → shell-3k0nn0ne.js} +11 -11
- package/dist/chunks/{file-retention-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-2f0bjgcj.js → shell-3w0fmcng.js} +5 -5
- package/dist/chunks/{file-retention-3zsf4n22.js → shell-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-retention-rd456c9t.js → shell-4238gvvk.js} +24 -24
- package/dist/chunks/{file-retention-hyd4csjw.js → shell-43y38rzh.js} +11 -11
- package/dist/chunks/{file-retention-p8g5gece.js → shell-461tr88a.js} +8 -8
- package/dist/chunks/{file-retention-gp2fw5da.js → shell-46w5102t.js} +10 -10
- package/dist/chunks/{file-retention-6r9q50nc.js → shell-48m56tyw.js} +13 -13
- package/dist/chunks/{file-retention-30846h32.js → shell-4e8vs6eh.js} +8 -8
- package/dist/chunks/{file-retention-gqbx8pvk.js → shell-4j10ng35.js} +11 -11
- package/dist/chunks/{file-retention-54ma36ye.js → shell-54ma36ye.js} +1 -1
- package/dist/chunks/{file-retention-4wct8n2q.js → shell-55pt171s.js} +7 -7
- package/dist/chunks/{file-retention-56gdpj1q.js → shell-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-retention-frt7t1he.js → shell-5785y2ep.js} +22 -22
- package/dist/chunks/{file-retention-23vhgpjn.js → shell-57spbz54.js} +46 -46
- package/dist/chunks/{file-retention-yebp4zhw.js → shell-59wg76sz.js} +3 -3
- package/dist/chunks/{file-retention-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-rjkh2wef.js → shell-5h3x3awa.js} +3 -3
- package/dist/chunks/{file-retention-b34228va.js → shell-5mfsnars.js} +21 -21
- package/dist/chunks/{file-retention-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-dhfqkfjw.js → shell-5w2qze6g.js} +25 -25
- package/dist/chunks/{file-retention-5xpznt2d.js → shell-5xpznt2d.js} +4 -4
- package/dist/chunks/shell-619r8v3y.js +18 -0
- package/dist/chunks/{file-retention-669tq793.js → shell-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-7w99qc9d.js → shell-6bsje7ws.js} +3 -3
- package/dist/chunks/{file-retention-n3sb98w8.js → shell-6hbwvpvg.js} +25 -25
- package/dist/chunks/{file-retention-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-retention-7qkbk131.js → shell-6pwzktg7.js} +11 -11
- package/dist/chunks/{file-retention-4ygabsyh.js → shell-6rpwy5mc.js} +33 -33
- package/dist/chunks/{file-retention-v1c9ckpm.js → shell-6wsfawph.js} +12 -12
- package/dist/chunks/{file-retention-rjreqr61.js → shell-6z7hmy4t.js} +19 -19
- package/dist/chunks/{file-retention-3aw7vgta.js → shell-6zck5j37.js} +19 -19
- package/dist/chunks/{file-retention-0mc7b5yt.js → shell-77bqxzzx.js} +32 -32
- package/dist/chunks/{file-retention-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-53ms7kcc.js → shell-7jq0yyyf.js} +25 -25
- package/dist/chunks/{file-retention-qvb3nf84.js → shell-7rwqf82v.js} +8 -8
- package/dist/chunks/{file-retention-9965yrjj.js → shell-7s9404gx.js} +26 -26
- package/dist/chunks/{file-retention-rfkk6xr1.js → shell-7v930722.js} +21 -21
- package/dist/chunks/{file-retention-xj3m6db3.js → shell-7vvv5wyx.js} +11 -11
- package/dist/chunks/{file-retention-exx9ekpx.js → shell-7wyjaxt5.js} +11 -11
- package/dist/chunks/{file-retention-8fm7fx0h.js → shell-80yzywcg.js} +1 -1
- package/dist/chunks/{file-retention-84txncab.js → shell-84txncab.js} +1 -1
- package/dist/chunks/{file-retention-0y9112s8.js → shell-8558arf1.js} +17 -17
- package/dist/chunks/{file-retention-w1ym612x.js → shell-8805xwn4.js} +1 -1
- package/dist/chunks/{file-retention-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-pvx6jnbt.js → shell-8dwbst7y.js} +13 -13
- package/dist/chunks/{file-retention-qj12mzv5.js → shell-90nab8ev.js} +12 -12
- package/dist/chunks/{file-retention-94ek1h2f.js → shell-94ek1h2f.js} +2 -2
- package/dist/chunks/{file-retention-6x3ncgzs.js → shell-9qeb1hh1.js} +48 -48
- package/dist/chunks/{file-retention-6hh8tjw2.js → shell-a46v4e4v.js} +4 -4
- package/dist/chunks/{file-retention-914z0d4t.js → shell-a68erk2e.js} +7 -7
- package/dist/chunks/{file-retention-0by5znvt.js → shell-a9fh1xd3.js} +3 -3
- package/dist/chunks/{file-retention-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-c651xxjb.js → shell-afjydgk3.js} +4 -4
- package/dist/chunks/{file-retention-08cyycf1.js → shell-ahg1zghw.js} +6 -6
- package/dist/chunks/{file-retention-z5s5xvpn.js → shell-ap9eas8m.js} +16 -16
- package/dist/chunks/{file-retention-tzhaj3et.js → shell-aqmh106j.js} +6 -6
- package/dist/chunks/{file-retention-af04s6ss.js → shell-avm8jn6n.js} +5 -5
- package/dist/chunks/{file-retention-h4z1mxff.js → shell-axs6pdy0.js} +5 -5
- package/dist/chunks/{file-retention-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-cgsggtpg.js → shell-b9x5zb31.js} +80 -80
- package/dist/chunks/{file-retention-rsper1ey.js → shell-bbg4461y.js} +37 -37
- package/dist/chunks/{file-retention-y042j87z.js → shell-bbt4s1em.js} +26 -26
- package/dist/chunks/{file-retention-dfe8djrf.js → shell-bct739vz.js} +4 -4
- package/dist/chunks/{file-retention-2q4jbtx6.js → shell-bcx2a56x.js} +18 -18
- package/dist/chunks/{file-retention-2qr48v8r.js → shell-bkwfsa8d.js} +6 -6
- package/dist/chunks/{file-retention-jqryekp8.js → shell-bms65qjn.js} +15 -15
- package/dist/chunks/{file-retention-hkw967g2.js → shell-bpnn7hyv.js} +11 -11
- package/dist/chunks/{file-retention-73880a7e.js → shell-br5b6q5k.js} +9 -9
- package/dist/chunks/{file-retention-h0ddtxn3.js → shell-bweaxm80.js} +67 -67
- package/dist/chunks/{file-retention-07ehc897.js → shell-bybgwcct.js} +23 -23
- package/dist/chunks/{file-retention-h67bwh8a.js → shell-c13z7sy5.js} +33 -33
- package/dist/chunks/{file-retention-ba15hegp.js → shell-chrxq3ex.js} +7 -7
- package/dist/chunks/{file-retention-ckecvw8r.js → shell-ckecvw8r.js} +2 -2
- package/dist/chunks/{file-retention-k9xjptez.js → shell-cpbwv1ps.js} +22 -22
- package/dist/chunks/{file-retention-5sm82are.js → shell-cr81t2vd.js} +6 -6
- package/dist/chunks/shell-d1z9x6fa.js +252 -0
- package/dist/chunks/{file-retention-bah76z4e.js → shell-dcfyjk12.js} +21 -21
- package/dist/chunks/{file-retention-hwhbafy2.js → shell-dezcy0y7.js} +15 -15
- package/dist/chunks/{file-retention-mt193r2g.js → shell-dgt8mkj3.js} +29 -29
- package/dist/chunks/{file-retention-gztggq6p.js → shell-dhdpfhyp.js} +8 -8
- package/dist/chunks/{file-retention-nxy4r4q2.js → shell-dm6v0cnj.js} +45 -45
- package/dist/chunks/{file-retention-dmqcgk4z.js → shell-dmqcgk4z.js} +2 -2
- package/dist/chunks/{file-retention-m2d0j7c0.js → shell-dnszgtsj.js} +9 -9
- package/dist/chunks/{file-retention-dnxkq42g.js → shell-dnxkq42g.js} +1 -1
- package/dist/chunks/{file-retention-5qd3pb7m.js → shell-e3qxr5gk.js} +2 -2
- package/dist/chunks/{file-retention-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-5178wfd8.js → shell-em9qgwr1.js} +31 -31
- package/dist/chunks/{file-retention-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-1h6fgt3y.js → shell-f6z1vvb1.js} +6 -6
- package/dist/chunks/{file-retention-tjhbrvq4.js → shell-f7jve23h.js} +13 -13
- package/dist/chunks/{file-retention-rsrs7t03.js → shell-faan1wk1.js} +4 -4
- package/dist/chunks/{file-retention-ftjf86m5.js → shell-fd636bra.js} +9 -9
- package/dist/chunks/{file-retention-9zmzhm3z.js → shell-fe5bw3z3.js} +5 -5
- package/dist/chunks/{file-retention-8ryk0bb9.js → shell-fepbnb8j.js} +5 -5
- package/dist/chunks/{file-retention-nng2ktcm.js → shell-ff0svapt.js} +2 -2
- package/dist/chunks/{file-retention-v2yybn63.js → shell-ffybh0wk.js} +3 -3
- package/dist/chunks/{file-retention-5xychhr1.js → shell-fh0zj1e1.js} +31 -31
- package/dist/chunks/{file-retention-jjctv81n.js → shell-fn2vqynn.js} +18 -18
- package/dist/chunks/{file-retention-3m0ax14b.js → shell-fpkrmtmw.js} +21 -21
- package/dist/chunks/{file-retention-d4he2qe1.js → shell-g6q9qykm.js} +9 -9
- package/dist/chunks/{file-retention-q4qpptcn.js → shell-gahyzsq3.js} +20 -20
- package/dist/chunks/{file-retention-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-y3yyngt1.js → shell-gna9hx4h.js} +15 -15
- package/dist/chunks/{file-retention-f5gy8qwh.js → shell-gs4tkc79.js} +8 -8
- package/dist/chunks/{file-retention-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-retention-8wshxwa8.js → shell-gyae47ky.js} +24 -24
- package/dist/chunks/{file-retention-kjwwdp92.js → shell-gyz7ndzc.js} +36 -36
- package/dist/chunks/{file-retention-b0a6mgz0.js → shell-h3j6n5en.js} +2 -2
- package/dist/chunks/{file-retention-70e78xk1.js → shell-h5r4kkc1.js} +2 -2
- package/dist/chunks/{file-retention-h6b02349.js → shell-h6b02349.js} +2 -2
- package/dist/chunks/{file-retention-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-1s8bbjk0.js → shell-h6wkafze.js} +21 -21
- package/dist/chunks/{file-retention-3a9d28fc.js → shell-h7k6fa17.js} +18 -18
- package/dist/chunks/{file-retention-4j4tgtq5.js → shell-h9wp8z5w.js} +4 -4
- package/dist/chunks/{file-retention-pyhnah5r.js → shell-hfkmhm74.js} +22 -22
- package/dist/chunks/{file-retention-t5nr2mq2.js → shell-hn5cnzw3.js} +11 -11
- package/dist/chunks/{file-retention-znjk7567.js → shell-hrxnr7fv.js} +13 -13
- package/dist/chunks/{file-retention-mm5kxf07.js → shell-hz84tk5e.js} +8 -8
- package/dist/chunks/{file-retention-1v17rnrm.js → shell-hztfeys8.js} +34 -34
- package/dist/chunks/{file-retention-j56e64zr.js → shell-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-car3yqh5.js → shell-j81vay8t.js} +4 -4
- package/dist/chunks/{file-retention-dk1ph2hs.js → shell-je2nd8qy.js} +9 -9
- package/dist/chunks/{file-retention-hyt73fgk.js → shell-jen49w49.js} +19 -19
- package/dist/chunks/{file-retention-0jy993ce.js → shell-jhtb5f97.js} +35 -35
- package/dist/chunks/{file-retention-azw3908z.js → shell-jqhg1hxk.js} +14 -14
- package/dist/chunks/{file-retention-tckasdr8.js → shell-jt8t0ecz.js} +22 -22
- package/dist/chunks/{file-retention-bjc78pkx.js → shell-k01n324r.js} +3 -3
- package/dist/chunks/{file-retention-5hd43tkx.js → shell-k0v2pnh2.js} +30 -30
- package/dist/chunks/{file-retention-k3c624dm.js → shell-k3c624dm.js} +3 -3
- package/dist/chunks/{file-retention-hznfsya8.js → shell-k8csyqq2.js} +18 -18
- package/dist/chunks/{file-retention-g9jwfn6x.js → shell-k93zhc7s.js} +11 -11
- package/dist/chunks/{file-retention-b6c8hgaq.js → shell-kbww7b3v.js} +7 -7
- package/dist/chunks/{file-retention-m12j2t06.js → shell-kc9hs6v2.js} +14 -14
- package/dist/chunks/{file-retention-g2jqna9d.js → shell-kkg080jf.js} +28 -28
- package/dist/chunks/{file-retention-er0xdfmw.js → shell-kmhtm0eh.js} +43 -43
- package/dist/chunks/{file-retention-y5rf7nzv.js → shell-knevfgda.js} +4 -4
- package/dist/chunks/{file-retention-m3fdjcah.js → shell-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-retention-m58kmhef.js → shell-m58kmhef.js} +2 -2
- package/dist/chunks/{file-retention-16b29q1p.js → shell-m90ew7f1.js} +6 -6
- package/dist/chunks/{file-retention-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-92nsqna1.js → shell-mej20m9j.js} +1 -1
- package/dist/chunks/{file-retention-382s30hz.js → shell-mgpyxjx6.js} +11 -11
- package/dist/chunks/{file-retention-ptg1zr2n.js → shell-mssx8eq3.js} +10 -10
- package/dist/chunks/{file-retention-r5x6zcsm.js → shell-mvfsc1pv.js} +3 -3
- package/dist/chunks/{file-retention-4pk7p1z9.js → shell-n3v0wvct.js} +17 -17
- package/dist/chunks/{file-retention-tc5he9wg.js → shell-n56h5hy7.js} +43 -43
- package/dist/chunks/{file-retention-32ymn5e1.js → shell-n9gk7fk1.js} +9 -9
- package/dist/chunks/{file-retention-a8ymkhm3.js → shell-nfmhh18x.js} +12 -12
- package/dist/chunks/{file-retention-ndc9tmhz.js → shell-nrscgsz0.js} +26 -26
- package/dist/chunks/{file-retention-a2w2trrv.js → shell-nxdbpavb.js} +29 -29
- package/dist/chunks/{file-retention-z8bdrrqs.js → shell-nxhmsv4t.js} +144 -144
- package/dist/chunks/{file-retention-nxm207yx.js → shell-nxm207yx.js} +1 -1
- package/dist/chunks/{file-retention-xf1sebn0.js → shell-p08d8mdw.js} +11 -11
- package/dist/chunks/{file-retention-vyr41dye.js → shell-p18fzj7h.js} +24 -24
- package/dist/chunks/{file-retention-qn4ba14w.js → shell-p1nm93x7.js} +5 -5
- package/dist/chunks/{file-retention-phstrbs2.js → shell-p42hj8p8.js} +8 -8
- package/dist/chunks/{file-retention-hv3sa1e0.js → shell-pcwxzhdm.js} +11 -11
- package/dist/chunks/{file-retention-epdvd4ev.js → shell-ph6a0m52.js} +2 -2
- package/dist/chunks/{file-retention-e75wa3q3.js → shell-pj97z4ma.js} +14 -14
- package/dist/chunks/{file-retention-76tq4jpv.js → shell-pjbr20qj.js} +47 -47
- package/dist/chunks/{file-retention-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-ycgx5mwh.js → shell-pk5ddt9p.js} +14 -14
- package/dist/chunks/{file-retention-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-wycphyd6.js → shell-ppkbx4yt.js} +27 -27
- package/dist/chunks/{file-retention-4q7jz6f3.js → shell-ppsqsh87.js} +41 -41
- package/dist/chunks/{file-retention-d0xdxexk.js → shell-pqyb1j4v.js} +32 -32
- package/dist/chunks/{file-retention-kp34pf0p.js → shell-psa9hm71.js} +9 -9
- package/dist/chunks/{file-retention-efkdte57.js → shell-pstb62p2.js} +14 -14
- package/dist/chunks/{file-retention-8sze2n9a.js → shell-py3kkmfq.js} +6 -6
- package/dist/chunks/{file-retention-68dcddmz.js → shell-q3ersh05.js} +4 -4
- package/dist/chunks/{file-retention-cw1stz9h.js → shell-q47e89a1.js} +17 -17
- package/dist/chunks/{file-retention-4xykdr3j.js → shell-q5z6qrs5.js} +8 -8
- package/dist/chunks/{file-retention-8g4srgx8.js → shell-qfkr4h51.js} +32 -32
- package/dist/chunks/{file-retention-9cvt8pvp.js → shell-qpe8tk8s.js} +21 -21
- package/dist/chunks/{file-retention-bscb95cy.js → shell-qq8x5mwt.js} +6 -6
- package/dist/chunks/{file-retention-7q81yew2.js → shell-qrtps7c6.js} +12 -12
- package/dist/chunks/{file-retention-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-jdcs44sz.js → shell-qstbhtjy.js} +15 -15
- package/dist/chunks/{file-retention-f1mm0mp4.js → shell-qwe53qqr.js} +16 -16
- package/dist/chunks/{file-retention-pfvbrrxt.js → shell-qzwd4pkf.js} +13 -13
- package/dist/chunks/{file-retention-96kfm23h.js → shell-r19vg6ms.js} +11 -11
- package/dist/chunks/{file-retention-cx4jqw99.js → shell-r6127srf.js} +3 -3
- package/dist/chunks/{file-retention-1acjjqhc.js → shell-r8xr0va3.js} +4 -4
- package/dist/chunks/{file-retention-fpn03fpt.js → shell-rb29dj05.js} +15 -15
- package/dist/chunks/{file-retention-0kt9y2yg.js → shell-rba86r9a.js} +3 -3
- package/dist/chunks/{file-retention-901fz9t0.js → shell-rd8v1r6j.js} +21 -21
- package/dist/chunks/{file-retention-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-zav06jzw.js → shell-rpg9c19m.js} +4 -4
- package/dist/chunks/{file-retention-fnge4047.js → shell-rs8qp985.js} +4 -4
- package/dist/chunks/{file-retention-ccy2pgf3.js → shell-s24brvt1.js} +11 -11
- package/dist/chunks/{file-retention-yrznvahk.js → shell-s4enseaf.js} +2 -2
- package/dist/chunks/{file-retention-1tnfewyb.js → shell-s532705d.js} +11 -11
- package/dist/chunks/{file-retention-s8d7rejh.js → shell-s8d7rejh.js} +1 -1
- package/dist/chunks/{file-retention-1tp0pegs.js → shell-sbm56x9k.js} +9 -9
- package/dist/chunks/{file-retention-h896pcm5.js → shell-sd5f6jdk.js} +6 -6
- package/dist/chunks/{file-retention-gxjs0nkc.js → shell-smcy5e0a.js} +28 -28
- package/dist/chunks/{file-retention-phjaars8.js → shell-sz0fczdy.js} +6 -6
- package/dist/chunks/{file-retention-4agzmtjj.js → shell-t58mb03q.js} +24 -24
- package/dist/chunks/{file-retention-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-kkp8zx71.js → shell-tbmac1c7.js} +4 -4
- package/dist/chunks/{file-retention-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-07v38qck.js → shell-tec192gq.js} +16 -16
- package/dist/chunks/{file-retention-555wn5z1.js → shell-thev1fqr.js} +16 -16
- package/dist/chunks/{file-retention-8csa8wgg.js → shell-tmcd77ag.js} +35 -35
- package/dist/chunks/{file-retention-8142ayq4.js → shell-tmk4yz8x.js} +25 -25
- package/dist/chunks/{file-retention-wgm89zzg.js → shell-tpxv5eqt.js} +3 -3
- package/dist/chunks/{file-retention-nvymb3gw.js → shell-tsadq9bd.js} +17 -17
- package/dist/chunks/{file-retention-kkcecp2w.js → shell-ttwj0m8z.js} +30 -30
- package/dist/chunks/{file-retention-tvtrv512.js → shell-tvtrv512.js} +1 -1
- package/dist/chunks/{file-retention-psm6mvq2.js → shell-tw3zdh9f.js} +21 -21
- package/dist/chunks/{file-retention-j6c2djjz.js → shell-tyhjxzyj.js} +3 -3
- package/dist/chunks/{file-retention-x757zt7n.js → shell-v12jv0w3.js} +21 -21
- package/dist/chunks/{file-retention-t3kdfj5b.js → shell-v5vpra1m.js} +9 -9
- package/dist/chunks/{file-retention-d5grx31m.js → shell-vaeza82m.js} +12 -12
- package/dist/chunks/{file-retention-enghkq7s.js → shell-vc39bt20.js} +30 -30
- package/dist/chunks/{file-retention-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-6es9zfpy.js → shell-vpxczwj3.js} +34 -34
- package/dist/chunks/{file-retention-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-vzs5sf6e.js → shell-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-retention-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-3v25ja2b.js → shell-w6yjv3f5.js} +15 -15
- package/dist/chunks/{file-retention-p4h43hm5.js → shell-watjqnhq.js} +9 -9
- package/dist/chunks/{file-retention-wd3x2cqz.js → shell-wd3x2cqz.js} +2 -2
- package/dist/chunks/{file-retention-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-yktqjfap.js → shell-wg0dbssz.js} +10 -10
- package/dist/chunks/{file-retention-pkkyf0r9.js → shell-wg0k9rvv.js} +8 -8
- package/dist/chunks/{file-retention-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-magykp64.js → shell-xdk9p2qn.js} +21 -21
- package/dist/chunks/{file-retention-xfkkasph.js → shell-xfkkasph.js} +1 -1
- package/dist/chunks/{file-retention-cst1g9ty.js → shell-xfn62cer.js} +89 -89
- package/dist/chunks/{file-retention-zj4ah9h6.js → shell-xkx2jhzt.js} +17 -17
- package/dist/chunks/{file-retention-0tpv2kjk.js → shell-xp0mhm80.js} +5 -5
- package/dist/chunks/{file-retention-f3v49yrq.js → shell-xzjm34t0.js} +11 -11
- package/dist/chunks/{file-retention-0t1hj50p.js → shell-y07tpj3e.js} +45 -45
- package/dist/chunks/{file-retention-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-6psg71na.js → shell-y7eazgyz.js} +1 -1
- package/dist/chunks/{file-retention-3wa3ckeq.js → shell-yb93st4g.js} +7 -7
- package/dist/chunks/{file-retention-z1h4hzgz.js → shell-ygcwaq5r.js} +44 -44
- package/dist/chunks/{file-retention-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-retention-tqqs58hf.js → shell-yvpke61a.js} +11 -11
- package/dist/chunks/{file-retention-kd88yaz5.js → shell-yxvshskh.js} +29 -29
- package/dist/chunks/{file-retention-z07pqspn.js → shell-z07pqspn.js} +3 -3
- package/dist/chunks/{file-retention-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/shell-z76f73v3.js +26 -0
- package/dist/chunks/{file-retention-wvje6e6q.js → shell-zbjyzcd7.js} +11 -11
- package/dist/chunks/{file-retention-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-retention-bw7f9m3t.js → shell-zm3q7mex.js} +25 -25
- package/dist/chunks/{file-retention-hd8vw2pw.js → shell-znsx74x0.js} +1 -1
- package/dist/chunks/{file-retention-3t81ps34.js → shell-zp34c0n6.js} +41 -41
- package/dist/chunks/{file-retention-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-1vp4gevy.js → shell-zsasz6gv.js} +20 -20
- package/dist/chunks/{file-retention-4kc82and.js → shell-zv4zpfd9.js} +13 -13
- package/dist/chunks/{file-retention-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-retention-n7hfvk42.js → shell-zyrx8stx.js} +1 -1
- package/dist/chunks/{file-retention-61wct4zt.js → shell-zz330w20.js} +16 -16
- 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 +77 -77
- package/dist/config/discovery.js +82 -82
- 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 +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- 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 +77 -77
- package/dist/database/database.js +70 -70
- 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 +79 -79
- 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 +74 -74
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +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 +83 -83
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- 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 +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- 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 +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +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 +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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 +124 -124
- 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 +120 -120
- package/dist/plugin/provider/openai.js +95 -95
- 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 +122 -122
- 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 +121 -121
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- 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 +97 -97
- 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 +133 -133
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- 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 +2 -2
- 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 +2 -2
- 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 +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- 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 +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- 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 +118 -118
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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/file-retention-jqh9b0xq.js +0 -18
- package/dist/chunks/file-retention-js7f2ndc.js +0 -507
- package/dist/chunks/file-retention-n4ksp8v5.js +0 -26
- package/dist/chunks/file-retention-pwvtcxk6.js +0 -252
- /package/dist/chunks/{file-retention-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-34c7v6d4.js → shell-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-922hggd3.js → shell-922hggd3.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./shell-v12jv0w3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service15,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-qzwd4pkf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service50
|
|
11
|
+
} from "./shell-zbjyzcd7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service60
|
|
14
|
+
} from "./shell-dm6v0cnj.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service49
|
|
17
|
+
} from "./shell-gna9hx4h.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./shell-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./shell-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input12,
|
|
29
|
+
Output: () => Output8,
|
|
30
|
+
Plugin: () => Plugin32,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name12,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name12 = "write";
|
|
39
|
+
var Input12 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output8 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin32 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service49;
|
|
56
|
+
const fileMutation = yield* Service15;
|
|
57
|
+
const environment = yield* Service68;
|
|
58
|
+
const formatter = yield* Service50;
|
|
59
|
+
const permission = yield* Service60;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name12,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input12,
|
|
69
|
+
output: Output8,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name12, Input12, Output8, toModelContent6, Plugin32, exports_write };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./shell-ap9eas8m.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./shell-q47e89a1.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-dnxkq42g.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-7s9404gx.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./shell-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -43,8 +43,8 @@ __export(exports_integration, {
|
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
45
|
Ref: () => Ref3,
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
Service: () => Service77,
|
|
47
|
+
node: () => node81
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -104,14 +104,14 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
|
|
|
104
104
|
}
|
|
105
105
|
var Ref3 = Integration.Ref;
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service77 extends Context.Service()("@opencode/Integration") {
|
|
108
108
|
}
|
|
109
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
110
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
111
111
|
var scrubInterval = Duration.seconds(30);
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const credentials = yield*
|
|
114
|
-
const bus = yield*
|
|
112
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service78;
|
|
114
|
+
const bus = yield* Service83;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
117
117
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
440
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
441
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
442
442
|
});
|
|
443
|
-
return
|
|
443
|
+
return Service77.of({
|
|
444
444
|
transform: state.transform,
|
|
445
445
|
reload: state.reload,
|
|
446
446
|
revision: state.revision,
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}));
|
|
602
|
-
var
|
|
603
|
-
service:
|
|
602
|
+
var node81 = makeLocationNode({
|
|
603
|
+
service: Service77,
|
|
604
604
|
layer,
|
|
605
|
-
deps: [
|
|
605
|
+
deps: [node82, node87, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3,
|
|
608
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node81, exports_integration, Event18 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
6
|
var exports_formatter3 = {};
|
|
7
7
|
__export(exports_formatter3, {
|
|
8
8
|
ConfigFormatterV1: () => exports_formatter3,
|
|
9
|
-
Entry: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
Entry: () => Entry4,
|
|
10
|
+
Info: () => Info19
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry4 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info19 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry4, Info19, exports_formatter3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service71,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node75
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service71 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service71.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node75 = makeLocationNode({
|
|
137
|
+
service: Service71,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service71, node75, exports_tool_output2 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service68,
|
|
8
|
+
node71
|
|
9
|
+
} from "./shell-v12jv0w3.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-bybgwcct.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service5,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node7,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service68;
|
|
335
|
+
return Service5.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node7 = makeLocationNode({ service: Service5, layer, deps: [node71] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node7, exports_read_filesystem };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service45,
|
|
3
|
+
node49
|
|
4
|
+
} from "./shell-dgt8mkj3.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions3 = {};
|
|
17
|
+
__export(exports_instructions3, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions3,
|
|
19
|
+
Service: () => Service29,
|
|
20
|
+
node: () => node33
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,11 +57,11 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service29 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service45;
|
|
64
|
+
return Service29.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node33 = makeLocationNode({ service: Service29, layer, deps: [node49] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service29, node33, exports_instructions3 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-nxm207yx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service68,
|
|
6
|
+
node71
|
|
7
|
+
} from "./shell-v12jv0w3.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-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: () => Service15,
|
|
17
|
+
node: () => node17,
|
|
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 Service15 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(Service15, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service68;
|
|
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(Service69, 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 Service15.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node17 = makeLocationNode({ service: Service15, layer, deps: [node71] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service15, readText2, syncTextBom2, node17, exports_file_mutation };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./shell-8558arf1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service25
|
|
6
|
+
} from "./shell-xfn62cer.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make5
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make5 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service25;
|
|
24
|
+
const jobs = yield* Service58;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make7 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make5, exports_subagent_job };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./shell-bbt4s1em.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID11.make("gpt-5-chat-latest"), ID11.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make18
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make18 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make18, exports_run_coordinator };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./shell-pcwxzhdm.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-ckecvw8r.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
16
|
ID: () => ID8,
|
|
17
|
-
Info: () =>
|
|
17
|
+
Info: () => Info11,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service61,
|
|
21
|
+
node: () => node64
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -26,7 +26,7 @@ import { Project } from "@opencode/schema/project";
|
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
28
|
var ID8 = PermissionSaved.ID;
|
|
29
|
-
var
|
|
29
|
+
var Info11 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service61 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service61.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node64 = makeGlobalNode({ service: Service61, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export { ID8,
|
|
73
|
+
export { ID8, Info11, ListInput4, AddInput2, Service61, node64, exports_saved };
|