@opencode/core 0.0.0-dev-19977 → 0.0.0-dev-19978
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{vcs-fng9e0je.js → shell-0gaj4617.js} +6 -6
- package/dist/chunks/shell-0mesazry.js +4 -0
- package/dist/chunks/{vcs-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
- package/dist/chunks/{vcs-qdpmgmct.js → shell-0yj0eem9.js} +8 -8
- package/dist/chunks/{vcs-18e56dsp.js → shell-1080qp6z.js} +4 -4
- package/dist/chunks/{vcs-mp0zv96f.js → shell-11vtep71.js} +13 -13
- package/dist/chunks/{vcs-5ypy0aps.js → shell-18fd1sb5.js} +3 -3
- package/dist/chunks/{vcs-xcckkd32.js → shell-19ezmb62.js} +12 -12
- package/dist/chunks/{vcs-hn09sy8b.js → shell-1crvyphj.js} +4 -4
- package/dist/chunks/{vcs-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-7hgdmm2q.js → shell-1kwcskzj.js} +7 -7
- package/dist/chunks/{vcs-0gyx6ezr.js → shell-1p0k74td.js} +16 -16
- package/dist/chunks/{vcs-e6fmpsdj.js → shell-1rmaqtrx.js} +4 -4
- package/dist/chunks/{vcs-pzk07e2t.js → shell-1s2t0np1.js} +32 -32
- package/dist/chunks/{vcs-jqgys1dy.js → shell-1w5344nt.js} +10 -10
- package/dist/chunks/{vcs-nehsc8qp.js → shell-1yxss9sq.js} +8 -8
- package/dist/chunks/{vcs-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{vcs-2402vzrj.js → shell-2402vzrj.js} +1 -1
- package/dist/chunks/{vcs-ca5qybfk.js → shell-250ht8wz.js} +9 -9
- package/dist/chunks/{vcs-nw28za41.js → shell-260cwht4.js} +80 -80
- package/dist/chunks/{vcs-mgj4p8m4.js → shell-2640wgj5.js} +14 -14
- package/dist/chunks/{vcs-gkpeh6zm.js → shell-2976z3d9.js} +11 -11
- package/dist/chunks/{vcs-z63w68vq.js → shell-29x78va6.js} +6 -6
- package/dist/chunks/{vcs-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-hy8nah29.js → shell-2ey0y3b4.js} +35 -35
- package/dist/chunks/{vcs-yt3hy1g9.js → shell-2p623br6.js} +5 -5
- package/dist/chunks/{vcs-wgtgqmgr.js → shell-2srtjxyz.js} +317 -317
- package/dist/chunks/{vcs-qmhk62hb.js → shell-2vp71rdt.js} +12 -12
- package/dist/chunks/{vcs-y307swq8.js → shell-387f2ghq.js} +10 -10
- package/dist/chunks/{vcs-1scs63j0.js → shell-3abh18r5.js} +20 -20
- package/dist/chunks/{vcs-esp4rdvc.js → shell-3cghyafc.js} +11 -11
- package/dist/chunks/{vcs-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-vm6hw26a.js → shell-3gh3ew6n.js} +8 -8
- package/dist/chunks/{vcs-wrka22zr.js → shell-3h4a5sy3.js} +24 -24
- package/dist/chunks/{vcs-raj0fffq.js → shell-3hapsyq9.js} +28 -28
- package/dist/chunks/{vcs-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-00z3vp5f.js → shell-3j8sdtpz.js} +4 -4
- package/dist/chunks/{vcs-dgpaqazm.js → shell-3kn2wvnz.js} +6 -6
- package/dist/chunks/{vcs-02egfabs.js → shell-3q2rkys7.js} +11 -11
- package/dist/chunks/{vcs-qagsqzqe.js → shell-3s7qr6kk.js} +16 -16
- package/dist/chunks/{vcs-tzjwyy45.js → shell-3sb31twn.js} +3 -3
- package/dist/chunks/{vcs-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-6vx8265g.js → shell-420tzvdn.js} +24 -24
- package/dist/chunks/{vcs-sk41x0qc.js → shell-48698xmq.js} +16 -16
- package/dist/chunks/{vcs-3790xwfd.js → shell-4a5q5w53.js} +25 -25
- package/dist/chunks/{vcs-ea198e8q.js → shell-4kcqzamp.js} +16 -16
- package/dist/chunks/{vcs-zamycwzx.js → shell-4r49tv4x.js} +12 -12
- package/dist/chunks/shell-4v7qdvcn.js +18 -0
- package/dist/chunks/{vcs-rvmg0ahe.js → shell-4xnk508k.js} +1 -1
- package/dist/chunks/{vcs-a3r4dcrj.js → shell-51jra4mh.js} +2 -2
- package/dist/chunks/{vcs-ybhbtxjg.js → shell-53g2xa05.js} +9 -9
- package/dist/chunks/{vcs-dnrd96kf.js → shell-561eeawp.js} +17 -17
- package/dist/chunks/{vcs-57ez7d0k.js → shell-57ez7d0k.js} +2 -2
- package/dist/chunks/{vcs-d7r387ef.js → shell-5b1f5rf1.js} +6 -6
- package/dist/chunks/{vcs-cr17rqga.js → shell-5bs0k4xh.js} +9 -9
- package/dist/chunks/{vcs-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{vcs-sj4zt4zs.js → shell-5fs6yg5a.js} +5 -5
- package/dist/chunks/{vcs-hh877wqm.js → shell-5j5738f4.js} +10 -10
- package/dist/chunks/{vcs-34d507gh.js → shell-5ns8eg09.js} +20 -20
- package/dist/chunks/{vcs-rd68j2my.js → shell-5qc21a3k.js} +26 -26
- package/dist/chunks/{vcs-yf18nbwz.js → shell-5t1mxvsw.js} +18 -18
- package/dist/chunks/{vcs-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-x2rjr4y2.js → shell-5xmvjqbs.js} +23 -23
- package/dist/chunks/{vcs-krw5nhfk.js → shell-5y5m0zb6.js} +30 -30
- package/dist/chunks/{vcs-4c8cjtxr.js → shell-5zfxgaph.js} +8 -8
- package/dist/chunks/{vcs-21jmns5z.js → shell-6134wrt7.js} +53 -53
- package/dist/chunks/{vcs-y2swddp5.js → shell-62hy6yfd.js} +8 -8
- package/dist/chunks/{vcs-5b5g75gf.js → shell-62yfe89d.js} +8 -8
- package/dist/chunks/{vcs-669tq793.js → shell-669tq793.js} +1 -1
- package/dist/chunks/{vcs-pkr90xzg.js → shell-6a5cyqv6.js} +7 -7
- package/dist/chunks/{vcs-qw1bjgpz.js → shell-6dv6n725.js} +24 -24
- package/dist/chunks/{vcs-mm5kxf07.js → shell-6f8737q3.js} +8 -8
- package/dist/chunks/{vcs-1571dsgn.js → shell-6gj1ckc8.js} +12 -12
- package/dist/chunks/{vcs-eveqffnf.js → shell-6hr9dd4j.js} +24 -24
- package/dist/chunks/{vcs-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
- package/dist/chunks/{vcs-qa1eq3gf.js → shell-6wqzn9nn.js} +3 -3
- package/dist/chunks/{vcs-0csvndr3.js → shell-6zdpm8gg.js} +3 -3
- package/dist/chunks/{vcs-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-xd4kzs7n.js → shell-7bt5snpn.js} +9 -9
- package/dist/chunks/{vcs-qgn6gcr1.js → shell-7dqw4kz8.js} +5 -5
- package/dist/chunks/{vcs-77n73x0z.js → shell-7eg5yrd4.js} +13 -13
- package/dist/chunks/{vcs-jexxy024.js → shell-7jdsj2a9.js} +2 -2
- package/dist/chunks/{vcs-6mwa2s17.js → shell-7mv393fz.js} +7 -7
- package/dist/chunks/{vcs-wqys0xwa.js → shell-7p1faebm.js} +13 -13
- package/dist/chunks/{vcs-yvvvp4gn.js → shell-7s2tn799.js} +8 -8
- package/dist/chunks/{vcs-35qq722n.js → shell-7tj6d01t.js} +7 -7
- package/dist/chunks/{vcs-qx03bd0a.js → shell-7v61v3dm.js} +11 -11
- package/dist/chunks/{vcs-yzrxx1hs.js → shell-7vfxn4ds.js} +44 -44
- package/dist/chunks/{vcs-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-v00wb7q9.js → shell-8f1yg6p5.js} +46 -46
- package/dist/chunks/{vcs-y30evbxf.js → shell-8gj0fsd9.js} +4 -4
- package/dist/chunks/{vcs-04zx5mpa.js → shell-8jkt1xn6.js} +1 -1
- package/dist/chunks/{vcs-q29hs5tk.js → shell-8k69atjg.js} +20 -20
- package/dist/chunks/{vcs-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
- package/dist/chunks/{vcs-phstrbs2.js → shell-8v6pyhej.js} +8 -8
- package/dist/chunks/{vcs-7pej1m6n.js → shell-8z7r2bkb.js} +4 -4
- package/dist/chunks/{vcs-ejsjeqcn.js → shell-9514k7xd.js} +6 -6
- package/dist/chunks/{vcs-e1j0qnan.js → shell-9eay0pge.js} +3 -3
- package/dist/chunks/{vcs-pdx9bhth.js → shell-9fvzrgf5.js} +14 -14
- package/dist/chunks/{vcs-a3ftg8j6.js → shell-9jzp6rtr.js} +9 -9
- package/dist/chunks/{vcs-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
- package/dist/chunks/{vcs-g8d3gcyj.js → shell-a2ew8a62.js} +7 -7
- package/dist/chunks/{vcs-31a459na.js → shell-a51z7ksw.js} +11 -11
- package/dist/chunks/{vcs-88b3bgew.js → shell-a5c1graw.js} +24 -24
- package/dist/chunks/shell-a9zdeeck.js +26 -0
- package/dist/chunks/{vcs-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-026mxvrw.js → shell-acffanb1.js} +24 -24
- package/dist/chunks/{vcs-vy4zg7qh.js → shell-afed7ext.js} +5 -5
- package/dist/chunks/{vcs-37s12vcn.js → shell-ag9w8cw1.js} +5 -5
- package/dist/chunks/{vcs-3qjhd3zm.js → shell-akjymesb.js} +15 -15
- package/dist/chunks/{vcs-ypyq0fq8.js → shell-as7bzewp.js} +3 -3
- package/dist/chunks/shell-aw8ehhwx.js +252 -0
- package/dist/chunks/{vcs-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-6xyj4q8a.js → shell-b6kpjdeq.js} +9 -9
- package/dist/chunks/{vcs-5xjstr01.js → shell-b8adnfnt.js} +17 -17
- package/dist/chunks/{vcs-ce4c0a8t.js → shell-bcdacnkc.js} +7 -7
- package/dist/chunks/{vcs-1gx19wx1.js → shell-bcdav7a4.js} +13 -13
- package/dist/chunks/{vcs-65gfcbyz.js → shell-bez9vw3c.js} +29 -29
- package/dist/chunks/{vcs-762r0j46.js → shell-bgs9y14h.js} +5 -5
- package/dist/chunks/{vcs-ncne3zzx.js → shell-bhsa20q5.js} +17 -17
- package/dist/chunks/{vcs-s8a7esdq.js → shell-bpf0162m.js} +15 -15
- package/dist/chunks/{vcs-4s7kcajh.js → shell-c0qnvhxc.js} +10 -10
- package/dist/chunks/{vcs-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
- package/dist/chunks/{vcs-qnre3gvs.js → shell-ch7t79yz.js} +34 -34
- package/dist/chunks/{vcs-wh2pd5f7.js → shell-ckkgcvab.js} +78 -78
- package/dist/chunks/{vcs-cq37gk0t.js → shell-cq37gk0t.js} +4 -4
- package/dist/chunks/{vcs-5zdtcgy0.js → shell-cry49m72.js} +38 -38
- package/dist/chunks/{vcs-5c0f1prt.js → shell-csf2jhsg.js} +4 -4
- package/dist/chunks/{vcs-ra3bs4fs.js → shell-cte7fmtx.js} +20 -20
- package/dist/chunks/{vcs-aee8h6x3.js → shell-d3c81gqs.js} +15 -15
- package/dist/chunks/{vcs-rwm5vee1.js → shell-ddt2bs9e.js} +4 -4
- package/dist/chunks/{vcs-eq9pbqr9.js → shell-dhhwvr0d.js} +10 -10
- package/dist/chunks/{vcs-n2havasm.js → shell-dy5t6xhr.js} +13 -13
- package/dist/chunks/{vcs-p5tk2x4g.js → shell-dykkexkt.js} +2 -2
- package/dist/chunks/{vcs-vmact3ma.js → shell-e0tqeget.js} +16 -16
- package/dist/chunks/{vcs-5qd3pb7m.js → shell-e3qxr5gk.js} +2 -2
- package/dist/chunks/{vcs-p44d8wdy.js → shell-ead3g9p8.js} +5 -5
- package/dist/chunks/{vcs-q6f7adkm.js → shell-ef00qedp.js} +12 -12
- package/dist/chunks/{vcs-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-erw5rpbs.js → shell-erw5rpbs.js} +2 -2
- package/dist/chunks/{vcs-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-r8xr0va3.js → shell-f2n192rq.js} +4 -4
- package/dist/chunks/{vcs-wq8d43zf.js → shell-f409aq7x.js} +23 -23
- package/dist/chunks/{vcs-f6mdpyt7.js → shell-f4k8275x.js} +47 -47
- package/dist/chunks/{vcs-gs4tkc79.js → shell-f5gy8qwh.js} +8 -8
- package/dist/chunks/{vcs-f828m53h.js → shell-f828m53h.js} +2 -2
- package/dist/chunks/{vcs-ve9gaad2.js → shell-fdytj4qh.js} +2 -2
- package/dist/chunks/{vcs-a4gexze1.js → shell-fh7gdbkn.js} +3 -3
- package/dist/chunks/{vcs-0b9vs59q.js → shell-fp7m90ch.js} +1 -1
- package/dist/chunks/{vcs-mxqk8fax.js → shell-ftjnkh8h.js} +5 -5
- package/dist/chunks/{vcs-hnr5yq9h.js → shell-fvsyg6qk.js} +5 -5
- package/dist/chunks/{vcs-jfmt6x2y.js → shell-fwwj4rbr.js} +10 -10
- package/dist/chunks/{vcs-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
- package/dist/chunks/{vcs-36k6dezp.js → shell-g2b0fmk0.js} +9 -9
- package/dist/chunks/{vcs-fmb18yvb.js → shell-g4e7yzyy.js} +16 -16
- package/dist/chunks/{vcs-d4he2qe1.js → shell-g6q9qykm.js} +9 -9
- package/dist/chunks/{vcs-0p47j88a.js → shell-g73vfdfa.js} +11 -11
- package/dist/chunks/{vcs-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-22a20jna.js → shell-gf6qp9k5.js} +33 -33
- package/dist/chunks/{vcs-6mm913p5.js → shell-gthdbg3t.js} +4 -4
- package/dist/chunks/{vcs-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
- package/dist/chunks/{vcs-9c1r8673.js → shell-h0ncryma.js} +10 -10
- package/dist/chunks/{vcs-x8cycxf4.js → shell-h5b4kcx3.js} +6 -6
- package/dist/chunks/{vcs-h6r3nrb9.js → shell-h6r3nrb9.js} +1 -1
- package/dist/chunks/{vcs-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-g8jasmdt.js → shell-h74ge2a2.js} +11 -11
- package/dist/chunks/{vcs-1enqjbtj.js → shell-h8fbtp05.js} +9 -9
- package/dist/chunks/{vcs-ewtse9cq.js → shell-hg87j33e.js} +17 -17
- package/dist/chunks/{vcs-c3065vva.js → shell-hk9yfvgj.js} +3 -3
- package/dist/chunks/{vcs-5sb1zc5g.js → shell-hsmsnpd6.js} +22 -22
- package/dist/chunks/{vcs-5g96j2vd.js → shell-hw51ngyv.js} +8 -8
- package/dist/chunks/{vcs-j56e64zr.js → shell-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-krjf62r2.js → shell-j9frms3x.js} +6 -6
- package/dist/chunks/{vcs-2m91t0br.js → shell-jh94thfm.js} +128 -128
- package/dist/chunks/{vcs-arcxrr1g.js → shell-jjqebjeq.js} +24 -24
- package/dist/chunks/{vcs-2ndbjpj7.js → shell-jt0at99v.js} +2 -2
- package/dist/chunks/{vcs-7z1m1xqn.js → shell-jyh1spmy.js} +8 -8
- package/dist/chunks/{vcs-7f4kevra.js → shell-jzqj7kse.js} +30 -30
- package/dist/chunks/{vcs-nzks3jc8.js → shell-k3c624dm.js} +3 -3
- package/dist/chunks/{vcs-cavr175a.js → shell-kk00bynn.js} +21 -21
- package/dist/chunks/{vcs-at3m1tvy.js → shell-kmv09gbc.js} +18 -18
- package/dist/chunks/{vcs-jg9pn0ks.js → shell-knzq6194.js} +27 -27
- package/dist/chunks/{vcs-ebt3yecv.js → shell-kqkf13qm.js} +24 -24
- package/dist/chunks/{vcs-73sq42y9.js → shell-kx21j3gp.js} +4 -4
- package/dist/chunks/{vcs-nq7qbqzc.js → shell-m2d0j7c0.js} +9 -9
- package/dist/chunks/{vcs-m3fdjcah.js → shell-m3fdjcah.js} +1 -1
- package/dist/chunks/{vcs-0cvxc6ms.js → shell-m3tsgwa2.js} +38 -38
- package/dist/chunks/{vcs-2n0f0xad.js → shell-m508k0v5.js} +18 -18
- package/dist/chunks/{vcs-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-y36f9vsb.js → shell-maa7zwzz.js} +20 -20
- package/dist/chunks/{vcs-8vbzfqqc.js → shell-magqfpze.js} +42 -42
- package/dist/chunks/{vcs-0mm9aq32.js → shell-magsh8sv.js} +7 -7
- package/dist/chunks/{vcs-56gdpj1q.js → shell-mfqp6xfm.js} +6 -6
- package/dist/chunks/{vcs-ja7awhpc.js → shell-mgezdqvd.js} +3 -3
- package/dist/chunks/{vcs-r5x6zcsm.js → shell-mhkvc446.js} +3 -3
- package/dist/chunks/{vcs-eg9s2d14.js → shell-mrtxncf8.js} +3 -3
- package/dist/chunks/{vcs-c9jrejd8.js → shell-mxkxgfdc.js} +24 -24
- package/dist/chunks/{vcs-14604q16.js → shell-myrc5q0t.js} +22 -22
- package/dist/chunks/{vcs-dedh1m42.js → shell-myyxex1z.js} +15 -15
- package/dist/chunks/{vcs-3ewed21c.js → shell-n2srvep7.js} +4 -4
- package/dist/chunks/{vcs-esww11we.js → shell-n4v7jv1t.js} +16 -16
- package/dist/chunks/{vcs-zvdcdv1n.js → shell-n7pj9vak.js} +25 -25
- package/dist/chunks/{vcs-pxp43rx9.js → shell-nfd8mtse.js} +15 -15
- package/dist/chunks/{vcs-w12svhvm.js → shell-nn0v9drq.js} +43 -43
- package/dist/chunks/{vcs-31ckz9nn.js → shell-ns2c2r1h.js} +12 -12
- package/dist/chunks/{vcs-f0xae989.js → shell-nvra0fyk.js} +15 -15
- package/dist/chunks/{vcs-w3nmmr0q.js → shell-ny0kgn08.js} +2 -2
- package/dist/chunks/{vcs-bzmv9v1t.js → shell-nz32y6j9.js} +28 -28
- package/dist/chunks/{vcs-p28j5sbe.js → shell-p28j5sbe.js} +2 -2
- package/dist/chunks/{vcs-kt8hxg6p.js → shell-p2h430zw.js} +16 -16
- package/dist/chunks/{vcs-bw9zjykr.js → shell-p7a39gy5.js} +6 -6
- package/dist/chunks/{vcs-636n1fx9.js → shell-p7f48tpq.js} +17 -17
- package/dist/chunks/{vcs-rbrcjd28.js → shell-pe5xq6m6.js} +17 -17
- package/dist/chunks/{vcs-nkcwakxz.js → shell-pjedbq3k.js} +6 -6
- package/dist/chunks/{vcs-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-31dgsdk7.js → shell-pk1qwwxe.js} +7 -7
- package/dist/chunks/{vcs-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-nxf13baa.js → shell-q2dkzkdb.js} +11 -11
- package/dist/chunks/{vcs-f7f62ppg.js → shell-qea7c352.js} +27 -27
- package/dist/chunks/{vcs-gtmm17wr.js → shell-qp4q688a.js} +16 -16
- package/dist/chunks/{vcs-qqeeq2t9.js → shell-qqeeq2t9.js} +1 -1
- package/dist/chunks/{vcs-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-wv50yr5g.js → shell-qzhzzgth.js} +43 -43
- package/dist/chunks/{vcs-dpewnr59.js → shell-r3n8e044.js} +9 -9
- package/dist/chunks/{vcs-mn77zb4p.js → shell-r562f6qv.js} +61 -61
- package/dist/chunks/{vcs-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-rhjbct0v.js → shell-rhjbct0v.js} +1 -1
- package/dist/chunks/{vcs-91p43skh.js → shell-rnw38jw6.js} +3 -3
- package/dist/chunks/{vcs-j0c0jrrq.js → shell-rp531hqd.js} +9 -9
- package/dist/chunks/{vcs-xdrba4jw.js → shell-rpjgfq5s.js} +9 -9
- package/dist/chunks/{vcs-yrznvahk.js → shell-s4enseaf.js} +2 -2
- package/dist/chunks/{vcs-k1gkpfdk.js → shell-s5met55r.js} +8 -8
- package/dist/chunks/{vcs-93pp14as.js → shell-s6skgdzw.js} +8 -8
- package/dist/chunks/{vcs-5zr8nydg.js → shell-s8nw8qqp.js} +30 -30
- package/dist/chunks/{vcs-bjtgrew5.js → shell-s9y92xh6.js} +50 -50
- package/dist/chunks/{vcs-70rtrpe7.js → shell-sp1zcgp4.js} +11 -11
- package/dist/chunks/{vcs-n64bhgvh.js → shell-sz15nke5.js} +11 -11
- package/dist/chunks/{vcs-ze01d2sn.js → shell-szpwe2j4.js} +30 -30
- package/dist/chunks/{vcs-f47ks197.js → shell-t673y9ra.js} +18 -18
- package/dist/chunks/{vcs-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
- package/dist/chunks/{vcs-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-47r4vyk3.js → shell-tkeqhyvm.js} +8 -8
- package/dist/chunks/{vcs-zhq6vg7a.js → shell-ts2x07a1.js} +1 -1
- package/dist/chunks/{vcs-w3aqdajt.js → shell-tvpppgsc.js} +13 -13
- package/dist/chunks/{vcs-tvtrv512.js → shell-tvtrv512.js} +1 -1
- package/dist/chunks/{vcs-1wy7xpcm.js → shell-v01tkn9z.js} +9 -9
- package/dist/chunks/{vcs-jspmbzq8.js → shell-v27xpbdp.js} +2 -2
- package/dist/chunks/{vcs-h3emgna1.js → shell-v5g6m2jr.js} +21 -21
- package/dist/chunks/{vcs-gqf37yrc.js → shell-vb8b7bnb.js} +4 -4
- package/dist/chunks/{vcs-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-7jmzt1bp.js → shell-vp1et1m5.js} +20 -20
- package/dist/chunks/{vcs-kbxs9t8f.js → shell-vp53y9j4.js} +11 -11
- package/dist/chunks/{vcs-4fp0tc5q.js → shell-vrwant47.js} +18 -18
- package/dist/chunks/{vcs-4mj78ng4.js → shell-vww8x242.js} +1 -1
- package/dist/chunks/{vcs-8g3cnzmf.js → shell-vxzgcgea.js} +13 -13
- package/dist/chunks/{vcs-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
- package/dist/chunks/{vcs-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-h1smzm8e.js → shell-w94jh9ha.js} +9 -9
- package/dist/chunks/{vcs-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-f501bh8q.js → shell-wxahwc7r.js} +1 -1
- package/dist/chunks/{vcs-w6dttbvj.js → shell-wxe1qfek.js} +6 -6
- package/dist/chunks/{vcs-z7syg6j7.js → shell-wxrbz6ev.js} +26 -26
- package/dist/chunks/{vcs-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{vcs-tdvtfxdy.js → shell-xjf9vqpg.js} +8 -8
- package/dist/chunks/{vcs-xfja6ssk.js → shell-xnpkhd7t.js} +12 -12
- package/dist/chunks/{vcs-xta7qcpj.js → shell-xvvxjgs3.js} +11 -11
- package/dist/chunks/{vcs-grhn0qhx.js → shell-xwkvp7ty.js} +3 -3
- package/dist/chunks/{vcs-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-pyds7pwm.js → shell-y1hy686p.js} +1 -1
- package/dist/chunks/{vcs-y71avatq.js → shell-y71avatq.js} +1 -1
- package/dist/chunks/{vcs-b4fb1g87.js → shell-y844exjz.js} +6 -6
- package/dist/chunks/{vcs-xp7fz8rg.js → shell-ychryjdx.js} +26 -26
- package/dist/chunks/{vcs-ebfttpxm.js → shell-ymshdtr8.js} +11 -11
- package/dist/chunks/{vcs-mqxthytd.js → shell-ynhzt9k4.js} +11 -11
- package/dist/chunks/{vcs-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
- package/dist/chunks/{vcs-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
- package/dist/chunks/{vcs-ehyhzm66.js → shell-zftvnttz.js} +11 -11
- package/dist/chunks/{vcs-mmr7bq34.js → shell-zqx8wcya.js} +6 -6
- package/dist/chunks/{vcs-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-ypk83nm1.js → shell-ztzrhfw8.js} +4 -4
- package/dist/chunks/{vcs-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +120 -120
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +76 -76
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +73 -73
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +98 -98
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +93 -93
- package/dist/models-dev.js +98 -98
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +92 -92
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +115 -115
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +77 -77
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/vcs-3p71wzhx.js +0 -252
- package/dist/chunks/vcs-619r8v3y.js +0 -18
- package/dist/chunks/vcs-qapv375x.js +0 -4
- package/dist/chunks/vcs-rgevtwgf.js +0 -26
- /package/dist/chunks/{vcs-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-922hggd3.js → shell-922hggd3.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-twg0f83k.js → shell-twg0f83k.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service82,
|
|
9
9
|
node86
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-afed7ext.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-dykkexkt.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./shell-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: () => ID6,
|
|
27
|
+
Service: () => Service50,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node53,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID6 } 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 Service50 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service38, 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)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID6.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service50.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node53 = makeLocationNode({
|
|
144
|
+
service: Service50,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service50, Service50.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service38, Service38.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error4({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID6, Error4, Service50, node53, noopLayer3, exports_snapshot2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-nfd8mtse.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service71
|
|
7
|
+
} from "./shell-m3tsgwa2.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-y844exjz.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service71;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -125,7 +125,7 @@ function make10(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make5();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make5, LMStudioPlugin2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-mxkxgfdc.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-6134wrt7.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent2 = {};
|
|
15
15
|
__export(exports_agent2, {
|
|
16
16
|
AgentPlugin: () => exports_agent2,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin30
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin30 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin41 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID9.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID9.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin41 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID9.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID9.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID9.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin41 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin30, exports_agent2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-dykkexkt.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service15,
|
|
17
|
+
node: () => node17
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service15 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
27
27
|
const location = yield* Service80;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service15.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node17 = makeLocationNode({
|
|
91
|
+
service: Service15,
|
|
92
92
|
layer,
|
|
93
93
|
deps: [node84, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service15, node17, exports_formatter2 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-fp7m90ch.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-3sb31twn.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service75
|
|
4
|
+
} from "./shell-3s7qr6kk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service71
|
|
7
|
+
} from "./shell-m3tsgwa2.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service75;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service71);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-kx21j3gp.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service69,
|
|
17
|
+
node73
|
|
18
|
+
} from "./shell-561eeawp.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event13,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info15,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service68,
|
|
35
|
+
Source: () => Source5,
|
|
36
|
+
node: () => node72
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event13 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source5 = Reference.Source;
|
|
46
|
+
var Info15 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service68 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service83;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service69;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info15.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info15.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service68.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node72 = makeLocationNode({
|
|
116
|
+
service: Service68,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node87,
|
|
118
|
+
deps: [Global.node, node87, node73]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source5, Info15, Service68, node72, exports_reference2, Event13 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-dykkexkt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service71
|
|
9
|
+
} from "./shell-m3tsgwa2.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-ychryjdx.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin16
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin16 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service71;
|
|
35
35
|
const location = yield* Service80;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin16, exports_reference };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-kx21j3gp.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service80,
|
|
12
12
|
node84
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-dykkexkt.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service70,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node74
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service70 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
44
|
const location = yield* Service80;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service70.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node74 = makeLocationNode({ service: Service70, layer, deps: [node87, node84] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service70, node74, exports_rpc, define2 };
|