@opencode/core 0.0.0-dev-20317 → 0.0.0-dev-20327
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 +69 -69
- package/dist/chunks/{file-mutation-1j3s8w22.js → repository-03yhb5ad.js} +17 -17
- package/dist/chunks/{file-mutation-mg46656p.js → repository-092bevw2.js} +4 -4
- package/dist/chunks/{file-mutation-shg5zjww.js → repository-0aejbemy.js} +18 -18
- package/dist/chunks/{file-mutation-k8kd3x6v.js → repository-0nf4068s.js} +29 -29
- package/dist/chunks/{file-mutation-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-s749x1jp.js → repository-0tnq87cq.js} +15 -15
- package/dist/chunks/{file-mutation-an7cqtb7.js → repository-1a6p2twq.js} +4 -4
- package/dist/chunks/{file-mutation-mvfsc1pv.js → repository-1bbkgx8g.js} +3 -3
- package/dist/chunks/{file-mutation-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/repository-1g8ttbme.js +26 -0
- package/dist/chunks/{file-mutation-yeb3g8kd.js → repository-1j5pt4ft.js} +49 -49
- package/dist/chunks/{file-mutation-mjqym6kr.js → repository-1ncm4hts.js} +3 -3
- package/dist/chunks/{file-mutation-ss0awb04.js → repository-1tq060df.js} +4 -4
- package/dist/chunks/{file-mutation-66pjjr98.js → repository-20gsadav.js} +15 -15
- package/dist/chunks/{file-mutation-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-drqsxggm.js → repository-23nv5e2k.js} +23 -23
- package/dist/chunks/{file-mutation-t0avyhks.js → repository-256vj6ze.js} +23 -23
- package/dist/chunks/{file-mutation-29x78va6.js → repository-29x78va6.js} +2 -2
- package/dist/chunks/{file-mutation-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-77j67fjn.js → repository-2ccxq8sz.js} +54 -54
- package/dist/chunks/{file-mutation-87jaft4q.js → repository-2fj6nf2m.js} +22 -22
- package/dist/chunks/{file-mutation-b04b8x2j.js → repository-2p8k3371.js} +5 -5
- package/dist/chunks/{file-mutation-g9r4tham.js → repository-2qzws9he.js} +3 -3
- package/dist/chunks/{file-mutation-q7n5hrtn.js → repository-2sabx5kp.js} +5 -5
- package/dist/chunks/{file-mutation-hv7mkmtw.js → repository-2wts5qzq.js} +8 -8
- package/dist/chunks/{file-mutation-67j3xgk5.js → repository-330w2vey.js} +85 -85
- package/dist/chunks/{file-mutation-3qbaz8ss.js → repository-346y6mfm.js} +3 -3
- package/dist/chunks/{file-mutation-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-4r0vv8rp.js → repository-3qtmwhvy.js} +18 -18
- package/dist/chunks/{file-mutation-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-mutation-hew90mp0.js → repository-44khr5w8.js} +24 -24
- package/dist/chunks/{file-mutation-958zgc5t.js → repository-46m0hjzr.js} +4 -4
- package/dist/chunks/{file-mutation-m66zvs2c.js → repository-46vthg38.js} +9 -9
- package/dist/chunks/{file-mutation-3nktdnhj.js → repository-46zwd712.js} +24 -24
- package/dist/chunks/{file-mutation-4eq8w0dz.js → repository-4nzwy074.js} +4 -4
- package/dist/chunks/{file-mutation-axthpvgz.js → repository-4pnr4hhq.js} +8 -8
- package/dist/chunks/repository-4rsbbpr6.js +252 -0
- package/dist/chunks/{file-mutation-9hemy9a5.js → repository-4xrsv61j.js} +1 -1
- package/dist/chunks/{file-mutation-asw2t9gs.js → repository-51b08hzt.js} +13 -13
- package/dist/chunks/{file-mutation-b511pycq.js → repository-51bqn9hx.js} +14 -14
- package/dist/chunks/{file-mutation-t8cpjbvm.js → repository-522c72ec.js} +1 -1
- package/dist/chunks/{file-mutation-909p1r3q.js → repository-52hb404k.js} +6 -6
- package/dist/chunks/{file-mutation-54ma36ye.js → repository-54ma36ye.js} +1 -1
- package/dist/chunks/{file-mutation-3nxb9rvh.js → repository-57ez7d0k.js} +9 -9
- package/dist/chunks/{file-mutation-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-61hacpwr.js → repository-5khs75m3.js} +29 -29
- package/dist/chunks/{file-mutation-sds13m34.js → repository-5ngaw42y.js} +12 -12
- package/dist/chunks/{file-mutation-fc1vxnxc.js → repository-5ph46173.js} +27 -27
- package/dist/chunks/{file-mutation-s1vk8abd.js → repository-5pwkv57x.js} +5 -5
- package/dist/chunks/{file-mutation-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-qvrnhx4y.js → repository-5v36bsqd.js} +35 -35
- package/dist/chunks/{file-mutation-q7azfttr.js → repository-5xpznt2d.js} +4 -4
- package/dist/chunks/{file-mutation-5mzagth7.js → repository-62jtkyqj.js} +4 -4
- package/dist/chunks/{file-mutation-53vsygtf.js → repository-64d4fz0c.js} +24 -24
- package/dist/chunks/{file-mutation-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-am6v6khg.js → repository-6abfc7az.js} +26 -26
- package/dist/chunks/{file-mutation-3m0rnywy.js → repository-6cxm58b5.js} +3 -3
- package/dist/chunks/{file-mutation-b0dgvpy7.js → repository-6hjx5zpb.js} +9 -9
- package/dist/chunks/{file-mutation-c3n1cp32.js → repository-6hr9dd4j.js} +22 -22
- package/dist/chunks/{file-mutation-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-6e00a2ht.js → repository-6ty81bja.js} +15 -15
- package/dist/chunks/{file-mutation-1ce1gjkr.js → repository-6yea8ax2.js} +9 -9
- package/dist/chunks/{file-mutation-3c6wqyb6.js → repository-6ytch5ea.js} +18 -18
- package/dist/chunks/{file-mutation-37rhwr93.js → repository-734ywdzp.js} +43 -43
- package/dist/chunks/{file-mutation-enyc8xn2.js → repository-74n4xpv9.js} +25 -25
- package/dist/chunks/{file-mutation-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-2k8khapm.js → repository-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-mutation-yvz1hsk0.js → repository-7ec2pg6r.js} +9 -9
- package/dist/chunks/{file-mutation-qnx1cae3.js → repository-7g7rfneh.js} +22 -22
- package/dist/chunks/{file-mutation-7dbwzgk5.js → repository-7mx8b6x1.js} +13 -13
- package/dist/chunks/{file-mutation-xqcx71xb.js → repository-7resshyd.js} +21 -21
- package/dist/chunks/{file-mutation-ewfhazpw.js → repository-7sg25f73.js} +6 -6
- package/dist/chunks/{file-mutation-tt3k95t3.js → repository-84qcc0z6.js} +20 -20
- package/dist/chunks/{file-mutation-w1eejvng.js → repository-84txncab.js} +5 -5
- package/dist/chunks/{file-mutation-xkhj08b5.js → repository-8a17t1bw.js} +5 -5
- package/dist/chunks/{file-mutation-srb6kc6w.js → repository-8c1hkqew.js} +14 -14
- package/dist/chunks/{file-mutation-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-ag6syf74.js → repository-8rkn0jpj.js} +23 -23
- package/dist/chunks/{file-mutation-py3kkmfq.js → repository-8sze2n9a.js} +6 -6
- package/dist/chunks/{file-mutation-5rs2e4ae.js → repository-8wz7d5k9.js} +27 -27
- package/dist/chunks/{file-mutation-f13f6cny.js → repository-8x0w9677.js} +4 -4
- package/dist/chunks/{file-mutation-wbkyxrgf.js → repository-92a4ap4w.js} +5 -5
- package/dist/chunks/{file-mutation-gfvb90ym.js → repository-94ek1h2f.js} +2 -2
- package/dist/chunks/{file-mutation-18pyqb3h.js → repository-94vf58n3.js} +12 -12
- package/dist/chunks/{file-mutation-6gepwcpk.js → repository-9esrwjy0.js} +171 -171
- package/dist/chunks/{file-mutation-j4g2zvzf.js → repository-9f5fzrca.js} +29 -29
- package/dist/chunks/{file-mutation-4nk0fpy7.js → repository-9skhgxq9.js} +30 -30
- package/dist/chunks/{file-mutation-y2rbnnsy.js → repository-9v98as8j.js} +13 -13
- package/dist/chunks/{file-mutation-f7cas2m9.js → repository-a1x9jh75.js} +1 -1
- package/dist/chunks/{file-mutation-b27vhd2z.js → repository-a2ew8a62.js} +4 -4
- package/dist/chunks/{file-mutation-3jxxch2v.js → repository-a2skee4f.js} +22 -22
- package/dist/chunks/{file-mutation-rb1yyema.js → repository-a5bnh3fe.js} +11 -11
- package/dist/chunks/{file-mutation-r4dzbc5a.js → repository-a67k4gtk.js} +15 -15
- package/dist/chunks/{file-mutation-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-xxcmm6w8.js → repository-ar00q028.js} +8 -8
- package/dist/chunks/{file-mutation-ar8ppt4n.js → repository-awbq9rs1.js} +10 -10
- package/dist/chunks/{file-mutation-txnk5zrz.js → repository-azbzvrwt.js} +11 -11
- package/dist/chunks/{file-mutation-wx0mbdwc.js → repository-b5rh7nhk.js} +11 -11
- package/dist/chunks/{file-mutation-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-d3d3msnn.js → repository-bahkxd2v.js} +16 -16
- package/dist/chunks/repository-bk8heh08.js +507 -0
- package/dist/chunks/{file-mutation-ry3her87.js → repository-bkzqp4j5.js} +20 -20
- package/dist/chunks/{file-mutation-bs4gwx6b.js → repository-bvjb2t71.js} +32 -32
- package/dist/chunks/{file-mutation-9nxw8271.js → repository-bx61kp2z.js} +27 -27
- package/dist/chunks/{file-mutation-dwh27apr.js → repository-bzrp7q37.js} +13 -13
- package/dist/chunks/{file-mutation-h2k6r1dw.js → repository-c4sra46q.js} +9 -9
- package/dist/chunks/{file-mutation-t5srjmkn.js → repository-c8e8p37w.js} +36 -36
- package/dist/chunks/{file-mutation-vpj1j15r.js → repository-cadhwe8h.js} +9 -9
- package/dist/chunks/{file-mutation-y5cgb14q.js → repository-cgvtq6pd.js} +28 -28
- package/dist/chunks/{file-mutation-54tcyq79.js → repository-ckecvw8r.js} +2 -2
- package/dist/chunks/{file-mutation-7xgv489k.js → repository-cme5mnrk.js} +13 -13
- package/dist/chunks/{file-mutation-h52fda0c.js → repository-cqbspedd.js} +17 -17
- package/dist/chunks/{file-mutation-4pd5ctp7.js → repository-d2ksf4va.js} +17 -17
- package/dist/chunks/{file-mutation-bhnd6jbc.js → repository-d8r9gpwm.js} +10 -10
- package/dist/chunks/{file-mutation-z3nvzw5r.js → repository-ddwbawsj.js} +40 -40
- package/dist/chunks/{file-mutation-qadgxe9y.js → repository-djj2fqjh.js} +16 -16
- package/dist/chunks/{file-mutation-xkntkrq7.js → repository-dmqcgk4z.js} +5 -5
- package/dist/chunks/{file-mutation-t8b05y9y.js → repository-dn8jpt1b.js} +11 -11
- package/dist/chunks/{file-mutation-068serwz.js → repository-dnxkq42g.js} +4 -4
- package/dist/chunks/{file-mutation-tn0aqsam.js → repository-dqmwfghx.js} +5 -5
- package/dist/chunks/{file-mutation-bqgg56a2.js → repository-dt4h0wgn.js} +8 -8
- package/dist/chunks/{file-mutation-snym9n01.js → repository-dxy9rwgs.js} +17 -17
- package/dist/chunks/{file-mutation-p4ghe5eg.js → repository-e0a154fg.js} +6 -6
- package/dist/chunks/{file-mutation-jqearavb.js → repository-e2vme18q.js} +41 -41
- package/dist/chunks/{file-mutation-80b4jn6q.js → repository-e4xyx1jr.js} +29 -29
- package/dist/chunks/{file-mutation-a2m1fs74.js → repository-e6v2k67t.js} +1 -1
- package/dist/chunks/{file-mutation-k2z2bpyb.js → repository-e8g69mg2.js} +24 -24
- package/dist/chunks/{file-mutation-7gvwkz6m.js → repository-ead3g9p8.js} +5 -5
- package/dist/chunks/{file-mutation-ecfe7b91.js → repository-ecfe7b91.js} +2 -2
- package/dist/chunks/{file-mutation-2hr5nhwa.js → repository-eeaf82dq.js} +8 -8
- package/dist/chunks/{file-mutation-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-xxp5c75e.js → repository-ekmk2epb.js} +42 -42
- package/dist/chunks/{file-mutation-mp4w3xb3.js → repository-end8q9yf.js} +71 -71
- package/dist/chunks/{file-mutation-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-k56bzbcg.js → repository-etsm0c4w.js} +16 -16
- package/dist/chunks/{file-mutation-ttk49waq.js → repository-evfe50z6.js} +17 -17
- package/dist/chunks/{file-mutation-6edkmfn9.js → repository-evh8asg6.js} +24 -24
- package/dist/chunks/{file-mutation-5yz7xas9.js → repository-ewbysjez.js} +10 -10
- package/dist/chunks/{file-mutation-3b7qszte.js → repository-ezbqyzn4.js} +11 -11
- package/dist/chunks/{file-mutation-3arsr4w4.js → repository-f3h1v3p4.js} +8 -8
- package/dist/chunks/{file-mutation-zvt5dnpc.js → repository-f73rjn58.js} +4 -4
- package/dist/chunks/{file-mutation-gzbkpp9m.js → repository-fjvydvzm.js} +4 -4
- package/dist/chunks/{file-mutation-qz709pp3.js → repository-fnrmajhb.js} +12 -12
- package/dist/chunks/{file-mutation-m5e49ftz.js → repository-fnwzaghr.js} +29 -29
- package/dist/chunks/{file-mutation-v4gb911t.js → repository-fzhjq0vw.js} +8 -8
- package/dist/chunks/{file-mutation-br0tr5aq.js → repository-g0445xdp.js} +8 -8
- package/dist/chunks/{file-mutation-nng2ktcm.js → repository-g2yz86wh.js} +2 -2
- package/dist/chunks/{file-mutation-vhjvzfv4.js → repository-g3mc5kfg.js} +28 -28
- package/dist/chunks/{file-mutation-h6b02349.js → repository-g5agzp2h.js} +5 -5
- package/dist/chunks/{file-mutation-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-aspx9532.js → repository-ghat809j.js} +25 -25
- package/dist/chunks/{file-mutation-kgtr5kgz.js → repository-gtf1jrjg.js} +26 -26
- package/dist/chunks/{file-mutation-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-vkfhbx9v.js → repository-gycdx838.js} +9 -9
- package/dist/chunks/{file-mutation-tt4s4s8q.js → repository-h1hhz3wc.js} +13 -13
- package/dist/chunks/{file-mutation-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-h9wp8z5w.js → repository-h9wp8z5w.js} +1 -1
- package/dist/chunks/{file-mutation-ncemd8be.js → repository-hafbkqsf.js} +11 -11
- package/dist/chunks/{file-mutation-nstt2xrf.js → repository-hgvwc7cd.js} +20 -20
- package/dist/chunks/{file-mutation-40fw65m2.js → repository-hhvyr323.js} +46 -46
- package/dist/chunks/{file-mutation-n54s188w.js → repository-hm4b16ap.js} +37 -37
- package/dist/chunks/{file-mutation-z5txp1x4.js → repository-hmy61pfr.js} +10 -10
- package/dist/chunks/{file-mutation-dzjy8w6a.js → repository-hrspk2jv.js} +15 -15
- package/dist/chunks/repository-ht5y0zrb.js +18 -0
- package/dist/chunks/{file-mutation-9k4sympr.js → repository-hwce49kt.js} +18 -18
- package/dist/chunks/{file-mutation-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-5nrv86h4.js → repository-j91df599.js} +34 -34
- package/dist/chunks/{file-mutation-bgc5ggmx.js → repository-jpqeh2wc.js} +4 -4
- package/dist/chunks/{file-mutation-acq1stk5.js → repository-jr4dxy5c.js} +3 -3
- package/dist/chunks/{file-mutation-frt80p94.js → repository-jx6w3tcg.js} +26 -26
- package/dist/chunks/{file-mutation-j8hz64q6.js → repository-k2yahx9c.js} +5 -5
- package/dist/chunks/{file-mutation-k3c624dm.js → repository-k3c624dm.js} +3 -3
- package/dist/chunks/{file-mutation-y34xv2bc.js → repository-k91hc397.js} +10 -10
- package/dist/chunks/{file-mutation-wcymzgpk.js → repository-k9psjfbd.js} +3 -3
- package/dist/chunks/{file-mutation-essjy5q3.js → repository-kfahhyhy.js} +10 -10
- package/dist/chunks/{file-mutation-ba0a1fvg.js → repository-knx6vc55.js} +24 -24
- package/dist/chunks/{file-mutation-6hg3tsfm.js → repository-krbat558.js} +4 -4
- package/dist/chunks/{file-mutation-j49qe88t.js → repository-ksdq3yt2.js} +21 -21
- package/dist/chunks/{file-mutation-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-w9khvjrv.js → repository-m76a2k0m.js} +6 -6
- package/dist/chunks/{file-mutation-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-xq930m5y.js → repository-mb7qsxty.js} +12 -12
- package/dist/chunks/{file-mutation-56gdpj1q.js → repository-mfqp6xfm.js} +6 -6
- package/dist/chunks/{file-mutation-97qcqtmp.js → repository-mrg70h1v.js} +13 -13
- package/dist/chunks/{file-mutation-cf7gn0yj.js → repository-mv2ay9dz.js} +17 -17
- package/dist/chunks/{file-mutation-nzrpksqv.js → repository-mwhefvvw.js} +1 -1
- package/dist/chunks/{file-mutation-c66ced72.js → repository-nj1j17x6.js} +8 -8
- package/dist/chunks/{file-mutation-typw0tyn.js → repository-nk8qx497.js} +19 -19
- package/dist/chunks/{file-mutation-zd30eb5w.js → repository-nyqx1cb3.js} +5 -5
- package/dist/chunks/{file-mutation-sapd4br0.js → repository-p3expsqa.js} +11 -11
- package/dist/chunks/{file-mutation-krqvwc4f.js → repository-p5gmb07n.js} +2 -2
- package/dist/chunks/{file-mutation-2pzcg6zy.js → repository-pdz52ded.js} +20 -20
- package/dist/chunks/{file-mutation-wez1ajrw.js → repository-pen903sm.js} +7 -7
- package/dist/chunks/{file-mutation-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-6qh5a7cm.js → repository-pkve43rd.js} +46 -46
- package/dist/chunks/{file-mutation-yw8t9dwe.js → repository-pnaxc6j9.js} +8 -8
- package/dist/chunks/{file-mutation-n5wndne1.js → repository-pp2vfp84.js} +27 -24
- package/dist/chunks/{file-mutation-npacb0de.js → repository-pqwcs79a.js} +18 -18
- package/dist/chunks/{file-mutation-byx5r1nf.js → repository-pw3aqa3b.js} +21 -21
- package/dist/chunks/{file-mutation-1qs5jxd8.js → repository-q26xrw20.js} +16 -16
- package/dist/chunks/{file-mutation-64mbz47k.js → repository-q5zafh14.js} +6 -6
- package/dist/chunks/{file-mutation-fcgr6fpe.js → repository-qe2vk4xy.js} +7 -7
- package/dist/chunks/{file-mutation-6tv02psk.js → repository-qmyetdfw.js} +19 -19
- package/dist/chunks/{file-mutation-6hd5cqs1.js → repository-qn1kcwf1.js} +35 -35
- package/dist/chunks/{file-mutation-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-jxn92pv1.js → repository-qyd0022c.js} +29 -29
- package/dist/chunks/{file-mutation-gzncnxwb.js → repository-qz061pbh.js} +11 -11
- package/dist/chunks/{file-mutation-d4he2qe1.js → repository-r2m716tb.js} +9 -9
- package/dist/chunks/{file-mutation-yp2x3t23.js → repository-r8xr0va3.js} +4 -4
- package/dist/chunks/{file-mutation-kt9wpgz0.js → repository-rb6gffef.js} +28 -28
- package/dist/chunks/{file-mutation-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-0yt4n5hc.js → repository-rftjbn8p.js} +1 -1
- package/dist/chunks/{file-mutation-m5c90g06.js → repository-rgaw6yy6.js} +11 -11
- package/dist/chunks/{file-mutation-pnv527nz.js → repository-rhafb4aa.js} +9 -9
- package/dist/chunks/{file-mutation-6gg229te.js → repository-rwdmhfe9.js} +2 -2
- package/dist/chunks/{file-mutation-s4enseaf.js → repository-s4enseaf.js} +2 -2
- package/dist/chunks/{file-mutation-stw2mskd.js → repository-s5vjzjxc.js} +35 -35
- package/dist/chunks/{file-mutation-eaj1djv9.js → repository-s8d7rejh.js} +6 -6
- package/dist/chunks/{file-mutation-cqsb273d.js → repository-sf5q03y5.js} +45 -45
- package/dist/chunks/{file-mutation-2qg4zkvz.js → repository-sjm6y15r.js} +10 -10
- package/dist/chunks/{file-mutation-qdbfnsyg.js → repository-sp7fmdjf.js} +10 -10
- package/dist/chunks/{file-mutation-v6p67kws.js → repository-stwc6554.js} +10 -10
- package/dist/chunks/{file-mutation-2atcfb4x.js → repository-tap773t1.js} +16 -14
- package/dist/chunks/{file-mutation-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-xf8ame85.js → repository-v81gfb7z.js} +11 -11
- package/dist/chunks/{file-mutation-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-h273y0zk.js → repository-vk6t1kw2.js} +9 -9
- package/dist/chunks/{file-mutation-rkdvqggb.js → repository-vxp3kcg3.js} +5 -5
- package/dist/chunks/{file-mutation-6t298p2h.js → repository-vy4zg7qh.js} +12 -12
- package/dist/chunks/{file-mutation-bazjz6tt.js → repository-vybhs2ww.js} +11 -11
- package/dist/chunks/{file-mutation-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-mutation-5kqae2td.js → repository-w0nrm5hv.js} +25 -25
- package/dist/chunks/{file-mutation-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-vynmvp9h.js → repository-w3yyykta.js} +9 -9
- package/dist/chunks/{file-mutation-jn2kvrv2.js → repository-w4tc47y0.js} +30 -30
- package/dist/chunks/{file-mutation-t5mpbn54.js → repository-w6yj84m2.js} +8 -8
- package/dist/chunks/{file-mutation-98t95rqs.js → repository-wd11n6zd.js} +4 -4
- package/dist/chunks/{file-mutation-psazpmmj.js → repository-wd3x2cqz.js} +2 -2
- package/dist/chunks/{file-mutation-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-cm62f9mw.js → repository-wgjgjn1f.js} +15 -15
- package/dist/chunks/{file-mutation-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-1fm7vbk4.js → repository-x6p7tmnf.js} +12 -12
- package/dist/chunks/{file-mutation-gc5ccx6v.js → repository-x7rhc6wm.js} +3 -3
- package/dist/chunks/{file-mutation-t51qk8jz.js → repository-xdk9p2qn.js} +4 -4
- package/dist/chunks/{file-mutation-xfkkasph.js → repository-xfkkasph.js} +1 -1
- package/dist/chunks/{file-mutation-2c4k1w8p.js → repository-xgfgp5z3.js} +18 -18
- package/dist/chunks/{file-mutation-7w99qc9d.js → repository-xkhfjrgz.js} +3 -3
- package/dist/chunks/{file-mutation-4p8gn76r.js → repository-xnbva5hb.js} +20 -20
- package/dist/chunks/{file-mutation-44k13xcn.js → repository-xwatpa0g.js} +86 -86
- package/dist/chunks/{file-mutation-kp8a4fhm.js → repository-xwbd059y.js} +48 -48
- package/dist/chunks/{file-mutation-cahsh00e.js → repository-xy1m2s0m.js} +5 -5
- package/dist/chunks/{file-mutation-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-4zt21fh0.js → repository-y24krm64.js} +11 -11
- package/dist/chunks/{file-mutation-y71avatq.js → repository-y71avatq.js} +1 -1
- package/dist/chunks/{file-mutation-wh90q83w.js → repository-yb1xnzya.js} +9 -9
- package/dist/chunks/{file-mutation-4hwjm9tk.js → repository-yb2az3xg.js} +3 -3
- package/dist/chunks/{file-mutation-am4z9aae.js → repository-yk5hfv3m.js} +28 -28
- package/dist/chunks/{file-mutation-ahkpgjye.js → repository-ypjj027g.js} +11 -11
- package/dist/chunks/{file-mutation-kpnprcv1.js → repository-ypyd1n4s.js} +9 -9
- package/dist/chunks/{file-mutation-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-4hm20dka.js → repository-yxn7kx7v.js} +41 -41
- package/dist/chunks/{file-mutation-bjtzbw4r.js → repository-z07pqspn.js} +3 -3
- package/dist/chunks/{file-mutation-kkp8zx71.js → repository-z0aj456m.js} +4 -4
- package/dist/chunks/{file-mutation-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-xghkepxw.js → repository-z2hzy96q.js} +3 -3
- package/dist/chunks/{file-mutation-2yap4c42.js → repository-z45mjmxx.js} +22 -22
- package/dist/chunks/{file-mutation-nxwbgnvg.js → repository-z8fpy401.js} +8 -8
- package/dist/chunks/{file-mutation-gtkq5kdv.js → repository-z983jzxa.js} +23 -23
- package/dist/chunks/{file-mutation-pb9kg3x1.js → repository-zeasar47.js} +12 -12
- package/dist/chunks/{file-mutation-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-r5g918rf.js → repository-zf9fes0n.js} +14 -14
- package/dist/chunks/{file-mutation-jg38snma.js → repository-zgt0ygn8.js} +8 -8
- package/dist/chunks/{file-mutation-znsx74x0.js → repository-znsx74x0.js} +1 -1
- package/dist/chunks/{file-mutation-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-49w8mb30.js → repository-zsm3phbg.js} +8 -8
- package/dist/chunks/{file-mutation-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-mutation-x6v9ff69.js → repository-zy8av054.js} +2 -2
- package/dist/chunks/{file-mutation-qzcncrcf.js → repository-zyc1d5mg.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +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 +126 -126
- 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 +83 -83
- 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 +93 -93
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +91 -91
- 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 +3 -3
- 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 +89 -89
- 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 +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 +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +98 -98
- 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 +107 -107
- 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 +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 +122 -122
- 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 +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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- 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 +4 -4
- 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 +230 -230
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- 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 +135 -135
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- 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 +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 +1 -1
- 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 +232 -232
- 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 +126 -126
- 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 +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- 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 +215 -215
- 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 +108 -108
- 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 +120 -120
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- 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 +12 -12
- package/dist/types/form.d.ts +5 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +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 +3 -3
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- 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 +8 -8
- 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-mutation-8p6pfqwt.js +0 -26
- package/dist/chunks/file-mutation-qg70aggb.js +0 -252
- package/dist/chunks/file-mutation-qqg2th7x.js +0 -507
- package/dist/chunks/file-mutation-vsdyktar.js +0 -18
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e3qxr5gk.js → repository-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service34,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node37
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service34 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service34.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node37 = makeGlobalNode({ service: Service34, layer: layer12, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service34, makeLayer2, layer12, node37, exports_model_transport };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./repository-vy4zg7qh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service80,
|
|
13
|
+
node84
|
|
14
|
+
} from "./repository-cqbspedd.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service42,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node45,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service42 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID4.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node45 = makeLocationNode({
|
|
144
|
+
service: Service42,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service42, Service42.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -163,4 +163,4 @@ function failure(operation, cause) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID4, Error3, Service42, node45, noopLayer2, exports_snapshot2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/delete.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service54,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node59
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service54 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service54.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node59 = makeLocationNode({ service: Service54, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service54, node59, exports_image2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-8x0w9677.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service79,
|
|
8
|
+
node83
|
|
9
|
+
} from "./repository-a2skee4f.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-dnxkq42g.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-pp2vfp84.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./repository-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -35,16 +35,16 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandMethod: () => CommandMethod2,
|
|
36
36
|
EnvMethod: () => EnvMethod2,
|
|
37
37
|
Event: () => Event18,
|
|
38
|
-
ID: () =>
|
|
39
|
-
Info: () =>
|
|
38
|
+
ID: () => ID14,
|
|
39
|
+
Info: () => Info28,
|
|
40
40
|
Integration: () => exports_integration,
|
|
41
41
|
KeyMethod: () => KeyMethod2,
|
|
42
42
|
Method: () => Method2,
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
|
-
Ref: () =>
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
45
|
+
Ref: () => Ref3,
|
|
46
|
+
Service: () => Service77,
|
|
47
|
+
node: () => node81
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -67,7 +67,7 @@ import { Integration } from "@opencode/schema/integration";
|
|
|
67
67
|
import { AppProcess } from "@opencode/util/process";
|
|
68
68
|
import { ChildProcess } from "effect/unstable/process";
|
|
69
69
|
import { Event as Event18 } from "@opencode/schema/integration";
|
|
70
|
-
var
|
|
70
|
+
var ID14 = Integration.ID;
|
|
71
71
|
var MethodID2 = Integration.MethodID;
|
|
72
72
|
var AttemptID2 = Integration.AttemptID;
|
|
73
73
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
75
75
|
var KeyMethod2 = Integration.KeyMethod;
|
|
76
76
|
var EnvMethod2 = Integration.EnvMethod;
|
|
77
77
|
var Method2 = Integration.Method;
|
|
78
|
-
var
|
|
78
|
+
var Info28 = Integration.Info;
|
|
79
79
|
var Attempt2 = Integration.Attempt;
|
|
80
80
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
81
81
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -98,19 +98,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
101
|
-
integrationID:
|
|
101
|
+
integrationID: ID14,
|
|
102
102
|
attemptID: AttemptID2
|
|
103
103
|
}) {
|
|
104
104
|
}
|
|
105
|
-
var
|
|
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*
|
|
112
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service79;
|
|
114
114
|
const bus = yield* Service83;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
207
207
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
208
208
|
return [...credentials, ...env];
|
|
209
209
|
};
|
|
210
|
-
const project = (entry, connections) =>
|
|
210
|
+
const project = (entry, connections) => Info28.make({
|
|
211
211
|
id: entry.ref.id,
|
|
212
212
|
name: entry.ref.name,
|
|
213
213
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -294,7 +294,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
294
294
|
const persistence = yield* createCredential({
|
|
295
295
|
integrationID: attempt.integrationID,
|
|
296
296
|
label: attempt.label,
|
|
297
|
-
value:
|
|
297
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
298
298
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
299
299
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
300
300
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service79, 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,
|
|
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
462
462
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
463
463
|
if (connection.type === "env") {
|
|
464
464
|
const key = process.env[connection.name];
|
|
465
|
-
return key ?
|
|
465
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
466
466
|
}
|
|
467
467
|
const credential = yield* credentials.get(connection.id);
|
|
468
468
|
if (!credential)
|
|
@@ -495,7 +495,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
495
495
|
yield* createCredential({
|
|
496
496
|
integrationID: input.integrationID,
|
|
497
497
|
label: input.label,
|
|
498
|
-
value:
|
|
498
|
+
value: Key4.make({
|
|
499
499
|
type: "key",
|
|
500
500
|
key: input.key,
|
|
501
501
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service79, 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: [node83, node87, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export {
|
|
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
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-dn8jpt1b.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin24,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin24 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin40 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin40 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin24, exports_tavily };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./repository-evh8asg6.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service45;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Info8,
|
|
6
6
|
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-djj2fqjh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service71
|
|
11
|
+
} from "./repository-yxn7kx7v.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin31,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,19 +425,19 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin31 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
433
|
+
editor.add(Info8.make({
|
|
434
434
|
id: ID5.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
440
|
+
editor.add(Info8.make({
|
|
441
441
|
id: ID5.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service71;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin31, exports_skill2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-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: () => Service44,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node47
|
|
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 Service44 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(Service44, 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(Service57, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service44.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 node47 = makeLocationNode({
|
|
137
|
+
service: Service44,
|
|
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, Service44, node47, exports_tool_output2 };
|