@opencode/core 0.0.0-dev-19599 → 0.0.0-dev-19601
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 +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{tool-t550f9t1.js → config-02nrjc1r.js} +8 -8
- package/dist/chunks/{tool-v0hcs57f.js → config-02vv4t7e.js} +4 -4
- package/dist/chunks/{tool-6sg447na.js → config-07ct75e8.js} +15 -15
- package/dist/chunks/{tool-acpnwff5.js → config-0bxteebn.js} +3 -3
- package/dist/chunks/{tool-w9rsy75j.js → config-0cnqf63x.js} +28 -28
- package/dist/chunks/{tool-f9a3pmyr.js → config-0cwcwy81.js} +13 -13
- package/dist/chunks/{tool-vas055je.js → config-0p1mpksr.js} +6 -6
- package/dist/chunks/{tool-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-0q0f95c6.js → config-0q0f95c6.js} +1 -1
- package/dist/chunks/{tool-r6fz4byc.js → config-0xzm444n.js} +1 -1
- package/dist/chunks/{tool-sy7efrgz.js → config-1037fk78.js} +28 -28
- package/dist/chunks/{tool-zdvgxm63.js → config-10c965xq.js} +22 -22
- package/dist/chunks/{tool-tvmnx93k.js → config-17gm43d7.js} +67 -67
- package/dist/chunks/{tool-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-mrk4e56b.js → config-1hpwa04j.js} +16 -16
- package/dist/chunks/config-1jzc40x7.js +251 -0
- package/dist/chunks/{tool-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{tool-s9pnwdwt.js → config-22nhpc8c.js} +1 -1
- package/dist/chunks/{tool-2402vzrj.js → config-2402vzrj.js} +1 -1
- package/dist/chunks/{tool-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-jxrvs0y0.js → config-2evr9zt9.js} +17 -17
- package/dist/chunks/{tool-98f484r8.js → config-2nqybkx4.js} +16 -16
- package/dist/chunks/{tool-nffnkmsf.js → config-2qy99qce.js} +26 -26
- package/dist/chunks/{tool-y10wk092.js → config-2y34zzjz.js} +9 -9
- package/dist/chunks/{tool-yyqa94g7.js → config-311bhbyp.js} +43 -43
- package/dist/chunks/{tool-e4yvw0pn.js → config-33j6m0ys.js} +37 -37
- package/dist/chunks/{tool-56gdpj1q.js → config-33w4ejhs.js} +6 -6
- package/dist/chunks/{tool-bajakh74.js → config-3c4e3q8d.js} +4 -4
- package/dist/chunks/{tool-3fc6dm20.js → config-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-99yh2pdr.js → config-3gjm35pn.js} +15 -15
- package/dist/chunks/{tool-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-2x9c36ps.js → config-3q02f9f5.js} +44 -44
- package/dist/chunks/{tool-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-3w0fmcng.js → config-3w2b2yj4.js} +5 -5
- package/dist/chunks/{tool-2vg6efqn.js → config-46mmdbbw.js} +3 -3
- package/dist/chunks/{tool-jj2x8ya3.js → config-49xfatwk.js} +30 -30
- package/dist/chunks/{tool-3g77v28p.js → config-4hvk3cj0.js} +1 -1
- package/dist/chunks/{tool-mf4jvz0z.js → config-4kstw10y.js} +8 -8
- package/dist/chunks/{tool-metb0c44.js → config-4m864w3m.js} +11 -11
- package/dist/chunks/{tool-wzvtb6ev.js → config-4sya3ve4.js} +20 -20
- package/dist/chunks/{tool-7tw3btct.js → config-4x4yz1zb.js} +6 -6
- package/dist/chunks/{tool-bmnapqat.js → config-4ykybvcx.js} +11 -11
- package/dist/chunks/{tool-pngq9dd9.js → config-512fes74.js} +20 -20
- package/dist/chunks/{tool-3f6m7h4m.js → config-561257dr.js} +9 -9
- package/dist/chunks/{tool-57ez7d0k.js → config-57ez7d0k.js} +2 -2
- package/dist/chunks/{tool-mtxfs5k5.js → config-5a015e2n.js} +22 -22
- package/dist/chunks/{tool-a1bz86dw.js → config-5c4hm403.js} +3 -3
- package/dist/chunks/{tool-mksr8qt3.js → config-5ckhvvdw.js} +8 -8
- package/dist/chunks/{tool-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-95vfjh4q.js → config-5ddn7qpa.js} +9 -9
- package/dist/chunks/{tool-e3qxr5gk.js → config-5qd3pb7m.js} +2 -2
- package/dist/chunks/{tool-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-h0cab0jj.js → config-5xyhe042.js} +6 -6
- package/dist/chunks/{tool-kj8x889q.js → config-5zfzqmbx.js} +12 -12
- package/dist/chunks/{tool-b7n5ecmq.js → config-661h2f9b.js} +39 -39
- package/dist/chunks/{tool-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{tool-63dea9jd.js → config-6er5gdy9.js} +1 -1
- package/dist/chunks/{tool-jjs74g98.js → config-6jnybvqn.js} +9 -9
- package/dist/chunks/{tool-gbex3acd.js → config-6m7mwj0d.js} +30 -30
- package/dist/chunks/{tool-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{tool-vgf270yp.js → config-710x7ek7.js} +1 -1
- package/dist/chunks/{tool-71q4at8m.js → config-71q4at8m.js} +1 -1
- package/dist/chunks/{tool-hddv9rh5.js → config-71t2waba.js} +11 -11
- package/dist/chunks/{tool-p42hj8p8.js → config-7b15y959.js} +8 -8
- package/dist/chunks/{tool-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-2mq1h16s.js → config-7d01vtdt.js} +9 -9
- package/dist/chunks/{tool-fcrkznn8.js → config-7dqw4kz8.js} +5 -5
- package/dist/chunks/{tool-tqsepttq.js → config-7s10n74m.js} +11 -11
- package/dist/chunks/{tool-gan2aag1.js → config-7s61wb75.js} +2 -2
- package/dist/chunks/{tool-m46abj74.js → config-7z47sd0g.js} +5 -5
- package/dist/chunks/{tool-hswenssz.js → config-7zbs69wf.js} +20 -20
- package/dist/chunks/{tool-p7cb5w0v.js → config-8bcx3nez.js} +4 -4
- package/dist/chunks/{tool-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/config-8e0kgrz0.js +26 -0
- package/dist/chunks/{tool-djh8651g.js → config-8j98jw8c.js} +35 -35
- package/dist/chunks/{tool-ze59vjzs.js → config-8jxhrtr4.js} +32 -32
- package/dist/chunks/{tool-f38hchcj.js → config-8p2dyb9f.js} +16 -16
- package/dist/chunks/{tool-y0rh7a7t.js → config-8xmwc048.js} +30 -30
- package/dist/chunks/{tool-3y6z2ty2.js → config-99a0qa8k.js} +17 -17
- package/dist/chunks/{tool-chp1ctqz.js → config-9hcx1pw3.js} +11 -11
- package/dist/chunks/{tool-vmyza7nt.js → config-9pc1c82a.js} +62 -62
- package/dist/chunks/{tool-cddy6wgw.js → config-9vxqyqsf.js} +11 -11
- package/dist/chunks/{tool-f1xrsf6k.js → config-a0saq2jn.js} +15 -15
- package/dist/chunks/{tool-fspd6qjs.js → config-a578w8xj.js} +24 -24
- package/dist/chunks/{tool-vqdbe12f.js → config-a81jxvbk.js} +42 -42
- package/dist/chunks/{tool-e8rb0fk9.js → config-a9gm5pt7.js} +11 -11
- package/dist/chunks/{tool-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-rcptzcjb.js → config-af4gk936.js} +28 -28
- package/dist/chunks/{tool-tprb9ykm.js → config-ak9msbxp.js} +6 -6
- package/dist/chunks/{tool-6qkc0t3x.js → config-at1kfnmk.js} +8 -8
- package/dist/chunks/{tool-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-gjtgcmhe.js → config-b9kr5pr6.js} +6 -6
- package/dist/chunks/{tool-66qmevrd.js → config-bga3tdbt.js} +14 -14
- package/dist/chunks/{tool-e5nv3ght.js → config-bndc73cn.js} +5 -5
- package/dist/chunks/{tool-f3yjyja6.js → config-bspgjcjj.js} +13 -13
- package/dist/chunks/{tool-7v2wf9c4.js → config-bt0r0ca8.js} +33 -33
- package/dist/chunks/{tool-bv9pnvgp.js → config-bvs3n29g.js} +4 -4
- package/dist/chunks/{tool-2h74skrz.js → config-bvtyn1jh.js} +25 -25
- package/dist/chunks/{tool-qh3h8fjc.js → config-bx6fw66d.js} +24 -24
- package/dist/chunks/{tool-9kvb8f9y.js → config-c0qqbqkt.js} +23 -23
- package/dist/chunks/{tool-n9a9ascx.js → config-chb9knyq.js} +23 -23
- package/dist/chunks/{tool-4kbjb3sr.js → config-cmpbkavg.js} +18 -18
- package/dist/chunks/{tool-h6r3nrb9.js → config-cpj0znwe.js} +4 -4
- package/dist/chunks/{tool-4an599d2.js → config-d29w5y5s.js} +11 -11
- package/dist/chunks/{tool-t97w6b9c.js → config-dcndwnyf.js} +10 -10
- package/dist/chunks/{tool-vdyyrf70.js → config-dcse214k.js} +6 -6
- package/dist/chunks/{tool-erw0n60b.js → config-dgmceqp5.js} +8 -8
- package/dist/chunks/{tool-8p4f9s12.js → config-dj2t23y0.js} +2 -2
- package/dist/chunks/{tool-dpkg50ah.js → config-dpkg50ah.js} +1 -1
- package/dist/chunks/{tool-nb4aeq3b.js → config-dr66jqxh.js} +7 -7
- package/dist/chunks/{tool-smthb8q2.js → config-e64sr7en.js} +24 -24
- package/dist/chunks/{tool-ctn2km86.js → config-e8340df8.js} +6 -6
- package/dist/chunks/{tool-rfbvv5xc.js → config-eat4kxte.js} +4 -4
- package/dist/chunks/{tool-1bkx5pwe.js → config-ef38hzxk.js} +12 -12
- package/dist/chunks/{tool-ef5x83kb.js → config-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-y3acf7kc.js → config-emzzpcmn.js} +20 -20
- package/dist/chunks/{tool-k56b83dc.js → config-ep4s98w8.js} +19 -19
- package/dist/chunks/{tool-mvfsc1pv.js → config-eq1pz5kg.js} +3 -3
- package/dist/chunks/{tool-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-jzzy94zk.js → config-f7ehr2sm.js} +9 -9
- package/dist/chunks/{tool-va79mfn6.js → config-fdbh7561.js} +24 -24
- package/dist/chunks/{tool-8kacz6a1.js → config-fha9pxsp.js} +27 -27
- package/dist/chunks/{tool-v64wsefy.js → config-ft490bmc.js} +18 -18
- package/dist/chunks/{tool-ttyd6mwr.js → config-ftjyd2wg.js} +9 -9
- package/dist/chunks/{tool-2d57kztd.js → config-fvanntqq.js} +6 -6
- package/dist/chunks/{tool-fxbjtjnd.js → config-fxbjtjnd.js} +1 -1
- package/dist/chunks/{tool-bwfqemah.js → config-g799fvry.js} +18 -18
- package/dist/chunks/{tool-akvwqyjh.js → config-g7hwnr26.js} +21 -21
- package/dist/chunks/{tool-rm9n4pe2.js → config-gcxs8bcj.js} +29 -29
- package/dist/chunks/{tool-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-acxcbb38.js → config-gg1g9x44.js} +22 -22
- package/dist/chunks/{tool-7vnx6y3p.js → config-gmdddcby.js} +20 -20
- package/dist/chunks/{tool-gv6a8nnw.js → config-gv6a8nnw.js} +2 -2
- package/dist/chunks/{tool-h03wrkyp.js → config-h03wrkyp.js} +2 -2
- package/dist/chunks/{tool-5qdj1v4m.js → config-h2jj299s.js} +13 -13
- package/dist/chunks/{tool-17j9h1rv.js → config-h2r7bbkd.js} +11 -11
- package/dist/chunks/{tool-a6d3kgp8.js → config-h36hfp8w.js} +20 -20
- package/dist/chunks/{tool-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-f828m53h.js → config-hdnk95c8.js} +2 -2
- package/dist/chunks/{tool-21dj5k26.js → config-hfjwnna4.js} +9 -9
- package/dist/chunks/{tool-c5f1xghs.js → config-hh67s49j.js} +36 -36
- package/dist/chunks/{tool-tqkrwgse.js → config-hkagk5ex.js} +2 -2
- package/dist/chunks/{tool-ve6nm2s5.js → config-hwe7x4em.js} +6 -6
- package/dist/chunks/{tool-b5vpxnpr.js → config-hxhthevt.js} +24 -24
- package/dist/chunks/{tool-pd0fnjnr.js → config-hyts3kyv.js} +24 -24
- package/dist/chunks/{tool-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-da1ppnzr.js → config-jcc1af6w.js} +32 -32
- package/dist/chunks/{tool-8dp74fdk.js → config-jp0z8v05.js} +26 -26
- package/dist/chunks/{tool-4gp9przv.js → config-jq1r26zb.js} +8 -8
- package/dist/chunks/{tool-d55qd04d.js → config-jr7r5qxn.js} +30 -30
- package/dist/chunks/{tool-92s0cqnp.js → config-jsgc62f7.js} +12 -12
- package/dist/chunks/{tool-2wvxgkaf.js → config-jt6yj0wk.js} +33 -33
- package/dist/chunks/{tool-6sr3ve8g.js → config-jw80jp6b.js} +21 -21
- package/dist/chunks/{tool-dy775f0c.js → config-jxahb5yh.js} +14 -14
- package/dist/chunks/{tool-1gfn0ycf.js → config-k02etdm7.js} +32 -32
- package/dist/chunks/{tool-ebx0djr7.js → config-k3nb5hz9.js} +5 -5
- package/dist/chunks/{tool-8y01k5fy.js → config-k7d8hn12.js} +4 -4
- package/dist/chunks/{tool-4e0pbrm7.js → config-kbabcr0z.js} +8 -8
- package/dist/chunks/{tool-c0g4q567.js → config-kf89feae.js} +22 -22
- package/dist/chunks/{tool-ce8sn01r.js → config-kxgs9bks.js} +43 -43
- package/dist/chunks/{tool-cfpkc3c9.js → config-m0jqrx5p.js} +2 -2
- package/dist/chunks/{tool-5hsgp0bq.js → config-m33h53s5.js} +18 -18
- package/dist/chunks/{tool-mwp9jd7s.js → config-m62t8evc.js} +8 -8
- package/dist/chunks/{tool-e0b694rp.js → config-m8t7cym1.js} +23 -23
- package/dist/chunks/{tool-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-t06sf88e.js → config-may7gegf.js} +12 -12
- package/dist/chunks/{tool-bbaxns64.js → config-mec4xq3m.js} +10 -10
- package/dist/chunks/{tool-z4t82ehr.js → config-mhenqsgy.js} +3 -3
- package/dist/chunks/{tool-f1ts345w.js → config-mj8bfnak.js} +10 -10
- package/dist/chunks/{tool-may1xj9k.js → config-mm2fzfxw.js} +180 -180
- package/dist/chunks/{tool-ptg6kxy0.js → config-mmemk5tk.js} +21 -21
- package/dist/chunks/{tool-nafczmzp.js → config-mwqpz8n2.js} +31 -31
- package/dist/chunks/{tool-4gnyebnw.js → config-myqbec2v.js} +7 -7
- package/dist/chunks/{tool-fgb2mcbr.js → config-n1g6tgdt.js} +22 -22
- package/dist/chunks/{tool-7933w99v.js → config-n2p6wzd9.js} +90 -90
- package/dist/chunks/{tool-nr5q34ns.js → config-n46at92c.js} +15 -15
- package/dist/chunks/{tool-r2gzwywa.js → config-n8d9nt83.js} +29 -29
- package/dist/chunks/{tool-6j9t704q.js → config-nbjvymme.js} +17 -17
- package/dist/chunks/{tool-nvxqht09.js → config-ndmv45hp.js} +3 -3
- package/dist/chunks/{tool-nhy5jxhy.js → config-nhy5jxhy.js} +1 -1
- package/dist/chunks/{tool-nw3p9810.js → config-nq5k1b2k.js} +4 -4
- package/dist/chunks/{tool-fsqnn3fv.js → config-nrhg7jns.js} +18 -18
- package/dist/chunks/{tool-6yy9wark.js → config-nwfagajg.js} +11 -11
- package/dist/chunks/{tool-ead3g9p8.js → config-nxhqveyz.js} +5 -5
- package/dist/chunks/{tool-8e117wbv.js → config-p13m5t7c.js} +3 -3
- package/dist/chunks/{tool-4vkh6st7.js → config-p3eq7c85.js} +16 -16
- package/dist/chunks/{tool-7m0wx7n2.js → config-p4688at0.js} +5 -5
- package/dist/chunks/{tool-66yyaz7c.js → config-p60gzv6z.js} +46 -46
- package/dist/chunks/{tool-884gyjym.js → config-p71w2c74.js} +4 -4
- package/dist/chunks/{tool-88sz8qcd.js → config-paegk39x.js} +4 -4
- package/dist/chunks/{tool-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-r1dtnce0.js → config-pk8q5a7v.js} +21 -21
- package/dist/chunks/{tool-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{tool-wjjsbp8j.js → config-q25aqn8x.js} +3 -3
- package/dist/chunks/{tool-d383cjmk.js → config-q8peyv7x.js} +8 -8
- package/dist/chunks/{tool-emgx2tje.js → config-qb2r5jjt.js} +5 -5
- package/dist/chunks/config-qc068m1q.js +18 -0
- package/dist/chunks/{tool-cdx2nmd2.js → config-qm9468kh.js} +52 -52
- package/dist/chunks/{tool-fdftwakz.js → config-qq98fpg3.js} +10 -10
- package/dist/chunks/{tool-n83tpar3.js → config-qrsrd25h.js} +36 -36
- package/dist/chunks/{tool-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-gjh1s6ya.js → config-qvfgmrxz.js} +14 -14
- package/dist/chunks/{tool-383meeh8.js → config-qxwj42xs.js} +47 -47
- package/dist/chunks/{tool-cejrj8y8.js → config-r1176k9f.js} +23 -23
- package/dist/chunks/{tool-5k338v2a.js → config-r7pkag9k.js} +22 -22
- package/dist/chunks/{tool-40tbggcp.js → config-r8k6ctx1.js} +35 -35
- package/dist/chunks/{tool-r9mregkx.js → config-r9mregkx.js} +2 -2
- package/dist/chunks/{tool-2gkxg42g.js → config-rabqss3e.js} +1 -1
- package/dist/chunks/{tool-jez6grfh.js → config-rb8ztnfs.js} +10 -10
- package/dist/chunks/{tool-rdw6cm16.js → config-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-pmwf0w9a.js → config-rff62xhr.js} +34 -34
- package/dist/chunks/{tool-q4wkz71m.js → config-rfrnx1x2.js} +19 -19
- package/dist/chunks/{tool-c8r4c7x7.js → config-rfrwpsbw.js} +27 -27
- package/dist/chunks/{tool-xsghnh50.js → config-rne9pc95.js} +9 -9
- package/dist/chunks/{tool-jndxpbzp.js → config-rnw4m13x.js} +29 -29
- package/dist/chunks/{tool-awzpd58r.js → config-rtkqeva5.js} +9 -9
- package/dist/chunks/{tool-knc2ad2x.js → config-ryqq3fs3.js} +82 -82
- package/dist/chunks/{tool-ec8389mk.js → config-s0esgemt.js} +4 -4
- package/dist/chunks/{tool-nef32yex.js → config-s0kmt45v.js} +2 -2
- package/dist/chunks/{tool-1d4jdnc8.js → config-sjxn26y6.js} +8 -8
- package/dist/chunks/{tool-ggz7fzf6.js → config-spm3grx6.js} +6 -6
- package/dist/chunks/{tool-kcxpnbwn.js → config-t6xy52bk.js} +23 -23
- package/dist/chunks/{tool-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-tcezcvh9.js → config-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-scq4khx8.js → config-tcg29b4q.js} +1 -1
- package/dist/chunks/{tool-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{tool-efxhpxf5.js → config-tesctre0.js} +27 -27
- package/dist/chunks/{tool-7355chmd.js → config-tg3cprtf.js} +3 -3
- package/dist/chunks/{tool-zr6g55aw.js → config-thqea5vd.js} +12 -12
- package/dist/chunks/{tool-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{tool-ayrzd4q0.js → config-tw1vzf9c.js} +17 -17
- package/dist/chunks/{tool-tqq7t134.js → config-tw1yr5et.js} +12 -12
- package/dist/chunks/{tool-jpsh07gn.js → config-v09z6gxa.js} +4 -4
- package/dist/chunks/{tool-sr5hsr7h.js → config-v3tp873m.js} +28 -28
- package/dist/chunks/{tool-axtvtek4.js → config-v5dkyp31.js} +7 -7
- package/dist/chunks/{tool-fyfytr13.js → config-v91t7ygf.js} +9 -9
- package/dist/chunks/{tool-xerjptys.js → config-va9enkqs.js} +5 -5
- package/dist/chunks/{tool-9d4sgpz8.js → config-vbh50phm.js} +9 -9
- package/dist/chunks/{tool-qkttm6v0.js → config-vdp3mxfz.js} +11 -11
- package/dist/chunks/{tool-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-7eyb1ky7.js → config-vgazdx51.js} +25 -25
- package/dist/chunks/{tool-1a6p2twq.js → config-vncycja5.js} +4 -4
- package/dist/chunks/{tool-rkdpvaam.js → config-vp05wna8.js} +17 -17
- package/dist/chunks/{tool-16jeg0qk.js → config-vrx3af4d.js} +302 -302
- package/dist/chunks/{tool-jqvwbgns.js → config-vshjjydt.js} +11 -11
- package/dist/chunks/{tool-c31h4aj0.js → config-vsqbtd9w.js} +54 -54
- package/dist/chunks/{tool-5y9tx54q.js → config-vvza37g4.js} +12 -12
- package/dist/chunks/{tool-5w7fqkzx.js → config-vwpvshvf.js} +10 -10
- package/dist/chunks/{tool-jscm6k4t.js → config-vy6azx93.js} +7 -7
- package/dist/chunks/{tool-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{tool-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-q7wajf8z.js → config-w49382pb.js} +8 -8
- package/dist/chunks/{tool-7q67xa21.js → config-w4qr52xm.js} +20 -20
- package/dist/chunks/{tool-prres578.js → config-w7318msx.js} +19 -19
- package/dist/chunks/{tool-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{tool-hs2aqah5.js → config-wdjzerwh.js} +5 -5
- package/dist/chunks/{tool-tbht75y9.js → config-wrmrmykr.js} +9 -9
- package/dist/chunks/{tool-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{tool-6vq97qmv.js → config-xh49vxj8.js} +5 -5
- package/dist/chunks/{tool-964t6598.js → config-xj3xm1k8.js} +11 -11
- package/dist/chunks/{tool-9q34vwzw.js → config-xxa5qpbf.js} +27 -27
- package/dist/chunks/{tool-21f2rsjd.js → config-xz76qvd7.js} +13 -13
- package/dist/chunks/{tool-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-x7ajdgre.js → config-yadbpzqa.js} +9 -9
- package/dist/chunks/{tool-cseyvs3z.js → config-ybkr1nm0.js} +28 -28
- package/dist/chunks/{tool-253bq4qw.js → config-ybpe84zh.js} +3 -3
- package/dist/chunks/{tool-hnr5yq9h.js → config-yjptyezs.js} +5 -5
- package/dist/chunks/{tool-yp2x3t23.js → config-yp2x3t23.js} +1 -1
- package/dist/chunks/{tool-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{tool-s4enseaf.js → config-yrznvahk.js} +2 -2
- package/dist/chunks/{tool-b4655sfp.js → config-ywxs3drb.js} +45 -45
- package/dist/chunks/{tool-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-tg3z6q21.js → config-z48yjxtn.js} +11 -11
- package/dist/chunks/{tool-29x78va6.js → config-z63w68vq.js} +6 -6
- package/dist/chunks/{tool-2vs2nh1n.js → config-zcrspsvn.js} +4 -4
- package/dist/chunks/{tool-6d1tapbz.js → config-ze5vbvww.js} +19 -19
- package/dist/chunks/{tool-zeh9ct20.js → config-zeh9ct20.js} +2 -2
- package/dist/chunks/{tool-s4k2xazs.js → config-zqvkfjn9.js} +19 -19
- package/dist/chunks/{tool-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-nbzw66ce.js → config-zvgzwjz2.js} +29 -29
- package/dist/chunks/{tool-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/chunks/{tool-xkc29y86.js → config-zzk4kz08.js} +36 -36
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +105 -105
- 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 +135 -135
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- 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 +98 -98
- package/dist/model.js +99 -99
- package/dist/models-dev.js +105 -105
- 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 +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- 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 +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/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 +93 -93
- 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 +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/update.js +6 -6
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- 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 +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- 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 +94 -94
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +125 -125
- 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 +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- 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 +3 -3
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- 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 +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +216 -216
- 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/session.d.ts +2 -3
- 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 +7 -7
- 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 +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- 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/tool-9sh4wc5j.js +0 -18
- package/dist/chunks/tool-dadjnxcz.js +0 -26
- package/dist/chunks/tool-yqybgd19.js +0 -251
- /package/dist/chunks/{tool-0mesazry.js → config-0mesazry.js} +0 -0
- /package/dist/chunks/{tool-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-hrnqkpcd.js → config-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-twg0f83k.js → config-twg0f83k.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service6,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node9
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service6 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node9 = makeLocationNode({
|
|
19
|
+
service: Service6,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service6, node9, bound2, exports_instance2 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service9,
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service9.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node12 = makeLocationNode({ service: Service9, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service9, node12, exports_location_watcher_policy };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options9,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options9 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options9, Spec2, exports_plugin3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service61
|
|
4
|
+
} from "./config-a81jxvbk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service54
|
|
7
|
+
} from "./config-vvza37g4.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin32
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin32 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service61;
|
|
27
|
+
const output = yield* Service54;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin7 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin32, exports_tool_output };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-dr66jqxh.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-r8k6ctx1.js";
|
|
6
6
|
|
|
7
7
|
// src/plugin/provider/google-vertex.ts
|
|
8
8
|
import { Effect } from "effect";
|
|
@@ -39,7 +39,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
39
39
|
for (const item of evt.list()) {
|
|
40
40
|
if (!isAISDK2(item.provider.package))
|
|
41
41
|
continue;
|
|
42
|
-
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id ===
|
|
42
|
+
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID7.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
|
|
43
43
|
continue;
|
|
44
44
|
const project = resolveProject(item.provider.settings ?? {});
|
|
45
45
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -56,13 +56,13 @@ var GoogleVertexPlugin2 = define({
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
59
|
-
if (evt.model.providerID ===
|
|
59
|
+
if (evt.model.providerID === ID7.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
|
|
60
60
|
evt.options.fetch = authFetch(evt.options.fetch);
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
63
63
|
}));
|
|
64
64
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
65
|
-
if (evt.model.providerID !==
|
|
65
|
+
if (evt.model.providerID !== ID7.googleVertex)
|
|
66
66
|
return;
|
|
67
67
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
68
68
|
}));
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node85
|
|
7
|
+
} from "./config-thqea5vd.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service69,
|
|
16
|
+
node73
|
|
17
|
+
} from "./config-rb8ztnfs.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./config-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service55,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node58,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service55 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service80;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service69;
|
|
110
|
+
return Service55.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node58 = makeGlobalNode({
|
|
171
|
+
service: Service55,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node73]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service55, isError2, validateBranch2, node58, exports_repository_cache };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
7
7
|
__export(exports_opencode, {
|
|
8
8
|
MoveInput: () => MoveInput2,
|
|
9
9
|
OpenCodeTools: () => exports_opencode,
|
|
10
|
-
Plugin: () =>
|
|
10
|
+
Plugin: () => Plugin10,
|
|
11
11
|
RenameInput: () => RenameInput2
|
|
12
12
|
});
|
|
13
13
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
|
|
29
|
-
var
|
|
29
|
+
var Plugin10 = {
|
|
30
30
|
id: "opencode.tools",
|
|
31
31
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
32
32
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -77,4 +77,4 @@ var Plugin30 = {
|
|
|
77
77
|
})
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
export { RenameInput2, MoveInput2,
|
|
80
|
+
export { RenameInput2, MoveInput2, Plugin10, exports_opencode };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin20
|
|
3
|
+
} from "./config-q8peyv7x.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin17
|
|
6
|
+
} from "./config-v91t7ygf.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin19
|
|
9
|
+
} from "./config-ftjyd2wg.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin13
|
|
12
|
+
} from "./config-dgmceqp5.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin18
|
|
15
|
+
} from "./config-rtkqeva5.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin20,
|
|
20
|
+
Plugin17,
|
|
21
|
+
Plugin19,
|
|
22
|
+
Plugin13,
|
|
23
|
+
Plugin18
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./config-5zfzqmbx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service60
|
|
12
|
+
} from "./config-fdbh7561.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service25
|
|
15
|
+
} from "./config-qvfgmrxz.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./config-2qy99qce.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service71
|
|
24
|
+
} from "./config-9pc1c82a.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service16
|
|
27
|
+
} from "./config-m33h53s5.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./config-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input3,
|
|
37
|
+
Output: () => Output2,
|
|
38
|
+
Plugin: () => Plugin3,
|
|
39
|
+
name: () => name3,
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name3 = "glob";
|
|
46
|
+
var Input3 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input11 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output2 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin3 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service60;
|
|
70
|
+
const ripgrep = yield* Service25;
|
|
71
|
+
const location = yield* Service76;
|
|
72
|
+
const access = yield* Service16;
|
|
73
|
+
const permission = yield* Service71;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name3,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input3,
|
|
79
|
+
output: Output2,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name3,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin31 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name3, Input3, Output2, toModelContent2, Plugin3, exports_glob };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-cpj0znwe.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./config-ef38hzxk.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./config-jt6yj0wk.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-k02etdm7.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID7,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service64
|
|
20
|
+
} from "./config-r8k6ctx1.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID6
|
|
23
|
+
} from "./config-bt0r0ca8.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./config-5a015e2n.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./config-mj8bfnak.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID8.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,8 +157,8 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
161
|
-
const bus = yield*
|
|
160
|
+
const providers = yield* Service64;
|
|
161
|
+
const bus = yield* Service79;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
164
164
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID7.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
|
-
try: () =>
|
|
178
|
+
try: () => load3(url, {
|
|
179
179
|
...provider?.headers,
|
|
180
180
|
Authorization: `Bearer ${credential.refresh}`,
|
|
181
181
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID7.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
201
201
|
evt.add({
|
|
202
202
|
info: item.provider,
|
|
203
|
-
models: Array.from(
|
|
203
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
204
204
|
sourceConnection: loaded.connection
|
|
205
205
|
});
|
|
206
206
|
return;
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID7.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID7.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|