@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,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service81,
|
|
9
|
+
node85
|
|
10
|
+
} from "./vcs-dzznqqbs.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service79,
|
|
13
|
+
node83
|
|
14
|
+
} from "./vcs-3xhcmk8x.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-vd3b3yk9.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error4,
|
|
26
|
+
ID: () => ID10,
|
|
27
|
+
Service: () => Service64,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node67,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID10 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service64 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID10.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
141
141
|
for (const [file, snapshot] of input.files) {
|
|
142
142
|
const absolute = path.resolve(worktree, file);
|
|
143
143
|
if (!FSUtil.contains(worktree, absolute))
|
|
144
|
-
return yield* new
|
|
144
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
145
145
|
files.set(file, TreeID2.make(snapshot));
|
|
146
146
|
}
|
|
147
147
|
return files;
|
|
148
148
|
});
|
|
149
149
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
150
150
|
if (!enabled())
|
|
151
|
-
return yield* new
|
|
151
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
152
152
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
153
153
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service64.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
156
156
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
157
|
-
var
|
|
158
|
-
service:
|
|
157
|
+
var node67 = makeLocationNode({
|
|
158
|
+
service: Service64,
|
|
159
159
|
layer,
|
|
160
|
-
deps: [FSUtil.node,
|
|
160
|
+
deps: [FSUtil.node, node85, Global.node, node83]
|
|
161
161
|
});
|
|
162
|
-
var noopLayer3 = Layer.succeed(
|
|
162
|
+
var noopLayer3 = Layer.succeed(Service64, Service64.of({
|
|
163
163
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
164
164
|
reload: () => Effect.void,
|
|
165
165
|
capture: () => Effect.undefined,
|
|
@@ -168,13 +168,13 @@ var noopLayer3 = Layer.succeed(Service70, Service70.of({
|
|
|
168
168
|
restore: () => Effect.void
|
|
169
169
|
}));
|
|
170
170
|
function failure(operation, cause) {
|
|
171
|
-
if (cause instanceof
|
|
171
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
172
172
|
return cause;
|
|
173
|
-
return new
|
|
173
|
+
return new Error4({
|
|
174
174
|
operation,
|
|
175
175
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
176
176
|
cause
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { ID10, Error4, Service64, node67, noopLayer3, exports_snapshot2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./vcs-0xfwnfde.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./vcs-3xhcmk8x.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./vcs-07zevav5.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-9p9xqj3m.js";
|
|
13
13
|
import {
|
|
14
14
|
File2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service70
|
|
16
|
+
} from "./vcs-xpmys0j9.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin35
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin35 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
|
-
const discovery = yield*
|
|
37
|
+
const discovery = yield* Service70;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service51;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
43
|
-
const location = yield*
|
|
44
|
-
const watcher = yield*
|
|
43
|
+
const location = yield* Service79;
|
|
44
|
+
const watcher = yield* Service52;
|
|
45
45
|
const changes = yield* PubSub.sliding(1);
|
|
46
46
|
const watches = yield* FiberMap.make();
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -174,4 +174,4 @@ function isUrl(source) {
|
|
|
174
174
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
export {
|
|
177
|
+
export { Plugin35, exports_instruction };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./vcs-3xhcmk8x.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./vcs-07zevav5.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-3gvxgqww.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-6pjqjmy2.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
@@ -31,8 +31,8 @@ import { Global } from "@opencode/util/global";
|
|
|
31
31
|
var Plugin34 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service51;
|
|
35
|
+
const location = yield* Service79;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-qz7bsaqe.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-40za9wsf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin7,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
16
|
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin7 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin40 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint5,
|
|
80
|
+
export { endpoint5, Plugin7, exports_firecrawl };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./vcs-3xhcmk8x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./vcs-07zevav5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service20
|
|
9
|
+
} from "./vcs-dtqdhp9c.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make8
|
|
12
|
+
} from "./vcs-dh62xe4r.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-6pjqjmy2.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin40
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin40 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service51;
|
|
36
|
+
const formatter = yield* Service20;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service79;
|
|
40
40
|
const npm = yield* Npm.Service;
|
|
41
41
|
const processes = yield* AppProcess.Service;
|
|
42
42
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -44,7 +44,7 @@ var Plugin17 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make8({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin40, exports_formatter };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./vcs-wjy5h13p.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID16,
|
|
20
|
+
Info: () => Info26,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError11,
|
|
24
|
+
Reply: () => Reply3,
|
|
25
|
+
Service: () => Service77,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer26,
|
|
29
|
+
node: () => node81,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID16 = Form.ID;
|
|
39
|
+
var Info26 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID16
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID16
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID16
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID16,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service77 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer26 = Layer.effect(Service77, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID16.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer25 = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service77.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node81 = makeLocationNode({ service: Service77, layer: layer26, deps: [node87] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID16, Info26, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service77, layer26, node81, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-9p9xqj3m.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-998yhzzq.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-40za9wsf.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin4,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin4 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin41 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint2);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint2, Plugin4, exports_exa };
|