@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,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info7,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-3c39skxm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service46
|
|
11
|
+
} from "./job-3bhvf9qn.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin28,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -421,20 +421,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
421
421
|
var ReportContent2 = report_default;
|
|
422
422
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
423
423
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
424
|
-
var
|
|
424
|
+
var Plugin28 = define({
|
|
425
425
|
id: "opencode.skill",
|
|
426
426
|
effect: Effect.fn(function* (ctx) {
|
|
427
427
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
428
428
|
yield* ctx.skill.transform((editor) => {
|
|
429
|
-
editor.add(
|
|
430
|
-
id:
|
|
429
|
+
editor.add(Info7.make({
|
|
430
|
+
id: ID5.make("opencode"),
|
|
431
431
|
name: Name2.make("OpenCode"),
|
|
432
432
|
description: OpencodeDescription2,
|
|
433
433
|
location: AbsolutePath2.make("/builtin/opencode.md"),
|
|
434
434
|
content: OpencodeContent2
|
|
435
435
|
}));
|
|
436
|
-
editor.add(
|
|
437
|
-
id:
|
|
436
|
+
editor.add(Info7.make({
|
|
437
|
+
id: ID5.make("report"),
|
|
438
438
|
name: Name2.make("Report"),
|
|
439
439
|
description: REPORT_DESCRIPTION,
|
|
440
440
|
slash: true,
|
|
@@ -463,7 +463,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
463
463
|
`);
|
|
464
464
|
});
|
|
465
465
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
466
|
-
const config = yield*
|
|
466
|
+
const config = yield* Service46;
|
|
467
467
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
468
468
|
});
|
|
469
469
|
function terminal() {
|
|
@@ -477,4 +477,4 @@ function shell() {
|
|
|
477
477
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
480
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin28, exports_skill2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./job-dde0f2ek.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-gbt6w4kb.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service40
|
|
13
|
+
} from "./job-g3w19j9b.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service76
|
|
16
|
+
} from "./job-xqem8ntn.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin7
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin7 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service40;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service76;
|
|
42
|
+
const watcher = yield* Service47;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin7, exports_instruction };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node78
|
|
9
|
+
} from "./job-h78dech7.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service73,
|
|
24
|
+
node: () => node77
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service73 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service74;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service73.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node77 = makeLocationNode({ service: Service73, layer, deps: [node78, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service73, node77, exports_ripgrep };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-eg2tb1rm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID13
|
|
6
|
+
} from "./job-rasx6tva.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID13.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./job-qmta8n45.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service24
|
|
6
|
+
} from "./job-nc9sr3t2.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make10
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make10 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service24;
|
|
24
|
+
const jobs = yield* Service67;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make9 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make10, exports_subagent_job };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./job-z08tnfjf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./job-x0wtcrp9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service23
|
|
14
|
+
} from "./job-49n6hv06.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input7,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin39,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name7
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name7 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input7 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin39 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service60;
|
|
53
|
+
const forms = yield* Service65;
|
|
54
|
+
const websearch = yield* Service23;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name7,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input7,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name7,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name7];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name7, NO_RESULTS2, description3, Input7, Plugin39, exports_websearch2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service49,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node54
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service49 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service49.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node54 = makeLocationNode({
|
|
143
|
+
service: Service49,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service49, node54, exports_tool_output2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-ex020hh2.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node80
|
|
12
|
+
} from "./job-wpm2rk0p.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info30,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service75,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured11,
|
|
30
|
+
node: () => node79
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID16 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info30 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID16,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info9 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID16,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service75 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service75,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node85,
|
|
64
|
+
deps: [node85, node80]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service80).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info30({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service75.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID16.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node79 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID16, Info30, NotFound3, CreateConflict2, Service75, configured11, node79, exports_workspace };
|