@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./bus-g4rgasps.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-a1bz86dw.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load5
|
|
12
|
+
} from "./bus-qrs9zw48.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-jca4demv.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
24
|
-
Service: () =>
|
|
23
|
+
ListInput: () => ListInput4,
|
|
24
|
+
Service: () => Service69,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node73
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
|
|
|
50
50
|
subpath: RelativePath.pipe(Schema.optional)
|
|
51
51
|
});
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
|
-
var
|
|
53
|
+
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service69 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service81;
|
|
59
|
-
return
|
|
59
|
+
return Service69.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
98
98
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
99
99
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
100
100
|
}),
|
|
101
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
101
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
|
|
102
102
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
103
103
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
104
104
|
return row ? {
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node73 = makeGlobalNode({ service: Service69, layer, deps: [node86] });
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { ListInput4, Service69, node73, exports_store };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-75tpbtqb.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/variant.ts
|
|
10
10
|
var exports_variant = {};
|
|
11
11
|
__export(exports_variant, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin28,
|
|
13
13
|
VariantPlugin: () => exports_variant,
|
|
14
14
|
generate: () => generate2
|
|
15
15
|
});
|
|
16
16
|
import { Effect } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Model } from "@opencode/schema/model";
|
|
19
|
-
var
|
|
19
|
+
var Plugin28 = define({
|
|
20
20
|
id: "opencode.variant",
|
|
21
21
|
effect: Effect.fn(function* (ctx) {
|
|
22
22
|
yield* ctx.model.transform((models) => {
|
|
@@ -50,4 +50,4 @@ function generate2(model, provider) {
|
|
|
50
50
|
}));
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Plugin28, generate2, exports_variant };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-r9mregkx.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service76,
|
|
17
|
+
node80
|
|
18
|
+
} from "./bus-tat11k01.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service74,
|
|
21
|
+
node78
|
|
22
|
+
} from "./bus-at1kfnmk.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./bus-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./bus-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error4,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service61,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node65
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service61 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service74;
|
|
58
|
+
const image = yield* Service76;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
180
180
|
error: error.message
|
|
181
181
|
}), { discard: true })
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return Service61.of({
|
|
184
184
|
transform: state.transform,
|
|
185
185
|
reload: state.reload,
|
|
186
186
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -264,10 +264,10 @@ function namespaceError(name) {
|
|
|
264
264
|
return;
|
|
265
265
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
266
266
|
}
|
|
267
|
-
var
|
|
268
|
-
service:
|
|
267
|
+
var node65 = makeLocationNode({
|
|
268
|
+
service: Service61,
|
|
269
269
|
layer,
|
|
270
|
-
deps: [
|
|
270
|
+
deps: [node78, node80]
|
|
271
271
|
});
|
|
272
272
|
|
|
273
|
-
export { RegistrationError2,
|
|
273
|
+
export { RegistrationError2, Service61, node65, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service53,
|
|
6
|
+
node57
|
|
7
|
+
} from "./bus-gemkh5vt.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service15,
|
|
17
|
+
node: () => node19,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service15 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service53;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service15.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node19 = makeLocationNode({ service: Service15, layer, deps: [node57] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service15, readText2, syncTextBom2, node19, exports_file_mutation };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-kxdh0s6n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./bus-brbkvpcb.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event14
|
|
10
|
+
} from "./bus-t3qrjm11.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-ktjqq88n.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID7,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-75tpbtqb.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID8.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID8.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -162,7 +162,7 @@ var headless = (app) => ({
|
|
|
162
162
|
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service79;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID7.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
if (!chatgpt)
|
|
@@ -194,7 +194,7 @@ var OpenAIPlugin3 = define({
|
|
|
194
194
|
});
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.model.transform((models) => {
|
|
197
|
-
for (const model of models.list(
|
|
197
|
+
for (const model of models.list(ID7.openai)) {
|
|
198
198
|
models.update(model.providerID, model.id, (draft) => {
|
|
199
199
|
draft.capabilities.responsesWebsockets = true;
|
|
200
200
|
draft.websocket = true;
|
|
@@ -224,9 +224,9 @@ var OpenAIPlugin3 = define({
|
|
|
224
224
|
evt.baseURL = codexBaseURL;
|
|
225
225
|
evt.headers.originator = "opencode";
|
|
226
226
|
evt.headers["session-id"] = evt.sessionID;
|
|
227
|
-
}), { providerID:
|
|
227
|
+
}), { providerID: ID7.openai });
|
|
228
228
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
229
|
-
yield* bus.subscribe(
|
|
229
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
230
230
|
})
|
|
231
231
|
});
|
|
232
232
|
function headers(contentType, app) {
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./bus-brbkvpcb.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event20,
|
|
18
|
+
ID: () => ID14,
|
|
19
|
+
Info: () => Info29,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service71,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node75
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event20 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID14 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID14.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info29 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service71 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service79;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info29.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID14.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service71.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID14.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID14.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node75 = makeLocationNode({ service: Service71, layer, deps: [node83, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID14, Name3, defaultID2, Color2, Info29, Service71, node75, exports_agent4, Event20 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./bus-brbkvpcb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./bus-73z097ay.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service31
|
|
10
|
+
} from "./bus-jg1rg3jc.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command = {};
|
|
17
|
+
__export(exports_command, {
|
|
18
|
+
CommandPlugin: () => exports_command,
|
|
19
|
+
Plugin: () => Plugin24
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin24 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service72;
|
|
200
|
+
const mcp = yield* Service31;
|
|
201
|
+
const bus = yield* Service79;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin24, exports_command };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service43,
|
|
6
|
+
node46
|
|
7
|
+
} from "./bus-hvk5xh9a.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate = {};
|
|
14
14
|
__export(exports_generate, {
|
|
15
15
|
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service16,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer8,
|
|
20
|
+
node: () => node20
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -33,11 +33,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service16 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer8 = Layer.effect(Service16, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service43;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -63,12 +63,12 @@ var layer9 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
63
63
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service16.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node20 = makeLocationNode({
|
|
69
|
+
service: Service16,
|
|
70
|
+
layer: layer8,
|
|
71
|
+
deps: [node46, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError2, Service16, layer8, node20, exports_generate };
|