@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,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service79,
|
|
4
|
+
node84
|
|
5
|
+
} from "./job-m8nr5f6y.js";
|
|
6
6
|
import {
|
|
7
7
|
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make19,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-gbt6w4kb.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-kg06axw8.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./job-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event8,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
29
|
+
Options: () => Options5,
|
|
30
|
+
Service: () => Service40,
|
|
31
|
+
configured: () => configured5,
|
|
32
32
|
layer: () => layer16,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node44
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key4.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event8 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options5 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service40 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var layer16 = (options) => Layer.effect(
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service79;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,9 +72,9 @@ var layer16 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make19({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer16 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service40.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer16 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured5(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
109
|
+
service: Service40,
|
|
110
110
|
layer: layer16(options),
|
|
111
|
-
deps: [
|
|
111
|
+
deps: [node84]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node44 = configured5();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event8, Options5, Service40, layer16, configured5, node44, exports_instruction_discovery };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make19,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make19(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make19, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service8,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service8.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node11 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service8, node11, exports_discovery };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/directory.ts
|
|
9
9
|
var exports_directory = {};
|
|
10
10
|
__export(exports_directory, {
|
|
11
11
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
12
12
|
WorktreeDirectory: () => exports_directory,
|
|
13
|
-
canonical: () =>
|
|
13
|
+
canonical: () => canonical2
|
|
14
14
|
});
|
|
15
15
|
import { Effect, Schema } from "effect";
|
|
16
16
|
class DirectoryUnavailableError2 extends Schema.TaggedError()("Worktree.DirectoryUnavailableError", { directory: AbsolutePath2 }) {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var canonical2 = Effect.fnUntraced(function* (fs, input) {
|
|
19
19
|
const resolved = AbsolutePath2.make(yield* fs.resolve(input));
|
|
20
20
|
if (!(yield* fs.isDir(resolved)))
|
|
21
21
|
return yield* new DirectoryUnavailableError2({ directory: input });
|
|
22
22
|
return resolved;
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
-
export { DirectoryUnavailableError2,
|
|
25
|
+
export { DirectoryUnavailableError2, canonical2, exports_directory };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./job-dde0f2ek.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make8
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make8 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service47;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make8, LoadError2, exports_module };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-rasx6tva.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-sqx8bqj2.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service76,
|
|
18
|
+
node81
|
|
19
|
+
} from "./job-xqem8ntn.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service75,
|
|
22
|
+
node79
|
|
23
|
+
} from "./job-b61bh2bz.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service74,
|
|
33
|
+
node: () => node78
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service74,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node78,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service74 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service76;
|
|
66
|
+
const workspace = yield* Service75;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service74.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node78 = makeLocationNode({
|
|
71
|
+
service: Service74,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node81, node79]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service74, node78, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service79,
|
|
4
|
+
node84
|
|
5
|
+
} from "./job-m8nr5f6y.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service10,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer7,
|
|
17
|
+
node: () => node13
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service10 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service79;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service10.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node13 = makeGlobalNode({ service: Service10, layer: layer7, deps: [node84] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service10, layer7, node13, exports_sdk };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./job-m8nr5f6y.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service36,
|
|
7
|
+
node40
|
|
8
|
+
} from "./job-enrw8q47.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service60,
|
|
11
|
+
node64
|
|
12
|
+
} from "./job-x0wtcrp9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service41,
|
|
15
|
+
node45
|
|
16
|
+
} from "./job-e6rh6vb2.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service35,
|
|
26
|
+
layer: () => layer14,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node39
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service35 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer14 = Layer.effect(Service35, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service36;
|
|
42
|
+
const tools = yield* Service41;
|
|
43
|
+
const bus = yield* Service79;
|
|
44
|
+
const permission = yield* Service60;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -62,7 +62,7 @@ var layer12 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
62
62
|
output: tool.outputSchema ?? {},
|
|
63
63
|
execute: (input, context) => Effect.gen(function* () {
|
|
64
64
|
yield* permission.assert({
|
|
65
|
-
action:
|
|
65
|
+
action: name14(tool.server, tool.name),
|
|
66
66
|
resources: ["*"],
|
|
67
67
|
save: ["*"],
|
|
68
68
|
metadata: {},
|
|
@@ -111,7 +111,7 @@ var layer12 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
111
111
|
output: output(),
|
|
112
112
|
...content.length === 0 ? {} : { content }
|
|
113
113
|
};
|
|
114
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
114
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
});
|
|
@@ -124,12 +124,12 @@ var layer12 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service35.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
|
-
var
|
|
130
|
-
service:
|
|
131
|
-
layer:
|
|
132
|
-
deps: [
|
|
129
|
+
var node39 = makeLocationNode({
|
|
130
|
+
service: Service35,
|
|
131
|
+
layer: layer14,
|
|
132
|
+
deps: [node45, node40, node84, node64]
|
|
133
133
|
});
|
|
134
134
|
|
|
135
|
-
export { namespace2,
|
|
135
|
+
export { namespace2, name14, Service35, layer14, node39, exports_mcp3 };
|