@opencode/core 0.0.0-dev-19550 → 0.0.0-dev-19552
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 +76 -76
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/catalog.js +84 -84
- package/dist/chunks/{config-teyr1f08.js → location-service-map-03t8xqg9.js} +11 -11
- package/dist/chunks/{config-1f8k45ek.js → location-service-map-04dw59v1.js} +11 -11
- package/dist/chunks/{config-5x64ew67.js → location-service-map-08fkss2z.js} +20 -20
- package/dist/chunks/{config-x0e6qwje.js → location-service-map-0aq61y81.js} +11 -11
- package/dist/chunks/{config-bbrfjnak.js → location-service-map-0bqdyxn3.js} +58 -58
- package/dist/chunks/{config-9n26bwhx.js → location-service-map-0ebpgxeh.js} +9 -9
- package/dist/chunks/{config-yf3n5xzz.js → location-service-map-0emhk73y.js} +22 -22
- package/dist/chunks/{config-w3x9v1nk.js → location-service-map-0h54jqbs.js} +8 -8
- package/dist/chunks/location-service-map-0mesazry.js +4 -0
- package/dist/chunks/{config-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-rgy4hz2s.js → location-service-map-0pbvnr44.js} +11 -11
- package/dist/chunks/{config-0q0f95c6.js → location-service-map-0q0f95c6.js} +1 -1
- package/dist/chunks/{config-v4aepbmd.js → location-service-map-0tgsmd7v.js} +30 -30
- package/dist/chunks/{config-vqnb0j7t.js → location-service-map-10jrjq8g.js} +11 -11
- package/dist/chunks/{config-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-qv7g26jh.js → location-service-map-1f8bms4k.js} +10 -10
- package/dist/chunks/{config-zstx59h3.js → location-service-map-1g07dsdm.js} +6 -6
- package/dist/chunks/{config-paegk39x.js → location-service-map-1hc11dc4.js} +4 -4
- package/dist/chunks/{config-21r38tys.js → location-service-map-21r38tys.js} +1 -1
- package/dist/chunks/{config-w9z6mc3f.js → location-service-map-27p1k2h6.js} +8 -8
- package/dist/chunks/{config-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-f25f9w7r.js → location-service-map-2akkhxs7.js} +38 -38
- package/dist/chunks/{config-tfaj8ne6.js → location-service-map-2ht9wr58.js} +18 -18
- package/dist/chunks/{config-dnp868cw.js → location-service-map-2rn2h9f8.js} +11 -11
- package/dist/chunks/{config-fajjya06.js → location-service-map-2x3gmgzq.js} +11 -11
- package/dist/chunks/{config-sdtrspaj.js → location-service-map-317r0s1v.js} +18 -18
- package/dist/chunks/{config-04sta6yv.js → location-service-map-3198gv8b.js} +21 -21
- package/dist/chunks/{config-2f0bjgcj.js → location-service-map-37s12vcn.js} +5 -5
- package/dist/chunks/{config-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-pe83jqzf.js → location-service-map-3hf7z3yq.js} +11 -11
- package/dist/chunks/{config-x569bdqa.js → location-service-map-3q9crshv.js} +1 -1
- package/dist/chunks/{config-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-xafwvqr4.js → location-service-map-3zqjh76q.js} +49 -49
- package/dist/chunks/{config-58za8be0.js → location-service-map-3zz4dsv8.js} +6 -6
- package/dist/chunks/{config-26nxqbrn.js → location-service-map-43wywh7z.js} +28 -28
- package/dist/chunks/{config-3wvjcseh.js → location-service-map-4czx790g.js} +22 -22
- package/dist/chunks/{config-wz3x725h.js → location-service-map-4m4tze6k.js} +27 -27
- package/dist/chunks/{config-en10yhxf.js → location-service-map-4zer0vva.js} +24 -24
- package/dist/chunks/{config-1ygqh575.js → location-service-map-56gdpj1q.js} +9 -9
- package/dist/chunks/{config-b2dzfg51.js → location-service-map-5ay59zs2.js} +10 -10
- package/dist/chunks/{config-vrpz8t5t.js → location-service-map-5d17xbav.js} +5 -5
- package/dist/chunks/{config-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/location-service-map-5j56thpe.js +462 -0
- package/dist/chunks/{config-p158fnhc.js → location-service-map-5mmafj64.js} +1 -1
- package/dist/chunks/{config-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/location-service-map-619r8v3y.js +18 -0
- package/dist/chunks/{config-17hmve47.js → location-service-map-654442pr.js} +33 -33
- package/dist/chunks/{config-669tq793.js → location-service-map-669tq793.js} +1 -1
- package/dist/chunks/{config-n71vtan2.js → location-service-map-6espw6g8.js} +18 -18
- package/dist/chunks/{config-6h73sxmp.js → location-service-map-6h73sxmp.js} +1 -1
- package/dist/chunks/{config-25mg6vnq.js → location-service-map-6kjb5nmm.js} +18 -18
- package/dist/chunks/{config-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-wgdp7z4g.js → location-service-map-6prt122c.js} +11 -11
- package/dist/chunks/{config-p69rgjvz.js → location-service-map-6s6yzpxb.js} +6 -6
- package/dist/chunks/{config-71q4at8m.js → location-service-map-71q4at8m.js} +1 -1
- package/dist/chunks/{config-zq81vz9n.js → location-service-map-78qgck3m.js} +12 -12
- package/dist/chunks/{config-1en1cjsj.js → location-service-map-7add2r42.js} +28 -28
- package/dist/chunks/{config-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-14mbsfh7.js → location-service-map-7qfhcbsz.js} +19 -19
- package/dist/chunks/{config-k2per3w9.js → location-service-map-7vxzg2vc.js} +14 -14
- package/dist/chunks/{config-eq1pz5kg.js → location-service-map-7yh4e7ss.js} +3 -3
- package/dist/chunks/{config-81swgkk7.js → location-service-map-81swgkk7.js} +2 -2
- package/dist/chunks/{config-dv1qgsyq.js → location-service-map-844ef7ks.js} +8 -8
- package/dist/chunks/{config-dxwgt29k.js → location-service-map-86ba19xk.js} +5 -5
- package/dist/chunks/{config-041mb03m.js → location-service-map-86v902bt.js} +12 -12
- package/dist/chunks/{config-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-b5k1zrww.js → location-service-map-8ga9vm0q.js} +6 -6
- package/dist/chunks/{config-8p4f9s12.js → location-service-map-8p4f9s12.js} +2 -2
- package/dist/chunks/{config-b3w4j039.js → location-service-map-8tyg6ffg.js} +15 -15
- package/dist/chunks/{config-t4d4mx00.js → location-service-map-8vabwf9j.js} +44 -44
- package/dist/chunks/{config-mw72j0a8.js → location-service-map-8x525ht7.js} +5 -5
- package/dist/chunks/{config-2bj24c8c.js → location-service-map-92azbete.js} +4 -4
- package/dist/chunks/{config-vjnb44yt.js → location-service-map-93hpb89x.js} +3 -3
- package/dist/chunks/{config-0fcjdm2s.js → location-service-map-9687ankn.js} +13 -13
- package/dist/chunks/{config-wm7nt7d4.js → location-service-map-96jnx1h8.js} +24 -24
- package/dist/chunks/{config-6z70kctk.js → location-service-map-987964v3.js} +89 -89
- package/dist/chunks/{config-dcfqbqkk.js → location-service-map-997cse46.js} +42 -42
- package/dist/chunks/{config-5bgpbyy9.js → location-service-map-9cgxzq7f.js} +24 -24
- package/dist/chunks/{config-jnn9r5kk.js → location-service-map-9dyac9w5.js} +6 -6
- package/dist/chunks/{config-y7wj70kq.js → location-service-map-9gp2hts1.js} +18 -18
- package/dist/chunks/{config-va88dqc9.js → location-service-map-9nafkwrb.js} +23 -23
- package/dist/chunks/{config-rs74bqqx.js → location-service-map-9pa73182.js} +9 -9
- package/dist/chunks/{config-xzpmzq69.js → location-service-map-9rqr5dz2.js} +5 -5
- package/dist/chunks/{config-7rdpnw90.js → location-service-map-9sbh5z1p.js} +13 -13
- package/dist/chunks/{config-qqpx5r57.js → location-service-map-9wxvjxv5.js} +27 -27
- package/dist/chunks/{config-wpb26k94.js → location-service-map-9yeeq8z5.js} +9 -9
- package/dist/chunks/{config-a1bz86dw.js → location-service-map-a1bz86dw.js} +3 -3
- package/dist/chunks/{config-xwj464x0.js → location-service-map-a3j4qjep.js} +13 -13
- package/dist/chunks/{config-vaqqakax.js → location-service-map-a5t9jfkz.js} +20 -20
- package/dist/chunks/{config-jhb3cebt.js → location-service-map-a98ysnss.js} +15 -15
- package/dist/chunks/{config-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{config-r239f513.js → location-service-map-abxpafsh.js} +16 -16
- package/dist/chunks/{config-d126q4px.js → location-service-map-aec01vg2.js} +16 -16
- package/dist/chunks/{config-drpyq9gm.js → location-service-map-axhk3gw2.js} +4 -4
- package/dist/chunks/location-service-map-b1j1vcef.js +26 -0
- package/dist/chunks/{config-c24fcgxs.js → location-service-map-b3c2pfxq.js} +23 -23
- package/dist/chunks/{config-mgzb81zw.js → location-service-map-b3p2rche.js} +32 -32
- package/dist/chunks/{config-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-1wz5dzjv.js → location-service-map-bam9yq1b.js} +22 -22
- package/dist/chunks/{config-4ynbxhwa.js → location-service-map-bbyzhkdb.js} +2 -2
- package/dist/chunks/{config-tdgd79rq.js → location-service-map-be40ghdv.js} +2 -2
- package/dist/chunks/{config-0zwqsx91.js → location-service-map-bfzg93v9.js} +11 -11
- package/dist/chunks/{config-neezmqqh.js → location-service-map-bjvqytpm.js} +9 -9
- package/dist/chunks/{config-jxvv7ppt.js → location-service-map-bkd71825.js} +27 -27
- package/dist/chunks/{config-71t4wm4a.js → location-service-map-bqf5xey6.js} +13 -13
- package/dist/chunks/{config-jh5bdp6a.js → location-service-map-c0y6yxzg.js} +9 -9
- package/dist/chunks/{config-4yh8hrgk.js → location-service-map-c2wmt4cg.js} +14 -14
- package/dist/chunks/{config-n9jvack9.js → location-service-map-c5rbgjy2.js} +24 -24
- package/dist/chunks/{config-aezks1k8.js → location-service-map-c8zs60ab.js} +44 -44
- package/dist/chunks/{config-cfpkc3c9.js → location-service-map-cfpkc3c9.js} +2 -2
- package/dist/chunks/{config-nqzv378d.js → location-service-map-cj21nk0n.js} +1 -1
- package/dist/chunks/{config-6rjjktna.js → location-service-map-cr3108w9.js} +167 -167
- package/dist/chunks/{config-dsqps89d.js → location-service-map-cst0wzct.js} +5 -5
- package/dist/chunks/{config-nyvd8nyf.js → location-service-map-cvsewcrj.js} +5 -5
- package/dist/chunks/{config-ratrq7cm.js → location-service-map-d216944b.js} +7 -7
- package/dist/chunks/{config-8s8mxddj.js → location-service-map-d8nc1xcx.js} +4 -4
- package/dist/chunks/{config-7yybbj7q.js → location-service-map-d9q2j4ef.js} +13 -13
- package/dist/chunks/{config-eraanh1f.js → location-service-map-da6kr1wx.js} +6 -6
- package/dist/chunks/{config-akyqsbh0.js → location-service-map-dafzyq9v.js} +11 -11
- package/dist/chunks/{config-7w3s9kd0.js → location-service-map-dwvzh0g2.js} +6 -6
- package/dist/chunks/{config-0sd1vqbs.js → location-service-map-dz7374aj.js} +6 -6
- package/dist/chunks/{config-bndc73cn.js → location-service-map-e5nv3ght.js} +5 -5
- package/dist/chunks/{config-9w2ffxfz.js → location-service-map-e66rv14v.js} +10 -10
- package/dist/chunks/{config-h921jg7p.js → location-service-map-e8f63d7z.js} +35 -35
- package/dist/chunks/{config-4vqpbft0.js → location-service-map-e8zqc9x3.js} +30 -30
- package/dist/chunks/{config-bt4gjbah.js → location-service-map-e9yc490d.js} +27 -27
- package/dist/chunks/location-service-map-egq9dkps.js +247 -0
- package/dist/chunks/{config-tstmjat0.js → location-service-map-enxy5whv.js} +23 -23
- package/dist/chunks/{config-p8gy2scj.js → location-service-map-era4rpc7.js} +20 -20
- package/dist/chunks/{config-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-qpdvcw0k.js → location-service-map-ew77m1g6.js} +17 -17
- package/dist/chunks/{config-b843s508.js → location-service-map-f0ah23sg.js} +23 -23
- package/dist/chunks/{config-vazae2rc.js → location-service-map-f6ppewy4.js} +27 -27
- package/dist/chunks/{config-f828m53h.js → location-service-map-f828m53h.js} +2 -2
- package/dist/chunks/{config-4zja7gva.js → location-service-map-fg9ka16a.js} +14 -14
- package/dist/chunks/{config-1c0cpxrz.js → location-service-map-ftyndhpk.js} +27 -27
- package/dist/chunks/{config-t3yzn2f5.js → location-service-map-fw2c9v4r.js} +7 -7
- package/dist/chunks/{config-fxbjtjnd.js → location-service-map-fxbjtjnd.js} +1 -1
- package/dist/chunks/{config-dzwmfy5m.js → location-service-map-g71e5xjd.js} +8 -8
- package/dist/chunks/{config-eefhzbjy.js → location-service-map-g7g2taf3.js} +3 -3
- package/dist/chunks/{config-254pmcny.js → location-service-map-g9anyfky.js} +18 -18
- package/dist/chunks/{config-eaj1djv9.js → location-service-map-gbt6w4kb.js} +4 -4
- package/dist/chunks/{config-7ccwepmq.js → location-service-map-gcyndpkk.js} +12 -12
- package/dist/chunks/{config-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-ghk9cxjs.js → location-service-map-gjmk74th.js} +6 -6
- package/dist/chunks/{config-hzeaq1fa.js → location-service-map-gsh65bkt.js} +44 -44
- package/dist/chunks/{config-bn5g03n7.js → location-service-map-gt91ywfc.js} +27 -27
- package/dist/chunks/{config-th5km1p3.js → location-service-map-gv6a8nnw.js} +5 -5
- package/dist/chunks/{config-a9wv187r.js → location-service-map-gz9sd8ds.js} +4 -4
- package/dist/chunks/{config-h03wrkyp.js → location-service-map-h03wrkyp.js} +2 -2
- package/dist/chunks/{config-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-h7ygw6q4.js → location-service-map-h7ygw6q4.js} +2 -2
- package/dist/chunks/{config-zmwjgf79.js → location-service-map-hb7jvn94.js} +26 -26
- package/dist/chunks/{config-4w62fhaa.js → location-service-map-hcgra2vb.js} +29 -29
- package/dist/chunks/{config-9h617dca.js → location-service-map-hgb4h9fq.js} +16 -16
- package/dist/chunks/{config-awb4aq70.js → location-service-map-hgdz7fj9.js} +42 -42
- package/dist/chunks/{config-nhy5jxhy.js → location-service-map-hjt4xg1x.js} +4 -4
- package/dist/chunks/{config-7gvwkz6m.js → location-service-map-hkfg6fzm.js} +5 -5
- package/dist/chunks/{config-jxxb4xmb.js → location-service-map-hsxajhbd.js} +22 -22
- package/dist/chunks/{config-tf0cdcd5.js → location-service-map-j10w18fe.js} +18 -18
- package/dist/chunks/{config-ghvnbqbv.js → location-service-map-j2ty36mn.js} +22 -22
- package/dist/chunks/{config-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{config-5jhpxb8j.js → location-service-map-j64q48wm.js} +32 -32
- package/dist/chunks/{config-t3k96hw7.js → location-service-map-j7tjkwgq.js} +14 -14
- package/dist/chunks/{config-5m4y1r5y.js → location-service-map-jjjbjh7r.js} +33 -33
- package/dist/chunks/{config-mw00tj0y.js → location-service-map-jk6ry76n.js} +4 -4
- package/dist/chunks/{config-khrtsksm.js → location-service-map-jsp84pdj.js} +35 -35
- package/dist/chunks/{config-m27np7t3.js → location-service-map-jv4nf67n.js} +8 -8
- package/dist/chunks/{config-y71avatq.js → location-service-map-jwcy2c2z.js} +4 -4
- package/dist/chunks/{config-tspb6gwg.js → location-service-map-jzfqxv0w.js} +32 -32
- package/dist/chunks/{config-n9tyhvn8.js → location-service-map-ke09fp5x.js} +70 -70
- package/dist/chunks/{config-kg06axw8.js → location-service-map-kg06axw8.js} +1 -1
- package/dist/chunks/{config-1t6z3xj3.js → location-service-map-ksptet1t.js} +7 -7
- package/dist/chunks/{config-qf2gftrk.js → location-service-map-kxgkzzte.js} +32 -32
- package/dist/chunks/{config-eveyavgq.js → location-service-map-kzcdzd76.js} +9 -9
- package/dist/chunks/{config-jn05vxxt.js → location-service-map-m0e5qf6k.js} +10 -10
- package/dist/chunks/{config-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-8hmgw1ak.js → location-service-map-magykp64.js} +4 -4
- package/dist/chunks/{config-stpksnm9.js → location-service-map-mb6b436h.js} +20 -20
- package/dist/chunks/{config-88sbjtg5.js → location-service-map-mdh9akjb.js} +28 -28
- package/dist/chunks/{config-834zj1q7.js → location-service-map-mgv4r7hs.js} +15 -15
- package/dist/chunks/{config-ka2k270b.js → location-service-map-mm9xhac3.js} +8 -8
- package/dist/chunks/{config-t6w5qgqz.js → location-service-map-mq96jf65.js} +11 -11
- package/dist/chunks/{config-4mtmdvvs.js → location-service-map-n10h5dcc.js} +1 -1
- package/dist/chunks/{config-czsydm57.js → location-service-map-nzxmnaqk.js} +1 -1
- package/dist/chunks/{config-cswr4h4e.js → location-service-map-p007xxfp.js} +11 -11
- package/dist/chunks/{config-hrvd6t1f.js → location-service-map-p1wf2k30.js} +9 -9
- package/dist/chunks/{config-39ez6tgd.js → location-service-map-p5pv5dqm.js} +10 -10
- package/dist/chunks/{config-xfnvpyjq.js → location-service-map-paedcfg6.js} +6 -6
- package/dist/chunks/{config-a9ee0v7t.js → location-service-map-pb1eahw5.js} +8 -8
- package/dist/chunks/{config-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{config-bvpfq294.js → location-service-map-pmqjxjy4.js} +15 -15
- package/dist/chunks/{config-62b17yyg.js → location-service-map-pqjwfpfc.js} +16 -16
- package/dist/chunks/{config-h9g4qz6w.js → location-service-map-pz69wcke.js} +11 -11
- package/dist/chunks/{config-bf0ztrs3.js → location-service-map-q2b1ymqp.js} +4 -4
- package/dist/chunks/{config-453mx89x.js → location-service-map-q45tp9fg.js} +4 -4
- package/dist/chunks/{config-r33ff4dw.js → location-service-map-q5t0te5a.js} +6 -6
- package/dist/chunks/{config-dkp48p5n.js → location-service-map-q6b944ev.js} +43 -43
- package/dist/chunks/{config-vvcg53v8.js → location-service-map-q8m64rd2.js} +6 -6
- package/dist/chunks/{config-7dqw4kz8.js → location-service-map-qgn6gcr1.js} +5 -5
- package/dist/chunks/{config-mc3tw875.js → location-service-map-qhqrvy71.js} +25 -25
- package/dist/chunks/{config-hnr5yq9h.js → location-service-map-qjnxxf51.js} +5 -5
- package/dist/chunks/{config-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{config-krg3nn78.js → location-service-map-qy7pps2e.js} +4 -4
- package/dist/chunks/{config-6b5yt40m.js → location-service-map-qz57tn8f.js} +36 -36
- package/dist/chunks/{config-xeyscpm9.js → location-service-map-r47pemy4.js} +47 -47
- package/dist/chunks/{config-jg5pnb06.js → location-service-map-r60jfj5j.js} +9 -9
- package/dist/chunks/{config-r9mregkx.js → location-service-map-r9mregkx.js} +2 -2
- package/dist/chunks/{config-0f4qaedh.js → location-service-map-rb8vb6bw.js} +16 -16
- package/dist/chunks/{config-q7gnwvzw.js → location-service-map-rmx7d75k.js} +6 -6
- package/dist/chunks/{config-vkt5fbj2.js → location-service-map-rtathh62.js} +5 -5
- package/dist/chunks/{config-dfggy6a4.js → location-service-map-s2bwkcja.js} +19 -19
- package/dist/chunks/{config-dvjqevxn.js → location-service-map-scyxgb5t.js} +92 -92
- package/dist/chunks/{config-dspwd2x0.js → location-service-map-se72k407.js} +11 -11
- package/dist/chunks/{config-mgcx2e31.js → location-service-map-shj1d2j6.js} +22 -22
- package/dist/chunks/{config-3ktx1vke.js → location-service-map-snhpdyga.js} +20 -20
- package/dist/chunks/{config-nt7bfjdq.js → location-service-map-ssg3q9nf.js} +46 -46
- package/dist/chunks/{config-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{config-1qhxs0kr.js → location-service-map-tjgznnzj.js} +32 -32
- package/dist/chunks/{config-k9zwtbn5.js → location-service-map-tk63fv4z.js} +33 -33
- package/dist/chunks/{config-4zrkrsxx.js → location-service-map-tv567pe4.js} +43 -43
- package/dist/chunks/{config-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
- package/dist/chunks/{config-k7nyb6ww.js → location-service-map-tzetj9gw.js} +20 -20
- package/dist/chunks/{config-ghescktn.js → location-service-map-v3920tdr.js} +11 -11
- package/dist/chunks/{config-2a7hagjp.js → location-service-map-vdyyrf70.js} +6 -6
- package/dist/chunks/{config-7xr5mnyx.js → location-service-map-ve70vzjq.js} +25 -25
- package/dist/chunks/{config-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{config-4kx83z13.js → location-service-map-vf28y74r.js} +3 -3
- package/dist/chunks/{config-rffmagh4.js → location-service-map-vfm9gp6q.js} +15 -15
- package/dist/chunks/{config-mm2k2cqg.js → location-service-map-vgs16dzz.js} +15 -15
- package/dist/chunks/{config-94d3g4tf.js → location-service-map-vswh10km.js} +20 -20
- package/dist/chunks/{config-dj00cq6z.js → location-service-map-vvgz4s0w.js} +2 -2
- package/dist/chunks/{config-022zszfk.js → location-service-map-vyy6cxw9.js} +4 -4
- package/dist/chunks/{config-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-gk6dqv91.js → location-service-map-w4w5xb5g.js} +16 -16
- package/dist/chunks/{config-2058e169.js → location-service-map-wabr7zyh.js} +5 -5
- package/dist/chunks/{config-fa79drrr.js → location-service-map-wbjms32a.js} +7 -7
- package/dist/chunks/{config-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{config-3tpxjcg5.js → location-service-map-whdpvypb.js} +28 -28
- package/dist/chunks/{config-pcsvspjz.js → location-service-map-wntp8vrc.js} +46 -46
- package/dist/chunks/{config-8ysfvp9f.js → location-service-map-wphpgvta.js} +32 -32
- package/dist/chunks/{config-kw0pvf61.js → location-service-map-wzeezdkg.js} +18 -18
- package/dist/chunks/{config-893awk63.js → location-service-map-x0f4tm25.js} +4 -4
- package/dist/chunks/{config-589kjr7t.js → location-service-map-x19khr0k.js} +1 -1
- package/dist/chunks/{config-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-nn0nken7.js → location-service-map-x41as614.js} +24 -24
- package/dist/chunks/{config-3jhdkvje.js → location-service-map-x5xt91nb.js} +13 -13
- package/dist/chunks/{config-2qt7tyn2.js → location-service-map-xc92hv3t.js} +34 -34
- package/dist/chunks/{config-fe8jr5wt.js → location-service-map-xs5622zf.js} +15 -15
- package/dist/chunks/{config-6v56qcx3.js → location-service-map-xxmcww3w.js} +8 -8
- package/dist/chunks/{config-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-4029myyt.js → location-service-map-y27d2q66.js} +17 -17
- package/dist/chunks/{config-9sgpzjef.js → location-service-map-ya7f0mnv.js} +3 -3
- package/dist/chunks/{config-qy8emagx.js → location-service-map-yg5frs05.js} +8 -8
- package/dist/chunks/{config-txe9dcj1.js → location-service-map-ygzcvm48.js} +16 -16
- package/dist/chunks/{config-1sac38c5.js → location-service-map-yhqybqhb.js} +36 -36
- package/dist/chunks/{config-wzt5yrke.js → location-service-map-ynxdgvan.js} +26 -26
- package/dist/chunks/{config-f2n192rq.js → location-service-map-yp2x3t23.js} +4 -4
- package/dist/chunks/{config-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-yrznvahk.js → location-service-map-yrznvahk.js} +2 -2
- package/dist/chunks/{config-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-fqw2r1v4.js → location-service-map-z1zkz7bk.js} +24 -24
- package/dist/chunks/{config-z63w68vq.js → location-service-map-z63w68vq.js} +2 -2
- package/dist/chunks/{config-npr3zfhm.js → location-service-map-z6yn5rdq.js} +9 -9
- package/dist/chunks/{config-sdc78qer.js → location-service-map-z76rvear.js} +4 -4
- package/dist/chunks/{config-gst7axd9.js → location-service-map-zav06jzw.js} +4 -4
- package/dist/chunks/{config-923n2b6b.js → location-service-map-zbsbj1es.js} +32 -32
- package/dist/chunks/{config-zeh9ct20.js → location-service-map-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-r3q6pmcz.js → location-service-map-zfq801h6.js} +6 -6
- package/dist/chunks/{config-cwbbq2p8.js → location-service-map-zmqdb3c2.js} +5 -5
- package/dist/chunks/{config-0gb6kb4k.js → location-service-map-zq6pbv0a.js} +1 -1
- package/dist/chunks/{config-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-0996nyz8.js → location-service-map-zt5h3yfa.js} +9 -9
- package/dist/chunks/{config-v3x2jaaw.js → location-service-map-zvtyh981.js} +11 -11
- package/dist/chunks/{config-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +79 -79
- 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 +71 -71
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +3 -3
- 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 +1 -1
- 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 +98 -98
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +94 -94
- 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 +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +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 +76 -76
- 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 +101 -101
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- 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 +102 -102
- 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 +4 -4
- package/dist/plugin/plan.js +99 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -116
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +5 -5
- 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 +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +85 -85
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- 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 +115 -115
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +128 -128
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +102 -102
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +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 +84 -84
- 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 +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +90 -90
- 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 +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- 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 +13 -13
- 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 +84 -84
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- 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-f98ge00r.js +0 -462
- package/dist/chunks/config-q509s3k3.js +0 -18
- /package/dist/chunks/{config-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → location-service-map-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{config-hrnqkpcd.js → location-service-map-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-paphc93g.js → location-service-map-paphc93g.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-twg0f83k.js → location-service-map-twg0f83k.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-8ga9vm0q.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-vf28y74r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -14,11 +14,11 @@ __export(exports_database, {
|
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
16
|
Service: () => Service80,
|
|
17
|
-
configured: () =>
|
|
17
|
+
configured: () => configured12,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
|
-
layer: () =>
|
|
19
|
+
layer: () => layer25,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node84
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -56,7 +56,7 @@ function lockFor(filename) {
|
|
|
56
56
|
locks.set(filename, lock);
|
|
57
57
|
return lock;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function layer25(options = { path: ":memory:" }) {
|
|
60
60
|
return Layer.unwrap(Effect.gen(function* () {
|
|
61
61
|
const provide = (filename) => databaseLayer(filename === ":memory:" ? Semaphore.make(1) : Effect.succeed(lockFor(filename))).pipe(Layer.provide(sqliteLayer({ filename })));
|
|
62
62
|
const filename = options.path ?? ":memory:";
|
|
@@ -67,8 +67,8 @@ function layer26(options = { path: ":memory:" }) {
|
|
|
67
67
|
}));
|
|
68
68
|
}
|
|
69
69
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
70
|
-
function
|
|
71
|
-
return makeGlobalNode({ service: Service80, layer:
|
|
70
|
+
function configured12(options) {
|
|
71
|
+
return makeGlobalNode({ service: Service80, layer: layer25(options), deps: [Global.node] });
|
|
72
72
|
}
|
|
73
73
|
function configuredClient2(client) {
|
|
74
74
|
return makeGlobalNode({
|
|
@@ -77,6 +77,6 @@ function configuredClient2(client) {
|
|
|
77
77
|
deps: [Global.node]
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var node84 = configured12({ path: ":memory:" });
|
|
81
81
|
|
|
82
|
-
export { Options11, Service80,
|
|
82
|
+
export { Options11, Service80, layer25, layerFromClient2, configured12, configuredClient2, node84, exports_database };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./location-service-map-bfzg93v9.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
canonical2
|
|
7
|
+
} from "./location-service-map-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make12
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service79;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -28,7 +28,7 @@ var make17 = Effect.gen(function* () {
|
|
|
28
28
|
if (!repository)
|
|
29
29
|
return yield* new DirectoryUnavailableError2({ directory: input.sourceDirectory });
|
|
30
30
|
yield* git.worktree.create({ repository, directory: input.directory, ref: input.branch });
|
|
31
|
-
return { directory: yield*
|
|
31
|
+
return { directory: yield* canonical2(fs, input.directory) };
|
|
32
32
|
}),
|
|
33
33
|
remove: Effect.fn("Worktree.Git.remove")(function* (input) {
|
|
34
34
|
const repository = yield* git.repo.discover(input.directory);
|
|
@@ -41,9 +41,9 @@ var make17 = Effect.gen(function* () {
|
|
|
41
41
|
if (!repository)
|
|
42
42
|
return yield* new DirectoryUnavailableError2({ directory });
|
|
43
43
|
const entries = yield* git.worktree.list(repository);
|
|
44
|
-
return yield* Effect.forEach(entries, (entry) =>
|
|
44
|
+
return yield* Effect.forEach(entries, (entry) => canonical2(fs, entry.directory).pipe(Effect.map((directory) => ({ directory, type: entry.kind === "main" ? "root" : "worktree" })), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined))).pipe(Effect.map((items) => items.filter((item) => item !== undefined)));
|
|
45
45
|
})
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make12, exports_git2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
Service70,
|
|
3
|
+
node73,
|
|
4
|
+
canonical3
|
|
5
|
+
} from "./location-service-map-e66rv14v.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service51,
|
|
8
|
+
node54
|
|
9
|
+
} from "./location-service-map-gjmk74th.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service23
|
|
12
|
+
} from "./location-service-map-9gp2hts1.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-egq9dkps.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service70, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
28
28
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
29
29
|
return Effect.void;
|
|
30
30
|
if (Exit.isSuccess(exit)) {
|
|
31
|
-
build.close = Context.get(exit.value,
|
|
31
|
+
build.close = Context.get(exit.value, Service23).close;
|
|
32
32
|
return Effect.void;
|
|
33
33
|
}
|
|
34
34
|
MutableHashMap.remove(builds, ref);
|
|
@@ -39,22 +39,22 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
39
39
|
}, { idleTimeToLive: Duration.infinity });
|
|
40
40
|
const map = {
|
|
41
41
|
...inner,
|
|
42
|
-
get: (ref) => inner.get(
|
|
43
|
-
contextEffect: (ref) => inner.contextEffect(
|
|
44
|
-
contextEffectOption: (ref) => inner.contextEffectOption(
|
|
42
|
+
get: (ref) => inner.get(canonical3(ref)),
|
|
43
|
+
contextEffect: (ref) => inner.contextEffect(canonical3(ref)),
|
|
44
|
+
contextEffectOption: (ref) => inner.contextEffectOption(canonical3(ref)),
|
|
45
45
|
invalidate: (ref) => Effect.suspend(() => {
|
|
46
|
-
const key =
|
|
46
|
+
const key = canonical3(ref);
|
|
47
47
|
const build = Option.getOrUndefined(MutableHashMap.get(builds, key));
|
|
48
48
|
MutableHashMap.remove(builds, key);
|
|
49
49
|
return inner.invalidate(key).pipe(Effect.andThen(build?.close ?? Effect.void));
|
|
50
50
|
})
|
|
51
51
|
};
|
|
52
52
|
const bindings = [
|
|
53
|
-
|
|
53
|
+
node54.replace(Layer.succeed(Service51, {
|
|
54
54
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
55
55
|
})),
|
|
56
56
|
...replacements,
|
|
57
|
-
|
|
57
|
+
node73.replace(Layer.succeed(Service70, map))
|
|
58
58
|
];
|
|
59
59
|
return map;
|
|
60
60
|
}));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node78
|
|
8
|
+
} from "./location-service-map-c2wmt4cg.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service17,
|
|
11
|
+
node20
|
|
12
|
+
} from "./location-service-map-e8zqc9x3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_filesystem, {
|
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event3,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
@@ -30,9 +30,9 @@ __export(exports_filesystem, {
|
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
NotFoundError: () => NotFoundError2,
|
|
32
32
|
ReadInput: () => ReadInput2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service16,
|
|
34
34
|
Submatch: () => Submatch2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node19
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import path from "path";
|
|
@@ -78,14 +78,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
78
78
|
limit: Schema.optionalKey(PositiveInt2)
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
|
-
var
|
|
81
|
+
var Event3 = FileSystem.Event;
|
|
82
82
|
|
|
83
|
-
class
|
|
83
|
+
class Service16 extends Context.Service()("@opencode/FileSystem") {
|
|
84
84
|
}
|
|
85
|
-
var baseLayer = Layer.effect(
|
|
85
|
+
var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
86
86
|
const fs = yield* FSUtil.Service;
|
|
87
|
-
const location = yield*
|
|
88
|
-
const search = yield*
|
|
87
|
+
const location = yield* Service74;
|
|
88
|
+
const search = yield* Service17;
|
|
89
89
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
90
90
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
91
91
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -96,7 +96,7 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
96
96
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
97
97
|
return { absolute, real, directory: location.directory };
|
|
98
98
|
});
|
|
99
|
-
return
|
|
99
|
+
return Service16.of({
|
|
100
100
|
find: search.find,
|
|
101
101
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
102
102
|
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
@@ -128,10 +128,10 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
128
128
|
})
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
131
|
+
var node19 = makeLocationNode({
|
|
132
|
+
service: Service16,
|
|
133
133
|
layer: baseLayer,
|
|
134
|
-
deps: [FSUtil.node,
|
|
134
|
+
deps: [FSUtil.node, node78, node20]
|
|
135
135
|
});
|
|
136
136
|
|
|
137
|
-
export { FindInput2, ReadInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2,
|
|
137
|
+
export { FindInput2, ReadInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service16, node19, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info10
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info10 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info10, exports_attachment };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured13,
|
|
11
|
+
layer: () => layer26,
|
|
12
|
+
make: () => make23,
|
|
13
|
+
node: () => node85,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make23()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make23(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make20(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer26 = (input) => Layer.succeed(Metadata2, make23(input));
|
|
32
|
+
var configured13 = (input) => makeGlobalNode({ service: Metadata2, layer: layer26(input), deps: [] });
|
|
33
|
+
var node85 = configured13();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make23, useragent2, layer26, configured13, node85, exports_app };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
node83
|
|
7
|
-
} from "./config-0f4qaedh.js";
|
|
8
|
-
import {
|
|
9
|
-
Event16,
|
|
10
|
-
Service66,
|
|
11
|
-
node70
|
|
12
|
-
} from "./config-tspb6gwg.js";
|
|
13
|
-
import {
|
|
14
|
-
Service75,
|
|
5
|
+
Service76,
|
|
15
6
|
node80
|
|
16
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-rb8vb6bw.js";
|
|
17
8
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
9
|
+
Event13,
|
|
10
|
+
Service55,
|
|
11
|
+
node58
|
|
12
|
+
} from "./location-service-map-jzfqxv0w.js";
|
|
21
13
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
Service74,
|
|
15
|
+
node78
|
|
16
|
+
} from "./location-service-map-c2wmt4cg.js";
|
|
17
|
+
import {
|
|
18
|
+
Service60,
|
|
24
19
|
node63
|
|
25
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9cgxzq7f.js";
|
|
21
|
+
import {
|
|
22
|
+
ID7,
|
|
23
|
+
Service56,
|
|
24
|
+
node59
|
|
25
|
+
} from "./location-service-map-c5rbgjy2.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-service-map-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID5,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service54,
|
|
34
|
+
node57
|
|
35
|
+
} from "./location-service-map-bkd71825.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
45
|
Options: () => Options5,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service38,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
65
|
configured: () => configured5,
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
66
|
+
layer: () => layer16,
|
|
67
|
+
node: () => node42
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID5.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,7 +165,7 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service38 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
170
|
var Options5 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -173,13 +173,13 @@ var Options5 = Schema.Struct({
|
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
179
|
-
const bus = yield*
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
176
|
+
var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service74;
|
|
178
|
+
const environment = yield* Service60;
|
|
179
|
+
const bus = yield* Service76;
|
|
180
|
+
const forms = yield* Service56;
|
|
181
|
+
const integration = yield* Service54;
|
|
182
|
+
const credentials = yield* Service55;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID5.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError5({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -315,7 +315,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID7.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service60, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service38.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -709,12 +709,12 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
709
709
|
}));
|
|
710
710
|
function configured5(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [
|
|
712
|
+
service: Service38,
|
|
713
|
+
layer: layer16(options),
|
|
714
|
+
deps: [node78, node63, node80, node59, node57, node58]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node42 = configured5();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service38, Options5, layer16, configured5, node42, exports_mcp4 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID10,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-hb7jvn94.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
|
|
|
57
57
|
return {
|
|
58
58
|
_tag: "Parsed",
|
|
59
59
|
skill: {
|
|
60
|
-
id:
|
|
60
|
+
id: ID10.make(id),
|
|
61
61
|
name: Name2.make(frontmatter.name ?? id),
|
|
62
62
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
63
63
|
...slash === undefined ? {} : { slash },
|