@opencode/core 0.0.0-dev-19469 → 0.0.0-dev-19473
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{reference-jx4nweh7.js → location-mutation-02s21fhq.js} +13 -13
- package/dist/chunks/{reference-0htbavtx.js → location-mutation-04fa0zte.js} +17 -17
- package/dist/chunks/{reference-xt2nr24r.js → location-mutation-04zt81gk.js} +8 -8
- package/dist/chunks/{reference-0mhw05h8.js → location-mutation-0kw5trp8.js} +6 -6
- package/dist/chunks/{reference-0paq2nw3.js → location-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{reference-0q0f95c6.js → location-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{reference-c0j4bwt0.js → location-mutation-0r11rtsk.js} +11 -11
- package/dist/chunks/{reference-b56hman4.js → location-mutation-12h4n3rk.js} +47 -47
- package/dist/chunks/{reference-18cztcj7.js → location-mutation-18cztcj7.js} +1 -1
- package/dist/chunks/{reference-1ah30sey.js → location-mutation-1ah30sey.js} +2 -2
- package/dist/chunks/{reference-1cbphejb.js → location-mutation-1cbphejb.js} +3 -3
- package/dist/chunks/{reference-1dazxqgg.js → location-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{reference-2rmxd9h0.js → location-mutation-1fz31grg.js} +13 -13
- package/dist/chunks/{reference-648tfcfv.js → location-mutation-1n20r6fn.js} +7 -5
- package/dist/chunks/{reference-dpa0gt8g.js → location-mutation-1q0a1vdp.js} +18 -18
- package/dist/chunks/{reference-21r38tys.js → location-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{reference-2402vzrj.js → location-mutation-2402vzrj.js} +1 -1
- package/dist/chunks/{reference-7png34pd.js → location-mutation-296ksaqc.js} +9 -9
- package/dist/chunks/{reference-z63w68vq.js → location-mutation-29x78va6.js} +6 -6
- package/dist/chunks/{reference-2a5m3afh.js → location-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{reference-2d6j2h4j.js → location-mutation-2d6j2h4j.js} +1 -1
- package/dist/chunks/{reference-y8nmaz64.js → location-mutation-2jmaghvr.js} +6 -6
- package/dist/chunks/{reference-2k8khapm.js → location-mutation-2k8khapm.js} +1 -1
- package/dist/chunks/{reference-d590qfxf.js → location-mutation-2n26ff9a.js} +8 -8
- package/dist/chunks/{reference-2336b01z.js → location-mutation-2wts5qzq.js} +8 -8
- package/dist/chunks/{reference-31dz7cp4.js → location-mutation-31dz7cp4.js} +1 -1
- package/dist/chunks/{reference-nsabaa1m.js → location-mutation-342kvb74.js} +17 -17
- package/dist/chunks/{reference-bngkd4f8.js → location-mutation-3936rd12.js} +9 -9
- package/dist/chunks/{reference-5qmb0wzx.js → location-mutation-3e7ffj60.js} +37 -37
- package/dist/chunks/{reference-3hepkmqq.js → location-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-3smtnn6g.js → location-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{reference-3tvqynh2.js → location-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{reference-16cax9zb.js → location-mutation-49w8mb30.js} +11 -11
- package/dist/chunks/{reference-za77aepr.js → location-mutation-4hzrtyw9.js} +3 -3
- package/dist/chunks/{reference-z9xr9zm9.js → location-mutation-4jmw8br6.js} +9 -9
- package/dist/chunks/{reference-4y66k410.js → location-mutation-4y66k410.js} +2 -2
- package/dist/chunks/{reference-4yg7xpeb.js → location-mutation-4yg7xpeb.js} +2 -2
- package/dist/chunks/{reference-cb7jb397.js → location-mutation-53xfefbr.js} +20 -20
- package/dist/chunks/{reference-fgtf9gwd.js → location-mutation-571yh8bb.js} +11 -11
- package/dist/chunks/{reference-3sa4r9dq.js → location-mutation-5cd9q45n.js} +17 -17
- package/dist/chunks/{reference-5daktx2q.js → location-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{reference-9ny7y94p.js → location-mutation-5dxs6qr8.js} +8 -8
- package/dist/chunks/{reference-jr6f0vph.js → location-mutation-5rd5fnze.js} +88 -88
- package/dist/chunks/{reference-5t3nmthw.js → location-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{reference-wzpdcp4j.js → location-mutation-5t8mrke1.js} +11 -11
- package/dist/chunks/{reference-05r7bmwp.js → location-mutation-5z1pcq32.js} +8 -8
- package/dist/chunks/{reference-vcgtdkxa.js → location-mutation-637tx434.js} +27 -27
- package/dist/chunks/{reference-szqgdezh.js → location-mutation-63zxe2e6.js} +26 -26
- package/dist/chunks/{reference-06dxphr1.js → location-mutation-64kphnzf.js} +4 -4
- package/dist/chunks/{reference-669tq793.js → location-mutation-669tq793.js} +1 -1
- package/dist/chunks/location-mutation-6anyb8h7.js +247 -0
- package/dist/chunks/{reference-nfxhw9qw.js → location-mutation-6fz87ewy.js} +13 -13
- package/dist/chunks/{reference-xs36768n.js → location-mutation-6hk6hw99.js} +24 -24
- package/dist/chunks/{reference-2bt6bea8.js → location-mutation-6jnybvqn.js} +9 -9
- package/dist/chunks/{reference-k5tg8ptt.js → location-mutation-6kyz0a76.js} +10 -10
- package/dist/chunks/{reference-6msgmcgs.js → location-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{reference-na7vfx71.js → location-mutation-6qff4d9y.js} +15 -15
- package/dist/chunks/{reference-xgpae3me.js → location-mutation-70nf62s1.js} +16 -16
- package/dist/chunks/{reference-71q4at8m.js → location-mutation-71q4at8m.js} +1 -1
- package/dist/chunks/{reference-p8r4fzyh.js → location-mutation-747qv6w8.js} +22 -22
- package/dist/chunks/{reference-rftpfvvg.js → location-mutation-77rvk4xz.js} +38 -38
- package/dist/chunks/{reference-844ef7ks.js → location-mutation-7b15y959.js} +8 -8
- package/dist/chunks/{reference-1xd5egdd.js → location-mutation-7b5bs947.js} +12 -12
- package/dist/chunks/{reference-7bmhse3q.js → location-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-wm1ya0ts.js → location-mutation-7bt6nz5z.js} +20 -20
- package/dist/chunks/{reference-m7c4bemr.js → location-mutation-7kemcmc0.js} +159 -159
- package/dist/chunks/{reference-fsk062cm.js → location-mutation-7thdeaez.js} +24 -24
- package/dist/chunks/{reference-y5y3sc4a.js → location-mutation-7zpxrbmk.js} +33 -33
- package/dist/chunks/{reference-80e0yyk8.js → location-mutation-80e0yyk8.js} +2 -2
- package/dist/chunks/{reference-9pv0dm11.js → location-mutation-81swgkk7.js} +9 -9
- package/dist/chunks/{reference-gtqrsy8f.js → location-mutation-83fqv4x7.js} +17 -17
- package/dist/chunks/{reference-kn35aw4y.js → location-mutation-85rbpgj8.js} +19 -13
- package/dist/chunks/{reference-q5xz05ap.js → location-mutation-85wb08hb.js} +11 -11
- package/dist/chunks/{reference-mw9a6czv.js → location-mutation-89w2cmtz.js} +4 -4
- package/dist/chunks/{reference-tcezcvh9.js → location-mutation-89znhe33.js} +4 -4
- package/dist/chunks/{reference-8d7r5vzw.js → location-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{reference-s8vrwrxy.js → location-mutation-8hgn0vw2.js} +9 -9
- package/dist/chunks/{reference-8p4f9s12.js → location-mutation-8p4f9s12.js} +2 -2
- package/dist/chunks/{reference-psm6qbq5.js → location-mutation-8ynr4gjm.js} +24 -24
- package/dist/chunks/{reference-73fcze5p.js → location-mutation-912kd3r4.js} +6 -6
- package/dist/chunks/{reference-47fbce8x.js → location-mutation-9b2f9zrq.js} +56 -56
- package/dist/chunks/{reference-x28agkan.js → location-mutation-9zmx7hkd.js} +5 -5
- package/dist/chunks/{reference-a1bz86dw.js → location-mutation-a1bz86dw.js} +3 -3
- package/dist/chunks/{reference-a4exdnt3.js → location-mutation-a4exdnt3.js} +2 -2
- package/dist/chunks/{reference-s5wgwj4n.js → location-mutation-a796k6fq.js} +37 -37
- package/dist/chunks/{reference-aaet6srn.js → location-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{reference-yg98y7q8.js → location-mutation-agmzpsk8.js} +16 -16
- package/dist/chunks/{reference-54fz3v2y.js → location-mutation-ap3k7sg2.js} +15 -15
- package/dist/chunks/{reference-ebah8r6x.js → location-mutation-asn1qnte.js} +6 -6
- package/dist/chunks/{reference-ppe0rjzw.js → location-mutation-asqcfpfy.js} +16 -16
- package/dist/chunks/{reference-t8vn9brm.js → location-mutation-az1fhpt6.js} +13 -13
- package/dist/chunks/{reference-r65k5kbp.js → location-mutation-b0zc3rxt.js} +15 -15
- package/dist/chunks/{reference-b6gygkdw.js → location-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{reference-krf6f92z.js → location-mutation-b6qrdxz2.js} +1 -1
- package/dist/chunks/{reference-wst8cwqd.js → location-mutation-b7wncpqh.js} +27 -27
- package/dist/chunks/{reference-2kr5eys4.js → location-mutation-b8ymqkg2.js} +2 -2
- package/dist/chunks/{reference-94r5a2b1.js → location-mutation-bawp00e5.js} +9 -9
- package/dist/chunks/{reference-dfe8djrf.js → location-mutation-bct739vz.js} +4 -4
- package/dist/chunks/{reference-cy1a2d0g.js → location-mutation-bh0f28bz.js} +28 -28
- package/dist/chunks/{reference-0t8dc6r8.js → location-mutation-brkb7bcy.js} +13 -13
- package/dist/chunks/{reference-pazrb1rr.js → location-mutation-btzz461g.js} +5 -5
- package/dist/chunks/{reference-ms97y41h.js → location-mutation-c156ep7e.js} +11 -11
- package/dist/chunks/{reference-17bm7pxq.js → location-mutation-c5c7sgyy.js} +14 -14
- package/dist/chunks/{reference-7vsprvj1.js → location-mutation-c8e2bgmv.js} +24 -24
- package/dist/chunks/{reference-pyg81bkg.js → location-mutation-c8sngd2z.js} +2 -2
- package/dist/chunks/{reference-fbfybm5t.js → location-mutation-ccppxhm9.js} +14 -14
- package/dist/chunks/{reference-cfpkc3c9.js → location-mutation-cfpkc3c9.js} +2 -2
- package/dist/chunks/{reference-hfdr1yjj.js → location-mutation-cq37gk0t.js} +4 -4
- package/dist/chunks/{reference-415h19gn.js → location-mutation-cqbr1vk1.js} +3 -3
- package/dist/chunks/{reference-mb0geh9n.js → location-mutation-d3m4r55y.js} +11 -11
- package/dist/chunks/{reference-12kja8s8.js → location-mutation-d71nv30s.js} +11 -11
- package/dist/chunks/{reference-xx1mwrye.js → location-mutation-d9wr29te.js} +24 -24
- package/dist/chunks/{reference-f1md5hpv.js → location-mutation-dchdcshb.js} +20 -20
- package/dist/chunks/{reference-pnk6npkv.js → location-mutation-dp6dfv2y.js} +16 -16
- package/dist/chunks/{reference-kb35dtpx.js → location-mutation-dz0bcr2c.js} +4 -4
- package/dist/chunks/{reference-t92920s6.js → location-mutation-dzn5j78v.js} +9 -9
- package/dist/chunks/{reference-35rfs3k1.js → location-mutation-e0cx5qc7.js} +11 -11
- package/dist/chunks/{reference-w3n3y9pr.js → location-mutation-e32h91zq.js} +15 -15
- package/dist/chunks/{reference-ch958ebp.js → location-mutation-e6wc2y3c.js} +43 -43
- package/dist/chunks/{reference-nhy5jxhy.js → location-mutation-e82z9tr0.js} +7 -7
- package/dist/chunks/{reference-3whwtej4.js → location-mutation-e8b04kk5.js} +4 -4
- package/dist/chunks/{reference-hkfg6fzm.js → location-mutation-ead3g9p8.js} +5 -5
- package/dist/chunks/{reference-5jtdmvnp.js → location-mutation-ep73h3z1.js} +3 -3
- package/dist/chunks/{reference-27cwmj5g.js → location-mutation-eqzc4rd8.js} +37 -37
- package/dist/chunks/{reference-etq0c3wd.js → location-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{reference-vgfzxgad.js → location-mutation-exy6h62f.js} +15 -15
- package/dist/chunks/{reference-j8pg3ej3.js → location-mutation-f2jpp81c.js} +4 -4
- package/dist/chunks/{reference-jcthwcnq.js → location-mutation-f671wqhj.js} +22 -22
- package/dist/chunks/{reference-f828m53h.js → location-mutation-f828m53h.js} +2 -2
- package/dist/chunks/{reference-f9bavhm2.js → location-mutation-f9bavhm2.js} +1 -1
- package/dist/chunks/{reference-kdgdx0pq.js → location-mutation-fcqvj3n7.js} +17 -17
- package/dist/chunks/{reference-m7fm29bt.js → location-mutation-feypdcbr.js} +7 -7
- package/dist/chunks/{reference-dydhxaw9.js → location-mutation-fkqsehyz.js} +20 -20
- package/dist/chunks/{reference-n5ep5dan.js → location-mutation-fm8wb4j7.js} +27 -27
- package/dist/chunks/{reference-gj09rpzd.js → location-mutation-fschjpvb.js} +9 -9
- package/dist/chunks/{reference-3hwn07qe.js → location-mutation-ft05p3sn.js} +11 -11
- package/dist/chunks/{reference-ww4b13kq.js → location-mutation-fw83hase.js} +18 -18
- package/dist/chunks/{reference-fxbjtjnd.js → location-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{reference-5wwh4mg2.js → location-mutation-g47jg2vw.js} +6 -6
- package/dist/chunks/{reference-96r2e1w0.js → location-mutation-g6475k52.js} +20 -20
- package/dist/chunks/{reference-gd4qta3r.js → location-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{reference-3fc6dm20.js → location-mutation-gdvy8fx6.js} +4 -4
- package/dist/chunks/{reference-1gnhaxbw.js → location-mutation-gm2zqcej.js} +3 -3
- package/dist/chunks/{reference-gm03z5wg.js → location-mutation-gq0ew8qh.js} +36 -36
- package/dist/chunks/{reference-hpjzhk5e.js → location-mutation-gsv5r6kf.js} +20 -20
- package/dist/chunks/{reference-gv6a8nnw.js → location-mutation-gv6a8nnw.js} +2 -2
- package/dist/chunks/{reference-gvphacjb.js → location-mutation-gvphacjb.js} +3 -3
- package/dist/chunks/{reference-d50f2zf5.js → location-mutation-gx1zhcta.js} +1 -1
- package/dist/chunks/{reference-h03wrkyp.js → location-mutation-h03wrkyp.js} +2 -2
- package/dist/chunks/{reference-4g33vjc1.js → location-mutation-h0h2ngkj.js} +53 -53
- package/dist/chunks/{reference-h6vf3j39.js → location-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{reference-8zy0pqav.js → location-mutation-h7dpqqdj.js} +20 -20
- package/dist/chunks/{reference-m4gc54s5.js → location-mutation-haj9q169.js} +32 -32
- package/dist/chunks/{reference-bshbjjhq.js → location-mutation-hknm424e.js} +30 -30
- package/dist/chunks/{reference-fdtzxv27.js → location-mutation-hm89ty9d.js} +8 -8
- package/dist/chunks/{reference-gn2hfjap.js → location-mutation-hqxy6dek.js} +8 -8
- package/dist/chunks/location-mutation-hxa7m5za.js +4 -0
- package/dist/chunks/{reference-sa3n58kn.js → location-mutation-j0qfb1wd.js} +8 -8
- package/dist/chunks/{reference-5gx2yyfz.js → location-mutation-j1fbmsb9.js} +18 -18
- package/dist/chunks/{reference-y4hk1f48.js → location-mutation-j1ggw692.js} +18 -18
- package/dist/chunks/{reference-j56e64zr.js → location-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{reference-phdhrp7w.js → location-mutation-j6efsrek.js} +45 -45
- package/dist/chunks/{reference-2e96adxv.js → location-mutation-j8q1z7ne.js} +9 -9
- package/dist/chunks/{reference-paphc93g.js → location-mutation-j935v87r.js} +2 -2
- package/dist/chunks/{reference-1e9w7pgh.js → location-mutation-jefma2gq.js} +10 -10
- package/dist/chunks/{reference-ryr25ayn.js → location-mutation-jfqtm2ew.js} +4 -4
- package/dist/chunks/{reference-smg7z89f.js → location-mutation-jkdy99p7.js} +82 -33
- package/dist/chunks/{reference-bc2jnt26.js → location-mutation-jmpfh3z1.js} +7 -7
- package/dist/chunks/{reference-p8q51ffm.js → location-mutation-jmz1vw1c.js} +24 -24
- package/dist/chunks/{reference-x014fvry.js → location-mutation-jnpghpvp.js} +26 -26
- package/dist/chunks/{reference-e6hmchc5.js → location-mutation-jv01nqvq.js} +5 -5
- package/dist/chunks/{reference-fp7m7k50.js → location-mutation-jvyfkbwy.js} +25 -25
- package/dist/chunks/{reference-gc6qaqmt.js → location-mutation-jx4tp4ea.js} +15 -15
- package/dist/chunks/{reference-jy16bfac.js → location-mutation-jy16bfac.js} +1 -1
- package/dist/chunks/{reference-2wyjv582.js → location-mutation-k52252t7.js} +4 -4
- package/dist/chunks/{reference-8r89cgw5.js → location-mutation-k7kh0egq.js} +24 -24
- package/dist/chunks/{reference-kg06axw8.js → location-mutation-kg06axw8.js} +1 -1
- package/dist/chunks/{reference-d6cdva8b.js → location-mutation-kgd24eq0.js} +80 -80
- package/dist/chunks/{reference-mcakkx8x.js → location-mutation-kx709rat.js} +9 -9
- package/dist/chunks/{reference-09aw4jvq.js → location-mutation-kxvrt3nb.js} +9 -9
- package/dist/chunks/{reference-78qgck3m.js → location-mutation-ky16kd9n.js} +12 -12
- package/dist/chunks/{reference-afdssyjb.js → location-mutation-m70sbz6t.js} +4 -4
- package/dist/chunks/{reference-m9w0rfyh.js → location-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-09y6afs0.js → location-mutation-man06fk9.js} +8 -8
- package/dist/chunks/{reference-5v02x80t.js → location-mutation-mb6hfgj3.js} +12 -12
- package/dist/chunks/{reference-1ygqh575.js → location-mutation-mfqp6xfm.js} +6 -6
- package/dist/chunks/{reference-0gapa1rm.js → location-mutation-mjagy123.js} +5 -5
- package/dist/chunks/{reference-mkcjrzeh.js → location-mutation-mkcjrzeh.js} +1 -1
- package/dist/chunks/{reference-qsam8w8k.js → location-mutation-mt6v2s5x.js} +19 -19
- package/dist/chunks/{reference-mhkvc446.js → location-mutation-mvfsc1pv.js} +3 -3
- package/dist/chunks/{reference-c5vgnrd2.js → location-mutation-n08mrxbn.js} +10 -10
- package/dist/chunks/{reference-dfp9n8hb.js → location-mutation-n1sh6d89.js} +14 -14
- package/dist/chunks/{reference-m188z08q.js → location-mutation-n97nf603.js} +11 -11
- package/dist/chunks/{reference-fa3vxxse.js → location-mutation-ncsxxtr1.js} +18 -18
- package/dist/chunks/{reference-2nv2m7pf.js → location-mutation-nmjqh6cp.js} +6 -6
- package/dist/chunks/{reference-nng2ktcm.js → location-mutation-nng2ktcm.js} +2 -2
- package/dist/chunks/{reference-ht96ep0w.js → location-mutation-p0vh84wg.js} +20 -20
- package/dist/chunks/{reference-2a263qgy.js → location-mutation-pb6b52mq.js} +6 -6
- package/dist/chunks/{reference-jbbzf1js.js → location-mutation-pe2r03fm.js} +5 -5
- package/dist/chunks/location-mutation-pf31ssb9.js +18 -0
- package/dist/chunks/{reference-sb5pch95.js → location-mutation-pgw3y3wg.js} +15 -15
- package/dist/chunks/{reference-3vnq2gnx.js → location-mutation-pjsmk15p.js} +15 -15
- package/dist/chunks/{reference-pjvnvgmy.js → location-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{reference-pknna89w.js → location-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{reference-n5my4zzm.js → location-mutation-pwd7dmcs.js} +41 -41
- package/dist/chunks/{reference-5d2ab029.js → location-mutation-q5q9511b.js} +9 -9
- package/dist/chunks/{reference-1r2rfnkf.js → location-mutation-qkj99dmd.js} +32 -32
- package/dist/chunks/{reference-qmr73083.js → location-mutation-qmr73083.js} +1 -1
- package/dist/chunks/{reference-qr27hz8v.js → location-mutation-qr27hz8v.js} +4 -4
- package/dist/chunks/{reference-qsdy395h.js → location-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{reference-7ec9e7fz.js → location-mutation-qskqt98q.js} +10 -10
- package/dist/chunks/{reference-2kmxw8hs.js → location-mutation-qwhswr8m.js} +43 -43
- package/dist/chunks/{reference-v8qyrbfj.js → location-mutation-r5t0jnx0.js} +10 -10
- package/dist/chunks/{reference-r9mregkx.js → location-mutation-r9mregkx.js} +2 -2
- package/dist/chunks/{reference-chnmz1hg.js → location-mutation-ra3qct3x.js} +8 -8
- package/dist/chunks/{reference-s8d7rejh.js → location-mutation-rhjbct0v.js} +4 -4
- package/dist/chunks/{reference-xj0mj0qg.js → location-mutation-s3gbpz7c.js} +18 -18
- package/dist/chunks/{reference-yrznvahk.js → location-mutation-s4enseaf.js} +2 -2
- package/dist/chunks/{reference-ad84r26q.js → location-mutation-sf7shepb.js} +25 -25
- package/dist/chunks/{reference-zebdq5r6.js → location-mutation-smrf4wxt.js} +7 -7
- package/dist/chunks/{reference-dqh78jdz.js → location-mutation-snf8m0c5.js} +25 -25
- package/dist/chunks/{reference-10jtetaj.js → location-mutation-spt9fbav.js} +6 -6
- package/dist/chunks/{reference-sv9bpgvh.js → location-mutation-sv9bpgvh.js} +1 -1
- package/dist/chunks/{reference-15vt8tk0.js → location-mutation-sz1p02ts.js} +16 -16
- package/dist/chunks/{reference-p1wf2k30.js → location-mutation-t0x5rdq8.js} +9 -9
- package/dist/chunks/{reference-e2d25rr3.js → location-mutation-t2md336t.js} +19 -17
- package/dist/chunks/{reference-g190xswt.js → location-mutation-t51qk8jz.js} +21 -21
- package/dist/chunks/{reference-ctfh8fzz.js → location-mutation-t54ryj5x.js} +26 -26
- package/dist/chunks/{reference-tazgh4e4.js → location-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{reference-jd4jebz2.js → location-mutation-tb9k42r5.js} +24 -24
- package/dist/chunks/{reference-tdstcens.js → location-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{reference-5j82523v.js → location-mutation-tfdq7ztr.js} +29 -29
- package/dist/chunks/{reference-b38z4m5h.js → location-mutation-tgamz6xd.js} +28 -28
- package/dist/chunks/{reference-3w0fmcng.js → location-mutation-tn0aqsam.js} +5 -5
- package/dist/chunks/{reference-z0dgpzg6.js → location-mutation-tsf1qnrv.js} +21 -21
- package/dist/chunks/{reference-tvtrv512.js → location-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{reference-dwqs10ka.js → location-mutation-twzh2p7z.js} +34 -34
- package/dist/chunks/{reference-f6jnqjkq.js → location-mutation-tx5ssvyf.js} +38 -38
- package/dist/chunks/{reference-0qe8g8zg.js → location-mutation-tys5kznf.js} +11 -11
- package/dist/chunks/{reference-v8ch97zc.js → location-mutation-v8ch97zc.js} +1 -1
- package/dist/chunks/{reference-qgawthcf.js → location-mutation-ve2fbp41.js} +47 -47
- package/dist/chunks/{reference-veqvce7d.js → location-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-k8wp12df.js → location-mutation-vng2d7qe.js} +11 -11
- package/dist/chunks/{reference-vzcthcp8.js → location-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{reference-v71evwnx.js → location-mutation-vzr156n0.js} +16 -16
- package/dist/chunks/location-mutation-w0hyv3ry.js +22 -0
- package/dist/chunks/{reference-w3wsvvr9.js → location-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-w5s7sg4e.js → location-mutation-w42cbfa6.js} +32 -32
- package/dist/chunks/{reference-01anbdkk.js → location-mutation-wa2y7qva.js} +22 -22
- package/dist/chunks/{reference-wd87259q.js → location-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{reference-h4bptjw1.js → location-mutation-wj6yf6jc.js} +3 -3
- package/dist/chunks/{reference-1c83pxjm.js → location-mutation-wjr16z6c.js} +8 -8
- package/dist/chunks/{reference-bg8wk28x.js → location-mutation-wncr9p85.js} +24 -24
- package/dist/chunks/{reference-4wkq7p63.js → location-mutation-wpm2rk0p.js} +8 -8
- package/dist/chunks/{reference-1ezb2zjw.js → location-mutation-wr1twpvv.js} +15 -15
- package/dist/chunks/{reference-15k12kva.js → location-mutation-x1acgrry.js} +4 -4
- package/dist/chunks/{reference-x1ezjp6w.js → location-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{reference-qdxx0g8s.js → location-mutation-x5agxrzj.js} +31 -31
- package/dist/chunks/{reference-1xcz5rcm.js → location-mutation-x5ny37kg.js} +9 -9
- package/dist/chunks/{reference-56e767g1.js → location-mutation-x6ft23h3.js} +34 -34
- package/dist/chunks/location-mutation-x8eemgzv.js +462 -0
- package/dist/chunks/{reference-a4kcyykg.js → location-mutation-xh1q604s.js} +4 -4
- package/dist/chunks/{reference-1tjg7tvh.js → location-mutation-xhmq8qgk.js} +9 -9
- package/dist/chunks/{reference-6rh2dx9z.js → location-mutation-xqbw2bk3.js} +5 -5
- package/dist/chunks/{reference-1kb45nkz.js → location-mutation-xs4at11g.js} +11 -11
- package/dist/chunks/{reference-f250hf8h.js → location-mutation-xvkxhetf.js} +14 -14
- package/dist/chunks/{reference-f0rar1s7.js → location-mutation-xzdkxzdn.js} +19 -19
- package/dist/chunks/{reference-y1fvbwt7.js → location-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{reference-y71avatq.js → location-mutation-y71avatq.js} +1 -1
- package/dist/chunks/{reference-4pq1e7ap.js → location-mutation-y7jb9f2a.js} +32 -32
- package/dist/chunks/{reference-rhraev7y.js → location-mutation-yp2x3t23.js} +4 -4
- package/dist/chunks/{reference-yrhqyw5v.js → location-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{reference-z0bkrqjs.js → location-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-k2as7s6q.js → location-mutation-z45aar89.js} +54 -54
- package/dist/chunks/{reference-ma9zq0m7.js → location-mutation-z8md75e6.js} +54 -54
- package/dist/chunks/{reference-bxya9zf1.js → location-mutation-z9s3hg1t.js} +22 -22
- package/dist/chunks/{reference-zeh9ct20.js → location-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{reference-bw03vhcb.js → location-mutation-zj09a0ew.js} +4 -4
- package/dist/chunks/{reference-rzz62h8s.js → location-mutation-zn1jgpf6.js} +6 -6
- package/dist/chunks/{reference-zr2ceqn5.js → location-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{reference-zxq2ej10.js → location-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +351 -351
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +93 -87
- package/dist/model.js +2 -2
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- 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 +6 -6
- package/dist/plugin/plan.js +98 -98
- 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/anthropic.js +4 -4
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- 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 +118 -118
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- 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 +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +71 -71
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- 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 +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +1 -1
- 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 +95 -95
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +91 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- 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 +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +146 -146
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +87 -87
- 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 +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/model-resolver.d.ts +50 -3
- package/dist/types/session/runner/model.d.ts +4 -0
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/reference-0mesazry.js +0 -4
- package/dist/chunks/reference-dxj72tfx.js +0 -18
- package/dist/chunks/reference-favptqsr.js +0 -22
- package/dist/chunks/reference-n972z8tz.js +0 -462
- package/dist/chunks/reference-zg1jk378.js +0 -247
- /package/dist/chunks/{reference-0qkdqm5v.js → location-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → location-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → location-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → location-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kg9ymc8.js → location-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → location-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2axfhc9x.js → location-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → location-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → location-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → location-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → location-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3w5fmr99.js → location-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → location-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → location-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → location-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → location-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → location-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → location-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → location-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → location-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → location-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → location-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-7w99qc9d.js → location-mutation-7w99qc9d.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → location-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → location-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → location-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-922hggd3.js → location-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → location-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → location-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → location-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → location-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → location-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → location-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → location-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → location-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → location-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → location-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → location-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → location-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → location-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → location-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → location-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → location-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → location-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → location-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → location-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → location-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → location-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → location-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → location-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → location-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → location-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → location-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fxgpk5d8.js → location-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → location-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → location-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → location-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → location-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hjbc5kem.js → location-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → location-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-hrnqkpcd.js → location-mutation-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → location-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → location-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → location-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → location-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → location-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → location-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → location-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → location-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → location-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → location-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → location-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → location-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → location-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → location-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → location-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → location-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → location-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → location-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-sk3qaz4a.js → location-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → location-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-twg0f83k.js → location-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → location-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → location-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → location-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → location-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → location-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → location-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8cydn3q.js → location-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → location-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → location-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → location-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → location-mutation-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-89w2cmtz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event18,
|
|
7
|
+
Service70,
|
|
8
|
+
node74
|
|
9
|
+
} from "./location-mutation-tgamz6xd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service61,
|
|
12
|
+
node65
|
|
13
|
+
} from "./location-mutation-8ynr4gjm.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-mutation-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node81
|
|
20
|
+
} from "./location-mutation-agmzpsk8.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-mutation-s4enseaf.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-mutation-d9wr29te.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-mutation-r5t0jnx0.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-mutation-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service62,
|
|
36
|
+
Event14,
|
|
37
|
+
node66
|
|
38
|
+
} from "./location-mutation-1q0a1vdp.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options7,
|
|
48
|
+
Service: () => Service60,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured8,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer22,
|
|
53
|
+
node: () => node64,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,14 +71,14 @@ import { Global } from "@opencode/util/global";
|
|
|
71
71
|
function latest2(entries, key) {
|
|
72
72
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
73
73
|
}
|
|
74
|
-
var
|
|
74
|
+
var Options7 = Schema.Struct({
|
|
75
75
|
project: Schema.optional(Schema.Boolean),
|
|
76
76
|
global: Schema.optional(Schema.Boolean),
|
|
77
77
|
file: Schema.optional(Schema.String),
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service60 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service60, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
|
-
var
|
|
97
|
+
var layer22 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const location = yield*
|
|
100
|
-
const watcher = yield*
|
|
99
|
+
const location = yield* Service76;
|
|
100
|
+
const watcher = yield* Service61;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
|
-
const credentials = yield*
|
|
103
|
-
const wellknown = yield*
|
|
102
|
+
const credentials = yield* Service70;
|
|
103
|
+
const wellknown = yield* Service62;
|
|
104
104
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
105
105
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
106
106
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
@@ -168,7 +168,7 @@ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
168
168
|
});
|
|
169
169
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
170
170
|
return [
|
|
171
|
-
...yield* Effect.forEach(
|
|
171
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
172
172
|
new Directory({ type: "directory", path: directory })
|
|
173
173
|
];
|
|
174
174
|
});
|
|
@@ -223,8 +223,8 @@ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
223
223
|
}, (effect) => reloadLock.withPermit(effect));
|
|
224
224
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
225
225
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
|
-
yield* bus.subscribe(
|
|
227
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
227
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
229
229
|
if (!wellknown.snapshot().length)
|
|
230
230
|
return Effect.void;
|
|
@@ -235,20 +235,20 @@ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
235
235
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
236
236
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
237
237
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
238
|
-
return
|
|
238
|
+
return Service60.of({
|
|
239
239
|
entries: Effect.fnUntraced(function* () {
|
|
240
240
|
return configs;
|
|
241
241
|
}),
|
|
242
242
|
changes: () => Stream.fromPubSub(updates)
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
function
|
|
245
|
+
function configured8(options) {
|
|
246
246
|
return makeLocationNode({
|
|
247
|
-
service:
|
|
248
|
-
layer:
|
|
249
|
-
deps: [
|
|
247
|
+
service: Service60,
|
|
248
|
+
layer: layer22(options),
|
|
249
|
+
deps: [node65, node84, FSUtil.node, Global.node, node81, node74, node66]
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var node64 = configured8();
|
|
253
253
|
|
|
254
|
-
export { latest2,
|
|
254
|
+
export { latest2, Options7, Service60, Test2, testLayer2, layer22, configured8, node64, exports_config };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-7w99qc9d.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
12
|
+
var exports_error = {};
|
|
13
|
+
__export(exports_error, {
|
|
14
14
|
AgentNotFoundError: () => AgentNotFoundError2,
|
|
15
15
|
AttachmentError: () => AttachmentError2,
|
|
16
16
|
BusyError: () => BusyError2,
|
|
@@ -19,9 +19,9 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError7,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
|
-
SessionErrors: () =>
|
|
24
|
+
SessionErrors: () => exports_error,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
26
26
|
StepFailedError: () => StepFailedError2,
|
|
27
27
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError7 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError7, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load3() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load3 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/git.ts
|
|
13
13
|
var exports_git3 = {};
|
|
@@ -15,11 +15,11 @@ __export(exports_git3, {
|
|
|
15
15
|
Git: () => exports_git3,
|
|
16
16
|
OperationError: () => OperationError3,
|
|
17
17
|
Repository: () => Repository2,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service78,
|
|
19
19
|
TreeID: () => TreeID2,
|
|
20
20
|
Worktree: () => Worktree2,
|
|
21
21
|
WorktreeError: () => WorktreeError2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node83
|
|
23
23
|
});
|
|
24
24
|
import path from "path";
|
|
25
25
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
class
|
|
88
|
+
class Service78 extends Context.Service()("@opencode/Git") {
|
|
89
89
|
}
|
|
90
|
-
var layer = Layer.effect(
|
|
90
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
91
91
|
const fs = yield* FSUtil.Service;
|
|
92
92
|
const proc = yield* AppProcess.Service;
|
|
93
93
|
const locks = makeUnsafe2();
|
|
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
409
409
|
kind: index === 0 ? "main" : "linked"
|
|
410
410
|
}));
|
|
411
411
|
});
|
|
412
|
-
return
|
|
412
|
+
return Service78.of({
|
|
413
413
|
repo: { discover, clone, create },
|
|
414
414
|
remote: { get: remote },
|
|
415
415
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
}));
|
|
428
|
-
var
|
|
428
|
+
var node83 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
429
429
|
function run(cwd, proc, args) {
|
|
430
430
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
431
431
|
}
|
|
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
|
|
|
450
450
|
return path.resolve(cwd, normalized);
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
453
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node83, exports_git3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info19
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info19 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info11 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info19, exports_command5 };
|
|
@@ -5,50 +5,53 @@ import {
|
|
|
5
5
|
loadPackage2,
|
|
6
6
|
mergeOverlay2,
|
|
7
7
|
mergeHeaders2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-mutation-2d6j2h4j.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service45,
|
|
11
|
+
node49
|
|
12
|
+
} from "./location-mutation-296ksaqc.js";
|
|
13
13
|
import {
|
|
14
14
|
map2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-mutation-4yg7xpeb.js";
|
|
16
16
|
import {
|
|
17
17
|
ID14,
|
|
18
18
|
VariantID2,
|
|
19
19
|
Ref3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-mutation-80e0yyk8.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID11,
|
|
23
|
+
Service68,
|
|
24
|
+
node72
|
|
25
|
+
} from "./location-mutation-k7kh0egq.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service67,
|
|
28
|
+
node71
|
|
29
|
+
} from "./location-mutation-h7dpqqdj.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/model-resolver.ts
|
|
35
35
|
var exports_model_resolver = {};
|
|
36
36
|
__export(exports_model_resolver, {
|
|
37
|
+
InitializationPhase: () => InitializationPhase2,
|
|
38
|
+
ModelConfigurationError: () => ModelConfigurationError3,
|
|
39
|
+
ModelInitializationError: () => ModelInitializationError3,
|
|
37
40
|
ModelResolver: () => exports_model_resolver,
|
|
38
|
-
Service: () =>
|
|
41
|
+
Service: () => Service41,
|
|
39
42
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
40
43
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
41
44
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
42
45
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
43
46
|
fromCatalogModel: () => fromCatalogModel2,
|
|
44
47
|
hasPackage: () => hasPackage2,
|
|
45
|
-
layer: () =>
|
|
46
|
-
node: () =>
|
|
48
|
+
layer: () => layer18,
|
|
49
|
+
node: () => node44,
|
|
47
50
|
resolveModel: () => resolveModel2,
|
|
48
51
|
withVariant: () => withVariant2
|
|
49
52
|
});
|
|
50
53
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
|
-
import { LanguageModel } from "@opencode/ai";
|
|
54
|
+
import { LanguageModel, ProviderConfigurationError } from "@opencode/ai";
|
|
52
55
|
import { Auth } from "@opencode/ai/route";
|
|
53
56
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
54
57
|
import { Npm } from "@opencode/util/npm";
|
|
@@ -71,6 +74,30 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
71
74
|
return `Unsupported package for ${this.providerID}/${this.modelID}: ${this.package}`;
|
|
72
75
|
}
|
|
73
76
|
}
|
|
77
|
+
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
78
|
+
|
|
79
|
+
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
80
|
+
providerID: ID15,
|
|
81
|
+
modelID: ID14,
|
|
82
|
+
package: Schema.String,
|
|
83
|
+
detail: Schema.String
|
|
84
|
+
}) {
|
|
85
|
+
get message() {
|
|
86
|
+
return `Cannot initialize ${this.providerID}/${this.modelID}: ${this.detail}`;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
91
|
+
providerID: ID15,
|
|
92
|
+
modelID: ID14,
|
|
93
|
+
package: Schema.String,
|
|
94
|
+
phase: InitializationPhase2,
|
|
95
|
+
detail: Schema.String
|
|
96
|
+
}) {
|
|
97
|
+
get message() {
|
|
98
|
+
return `Cannot initialize ${this.providerID}/${this.modelID}: ${this.detail}`;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
74
101
|
|
|
75
102
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
76
103
|
providerID: ID15,
|
|
@@ -92,7 +119,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
92
119
|
}
|
|
93
120
|
}
|
|
94
121
|
|
|
95
|
-
class
|
|
122
|
+
class Service41 extends Context.Service()("@opencode/ModelResolver") {
|
|
96
123
|
}
|
|
97
124
|
var withVariant2 = (model, variantID) => {
|
|
98
125
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -136,13 +163,13 @@ var resolveCatalogModel = Effect.fn("ModelResolver.resolveCatalogModel")(functio
|
|
|
136
163
|
...credential?.metadata,
|
|
137
164
|
...configuration
|
|
138
165
|
}) ?? {});
|
|
139
|
-
return yield* loadAISDK({ ...resolved, settings }).pipe(Effect.mapError(() =>
|
|
166
|
+
return yield* loadAISDK({ ...resolved, settings }).pipe(Effect.mapError((error) => initialization(resolved, "init", error.cause)));
|
|
140
167
|
}
|
|
141
168
|
if (!native)
|
|
142
169
|
return yield* unsupported(resolved);
|
|
143
170
|
const specifier = native;
|
|
144
171
|
const mapped = yield* prepareProviderSettings(resolved, mapping?.settings ?? configured);
|
|
145
|
-
const module = yield* (dependencies?.loadPackage ?? loadPackage2)(specifier).pipe(Effect.mapError(() =>
|
|
172
|
+
const module = yield* (dependencies?.loadPackage ?? loadPackage2)(specifier).pipe(Effect.mapError((error) => initialization(resolved, "load", error.cause)));
|
|
146
173
|
const settings = {
|
|
147
174
|
...credential ? Struct.omit(mapped, ["accessToken", "apiKey", "authToken"]) : mapped,
|
|
148
175
|
...resolved.canonical === undefined ? {} : { provider: resolved.canonical },
|
|
@@ -158,7 +185,12 @@ var resolveCatalogModel = Effect.fn("ModelResolver.resolveCatalogModel")(functio
|
|
|
158
185
|
compatibility: resolved.compatibility ? Object.assign({}, runtime.compatibility, resolved.compatibility) : runtime.compatibility
|
|
159
186
|
});
|
|
160
187
|
},
|
|
161
|
-
catch: () =>
|
|
188
|
+
catch: (cause) => cause instanceof ProviderConfigurationError ? new ModelConfigurationError3({
|
|
189
|
+
providerID: resolved.providerID,
|
|
190
|
+
modelID: resolved.id,
|
|
191
|
+
package: resolved.package ?? "unknown",
|
|
192
|
+
detail: cause.message
|
|
193
|
+
}) : initialization(resolved, "construct", cause)
|
|
162
194
|
});
|
|
163
195
|
});
|
|
164
196
|
function prepareRuntimeModel(model, credential) {
|
|
@@ -216,16 +248,33 @@ var unsupported = (model) => new UnsupportedPackageError3({
|
|
|
216
248
|
modelID: model.id,
|
|
217
249
|
package: model.package ?? "unknown"
|
|
218
250
|
});
|
|
251
|
+
var initialization = (model, phase, cause) => new ModelInitializationError3({
|
|
252
|
+
providerID: model.providerID,
|
|
253
|
+
modelID: model.id,
|
|
254
|
+
package: model.package ?? "unknown",
|
|
255
|
+
phase,
|
|
256
|
+
detail: causeMessage(cause) ?? `${phase} failed for ${model.package ?? "unknown"}`
|
|
257
|
+
});
|
|
258
|
+
var causeMessage = (cause) => {
|
|
259
|
+
if (typeof cause === "string")
|
|
260
|
+
return cause.trim() || undefined;
|
|
261
|
+
if (!(cause instanceof globalThis.Error))
|
|
262
|
+
return;
|
|
263
|
+
const message = cause.message.trim();
|
|
264
|
+
if (message)
|
|
265
|
+
return message;
|
|
266
|
+
return causeMessage(cause.cause);
|
|
267
|
+
};
|
|
219
268
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
220
269
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
221
|
-
var
|
|
222
|
-
const catalog = yield*
|
|
223
|
-
const integrations = yield*
|
|
270
|
+
var layer18 = Layer.effect(Service41, Effect.gen(function* () {
|
|
271
|
+
const catalog = yield* Service67;
|
|
272
|
+
const integrations = yield* Service68;
|
|
224
273
|
const npm = yield* Npm.Service;
|
|
225
|
-
const aisdk = yield*
|
|
274
|
+
const aisdk = yield* Service45;
|
|
226
275
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
227
276
|
const provider = yield* catalog.provider.get(selected.providerID);
|
|
228
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
277
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID11.make(selected.providerID));
|
|
229
278
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
230
279
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
231
280
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -247,7 +296,7 @@ var layer24 = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
247
296
|
websocket: selected.websocket ?? false
|
|
248
297
|
};
|
|
249
298
|
});
|
|
250
|
-
return
|
|
299
|
+
return Service41.of({
|
|
251
300
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
252
301
|
const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
|
|
253
302
|
if (!selected)
|
|
@@ -264,10 +313,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
264
313
|
const name = packageName2(packageName);
|
|
265
314
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
266
315
|
}
|
|
267
|
-
var
|
|
268
|
-
service:
|
|
269
|
-
layer:
|
|
270
|
-
deps: [
|
|
316
|
+
var node44 = makeLocationNode({
|
|
317
|
+
service: Service41,
|
|
318
|
+
layer: layer18,
|
|
319
|
+
deps: [node71, node72, Npm.node, node49]
|
|
271
320
|
});
|
|
272
321
|
|
|
273
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
322
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service41, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer18, node44, exports_model_resolver };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-2d6j2h4j.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./location-mutation-h7dpqqdj.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service60
|
|
9
|
+
} from "./location-mutation-j6efsrek.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/configured.ts
|
|
12
12
|
import { Effect, Option } from "effect";
|
|
13
13
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
14
|
-
const catalog = yield*
|
|
14
|
+
const catalog = yield* Service67;
|
|
15
15
|
const current = (yield* catalog.provider.get(id))?.settings;
|
|
16
|
-
const service = yield* Effect.serviceOption(
|
|
16
|
+
const service = yield* Effect.serviceOption(Service60);
|
|
17
17
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
18
18
|
return foldSettings2(entries, id, current);
|
|
19
19
|
});
|