@opencode/core 0.0.0-dev-19352 → 0.0.0-dev-19358
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +81 -81
- package/dist/chunks/{vcs-g9vt8npf.js → command-04rtynqt.js} +20 -20
- package/dist/chunks/{vcs-md4p8jx7.js → command-06wjbj88.js} +16 -16
- package/dist/chunks/{vcs-5vb9gjps.js → command-070a9e04.js} +38 -38
- package/dist/chunks/{vcs-89aakzzy.js → command-0btf9jkj.js} +4 -4
- package/dist/chunks/{vcs-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-0q0f95c6.js → command-0q0f95c6.js} +1 -1
- package/dist/chunks/{vcs-f15kpgz7.js → command-0w6bwpjx.js} +36 -36
- package/dist/chunks/{vcs-5k606f7k.js → command-138p5ddt.js} +24 -24
- package/dist/chunks/{vcs-fhgv8s92.js → command-13mzqdtz.js} +14 -14
- package/dist/chunks/{vcs-q35rmx0b.js → command-15n42rft.js} +37 -37
- package/dist/chunks/{vcs-4vt5pay0.js → command-19av3p62.js} +10 -10
- package/dist/chunks/{vcs-d216944b.js → command-19vf66h0.js} +7 -7
- package/dist/chunks/{vcs-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-1dfhrqqs.js → command-1dfhrqqs.js} +2 -2
- package/dist/chunks/{vcs-r9babyk8.js → command-1wxb385z.js} +1 -1
- package/dist/chunks/{vcs-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{vcs-2402vzrj.js → command-2402vzrj.js} +1 -1
- package/dist/chunks/{vcs-6skfy287.js → command-24w00f77.js} +29 -29
- package/dist/chunks/{vcs-z63w68vq.js → command-29x78va6.js} +6 -6
- package/dist/chunks/{vcs-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-5amwhyk8.js → command-2a7hagjp.js} +6 -6
- package/dist/chunks/{vcs-h2r7bbkd.js → command-2femdq6k.js} +8 -8
- package/dist/chunks/{vcs-jw80jp6b.js → command-2pnhn36q.js} +21 -21
- package/dist/chunks/{vcs-c78bbtc9.js → command-2qp6y8xf.js} +5 -5
- package/dist/chunks/{vcs-1rvshjc5.js → command-2rfrcgce.js} +32 -32
- package/dist/chunks/{vcs-3g39bars.js → command-2xe896hw.js} +290 -290
- package/dist/chunks/{vcs-19tkkezt.js → command-31wrjn3h.js} +16 -16
- package/dist/chunks/{vcs-n6x7b3rg.js → command-33xc6zn2.js} +7 -7
- package/dist/chunks/{vcs-nry70fe1.js → command-39q35cms.js} +20 -20
- package/dist/chunks/{vcs-8zsh1gfm.js → command-3eg94j8w.js} +38 -38
- package/dist/chunks/{vcs-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-hyxv6ya2.js → command-3kpvh92z.js} +23 -23
- package/dist/chunks/{vcs-npvkfe5e.js → command-3m9dzf4r.js} +1 -1
- package/dist/chunks/{vcs-f8x5rdn0.js → command-3nc90kmd.js} +3 -3
- package/dist/chunks/{vcs-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-ke96686p.js → command-43t6csf6.js} +17 -17
- package/dist/chunks/{vcs-keta4zkg.js → command-454ap3be.js} +9 -9
- package/dist/chunks/{vcs-x8qdq8sj.js → command-45d0vtt8.js} +6 -6
- package/dist/chunks/{vcs-yn3zm7tz.js → command-48q4dgm3.js} +10 -10
- package/dist/chunks/{vcs-jbz7verq.js → command-493vsnxm.js} +17 -17
- package/dist/chunks/{vcs-73c5pb4q.js → command-49grzd0n.js} +9 -9
- package/dist/chunks/{vcs-54n60knz.js → command-4a54se45.js} +47 -47
- package/dist/chunks/{vcs-7mwxg484.js → command-4bj5xf3m.js} +27 -27
- package/dist/chunks/{vcs-tfngb0ww.js → command-4da4ndpv.js} +4 -4
- package/dist/chunks/{vcs-1hda6s4f.js → command-4e5nbqbj.js} +64 -64
- package/dist/chunks/{vcs-gdezgtpw.js → command-4e7426jc.js} +8 -8
- package/dist/chunks/{vcs-n76fdqym.js → command-4mkcvr19.js} +5 -5
- package/dist/chunks/{vcs-1g5zcjq6.js → command-4pre3909.js} +11 -11
- package/dist/chunks/{vcs-s1wdsb24.js → command-4wn6b914.js} +32 -32
- package/dist/chunks/{vcs-1ygqh575.js → command-56gdpj1q.js} +9 -9
- package/dist/chunks/{vcs-vrx2x45w.js → command-59zahvaa.js} +18 -18
- package/dist/chunks/{vcs-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{vcs-7w99qc9d.js → command-5epte933.js} +2 -2
- package/dist/chunks/{vcs-k16ay38w.js → command-5nsrms9d.js} +1 -1
- package/dist/chunks/{vcs-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-2e96adxv.js → command-5xp4z8zk.js} +9 -9
- package/dist/chunks/command-619r8v3y.js +18 -0
- package/dist/chunks/{vcs-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{vcs-v33xfvcj.js → command-68xpwqwy.js} +9 -9
- package/dist/chunks/{vcs-618ahsfg.js → command-6c1g49x3.js} +9 -9
- package/dist/chunks/command-6kdq0pjd.js +4 -0
- package/dist/chunks/{vcs-6msgmcgs.js → command-6msgmcgs.js} +1 -1
- package/dist/chunks/{vcs-ezneqf5r.js → command-6tqsccrn.js} +84 -84
- package/dist/chunks/{vcs-71q4at8m.js → command-71q4at8m.js} +1 -1
- package/dist/chunks/{vcs-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-qgn6gcr1.js → command-7dqw4kz8.js} +5 -5
- package/dist/chunks/{vcs-cqg8v4c7.js → command-7ebn0nc0.js} +6 -6
- package/dist/chunks/{vcs-ehc2ebhg.js → command-7nwrad04.js} +26 -26
- package/dist/chunks/{vcs-74vkx7f2.js → command-7qse0qpb.js} +26 -26
- package/dist/chunks/{vcs-96yt6zt0.js → command-83x6p9kd.js} +1 -1
- package/dist/chunks/{vcs-djgnpn76.js → command-86g4d0kj.js} +54 -54
- package/dist/chunks/{vcs-5c0f1prt.js → command-88sz8qcd.js} +4 -4
- package/dist/chunks/{vcs-ve2enx5p.js → command-89t020sf.js} +37 -37
- package/dist/chunks/{vcs-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-70feczxz.js → command-8ezz0qpe.js} +13 -13
- package/dist/chunks/{vcs-rtbqzsck.js → command-8jdy407s.js} +29 -29
- package/dist/chunks/{vcs-d96jyjza.js → command-8n2avc0p.js} +4 -4
- package/dist/chunks/{vcs-dj2t23y0.js → command-8p4f9s12.js} +2 -2
- package/dist/chunks/{vcs-4e2wq67s.js → command-8r7f04jj.js} +13 -13
- package/dist/chunks/{vcs-6d9mz4vp.js → command-8w9tvb25.js} +9 -9
- package/dist/chunks/{vcs-902wey3c.js → command-9139jgcd.js} +11 -11
- package/dist/chunks/{vcs-a08t2777.js → command-9hkkgm6z.js} +17 -17
- package/dist/chunks/{vcs-45f5zjr0.js → command-9maaan9b.js} +16 -16
- package/dist/chunks/{vcs-nt86060n.js → command-9rqme4wv.js} +22 -22
- package/dist/chunks/{vcs-36kdc7kz.js → command-9t5zm95t.js} +6 -6
- package/dist/chunks/{vcs-qy95qgmd.js → command-9td3nvch.js} +6 -6
- package/dist/chunks/{vcs-5rdg31a5.js → command-a02rj634.js} +15 -15
- package/dist/chunks/{vcs-5c4hm403.js → command-a1bz86dw.js} +3 -3
- package/dist/chunks/{vcs-fr23h874.js → command-a70vfxwz.js} +23 -23
- package/dist/chunks/{vcs-g1y4rj0e.js → command-a72wxtdj.js} +26 -26
- package/dist/chunks/{vcs-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-9m45xea9.js → command-afvn2d8y.js} +18 -18
- package/dist/chunks/{vcs-dhp0gznk.js → command-anbsab5w.js} +30 -30
- package/dist/chunks/{vcs-cr07tj7n.js → command-avm8jn6n.js} +5 -5
- package/dist/chunks/{vcs-rabsc696.js → command-axfg0z4e.js} +15 -15
- package/dist/chunks/{vcs-4wnv0zcc.js → command-az9ecw0v.js} +11 -11
- package/dist/chunks/{vcs-errxns4n.js → command-azw47gg7.js} +48 -48
- package/dist/chunks/{vcs-a35dj1p0.js → command-b11rdt3w.js} +8 -8
- package/dist/chunks/{vcs-b3t12aqp.js → command-b3wkxfg9.js} +1 -1
- package/dist/chunks/{vcs-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-b40bhsbd.js → command-be4a9pdg.js} +15 -15
- package/dist/chunks/{vcs-v2evf2n8.js → command-bhgdfcz0.js} +11 -11
- package/dist/chunks/{vcs-6jtsvx81.js → command-bjy2htfa.js} +22 -22
- package/dist/chunks/{vcs-m27pyyd3.js → command-c7ecgrk6.js} +6 -6
- package/dist/chunks/{vcs-m0jqrx5p.js → command-cfpkc3c9.js} +2 -2
- package/dist/chunks/{vcs-3h2x8833.js → command-cmfpwhr1.js} +10 -10
- package/dist/chunks/{vcs-vd2x9cn1.js → command-cpj6a2aa.js} +40 -40
- package/dist/chunks/{vcs-px131gfx.js → command-cwj87dc4.js} +20 -20
- package/dist/chunks/command-d3ggx689.js +247 -0
- package/dist/chunks/{vcs-nyxp2xat.js → command-d5ze1g7q.js} +20 -20
- package/dist/chunks/{vcs-wj12b5ba.js → command-d6gjw5d8.js} +24 -24
- package/dist/chunks/{vcs-wk4gr677.js → command-dcf26w67.js} +18 -18
- package/dist/chunks/{vcs-yeyc284m.js → command-de8rrxbc.js} +7 -7
- package/dist/chunks/{vcs-1zeep833.js → command-dmmjs2b8.js} +10 -10
- package/dist/chunks/{vcs-vx19sbg3.js → command-dt88errb.js} +6 -6
- package/dist/chunks/{vcs-dwg9fzb4.js → command-dvqsfc3k.js} +9 -9
- package/dist/chunks/{vcs-2ehqxkpw.js → command-dx63s7w1.js} +18 -18
- package/dist/chunks/{vcs-5n03wcbn.js → command-dzcz3c2s.js} +32 -32
- package/dist/chunks/{vcs-6krg85z2.js → command-e7sdhxas.js} +15 -15
- package/dist/chunks/{vcs-hjt4xg1x.js → command-e82z9tr0.js} +7 -7
- package/dist/chunks/{vcs-s534qmrw.js → command-ebc7h8jh.js} +4 -4
- package/dist/chunks/{vcs-q43e2342.js → command-ehzj4vhg.js} +17 -17
- package/dist/chunks/{vcs-z69s9t6b.js → command-en74w496.js} +5 -5
- package/dist/chunks/{vcs-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-rhraev7y.js → command-f2n192rq.js} +4 -4
- package/dist/chunks/{vcs-7x2bbjma.js → command-f4pamck6.js} +15 -15
- package/dist/chunks/{vcs-hdnk95c8.js → command-f828m53h.js} +2 -2
- package/dist/chunks/{vcs-mxrt7448.js → command-farf7nq9.js} +9 -9
- package/dist/chunks/{vcs-c3z7fafd.js → command-fer3tpfm.js} +11 -11
- package/dist/chunks/{vcs-58h0vxwj.js → command-fgxdmbj2.js} +164 -164
- package/dist/chunks/{vcs-mmkvvxh7.js → command-fwcwebn7.js} +6 -6
- package/dist/chunks/{vcs-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
- package/dist/chunks/{vcs-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-3fc6dm20.js → command-gdvy8fx6.js} +4 -4
- package/dist/chunks/{vcs-e8kpt5bt.js → command-gepnxnka.js} +11 -11
- package/dist/chunks/{vcs-3y2x6txz.js → command-gfc9zyvq.js} +18 -18
- package/dist/chunks/{vcs-jjs74g98.js → command-gsx0ryk4.js} +9 -9
- package/dist/chunks/{vcs-fgh0kbhd.js → command-gt0cxfk7.js} +1 -1
- package/dist/chunks/{vcs-h03wrkyp.js → command-h03wrkyp.js} +2 -2
- package/dist/chunks/{vcs-d1qjzs83.js → command-h113rvhb.js} +46 -46
- package/dist/chunks/{vcs-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-bd1esbde.js → command-h9nzt5cp.js} +17 -17
- package/dist/chunks/{vcs-09w56j03.js → command-hcxgcq81.js} +7 -7
- package/dist/chunks/{vcs-8zs8y668.js → command-hdt6myfc.js} +25 -25
- package/dist/chunks/{vcs-ae01ggp0.js → command-hfdr1yjj.js} +4 -4
- package/dist/chunks/{vcs-wgada9a8.js → command-hgdt9556.js} +16 -16
- package/dist/chunks/{vcs-tsfvcx29.js → command-hh0vmts5.js} +14 -14
- package/dist/chunks/{vcs-xqcd7gac.js → command-hm0hsyzs.js} +42 -42
- package/dist/chunks/{vcs-4m2pmvxz.js → command-hwe7x4em.js} +6 -6
- package/dist/chunks/{vcs-r9v7jrnn.js → command-hxvm7zmc.js} +4 -4
- package/dist/chunks/{vcs-na21baqn.js → command-hzcxg4q9.js} +15 -15
- package/dist/chunks/{vcs-bamjm5t3.js → command-j052dg5b.js} +16 -16
- package/dist/chunks/{vcs-7s6gk46a.js → command-j5208yae.js} +7 -7
- package/dist/chunks/{vcs-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-cvr1mqz4.js → command-j7nbk787.js} +29 -29
- package/dist/chunks/{vcs-paphc93g.js → command-j935v87r.js} +2 -2
- package/dist/chunks/{vcs-mcyv22g2.js → command-j9vx3v9v.js} +24 -24
- package/dist/chunks/{vcs-7qykr4ed.js → command-jh9frvw6.js} +10 -10
- package/dist/chunks/{vcs-fygdb7h7.js → command-jhetwysa.js} +3 -3
- package/dist/chunks/{vcs-bm56easb.js → command-jjc29zvc.js} +25 -25
- package/dist/chunks/{vcs-3k775b2j.js → command-jm23p7wd.js} +21 -21
- package/dist/chunks/{vcs-shh6fz4q.js → command-jva4mgym.js} +4 -4
- package/dist/chunks/{vcs-f73rjn58.js → command-jvf3yq6v.js} +4 -4
- package/dist/chunks/{vcs-0rbfcjex.js → command-jxpa08fn.js} +20 -20
- package/dist/chunks/{vcs-en0csq7p.js → command-jym9kedx.js} +13 -13
- package/dist/chunks/{vcs-1mctce5e.js → command-jz5y6dvz.js} +18 -18
- package/dist/chunks/{vcs-8e1b1gzh.js → command-k0nnq3t9.js} +6 -6
- package/dist/chunks/{vcs-5xtgfte3.js → command-kbmmzrfa.js} +8 -8
- package/dist/chunks/{vcs-f4p8qj1v.js → command-kd4mv8p1.js} +27 -27
- package/dist/chunks/{vcs-1awm1f41.js → command-keyg98zt.js} +10 -10
- package/dist/chunks/{vcs-kg06axw8.js → command-kg06axw8.js} +1 -1
- package/dist/chunks/{vcs-bcnz578n.js → command-kh9gj6fg.js} +2 -2
- package/dist/chunks/{vcs-5q7pvjyd.js → command-kqvbfj3r.js} +10 -10
- package/dist/chunks/{vcs-rfmg4dpd.js → command-ksdnvjw1.js} +20 -20
- package/dist/chunks/{vcs-z2bxacmw.js → command-kyrc5g5p.js} +3 -3
- package/dist/chunks/{vcs-0n10z62r.js → command-kzxpw37x.js} +23 -23
- package/dist/chunks/{vcs-xx9mw36p.js → command-m3wyk9nc.js} +8 -8
- package/dist/chunks/{vcs-n30gy4xr.js → command-m9tpa25m.js} +24 -24
- package/dist/chunks/{vcs-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-mkcjrzeh.js → command-mkcjrzeh.js} +1 -1
- package/dist/chunks/{vcs-nx200rc8.js → command-msjfgnq6.js} +9 -9
- package/dist/chunks/{vcs-63p6zp09.js → command-mzfawknz.js} +15 -15
- package/dist/chunks/{vcs-yatbfwrz.js → command-n4fdf33j.js} +9 -9
- package/dist/chunks/{vcs-3n3mkc0a.js → command-naqvy1vc.js} +13 -13
- package/dist/chunks/{vcs-3mxmhv99.js → command-nedyw519.js} +17 -17
- package/dist/chunks/{vcs-jysqvf6a.js → command-nfhmz961.js} +9 -9
- package/dist/chunks/{vcs-hpzssmaj.js → command-nmxjcnz2.js} +4 -4
- package/dist/chunks/{vcs-343vth6t.js → command-nsk5ybg9.js} +13 -13
- package/dist/chunks/{vcs-qx1ymhax.js → command-pbe99m00.js} +43 -43
- package/dist/chunks/{vcs-d0tbe3qc.js → command-pbtsv70y.js} +11 -11
- package/dist/chunks/{vcs-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-jy1fd401.js → command-pt50yj7n.js} +15 -15
- package/dist/chunks/{vcs-w1jcz6hc.js → command-q3e3pxrn.js} +2 -2
- package/dist/chunks/{vcs-gsfatvyr.js → command-qkwnakvm.js} +15 -15
- package/dist/chunks/{vcs-2nbt55tc.js → command-qm7jrdpz.js} +8 -8
- package/dist/chunks/{vcs-15jt7hnh.js → command-qn2q96g0.js} +19 -19
- package/dist/chunks/{vcs-grkhgew7.js → command-qpt82rvw.js} +4 -4
- package/dist/chunks/{vcs-ctpgvfcv.js → command-qq9xggvz.js} +6 -6
- package/dist/chunks/{vcs-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-z0yd4kpw.js → command-qx3fns1j.js} +37 -37
- package/dist/chunks/{vcs-ytj1vtz4.js → command-qx4eckdq.js} +24 -24
- package/dist/chunks/{vcs-dnjrnpe9.js → command-qxnh841b.js} +19 -19
- package/dist/chunks/{vcs-1bbkgx8g.js → command-r5x6zcsm.js} +3 -3
- package/dist/chunks/{vcs-75d5mvfd.js → command-r5zgsrw8.js} +43 -43
- package/dist/chunks/{vcs-0v53mg2y.js → command-r98e92ep.js} +4 -4
- package/dist/chunks/{vcs-6jpqjxjf.js → command-rf1gapgg.js} +37 -37
- package/dist/chunks/command-rq3zbgk8.js +22 -0
- package/dist/chunks/{vcs-zx7eyp7z.js → command-rryqg9dq.js} +14 -14
- package/dist/chunks/{vcs-g69w66qb.js → command-rwatm0mm.js} +10 -10
- package/dist/chunks/{vcs-43k15f45.js → command-rz527k5r.js} +4 -4
- package/dist/chunks/{vcs-4mdcb7rk.js → command-s1hyvedr.js} +20 -20
- package/dist/chunks/{vcs-yrznvahk.js → command-s4enseaf.js} +2 -2
- package/dist/chunks/{vcs-cf5aa6ac.js → command-s6c8tzhk.js} +33 -33
- package/dist/chunks/{vcs-6gdkyjx4.js → command-s8adj76m.js} +8 -8
- package/dist/chunks/{vcs-eaj1djv9.js → command-s8d7rejh.js} +6 -6
- package/dist/chunks/{vcs-2dmy33xk.js → command-s8x2ny25.js} +33 -33
- package/dist/chunks/{vcs-atgzv10b.js → command-se0tgtr4.js} +18 -18
- package/dist/chunks/{vcs-ntzywbn0.js → command-snt4nv2a.js} +13 -13
- package/dist/chunks/{vcs-bs8nkske.js → command-sp31zz3t.js} +27 -27
- package/dist/chunks/{vcs-t7st2vvv.js → command-spwgk4wz.js} +16 -16
- package/dist/chunks/{vcs-4dg124c5.js → command-sqbb0ctm.js} +5 -5
- package/dist/chunks/{vcs-v68haqbh.js → command-st4t0jjg.js} +2 -2
- package/dist/chunks/{vcs-3rpa2x9h.js → command-sxyb6qad.js} +4 -4
- package/dist/chunks/{vcs-f8q7mv7a.js → command-t8mcaem5.js} +1 -1
- package/dist/chunks/{vcs-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-66qkg17f.js → command-tc265fkx.js} +5 -5
- package/dist/chunks/{vcs-89znhe33.js → command-tcezcvh9.js} +4 -4
- package/dist/chunks/{vcs-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-gv6a8nnw.js → command-th5km1p3.js} +5 -5
- package/dist/chunks/{vcs-k79tzb9n.js → command-tjsj89dc.js} +9 -9
- package/dist/chunks/{vcs-fsbd0sgt.js → command-tknkg6rx.js} +28 -28
- package/dist/chunks/{vcs-ak6krb0w.js → command-tkzgmprh.js} +27 -27
- package/dist/chunks/{vcs-vgx5p2wd.js → command-tqnq6q5q.js} +20 -20
- package/dist/chunks/{vcs-tvtrv512.js → command-tvtrv512.js} +1 -1
- package/dist/chunks/{vcs-b8twdx30.js → command-v07j1kge.js} +53 -53
- package/dist/chunks/{vcs-stbc3qj5.js → command-v48pvb4n.js} +11 -11
- package/dist/chunks/{vcs-1fkasrsp.js → command-v8k1872w.js} +8 -8
- package/dist/chunks/{vcs-6j367vjx.js → command-vcxc4q3p.js} +4 -4
- package/dist/chunks/{vcs-gxex9f2w.js → command-vd8e5h8f.js} +29 -29
- package/dist/chunks/{vcs-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-bgxcxs0p.js → command-vmq7ehpy.js} +5 -5
- package/dist/chunks/{vcs-gn3r6m65.js → command-vmysjhj7.js} +10 -10
- package/dist/chunks/{vcs-efmhwa42.js → command-vpt86awd.js} +12 -12
- package/dist/chunks/{vcs-9a316c20.js → command-vragf7xq.js} +11 -11
- package/dist/chunks/{vcs-j8281ebe.js → command-vxwzppst.js} +9 -9
- package/dist/chunks/{vcs-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{vcs-znge5ab1.js → command-w17k3rsr.js} +13 -13
- package/dist/chunks/{vcs-9pm6y0s1.js → command-w2q9x1k3.js} +8 -8
- package/dist/chunks/{vcs-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-pj71h5ej.js → command-w6a1w976.js} +15 -15
- package/dist/chunks/{vcs-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-f3xhjfec.js → command-wfbxv8er.js} +5 -5
- package/dist/chunks/{vcs-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{vcs-x43y2vfs.js → command-x43y2vfs.js} +2 -2
- package/dist/chunks/{vcs-0cj7r9av.js → command-xe22fbq9.js} +10 -10
- package/dist/chunks/{vcs-94388agg.js → command-xj439p2s.js} +9 -9
- package/dist/chunks/{vcs-9rm48j8q.js → command-xnk8ss56.js} +36 -36
- package/dist/chunks/{vcs-fgwkmjw7.js → command-xzja1t39.js} +5 -5
- package/dist/chunks/{vcs-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-xdxv2f96.js → command-y22f4a62.js} +15 -15
- package/dist/chunks/{vcs-dpkg50ah.js → command-y71avatq.js} +4 -4
- package/dist/chunks/{vcs-p9dw09k2.js → command-yg5c8d2j.js} +8 -8
- package/dist/chunks/{vcs-ya9c0ydz.js → command-ygakqxjr.js} +22 -22
- package/dist/chunks/{vcs-acy09nwh.js → command-ygtg2ex0.js} +26 -26
- package/dist/chunks/{vcs-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
- package/dist/chunks/{vcs-rvc3xsce.js → command-yrwypdbr.js} +21 -21
- package/dist/chunks/{vcs-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-bv56xrks.js → command-z1f4gy9p.js} +8 -8
- package/dist/chunks/{vcs-v42r3sq1.js → command-z7vtm5t9.js} +85 -85
- package/dist/chunks/{vcs-bpgwr2b8.js → command-z9g6acw9.js} +6 -6
- package/dist/chunks/{vcs-46rk3c8f.js → command-zc36c13q.js} +32 -32
- package/dist/chunks/{vcs-zeh9ct20.js → command-zeh9ct20.js} +2 -2
- package/dist/chunks/{vcs-wr0nxa4t.js → command-zfsxp10c.js} +5 -5
- package/dist/chunks/{vcs-5fq4v6s9.js → command-zg7s7pjs.js} +18 -18
- package/dist/chunks/{vcs-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-9zr6q9jt.js → command-ztzqvfjg.js} +26 -26
- package/dist/chunks/{vcs-4w8bkcbc.js → command-zx4qqgq6.js} +11 -11
- package/dist/chunks/{vcs-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/{vcs-ksz0h0wp.js → command-zxwpk2nb.js} +1 -1
- package/dist/chunks/{vcs-ccmdxyv2.js → command-zy3h4kss.js} +11 -11
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +73 -73
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- 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 +90 -90
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- 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 +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +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 +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/vcs-9krkn4rj.js +0 -22
- package/dist/chunks/vcs-9zdhvgqs.js +0 -18
- package/dist/chunks/vcs-qapv375x.js +0 -4
- package/dist/chunks/vcs-r794vdnj.js +0 -247
- /package/dist/chunks/{vcs-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-922hggd3.js → command-922hggd3.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a1tpkmh4.js → command-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-hrnqkpcd.js → command-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-twg0f83k.js → command-twg0f83k.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service68,
|
|
3
|
+
node73
|
|
4
|
+
} from "./command-3eg94j8w.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info25,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref2,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service67,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node72,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info25, Ref as Ref2, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service67 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node72 = LayerNode.unbound(Service67, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service68;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service67.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service67,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node73]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info25, Ref2, response2, Service67, node72, boundNode2, exports_location };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./command-cpj6a2aa.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service5
|
|
6
|
+
} from "./command-8w9tvb25.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher2 = {};
|
|
16
|
+
__export(exports_location_watcher2, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
+
Plugin: () => Plugin3
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin3 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service65;
|
|
26
|
+
const policy = yield* Service5;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin30 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin3, exports_location_watcher2 };
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node74
|
|
7
|
+
} from "./command-48q4dgm3.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
ID12
|
|
10
|
+
} from "./command-68xpwqwy.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-3nc90kmd.js";
|
|
18
18
|
import {
|
|
19
19
|
Service79,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-hxvm7zmc.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-8p4f9s12.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./command-cfpkc3c9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service67,
|
|
30
|
+
node72
|
|
31
|
+
} from "./command-hgdt9556.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
canonical3
|
|
35
|
+
} from "./command-th5km1p3.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make18
|
|
38
|
+
} from "./command-zx4qqgq6.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./command-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./command-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event9,
|
|
53
|
+
Info: () => Info9,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service51,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node54
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -76,17 +76,17 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
76
76
|
import { ChildProcess } from "effect/unstable/process";
|
|
77
77
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
78
78
|
var StrategyID2 = Worktree.StrategyID;
|
|
79
|
-
var
|
|
79
|
+
var CreateInput3 = Worktree.CreateInput;
|
|
80
80
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
81
81
|
var RefreshResult2 = Schema.Struct({
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info9 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
89
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
89
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID12, directory: Schema.optional(AbsolutePath2) }) {
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event9 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service51 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
109
|
const database = yield* Service80;
|
|
110
110
|
const db = database.db;
|
|
111
111
|
const bus = yield* Service79;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service67;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
117
|
-
const gitStrategy = yield*
|
|
117
|
+
const gitStrategy = yield* make18;
|
|
118
118
|
const state = create3({
|
|
119
119
|
name: "worktree",
|
|
120
120
|
initial: () => ({
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event9.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
161
161
|
};
|
|
162
162
|
const source = Effect.fnUntraced(function* (input) {
|
|
163
163
|
const sourceDirectory = input ?? location.project.directory;
|
|
164
|
-
const resolved = yield*
|
|
164
|
+
const resolved = yield* canonical3(fs, sourceDirectory);
|
|
165
165
|
if ((yield* ops.find(resolved)) === undefined)
|
|
166
166
|
return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
|
|
167
167
|
return resolved;
|
|
@@ -193,7 +193,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
193
193
|
sourceDirectory,
|
|
194
194
|
branch: input.branch
|
|
195
195
|
}).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
|
|
196
|
-
const result = { directory: yield*
|
|
196
|
+
const result = { directory: yield* canonical3(fs, created.directory) };
|
|
197
197
|
yield* changed(yield* ops.create({
|
|
198
198
|
directory: result.directory,
|
|
199
199
|
strategy: selected.id,
|
|
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
218
218
|
});
|
|
219
219
|
const remove = Effect.fn("Worktree.remove")(function* (input) {
|
|
220
220
|
yield* local;
|
|
221
|
-
const worktreeDirectory = yield*
|
|
221
|
+
const worktreeDirectory = yield* canonical3(fs, input.directory);
|
|
222
222
|
const stored = yield* ops.find(worktreeDirectory);
|
|
223
223
|
if (!stored?.strategy)
|
|
224
224
|
return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
239
239
|
for (const strategy of strategies) {
|
|
240
240
|
const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
|
|
241
241
|
for (const entry of entries) {
|
|
242
|
-
const directory = yield*
|
|
242
|
+
const directory = yield* canonical3(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
|
|
243
243
|
if (!directory || discovered.has(directory))
|
|
244
244
|
continue;
|
|
245
245
|
discovered.set(directory, {
|
|
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
257
257
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
258
|
return changes;
|
|
259
259
|
});
|
|
260
|
-
return
|
|
260
|
+
return Service51.of({
|
|
261
261
|
transform: state.transform,
|
|
262
262
|
reload: state.reload,
|
|
263
263
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node54 = makeLocationNode({
|
|
273
|
+
service: Service51,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [FSUtil.node,
|
|
275
|
+
deps: [FSUtil.node, node74, node84, node85, AppProcess.node, node72, Global.node]
|
|
276
276
|
});
|
|
277
277
|
function operationError(strategy, operation, error) {
|
|
278
278
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2,
|
|
285
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info9, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event9, Service51, node54, exports_worktree2, OperationError2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service44,
|
|
10
|
+
node: () => node47
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service44 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node47 = LayerNode.unbound(Service44, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service44, node47, exports_service2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-3nc90kmd.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-hxvm7zmc.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
6
|
Event19
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-yg5c8d2j.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID13,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-bjy2htfa.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID17,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-c7ecgrk6.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID3,
|
|
19
|
+
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-hdt6myfc.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID3
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -53,7 +53,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
53
53
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
54
54
|
function oauth(http) {
|
|
55
55
|
return {
|
|
56
|
-
integrationID:
|
|
56
|
+
integrationID: ID13.make("opencode"),
|
|
57
57
|
method: {
|
|
58
58
|
id: methodID,
|
|
59
59
|
type: "oauth",
|
|
@@ -119,7 +119,7 @@ var OpencodePlugin2 = define({
|
|
|
119
119
|
catalog.provider.update(providerID, (provider) => {
|
|
120
120
|
if (source && source.provider !== provider)
|
|
121
121
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
122
|
-
provider.integrationID =
|
|
122
|
+
provider.integrationID = ID13.make("opencode");
|
|
123
123
|
if (item.canonical !== undefined)
|
|
124
124
|
provider.canonical = item.canonical;
|
|
125
125
|
if (item.name !== undefined)
|
|
@@ -182,7 +182,7 @@ var OpencodePlugin2 = define({
|
|
|
182
182
|
});
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
const item = catalog.provider.get(
|
|
185
|
+
const item = catalog.provider.get(ID17.opencode);
|
|
186
186
|
if (!item)
|
|
187
187
|
return;
|
|
188
188
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -222,7 +222,7 @@ var OpencodePlugin2 = define({
|
|
|
222
222
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
223
223
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
224
224
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
225
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
225
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
226
226
|
query: input.query,
|
|
227
227
|
providerID: descriptor.providerID
|
|
228
228
|
}));
|
|
@@ -243,7 +243,7 @@ var OpencodePlugin2 = define({
|
|
|
243
243
|
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
244
244
|
});
|
|
245
245
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
246
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
246
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
247
247
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
248
248
|
})
|
|
249
249
|
});
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service67,
|
|
3
|
+
node72
|
|
4
|
+
} from "./command-hgdt9556.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-s8d7rejh.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service32,
|
|
19
|
+
node: () => node37
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service32 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service67;
|
|
29
|
+
return Service32.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
31
|
make21({
|
|
32
|
-
key:
|
|
32
|
+
key: Key3.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
35
35
|
"<env>",
|
|
@@ -50,7 +50,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
52
|
make21({
|
|
53
|
-
key:
|
|
53
|
+
key: Key3.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
56
56
|
render: {
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node37 = makeLocationNode({ service: Service32, layer, deps: [Global.node, node72] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service32, node37, exports_builtins };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigFormatterV1: () =>
|
|
6
|
+
var exports_formatter3 = {};
|
|
7
|
+
__export(exports_formatter3, {
|
|
8
|
+
ConfigFormatterV1: () => exports_formatter3,
|
|
9
9
|
Entry: () => Entry3,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info16
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
13
|
var Entry3 = Schema.Struct({
|
|
@@ -16,6 +16,6 @@ var Entry3 = Schema.Struct({
|
|
|
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 Info16 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
|
|
20
20
|
|
|
21
|
-
export { Entry3,
|
|
21
|
+
export { Entry3, Info16, exports_formatter3 };
|