@opencode/core 0.0.0-dev-19550 → 0.0.0-dev-19551
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{config-923n2b6b.js → job-0036mwva.js} +24 -24
- package/dist/chunks/{config-xeyscpm9.js → job-02anka69.js} +47 -47
- package/dist/chunks/{config-dkp48p5n.js → job-040sr1v8.js} +36 -36
- package/dist/chunks/{config-yf3n5xzz.js → job-046vx306.js} +21 -21
- package/dist/chunks/{config-va88dqc9.js → job-09q46x4q.js} +23 -23
- package/dist/chunks/job-0mesazry.js +4 -0
- package/dist/chunks/{config-qf2gftrk.js → job-0n47kyc1.js} +26 -26
- package/dist/chunks/{config-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-0q0f95c6.js → job-0q0f95c6.js} +1 -1
- package/dist/chunks/{config-hnr5yq9h.js → job-0r7yqxbf.js} +5 -5
- package/dist/chunks/{config-x569bdqa.js → job-0zaj8p07.js} +1 -1
- package/dist/chunks/{config-7yybbj7q.js → job-13tj92kw.js} +13 -13
- package/dist/chunks/{config-041mb03m.js → job-162hh63g.js} +12 -12
- package/dist/chunks/{config-f2n192rq.js → job-1acjjqhc.js} +4 -4
- package/dist/chunks/{config-94d3g4tf.js → job-1bxmrcht.js} +20 -20
- package/dist/chunks/{config-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-gk6dqv91.js → job-1g1pvfjw.js} +15 -15
- package/dist/chunks/{config-3wvjcseh.js → job-1jjxd0pe.js} +21 -21
- package/dist/chunks/{config-fa79drrr.js → job-1p75fq4j.js} +7 -7
- package/dist/chunks/{config-t4d4mx00.js → job-1pzzsmr7.js} +43 -43
- package/dist/chunks/{config-39ez6tgd.js → job-1snp8xcw.js} +5 -5
- package/dist/chunks/{config-4029myyt.js → job-1vk0sv93.js} +8 -8
- package/dist/chunks/{config-r239f513.js → job-20942t1p.js} +16 -16
- package/dist/chunks/{config-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{config-6h73sxmp.js → job-2402vzrj.js} +5 -5
- package/dist/chunks/{config-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-khrtsksm.js → job-2h45tmmq.js} +37 -37
- package/dist/chunks/{config-dv1qgsyq.js → job-2hyh68ab.js} +8 -8
- package/dist/chunks/{config-7dqw4kz8.js → job-2k8khapm.js} +5 -5
- package/dist/chunks/{config-25mg6vnq.js → job-2mf2hkhk.js} +18 -18
- package/dist/chunks/{config-vkt5fbj2.js → job-2wts5qzq.js} +8 -8
- package/dist/chunks/{config-vjnb44yt.js → job-377tdzm5.js} +3 -3
- package/dist/chunks/{config-pcsvspjz.js → job-3bhvf9qn.js} +49 -49
- package/dist/chunks/{config-zmwjgf79.js → job-3c39skxm.js} +28 -28
- package/dist/chunks/{config-stpksnm9.js → job-3e04gqtn.js} +20 -20
- package/dist/chunks/{config-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-2f0bjgcj.js → job-3w0fmcng.js} +5 -5
- package/dist/chunks/{config-71t4wm4a.js → job-3xfd07gr.js} +13 -13
- package/dist/chunks/{config-t6w5qgqz.js → job-434sg2zj.js} +11 -11
- package/dist/chunks/{config-nhy5jxhy.js → job-47gsdddb.js} +5 -5
- package/dist/chunks/{config-88sbjtg5.js → job-49n6hv06.js} +27 -27
- package/dist/chunks/{config-26nxqbrn.js → job-49ss6e4c.js} +28 -28
- package/dist/chunks/{config-kw0pvf61.js → job-4gcegvgz.js} +16 -16
- package/dist/chunks/{config-6v56qcx3.js → job-4kba6g5j.js} +8 -8
- package/dist/chunks/{config-n71vtan2.js → job-4pahwyh5.js} +8 -8
- package/dist/chunks/{config-1c0cpxrz.js → job-4shqk8q0.js} +27 -27
- package/dist/chunks/{config-nqzv378d.js → job-53d4v5pk.js} +1 -1
- package/dist/chunks/{config-jxvv7ppt.js → job-540t25p5.js} +27 -27
- package/dist/chunks/{config-dj00cq6z.js → job-55h6dw60.js} +2 -2
- package/dist/chunks/{config-7ccwepmq.js → job-5795tykb.js} +14 -14
- package/dist/chunks/{config-paegk39x.js → job-5c0f1prt.js} +4 -4
- package/dist/chunks/{config-vrpz8t5t.js → job-5d17xbav.js} +5 -5
- package/dist/chunks/{config-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{config-4zrkrsxx.js → job-5qqy1nt8.js} +43 -43
- package/dist/chunks/{config-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{config-453mx89x.js → job-683mqfgy.js} +4 -4
- package/dist/chunks/{config-r33ff4dw.js → job-6anwy9fs.js} +6 -6
- package/dist/chunks/{config-qy8emagx.js → job-6bhd17d3.js} +8 -8
- package/dist/chunks/{config-vazae2rc.js → job-6bynjfm5.js} +28 -28
- package/dist/chunks/{config-6msgmcgs.js → job-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-2qt7tyn2.js → job-6rp1snrh.js} +32 -32
- package/dist/chunks/{config-teyr1f08.js → job-6tvgw4xf.js} +11 -11
- package/dist/chunks/{config-fajjya06.js → job-6zcsajt2.js} +11 -11
- package/dist/chunks/{config-71q4at8m.js → job-71q4at8m.js} +1 -1
- package/dist/chunks/{config-1t6z3xj3.js → job-72732vcx.js} +7 -7
- package/dist/chunks/{config-62b17yyg.js → job-74xcjtak.js} +15 -15
- package/dist/chunks/{config-cswr4h4e.js → job-761nt7jg.js} +11 -11
- package/dist/chunks/{config-5x64ew67.js → job-770k1kpm.js} +20 -20
- package/dist/chunks/{config-k2per3w9.js → job-7860v717.js} +14 -14
- package/dist/chunks/{config-2a7hagjp.js → job-79wzcjsa.js} +6 -6
- package/dist/chunks/{config-wz3x725h.js → job-7bc4b9nb.js} +23 -23
- package/dist/chunks/{config-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-qv7g26jh.js → job-7k0f2h2g.js} +8 -8
- package/dist/chunks/{config-bn5g03n7.js → job-7rrbf1mq.js} +27 -27
- package/dist/chunks/{config-81swgkk7.js → job-81swgkk7.js} +2 -2
- package/dist/chunks/{config-dxwgt29k.js → job-849d02ds.js} +10 -10
- package/dist/chunks/{config-4vqpbft0.js → job-86cy3sa1.js} +32 -32
- package/dist/chunks/{config-hzeaq1fa.js → job-87yp9j1h.js} +50 -50
- package/dist/chunks/{config-tcezcvh9.js → job-89znhe33.js} +4 -4
- package/dist/chunks/{config-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-mc3tw875.js → job-8eejj7b1.js} +22 -22
- package/dist/chunks/{config-tspb6gwg.js → job-8h4jg5g2.js} +31 -31
- package/dist/chunks/{config-8p4f9s12.js → job-8p4f9s12.js} +2 -2
- package/dist/chunks/{config-rffmagh4.js → job-8v2a1ecx.js} +17 -17
- package/dist/chunks/{config-neezmqqh.js → job-8xma7teh.js} +9 -9
- package/dist/chunks/{config-h921jg7p.js → job-9545wyxc.js} +37 -37
- package/dist/chunks/{config-nn0nken7.js → job-961p48t0.js} +24 -24
- package/dist/chunks/{config-jh5bdp6a.js → job-96aw7zzq.js} +9 -9
- package/dist/chunks/{config-589kjr7t.js → job-990ev2kv.js} +1 -1
- package/dist/chunks/job-996s3c2g.js +26 -0
- package/dist/chunks/{config-ghescktn.js → job-9j6tq23v.js} +10 -10
- package/dist/chunks/{config-tf0cdcd5.js → job-9k2bb2dw.js} +18 -18
- package/dist/chunks/{config-mm2k2cqg.js → job-9r8t9cb1.js} +15 -15
- package/dist/chunks/{config-a1bz86dw.js → job-a1bz86dw.js} +3 -3
- package/dist/chunks/{config-t3k96hw7.js → job-a498j8pk.js} +18 -18
- package/dist/chunks/{config-a9wv187r.js → job-a5cemxe6.js} +4 -4
- package/dist/chunks/{config-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{config-wgdp7z4g.js → job-amkb68hs.js} +11 -11
- package/dist/chunks/{config-4w62fhaa.js → job-as0vwgb4.js} +29 -29
- package/dist/chunks/{config-zq81vz9n.js → job-ay95kvxt.js} +12 -12
- package/dist/chunks/{config-bt4gjbah.js → job-b61bh2bz.js} +26 -26
- package/dist/chunks/{config-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-dspwd2x0.js → job-b9kqzsfe.js} +11 -11
- package/dist/chunks/{config-jnn9r5kk.js → job-bd8a2nja.js} +9 -9
- package/dist/chunks/{config-1f8k45ek.js → job-bwgxh8q4.js} +11 -11
- package/dist/chunks/{config-7xr5mnyx.js → job-bxcxg0ff.js} +20 -20
- package/dist/chunks/job-by5v678g.js +18 -0
- package/dist/chunks/{config-17hmve47.js → job-c078e160.js} +35 -35
- package/dist/chunks/job-c288r3sy.js +247 -0
- package/dist/chunks/{config-cfpkc3c9.js → job-cfpkc3c9.js} +2 -2
- package/dist/chunks/{config-vvcg53v8.js → job-cq3qtjfd.js} +9 -9
- package/dist/chunks/{config-vaqqakax.js → job-cqa5kst6.js} +16 -16
- package/dist/chunks/{config-mw00tj0y.js → job-cyhtgvq1.js} +2 -2
- package/dist/chunks/{config-tdgd79rq.js → job-d16qd7aj.js} +2 -2
- package/dist/chunks/{config-npr3zfhm.js → job-dc65mbsf.js} +6 -6
- package/dist/chunks/{config-1wz5dzjv.js → job-dde0f2ek.js} +22 -22
- package/dist/chunks/{config-eveyavgq.js → job-djmry748.js} +9 -9
- package/dist/chunks/{config-sdc78qer.js → job-dkbfs573.js} +4 -4
- package/dist/chunks/{config-krg3nn78.js → job-dwze3g71.js} +4 -4
- package/dist/chunks/{config-0gb6kb4k.js → job-dy4w61gz.js} +1 -1
- package/dist/chunks/{config-bndc73cn.js → job-e5nv3ght.js} +5 -5
- package/dist/chunks/{config-wm7nt7d4.js → job-e6rh6vb2.js} +25 -25
- package/dist/chunks/{config-mgcx2e31.js → job-e83k19hz.js} +22 -22
- package/dist/chunks/{config-14mbsfh7.js → job-ea4v06n9.js} +19 -19
- package/dist/chunks/{config-pe83jqzf.js → job-eg2tb1rm.js} +11 -11
- package/dist/chunks/{config-p69rgjvz.js → job-em1e23aa.js} +6 -6
- package/dist/chunks/{config-xafwvqr4.js → job-enrw8q47.js} +50 -50
- package/dist/chunks/{config-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-dnp868cw.js → job-ex020hh2.js} +3 -3
- package/dist/chunks/{config-04sta6yv.js → job-f40wq5r9.js} +32 -32
- package/dist/chunks/{config-2bj24c8c.js → job-f58cjftf.js} +4 -4
- package/dist/chunks/{config-awb4aq70.js → job-f6cbndw9.js} +40 -40
- package/dist/chunks/{config-f828m53h.js → job-f828m53h.js} +2 -2
- package/dist/chunks/{config-f98ge00r.js → job-f91bnzqh.js} +306 -306
- package/dist/chunks/{config-wzt5yrke.js → job-fbp0wg4j.js} +28 -28
- package/dist/chunks/{config-t3yzn2f5.js → job-ff1mwr3r.js} +7 -7
- package/dist/chunks/{config-txe9dcj1.js → job-fj98gr1b.js} +16 -16
- package/dist/chunks/{config-hrvd6t1f.js → job-fjmrr6sh.js} +9 -9
- package/dist/chunks/{config-1sac38c5.js → job-fr0dkbfb.js} +33 -33
- package/dist/chunks/{config-fxbjtjnd.js → job-fxbjtjnd.js} +1 -1
- package/dist/chunks/{config-0zwqsx91.js → job-g0kzx32f.js} +11 -11
- package/dist/chunks/{config-3jhdkvje.js → job-g1bd2qay.js} +13 -13
- package/dist/chunks/{config-y7wj70kq.js → job-g2k5npgp.js} +18 -18
- package/dist/chunks/{config-3tpxjcg5.js → job-g3w19j9b.js} +26 -26
- package/dist/chunks/{config-eaj1djv9.js → job-gbt6w4kb.js} +4 -4
- package/dist/chunks/{config-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-h7ygw6q4.js → job-gsx0ryk4.js} +9 -9
- package/dist/chunks/{config-th5km1p3.js → job-gv6a8nnw.js} +5 -5
- package/dist/chunks/{config-m27np7t3.js → job-gxzw0yva.js} +8 -8
- package/dist/chunks/{config-drpyq9gm.js → job-gyp628tp.js} +4 -4
- package/dist/chunks/{config-h03wrkyp.js → job-h03wrkyp.js} +2 -2
- package/dist/chunks/{config-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-5bgpbyy9.js → job-h78dech7.js} +24 -24
- package/dist/chunks/{config-xwj464x0.js → job-hc5y4k7z.js} +13 -13
- package/dist/chunks/{config-1qhxs0kr.js → job-hcx3ekmh.js} +32 -32
- package/dist/chunks/{config-254pmcny.js → job-hq6yngkb.js} +18 -18
- package/dist/chunks/{config-k7nyb6ww.js → job-hrrqwge8.js} +23 -23
- package/dist/chunks/{config-c24fcgxs.js → job-hs2c6j2p.js} +22 -22
- package/dist/chunks/{config-4mtmdvvs.js → job-htveh2m9.js} +1 -1
- package/dist/chunks/{config-qqpx5r57.js → job-j28afpr7.js} +29 -29
- package/dist/chunks/{config-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{config-en10yhxf.js → job-j6d40d3s.js} +22 -22
- package/dist/chunks/{config-1en1cjsj.js → job-jgy1930r.js} +28 -28
- package/dist/chunks/{config-nyvd8nyf.js → job-jm0ah2qn.js} +5 -5
- package/dist/chunks/{config-8hmgw1ak.js → job-jw80jp6b.js} +4 -4
- package/dist/chunks/{config-k9zwtbn5.js → job-jz76mmy6.js} +32 -32
- package/dist/chunks/{config-nt7bfjdq.js → job-k5x6q6e2.js} +45 -45
- package/dist/chunks/{config-gst7axd9.js → job-k76fn4kw.js} +4 -4
- package/dist/chunks/{config-xzpmzq69.js → job-k7azvhe8.js} +5 -5
- package/dist/chunks/{config-tfaj8ne6.js → job-kd6p45pd.js} +17 -17
- package/dist/chunks/{config-kg06axw8.js → job-kg06axw8.js} +1 -1
- package/dist/chunks/{config-a9ee0v7t.js → job-kwb80b5k.js} +8 -8
- package/dist/chunks/{config-v4aepbmd.js → job-m3178fa3.js} +29 -29
- package/dist/chunks/{config-sdtrspaj.js → job-m375e3r0.js} +18 -18
- package/dist/chunks/{config-0f4qaedh.js → job-m8nr5f6y.js} +12 -12
- package/dist/chunks/{config-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-b843s508.js → job-ma17zqqm.js} +12 -12
- package/dist/chunks/{config-mw72j0a8.js → job-md067ysg.js} +5 -5
- package/dist/chunks/{config-1ygqh575.js → job-mfqp6xfm.js} +6 -6
- package/dist/chunks/{config-eq1pz5kg.js → job-mhkvc446.js} +3 -3
- package/dist/chunks/{config-v3x2jaaw.js → job-mhmpcj6a.js} +11 -11
- package/dist/chunks/{config-p158fnhc.js → job-mth96381.js} +1 -1
- package/dist/chunks/{config-ratrq7cm.js → job-mtq6xxnx.js} +7 -7
- package/dist/chunks/{config-6b5yt40m.js → job-n0mgm2jp.js} +32 -32
- package/dist/chunks/{config-dvjqevxn.js → job-nc9sr3t2.js} +92 -92
- package/dist/chunks/{config-p8gy2scj.js → job-nz512v62.js} +27 -27
- package/dist/chunks/{config-b2dzfg51.js → job-p1tyjad7.js} +5 -5
- package/dist/chunks/{config-6z70kctk.js → job-p2s8dcm5.js} +87 -87
- package/dist/chunks/{config-9w2ffxfz.js → job-p7dary61.js} +10 -10
- package/dist/chunks/{config-8ysfvp9f.js → job-pc81x2yk.js} +29 -29
- package/dist/chunks/{config-tstmjat0.js → job-pd0nkce9.js} +20 -20
- package/dist/chunks/{config-7gvwkz6m.js → job-pecb0brz.js} +5 -5
- package/dist/chunks/{config-xfnvpyjq.js → job-pfkq79gw.js} +6 -6
- package/dist/chunks/{config-eefhzbjy.js → job-pjnxqhmn.js} +6 -6
- package/dist/chunks/{config-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-akyqsbh0.js → job-pkkwwmgt.js} +7 -7
- package/dist/chunks/{config-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{config-bf0ztrs3.js → job-pmr4s4kc.js} +4 -4
- package/dist/chunks/{config-eraanh1f.js → job-prbnmmzj.js} +4 -4
- package/dist/chunks/{config-b3w4j039.js → job-pt3prsgd.js} +15 -15
- package/dist/chunks/{config-5jhpxb8j.js → job-ptekn55j.js} +32 -32
- package/dist/chunks/{config-mgzb81zw.js → job-pvdgc92g.js} +37 -37
- package/dist/chunks/{config-4ynbxhwa.js → job-q1wsye3c.js} +2 -2
- package/dist/chunks/{config-x0e6qwje.js → job-q4z3ph6w.js} +18 -18
- package/dist/chunks/{config-7w3s9kd0.js → job-q5nw5m1n.js} +6 -6
- package/dist/chunks/{config-d126q4px.js → job-qb7t6fbv.js} +16 -16
- package/dist/chunks/{config-zstx59h3.js → job-qmr3zwbm.js} +6 -6
- package/dist/chunks/{config-834zj1q7.js → job-qmta8n45.js} +17 -17
- package/dist/chunks/{config-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{config-0fcjdm2s.js → job-qwb4tcmb.js} +14 -14
- package/dist/chunks/{config-r9mregkx.js → job-r9mregkx.js} +2 -2
- package/dist/chunks/{config-cwbbq2p8.js → job-ra13h09g.js} +3 -3
- package/dist/chunks/{config-ka2k270b.js → job-ra3qct3x.js} +8 -8
- package/dist/chunks/{config-0sd1vqbs.js → job-rasx6tva.js} +8 -8
- package/dist/chunks/{config-9n26bwhx.js → job-rbwx5wra.js} +9 -9
- package/dist/chunks/{config-9h617dca.js → job-rdg9nk1c.js} +16 -16
- package/dist/chunks/{config-jxxb4xmb.js → job-sbzyr5f9.js} +22 -22
- package/dist/chunks/{config-8s8mxddj.js → job-sej7e0cf.js} +4 -4
- package/dist/chunks/{config-wpb26k94.js → job-sfqjz287.js} +9 -9
- package/dist/chunks/{config-ghk9cxjs.js → job-shrpy2d8.js} +6 -6
- package/dist/chunks/{config-w3x9v1nk.js → job-sp5zyyma.js} +8 -8
- package/dist/chunks/{config-jn05vxxt.js → job-sqx8bqj2.js} +9 -9
- package/dist/chunks/{config-rs74bqqx.js → job-stj1dfn7.js} +9 -9
- package/dist/chunks/{config-dfggy6a4.js → job-stq9rvc7.js} +24 -24
- package/dist/chunks/{config-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{config-ghvnbqbv.js → job-tvbbv51m.js} +22 -22
- package/dist/chunks/{config-tvtrv512.js → job-tvtrv512.js} +1 -1
- package/dist/chunks/{config-w9z6mc3f.js → job-v005aask.js} +8 -8
- package/dist/chunks/{config-4zja7gva.js → job-v0fed9v0.js} +18 -18
- package/dist/chunks/{config-3ktx1vke.js → job-v8300td6.js} +23 -23
- package/dist/chunks/{config-jg5pnb06.js → job-v9dgs7p6.js} +9 -9
- package/dist/chunks/{config-7rdpnw90.js → job-vb7wzncz.js} +13 -13
- package/dist/chunks/{config-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{config-bvpfq294.js → job-vgf6h5m8.js} +15 -15
- package/dist/chunks/{config-bbrfjnak.js → job-vj4x80bm.js} +56 -56
- package/dist/chunks/{config-dzwmfy5m.js → job-vsjvgq0n.js} +8 -8
- package/dist/chunks/{config-022zszfk.js → job-vyy6cxw9.js} +4 -4
- package/dist/chunks/{config-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-czsydm57.js → job-w4dt659t.js} +1 -1
- package/dist/chunks/{config-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{config-6rjjktna.js → job-wmsf7wrg.js} +164 -164
- package/dist/chunks/{config-r3q6pmcz.js → job-wpm2rk0p.js} +6 -6
- package/dist/chunks/{config-fqw2r1v4.js → job-wzd6kzb5.js} +27 -27
- package/dist/chunks/{config-q7gnwvzw.js → job-x0fyt95n.js} +6 -6
- package/dist/chunks/{config-aezks1k8.js → job-x0wtcrp9.js} +57 -57
- package/dist/chunks/{config-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-dcfqbqkk.js → job-x3was1q3.js} +46 -46
- package/dist/chunks/{config-58za8be0.js → job-x7kgajv3.js} +6 -6
- package/dist/chunks/{config-rgy4hz2s.js → job-xcyg6eyf.js} +11 -11
- package/dist/chunks/{config-0996nyz8.js → job-xhmq8qgk.js} +9 -9
- package/dist/chunks/{config-4kx83z13.js → job-xq70ntam.js} +3 -3
- package/dist/chunks/{config-4yh8hrgk.js → job-xqem8ntn.js} +14 -14
- package/dist/chunks/{config-2058e169.js → job-xwdfg3dx.js} +5 -5
- package/dist/chunks/{config-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-jhb3cebt.js → job-y1z6f5gr.js} +15 -15
- package/dist/chunks/{config-f25f9w7r.js → job-y2wp1mss.js} +38 -38
- package/dist/chunks/{config-y71avatq.js → job-y71avatq.js} +1 -1
- package/dist/chunks/{config-vqnb0j7t.js → job-ydmzrr85.js} +11 -11
- package/dist/chunks/{config-n9tyhvn8.js → job-yfxaeg17.js} +66 -66
- package/dist/chunks/{config-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-yrznvahk.js → job-yrznvahk.js} +2 -2
- package/dist/chunks/{config-qpdvcw0k.js → job-yvpsnz4b.js} +17 -17
- package/dist/chunks/{config-n9jvack9.js → job-z08tnfjf.js} +29 -29
- package/dist/chunks/{config-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-9sgpzjef.js → job-z5tggqpm.js} +3 -3
- package/dist/chunks/{config-z63w68vq.js → job-z63w68vq.js} +2 -2
- package/dist/chunks/{config-dsqps89d.js → job-z8pb3dnf.js} +5 -5
- package/dist/chunks/{config-zeh9ct20.js → job-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-h9g4qz6w.js → job-zkg44738.js} +11 -11
- package/dist/chunks/{config-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-893awk63.js → job-zsb89rxf.js} +4 -4
- package/dist/chunks/{config-fe8jr5wt.js → job-zsnf93b8.js} +15 -15
- package/dist/chunks/{config-b5k1zrww.js → job-zvwr6qen.js} +3 -3
- package/dist/chunks/{config-5m4y1r5y.js → job-zwbyg0c0.js} +24 -24
- package/dist/chunks/{config-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +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 +119 -119
- 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 +82 -82
- 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 +73 -73
- 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 +6 -6
- 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 +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +92 -92
- package/dist/git.js +8 -8
- 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 +82 -82
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +3 -3
- 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 +135 -135
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +351 -351
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +88 -88
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- 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 +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- 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 +117 -117
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- 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 +135 -135
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +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 +222 -222
- 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 +89 -89
- 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 +4 -4
- 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 +126 -126
- 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 +3 -3
- 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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- 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 +218 -218
- 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 +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- 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 +117 -117
- 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 +106 -106
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +111 -111
- 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 +5 -5
- 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 +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/config-0kwcw7fy.js +0 -4
- package/dist/chunks/config-2swt1sbx.js +0 -26
- package/dist/chunks/config-afzktpnh.js +0 -247
- package/dist/chunks/config-q509s3k3.js +0 -18
- /package/dist/chunks/{config-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → job-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{config-hrnqkpcd.js → job-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-paphc93g.js → job-paphc93g.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-twg0f83k.js → job-twg0f83k.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID12,
|
|
3
|
+
Service64
|
|
4
|
+
} from "./job-stq9rvc7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service76
|
|
7
|
+
} from "./job-xqem8ntn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service46
|
|
10
|
+
} from "./job-3bhvf9qn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service43,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-v0fed9v0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service24
|
|
17
|
+
} from "./job-nc9sr3t2.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make10
|
|
20
|
+
} from "./job-amkb68hs.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin15
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin15 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service46;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin30 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service76;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service43;
|
|
60
|
+
const sessions = yield* Service24;
|
|
61
|
+
const agents = yield* Service64;
|
|
62
|
+
const subagents = yield* make10;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin30 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID12.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin15, exports_command };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./job-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-ex020hh2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./job-shrpy2d8.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-by5v678g.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-5c0f1prt.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-v005aask.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-0036mwva.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service26
|
|
21
|
+
} from "./job-p2s8dcm5.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./job-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate2 = {};
|
|
28
|
+
__export(exports_generate2, {
|
|
29
|
+
SessionGenerate: () => exports_generate2,
|
|
30
30
|
generate: () => generate3
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service54;
|
|
36
36
|
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service26;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate3,
|
|
74
|
+
export { generate3, exports_generate2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service7,
|
|
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 Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service7, 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(Service11, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service7.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node10 = makeLocationNode({ service: Service7, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service7, node10, exports_location_watcher_policy };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service76
|
|
8
|
+
} from "./job-xqem8ntn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service74
|
|
11
|
+
} from "./job-h78dech7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./job-y1z6f5gr.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service20,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-vb7wzncz.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service60
|
|
22
|
+
} from "./job-x0wtcrp9.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service22,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-2mf2hkhk.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./job-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./job-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input3,
|
|
39
39
|
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin35,
|
|
42
|
+
name: () => name3,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name3 = "patch";
|
|
89
|
+
var Input3 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -100,25 +100,25 @@ var Output2 = Schema.Struct({
|
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent3 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin35 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service74;
|
|
112
|
+
const access = yield* Service22;
|
|
113
|
+
const fileMutation = yield* Service20;
|
|
114
|
+
const formatter = yield* Service13;
|
|
115
|
+
const location = yield* Service76;
|
|
116
|
+
const permission = yield* Service60;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
121
|
+
input: Input3,
|
|
122
122
|
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
@@ -266,7 +266,7 @@ var Plugin17 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent3(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name3, Input3, Applied2, Output2, toModelContent3, Plugin35, exports_patch };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/git.ts
|
|
18
18
|
var exports_git3 = {};
|
|
@@ -20,11 +20,11 @@ __export(exports_git3, {
|
|
|
20
20
|
Git: () => exports_git3,
|
|
21
21
|
OperationError: () => OperationError3,
|
|
22
22
|
Repository: () => Repository2,
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service78,
|
|
24
24
|
TreeID: () => TreeID2,
|
|
25
25
|
Worktree: () => Worktree2,
|
|
26
26
|
WorktreeError: () => WorktreeError2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node83
|
|
28
28
|
});
|
|
29
29
|
import path from "path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -90,9 +90,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service78 extends Context.Service()("@opencode/Git") {
|
|
94
94
|
}
|
|
95
|
-
var layer = Layer.effect(
|
|
95
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
96
96
|
const fs = yield* FSUtil.Service;
|
|
97
97
|
const proc = yield* AppProcess.Service;
|
|
98
98
|
const locks = makeUnsafe2();
|
|
@@ -416,7 +416,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
416
416
|
kind: index === 0 ? "main" : "linked"
|
|
417
417
|
}));
|
|
418
418
|
});
|
|
419
|
-
return
|
|
419
|
+
return Service78.of({
|
|
420
420
|
repo: { discover, clone, create },
|
|
421
421
|
remote: { get: remote },
|
|
422
422
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -432,7 +432,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
432
432
|
}
|
|
433
433
|
});
|
|
434
434
|
}));
|
|
435
|
-
var
|
|
435
|
+
var node83 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
436
436
|
function run(cwd, proc, args) {
|
|
437
437
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
438
438
|
}
|
|
@@ -460,4 +460,4 @@ function resolvePath(cwd, value) {
|
|
|
460
460
|
return path.resolve(cwd, normalized);
|
|
461
461
|
}
|
|
462
462
|
|
|
463
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
463
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node83, exports_git3 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./job-3bhvf9qn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service36
|
|
6
|
+
} from "./job-enrw8q47.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin6,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin6 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service46;
|
|
28
|
+
const mcp = yield* Service36;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin6, register2, exports_mcp };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./job-m8nr5f6y.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service76,
|
|
12
|
+
node81
|
|
13
|
+
} from "./job-xqem8ntn.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service18,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node22
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service18 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
42
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service79;
|
|
44
|
+
const location = yield* Service76;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service76, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service18.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node22 = makeLocationNode({ service: Service18, layer, deps: [node84, node81] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service18, node22, exports_rpc, define2 };
|