@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-9xd5w3qq.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node78
|
|
12
|
+
} from "./tool-output-bqszwq89.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID14,
|
|
25
|
+
Info: () => Info28,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service73,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
29
|
configured: () => configured11,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node77
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID14 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info28 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID14,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info30 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID14 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID14,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service73 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
61
|
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
-
service:
|
|
62
|
+
service: Service73,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node85,
|
|
64
|
+
deps: [node85, node78]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service80).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info28({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service73.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID14.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node77 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID14, Info28, NotFound3, CreateConflict2, Service73, configured11, node77, exports_workspace };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-znaqgwg4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./tool-output-xcgcvrcw.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service28
|
|
10
|
+
} from "./tool-output-nn7883ae.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command = {};
|
|
17
|
+
__export(exports_command, {
|
|
18
|
+
CommandPlugin: () => exports_command,
|
|
19
|
+
Plugin: () => Plugin25
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin25 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service74;
|
|
200
|
+
const mcp = yield* Service28;
|
|
201
201
|
const bus = yield* Service79;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin25, exports_command };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID15
|
|
3
|
+
} from "./tool-output-xg954myy.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID15.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID15.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-znaqgwg4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./tool-output-xcgcvrcw.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
Service61,
|
|
14
14
|
node65
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-xy08ds9x.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service10,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node13
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service10 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service79;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const store = yield* Service61;
|
|
41
|
-
const location = yield*
|
|
41
|
+
const location = yield* Service74;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service10.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node13 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node84, FSUtil.node,
|
|
101
|
+
deps: [node84, FSUtil.node, node79, node65]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service10, node13, exports_instructions };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-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: () =>
|
|
12
|
+
Service: () => Service8,
|
|
13
13
|
node: () => node10
|
|
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 Service8 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service8, 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(Service7, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service8.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var node10 = makeLocationNode({ service:
|
|
51
|
+
var node10 = makeLocationNode({ service: Service8, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service8, node10, exports_location_watcher_policy };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-znaqgwg4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event18,
|
|
7
|
+
Service68,
|
|
8
|
+
node72
|
|
9
|
+
} from "./tool-output-0rx68sr6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service40,
|
|
12
|
+
node44
|
|
13
|
+
} from "./tool-output-y68xz9fb.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service74,
|
|
19
|
+
node79
|
|
20
|
+
} from "./tool-output-xcgcvrcw.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-output-qy6qxnan.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-output-y2ha7ynf.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-output-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service41,
|
|
36
|
+
Event10,
|
|
37
|
+
node45
|
|
38
|
+
} from "./tool-output-gsezjzb9.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options5,
|
|
48
|
+
Service: () => Service39,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured5,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer15,
|
|
53
|
+
node: () => node43,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,14 +71,14 @@ import { Global } from "@opencode/util/global";
|
|
|
71
71
|
function latest2(entries, key) {
|
|
72
72
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
73
73
|
}
|
|
74
|
-
var
|
|
74
|
+
var Options5 = Schema.Struct({
|
|
75
75
|
project: Schema.optional(Schema.Boolean),
|
|
76
76
|
global: Schema.optional(Schema.Boolean),
|
|
77
77
|
file: Schema.optional(Schema.String),
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service39 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,7 +92,7 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service39, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
97
|
function decodePreferences(text) {
|
|
98
98
|
const errors = [];
|
|
@@ -108,14 +108,14 @@ function decodePreferences(text) {
|
|
|
108
108
|
...info?.websearch === undefined ? {} : { websearch: info.websearch }
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var layer15 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
112
112
|
const fs = yield* FSUtil.Service;
|
|
113
|
-
const location = yield*
|
|
114
|
-
const watcher = yield*
|
|
113
|
+
const location = yield* Service74;
|
|
114
|
+
const watcher = yield* Service40;
|
|
115
115
|
const bus = yield* Service79;
|
|
116
|
-
const credentials = yield*
|
|
116
|
+
const credentials = yield* Service68;
|
|
117
117
|
const globalService = yield* Global.Service;
|
|
118
|
-
const wellknown = yield*
|
|
118
|
+
const wellknown = yield* Service41;
|
|
119
119
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
120
120
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
121
121
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -184,7 +184,7 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
184
184
|
});
|
|
185
185
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
186
186
|
return [
|
|
187
|
-
...yield* Effect.forEach(
|
|
187
|
+
...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
188
188
|
new Directory({ type: "directory", path: directory })
|
|
189
189
|
];
|
|
190
190
|
});
|
|
@@ -239,8 +239,8 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
239
239
|
}, (effect) => reloadLock.withPermit(effect));
|
|
240
240
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
241
241
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
242
|
-
yield* bus.subscribe(
|
|
243
|
-
yield* bus.subscribe(
|
|
242
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
243
|
+
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
244
244
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
245
245
|
if (!wellknown.snapshot().length)
|
|
246
246
|
return Effect.void;
|
|
@@ -253,7 +253,7 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
253
253
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
254
254
|
const globalConfigPath = Effect.fn("Config.globalConfigPath")(function* () {
|
|
255
255
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
256
|
-
const candidates =
|
|
256
|
+
const candidates = names4.map((name) => path.join(directory, name));
|
|
257
257
|
const existing = yield* Effect.filter(candidates, fs.isFile);
|
|
258
258
|
return existing.at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
259
259
|
});
|
|
@@ -282,7 +282,7 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
282
282
|
yield* requestReload;
|
|
283
283
|
return decodePreferences(updated);
|
|
284
284
|
}, (effect) => updateLock.withPermit(effect));
|
|
285
|
-
return
|
|
285
|
+
return Service39.of({
|
|
286
286
|
entries: Effect.fnUntraced(function* () {
|
|
287
287
|
return configs;
|
|
288
288
|
}),
|
|
@@ -291,13 +291,13 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
291
291
|
updatePreferences
|
|
292
292
|
});
|
|
293
293
|
}));
|
|
294
|
-
function
|
|
294
|
+
function configured5(options) {
|
|
295
295
|
return makeLocationNode({
|
|
296
|
-
service:
|
|
297
|
-
layer:
|
|
298
|
-
deps: [
|
|
296
|
+
service: Service39,
|
|
297
|
+
layer: layer15(options),
|
|
298
|
+
deps: [node44, node84, FSUtil.node, Global.node, node79, node72, node45]
|
|
299
299
|
});
|
|
300
300
|
}
|
|
301
|
-
var
|
|
301
|
+
var node43 = configured5();
|
|
302
302
|
|
|
303
|
-
export { latest2,
|
|
303
|
+
export { latest2, Options5, Service39, Test2, testLayer2, layer15, configured5, node43, exports_config };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-output-znaqgwg4.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service64,
|
|
8
|
+
node68
|
|
9
|
+
} from "./tool-output-56n9fxap.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event10,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service41,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node45,
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service41 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event10 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service64;
|
|
81
81
|
const bus = yield* Service79;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event10.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service41.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event10.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event10.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node45 = makeGlobalNode({ service: Service41, layer, deps: [httpClient, node68, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service41, Event10, inspect2, resolve2, node45, exports_wellknown };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|