@opencode/core 0.0.0-dev-19567 → 0.0.0-dev-19570
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{filesystem-ekjywdh4.js → bus-0bmcfma8.js} +13 -13
- package/dist/chunks/{filesystem-mgp1xb0f.js → bus-0ch8qyvr.js} +24 -24
- package/dist/chunks/{filesystem-jaqemzyz.js → bus-0ft5728k.js} +13 -13
- package/dist/chunks/{filesystem-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
- package/dist/chunks/{filesystem-jacaeees.js → bus-0q85yanv.js} +14 -14
- package/dist/chunks/{filesystem-nnwnj3kt.js → bus-0rvzsnzh.js} +17 -17
- package/dist/chunks/{filesystem-abe16e6q.js → bus-13f55rxq.js} +10 -10
- package/dist/chunks/{filesystem-6a2hk3n2.js → bus-14e5s19a.js} +7 -7
- package/dist/chunks/{filesystem-kjc7y5he.js → bus-17xskt1m.js} +9 -9
- package/dist/chunks/{filesystem-4b4yfk1e.js → bus-1971h2ty.js} +43 -43
- package/dist/chunks/{filesystem-1bbkgx8g.js → bus-1bbkgx8g.js} +1 -1
- package/dist/chunks/{filesystem-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-8z6dw92s.js → bus-1dcmyt7q.js} +17 -17
- package/dist/chunks/{filesystem-45vv7gab.js → bus-1ffj5hr7.js} +11 -11
- package/dist/chunks/{filesystem-7n5ebxvb.js → bus-1g2kwc9g.js} +11 -11
- package/dist/chunks/{filesystem-mgjabrz5.js → bus-1gcg2swa.js} +6 -6
- package/dist/chunks/{filesystem-ehhvb1z1.js → bus-1mhgpmmh.js} +17 -17
- package/dist/chunks/{filesystem-bezn74c1.js → bus-1r2qyred.js} +8 -8
- package/dist/chunks/{filesystem-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-ntkt8hfw.js → bus-22rzttx5.js} +7 -7
- package/dist/chunks/{filesystem-em33emqj.js → bus-234dm2bj.js} +2 -2
- package/dist/chunks/{filesystem-kqn78m91.js → bus-23saz1kp.js} +11 -11
- package/dist/chunks/{filesystem-2402vzrj.js → bus-2402vzrj.js} +1 -1
- package/dist/chunks/{filesystem-t1waf9zt.js → bus-271p385v.js} +9 -9
- package/dist/chunks/{filesystem-9grmh3gg.js → bus-27fdv82p.js} +13 -13
- package/dist/chunks/{filesystem-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-gx8gn256.js → bus-2ckzgqv3.js} +27 -27
- package/dist/chunks/{filesystem-th2mpfrx.js → bus-2djskdmr.js} +3 -3
- package/dist/chunks/{filesystem-g9mjxn54.js → bus-2f536cz1.js} +9 -9
- package/dist/chunks/{filesystem-trwj2ymr.js → bus-2gp10rzn.js} +5 -5
- package/dist/chunks/{filesystem-qgn6gcr1.js → bus-2k8khapm.js} +5 -5
- package/dist/chunks/{filesystem-87c2hcfn.js → bus-2xyebys0.js} +15 -15
- package/dist/chunks/{filesystem-bv2jx7pw.js → bus-30mvjzmx.js} +20 -20
- package/dist/chunks/{filesystem-7qj23typ.js → bus-30pqz63q.js} +34 -34
- package/dist/chunks/{filesystem-37jfsww8.js → bus-334mtn2p.js} +16 -16
- package/dist/chunks/bus-371w62z2.js +247 -0
- package/dist/chunks/{filesystem-sk6yq7gh.js → bus-377tdzm5.js} +3 -3
- package/dist/chunks/{filesystem-ysg8hvve.js → bus-3bdnfhpy.js} +30 -30
- package/dist/chunks/{filesystem-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-6b0jwvmt.js → bus-3fv80nb4.js} +30 -30
- package/dist/chunks/{filesystem-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-xvkeykba.js → bus-462wv2j1.js} +18 -18
- package/dist/chunks/{filesystem-r8dnm4fk.js → bus-4agbkdj3.js} +18 -18
- package/dist/chunks/{filesystem-gqrjg9m0.js → bus-4b40vsya.js} +1 -1
- package/dist/chunks/{filesystem-vwedqk8m.js → bus-4dd5jxqt.js} +15 -15
- package/dist/chunks/{filesystem-yatbfktz.js → bus-4fgnkb88.js} +5 -5
- package/dist/chunks/{filesystem-9m209nhj.js → bus-4g01fjsn.js} +5 -5
- package/dist/chunks/{filesystem-yxc59d7f.js → bus-4jk0qxj4.js} +8 -8
- package/dist/chunks/bus-4kb6yah9.js +26 -0
- package/dist/chunks/{filesystem-6fatt4mk.js → bus-4ph09amq.js} +9 -9
- package/dist/chunks/{filesystem-a4kfj0a0.js → bus-4pk39vze.js} +14 -14
- package/dist/chunks/{filesystem-zf0cgqdy.js → bus-4td4y4b3.js} +1 -1
- package/dist/chunks/{filesystem-ey1y6cx4.js → bus-55sraxqh.js} +13 -10
- package/dist/chunks/{filesystem-56gdpj1q.js → bus-56gdpj1q.js} +2 -2
- package/dist/chunks/{filesystem-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-krhdd13z.js → bus-5g77nda4.js} +24 -24
- package/dist/chunks/{filesystem-h39eyz0q.js → bus-5hhq8srk.js} +18 -18
- package/dist/chunks/{filesystem-caw866h7.js → bus-5ph07jxe.js} +11 -11
- package/dist/chunks/{filesystem-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-9ftserdy.js → bus-5ze6kv9s.js} +11 -11
- package/dist/chunks/{filesystem-2qxnj2tc.js → bus-5zr57rw5.js} +22 -22
- package/dist/chunks/{filesystem-ptytrkeg.js → bus-61r41eaq.js} +15 -15
- package/dist/chunks/{filesystem-6y0dpk3y.js → bus-641kt8g4.js} +22 -22
- package/dist/chunks/{filesystem-0vag3j8x.js → bus-64wrsgp1.js} +61 -61
- package/dist/chunks/{filesystem-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-439y12vh.js → bus-67dz7xe6.js} +4 -4
- package/dist/chunks/{filesystem-gb7ervf3.js → bus-6anwy9fs.js} +6 -6
- package/dist/chunks/{filesystem-dkvg49fw.js → bus-6dc8cscg.js} +16 -16
- package/dist/chunks/{filesystem-wyzh7da2.js → bus-6dkvr0nf.js} +7 -7
- package/dist/chunks/{filesystem-cdt344wa.js → bus-6g49tt7n.js} +33 -33
- package/dist/chunks/{filesystem-n8dshb08.js → bus-6jb52xp7.js} +9 -9
- package/dist/chunks/{filesystem-ecrg2nqv.js → bus-6kt1brbc.js} +29 -29
- package/dist/chunks/{filesystem-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
- package/dist/chunks/{filesystem-71q4at8m.js → bus-71q4at8m.js} +1 -1
- package/dist/chunks/{filesystem-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-65tvvp9r.js → bus-7d52b4ts.js} +1 -1
- package/dist/chunks/{filesystem-p44d8wdy.js → bus-7gvwkz6m.js} +5 -5
- package/dist/chunks/{filesystem-8czw5t31.js → bus-7t19srph.js} +1 -1
- package/dist/chunks/{filesystem-b8mjdg95.js → bus-7v8mrxea.js} +32 -32
- package/dist/chunks/{filesystem-0dfv01xh.js → bus-7x2gvtfy.js} +5 -5
- package/dist/chunks/{filesystem-4frkg54w.js → bus-81swgkk7.js} +9 -9
- package/dist/chunks/{filesystem-f0q97ex4.js → bus-846kb21p.js} +6 -6
- package/dist/chunks/{filesystem-z46ew2vq.js → bus-894aw507.js} +44 -44
- package/dist/chunks/{filesystem-89znhe33.js → bus-89znhe33.js} +1 -1
- package/dist/chunks/{filesystem-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-1s6ef6er.js → bus-8de9g2wa.js} +8 -8
- package/dist/chunks/{filesystem-57gxc5pf.js → bus-8gs75axt.js} +18 -18
- package/dist/chunks/{filesystem-8p4f9s12.js → bus-8p4f9s12.js} +2 -2
- package/dist/chunks/{filesystem-23279rje.js → bus-8ppq07x6.js} +8 -8
- package/dist/chunks/{filesystem-n2g8w3nt.js → bus-8ptxwh5a.js} +32 -32
- package/dist/chunks/{filesystem-bkfa2z39.js → bus-9gs77c9s.js} +162 -162
- package/dist/chunks/{filesystem-rnm8ebdw.js → bus-9nkb7wgy.js} +286 -286
- package/dist/chunks/{filesystem-ssnweha5.js → bus-9ya5zr4m.js} +4 -4
- package/dist/chunks/{filesystem-kay20y4r.js → bus-9yzj8nsj.js} +7 -7
- package/dist/chunks/{filesystem-cqk3ba3b.js → bus-a0rbwe21.js} +4 -4
- package/dist/chunks/{filesystem-a1bz86dw.js → bus-a1bz86dw.js} +3 -3
- package/dist/chunks/{filesystem-kkdq4gv9.js → bus-a5fdd1f3.js} +6 -6
- package/dist/chunks/{filesystem-khbvvr7x.js → bus-a7afs06d.js} +24 -24
- package/dist/chunks/{filesystem-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-0z4fxwj8.js → bus-amrfq6w6.js} +32 -32
- package/dist/chunks/{filesystem-r1kfjs52.js → bus-b51m2zsk.js} +23 -23
- package/dist/chunks/{filesystem-x6aajhkr.js → bus-b52vn635.js} +32 -32
- package/dist/chunks/{filesystem-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-gacr8fx6.js → bus-bcerr2wv.js} +23 -23
- package/dist/chunks/{filesystem-kzs1nj2w.js → bus-bmfd5zff.js} +42 -42
- package/dist/chunks/{filesystem-2f0bjgcj.js → bus-c78bbtc9.js} +5 -5
- package/dist/chunks/{filesystem-zxnzg6kz.js → bus-cby4dax6.js} +24 -24
- package/dist/chunks/{filesystem-cfpkc3c9.js → bus-cfpkc3c9.js} +2 -2
- package/dist/chunks/{filesystem-5c91nd8t.js → bus-cftjh0pp.js} +18 -15
- package/dist/chunks/{filesystem-nmedgzjr.js → bus-cgns8hyh.js} +8 -8
- package/dist/chunks/{filesystem-qm7jrdpz.js → bus-ctzssw83.js} +8 -8
- package/dist/chunks/{filesystem-m142jtgy.js → bus-cxjxmgke.js} +10 -10
- package/dist/chunks/{filesystem-sgm801mv.js → bus-d01nnmxe.js} +36 -36
- package/dist/chunks/{filesystem-1ndypj5r.js → bus-d16qd7aj.js} +2 -2
- package/dist/chunks/{filesystem-25jf9b0a.js → bus-d171mqxg.js} +20 -20
- package/dist/chunks/{filesystem-w2yvy5y9.js → bus-djx5tkqn.js} +5 -5
- package/dist/chunks/{filesystem-yya0sae6.js → bus-dphstccg.js} +11 -11
- package/dist/chunks/{filesystem-y71avatq.js → bus-dpkg50ah.js} +4 -4
- package/dist/chunks/{filesystem-4zqmmk7v.js → bus-dxr9kpty.js} +35 -35
- package/dist/chunks/{filesystem-e5nv3ght.js → bus-e5nv3ght.js} +2 -2
- package/dist/chunks/{filesystem-18e56dsp.js → bus-ec8389mk.js} +4 -4
- package/dist/chunks/bus-ef5x83kb.js +15 -0
- package/dist/chunks/{filesystem-kk05wj6g.js → bus-epdwxhd2.js} +6 -6
- package/dist/chunks/{filesystem-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-6bckx01s.js → bus-ezae1qs8.js} +9 -9
- package/dist/chunks/{filesystem-f828m53h.js → bus-f828m53h.js} +2 -2
- package/dist/chunks/{filesystem-z2erpwqc.js → bus-f9jtafww.js} +20 -20
- package/dist/chunks/{filesystem-zjyfgt6w.js → bus-fgw8ghar.js} +20 -20
- package/dist/chunks/{filesystem-41k02yvh.js → bus-fm1a330d.js} +9 -9
- package/dist/chunks/{filesystem-y88ze32q.js → bus-fpt1t5k9.js} +22 -22
- package/dist/chunks/{filesystem-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
- package/dist/chunks/{filesystem-79h9wc7p.js → bus-g4jtkv0q.js} +22 -22
- package/dist/chunks/{filesystem-k394pqej.js → bus-g6ddfetr.js} +5 -5
- package/dist/chunks/{filesystem-ks78zxsa.js → bus-g7392d0a.js} +24 -24
- package/dist/chunks/{filesystem-2ctqm5ex.js → bus-g79e3arp.js} +4 -4
- package/dist/chunks/{filesystem-bm5ycmby.js → bus-g8vphm7h.js} +10 -10
- package/dist/chunks/{filesystem-12v7y99v.js → bus-gd4ngw4f.js} +13 -13
- package/dist/chunks/{filesystem-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-60qw2sva.js → bus-ger25q1p.js} +5 -5
- package/dist/chunks/{filesystem-w9s2bh3f.js → bus-ggnfx1zm.js} +73 -73
- package/dist/chunks/{filesystem-h85jpfa0.js → bus-ghhf1gy0.js} +8 -8
- package/dist/chunks/{filesystem-t6xgqy70.js → bus-gndjvj2z.js} +11 -11
- package/dist/chunks/{filesystem-v84z85pp.js → bus-gnrgb9v9.js} +9 -9
- package/dist/chunks/{filesystem-ywkfy99j.js → bus-gsx0ryk4.js} +9 -9
- package/dist/chunks/{filesystem-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
- package/dist/chunks/{filesystem-h03wrkyp.js → bus-h03wrkyp.js} +2 -2
- package/dist/chunks/{filesystem-f8gcejx1.js → bus-h08befas.js} +14 -14
- package/dist/chunks/{filesystem-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-se105tye.js → bus-hbd7vws1.js} +4 -4
- package/dist/chunks/{filesystem-vkxpz7g2.js → bus-hfdr1yjj.js} +4 -4
- package/dist/chunks/{filesystem-0300fd29.js → bus-hfxc90m1.js} +24 -24
- package/dist/chunks/{filesystem-5wvv95xm.js → bus-hfzqgcyy.js} +20 -20
- package/dist/chunks/{filesystem-kh4cqp9s.js → bus-hj3k4jh9.js} +4 -4
- package/dist/chunks/{filesystem-4fy5a9h5.js → bus-hk44n11j.js} +19 -19
- package/dist/chunks/{filesystem-eyeb23k4.js → bus-hkyvkxds.js} +29 -29
- package/dist/chunks/{filesystem-958js9br.js → bus-hp2wwktp.js} +13 -13
- package/dist/chunks/bus-ht5y0zrb.js +18 -0
- package/dist/chunks/{filesystem-gthqyac3.js → bus-htxnrknq.js} +4 -4
- package/dist/chunks/{filesystem-9ewzbff8.js → bus-j0n016qx.js} +25 -25
- package/dist/chunks/{filesystem-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-pmr4s4kc.js → bus-j83byb14.js} +4 -4
- package/dist/chunks/{filesystem-0c4e0yvv.js → bus-j8mgqwvx.js} +30 -30
- package/dist/chunks/{filesystem-vncd6x2p.js → bus-jggyssmj.js} +16 -16
- package/dist/chunks/{filesystem-wbkyxrgf.js → bus-jv01nqvq.js} +5 -5
- package/dist/chunks/{filesystem-vsp1fds9.js → bus-jw80jp6b.js} +21 -21
- package/dist/chunks/{filesystem-d7swqpa7.js → bus-jybjc72p.js} +14 -14
- package/dist/chunks/{filesystem-ahnqppdj.js → bus-k04vznwt.js} +1 -1
- package/dist/chunks/{filesystem-ndaapn5x.js → bus-k1pnz2cv.js} +10 -10
- package/dist/chunks/{filesystem-gg8vxy2p.js → bus-k4ckfpra.js} +24 -24
- package/dist/chunks/{filesystem-9fvhjrgf.js → bus-kbedzpe2.js} +7 -7
- package/dist/chunks/{filesystem-f8652x2w.js → bus-kbj8wr2s.js} +40 -40
- package/dist/chunks/{filesystem-tpw6cwsb.js → bus-kbmmzrfa.js} +8 -8
- package/dist/chunks/{filesystem-kg06axw8.js → bus-kg06axw8.js} +1 -1
- package/dist/chunks/{filesystem-w105trey.js → bus-kjtbq1wq.js} +25 -25
- package/dist/chunks/{filesystem-078gytam.js → bus-kq4p5btq.js} +14 -14
- package/dist/chunks/{filesystem-hr4rc9dq.js → bus-krxgbyqk.js} +22 -22
- package/dist/chunks/{filesystem-nkvjcq56.js → bus-kskytfej.js} +10 -10
- package/dist/chunks/{filesystem-r7yb2281.js → bus-kv6faprq.js} +11 -11
- package/dist/chunks/{filesystem-yy6wawb8.js → bus-m437k3d3.js} +26 -26
- package/dist/chunks/{filesystem-dsqq6j4y.js → bus-m733rx17.js} +6 -6
- package/dist/chunks/{filesystem-cj0ynpdk.js → bus-m8kaps5v.js} +17 -17
- package/dist/chunks/{filesystem-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-cf3tj770.js → bus-m9wy7qrr.js} +6 -6
- package/dist/chunks/{filesystem-jhvzetwt.js → bus-mhct95dk.js} +41 -41
- package/dist/chunks/{filesystem-041s7t4d.js → bus-mp5cac3t.js} +24 -24
- package/dist/chunks/{filesystem-qwwrayhn.js → bus-n21kq4ae.js} +11 -11
- package/dist/chunks/{filesystem-qxe1e9q5.js → bus-n6zxh35m.js} +4 -4
- package/dist/chunks/{filesystem-c0msvw2j.js → bus-neh0hyzc.js} +20 -20
- package/dist/chunks/{filesystem-nhy5jxhy.js → bus-nhy5jxhy.js} +1 -1
- package/dist/chunks/{filesystem-sqhed6c7.js → bus-nja4g5ja.js} +18 -18
- package/dist/chunks/{filesystem-aycy0v5g.js → bus-njsca4c1.js} +11 -11
- package/dist/chunks/{filesystem-ayp6cqfq.js → bus-nk8q2g86.js} +10 -10
- package/dist/chunks/{filesystem-9v4y56cw.js → bus-nnm0m2vm.js} +11 -11
- package/dist/chunks/{filesystem-4xwhw091.js → bus-nt8hxhfc.js} +3 -3
- package/dist/chunks/{filesystem-55yqmepc.js → bus-ntzps28c.js} +20 -20
- package/dist/chunks/{filesystem-eraanh1f.js → bus-nv5vn7qx.js} +6 -6
- package/dist/chunks/{filesystem-av40d20f.js → bus-nvmga65c.js} +1 -1
- package/dist/chunks/{filesystem-rdfsynn7.js → bus-nxs71vds.js} +8 -8
- package/dist/chunks/{filesystem-6ck2t1rv.js → bus-p1wf2k30.js} +9 -9
- package/dist/chunks/{filesystem-j935v87r.js → bus-paphc93g.js} +2 -2
- package/dist/chunks/{filesystem-8jt463w9.js → bus-pd33rgkw.js} +24 -24
- package/dist/chunks/{filesystem-rzj44daq.js → bus-pekwdztj.js} +15 -15
- package/dist/chunks/{filesystem-6xgghmbk.js → bus-phre0exm.js} +43 -43
- package/dist/chunks/{filesystem-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-mrrn9raq.js → bus-pk8w8bk6.js} +6 -6
- package/dist/chunks/{filesystem-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-q8qk0cpb.js → bus-prqh86n1.js} +11 -11
- package/dist/chunks/{filesystem-ppf6v6e1.js → bus-ptn3epm2.js} +36 -36
- package/dist/chunks/{filesystem-v36j07s8.js → bus-pw6fdyzd.js} +15 -15
- package/dist/chunks/{filesystem-12v07r08.js → bus-q6jxhr7p.js} +12 -12
- package/dist/chunks/{filesystem-88bvrjqm.js → bus-qd28bed1.js} +18 -18
- package/dist/chunks/{filesystem-5y27wggs.js → bus-qpmbtp2f.js} +44 -44
- package/dist/chunks/{filesystem-4j9ew2rr.js → bus-qryfzg1h.js} +2 -2
- package/dist/chunks/{filesystem-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-x159k7tn.js → bus-qv39a0h3.js} +11 -11
- package/dist/chunks/{filesystem-4jjph5sa.js → bus-qynpn6w3.js} +9 -9
- package/dist/chunks/{filesystem-r9mregkx.js → bus-r9mregkx.js} +2 -2
- package/dist/chunks/{filesystem-1g7epwpd.js → bus-ratrq7cm.js} +7 -7
- package/dist/chunks/{filesystem-ytapak9r.js → bus-rncwbxby.js} +9 -9
- package/dist/chunks/{filesystem-2da2wngq.js → bus-rp9eysdn.js} +7 -7
- package/dist/chunks/{filesystem-2w43xsrz.js → bus-rrsck48p.js} +13 -13
- package/dist/chunks/{filesystem-87bjq7d8.js → bus-rxx5xmz4.js} +59 -59
- package/dist/chunks/{filesystem-0gdmqesm.js → bus-s8d7rejh.js} +4 -4
- package/dist/chunks/{filesystem-rv6e4z41.js → bus-s9d6zh0h.js} +37 -37
- package/dist/chunks/{filesystem-hwma07pt.js → bus-shjsgrxb.js} +13 -13
- package/dist/chunks/{filesystem-f8rh72t3.js → bus-sqh6nayk.js} +11 -11
- package/dist/chunks/{filesystem-a9pdx8gz.js → bus-ssx0akr1.js} +8 -8
- package/dist/chunks/{filesystem-j8yes9fb.js → bus-svmeqp0f.js} +11 -11
- package/dist/chunks/{filesystem-jay4nmce.js → bus-t1c45aet.js} +35 -35
- package/dist/chunks/{filesystem-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-zdzb03tf.js → bus-tgnjgtxt.js} +3 -3
- package/dist/chunks/{filesystem-5et2ke9z.js → bus-th0k3b77.js} +23 -23
- package/dist/chunks/{filesystem-ad7xdf9r.js → bus-th5xa07d.js} +6 -6
- package/dist/chunks/{filesystem-eh1r3epm.js → bus-tmfmshf6.js} +5 -5
- package/dist/chunks/{filesystem-q9sh34kg.js → bus-tns9284t.js} +28 -28
- package/dist/chunks/{filesystem-zzzpg4zy.js → bus-trqrstes.js} +18 -18
- package/dist/chunks/{filesystem-tvtrv512.js → bus-tvtrv512.js} +1 -1
- package/dist/chunks/{filesystem-v5eees2g.js → bus-v00d0rf7.js} +24 -24
- package/dist/chunks/{filesystem-3c1tgrea.js → bus-ve6nm2s5.js} +6 -6
- package/dist/chunks/{filesystem-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-tmz07czs.js → bus-vgrnjjxn.js} +20 -20
- package/dist/chunks/{filesystem-dhwr7h25.js → bus-vhvgae7m.js} +11 -11
- package/dist/chunks/{filesystem-bccb6npm.js → bus-vj81g6vn.js} +4 -4
- package/dist/chunks/{filesystem-rwdrjh9g.js → bus-vqq20hcc.js} +47 -47
- package/dist/chunks/{filesystem-p815bw41.js → bus-vqy652gj.js} +74 -74
- package/dist/chunks/{filesystem-axc3cb0n.js → bus-vwddtshc.js} +9 -9
- package/dist/chunks/{filesystem-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-4xhf45yx.js → bus-w3tyj9k1.js} +6 -6
- package/dist/chunks/{filesystem-k5734w4a.js → bus-w3wqnbwq.js} +10 -10
- package/dist/chunks/{filesystem-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-wj45sndb.js → bus-w5f57rs9.js} +12 -12
- package/dist/chunks/{filesystem-175mk5tz.js → bus-wam37p85.js} +10 -10
- package/dist/chunks/{filesystem-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-w28ya9nv.js → bus-wwkhhn1t.js} +20 -20
- package/dist/chunks/{filesystem-pwxjd99w.js → bus-wz2jsvc0.js} +20 -20
- package/dist/chunks/{filesystem-dsyn576s.js → bus-wzk3psm3.js} +4 -4
- package/dist/chunks/{filesystem-av1zmrck.js → bus-wzvxt2x2.js} +1 -1
- package/dist/chunks/{filesystem-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-gzxx6bgm.js → bus-xdgxy0vz.js} +17 -17
- package/dist/chunks/{filesystem-6rx9j4b0.js → bus-xrpv7mmk.js} +9 -9
- package/dist/chunks/{filesystem-dywhtpsx.js → bus-xtgghfpp.js} +9 -9
- package/dist/chunks/{filesystem-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-27ekamt2.js → bus-y8dsy1ds.js} +4 -4
- package/dist/chunks/{filesystem-hef24fn2.js → bus-y95q8cn7.js} +40 -40
- package/dist/chunks/{filesystem-nh937vtg.js → bus-ybkecxqz.js} +15 -15
- package/dist/chunks/{filesystem-77xgrpmb.js → bus-yms94mzx.js} +23 -23
- package/dist/chunks/{filesystem-f2n192rq.js → bus-yp2x3t23.js} +4 -4
- package/dist/chunks/{filesystem-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-s4enseaf.js → bus-yrznvahk.js} +2 -2
- package/dist/chunks/{filesystem-p6hxwm8v.js → bus-ytjjq03a.js} +25 -25
- package/dist/chunks/{filesystem-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-29x78va6.js → bus-z63w68vq.js} +6 -6
- package/dist/chunks/{filesystem-hn57h045.js → bus-zcrspsvn.js} +4 -4
- package/dist/chunks/{filesystem-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
- package/dist/chunks/{filesystem-jjt6g8ec.js → bus-zh3ex7ps.js} +10 -10
- package/dist/chunks/{filesystem-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-xn99z6n2.js → bus-zt4wyys7.js} +24 -24
- package/dist/chunks/{filesystem-wh1jz8sn.js → bus-zwreznzq.js} +43 -43
- package/dist/chunks/{filesystem-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -115
- package/dist/config/plugin/command.js +211 -210
- package/dist/config/plugin/compaction.js +159 -157
- package/dist/config/plugin/compatibility.js +137 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -119
- package/dist/config/plugin/image.js +119 -117
- package/dist/config/plugin/instruction.js +89 -87
- package/dist/config/plugin/location-watcher.js +119 -117
- package/dist/config/plugin/mcp.js +128 -126
- package/dist/config/plugin/policy.js +118 -116
- package/dist/config/plugin/provider.js +117 -115
- package/dist/config/plugin/reference.js +121 -119
- package/dist/config/plugin/shell.js +121 -120
- package/dist/config/plugin/skill-file.js +101 -99
- package/dist/config/plugin/skill.js +140 -138
- package/dist/config/plugin/snapshot.js +119 -117
- package/dist/config/plugin/source.js +121 -119
- package/dist/config/plugin/tool-output.js +121 -119
- package/dist/config/plugin/websearch.js +119 -117
- package/dist/config/plugin/worktree.js +122 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -101
- package/dist/file-mutation.js +93 -91
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +223 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -95
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -100
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -84
- package/dist/generate.js +90 -90
- package/dist/git.js +10 -8
- 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 +7 -7
- 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 +356 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -84
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -130
- package/dist/location-mutation.js +103 -101
- package/dist/location-service-map.js +85 -83
- package/dist/location-services.js +353 -352
- package/dist/location.js +88 -86
- package/dist/mcp/client.js +90 -88
- package/dist/mcp/index.js +105 -103
- package/dist/mcp/instructions.js +126 -124
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +89 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +99 -97
- package/dist/plugin/command.js +98 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -326
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +121 -120
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -116
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +121 -119
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +121 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +121 -119
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -345
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +85 -83
- package/dist/plugin/vcs/hg.js +85 -83
- package/dist/plugin/warming.js +116 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +223 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -87
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +87 -86
- package/dist/reference/instructions.js +88 -86
- package/dist/reference.js +86 -84
- package/dist/repository-cache.js +80 -78
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -95
- package/dist/rpc.js +85 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -129
- package/dist/session/context.js +147 -145
- package/dist/session/diff.js +87 -85
- 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 +217 -216
- package/dist/session/execution.js +126 -124
- package/dist/session/generate.js +150 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -94
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -115
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -124
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +104 -102
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -87
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -112
- package/dist/session/runner/step.js +125 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -169
- package/dist/session/shell.js +134 -133
- package/dist/session/skill.js +102 -100
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -153
- package/dist/session/to-session-error.js +111 -109
- package/dist/session/transfer.js +213 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +134 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -104
- package/dist/skill.js +101 -99
- package/dist/snapshot.js +90 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -123
- package/dist/tool/plugin/edit.js +119 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -120
- package/dist/tool/plugin/grep.js +123 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -119
- package/dist/tool/plugin/question.js +102 -100
- package/dist/tool/plugin/read.js +124 -123
- package/dist/tool/plugin/shell.js +216 -215
- package/dist/tool/plugin/skill.js +112 -110
- package/dist/tool/plugin/subagent.js +216 -215
- package/dist/tool/plugin/webfetch.js +109 -107
- package/dist/tool/plugin/websearch.js +113 -111
- package/dist/tool/plugin/write.js +121 -119
- package/dist/tool/read-filesystem.js +97 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/types/util/git-executable.d.ts +2 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +9 -0
- 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 +5 -5
- 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 +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -8
- package/dist/worktree/refresh.js +345 -344
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -91
- package/package.json +8 -8
- package/dist/chunks/filesystem-1x11rq2a.js +0 -18
- package/dist/chunks/filesystem-cfbhz4sy.js +0 -26
- package/dist/chunks/filesystem-kshn8saw.js +0 -247
- /package/dist/chunks/{filesystem-0mesazry.js → bus-0mesazry.js} +0 -0
- /package/dist/chunks/{filesystem-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-922hggd3.js → bus-922hggd3.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-hrnqkpcd.js → bus-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-twg0f83k.js → bus-twg0f83k.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./bus-y95q8cn7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service29
|
|
6
|
+
} from "./bus-894aw507.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin22,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin22 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service53;
|
|
28
|
+
const mcp = yield* Service29;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin22, register2, exports_mcp };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./bus-kjtbq1wq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./bus-rxx5xmz4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin47,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin47 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service67;
|
|
57
|
+
const permission = yield* Service69;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input13,
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin47, exports_question };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./bus-1dcmyt7q.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service58,
|
|
11
|
+
node62
|
|
12
|
+
} from "./bus-g7392d0a.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -26,13 +26,13 @@ __export(exports_filesystem, {
|
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
28
28
|
GrepInput: () => GrepInput2,
|
|
29
|
-
ListInput: () =>
|
|
29
|
+
ListInput: () => ListInput3,
|
|
30
30
|
Match: () => Match2,
|
|
31
|
-
NotFoundError: () =>
|
|
31
|
+
NotFoundError: () => NotFoundError7,
|
|
32
32
|
ReadInput: () => ReadInput2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service57,
|
|
34
34
|
Submatch: () => Submatch2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node61
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import path from "path";
|
|
@@ -44,7 +44,7 @@ var ReadInput2 = Schema.Struct({
|
|
|
44
44
|
path: RelativePath2
|
|
45
45
|
});
|
|
46
46
|
|
|
47
|
-
class
|
|
47
|
+
class NotFoundError7 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
48
48
|
path: RelativePath2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
@@ -55,7 +55,7 @@ var Content3 = Schema.Struct({
|
|
|
55
55
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
56
56
|
mime: Schema.String
|
|
57
57
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
58
|
-
var
|
|
58
|
+
var ListInput3 = Schema.Struct({
|
|
59
59
|
path: Schema.String.pipe(Schema.optional)
|
|
60
60
|
});
|
|
61
61
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -80,12 +80,12 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
80
80
|
}
|
|
81
81
|
var Event13 = FileSystem.Event;
|
|
82
82
|
|
|
83
|
-
class
|
|
83
|
+
class Service57 extends Context.Service()("@opencode/FileSystem") {
|
|
84
84
|
}
|
|
85
|
-
var baseLayer = Layer.effect(
|
|
85
|
+
var baseLayer = Layer.effect(Service57, Effect.gen(function* () {
|
|
86
86
|
const fs = yield* FSUtil.Service;
|
|
87
|
-
const location = yield*
|
|
88
|
-
const search = yield*
|
|
87
|
+
const location = yield* Service76;
|
|
88
|
+
const search = yield* Service58;
|
|
89
89
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
90
90
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
91
91
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -96,15 +96,15 @@ var baseLayer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
96
96
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
97
97
|
return { absolute, real, directory: location.directory };
|
|
98
98
|
});
|
|
99
|
-
return
|
|
99
|
+
return Service57.of({
|
|
100
100
|
find: search.find,
|
|
101
101
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
102
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
103
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
102
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
|
|
103
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
|
|
104
104
|
if (info.type !== "File")
|
|
105
105
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
106
106
|
return {
|
|
107
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
107
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error))),
|
|
108
108
|
mime: FSUtil.mimeType(target.real)
|
|
109
109
|
};
|
|
110
110
|
}),
|
|
@@ -128,10 +128,10 @@ var baseLayer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
128
128
|
})
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
131
|
+
var node61 = makeLocationNode({
|
|
132
|
+
service: Service57,
|
|
133
133
|
layer: baseLayer,
|
|
134
|
-
deps: [FSUtil.node,
|
|
134
|
+
deps: [FSUtil.node, node81, node62]
|
|
135
135
|
});
|
|
136
136
|
|
|
137
|
-
export { FindInput2, ReadInput2,
|
|
137
|
+
export { FindInput2, ReadInput2, NotFoundError7, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event13, Service57, node61, exports_filesystem, Entry4, Match2, Submatch2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-gndjvj2z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID9
|
|
6
|
+
} from "./bus-nxs71vds.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-6dkvr0nf.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID9.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-nt8hxhfc.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-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
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID13,
|
|
17
|
+
Info: () => Info26,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service71,
|
|
21
|
+
node: () => node76
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
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
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID13 = PermissionSaved.ID;
|
|
29
|
+
var Info26 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service71 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service80).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);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID13.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service71.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node76 = makeGlobalNode({ service: Service71, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID13, Info26, ListInput5, AddInput2, Service71, node76, exports_saved };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-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: () => Entry2,
|
|
10
|
+
Info: () => Info11
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry2 = 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 Info11 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry2)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry2, Info11, exports_formatter3 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-nt8hxhfc.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-wzk3psm3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service78,
|
|
14
|
+
node83
|
|
15
|
+
} from "./bus-cftjh0pp.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info33,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-81swgkk7.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./bus-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./bus-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./bus-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info32,
|
|
41
|
+
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service77,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node82,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info32 = Info33;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service77 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -93,9 +93,9 @@ function fromRow(row) {
|
|
|
93
93
|
sandboxes: row.sandboxes
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
96
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service78;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
100
|
const bus = yield* Service79;
|
|
101
101
|
const db = (yield* Service80).db;
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
106
106
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
107
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
108
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
143
143
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
144
144
|
projectID: item.projectID,
|
|
145
145
|
directory: item.directory,
|
|
146
|
-
previous: project.previous ??
|
|
146
|
+
previous: project.previous ?? ID17.global,
|
|
147
147
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
148
148
|
}, {
|
|
149
149
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
166
166
|
time_updated: Date.now()
|
|
167
167
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
168
168
|
if (!row)
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event20.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID17.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID17.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID17.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID17.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service77.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node82 = makeGlobalNode({
|
|
276
|
+
service: Service77,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [node84, node85, FSUtil.node,
|
|
278
|
+
deps: [node84, node85, FSUtil.node, node83, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service77, node82, exports_project };
|