@opencode/core 0.0.0-dev-19551 → 0.0.0-dev-19553
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 +78 -78
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +3 -3
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{job-5c0f1prt.js → tool-output-06dxphr1.js} +4 -4
- package/dist/chunks/{job-pecb0brz.js → tool-output-0f9afca0.js} +5 -5
- package/dist/chunks/{job-2k8khapm.js → tool-output-0jwsre1p.js} +5 -5
- package/dist/chunks/{job-0paq2nw3.js → tool-output-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-0q0f95c6.js → tool-output-0q0f95c6.js} +1 -1
- package/dist/chunks/{job-8h4jg5g2.js → tool-output-0rx68sr6.js} +30 -30
- package/dist/chunks/{job-6zcsajt2.js → tool-output-0x6k1yyf.js} +6 -6
- package/dist/chunks/{job-02anka69.js → tool-output-0y6ej3m2.js} +47 -47
- package/dist/chunks/{job-fj98gr1b.js → tool-output-0zg9j80n.js} +16 -16
- package/dist/chunks/{job-yfxaeg17.js → tool-output-17ymfh2y.js} +59 -59
- package/dist/chunks/{job-1acjjqhc.js → tool-output-1acjjqhc.js} +1 -1
- package/dist/chunks/{job-mhkvc446.js → tool-output-1bbkgx8g.js} +3 -3
- package/dist/chunks/{job-96aw7zzq.js → tool-output-1cmb3mqm.js} +9 -9
- package/dist/chunks/{job-1dazxqgg.js → tool-output-1dazxqgg.js} +2 -2
- package/dist/chunks/{job-vgf6h5m8.js → tool-output-1sw69r4e.js} +15 -15
- package/dist/chunks/{job-9545wyxc.js → tool-output-1xsnzhxk.js} +37 -37
- package/dist/chunks/{job-21r38tys.js → tool-output-21r38tys.js} +1 -1
- package/dist/chunks/{job-2402vzrj.js → tool-output-2402vzrj.js} +1 -1
- package/dist/chunks/{job-b9kqzsfe.js → tool-output-2448zhsg.js} +11 -11
- package/dist/chunks/{job-7bc4b9nb.js → tool-output-25a3s41e.js} +22 -22
- package/dist/chunks/{job-hs2c6j2p.js → tool-output-27m8pmk1.js} +25 -25
- package/dist/chunks/{job-zsb89rxf.js → tool-output-29pd7jmr.js} +4 -4
- package/dist/chunks/{job-2a5m3afh.js → tool-output-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-djmry748.js → tool-output-3081eqt5.js} +9 -9
- package/dist/chunks/{job-stq9rvc7.js → tool-output-32yqznb7.js} +19 -19
- package/dist/chunks/{job-6rp1snrh.js → tool-output-33nevm3v.js} +32 -32
- package/dist/chunks/{job-mfqp6xfm.js → tool-output-33w4ejhs.js} +9 -9
- package/dist/chunks/{job-mtq6xxnx.js → tool-output-34rkz0x9.js} +4 -4
- package/dist/chunks/{job-7860v717.js → tool-output-3bbcshph.js} +14 -14
- package/dist/chunks/{job-3fc6dm20.js → tool-output-3fc6dm20.js} +1 -1
- package/dist/chunks/{job-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-3smtnn6g.js → tool-output-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-3tvqynh2.js → tool-output-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-xq70ntam.js → tool-output-3zz31926.js} +3 -3
- package/dist/chunks/{job-x3was1q3.js → tool-output-410f9172.js} +44 -44
- package/dist/chunks/{job-m375e3r0.js → tool-output-44br5crg.js} +13 -13
- package/dist/chunks/{job-yvpsnz4b.js → tool-output-48w4w6ne.js} +15 -15
- package/dist/chunks/{job-hrrqwge8.js → tool-output-500ye4gx.js} +20 -20
- package/dist/chunks/{job-amkb68hs.js → tool-output-51d9jexv.js} +8 -8
- package/dist/chunks/{job-qb7t6fbv.js → tool-output-53h6jvr4.js} +15 -15
- package/dist/chunks/{job-9j6tq23v.js → tool-output-56n9fxap.js} +10 -10
- package/dist/chunks/{job-a1bz86dw.js → tool-output-5c4hm403.js} +3 -3
- package/dist/chunks/{job-5daktx2q.js → tool-output-5daktx2q.js} +1 -1
- package/dist/chunks/{job-1pzzsmr7.js → tool-output-5ns0hmk4.js} +32 -32
- package/dist/chunks/{job-1vk0sv93.js → tool-output-5q8917fr.js} +11 -11
- package/dist/chunks/{job-j6d40d3s.js → tool-output-5rj7e89z.js} +8 -8
- package/dist/chunks/{job-5t3nmthw.js → tool-output-5t3nmthw.js} +2 -2
- package/dist/chunks/tool-output-5zrr549n.js +247 -0
- package/dist/chunks/{job-y2wp1mss.js → tool-output-62am4esv.js} +39 -39
- package/dist/chunks/{job-0zaj8p07.js → tool-output-64ddj6v7.js} +1 -1
- package/dist/chunks/{job-669tq793.js → tool-output-669tq793.js} +1 -1
- package/dist/chunks/{job-6msgmcgs.js → tool-output-6msgmcgs.js} +1 -1
- package/dist/chunks/{job-c078e160.js → tool-output-6v9s4sje.js} +31 -31
- package/dist/chunks/{job-v0fed9v0.js → tool-output-6xvztx9x.js} +19 -19
- package/dist/chunks/{job-71q4at8m.js → tool-output-71q4at8m.js} +1 -1
- package/dist/chunks/tool-output-7apsgyan.js +26 -0
- package/dist/chunks/{job-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-8xma7teh.js → tool-output-7n2dt51x.js} +9 -9
- package/dist/chunks/{job-q5nw5m1n.js → tool-output-7w3s9kd0.js} +6 -6
- package/dist/chunks/{job-ydmzrr85.js → tool-output-7z1dbq5f.js} +11 -11
- package/dist/chunks/{job-7rrbf1mq.js → tool-output-80va3pbr.js} +27 -27
- package/dist/chunks/{job-81swgkk7.js → tool-output-81swgkk7.js} +2 -2
- package/dist/chunks/{job-as0vwgb4.js → tool-output-82ypv6pv.js} +26 -26
- package/dist/chunks/{job-mth96381.js → tool-output-84r56gr5.js} +1 -1
- package/dist/chunks/{job-fbp0wg4j.js → tool-output-85dpmdhy.js} +26 -26
- package/dist/chunks/{job-dkbfs573.js → tool-output-8bcx3nez.js} +4 -4
- package/dist/chunks/{job-8d7r5vzw.js → tool-output-8d7r5vzw.js} +1 -1
- package/dist/chunks/{job-ea4v06n9.js → tool-output-8k55qeyd.js} +17 -17
- package/dist/chunks/{job-shrpy2d8.js → tool-output-8q9myf25.js} +6 -6
- package/dist/chunks/{job-jz76mmy6.js → tool-output-8zqda560.js} +26 -26
- package/dist/chunks/{job-pjnxqhmn.js → tool-output-97fmyryk.js} +6 -6
- package/dist/chunks/{job-ptekn55j.js → tool-output-983zejhe.js} +30 -30
- package/dist/chunks/{job-zwbyg0c0.js → tool-output-9bxy0ra3.js} +26 -26
- package/dist/chunks/{job-m3178fa3.js → tool-output-9cxz2p3g.js} +23 -23
- package/dist/chunks/{job-ra3qct3x.js → tool-output-9e47yq11.js} +8 -8
- package/dist/chunks/{job-09q46x4q.js → tool-output-9k24p8hs.js} +16 -16
- package/dist/chunks/{job-d16qd7aj.js → tool-output-9kmbd9mt.js} +2 -2
- package/dist/chunks/{job-wmsf7wrg.js → tool-output-9kvbt2b0.js} +166 -166
- package/dist/chunks/{job-79wzcjsa.js → tool-output-9vtsvkk2.js} +6 -6
- package/dist/chunks/{job-5d17xbav.js → tool-output-9w4ppqge.js} +5 -5
- package/dist/chunks/{job-ex020hh2.js → tool-output-9xd5w3qq.js} +3 -3
- package/dist/chunks/{job-kwb80b5k.js → tool-output-a68v6zx7.js} +8 -8
- package/dist/chunks/{job-xcyg6eyf.js → tool-output-a9v01vfp.js} +11 -11
- package/dist/chunks/{job-aaet6srn.js → tool-output-aaet6srn.js} +2 -2
- package/dist/chunks/{job-13tj92kw.js → tool-output-atmy3q3t.js} +13 -13
- package/dist/chunks/{job-b6gygkdw.js → tool-output-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-vj4x80bm.js → tool-output-b6r17kzf.js} +45 -45
- package/dist/chunks/{job-q4z3ph6w.js → tool-output-bep0w5gt.js} +17 -17
- package/dist/chunks/{job-bxcxg0ff.js → tool-output-bfbcq9g8.js} +20 -20
- package/dist/chunks/{job-f91bnzqh.js → tool-output-bjr9n51k.js} +292 -292
- package/dist/chunks/{job-wpm2rk0p.js → tool-output-bqszwq89.js} +4 -4
- package/dist/chunks/{job-hcx3ekmh.js → tool-output-bsd21wvh.js} +29 -29
- package/dist/chunks/{job-72732vcx.js → tool-output-bvbrzwy4.js} +7 -7
- package/dist/chunks/{job-vsjvgq0n.js → tool-output-c9arwkaa.js} +8 -8
- package/dist/chunks/{job-wzd6kzb5.js → tool-output-c9ycaxtf.js} +18 -18
- package/dist/chunks/{job-cyhtgvq1.js → tool-output-cgagfye5.js} +4 -4
- package/dist/chunks/{job-hc5y4k7z.js → tool-output-chkb7edh.js} +10 -10
- package/dist/chunks/{job-jm0ah2qn.js → tool-output-cp507nym.js} +5 -5
- package/dist/chunks/{job-4shqk8q0.js → tool-output-d4jews6t.js} +25 -25
- package/dist/chunks/{job-a498j8pk.js → tool-output-d5d1bzfc.js} +14 -14
- package/dist/chunks/{job-nc9sr3t2.js → tool-output-d76dz6fc.js} +80 -80
- package/dist/chunks/{job-md067ysg.js → tool-output-d9jac9yd.js} +5 -5
- package/dist/chunks/{job-1jjxd0pe.js → tool-output-ddkxxk60.js} +18 -18
- package/dist/chunks/{job-xhmq8qgk.js → tool-output-depwzj9d.js} +9 -9
- package/dist/chunks/{job-8p4f9s12.js → tool-output-dj2t23y0.js} +2 -2
- package/dist/chunks/{job-3e04gqtn.js → tool-output-dt2vszrs.js} +20 -20
- package/dist/chunks/{job-pc81x2yk.js → tool-output-dtza9wsp.js} +27 -27
- package/dist/chunks/{job-dc65mbsf.js → tool-output-dym5mc0w.js} +9 -9
- package/dist/chunks/{job-1snp8xcw.js → tool-output-e3hd6zgs.js} +10 -10
- package/dist/chunks/{job-e5nv3ght.js → tool-output-e5nv3ght.js} +2 -2
- package/dist/chunks/{job-jgy1930r.js → tool-output-e6599acx.js} +21 -21
- package/dist/chunks/{job-dwze3g71.js → tool-output-ea6zyd4v.js} +4 -4
- package/dist/chunks/{job-z08tnfjf.js → tool-output-eh7kfqe7.js} +24 -24
- package/dist/chunks/{job-prbnmmzj.js → tool-output-eraanh1f.js} +4 -4
- package/dist/chunks/{job-etq0c3wd.js → tool-output-etq0c3wd.js} +1 -1
- package/dist/chunks/{job-2h45tmmq.js → tool-output-evsz25f7.js} +26 -26
- package/dist/chunks/{job-1g1pvfjw.js → tool-output-ex94xgb3.js} +17 -17
- package/dist/chunks/{job-49n6hv06.js → tool-output-eyqffhkg.js} +25 -25
- package/dist/chunks/{job-k5x6q6e2.js → tool-output-f711xdp6.js} +38 -38
- package/dist/chunks/{job-qmr3zwbm.js → tool-output-fegtcdpg.js} +6 -6
- package/dist/chunks/{job-h78dech7.js → tool-output-fjqhqcz7.js} +24 -24
- package/dist/chunks/{job-3xfd07gr.js → tool-output-fk7wkjv4.js} +13 -13
- package/dist/chunks/{job-hq6yngkb.js → tool-output-fkt296b9.js} +16 -16
- package/dist/chunks/{job-fxbjtjnd.js → tool-output-fxbjtjnd.js} +1 -1
- package/dist/chunks/{job-g0kzx32f.js → tool-output-g0kzx32f.js} +4 -4
- package/dist/chunks/{job-rdg9nk1c.js → tool-output-g4bd99vw.js} +14 -14
- package/dist/chunks/{job-b61bh2bz.js → tool-output-gbt50e34.js} +24 -24
- package/dist/chunks/{job-20942t1p.js → tool-output-gd35dwva.js} +14 -14
- package/dist/chunks/{job-gd4qta3r.js → tool-output-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-z8pb3dnf.js → tool-output-gea7vc3h.js} +5 -5
- package/dist/chunks/{job-sbzyr5f9.js → tool-output-gewkt4tc.js} +16 -16
- package/dist/chunks/{job-fjmrr6sh.js → tool-output-gfqzzqy5.js} +8 -8
- package/dist/chunks/{job-3bhvf9qn.js → tool-output-gkg6avwa.js} +46 -46
- package/dist/chunks/{job-pd0nkce9.js → tool-output-gsezjzb9.js} +20 -20
- package/dist/chunks/{job-gv6a8nnw.js → tool-output-gv6a8nnw.js} +2 -2
- package/dist/chunks/{job-h03wrkyp.js → tool-output-h03wrkyp.js} +2 -2
- package/dist/chunks/{job-5795tykb.js → tool-output-h6nbnr35.js} +14 -14
- package/dist/chunks/{job-h6vf3j39.js → tool-output-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-f828m53h.js → tool-output-hdnk95c8.js} +2 -2
- package/dist/chunks/{job-6bhd17d3.js → tool-output-hn9cpaxe.js} +6 -6
- package/dist/chunks/{job-p2s8dcm5.js → tool-output-hndr1rtw.js} +80 -80
- package/dist/chunks/{job-0r7yqxbf.js → tool-output-hnr5yq9h.js} +5 -5
- package/dist/chunks/{job-6anwy9fs.js → tool-output-j15mfg1p.js} +6 -6
- package/dist/chunks/{job-j56e64zr.js → tool-output-j56e64zr.js} +1 -1
- package/dist/chunks/{job-em1e23aa.js → tool-output-j5bk5ffn.js} +6 -6
- package/dist/chunks/{job-j28afpr7.js → tool-output-jwfsf2kw.js} +26 -26
- package/dist/chunks/{job-g2k5npgp.js → tool-output-k5t8czcn.js} +15 -15
- package/dist/chunks/{job-cqa5kst6.js → tool-output-k7q6hj49.js} +16 -16
- package/dist/chunks/{job-9r8t9cb1.js → tool-output-k9e137ey.js} +15 -15
- package/dist/chunks/{job-kg06axw8.js → tool-output-kg06axw8.js} +1 -1
- package/dist/chunks/{job-bwgxh8q4.js → tool-output-kwd7jcpa.js} +8 -8
- package/dist/chunks/{job-cfpkc3c9.js → tool-output-m0jqrx5p.js} +2 -2
- package/dist/chunks/{job-stj1dfn7.js → tool-output-m1t2h00z.js} +9 -9
- package/dist/chunks/{job-gsx0ryk4.js → tool-output-m2d0j7c0.js} +9 -9
- package/dist/chunks/{job-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-377tdzm5.js → tool-output-mf9m2v67.js} +3 -3
- package/dist/chunks/{job-v9dgs7p6.js → tool-output-mjydk635.js} +9 -9
- package/dist/chunks/{job-683mqfgy.js → tool-output-mxy7bqqm.js} +4 -4
- package/dist/chunks/{job-k7azvhe8.js → tool-output-myk4ckkr.js} +5 -5
- package/dist/chunks/{job-4kba6g5j.js → tool-output-n10ns13s.js} +8 -8
- package/dist/chunks/{job-pkkwwmgt.js → tool-output-n6sw2qcy.js} +7 -7
- package/dist/chunks/{job-47gsdddb.js → tool-output-nhy5jxhy.js} +5 -5
- package/dist/chunks/{job-enrw8q47.js → tool-output-nn7883ae.js} +43 -43
- package/dist/chunks/{job-jw80jp6b.js → tool-output-nrdmrqsx.js} +4 -4
- package/dist/chunks/{job-8eejj7b1.js → tool-output-nvskbz6s.js} +26 -26
- package/dist/chunks/{job-pfkq79gw.js → tool-output-nzn05r5g.js} +6 -6
- package/dist/chunks/{job-htveh2m9.js → tool-output-p0ydpdje.js} +1 -1
- package/dist/chunks/{job-qmta8n45.js → tool-output-p1g84q7q.js} +17 -17
- package/dist/chunks/{job-cq3qtjfd.js → tool-output-p3dmqj27.js} +9 -9
- package/dist/chunks/{job-1bxmrcht.js → tool-output-p6d5ygvj.js} +19 -19
- package/dist/chunks/{job-pvdgc92g.js → tool-output-p730pwrk.js} +37 -37
- package/dist/chunks/{job-2hyh68ab.js → tool-output-pa8pe2x7.js} +8 -8
- package/dist/chunks/{job-z5tggqpm.js → tool-output-pbky73a2.js} +3 -3
- package/dist/chunks/{job-x0fyt95n.js → tool-output-pjhhwqp3.js} +6 -6
- package/dist/chunks/{job-pjvnvgmy.js → tool-output-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{job-ra13h09g.js → tool-output-pxexgfqn.js} +3 -3
- package/dist/chunks/{job-dy4w61gz.js → tool-output-q0hpqd2h.js} +1 -1
- package/dist/chunks/{job-ay95kvxt.js → tool-output-q5a2pztx.js} +12 -12
- package/dist/chunks/{job-k76fn4kw.js → tool-output-q5asdkn4.js} +4 -4
- package/dist/chunks/{job-7k0f2h2g.js → tool-output-q5e9w6qx.js} +10 -10
- package/dist/chunks/{job-rbwx5wra.js → tool-output-qa3vdgc2.js} +7 -7
- package/dist/chunks/{job-a5cemxe6.js → tool-output-qc5sn4cp.js} +4 -4
- package/dist/chunks/{job-2wts5qzq.js → tool-output-qcr3pcr3.js} +8 -8
- package/dist/chunks/{job-x7kgajv3.js → tool-output-qjr7sh6r.js} +6 -6
- package/dist/chunks/{job-sfqjz287.js → tool-output-qjzr9d90.js} +9 -9
- package/dist/chunks/{job-sqx8bqj2.js → tool-output-qmdnxg00.js} +10 -10
- package/dist/chunks/{job-x0wtcrp9.js → tool-output-qpde438z.js} +44 -44
- package/dist/chunks/{job-qsdy395h.js → tool-output-qsdy395h.js} +1 -1
- package/dist/chunks/{job-5qqy1nt8.js → tool-output-qshh0se8.js} +43 -43
- package/dist/chunks/{job-961p48t0.js → tool-output-qy6qxnan.js} +24 -24
- package/dist/chunks/{job-040sr1v8.js → tool-output-r28dgecg.js} +43 -43
- package/dist/chunks/{job-kd6p45pd.js → tool-output-r5j91kvy.js} +20 -20
- package/dist/chunks/{job-r9mregkx.js → tool-output-r9mregkx.js} +2 -2
- package/dist/chunks/{job-p1tyjad7.js → tool-output-rd3jsed3.js} +10 -10
- package/dist/chunks/{job-gbt6w4kb.js → tool-output-rhjbct0v.js} +8 -8
- package/dist/chunks/{job-74xcjtak.js → tool-output-rj0m9tej.js} +15 -15
- package/dist/chunks/{job-mhmpcj6a.js → tool-output-rk3xpj8q.js} +11 -11
- package/dist/chunks/{job-3c39skxm.js → tool-output-rkd9zq17.js} +15 -15
- package/dist/chunks/{job-eg2tb1rm.js → tool-output-rngvahqc.js} +5 -5
- package/dist/chunks/{job-0n47kyc1.js → tool-output-rrhh8349.js} +28 -28
- package/dist/chunks/{job-990ev2kv.js → tool-output-rxjvbk8n.js} +1 -1
- package/dist/chunks/{job-vb7wzncz.js → tool-output-s143544w.js} +13 -13
- package/dist/chunks/{job-2mf2hkhk.js → tool-output-s4g69t21.js} +18 -18
- package/dist/chunks/{job-p7dary61.js → tool-output-s7n3ne41.js} +8 -8
- package/dist/chunks/{job-046vx306.js → tool-output-sdwfzfqg.js} +16 -16
- package/dist/chunks/{job-49ss6e4c.js → tool-output-sjdbjet5.js} +25 -25
- package/dist/chunks/{job-8v2a1ecx.js → tool-output-smh9r5za.js} +17 -17
- package/dist/chunks/{job-f58cjftf.js → tool-output-sr17v8dg.js} +4 -4
- package/dist/chunks/{job-3w0fmcng.js → tool-output-t0fxg8b9.js} +5 -5
- package/dist/chunks/{job-4pahwyh5.js → tool-output-t3j0f89m.js} +12 -12
- package/dist/chunks/{job-pmr4s4kc.js → tool-output-t9zs3egg.js} +4 -4
- package/dist/chunks/{job-tazgh4e4.js → tool-output-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-89znhe33.js → tool-output-tcezcvh9.js} +4 -4
- package/dist/chunks/{job-6bynjfm5.js → tool-output-tdegjb08.js} +22 -22
- package/dist/chunks/{job-tdstcens.js → tool-output-tdstcens.js} +1 -1
- package/dist/chunks/{job-434sg2zj.js → tool-output-tk4wgrh8.js} +11 -11
- package/dist/chunks/{job-86cy3sa1.js → tool-output-tqv7368x.js} +32 -32
- package/dist/chunks/{job-tvbbv51m.js → tool-output-tsn7a10h.js} +20 -20
- package/dist/chunks/{job-n0mgm2jp.js → tool-output-tsqvd881.js} +32 -32
- package/dist/chunks/{job-tvtrv512.js → tool-output-tvtrv512.js} +1 -1
- package/dist/chunks/{job-nz512v62.js → tool-output-tw82j2bg.js} +27 -27
- package/dist/chunks/{job-0036mwva.js → tool-output-twh77t5b.js} +23 -23
- package/dist/chunks/{job-770k1kpm.js → tool-output-v45wa97a.js} +20 -20
- package/dist/chunks/{job-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
- package/dist/chunks/{job-g3w19j9b.js → tool-output-vmarth84.js} +26 -26
- package/dist/chunks/tool-output-vnkjks7b.js +18 -0
- package/dist/chunks/{job-fr0dkbfb.js → tool-output-vp0b3tb4.js} +34 -34
- package/dist/chunks/{job-gyp628tp.js → tool-output-vp59gbjy.js} +4 -4
- package/dist/chunks/{job-pt3prsgd.js → tool-output-vp702ess.js} +13 -13
- package/dist/chunks/{job-v8300td6.js → tool-output-vve6xm6r.js} +17 -17
- package/dist/chunks/{job-f40wq5r9.js → tool-output-vxtx4rpx.js} +32 -32
- package/dist/chunks/{job-q1wsye3c.js → tool-output-vywwb7xw.js} +2 -2
- package/dist/chunks/{job-162hh63g.js → tool-output-vz41dpjb.js} +10 -10
- package/dist/chunks/{job-9k2bb2dw.js → tool-output-vz6wxk13.js} +17 -17
- package/dist/chunks/{job-vzcthcp8.js → tool-output-vzcthcp8.js} +1 -1
- package/dist/chunks/{job-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-761nt7jg.js → tool-output-w556py1h.js} +11 -11
- package/dist/chunks/{job-vyy6cxw9.js → tool-output-wcge806m.js} +4 -4
- package/dist/chunks/{job-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{job-4gcegvgz.js → tool-output-wfz0ytz1.js} +14 -14
- package/dist/chunks/{job-v005aask.js → tool-output-wg0bp805.js} +8 -8
- package/dist/chunks/{job-f6cbndw9.js → tool-output-wg0fnz40.js} +32 -32
- package/dist/chunks/{job-e83k19hz.js → tool-output-wptqc3da.js} +20 -20
- package/dist/chunks/{job-gxzw0yva.js → tool-output-wqk2ast5.js} +8 -8
- package/dist/chunks/{job-ff1mwr3r.js → tool-output-x0qm4064.js} +7 -7
- package/dist/chunks/{job-x1ezjp6w.js → tool-output-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-ma17zqqm.js → tool-output-x3812y1v.js} +23 -23
- package/dist/chunks/{job-y1z6f5gr.js → tool-output-x46dne7g.js} +7 -7
- package/dist/chunks/{job-1p75fq4j.js → tool-output-x65d1ngh.js} +4 -4
- package/dist/chunks/{job-xqem8ntn.js → tool-output-xcgcvrcw.js} +12 -12
- package/dist/chunks/{job-rasx6tva.js → tool-output-xg954myy.js} +6 -6
- package/dist/chunks/{job-zsnf93b8.js → tool-output-xjqj3swt.js} +15 -15
- package/dist/chunks/{job-sp5zyyma.js → tool-output-xn5rvdk3.js} +8 -8
- package/dist/chunks/{job-zkg44738.js → tool-output-xs60qhkz.js} +11 -11
- package/dist/chunks/{job-sej7e0cf.js → tool-output-xwwz9aqf.js} +4 -4
- package/dist/chunks/{job-w4dt659t.js → tool-output-xxj3pgp3.js} +1 -1
- package/dist/chunks/{job-qwb4tcmb.js → tool-output-xy08ds9x.js} +8 -8
- package/dist/chunks/{job-y1fvbwt7.js → tool-output-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-849d02ds.js → tool-output-y2ha7ynf.js} +10 -10
- package/dist/chunks/{job-dde0f2ek.js → tool-output-y68xz9fb.js} +22 -22
- package/dist/chunks/{job-y71avatq.js → tool-output-y71avatq.js} +1 -1
- package/dist/chunks/{job-e6rh6vb2.js → tool-output-y8rq7gk1.js} +25 -25
- package/dist/chunks/{job-55h6dw60.js → tool-output-yacgqk72.js} +2 -2
- package/dist/chunks/{job-g1bd2qay.js → tool-output-yd58s3pz.js} +13 -13
- package/dist/chunks/{job-6tvgw4xf.js → tool-output-ym7qtc9x.js} +11 -11
- package/dist/chunks/{job-53d4v5pk.js → tool-output-yqtqx2tb.js} +1 -1
- package/dist/chunks/{job-yrhqyw5v.js → tool-output-yrhqyw5v.js} +1 -1
- package/dist/chunks/{job-xwdfg3dx.js → tool-output-yrz8q0k0.js} +5 -5
- package/dist/chunks/{job-yrznvahk.js → tool-output-yrznvahk.js} +2 -2
- package/dist/chunks/{job-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-540t25p5.js → tool-output-z3dhw9aw.js} +28 -28
- package/dist/chunks/{job-87yp9j1h.js → tool-output-z5893sa5.js} +42 -42
- package/dist/chunks/{job-z63w68vq.js → tool-output-z63w68vq.js} +2 -2
- package/dist/chunks/{job-bd8a2nja.js → tool-output-za5mjvka.js} +9 -9
- package/dist/chunks/{job-zeh9ct20.js → tool-output-zeh9ct20.js} +2 -2
- package/dist/chunks/{job-zvwr6qen.js → tool-output-zgcqd1q7.js} +3 -3
- package/dist/chunks/{job-m8nr5f6y.js → tool-output-znaqgwg4.js} +4 -4
- package/dist/chunks/{job-zr2ceqn5.js → tool-output-zr2ceqn5.js} +1 -1
- package/dist/chunks/{job-zxq2ej10.js → tool-output-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +99 -99
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- 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 +363 -363
- 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 +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +101 -101
- package/dist/file-mutation.js +91 -91
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +80 -80
- package/dist/generate.js +92 -92
- package/dist/git.js +4 -4
- 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 +3 -3
- 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 +354 -354
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- 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 +127 -127
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +351 -351
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +88 -88
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +6 -6
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +99 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -116
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +119 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +112 -112
- 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 +6 -6
- 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 +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +77 -77
- package/dist/provider.js +5 -5
- 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 +92 -92
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +85 -85
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- 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 +94 -94
- 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 +7 -7
- package/dist/session/move.js +128 -128
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +102 -102
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- 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 +171 -171
- package/dist/session/shell.js +133 -133
- package/dist/session/skill.js +100 -100
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +109 -109
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +86 -86
- 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 +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- 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 +8 -8
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/job-996s3c2g.js +0 -26
- package/dist/chunks/job-by5v678g.js +0 -18
- package/dist/chunks/job-c288r3sy.js +0 -247
- /package/dist/chunks/{job-0mesazry.js → tool-output-0mesazry.js} +0 -0
- /package/dist/chunks/{job-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → tool-output-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → tool-output-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3w5fmr99.js → tool-output-3w5fmr99.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-922hggd3.js → tool-output-922hggd3.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → tool-output-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hjbc5kem.js → tool-output-hjbc5kem.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{job-hrnqkpcd.js → tool-output-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-paphc93g.js → tool-output-paphc93g.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-sk3qaz4a.js → tool-output-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-twg0f83k.js → tool-output-twg0f83k.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → tool-output-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-output-xg954myy.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID13
|
|
8
|
+
} from "./tool-output-qmdnxg00.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-znaqgwg4.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event18
|
|
15
|
+
} from "./tool-output-0rx68sr6.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID11,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-z3dhw9aw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service66
|
|
22
|
+
} from "./tool-output-sjdbjet5.js";
|
|
23
23
|
import {
|
|
24
24
|
get3
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./tool-output-5q8917fr.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-output-rngvahqc.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID11.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,7 +155,7 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
158
|
+
const catalog = yield* Service66;
|
|
159
159
|
const bus = yield* Service79;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
@@ -170,8 +170,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID15.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID15.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
176
|
try: () => get3(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID15.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID13.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID13.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID13.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID15.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID15.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID15.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID15.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID15.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID15.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service72,
|
|
6
|
+
node76
|
|
7
|
+
} from "./tool-output-fjqhqcz7.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-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: () => Service14,
|
|
17
|
+
node: () => node17,
|
|
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 Service14 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(Service14, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service72;
|
|
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(Service20, 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 Service14.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node17 = makeLocationNode({ service: Service14, layer, deps: [node76] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service14, readText2, syncTextBom2, node17, exports_file_mutation };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-5rj7e89z.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service74,
|
|
9
|
+
node79
|
|
10
|
+
} from "./tool-output-xcgcvrcw.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service59,
|
|
13
|
+
node63
|
|
14
|
+
} from "./tool-output-qpde438z.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service15,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node18,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service15 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service74;
|
|
61
|
+
const permission = yield* Service59;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service15.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node18 = makeLocationNode({ service: Service15, layer, deps: [FSUtil.node, node79, node63] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service15, resolvePath2, node18, exports_file_access };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-xcgcvrcw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service63,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node67
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service63 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service63, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node67 = LayerNode.unbound(Service63, Node.tags.values.global);
|
|
27
27
|
function canonical3(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
@@ -31,4 +31,4 @@ function canonical3(ref) {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service63, node67, canonical3, exports_location_service_map };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-9xd5w3qq.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service79,
|
|
8
8
|
node84
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-znaqgwg4.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-e5nv3ght.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./tool-output-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./tool-output-dj2t23y0.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-output-5c4hm403.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./tool-output-c9ycaxtf.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./tool-output-wcge806m.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./tool-output-ex94xgb3.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./tool-output-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node26
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -458,6 +458,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
458
458
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
459
459
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
460
460
|
}));
|
|
461
|
-
var
|
|
461
|
+
var node26 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
|
|
462
462
|
|
|
463
|
-
export { SessionAlreadyProjected2,
|
|
463
|
+
export { SessionAlreadyProjected2, node26, exports_projector };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
Info30
|
|
5
|
+
} from "./tool-output-xg954myy.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Info27
|
|
8
|
+
} from "./tool-output-qmdnxg00.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-znaqgwg4.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-kg06axw8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
17
|
+
ID11,
|
|
18
|
+
Service67,
|
|
19
|
+
node71
|
|
20
|
+
} from "./tool-output-z3dhw9aw.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/catalog.ts
|
|
26
26
|
var exports_catalog2 = {};
|
|
27
27
|
__export(exports_catalog2, {
|
|
28
28
|
Catalog: () => exports_catalog2,
|
|
29
|
-
Event: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
29
|
+
Event: () => Event16,
|
|
30
|
+
Service: () => Service66,
|
|
31
|
+
node: () => node70
|
|
32
32
|
});
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
34
34
|
import { Array, Context, Effect, Layer, Order, pipe } from "effect";
|
|
35
35
|
import { Catalog } from "@opencode/schema/catalog";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event16 } from "@opencode/schema/catalog";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service66 extends Context.Service()("@opencode/Catalog") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
40
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
41
41
|
const bus = yield* Service79;
|
|
42
|
-
const integrations = yield*
|
|
42
|
+
const integrations = yield* Service67;
|
|
43
43
|
const available = (provider, integration) => {
|
|
44
44
|
if (provider.activation === "disabled")
|
|
45
45
|
return false;
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
73
73
|
let current = editor.providers.get(providerID);
|
|
74
74
|
if (!current) {
|
|
75
75
|
current = {
|
|
76
|
-
provider:
|
|
76
|
+
provider: Info30.empty(providerID),
|
|
77
77
|
models: new Map
|
|
78
78
|
};
|
|
79
79
|
editor.providers.set(providerID, current);
|
|
@@ -91,12 +91,12 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
91
91
|
let record = editor.providers.get(providerID);
|
|
92
92
|
if (!record) {
|
|
93
93
|
record = {
|
|
94
|
-
provider:
|
|
94
|
+
provider: Info30.empty(providerID),
|
|
95
95
|
models: new Map
|
|
96
96
|
};
|
|
97
97
|
editor.providers.set(providerID, record);
|
|
98
98
|
}
|
|
99
|
-
const model = record.models.get(modelID) ??
|
|
99
|
+
const model = record.models.get(modelID) ?? Info27.default(providerID, modelID);
|
|
100
100
|
if (!record.models.has(modelID))
|
|
101
101
|
record.models.set(modelID, model);
|
|
102
102
|
fn(model);
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
130
130
|
}),
|
|
131
131
|
available: Effect.fn("Catalog.provider.available")(function* () {
|
|
132
132
|
const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
|
|
133
|
-
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ??
|
|
133
|
+
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID11.make(provider.id))));
|
|
134
134
|
})
|
|
135
135
|
},
|
|
136
136
|
model: {
|
|
@@ -185,9 +185,9 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
185
185
|
})
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
|
-
return
|
|
188
|
+
return Service66.of(result);
|
|
189
189
|
}));
|
|
190
190
|
var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
|
|
191
|
-
var
|
|
191
|
+
var node70 = makeLocationNode({ service: Service66, layer, deps: [node84, node71] });
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Service66, node70, exports_catalog2, Event16 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-output-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service72,
|
|
8
|
+
node76
|
|
9
|
+
} from "./tool-output-fjqhqcz7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./tool-output-vxtx4rpx.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service4,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node6,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service4 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service72;
|
|
331
|
+
return Service4.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node6 = makeLocationNode({ service: Service4, layer, deps: [node76] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service4, read2, node6, exports_read_filesystem };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-9w4ppqge.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info12
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info12 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info12, exports_attachment };
|