@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
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service60,
|
|
8
|
+
node63
|
|
9
|
+
} from "./location-service-map-9cgxzq7f.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service18,
|
|
24
|
+
node: () => node21
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service18 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ 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(Service18, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service60;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service18.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 node21 = makeLocationNode({ service: Service18, layer, deps: [node63, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error2, InvalidPatternError2,
|
|
180
|
+
export { Error2, InvalidPatternError2, Service18, node21, exports_ripgrep };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node83
|
|
10
|
+
} from "./location-service-map-bfzg93v9.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service74,
|
|
13
|
+
node78
|
|
14
|
+
} from "./location-service-map-c2wmt4cg.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error4,
|
|
26
|
+
ID: () => ID15,
|
|
27
|
+
Service: () => Service71,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node74,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID15 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service71 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service79;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service74;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID15.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service71.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node74 = makeLocationNode({
|
|
144
|
+
service: Service71,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node83, Global.node, node78]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service71, Service71.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service33, Service33.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error4({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID15, Error4, Service71, node74, noopLayer3, exports_snapshot2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-dz7374aj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
ID8
|
|
7
|
+
} from "./location-service-map-m0e5qf6k.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/openrouter.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
evt.provider.update(item.provider.id, (provider) => {
|
|
22
22
|
provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
|
|
23
23
|
});
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID8.make("gpt-5-chat-latest"), ID8.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!item.models.has(modelID))
|
|
26
26
|
continue;
|
|
27
27
|
evt.model.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
node83
|
|
4
|
-
} from "./config-0f4qaedh.js";
|
|
5
|
-
import {
|
|
6
|
-
Service75,
|
|
2
|
+
Service76,
|
|
7
3
|
node80
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-rb8vb6bw.js";
|
|
5
|
+
import {
|
|
6
|
+
Service74,
|
|
7
|
+
node78
|
|
8
|
+
} from "./location-service-map-c2wmt4cg.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./location-service-map-0mesazry.js";
|
|
12
12
|
import {
|
|
13
13
|
Service62,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node65
|
|
16
|
+
} from "./location-service-map-fg9ka16a.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput2,
|
|
28
|
+
Event: () => Event4,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError3,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service19,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node22
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event4 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service19 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
62
|
-
const location = yield*
|
|
60
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service76;
|
|
62
|
+
const location = yield* Service74;
|
|
63
63
|
const shell = yield* Service62;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service19.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node22 = makeLocationNode({
|
|
274
|
+
service: Service19,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node80, node78, node65]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service19, node22, exports_pty, Event4 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service42
|
|
6
|
+
} from "./location-service-map-bam9yq1b.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make4
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make4 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service42;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make4, LoadError2, exports_module };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make21,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make21 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make21, exports_keyed_mutex };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-service-map-2rn2h9f8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./location-service-map-rb8vb6bw.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event13,
|
|
24
|
+
ID: () => ID6,
|
|
25
|
+
Info: () => Info18,
|
|
26
26
|
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service55,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node58
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID6 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event13 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info18 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID6,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service55 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service76;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info18({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service55.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info18({
|
|
80
|
+
id: ID6.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event13.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event13.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event13.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event13.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event13.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event13.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node58 = makeGlobalNode({ service: Service55, layer, deps: [node84, node80] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID6, OAuth3, Key3, Value2, Event13, Info18, Service55, node58, exports_credential };
|