@opencode/core 0.0.0-dev-20118 → 0.0.0-dev-20120
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 +83 -83
- 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/{websearch-07770t2t.js → bus-0aphxhy3.js} +8 -8
- package/dist/chunks/{websearch-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{websearch-aq2c9fph.js → bus-0pwtbm8d.js} +41 -41
- package/dist/chunks/{websearch-hyfjqrg5.js → bus-0tk2ys0w.js} +2 -2
- package/dist/chunks/{websearch-bct739vz.js → bus-0v53mg2y.js} +4 -4
- package/dist/chunks/{websearch-bdqrk2vk.js → bus-10jtetaj.js} +4 -4
- package/dist/chunks/{websearch-expsd78h.js → bus-164s88qm.js} +1 -1
- package/dist/chunks/{websearch-f2n192rq.js → bus-1acjjqhc.js} +4 -4
- package/dist/chunks/{websearch-jdp72g4m.js → bus-1aff68qb.js} +24 -24
- package/dist/chunks/{websearch-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{websearch-xb02k0wq.js → bus-1g7epwpd.js} +7 -7
- package/dist/chunks/{websearch-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{websearch-m46bpvmz.js → bus-23p96v1r.js} +1 -1
- package/dist/chunks/{websearch-2402vzrj.js → bus-2402vzrj.js} +1 -1
- package/dist/chunks/{websearch-00zbr2h8.js → bus-289e86vh.js} +11 -11
- package/dist/chunks/{websearch-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{websearch-2qq7qy34.js → bus-2e96adxv.js} +7 -7
- package/dist/chunks/{websearch-qsvtbpmc.js → bus-2eh44jhm.js} +26 -26
- package/dist/chunks/{websearch-fh08m0hv.js → bus-2hf4ykx9.js} +1 -1
- package/dist/chunks/{websearch-1nwxscpy.js → bus-2hg7qvzt.js} +5 -5
- package/dist/chunks/{websearch-2k8khapm.js → bus-2k8khapm.js} +1 -1
- package/dist/chunks/{websearch-arndb05z.js → bus-2p8k3371.js} +6 -6
- package/dist/chunks/{websearch-rc8htstm.js → bus-2rs5yfkz.js} +11 -11
- package/dist/chunks/{websearch-gbgkms5e.js → bus-2vxnta51.js} +25 -25
- package/dist/chunks/{websearch-sgkvrytn.js → bus-2z8310yg.js} +24 -24
- package/dist/chunks/{websearch-56gdpj1q.js → bus-33w4ejhs.js} +6 -6
- package/dist/chunks/{websearch-2qp6y8xf.js → bus-37s12vcn.js} +5 -5
- package/dist/chunks/{websearch-phxjf0fv.js → bus-3dynr17n.js} +1 -1
- package/dist/chunks/{websearch-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-cj4hp9rx.js → bus-3kg98aef.js} +27 -27
- package/dist/chunks/{websearch-z1xe8svw.js → bus-3mvfcwmn.js} +11 -11
- package/dist/chunks/{websearch-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-p8jxkbs0.js → bus-3ykcbj89.js} +10 -10
- package/dist/chunks/{websearch-3zsf4n22.js → bus-3zsf4n22.js} +1 -1
- package/dist/chunks/{websearch-cgpbfdkm.js → bus-4473wfhr.js} +21 -21
- package/dist/chunks/{websearch-7a3d470b.js → bus-46443g93.js} +33 -33
- package/dist/chunks/{websearch-axs6pdy0.js → bus-4a6jpjer.js} +5 -5
- package/dist/chunks/{websearch-2rvyvdp1.js → bus-4dwjvpsb.js} +26 -26
- package/dist/chunks/{websearch-f32czd11.js → bus-4k0xqdp1.js} +11 -11
- package/dist/chunks/{websearch-nce6dcqc.js → bus-4y5r2s8b.js} +40 -40
- package/dist/chunks/{websearch-fmqkerx8.js → bus-4zt7vk3e.js} +5 -5
- package/dist/chunks/{websearch-axmvebxj.js → bus-50mzsvk4.js} +21 -21
- package/dist/chunks/{websearch-qte5z7bc.js → bus-510m7gjw.js} +5 -5
- package/dist/chunks/{websearch-32ywsj81.js → bus-532wn72m.js} +23 -23
- package/dist/chunks/{websearch-gmg1j3x7.js → bus-53he4jtf.js} +13 -13
- package/dist/chunks/{websearch-sv7nr87y.js → bus-558q8f18.js} +4 -4
- package/dist/chunks/{websearch-drwq78ky.js → bus-57b9ws8p.js} +5 -5
- package/dist/chunks/{websearch-57ez7d0k.js → bus-57ez7d0k.js} +2 -2
- package/dist/chunks/{websearch-prpwer4y.js → bus-591hfs6w.js} +14 -14
- package/dist/chunks/{websearch-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{websearch-76zdkzzt.js → bus-5e23jtee.js} +4 -4
- package/dist/chunks/{websearch-5ekn9679.js → bus-5ekn9679.js} +1 -1
- package/dist/chunks/{websearch-zdvqb3z8.js → bus-5hsmzm6x.js} +22 -22
- package/dist/chunks/{websearch-x2fzcbnd.js → bus-5hw9wg1w.js} +15 -15
- package/dist/chunks/{websearch-h43fd19a.js → bus-5mhk3hnh.js} +5 -5
- package/dist/chunks/{websearch-e3qxr5gk.js → bus-5qd3pb7m.js} +2 -2
- package/dist/chunks/{websearch-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{websearch-mvksx64m.js → bus-5xpznt2d.js} +4 -4
- package/dist/chunks/{websearch-b8wa1mr8.js → bus-5y16yxhf.js} +38 -38
- package/dist/chunks/{websearch-was7srj9.js → bus-64s65d1n.js} +5 -5
- package/dist/chunks/{websearch-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{websearch-vhf325k8.js → bus-6790c4gc.js} +10 -10
- package/dist/chunks/{websearch-ph5505mn.js → bus-6869j5x3.js} +18 -18
- package/dist/chunks/{websearch-mh12x1ba.js → bus-68t91stz.js} +12 -12
- package/dist/chunks/{websearch-6f4dpw18.js → bus-69fyavwc.js} +13 -13
- package/dist/chunks/{websearch-wqyjj027.js → bus-6e7ra9xr.js} +37 -37
- package/dist/chunks/{websearch-r33ff4dw.js → bus-6ersrjne.js} +4 -4
- package/dist/chunks/{websearch-ye47tcby.js → bus-6g6czt8k.js} +20 -20
- package/dist/chunks/bus-6kdq0pjd.js +4 -0
- package/dist/chunks/{websearch-qgas7w85.js → bus-6kf7h7pm.js} +4 -4
- package/dist/chunks/{websearch-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
- package/dist/chunks/{websearch-jmc0nfdv.js → bus-6nj7wcw4.js} +11 -11
- package/dist/chunks/{websearch-stphwdpj.js → bus-6v5a3sjt.js} +22 -22
- package/dist/chunks/{websearch-0qjawfvm.js → bus-6vjn8bs4.js} +2 -2
- package/dist/chunks/{websearch-6awptfe3.js → bus-7667x3dh.js} +6 -6
- package/dist/chunks/{websearch-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-3zn6z7n4.js → bus-7hxcrbpt.js} +12 -12
- package/dist/chunks/{websearch-5dpjs61y.js → bus-7n4snhe6.js} +16 -16
- package/dist/chunks/{websearch-wbwx9z67.js → bus-7qyhf897.js} +48 -48
- package/dist/chunks/{websearch-jexxy024.js → bus-7w99qc9d.js} +3 -3
- package/dist/chunks/{websearch-jewzahs7.js → bus-80scg3y3.js} +4 -4
- package/dist/chunks/{websearch-canzdsm1.js → bus-82f2n6pz.js} +16 -16
- package/dist/chunks/{websearch-wk5z6jzv.js → bus-82rhge12.js} +9 -9
- package/dist/chunks/{websearch-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{websearch-t8kvjvz8.js → bus-8jgdc00b.js} +43 -43
- package/dist/chunks/{websearch-a457gh2g.js → bus-8ntpctcn.js} +3 -3
- package/dist/chunks/{websearch-vr5g327j.js → bus-8x3489c6.js} +10 -10
- package/dist/chunks/{websearch-94ek1h2f.js → bus-94ek1h2f.js} +2 -2
- package/dist/chunks/{websearch-b3fcd693.js → bus-98hraz26.js} +9 -9
- package/dist/chunks/{websearch-gj0qdapf.js → bus-9a0tea98.js} +15 -15
- package/dist/chunks/{websearch-05yvdnjm.js → bus-9a9tb9b7.js} +124 -124
- package/dist/chunks/{websearch-gpk600j1.js → bus-9e4j78a5.js} +15 -15
- package/dist/chunks/{websearch-01bqj969.js → bus-9ra3hjx5.js} +12 -12
- package/dist/chunks/{websearch-xj4s7r29.js → bus-9tsa03a7.js} +23 -23
- package/dist/chunks/{websearch-4m034c15.js → bus-9wzzv3d4.js} +12 -12
- package/dist/chunks/{websearch-xca9eg7t.js → bus-a4w2tty6.js} +16 -16
- package/dist/chunks/{websearch-gj66es6f.js → bus-a7q78ykb.js} +6 -6
- package/dist/chunks/{websearch-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{websearch-7rzyxcse.js → bus-ag9dg5tv.js} +4 -4
- package/dist/chunks/{websearch-sefks3xs.js → bus-ajvebkcv.js} +11 -11
- package/dist/chunks/{websearch-95qdm1tn.js → bus-an2m8jxp.js} +7 -7
- package/dist/chunks/{websearch-mwpp95n5.js → bus-b1k96n1k.js} +11 -11
- package/dist/chunks/{websearch-4fmj9rbv.js → bus-b3mnbz4x.js} +19 -19
- package/dist/chunks/{websearch-p4e8v1ea.js → bus-b5pmzzwt.js} +16 -16
- package/dist/chunks/{websearch-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{websearch-2vs2nh1n.js → bus-baaqp4zd.js} +4 -4
- package/dist/chunks/bus-bb4pz6c3.js +252 -0
- package/dist/chunks/{websearch-gxvskc1c.js → bus-bcc00dfx.js} +20 -20
- package/dist/chunks/{websearch-bwmw4hhn.js → bus-bjkbzs1n.js} +7 -7
- package/dist/chunks/{websearch-nvwwpce5.js → bus-bn9g0ay3.js} +11 -11
- package/dist/chunks/{websearch-j3byw0t8.js → bus-bpa4sr12.js} +11 -11
- package/dist/chunks/{websearch-x3gqap9d.js → bus-btbmdjwj.js} +4 -4
- package/dist/chunks/{websearch-hd5pxs3e.js → bus-bx8k04fv.js} +14 -14
- package/dist/chunks/{websearch-b5egyxx7.js → bus-c0tew9h0.js} +79 -79
- package/dist/chunks/{websearch-wnhe8mee.js → bus-c2d6efkk.js} +15 -15
- package/dist/chunks/{websearch-9pqh0mfn.js → bus-cg1zn3em.js} +26 -26
- package/dist/chunks/{websearch-ckecvw8r.js → bus-ckecvw8r.js} +2 -2
- package/dist/chunks/{websearch-z0zajdd9.js → bus-cnwavjs9.js} +10 -10
- package/dist/chunks/{websearch-qmqgtz8f.js → bus-cwa6csj7.js} +9 -9
- package/dist/chunks/{websearch-ednacpwq.js → bus-d0dpxhdy.js} +13 -13
- package/dist/chunks/{websearch-wcam2ekn.js → bus-d1ybfbkk.js} +11 -11
- package/dist/chunks/{websearch-jv32tg6y.js → bus-d1ywvx9d.js} +15 -15
- package/dist/chunks/{websearch-3fc5r9za.js → bus-d27fb3rp.js} +17 -17
- package/dist/chunks/{websearch-0bcsnbxw.js → bus-d63sn1es.js} +20 -20
- package/dist/chunks/{websearch-wvnhsp5f.js → bus-dce2hbks.js} +17 -17
- package/dist/chunks/{websearch-3g33scay.js → bus-dg2cj1yd.js} +4 -4
- package/dist/chunks/{websearch-qexn5fdw.js → bus-dm5wnt06.js} +11 -11
- package/dist/chunks/{websearch-4zykmcfq.js → bus-dr9114b3.js} +11 -11
- package/dist/chunks/{websearch-br0tr5aq.js → bus-dv1qgsyq.js} +8 -8
- package/dist/chunks/{websearch-tqfk69c4.js → bus-dvjwc1jd.js} +24 -24
- package/dist/chunks/{websearch-hdbj9hrc.js → bus-e1hrzsan.js} +12 -12
- package/dist/chunks/{websearch-ecfe7b91.js → bus-ecfe7b91.js} +2 -2
- package/dist/chunks/{websearch-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
- package/dist/chunks/{websearch-dc9c9z2d.js → bus-eh6v2xt8.js} +3 -3
- package/dist/chunks/{websearch-xq0855af.js → bus-ej2v6pb4.js} +14 -14
- package/dist/chunks/{websearch-y66yhhps.js → bus-en6pdrmj.js} +5 -5
- package/dist/chunks/{websearch-wyz769nk.js → bus-en855e9q.js} +20 -20
- package/dist/chunks/{websearch-rjvny43j.js → bus-er6eqcq4.js} +9 -9
- package/dist/chunks/{websearch-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{websearch-b9mdc0qg.js → bus-f7srz8vp.js} +28 -28
- package/dist/chunks/{websearch-skvwngwh.js → bus-ffyxsvc8.js} +31 -31
- package/dist/chunks/{websearch-4kqx0vqr.js → bus-frttmpwd.js} +14 -14
- package/dist/chunks/{websearch-47h2xtv2.js → bus-g2vg20pk.js} +13 -13
- package/dist/chunks/{websearch-n5eqrmk4.js → bus-g3zs80zy.js} +13 -13
- package/dist/chunks/{websearch-zxh86pzk.js → bus-g8yrnpej.js} +26 -26
- package/dist/chunks/{websearch-s4cjn43h.js → bus-gbnpsc00.js} +28 -28
- package/dist/chunks/{websearch-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-pjry8kxj.js → bus-gepv4h39.js} +13 -13
- package/dist/chunks/{websearch-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
- package/dist/chunks/{websearch-bc7rdrht.js → bus-gxqmhm25.js} +1 -1
- package/dist/chunks/{websearch-h6r3nrb9.js → bus-h6r3nrb9.js} +1 -1
- package/dist/chunks/{websearch-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-pvd53hwm.js → bus-hk3ctm5n.js} +8 -8
- package/dist/chunks/{websearch-d2aac7k2.js → bus-hkfg6fzm.js} +5 -5
- package/dist/chunks/{websearch-bffx8fj9.js → bus-htr6fmqq.js} +16 -16
- package/dist/chunks/{websearch-yw6xyxt6.js → bus-j09v5y8k.js} +16 -16
- package/dist/chunks/{websearch-xt0hhgf6.js → bus-j4mkemyr.js} +30 -30
- package/dist/chunks/{websearch-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{websearch-v5an5mr2.js → bus-j6cs17n6.js} +33 -33
- package/dist/chunks/{websearch-hhy1frjd.js → bus-javke9pj.js} +16 -16
- package/dist/chunks/{websearch-9n655km2.js → bus-jh3gssky.js} +5 -5
- package/dist/chunks/{websearch-6ws35apg.js → bus-jh5fsdvg.js} +59 -59
- package/dist/chunks/{websearch-hqtqhwxa.js → bus-jh76kevn.js} +11 -11
- package/dist/chunks/{websearch-1fvkf3yc.js → bus-jhdkfdqd.js} +26 -26
- package/dist/chunks/{websearch-g3c507yx.js → bus-jmc0v9mm.js} +9 -9
- package/dist/chunks/{websearch-sp61a2fv.js → bus-jnnfack4.js} +14 -14
- package/dist/chunks/bus-jqh9b0xq.js +18 -0
- package/dist/chunks/{websearch-zxskzzzf.js → bus-k3fvns7c.js} +305 -305
- package/dist/chunks/{websearch-hehaxqkv.js → bus-k3yea1v9.js} +4 -4
- package/dist/chunks/{websearch-vtd2qwnf.js → bus-k53npxr2.js} +1 -1
- package/dist/chunks/{websearch-y9az0kfb.js → bus-k9p607fy.js} +10 -10
- package/dist/chunks/{websearch-v76by4bg.js → bus-kb3wdknj.js} +6 -6
- package/dist/chunks/{websearch-4y2j56ep.js → bus-kgnf550j.js} +24 -24
- package/dist/chunks/{websearch-bshzhdg2.js → bus-kq7cxy5p.js} +20 -20
- package/dist/chunks/{websearch-fqwybpw7.js → bus-kwg24pm2.js} +17 -17
- package/dist/chunks/{websearch-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
- package/dist/chunks/{websearch-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-rr1eygnc.js → bus-mestvbzy.js} +26 -26
- package/dist/chunks/{websearch-r5x6zcsm.js → bus-mhkvc446.js} +3 -3
- package/dist/chunks/{websearch-6t2egc8p.js → bus-mhm4sgj3.js} +33 -33
- package/dist/chunks/{websearch-fm7hezs9.js → bus-mj2a8ndt.js} +8 -8
- package/dist/chunks/bus-mt8qwt01.js +26 -0
- package/dist/chunks/{websearch-pbwz3a2s.js → bus-mxd8xx25.js} +4 -4
- package/dist/chunks/{websearch-hwam8trn.js → bus-my28n560.js} +13 -13
- package/dist/chunks/{websearch-r0jvef0m.js → bus-mz78b8aw.js} +36 -36
- package/dist/chunks/{websearch-a3r4dcrj.js → bus-nng2ktcm.js} +2 -2
- package/dist/chunks/{websearch-kxha6yna.js → bus-ntvje2wv.js} +3 -3
- package/dist/chunks/{websearch-m11dzzt3.js → bus-nz226qv2.js} +38 -38
- package/dist/chunks/{websearch-k3c624dm.js → bus-nzks3jc8.js} +3 -3
- package/dist/chunks/{websearch-wkfeftpe.js → bus-p26h8rmj.js} +17 -17
- package/dist/chunks/{websearch-mg67x59w.js → bus-p2ghveb7.js} +10 -10
- package/dist/chunks/{websearch-1b3ewrck.js → bus-p4h2ee3k.js} +43 -43
- package/dist/chunks/{websearch-4mkr9hcd.js → bus-pfvrqk7c.js} +3 -3
- package/dist/chunks/{websearch-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-s1a73aqh.js → bus-pmnz6x88.js} +33 -33
- package/dist/chunks/{websearch-zwkfvqyp.js → bus-pxnn0hzj.js} +3 -3
- package/dist/chunks/{websearch-ph9ehj03.js → bus-q0kn3svj.js} +9 -9
- package/dist/chunks/{websearch-qpgp5a2z.js → bus-q4rrewpj.js} +8 -8
- package/dist/chunks/{websearch-fqanw6rc.js → bus-qd7njmhj.js} +18 -18
- package/dist/chunks/{websearch-264esmj9.js → bus-qejegbf7.js} +9 -9
- package/dist/chunks/{websearch-qg0jgkcp.js → bus-qg0jgkcp.js} +2 -2
- package/dist/chunks/{websearch-953dpdgm.js → bus-qjmyffbz.js} +15 -15
- package/dist/chunks/{websearch-0khadm4q.js → bus-qkzt4n85.js} +25 -25
- package/dist/chunks/{websearch-wqatqsx9.js → bus-qp0qcvc3.js} +4 -4
- package/dist/chunks/{websearch-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-4cng5cjd.js → bus-qysagv28.js} +8 -8
- package/dist/chunks/{websearch-thhpn7k4.js → bus-r5zp2xvk.js} +4 -4
- package/dist/chunks/{websearch-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
- package/dist/chunks/{websearch-3ycmr50p.js → bus-rn4807fq.js} +8 -8
- package/dist/chunks/{websearch-p191thce.js → bus-s2r1nmf5.js} +16 -16
- package/dist/chunks/{websearch-59hdvdat.js → bus-s4y91pv1.js} +1 -1
- package/dist/chunks/{websearch-at1kfnmk.js → bus-s5met55r.js} +8 -8
- package/dist/chunks/{websearch-rhjbct0v.js → bus-s8d7rejh.js} +4 -4
- package/dist/chunks/{websearch-g1b6mt1z.js → bus-sc0dy51e.js} +24 -24
- package/dist/chunks/{websearch-m9qtt4tk.js → bus-set96w9c.js} +25 -25
- package/dist/chunks/{websearch-nymp1kk7.js → bus-sq03nw7q.js} +5 -5
- package/dist/chunks/{websearch-9k848ddb.js → bus-ssxxqz2z.js} +48 -48
- package/dist/chunks/{websearch-ke2qq1g1.js → bus-svwvgw0p.js} +2 -2
- package/dist/chunks/{websearch-jvvc3tfq.js → bus-t6qketva.js} +9 -9
- package/dist/chunks/{websearch-gcpgwnkq.js → bus-t9nxfj60.js} +18 -18
- package/dist/chunks/{websearch-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{websearch-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-hvm9sc2x.js → bus-tkxy3zey.js} +6 -6
- package/dist/chunks/{websearch-t3naazrw.js → bus-tmw8r5ax.js} +18 -18
- package/dist/chunks/{websearch-tvtrv512.js → bus-tvtrv512.js} +1 -1
- package/dist/chunks/{websearch-2yj12mv0.js → bus-v9cj5dav.js} +7 -7
- package/dist/chunks/{websearch-j1ff3waz.js → bus-v9ttbc11.js} +9 -9
- package/dist/chunks/{websearch-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-vy4zg7qh.js → bus-vy4zg7qh.js} +5 -5
- package/dist/chunks/{websearch-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{websearch-54tv6v0v.js → bus-w3qytxyt.js} +13 -13
- package/dist/chunks/{websearch-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-yze6d0jy.js → bus-w4j00t45.js} +16 -16
- package/dist/chunks/{websearch-4897e1xg.js → bus-w7k6j2a3.js} +47 -47
- package/dist/chunks/{websearch-rkprpv83.js → bus-w92k2e0p.js} +8 -8
- package/dist/chunks/{websearch-b2tqmpkw.js → bus-wad8yrrs.js} +14 -14
- package/dist/chunks/{websearch-0sj717ma.js → bus-wam6zj6d.js} +19 -19
- package/dist/chunks/{websearch-wd3x2cqz.js → bus-wd3x2cqz.js} +2 -2
- package/dist/chunks/{websearch-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-35dtgagb.js → bus-wgxdx5hm.js} +13 -13
- package/dist/chunks/{websearch-4jx3gpp5.js → bus-wn1pdx1c.js} +4 -4
- package/dist/chunks/{websearch-ycn4t7wm.js → bus-wpkwc4jm.js} +1 -1
- package/dist/chunks/{websearch-w82wwdqk.js → bus-wrtwksw2.js} +24 -24
- package/dist/chunks/{websearch-bbtdh3p9.js → bus-wswstrrw.js} +30 -30
- package/dist/chunks/{websearch-r3qg8sw1.js → bus-x17jm467.js} +84 -84
- package/dist/chunks/{websearch-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{websearch-fz7vsex0.js → bus-x1fhfwhd.js} +3 -3
- package/dist/chunks/{websearch-6c7yw9pm.js → bus-x2qdxhwm.js} +8 -8
- package/dist/chunks/{websearch-rgtxyth3.js → bus-x4w3r6cj.js} +9 -9
- package/dist/chunks/{websearch-4238gvvk.js → bus-x5yxy9ce.js} +24 -24
- package/dist/chunks/{websearch-q79da18j.js → bus-x88sd9vg.js} +10 -10
- package/dist/chunks/{websearch-sxzvkvgj.js → bus-xcd0eash.js} +6 -6
- package/dist/chunks/{websearch-g2cmafz5.js → bus-xfkng03w.js} +6 -6
- package/dist/chunks/{websearch-xkntkrq7.js → bus-xkntkrq7.js} +2 -2
- package/dist/chunks/{websearch-76950xa5.js → bus-xr3vnqvw.js} +3 -3
- package/dist/chunks/{websearch-4jt1d5cp.js → bus-xsq35xtq.js} +16 -16
- package/dist/chunks/{websearch-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-y71avatq.js → bus-y71avatq.js} +1 -1
- package/dist/chunks/{websearch-6jr000nk.js → bus-y7zpcszc.js} +8 -8
- package/dist/chunks/{websearch-z2skmjsw.js → bus-y9wajj3h.js} +11 -11
- package/dist/chunks/{websearch-dnymygff.js → bus-ybcjevba.js} +15 -15
- package/dist/chunks/{websearch-35mywdmp.js → bus-ygm7vbzh.js} +15 -15
- package/dist/chunks/{websearch-n221vq2f.js → bus-yr3b1252.js} +9 -9
- package/dist/chunks/{websearch-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{websearch-s4enseaf.js → bus-yrznvahk.js} +2 -2
- package/dist/chunks/{websearch-jjzp10gt.js → bus-yt4p079e.js} +14 -14
- package/dist/chunks/{websearch-7rwqf82v.js → bus-yvvvp4gn.js} +8 -8
- package/dist/chunks/{websearch-rdj3qexs.js → bus-yytqf23a.js} +10 -10
- package/dist/chunks/{websearch-dcdpbtqd.js → bus-yyvycyd9.js} +6 -6
- package/dist/chunks/{websearch-z07pqspn.js → bus-z07pqspn.js} +3 -3
- package/dist/chunks/{websearch-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-n6jh3xvy.js → bus-z2ydsh5b.js} +15 -15
- package/dist/chunks/{websearch-29x78va6.js → bus-z63w68vq.js} +6 -6
- package/dist/chunks/{websearch-0hrd50ej.js → bus-z84vp5bs.js} +4 -4
- package/dist/chunks/{websearch-01cq0x14.js → bus-zd4x75bk.js} +34 -34
- package/dist/chunks/{websearch-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
- package/dist/chunks/{websearch-jpgy1jnp.js → bus-zfbsw1e6.js} +3 -3
- package/dist/chunks/{websearch-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-brdm0fzs.js → bus-zr2g05xs.js} +11 -11
- package/dist/chunks/{websearch-9ptxgvyj.js → bus-zt8acy92.js} +8 -8
- package/dist/chunks/{websearch-ksnm7g12.js → bus-zw0kpawm.js} +18 -18
- package/dist/chunks/{websearch-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- 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 +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +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 +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +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 +371 -371
- 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/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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- 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 +1 -1
- package/dist/integration.js +76 -76
- 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-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +90 -90
- package/dist/models-dev.js +101 -101
- 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 +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +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/cloudflare-ai-gateway.js +121 -121
- 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 +93 -93
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- 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 +78 -78
- 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 +160 -160
- 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 +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +89 -89
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- 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 +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- 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 +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- 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 +215 -215
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +110 -110
- 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/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/websearch-ddrc82yz.js +0 -252
- package/dist/chunks/websearch-dxj72tfx.js +0 -18
- package/dist/chunks/websearch-gfg60wza.js +0 -26
- package/dist/chunks/websearch-qapv375x.js +0 -4
- /package/dist/chunks/{websearch-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-34c7v6d4.js → bus-34c7v6d4.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{websearch-922hggd3.js → bus-922hggd3.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./bus-6g6czt8k.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./bus-w7k6j2a3.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 = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
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 name14 = "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
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
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* Service78;
|
|
57
|
+
const permission = yield* Service62;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-0tk2ys0w.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./bus-5y16yxhf.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service25
|
|
12
|
+
} from "./bus-htr6fmqq.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin48
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin48 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service45;
|
|
34
34
|
const location = yield* Service80;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service25;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin31 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin48, exports_worktree };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service54,
|
|
6
|
+
node56
|
|
7
|
+
} from "./bus-4473wfhr.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service19,
|
|
17
|
+
node: () => node22,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service19 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service54;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service19.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node22 = makeLocationNode({ service: Service19, layer, deps: [node56] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service19, readText2, syncTextBom2, node22, exports_file_mutation };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service82,
|
|
9
9
|
node86
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-vy4zg7qh.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-0tk2ys0w.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./bus-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error5,
|
|
26
|
+
ID: () => ID11,
|
|
27
|
+
Service: () => Service67,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node71,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
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 ID11 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service67 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID11.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
|
|
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 Service67.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node71 = makeLocationNode({
|
|
144
|
+
service: Service67,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service67, Service67.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service37, Service37.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error5({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID11, Error5, Service67, node71, noopLayer3, exports_snapshot2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-xr3vnqvw.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-r5zp2xvk.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info31,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service79,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node83
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID16 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info31 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID16,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service79 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info31({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service79.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info31({
|
|
80
|
+
id: ID16.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node83 = makeGlobalNode({ service: Service79, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID16, OAuth3, Key4, Value2, Event20, Info31, Service79, node83, exports_credential };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service57,
|
|
3
|
+
node60,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-v9ttbc11.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service52,
|
|
8
|
+
node54
|
|
9
|
+
} from "./bus-xcd0eash.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service14
|
|
12
|
+
} from "./bus-3kg98aef.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-bb4pz6c3.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service57, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service14);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node54.replace(Layer.succeed(Service52, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node60.replace(Layer.succeed(Service57, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-xr3vnqvw.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-r5zp2xvk.js";
|
|
12
12
|
import {
|
|
13
13
|
Service82,
|
|
14
14
|
node86
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-vy4zg7qh.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./bus-wd3x2cqz.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./bus-94ek1h2f.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 = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info12,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info12 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info12, exports_mcp5 };
|