@opencode/core 0.0.0-dev-21695 → 0.0.0-dev-21703
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 +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{bus-034tev2y.js → vcs-034tev2y.js} +2 -2
- package/dist/chunks/{bus-44s0n40r.js → vcs-07zevav5.js} +49 -49
- package/dist/chunks/{bus-pdy1hqnf.js → vcs-0rcrzzvr.js} +35 -35
- package/dist/chunks/{bus-7193gb3b.js → vcs-0rq01gt9.js} +5 -5
- package/dist/chunks/{bus-qx1n59h8.js → vcs-0xfwnfde.js} +16 -16
- package/dist/chunks/{bus-e4f4x5n9.js → vcs-10ygv7zj.js} +9 -9
- package/dist/chunks/{bus-sfmp0f7b.js → vcs-1crk60dk.js} +15 -15
- package/dist/chunks/{bus-1ep2p91f.js → vcs-1ep2p91f.js} +2 -2
- package/dist/chunks/{bus-421ekqkw.js → vcs-1kt6mkhz.js} +7 -7
- package/dist/chunks/{bus-qzr9ezbv.js → vcs-1r2244sv.js} +5 -5
- package/dist/chunks/{bus-wfmpnrq7.js → vcs-1t40x6tf.js} +4 -4
- package/dist/chunks/{bus-mmgwrvtt.js → vcs-1wp5yz2q.js} +15 -15
- package/dist/chunks/{bus-1x2knyw4.js → vcs-1x2knyw4.js} +1 -1
- package/dist/chunks/{bus-qv7y9773.js → vcs-1y0wdj51.js} +4 -4
- package/dist/chunks/{bus-nw6j7gpm.js → vcs-1zjbdtxw.js} +14 -14
- package/dist/chunks/{bus-sk0g3fth.js → vcs-247ftevp.js} +4 -4
- package/dist/chunks/{bus-rxt7kx39.js → vcs-254hq818.js} +48 -48
- package/dist/chunks/{bus-8wj4azc9.js → vcs-2b76hbf1.js} +11 -11
- package/dist/chunks/{bus-wsd07rfm.js → vcs-2cyz7x39.js} +24 -24
- package/dist/chunks/{bus-60hpmyq7.js → vcs-2dzqnr5m.js} +18 -18
- package/dist/chunks/{bus-zwzj79wc.js → vcs-2fmpy7yj.js} +12 -12
- package/dist/chunks/{bus-2z1j29yd.js → vcs-2z1j29yd.js} +1 -1
- package/dist/chunks/{bus-dfv3sd11.js → vcs-34zfme1g.js} +24 -24
- package/dist/chunks/{bus-2rx1emds.js → vcs-38h2fn7g.js} +3 -3
- package/dist/chunks/{bus-bsry7g8x.js → vcs-3bhgvgs9.js} +22 -22
- package/dist/chunks/{bus-vwj3jgr1.js → vcs-3gvxgqww.js} +29 -29
- package/dist/chunks/{bus-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-3nnrz6f6.js → vcs-3nnrz6f6.js} +1 -1
- package/dist/chunks/{bus-sqvkc2gg.js → vcs-3wffcd5s.js} +22 -22
- package/dist/chunks/{bus-k7fcp7vh.js → vcs-3wyhrqfb.js} +8 -8
- package/dist/chunks/{bus-m8gt97br.js → vcs-3xhcmk8x.js} +16 -16
- package/dist/chunks/{bus-pz0hzqp4.js → vcs-3yws84f3.js} +45 -45
- package/dist/chunks/{bus-e8dk3ywt.js → vcs-3ze3q6mf.js} +11 -11
- package/dist/chunks/{bus-w2eysc6j.js → vcs-40za9wsf.js} +9 -9
- package/dist/chunks/{bus-w5800457.js → vcs-41sv4bbj.js} +16 -16
- package/dist/chunks/{bus-ps63y3s5.js → vcs-4239rm3w.js} +20 -20
- package/dist/chunks/{bus-rrje2nwc.js → vcs-42b1cham.js} +23 -23
- package/dist/chunks/{bus-c9k9wqyf.js → vcs-46qzr04y.js} +11 -11
- package/dist/chunks/{bus-143qq2q9.js → vcs-48kw51zw.js} +3 -3
- package/dist/chunks/{bus-02tqe3dc.js → vcs-4qxmg69m.js} +34 -34
- package/dist/chunks/{bus-4v008n1t.js → vcs-4v008n1t.js} +1 -1
- package/dist/chunks/{bus-4xvmh7wp.js → vcs-4xvmh7wp.js} +3 -3
- package/dist/chunks/{bus-fc6c4hv8.js → vcs-4ytg8f8f.js} +2 -2
- package/dist/chunks/{bus-4jars7ak.js → vcs-530a82th.js} +11 -11
- package/dist/chunks/{bus-wd652945.js → vcs-536wrdac.js} +11 -11
- package/dist/chunks/{bus-b7g1t3mx.js → vcs-5ahgw1dr.js} +19 -19
- package/dist/chunks/{bus-etmf56fp.js → vcs-5hvygcnt.js} +10 -10
- package/dist/chunks/{bus-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-51e0cpsh.js → vcs-5q1dgqbh.js} +22 -22
- package/dist/chunks/{bus-fntzncgy.js → vcs-5t6a11tz.js} +18 -18
- package/dist/chunks/{bus-8t64g0wg.js → vcs-5x8br9fm.js} +28 -28
- package/dist/chunks/{bus-czxyp6y6.js → vcs-68t33k5k.js} +15 -15
- package/dist/chunks/{bus-4eca1hyp.js → vcs-6b49fqw0.js} +17 -17
- package/dist/chunks/{bus-6esdw8yj.js → vcs-6esdw8yj.js} +1 -1
- package/dist/chunks/{bus-ywxn696m.js → vcs-6f6h7c2t.js} +32 -32
- package/dist/chunks/{bus-mx9h14xa.js → vcs-6fg5chfs.js} +31 -31
- package/dist/chunks/{bus-6pjqjmy2.js → vcs-6pjqjmy2.js} +1 -1
- package/dist/chunks/{bus-ar37ae2g.js → vcs-6s6a40zb.js} +13 -13
- package/dist/chunks/{bus-wncd5gvv.js → vcs-71v1yb5p.js} +13 -13
- package/dist/chunks/{bus-nah043kf.js → vcs-770pw0s1.js} +4 -4
- package/dist/chunks/{bus-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-hsbqs0yf.js → vcs-7c486ac5.js} +8 -8
- package/dist/chunks/{bus-vgk61ywp.js → vcs-7cx8wp0a.js} +9 -9
- package/dist/chunks/{bus-kqnqd6x4.js → vcs-7fyt61ge.js} +4 -4
- package/dist/chunks/{bus-9h3yt0ty.js → vcs-7jxjvf9t.js} +30 -30
- package/dist/chunks/{bus-7w2ypzdf.js → vcs-7w2ypzdf.js} +1 -1
- package/dist/chunks/{bus-5jnymmb4.js → vcs-87rf06dy.js} +27 -27
- package/dist/chunks/vcs-89ps0kn4.js +26 -0
- package/dist/chunks/{bus-0kp1st58.js → vcs-8ba3wsfr.js} +8 -8
- package/dist/chunks/{bus-r6tddt1e.js → vcs-8c677wsw.js} +28 -28
- package/dist/chunks/{bus-05g8hkey.js → vcs-8vh6kwmg.js} +50 -50
- package/dist/chunks/{bus-8wtp7s3z.js → vcs-8wtp7s3z.js} +1 -1
- package/dist/chunks/{bus-pbqc7r64.js → vcs-8xw1gbxj.js} +30 -30
- package/dist/chunks/{bus-k5d1wqjw.js → vcs-8zyq9cqv.js} +342 -342
- package/dist/chunks/{bus-r86349qm.js → vcs-90n99h22.js} +6 -6
- package/dist/chunks/{bus-91rj84md.js → vcs-91rj84md.js} +1 -1
- package/dist/chunks/{bus-998yhzzq.js → vcs-998yhzzq.js} +3 -3
- package/dist/chunks/{bus-wre4fh0b.js → vcs-99cj8zr2.js} +35 -35
- package/dist/chunks/{bus-2b6ncc8q.js → vcs-9cbnrx2n.js} +6 -6
- package/dist/chunks/{bus-99v64gx3.js → vcs-9mere5t7.js} +13 -13
- package/dist/chunks/{bus-9p9xqj3m.js → vcs-9p9xqj3m.js} +1 -1
- package/dist/chunks/{bus-gjr461gh.js → vcs-9wdb4fag.js} +18 -18
- package/dist/chunks/{bus-3dcm03ph.js → vcs-a7hcemwv.js} +5 -5
- package/dist/chunks/{bus-tnhdtpkv.js → vcs-abk8akr1.js} +24 -24
- package/dist/chunks/{bus-97h34c8v.js → vcs-ah756314.js} +14 -14
- package/dist/chunks/{bus-ar2j3j0f.js → vcs-ar2j3j0f.js} +1 -1
- package/dist/chunks/{bus-2dxw0vtj.js → vcs-ayg1wwbx.js} +19 -19
- package/dist/chunks/{bus-ayjs7tqn.js → vcs-ayjs7tqn.js} +2 -2
- package/dist/chunks/{bus-rvhr0thr.js → vcs-aypkeb6d.js} +82 -82
- package/dist/chunks/{bus-k0rrpnh5.js → vcs-azfbc7ga.js} +193 -193
- package/dist/chunks/{bus-b0mv4wxm.js → vcs-b0mv4wxm.js} +2 -2
- package/dist/chunks/{bus-sz8868xq.js → vcs-b1xsayxh.js} +7 -7
- package/dist/chunks/{bus-a9h5srre.js → vcs-b1zh1j4f.js} +61 -61
- package/dist/chunks/{bus-7xg2jm5b.js → vcs-b50rsrab.js} +5 -5
- package/dist/chunks/{bus-caesvrsr.js → vcs-b5g50cq8.js} +21 -21
- package/dist/chunks/{bus-b6vsg801.js → vcs-b6vsg801.js} +2 -2
- package/dist/chunks/{bus-xeb0t073.js → vcs-baw7bc8n.js} +1 -1
- package/dist/chunks/{bus-5x14y5p3.js → vcs-bbkbvbs4.js} +1 -1
- package/dist/chunks/{bus-3f5zfv5g.js → vcs-bgwvksk6.js} +14 -14
- package/dist/chunks/{bus-tdj3cxsw.js → vcs-bmvcqawa.js} +45 -45
- package/dist/chunks/{bus-3h5qsd4j.js → vcs-bnjqvjjm.js} +5 -5
- package/dist/chunks/{bus-bstexjd6.js → vcs-bstexjd6.js} +1 -1
- package/dist/chunks/{bus-f4ce69wc.js → vcs-btxkkvbe.js} +8 -8
- package/dist/chunks/{bus-rda9yzm6.js → vcs-c3cfh5w6.js} +7 -7
- package/dist/chunks/{bus-a4qy9fc3.js → vcs-c3wzxa47.js} +8 -8
- package/dist/chunks/{bus-za6yq9hg.js → vcs-c5c0bz0t.js} +5 -5
- package/dist/chunks/{bus-b1pn0vxn.js → vcs-c9t2ty9q.js} +4 -4
- package/dist/chunks/{bus-088xsv39.js → vcs-cneb3d70.js} +8 -8
- package/dist/chunks/{bus-5tym1825.js → vcs-cps5zgbh.js} +34 -34
- package/dist/chunks/{bus-pdjw8hws.js → vcs-cw16pp1j.js} +9 -9
- package/dist/chunks/{bus-nn3pn70b.js → vcs-d3r8edvw.js} +4 -4
- package/dist/chunks/{bus-d4v9tmah.js → vcs-d4v9tmah.js} +2 -2
- package/dist/chunks/{bus-9dyryqmk.js → vcs-d9msb9sj.js} +12 -12
- package/dist/chunks/{bus-j8nk5b8t.js → vcs-dbqrmbed.js} +3 -3
- package/dist/chunks/{bus-9k6vjqzw.js → vcs-dbya8kmy.js} +74 -74
- package/dist/chunks/{bus-5s1pgksh.js → vcs-deqy3kpa.js} +20 -20
- package/dist/chunks/{bus-m4s0x578.js → vcs-dgeqmw5w.js} +28 -28
- package/dist/chunks/{bus-jx89vj1k.js → vcs-dh62xe4r.js} +3 -3
- package/dist/chunks/{bus-2etvdtc8.js → vcs-dtqdhp9c.js} +15 -15
- package/dist/chunks/{bus-g3k29tzj.js → vcs-dwspvcwq.js} +13 -13
- package/dist/chunks/{bus-ck9t0a91.js → vcs-dyg9d8gn.js} +35 -35
- package/dist/chunks/{bus-5gk89hyb.js → vcs-dzznqqbs.js} +12 -12
- package/dist/chunks/{bus-2ryhy1r3.js → vcs-e553kem5.js} +21 -21
- package/dist/chunks/{bus-e834z07m.js → vcs-e834z07m.js} +1 -1
- package/dist/chunks/{bus-0swax997.js → vcs-eeb2rd94.js} +19 -19
- package/dist/chunks/{bus-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{bus-krdanp5y.js → vcs-en4cswrv.js} +24 -24
- package/dist/chunks/{bus-x9e6ksmw.js → vcs-ep7q3v7p.js} +50 -50
- package/dist/chunks/{bus-pacbbjc0.js → vcs-eq3fc1qc.js} +5 -5
- package/dist/chunks/{bus-jsjjdmy1.js → vcs-ex08epxr.js} +9 -9
- package/dist/chunks/{bus-1r5cd4qg.js → vcs-exm49mxx.js} +11 -11
- package/dist/chunks/vcs-ezna1kdx.js +18 -0
- package/dist/chunks/{bus-p1c1zyxr.js → vcs-f1kyj18j.js} +48 -48
- package/dist/chunks/{bus-7t2432tj.js → vcs-f931xhwa.js} +35 -35
- package/dist/chunks/{bus-0syemgjh.js → vcs-ff97cw60.js} +4 -4
- package/dist/chunks/{bus-fffv3p7h.js → vcs-fffv3p7h.js} +1 -1
- package/dist/chunks/{bus-jg2v1dk6.js → vcs-ftn2x50x.js} +24 -24
- package/dist/chunks/{bus-0h8y3ex8.js → vcs-fznmdakp.js} +4 -4
- package/dist/chunks/{bus-g5h9c0rr.js → vcs-g5h9c0rr.js} +2 -2
- package/dist/chunks/{bus-m37sd98t.js → vcs-g7esga4v.js} +7 -7
- package/dist/chunks/{bus-t63bt17c.js → vcs-g8q9wv7c.js} +11 -11
- package/dist/chunks/{bus-zfh6qh7b.js → vcs-gag6a473.js} +7 -7
- package/dist/chunks/{bus-dyh6ghqz.js → vcs-gbv88pv7.js} +10 -10
- package/dist/chunks/{bus-xbcypdf3.js → vcs-ggbcva3z.js} +5 -5
- package/dist/chunks/{bus-xar86st9.js → vcs-ggkz6eda.js} +9 -9
- package/dist/chunks/{bus-v5kv89ke.js → vcs-gkt35az7.js} +14 -14
- package/dist/chunks/{bus-0zzd7vfm.js → vcs-gzphd3qt.js} +4 -4
- package/dist/chunks/{bus-dds9zz6p.js → vcs-h3b857xk.js} +4 -4
- package/dist/chunks/{bus-fm5nzcmq.js → vcs-h4tb54mh.js} +21 -21
- package/dist/chunks/{bus-1622r1ga.js → vcs-hch4wa3n.js} +4 -4
- package/dist/chunks/{bus-ksqksx3k.js → vcs-hdmztdx8.js} +21 -21
- package/dist/chunks/{bus-8ss74ppy.js → vcs-hnacnv9c.js} +6 -6
- package/dist/chunks/{bus-km2c56gg.js → vcs-hx7vxw9c.js} +6 -6
- package/dist/chunks/{bus-j113cymg.js → vcs-j113cymg.js} +1 -1
- package/dist/chunks/{bus-6gt5xc60.js → vcs-j75hfe7b.js} +12 -12
- package/dist/chunks/{bus-w6839knk.js → vcs-jcd0g2s4.js} +18 -18
- package/dist/chunks/{bus-7zrrpsam.js → vcs-jjec1xd0.js} +2 -2
- package/dist/chunks/{bus-2gqhjjsx.js → vcs-jjs45sef.js} +13 -13
- package/dist/chunks/{bus-dxvj00dw.js → vcs-jmdhtxe0.js} +27 -27
- package/dist/chunks/{bus-x55w4aqt.js → vcs-jpq8vy5m.js} +26 -26
- package/dist/chunks/{bus-w52v0pzm.js → vcs-jqqpsq7t.js} +16 -16
- package/dist/chunks/{bus-gq7wjy6f.js → vcs-jrtmv02s.js} +25 -25
- package/dist/chunks/{bus-2ex6mje1.js → vcs-jtp9x085.js} +35 -35
- package/dist/chunks/{bus-0rj3103z.js → vcs-jw20qntp.js} +3 -3
- package/dist/chunks/{bus-hwj1j5q0.js → vcs-k0nmcfh6.js} +4 -4
- package/dist/chunks/{bus-mgbmf9v5.js → vcs-k46f9xjt.js} +22 -22
- package/dist/chunks/{bus-ms080em1.js → vcs-k6xzj90s.js} +27 -27
- package/dist/chunks/{bus-k814nvkf.js → vcs-k814nvkf.js} +1 -1
- package/dist/chunks/{bus-mn6r1kh0.js → vcs-kdjksvwe.js} +32 -32
- package/dist/chunks/{bus-kgex5j78.js → vcs-kj1j79ct.js} +11 -11
- package/dist/chunks/{bus-158w7htw.js → vcs-kj8zjydm.js} +6 -6
- package/dist/chunks/{bus-tqx9c315.js → vcs-kmzgegqq.js} +8 -8
- package/dist/chunks/{bus-1mfyhvm9.js → vcs-kn7j2k6k.js} +9 -9
- package/dist/chunks/{bus-5aqqzxvt.js → vcs-kw8s18nw.js} +33 -33
- package/dist/chunks/{bus-8gthgyb8.js → vcs-kwc19jgx.js} +18 -18
- package/dist/chunks/{bus-48yd86fd.js → vcs-kxcz00f7.js} +22 -22
- package/dist/chunks/{bus-m1714858.js → vcs-m1714858.js} +1 -1
- package/dist/chunks/{bus-r15835qb.js → vcs-m22273wf.js} +3 -3
- package/dist/chunks/{bus-7ambk3z6.js → vcs-m33a7njg.js} +41 -41
- package/dist/chunks/{bus-t4n7m6zf.js → vcs-m5fkg57x.js} +32 -32
- package/dist/chunks/{bus-g6rdvcdw.js → vcs-m68y8hd5.js} +17 -17
- package/dist/chunks/{bus-xm26fr51.js → vcs-m6qs7jjd.js} +10 -10
- package/dist/chunks/{bus-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-0p11b9tv.js → vcs-maar8wck.js} +6 -6
- package/dist/chunks/{bus-maspj1v3.js → vcs-maspj1v3.js} +1 -1
- package/dist/chunks/{bus-vj8mtejf.js → vcs-mhmq597p.js} +17 -17
- package/dist/chunks/{bus-htpbdr1d.js → vcs-mvpchj3s.js} +29 -29
- package/dist/chunks/{bus-n0p0277s.js → vcs-n0p0277s.js} +1 -1
- package/dist/chunks/{bus-kedzwwnr.js → vcs-n39q19g8.js} +4 -4
- package/dist/chunks/{bus-abr51mnh.js → vcs-n3bkb5q1.js} +8 -8
- package/dist/chunks/{bus-jzxk7jdc.js → vcs-n9tasrvf.js} +12 -12
- package/dist/chunks/{bus-zt2awk40.js → vcs-ndxwzmcc.js} +36 -36
- package/dist/chunks/{bus-zegptfkw.js → vcs-nfggw9da.js} +5 -5
- package/dist/chunks/{bus-6b2dxyr2.js → vcs-njnvzz52.js} +42 -42
- package/dist/chunks/{bus-9dhj7pzk.js → vcs-nqqb3qew.js} +14 -14
- package/dist/chunks/{bus-tpfax3t6.js → vcs-nz2z8868.js} +40 -40
- package/dist/chunks/{bus-p015t6z3.js → vcs-p015t6z3.js} +2 -2
- package/dist/chunks/{bus-bhwcrmj7.js → vcs-p3yv1tbb.js} +13 -13
- package/dist/chunks/{bus-2h28cep3.js → vcs-p63vsd4p.js} +36 -36
- package/dist/chunks/{bus-5zrxpy3q.js → vcs-p7vhpwh8.js} +5 -5
- package/dist/chunks/{bus-1ya82mrw.js → vcs-pbtkdcp0.js} +7 -7
- package/dist/chunks/{bus-c1953ttw.js → vcs-pe678q2q.js} +2 -2
- package/dist/chunks/{bus-cah09krx.js → vcs-pe8zxjjb.js} +11 -11
- package/dist/chunks/{bus-jv78zvp3.js → vcs-pg0ng17h.js} +11 -11
- package/dist/chunks/{bus-1xwbrvt7.js → vcs-pja5mqfm.js} +9 -9
- package/dist/chunks/{bus-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{bus-5g3z7av9.js → vcs-prajgvp7.js} +16 -16
- package/dist/chunks/{bus-w76xjer3.js → vcs-prd8gnhb.js} +4 -4
- package/dist/chunks/{bus-3s4b3ezj.js → vcs-pz16wjas.js} +4 -4
- package/dist/chunks/{bus-yj5wzhce.js → vcs-q11fyp6d.js} +17 -17
- package/dist/chunks/{bus-06q2jeyp.js → vcs-q15q0jep.js} +9 -9
- package/dist/chunks/{bus-ms3syv86.js → vcs-qc5pkzrw.js} +14 -14
- package/dist/chunks/{bus-qjgzc4b4.js → vcs-qjgzc4b4.js} +1 -1
- package/dist/chunks/{bus-8df9xh9g.js → vcs-qz7bsaqe.js} +11 -11
- package/dist/chunks/{bus-r0yr0wbs.js → vcs-r0yr0wbs.js} +1 -1
- package/dist/chunks/{bus-956c56jz.js → vcs-r1k9m3eb.js} +8 -8
- package/dist/chunks/{bus-bm2mqchg.js → vcs-r47ja65p.js} +18 -18
- package/dist/chunks/{bus-rb9dy4dg.js → vcs-rb9dy4dg.js} +1 -1
- package/dist/chunks/{bus-w0569hsk.js → vcs-rcbk8nhg.js} +25 -25
- package/dist/chunks/{bus-1j2dtaqf.js → vcs-rdsms1bd.js} +26 -26
- package/dist/chunks/{bus-wm3cz6bg.js → vcs-rek8exz1.js} +30 -30
- package/dist/chunks/{bus-smfcvx02.js → vcs-rmt6m6se.js} +9 -9
- package/dist/chunks/{bus-rt5dr6hb.js → vcs-rt5dr6hb.js} +1 -1
- package/dist/chunks/{bus-231a8wys.js → vcs-s12jh10e.js} +8 -8
- package/dist/chunks/{bus-pyv2pjn5.js → vcs-s20e5wsv.js} +31 -31
- package/dist/chunks/{bus-mnd9dafd.js → vcs-s8vdmeb0.js} +10 -10
- package/dist/chunks/{bus-q4q80s4a.js → vcs-skfx7z6k.js} +15 -15
- package/dist/chunks/{bus-kph7g7k5.js → vcs-skwe01yc.js} +11 -11
- package/dist/chunks/{bus-sqjzf8x2.js → vcs-sqjzf8x2.js} +1 -1
- package/dist/chunks/{bus-gq4ft62x.js → vcs-szbkmyzk.js} +17 -17
- package/dist/chunks/{bus-wznw0skg.js → vcs-t8v8tvff.js} +23 -23
- package/dist/chunks/{bus-0ks2n9jf.js → vcs-tasvem1v.js} +6 -6
- package/dist/chunks/{bus-gyvvxe68.js → vcs-tbynrmzc.js} +93 -93
- package/dist/chunks/{bus-tczq8hjw.js → vcs-tczq8hjw.js} +1 -1
- package/dist/chunks/{bus-ghn7jtaj.js → vcs-tw1cfj00.js} +45 -45
- package/dist/chunks/{bus-tw8zr1ps.js → vcs-tw8zr1ps.js} +1 -1
- package/dist/chunks/{bus-twv2r8f4.js → vcs-twv2r8f4.js} +2 -2
- package/dist/chunks/{bus-5dj834cv.js → vcs-v0yw3gr0.js} +5 -5
- package/dist/chunks/{bus-v2r1d0zg.js → vcs-v2r1d0zg.js} +1 -1
- package/dist/chunks/{bus-wpcz644m.js → vcs-v34k8dr0.js} +15 -15
- package/dist/chunks/{bus-5r00rv09.js → vcs-v60pntgq.js} +32 -32
- package/dist/chunks/{bus-p8var5ry.js → vcs-v9085ex6.js} +4 -4
- package/dist/chunks/{bus-k0agw6wh.js → vcs-v94mhwh5.js} +13 -13
- package/dist/chunks/{bus-558jb3j2.js → vcs-vb9pfrew.js} +10 -10
- package/dist/chunks/{bus-vd3b3yk9.js → vcs-vd3b3yk9.js} +1 -1
- package/dist/chunks/{bus-8v7kcz56.js → vcs-vdc7b2sf.js} +11 -11
- package/dist/chunks/{bus-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-rtdrjve7.js → vcs-vh9aq6dc.js} +44 -44
- package/dist/chunks/{bus-efnptb2b.js → vcs-vpnrak8v.js} +16 -16
- package/dist/chunks/{bus-47rq8bk5.js → vcs-vs6edpr4.js} +24 -24
- package/dist/chunks/{bus-2m54h93x.js → vcs-vt7gs0sa.js} +28 -28
- package/dist/chunks/{bus-dj1vw1rv.js → vcs-vw4tn0tb.js} +15 -15
- package/dist/chunks/{bus-xrpfz6f8.js → vcs-vzmjdaw1.js} +9 -9
- package/dist/chunks/{bus-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-76cb1hcw.js → vcs-w8qtt4th.js} +4 -4
- package/dist/chunks/{bus-wakvkjy4.js → vcs-wakvkjy4.js} +1 -1
- package/dist/chunks/{bus-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{bus-a0hasf4t.js → vcs-wjy5h13p.js} +16 -16
- package/dist/chunks/{bus-kfag0pyw.js → vcs-wnaab4d3.js} +34 -34
- package/dist/chunks/{bus-c6z72wfs.js → vcs-wsf6rpby.js} +9 -9
- package/dist/chunks/{bus-yrnwxx36.js → vcs-wtk09v7c.js} +24 -24
- package/dist/chunks/{bus-t8nkzmzj.js → vcs-wwye013q.js} +4 -4
- package/dist/chunks/{bus-q306eq19.js → vcs-x8a5m77f.js} +18 -18
- package/dist/chunks/{bus-zz3ytsxz.js → vcs-xa1dtvk7.js} +6 -6
- package/dist/chunks/{bus-zj5v4v4s.js → vcs-xg28gvg7.js} +16 -16
- package/dist/chunks/{bus-392n4kdw.js → vcs-xkmedc5t.js} +37 -37
- package/dist/chunks/{bus-zs3fm22t.js → vcs-xpmys0j9.js} +25 -25
- package/dist/chunks/{bus-c1hj90w1.js → vcs-xqvtd8tg.js} +4 -4
- package/dist/chunks/{bus-p12nptkx.js → vcs-xxjtdm9r.js} +11 -11
- package/dist/chunks/{bus-yb20nhc3.js → vcs-yb20nhc3.js} +1 -1
- package/dist/chunks/{bus-n5gmbbrg.js → vcs-yqpwreg0.js} +51 -51
- package/dist/chunks/{bus-cmd2t0hw.js → vcs-yqtnzwzq.js} +5 -5
- package/dist/chunks/{bus-yhjes8yv.js → vcs-yxdc7d4s.js} +5 -5
- package/dist/chunks/{bus-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-z38nccrw.js → vcs-z38nccrw.js} +1 -1
- package/dist/chunks/{bus-b7wm22tc.js → vcs-z61xbmm9.js} +19 -19
- package/dist/chunks/{bus-82at59ng.js → vcs-z8nn4snw.js} +46 -46
- package/dist/chunks/{bus-0mcw7mfx.js → vcs-za6w1b0s.js} +7 -7
- package/dist/chunks/{bus-zkg84ctx.js → vcs-zkg84ctx.js} +1 -1
- package/dist/chunks/{bus-b0sjjnk6.js → vcs-zpxa3g5c.js} +15 -15
- package/dist/chunks/vcs-zrej7bp7.js +257 -0
- 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 +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +74 -74
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +97 -97
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +106 -106
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- 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 +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +162 -162
- package/dist/session/diff.js +90 -90
- 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 +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -102
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- 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 +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/bus-mswbh5s9.js +0 -257
- package/dist/chunks/bus-p1hxy2vt.js +0 -26
- package/dist/chunks/bus-z7bdqmx5.js +0 -18
- /package/dist/chunks/{bus-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2bv980vf.js → vcs-2bv980vf.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5fjb7ams.js → vcs-5fjb7ams.js} +0 -0
- /package/dist/chunks/{bus-5qd3pb7m.js → vcs-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → vcs-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a058387c.js → vcs-a058387c.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hcxmzztb.js → vcs-hcxmzztb.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jze0r7bz.js → vcs-jze0r7bz.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-m18g726c.js → vcs-m18g726c.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-pkyv6v7h.js → vcs-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-ve7vex1e.js → vcs-ve7vex1e.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wjj7prxr.js → vcs-wjj7prxr.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./vcs-wjy5h13p.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-rb9dy4dg.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-vh9aq6dc.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service79,
|
|
15
|
+
node83
|
|
16
|
+
} from "./vcs-3xhcmk8x.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-vd3b3yk9.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info22,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service66,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node70
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info22, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service66 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const bus = yield*
|
|
61
|
+
const location = yield* Service79;
|
|
62
|
+
const bus = yield* Service83;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
65
65
|
const vcs = location.vcs;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info22));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service66.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node70 = makeLocationNode({
|
|
191
|
+
service: Service66,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node83, node87]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info22, Mode2, DiffError2, InitializeError2, Service66, node70, exports_vcs };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./vcs-wjy5h13p.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service68,
|
|
7
|
+
node72
|
|
8
|
+
} from "./vcs-p3yv1tbb.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-vd3b3yk9.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event15,
|
|
21
|
+
ID: () => ID11,
|
|
22
|
+
Input: () => Input15,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service67,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node71
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event15 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID11 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input15 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID11, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID11
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID11,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service67 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service83;
|
|
70
|
+
const kv = yield* Service68;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service67.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node71 = makeLocationNode({
|
|
188
|
+
service: Service67,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node87, node72]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID11, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service67, node71, exports_websearch3, Event15 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Info9,
|
|
6
6
|
ID4,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-en4cswrv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service51
|
|
11
|
+
} from "./vcs-07zevav5.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin16,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -430,19 +430,19 @@ var OpencodeContent2 = opencode_default;
|
|
|
430
430
|
var ReportContent2 = report_default;
|
|
431
431
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
432
432
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
433
|
-
var
|
|
433
|
+
var Plugin16 = define({
|
|
434
434
|
id: "opencode.skill",
|
|
435
435
|
effect: Effect.fn(function* (ctx) {
|
|
436
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
437
|
yield* ctx.skill.transform((editor) => {
|
|
438
|
-
editor.add(
|
|
438
|
+
editor.add(Info9.make({
|
|
439
439
|
id: ID4.make("opencode"),
|
|
440
440
|
name: Name2.make("OpenCode"),
|
|
441
441
|
description: OpencodeDescription2,
|
|
442
442
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
443
443
|
content: OpencodeContent2
|
|
444
444
|
}));
|
|
445
|
-
editor.add(
|
|
445
|
+
editor.add(Info9.make({
|
|
446
446
|
id: ID4.make("report"),
|
|
447
447
|
name: Name2.make("Report"),
|
|
448
448
|
description: REPORT_DESCRIPTION,
|
|
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
472
472
|
`);
|
|
473
473
|
});
|
|
474
474
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
475
|
-
const config = yield*
|
|
475
|
+
const config = yield* Service51;
|
|
476
476
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
477
477
|
});
|
|
478
478
|
function terminal() {
|
|
@@ -486,4 +486,4 @@ function shell() {
|
|
|
486
486
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
489
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin16, exports_skill };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service4,
|
|
13
|
+
node: () => node5
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service4 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service4.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node5 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service4, node5, exports_update };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names4,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names4() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names4, paths2, exports_protected };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./vcs-9mere5t7.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-qjgzc4b4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service83,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node87,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -78,13 +78,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
78
78
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
79
79
|
var isDefinition = (input) => !Array.isArray(input);
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service83 extends Context.Service()("@opencode/Bus") {
|
|
82
82
|
}
|
|
83
83
|
function configured12(options) {
|
|
84
84
|
return makeGlobalNode({
|
|
85
|
-
service:
|
|
86
|
-
deps: [
|
|
87
|
-
layer: Layer.effect(
|
|
85
|
+
service: Service83,
|
|
86
|
+
deps: [node88],
|
|
87
|
+
layer: Layer.effect(Service83, Effect.gen(function* () {
|
|
88
88
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
89
89
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
90
90
|
const pubsub = {
|
|
@@ -95,7 +95,7 @@ function configured12(options) {
|
|
|
95
95
|
const projectors = new Map;
|
|
96
96
|
const listeners = new Array;
|
|
97
97
|
const durableLocks = makeUnsafe2();
|
|
98
|
-
const { db } = yield*
|
|
98
|
+
const { db } = yield* Service84;
|
|
99
99
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
100
100
|
const persist = options?.persist ?? false;
|
|
101
101
|
const sessions = new Map;
|
|
@@ -527,7 +527,7 @@ function configured12(options) {
|
|
|
527
527
|
list.push((event) => projector(event));
|
|
528
528
|
projectors.set(key, list);
|
|
529
529
|
});
|
|
530
|
-
return
|
|
530
|
+
return Service83.of({
|
|
531
531
|
publish,
|
|
532
532
|
publishAll,
|
|
533
533
|
subscribe,
|
|
@@ -541,6 +541,6 @@ function configured12(options) {
|
|
|
541
541
|
}))
|
|
542
542
|
});
|
|
543
543
|
}
|
|
544
|
-
var
|
|
544
|
+
var node87 = configured12();
|
|
545
545
|
|
|
546
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
546
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service83, configured12, node87, exports_bus };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-zkg84ctx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service79
|
|
8
|
+
} from "./vcs-3xhcmk8x.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service60
|
|
11
|
+
} from "./vcs-2cyz7x39.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service20
|
|
14
|
+
} from "./vcs-dtqdhp9c.js";
|
|
15
15
|
import {
|
|
16
16
|
Service13,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-gag6a473.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service73
|
|
22
|
+
} from "./vcs-ep7q3v7p.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service16,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-9wdb4fag.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./vcs-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input3,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin20,
|
|
42
|
+
name: () => name3,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name3 = "patch";
|
|
89
|
+
var Input3 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent3 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin20 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
111
|
+
const environment = yield* Service60;
|
|
112
|
+
const access = yield* Service16;
|
|
113
113
|
const fileMutation = yield* Service13;
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
114
|
+
const formatter = yield* Service20;
|
|
115
|
+
const location = yield* Service79;
|
|
116
|
+
const permission = yield* Service73;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin13 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent3(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name3, Input3, Applied2, Output2, toModelContent3, Plugin20, exports_patch };
|