@opencode/core 0.0.0-dev-19602 → 0.0.0-dev-19607
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 +89 -89
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{ripgrep-t550f9t1.js → bus-02nrjc1r.js} +8 -8
- package/dist/chunks/{ripgrep-yt0fqk68.js → bus-0f9afca0.js} +5 -5
- package/dist/chunks/{ripgrep-1gfvv37n.js → bus-0ffvsmqa.js} +11 -11
- package/dist/chunks/{ripgrep-49nxeqwp.js → bus-0h0xn3fd.js} +30 -30
- package/dist/chunks/{ripgrep-03cq7ksh.js → bus-0hng8cbp.js} +17 -17
- package/dist/chunks/{ripgrep-qgn6gcr1.js → bus-0jwsre1p.js} +5 -5
- package/dist/chunks/{ripgrep-kn5jtnf9.js → bus-0n6rap9z.js} +19 -19
- package/dist/chunks/{ripgrep-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-31ybmgpq.js → bus-0pwp6vee.js} +17 -17
- package/dist/chunks/{ripgrep-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
- package/dist/chunks/{ripgrep-hcz3zddy.js → bus-0r7yqxbf.js} +5 -5
- package/dist/chunks/{ripgrep-8j1202qn.js → bus-11nsfp7x.js} +23 -23
- package/dist/chunks/{ripgrep-gn2hfjap.js → bus-15nepkqg.js} +8 -8
- package/dist/chunks/{ripgrep-p0b4ytnr.js → bus-15zevn5w.js} +6 -6
- package/dist/chunks/{ripgrep-nw2nz702.js → bus-179189h4.js} +4 -4
- package/dist/chunks/{ripgrep-ds2g25h4.js → bus-1c2v1v3n.js} +32 -32
- package/dist/chunks/{ripgrep-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/bus-1m7ztpz9.js +26 -0
- package/dist/chunks/{ripgrep-hma6wv7h.js → bus-1p84h329.js} +18 -18
- package/dist/chunks/{ripgrep-0sm34qmf.js → bus-1vh9c756.js} +17 -17
- package/dist/chunks/{ripgrep-czw1qt7p.js → bus-1xj9a01p.js} +5 -5
- package/dist/chunks/{ripgrep-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-x3qc7sc6.js → bus-236xsrf6.js} +24 -24
- package/dist/chunks/{ripgrep-2nv5fzs9.js → bus-2596a819.js} +13 -13
- package/dist/chunks/{ripgrep-gmpff112.js → bus-25k60r6z.js} +17 -17
- package/dist/chunks/{ripgrep-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-kxm5s6yc.js → bus-2fqncqd8.js} +27 -27
- package/dist/chunks/{ripgrep-2jbbv5tb.js → bus-2hhrjxd4.js} +16 -16
- package/dist/chunks/{ripgrep-qaw7gzvj.js → bus-2p5j9sv7.js} +17 -17
- package/dist/chunks/{ripgrep-q7d9vt9f.js → bus-2ryrfs8t.js} +18 -18
- package/dist/chunks/{ripgrep-j6rsnrbc.js → bus-2t9y4ena.js} +22 -22
- package/dist/chunks/{ripgrep-6x0gytms.js → bus-2vvyjm96.js} +86 -86
- package/dist/chunks/{ripgrep-vskpp35t.js → bus-2wmcpc5j.js} +11 -11
- package/dist/chunks/{ripgrep-56gdpj1q.js → bus-33w4ejhs.js} +6 -6
- package/dist/chunks/{ripgrep-dpzg5xnq.js → bus-36eabxvj.js} +6 -6
- package/dist/chunks/{ripgrep-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-f0xd9knp.js → bus-3vk31qq0.js} +1 -1
- package/dist/chunks/{ripgrep-n57z002n.js → bus-3vnz1vry.js} +14 -14
- package/dist/chunks/{ripgrep-vcpz2z7s.js → bus-437w8xnq.js} +4 -4
- package/dist/chunks/{ripgrep-ksqz3pap.js → bus-4czdean4.js} +19 -19
- package/dist/chunks/{ripgrep-3ds7w9ed.js → bus-4fb4zfkv.js} +3 -3
- package/dist/chunks/{ripgrep-qwn7812e.js → bus-4ma4crhq.js} +18 -18
- package/dist/chunks/{ripgrep-2fgn2we9.js → bus-4sn99hha.js} +5 -5
- package/dist/chunks/{ripgrep-1jvw600p.js → bus-4vdg0vy0.js} +32 -32
- package/dist/chunks/{ripgrep-892y1dhq.js → bus-4xgsacd1.js} +19 -19
- package/dist/chunks/{ripgrep-0t098hqn.js → bus-5d17xbav.js} +5 -5
- package/dist/chunks/{ripgrep-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-zw0mbbcz.js → bus-5dfrxsm4.js} +8 -8
- package/dist/chunks/{ripgrep-4sct5deg.js → bus-5nc0fa0s.js} +23 -23
- package/dist/chunks/{ripgrep-2pyh63en.js → bus-5pjsqvg3.js} +22 -22
- package/dist/chunks/{ripgrep-e3qxr5gk.js → bus-5qd3pb7m.js} +2 -2
- package/dist/chunks/{ripgrep-q5zedzf9.js → bus-5rr0th1e.js} +15 -15
- package/dist/chunks/{ripgrep-6qwwd18r.js → bus-5rvay4qb.js} +4 -4
- package/dist/chunks/{ripgrep-jz1pxar4.js → bus-5t01hw7s.js} +1 -1
- package/dist/chunks/{ripgrep-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-m77pw7dw.js → bus-62akg8e4.js} +24 -24
- package/dist/chunks/{ripgrep-vvccsdf3.js → bus-63xctefh.js} +6 -6
- package/dist/chunks/{ripgrep-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-p9s0eh58.js → bus-686zvbc5.js} +64 -64
- package/dist/chunks/{ripgrep-vfgx9b51.js → bus-6cr8vpfb.js} +3 -3
- package/dist/chunks/{ripgrep-2402vzrj.js → bus-6h73sxmp.js} +5 -5
- package/dist/chunks/{ripgrep-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-wa698kjv.js → bus-6xf9vr65.js} +51 -51
- package/dist/chunks/{ripgrep-71q4at8m.js → bus-71q4at8m.js} +1 -1
- package/dist/chunks/{ripgrep-ym7eccym.js → bus-72774a2p.js} +6 -6
- package/dist/chunks/{ripgrep-1bbkgx8g.js → bus-73tb2d7t.js} +3 -3
- package/dist/chunks/{ripgrep-189gvxgf.js → bus-73z097ay.js} +14 -14
- package/dist/chunks/{ripgrep-rg9pm5jb.js → bus-7414g21f.js} +43 -43
- package/dist/chunks/{ripgrep-tcs4ev01.js → bus-74ag36aw.js} +19 -19
- package/dist/chunks/{ripgrep-a2ejp4ca.js → bus-75tpbtqb.js} +35 -35
- package/dist/chunks/{ripgrep-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-6rdgvekc.js → bus-7kj26btf.js} +3 -3
- package/dist/chunks/{ripgrep-agmj7b0k.js → bus-7vgsmbaw.js} +9 -9
- package/dist/chunks/{ripgrep-7gpx9yxs.js → bus-7zgx3034.js} +18 -18
- package/dist/chunks/{ripgrep-tcezcvh9.js → bus-89znhe33.js} +4 -4
- package/dist/chunks/{ripgrep-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-8p4f9s12.js → bus-8p4f9s12.js} +2 -2
- package/dist/chunks/{ripgrep-ajbpkfam.js → bus-8pbhr5rb.js} +11 -11
- package/dist/chunks/{ripgrep-wva7n27r.js → bus-8qvaa28h.js} +10 -10
- package/dist/chunks/{ripgrep-df5tg79n.js → bus-9a5x4ndh.js} +32 -32
- package/dist/chunks/{ripgrep-e1n4w09h.js → bus-9cebcpzz.js} +30 -30
- package/dist/chunks/{ripgrep-es6p32db.js → bus-9gwk1d27.js} +310 -310
- package/dist/chunks/{ripgrep-9bc93h43.js → bus-9m5kzw0e.js} +11 -11
- package/dist/chunks/{ripgrep-y8639ad0.js → bus-9yma6mz2.js} +24 -24
- package/dist/chunks/{ripgrep-a1bz86dw.js → bus-a1bz86dw.js} +3 -3
- package/dist/chunks/{ripgrep-wds0x6j9.js → bus-a3e7ey2w.js} +5 -5
- package/dist/chunks/{ripgrep-vpnc1spb.js → bus-a4f8rw7k.js} +11 -11
- package/dist/chunks/{ripgrep-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-4p3ge18s.js → bus-aef6edcj.js} +11 -11
- package/dist/chunks/{ripgrep-44e7s01k.js → bus-aez8skhx.js} +35 -35
- package/dist/chunks/{ripgrep-x353b1jt.js → bus-at1kfnmk.js} +8 -8
- package/dist/chunks/{ripgrep-8h150kyy.js → bus-atssdtxp.js} +6 -6
- package/dist/chunks/{ripgrep-12x6e8th.js → bus-ay1e4s3v.js} +17 -17
- package/dist/chunks/{ripgrep-h3qyz6r3.js → bus-b5ky3g00.js} +2 -2
- package/dist/chunks/{ripgrep-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-d3tz2ej1.js → bus-b8ey678w.js} +9 -9
- package/dist/chunks/{ripgrep-2c7f7wtp.js → bus-bbtrsqmd.js} +28 -28
- package/dist/chunks/{ripgrep-8jzp8wqa.js → bus-bc94wkq6.js} +28 -28
- package/dist/chunks/{ripgrep-gzbkpp9m.js → bus-bdqrk2vk.js} +4 -4
- package/dist/chunks/{ripgrep-8jpwh3cy.js → bus-bje2m678.js} +30 -30
- package/dist/chunks/{ripgrep-rxmh2sg9.js → bus-brbkvpcb.js} +14 -14
- package/dist/chunks/{ripgrep-kmfbtjhd.js → bus-c3nbwr53.js} +34 -34
- package/dist/chunks/{ripgrep-4f0srg1f.js → bus-c72vda60.js} +29 -29
- package/dist/chunks/{ripgrep-s2e9xs2h.js → bus-c833tjt1.js} +32 -32
- package/dist/chunks/{ripgrep-5j2tm17g.js → bus-c9f7p254.js} +20 -20
- package/dist/chunks/{ripgrep-zvt5dnpc.js → bus-ca7w653e.js} +4 -4
- package/dist/chunks/{ripgrep-ra713epb.js → bus-cadqg8yk.js} +20 -20
- package/dist/chunks/{ripgrep-nwqvjhxj.js → bus-cdvm88eq.js} +9 -9
- package/dist/chunks/{ripgrep-cfpkc3c9.js → bus-cfpkc3c9.js} +2 -2
- package/dist/chunks/{ripgrep-x8pc9v5x.js → bus-cj2xyb66.js} +20 -20
- package/dist/chunks/{ripgrep-ypveyybc.js → bus-cnb5z5cf.js} +11 -11
- package/dist/chunks/{ripgrep-67dbk5sq.js → bus-cpng0f85.js} +28 -28
- package/dist/chunks/{ripgrep-pj5x48v7.js → bus-cq1ssszz.js} +6 -6
- package/dist/chunks/{ripgrep-jdwwbwbn.js → bus-cst62dfw.js} +19 -19
- package/dist/chunks/{ripgrep-zt5h3yfa.js → bus-d09006c3.js} +2 -2
- package/dist/chunks/{ripgrep-bg6j762k.js → bus-d1e2r7xq.js} +10 -10
- package/dist/chunks/{ripgrep-21w4258z.js → bus-dbmkm35e.js} +1 -1
- package/dist/chunks/{ripgrep-tdd2jx9c.js → bus-dn2g8ty9.js} +15 -15
- package/dist/chunks/{ripgrep-jwcy2c2z.js → bus-dpkg50ah.js} +4 -4
- package/dist/chunks/{ripgrep-6aqnmcny.js → bus-dpmm3pd1.js} +30 -30
- package/dist/chunks/{ripgrep-bn746h9y.js → bus-e16t29dh.js} +6 -6
- package/dist/chunks/{ripgrep-e5nv3ght.js → bus-e5nv3ght.js} +2 -2
- package/dist/chunks/{ripgrep-hjt4xg1x.js → bus-e82z9tr0.js} +7 -7
- package/dist/chunks/{ripgrep-80wpcwwr.js → bus-eebdtnk6.js} +11 -11
- package/dist/chunks/{ripgrep-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-r2zs1qxw.js → bus-engx0f1y.js} +23 -23
- package/dist/chunks/{ripgrep-gcngnys8.js → bus-eq4mjx14.js} +28 -28
- package/dist/chunks/{ripgrep-38c78d9y.js → bus-erswsgcd.js} +8 -8
- package/dist/chunks/{ripgrep-jt7tdy1h.js → bus-ete3mxyp.js} +16 -16
- package/dist/chunks/{ripgrep-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-kez65ze9.js → bus-ewp6a6x8.js} +25 -25
- package/dist/chunks/{ripgrep-f828m53h.js → bus-f828m53h.js} +2 -2
- package/dist/chunks/{ripgrep-k9m5ndvb.js → bus-fcxm0egy.js} +15 -15
- package/dist/chunks/{ripgrep-anjeghmy.js → bus-fec9d9pd.js} +60 -60
- package/dist/chunks/{ripgrep-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
- package/dist/chunks/{ripgrep-bajakh74.js → bus-fxqygnfa.js} +4 -4
- package/dist/chunks/{ripgrep-xxf1z6td.js → bus-fz5sfred.js} +22 -22
- package/dist/chunks/{ripgrep-x6qre90b.js → bus-g4rgasps.js} +11 -11
- package/dist/chunks/{ripgrep-w5d72rt0.js → bus-g8n86g3v.js} +2 -2
- package/dist/chunks/{ripgrep-97czctv7.js → bus-gbcrwt4m.js} +13 -13
- package/dist/chunks/{ripgrep-ah8fqh7n.js → bus-gcrpxwkb.js} +25 -25
- package/dist/chunks/{ripgrep-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-cbbc3wgw.js → bus-gemkh5vt.js} +24 -24
- package/dist/chunks/{ripgrep-0hg8636t.js → bus-gmjjhz4f.js} +9 -9
- package/dist/chunks/{ripgrep-3y9bq3t8.js → bus-gx8hye9g.js} +6 -6
- package/dist/chunks/{ripgrep-7h39wxaq.js → bus-gzyaaj9q.js} +13 -13
- package/dist/chunks/{ripgrep-h03wrkyp.js → bus-h03wrkyp.js} +2 -2
- package/dist/chunks/{ripgrep-v7wvwwvc.js → bus-h11wzpyy.js} +22 -22
- package/dist/chunks/{ripgrep-jpzcdmvj.js → bus-h3sg4en2.js} +10 -10
- package/dist/chunks/{ripgrep-egmb5x89.js → bus-h3ysd6bx.js} +36 -36
- package/dist/chunks/{ripgrep-bdd1mh0w.js → bus-h686kfbk.js} +9 -9
- package/dist/chunks/{ripgrep-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-m86bnw2c.js → bus-h7ygw6q4.js} +9 -9
- package/dist/chunks/{ripgrep-nev01g0y.js → bus-hp23vqgj.js} +4 -4
- package/dist/chunks/{ripgrep-0tes6vj0.js → bus-hs3grr87.js} +21 -21
- package/dist/chunks/{ripgrep-tyyv5ce2.js → bus-hspc2tk9.js} +1 -1
- package/dist/chunks/{ripgrep-j78hbbge.js → bus-hvk5xh9a.js} +43 -43
- package/dist/chunks/{ripgrep-2fcjxh44.js → bus-hy39tjkp.js} +9 -9
- package/dist/chunks/{ripgrep-ddxnayy4.js → bus-j2149bqs.js} +11 -11
- package/dist/chunks/{ripgrep-mx4mv9ny.js → bus-j35w4m74.js} +6 -6
- package/dist/chunks/{ripgrep-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-g97bb4fb.js → bus-jca4demv.js} +2 -2
- package/dist/chunks/{ripgrep-n91t41cy.js → bus-jcmyxw9c.js} +12 -12
- package/dist/chunks/{ripgrep-t990yqw6.js → bus-jdc9ax8k.js} +10 -10
- package/dist/chunks/{ripgrep-3vde3pvj.js → bus-jg1rg3jc.js} +43 -43
- package/dist/chunks/{ripgrep-0df5h2qy.js → bus-jgpr3qf1.js} +27 -27
- package/dist/chunks/{ripgrep-y83j6qwg.js → bus-jssqjg8j.js} +7 -7
- package/dist/chunks/{ripgrep-et0rkxxj.js → bus-k5m0fz1p.js} +8 -8
- package/dist/chunks/{ripgrep-4y8bm76w.js → bus-kdh23bg8.js} +19 -19
- package/dist/chunks/{ripgrep-5d42m44n.js → bus-kffdrsz9.js} +5 -5
- package/dist/chunks/{ripgrep-k1jy5w06.js → bus-km7e3hxy.js} +1 -1
- package/dist/chunks/{ripgrep-4pa8q4z1.js → bus-ktjqq88n.js} +32 -32
- package/dist/chunks/{ripgrep-49p1g939.js → bus-kxdh0s6n.js} +11 -11
- package/dist/chunks/{ripgrep-nk1anpaj.js → bus-m4gm00jg.js} +7 -7
- package/dist/chunks/{ripgrep-4q6wvnkn.js → bus-m4sagrtb.js} +49 -49
- package/dist/chunks/{ripgrep-53agvevm.js → bus-m63gtq16.js} +11 -11
- package/dist/chunks/{ripgrep-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-avsbzx7p.js → bus-mca7v45c.js} +32 -32
- package/dist/chunks/{ripgrep-kk00bynn.js → bus-mjymc32g.js} +21 -21
- package/dist/chunks/{ripgrep-mxr7eecd.js → bus-mx0gp0c3.js} +33 -33
- package/dist/chunks/{ripgrep-5sdgc7vh.js → bus-mz0r0wg6.js} +18 -18
- package/dist/chunks/{ripgrep-k9avwfq5.js → bus-n81xd9d5.js} +1 -1
- package/dist/chunks/{ripgrep-jztv3xwp.js → bus-nkj12b6c.js} +179 -179
- package/dist/chunks/{ripgrep-4vrcg479.js → bus-nnq4n2qn.js} +46 -46
- package/dist/chunks/{ripgrep-gfe8pz8k.js → bus-nrtvwtgm.js} +4 -4
- package/dist/chunks/{ripgrep-2yqkqxm6.js → bus-nzh27kh4.js} +13 -13
- package/dist/chunks/{ripgrep-qfhza6js.js → bus-nzzy63ds.js} +5 -5
- package/dist/chunks/{ripgrep-06yesm3b.js → bus-p33wnvsh.js} +23 -23
- package/dist/chunks/{ripgrep-yseaw3zk.js → bus-p53n7dng.js} +30 -30
- package/dist/chunks/{ripgrep-88sz8qcd.js → bus-paegk39x.js} +4 -4
- package/dist/chunks/{ripgrep-xean7qwc.js → bus-pbky2mmf.js} +27 -27
- package/dist/chunks/{ripgrep-8mnq8fdw.js → bus-pbp9sz76.js} +4 -4
- package/dist/chunks/bus-pf31ssb9.js +18 -0
- package/dist/chunks/{ripgrep-20cnsgn6.js → bus-pfrpta5e.js} +6 -6
- package/dist/chunks/{ripgrep-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-2syw43ez.js → bus-ppj42jsj.js} +12 -12
- package/dist/chunks/{ripgrep-cd8pzhxg.js → bus-pw2ze8eb.js} +32 -32
- package/dist/chunks/{ripgrep-mj489v08.js → bus-pwpvhpkp.js} +18 -18
- package/dist/chunks/{ripgrep-yedx64dk.js → bus-q09v2a5f.js} +4 -4
- package/dist/chunks/{ripgrep-3j8sdtpz.js → bus-q2b1ymqp.js} +4 -4
- package/dist/chunks/{ripgrep-5epte933.js → bus-q3t37ft6.js} +3 -3
- package/dist/chunks/{ripgrep-5jz398fa.js → bus-q529tzg0.js} +23 -23
- package/dist/chunks/{ripgrep-qf4kcv83.js → bus-q73r15kw.js} +9 -9
- package/dist/chunks/{ripgrep-eb0ks5fv.js → bus-q7wya2ft.js} +10 -10
- package/dist/chunks/bus-qapv375x.js +4 -0
- package/dist/chunks/{ripgrep-9gf5hqrf.js → bus-qed01h9c.js} +67 -67
- package/dist/chunks/{ripgrep-ezcbab6y.js → bus-qrs9zw48.js} +11 -11
- package/dist/chunks/{ripgrep-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-nzqx2mf8.js → bus-qyeevtht.js} +41 -41
- package/dist/chunks/{ripgrep-h6r3nrb9.js → bus-r55vasa2.js} +4 -4
- package/dist/chunks/{ripgrep-r9mregkx.js → bus-r9mregkx.js} +2 -2
- package/dist/chunks/{ripgrep-3gh58dm9.js → bus-r9nkdn48.js} +5 -5
- package/dist/chunks/{ripgrep-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-tex4jp26.js → bus-rkhcyd8j.js} +11 -11
- package/dist/chunks/{ripgrep-9jc96w9w.js → bus-sg1mp0wp.js} +28 -28
- package/dist/chunks/{ripgrep-3g5g2h75.js → bus-sm8rghk4.js} +13 -13
- package/dist/chunks/{ripgrep-60sb5knf.js → bus-ss6xz6nm.js} +11 -11
- package/dist/chunks/{ripgrep-8w01d1n2.js → bus-stb1hwq0.js} +15 -15
- package/dist/chunks/{ripgrep-t13q6zse.js → bus-t32f9ypw.js} +14 -14
- package/dist/chunks/{ripgrep-ptse1bjf.js → bus-t3qrjm11.js} +34 -34
- package/dist/chunks/{ripgrep-pcqp5rgh.js → bus-t402yjt7.js} +24 -24
- package/dist/chunks/{ripgrep-rt5bks5t.js → bus-t5t549nc.js} +20 -20
- package/dist/chunks/{ripgrep-w9vf9qqj.js → bus-tat11k01.js} +9 -9
- package/dist/chunks/{ripgrep-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-scq4khx8.js → bus-tcg29b4q.js} +1 -1
- package/dist/chunks/{ripgrep-84h9x75f.js → bus-tdhe5xga.js} +11 -11
- package/dist/chunks/{ripgrep-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-e5vq6wef.js → bus-te6cpsjw.js} +4 -4
- package/dist/chunks/{ripgrep-37zh6x8p.js → bus-th34e5xy.js} +11 -11
- package/dist/chunks/{ripgrep-gv6a8nnw.js → bus-th5km1p3.js} +5 -5
- package/dist/chunks/{ripgrep-73gmm198.js → bus-tkmwgdpd.js} +7 -7
- package/dist/chunks/{ripgrep-rsz70btv.js → bus-tsg9kv8a.js} +12 -12
- package/dist/chunks/{ripgrep-tvtrv512.js → bus-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-ag9w8cw1.js → bus-tz2bjj40.js} +5 -5
- package/dist/chunks/{ripgrep-124zgskp.js → bus-v1ksr1cs.js} +5 -5
- package/dist/chunks/{ripgrep-bs81dhpw.js → bus-v21t5zre.js} +24 -24
- package/dist/chunks/{ripgrep-yp1jwc24.js → bus-v2tpmsmj.js} +41 -41
- package/dist/chunks/{ripgrep-7b15y959.js → bus-v4hmzr0r.js} +8 -8
- package/dist/chunks/{ripgrep-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-rp1syd7b.js → bus-vgg4xkgc.js} +5 -5
- package/dist/chunks/{ripgrep-79gxnefz.js → bus-vw8bwat5.js} +28 -28
- package/dist/chunks/{ripgrep-z9pcy3hm.js → bus-vxn7m0sk.js} +5 -5
- package/dist/chunks/{ripgrep-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-9pbcs2te.js → bus-w0sf05pe.js} +4 -4
- package/dist/chunks/{ripgrep-94325gp6.js → bus-w35y2yw8.js} +37 -37
- package/dist/chunks/{ripgrep-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-k9heqbmv.js → bus-w5k3gg8r.js} +94 -94
- package/dist/chunks/{ripgrep-4rr9ghsb.js → bus-w6dzfd7x.js} +12 -12
- package/dist/chunks/{ripgrep-gr2hg8ez.js → bus-wb72v9a5.js} +15 -15
- package/dist/chunks/{ripgrep-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-5rtg8v4f.js → bus-wq4mgxca.js} +4 -4
- package/dist/chunks/{ripgrep-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-j2cgy6et.js → bus-x60djdrf.js} +27 -27
- package/dist/chunks/bus-x88d9nzm.js +251 -0
- package/dist/chunks/{ripgrep-a9tqjgec.js → bus-xevfw74a.js} +27 -27
- package/dist/chunks/{ripgrep-mhwrm0j5.js → bus-xp1v9ajb.js} +28 -28
- package/dist/chunks/{ripgrep-3wkcfg07.js → bus-xpfz5w62.js} +6 -6
- package/dist/chunks/{ripgrep-fv5ds83k.js → bus-xpgn474g.js} +12 -12
- package/dist/chunks/{ripgrep-h4tg60r9.js → bus-xsxe7432.js} +9 -9
- package/dist/chunks/{ripgrep-66r4fn97.js → bus-xx2kx86r.js} +42 -42
- package/dist/chunks/{ripgrep-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-h4121yxn.js → bus-ycxk46z7.js} +47 -47
- package/dist/chunks/{ripgrep-8vb99h00.js → bus-yd9ketrd.js} +3 -3
- package/dist/chunks/{ripgrep-e5atvjy6.js → bus-yjjca98t.js} +14 -14
- package/dist/chunks/{ripgrep-yp2x3t23.js → bus-yp2x3t23.js} +1 -1
- package/dist/chunks/{ripgrep-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-s4enseaf.js → bus-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-9cc1d2dv.js → bus-yx0rmv9r.js} +8 -8
- package/dist/chunks/{ripgrep-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-29x78va6.js → bus-z63w68vq.js} +6 -6
- package/dist/chunks/{ripgrep-bzryztkv.js → bus-zakjc7j6.js} +31 -31
- package/dist/chunks/{ripgrep-sev8k0v9.js → bus-zbj7r6th.js} +10 -10
- package/dist/chunks/{ripgrep-he5x26st.js → bus-zcxhpjvf.js} +15 -15
- package/dist/chunks/{ripgrep-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-edbcpkh6.js → bus-zg4yt3jb.js} +35 -35
- package/dist/chunks/{ripgrep-r8p0psj5.js → bus-zn1xqtaw.js} +28 -28
- package/dist/chunks/{ripgrep-f4mjzmv8.js → bus-zp0g5kd9.js} +19 -19
- package/dist/chunks/{ripgrep-01qf260s.js → bus-zp47re1r.js} +11 -11
- package/dist/chunks/{ripgrep-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- 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 +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +121 -121
- 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 +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +71 -71
- 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 +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- 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 +223 -223
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +101 -101
- 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 +98 -98
- 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 +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +137 -137
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +353 -353
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +124 -124
- 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 +98 -98
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +101 -101
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +79 -79
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +94 -94
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +89 -89
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +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 +89 -89
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +89 -89
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- 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/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 +89 -89
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- 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 +342 -342
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +91 -91
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +100 -100
- 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 +91 -91
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- 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 +223 -223
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- 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 +113 -113
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +130 -130
- 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 +1 -1
- 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 +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +7 -7
- 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 +90 -90
- 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 +123 -123
- 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 +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- 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 +109 -109
- 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 +13 -13
- package/dist/types/session/execution.d.ts +1 -1
- package/dist/types/session/session.d.ts +1 -1
- package/dist/types/session.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +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/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/ripgrep-0mesazry.js +0 -4
- package/dist/chunks/ripgrep-3xc7y499.js +0 -251
- package/dist/chunks/ripgrep-ahz9sev5.js +0 -26
- package/dist/chunks/ripgrep-by5v678g.js +0 -18
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → bus-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-hrnqkpcd.js → bus-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-twg0f83k.js → bus-twg0f83k.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./bus-brbkvpcb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service66,
|
|
7
|
+
node70
|
|
8
|
+
} from "./bus-a4f8rw7k.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event10,
|
|
21
|
+
ID: () => ID6,
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service51,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node55
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event10 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID6 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID6, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID6
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID6,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service51 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service79;
|
|
70
|
+
const kv = yield* Service66;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service51.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node55 = makeLocationNode({
|
|
188
|
+
service: Service51,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node83, node70]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID6, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service51, node55, exports_websearch3, Event10 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./bus-73z097ay.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service40
|
|
9
|
+
} from "./bus-m4sagrtb.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-cpng0f85.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-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: () => Plugin43
|
|
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 Plugin43 = 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* Service40;
|
|
35
|
+
const location = yield* Service72;
|
|
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) => {
|
|
@@ -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 { Plugin43, exports_reference };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./bus-w6dzfd7x.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
canonical3
|
|
7
|
+
} from "./bus-th5km1p3.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make19
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make19 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service75;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -28,7 +28,7 @@ var make12 = Effect.gen(function* () {
|
|
|
28
28
|
if (!repository)
|
|
29
29
|
return yield* new DirectoryUnavailableError2({ directory: input.sourceDirectory });
|
|
30
30
|
yield* git.worktree.create({ repository, directory: input.directory, ref: input.branch });
|
|
31
|
-
return { directory: yield*
|
|
31
|
+
return { directory: yield* canonical3(fs, input.directory) };
|
|
32
32
|
}),
|
|
33
33
|
remove: Effect.fn("Worktree.Git.remove")(function* (input) {
|
|
34
34
|
const repository = yield* git.repo.discover(input.directory);
|
|
@@ -41,9 +41,9 @@ var make12 = Effect.gen(function* () {
|
|
|
41
41
|
if (!repository)
|
|
42
42
|
return yield* new DirectoryUnavailableError2({ directory });
|
|
43
43
|
const entries = yield* git.worktree.list(repository);
|
|
44
|
-
return yield* Effect.forEach(entries, (entry) =>
|
|
44
|
+
return yield* Effect.forEach(entries, (entry) => canonical3(fs, entry.directory).pipe(Effect.map((directory) => ({ directory, type: entry.kind === "main" ? "root" : "worktree" })), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined))).pipe(Effect.map((items) => items.filter((item) => item !== undefined)));
|
|
45
45
|
})
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make19, exports_git2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./bus-73z097ay.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service40
|
|
9
|
+
} from "./bus-m4sagrtb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service54
|
|
12
|
+
} from "./bus-xx2kx86r.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin46
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin46 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service40;
|
|
34
|
+
const location = yield* Service72;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service54;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin13 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin46, exports_worktree };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service40
|
|
4
|
+
} from "./bus-m4sagrtb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service78
|
|
7
|
+
} from "./bus-rkhcyd8j.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell2 = {};
|
|
17
|
+
__export(exports_shell2, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
+
Plugin: () => Plugin30
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin30 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service40;
|
|
27
|
+
const shell = yield* Service78;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin18 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin30, exports_shell2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./bus-g4rgasps.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./bus-brbkvpcb.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event14,
|
|
24
|
+
ID: () => ID9,
|
|
25
|
+
Info: () => Info23,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service57,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node61
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID9 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event14 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info23 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID9,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service57 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service81).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info23({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service57.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info23({
|
|
80
|
+
id: ID9.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event14.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event14.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event14.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node61 = makeGlobalNode({ service: Service57, layer, deps: [node86, node83] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID9, OAuth3, Key3, Value2, Event14, Info23, Service57, node61, exports_credential };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make20,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-02nrjc1r.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-686zvbc5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service31,
|
|
13
|
+
node35
|
|
14
|
+
} from "./bus-jg1rg3jc.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
name14
|
|
18
|
+
} from "./bus-9cebcpzz.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
McpInstructions: () =>
|
|
27
|
-
Service: () =>
|
|
24
|
+
var exports_instructions5 = {};
|
|
25
|
+
__export(exports_instructions5, {
|
|
26
|
+
McpInstructions: () => exports_instructions5,
|
|
27
|
+
Service: () => Service29,
|
|
28
28
|
layer: () => layer12,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node33
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,17 +62,17 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service29 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var layer12 = Layer.effect(
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service31;
|
|
69
|
+
return Service29.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
75
|
-
key:
|
|
74
|
+
const source = (value) => make20({
|
|
75
|
+
key: Key4.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
78
78
|
render: {
|
|
@@ -90,7 +90,7 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node33 = makeLocationNode({ service: Service29, layer: layer12, deps: [node35] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service29, layer12, node33, exports_instructions5 };
|