@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,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78,
|
|
6
6
|
node83
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-g0kzx32f.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service64,
|
|
16
|
+
node68
|
|
17
|
+
} from "./tool-output-56n9fxap.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service36,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node40,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service36 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service78;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service64;
|
|
110
|
+
return Service36.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node40 = makeGlobalNode({
|
|
171
|
+
service: Service36,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node83, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node68]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service36, isError2, validateBranch2, node40, exports_repository_cache };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./tool-output-xcgcvrcw.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service17,
|
|
11
|
+
node20
|
|
12
|
+
} from "./tool-output-tqv7368x.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
19
19
|
__export(exports_filesystem, {
|
|
20
|
-
Content: () =>
|
|
20
|
+
Content: () => Content2,
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
|
-
Entry: () =>
|
|
24
|
-
Event: () =>
|
|
23
|
+
Entry: () => Entry2,
|
|
24
|
+
Event: () => Event2,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
28
28
|
GrepInput: () => GrepInput2,
|
|
29
|
-
ListInput: () =>
|
|
29
|
+
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
|
-
NotFoundError: () =>
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
ReadInput: () => ReadInput2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service16,
|
|
34
34
|
Submatch: () => Submatch2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node19
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import path from "path";
|
|
39
39
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
40
40
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
41
41
|
import { Entry, FileSystem, FindInput as FindInput2 } from "@opencode/schema/filesystem";
|
|
42
|
-
import { Entry as
|
|
42
|
+
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
43
43
|
var ReadInput2 = Schema.Struct({
|
|
44
44
|
path: RelativePath2
|
|
45
45
|
});
|
|
46
46
|
|
|
47
|
-
class
|
|
47
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
48
48
|
path: RelativePath2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Content2 = Schema.Struct({
|
|
52
52
|
uri: Schema.String,
|
|
53
53
|
name: Schema.String.pipe(Schema.optional),
|
|
54
54
|
content: Schema.String,
|
|
55
55
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
56
56
|
mime: Schema.String
|
|
57
57
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
58
|
-
var
|
|
58
|
+
var ListInput2 = Schema.Struct({
|
|
59
59
|
path: Schema.String.pipe(Schema.optional)
|
|
60
60
|
});
|
|
61
61
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -78,14 +78,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
78
78
|
limit: Schema.optionalKey(PositiveInt2)
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
|
-
var
|
|
81
|
+
var Event2 = FileSystem.Event;
|
|
82
82
|
|
|
83
|
-
class
|
|
83
|
+
class Service16 extends Context.Service()("@opencode/FileSystem") {
|
|
84
84
|
}
|
|
85
|
-
var baseLayer = Layer.effect(
|
|
85
|
+
var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
86
86
|
const fs = yield* FSUtil.Service;
|
|
87
|
-
const location = yield*
|
|
88
|
-
const search = yield*
|
|
87
|
+
const location = yield* Service74;
|
|
88
|
+
const search = yield* Service17;
|
|
89
89
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
90
90
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
91
91
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -96,15 +96,15 @@ var baseLayer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
96
96
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
97
97
|
return { absolute, real, directory: location.directory };
|
|
98
98
|
});
|
|
99
|
-
return
|
|
99
|
+
return Service16.of({
|
|
100
100
|
find: search.find,
|
|
101
101
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
102
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
103
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
102
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
103
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
104
104
|
if (info.type !== "File")
|
|
105
105
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
106
106
|
return {
|
|
107
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
107
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
|
|
108
108
|
mime: FSUtil.mimeType(target.real)
|
|
109
109
|
};
|
|
110
110
|
}),
|
|
@@ -128,10 +128,10 @@ var baseLayer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
128
128
|
})
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
131
|
+
var node19 = makeLocationNode({
|
|
132
|
+
service: Service16,
|
|
133
133
|
layer: baseLayer,
|
|
134
|
-
deps: [FSUtil.node,
|
|
134
|
+
deps: [FSUtil.node, node79, node20]
|
|
135
135
|
});
|
|
136
136
|
|
|
137
|
-
export { FindInput2, ReadInput2,
|
|
137
|
+
export { FindInput2, ReadInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service16, node19, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-xg954myy.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/aisdk-native.ts
|
|
10
10
|
var exports_aisdk_native = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-znaqgwg4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service41,
|
|
6
|
+
Event10
|
|
7
|
+
} from "./tool-output-gsezjzb9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin14,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin14 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service79;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service41;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin2 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin14, exports_plugin };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info6,
|
|
6
|
+
ID4,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-rkd9zq17.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service39
|
|
11
|
+
} from "./tool-output-gkg6avwa.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill2 = {};
|
|
18
18
|
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin17,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
@@ -219,7 +219,7 @@ HTTP method and path or an OpenAPI operation ID.
|
|
|
219
219
|
Call an endpoint with an HTTP method and path:
|
|
220
220
|
|
|
221
221
|
\`\`\`sh
|
|
222
|
-
opencode api get /api/
|
|
222
|
+
opencode api get /api/status
|
|
223
223
|
\`\`\`
|
|
224
224
|
|
|
225
225
|
Pass a request body with \`--data\` or \`-d\`, and additional headers with
|
|
@@ -270,7 +270,7 @@ OpenCode runs a client and a background server. Start by determining whether a
|
|
|
270
270
|
problem belongs to the client, the shared server, or one project.
|
|
271
271
|
|
|
272
272
|
- Check the service with \`opencode service status\` and verify the API with
|
|
273
|
-
\`opencode api get /api/
|
|
273
|
+
\`opencode api get /api/status\`.
|
|
274
274
|
- Compare with \`opencode --standalone\`, which runs the TUI with a private
|
|
275
275
|
server, to isolate shared-service issues.
|
|
276
276
|
- Inspect \`~/.local/share/opencode/log/opencode.log\`. Filter \`role=cli\` for
|
|
@@ -421,20 +421,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
421
421
|
var ReportContent2 = report_default;
|
|
422
422
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
423
423
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
424
|
-
var
|
|
424
|
+
var Plugin17 = define({
|
|
425
425
|
id: "opencode.skill",
|
|
426
426
|
effect: Effect.fn(function* (ctx) {
|
|
427
427
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
428
428
|
yield* ctx.skill.transform((editor) => {
|
|
429
|
-
editor.add(
|
|
430
|
-
id:
|
|
429
|
+
editor.add(Info6.make({
|
|
430
|
+
id: ID4.make("opencode"),
|
|
431
431
|
name: Name2.make("OpenCode"),
|
|
432
432
|
description: OpencodeDescription2,
|
|
433
433
|
location: AbsolutePath2.make("/builtin/opencode.md"),
|
|
434
434
|
content: OpencodeContent2
|
|
435
435
|
}));
|
|
436
|
-
editor.add(
|
|
437
|
-
id:
|
|
436
|
+
editor.add(Info6.make({
|
|
437
|
+
id: ID4.make("report"),
|
|
438
438
|
name: Name2.make("Report"),
|
|
439
439
|
description: REPORT_DESCRIPTION,
|
|
440
440
|
slash: true,
|
|
@@ -463,7 +463,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
463
463
|
`);
|
|
464
464
|
});
|
|
465
465
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
466
|
-
const config = yield*
|
|
466
|
+
const config = yield* Service39;
|
|
467
467
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
468
468
|
});
|
|
469
469
|
function terminal() {
|
|
@@ -477,4 +477,4 @@ function shell() {
|
|
|
477
477
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
480
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin17, exports_skill2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service39
|
|
3
|
+
} from "./tool-output-gkg6avwa.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./tool-output-mjydk635.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin35
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin35 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service39;
|
|
26
|
+
const image = yield* Service52;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin4 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin35, exports_image };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-rhjbct0v.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-5c4hm403.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-rngvahqc.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-znaqgwg4.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./tool-output-0rx68sr6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID11,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-z3dhw9aw.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID15,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-xg954myy.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID11.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID11.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID15.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -222,9 +222,9 @@ var OpenAIPlugin2 = define({
|
|
|
222
222
|
evt.baseURL = codexBaseURL;
|
|
223
223
|
evt.headers.originator = "opencode";
|
|
224
224
|
evt.headers["session-id"] = evt.sessionID;
|
|
225
|
-
}), { providerID:
|
|
225
|
+
}), { providerID: ID15.openai });
|
|
226
226
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
227
|
-
yield* bus.subscribe(
|
|
227
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
})
|
|
229
229
|
});
|
|
230
230
|
function headers(contentType, app) {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-mf9m2v67.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-97fmyryk.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-output-wcge806m.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./tool-output-06dxphr1.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|