@opencode/core 0.0.0-dev-21881 → 0.0.0-dev-21903
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 +89 -89
- package/dist/aisdk-native.js +97 -96
- package/dist/aisdk.js +103 -102
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/location-services-00ve6mdn.js +18 -0
- package/dist/chunks/{generate-034tev2y.js → location-services-034tev2y.js} +2 -2
- package/dist/chunks/{generate-03efvwc7.js → location-services-03efvwc7.js} +5 -5
- package/dist/chunks/{generate-nj7gxwd2.js → location-services-04521nwg.js} +5 -5
- package/dist/chunks/{generate-3xj7n42w.js → location-services-0fm9943z.js} +30 -30
- package/dist/chunks/{generate-y3v10bb3.js → location-services-0n4brtsj.js} +30 -29
- package/dist/chunks/{generate-e7c5a3nr.js → location-services-0vfaxtry.js} +9 -9
- package/dist/chunks/{generate-dsjbn4pc.js → location-services-0z1vf8kx.js} +1 -1
- package/dist/chunks/{generate-11hfp36g.js → location-services-11hfp36g.js} +1 -1
- package/dist/chunks/{generate-2j0h6455.js → location-services-11w1erh0.js} +42 -42
- package/dist/chunks/{generate-g0skazn8.js → location-services-147vawtp.js} +11 -11
- package/dist/chunks/{generate-65b6wh7d.js → location-services-1bfj8692.js} +33 -37
- package/dist/chunks/{generate-1ep2p91f.js → location-services-1ep2p91f.js} +2 -2
- package/dist/chunks/{generate-bf35rx15.js → location-services-1wxh740a.js} +6 -6
- package/dist/chunks/{generate-1x2knyw4.js → location-services-1x2knyw4.js} +1 -1
- package/dist/chunks/{generate-p7vhpwh8.js → location-services-1yq9hg58.js} +5 -5
- package/dist/chunks/{generate-vd3b3yk9.js → location-services-204s3925.js} +13 -2
- package/dist/chunks/{generate-y8jm6641.js → location-services-21db4a7w.js} +10 -10
- package/dist/chunks/{generate-c6x7d2ts.js → location-services-2kj7f5bg.js} +7 -7
- package/dist/chunks/{generate-e5txay44.js → location-services-2ndatbyk.js} +1 -1
- package/dist/chunks/{generate-2z1j29yd.js → location-services-2z1j29yd.js} +1 -1
- package/dist/chunks/{generate-2e5xfyre.js → location-services-31f92er7.js} +3 -3
- package/dist/chunks/{generate-s04tdcvb.js → location-services-35qjbqn0.js} +17 -17
- package/dist/chunks/{generate-1w9e6g42.js → location-services-3bkdny4k.js} +6 -6
- package/dist/chunks/{generate-h659bff6.js → location-services-3f3gn4kn.js} +1 -1
- package/dist/chunks/{generate-zk70hy5y.js → location-services-3fghs3em.js} +27 -27
- package/dist/chunks/{generate-qgj1m8vp.js → location-services-3fvf9d3k.js} +20 -20
- package/dist/chunks/{generate-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-3nnrz6f6.js → location-services-3nnrz6f6.js} +1 -1
- package/dist/chunks/{generate-vvj2v3v2.js → location-services-3p3d7qzt.js} +9 -9
- package/dist/chunks/{generate-40za9wsf.js → location-services-40za9wsf.js} +2 -2
- package/dist/chunks/{generate-me7kxg3j.js → location-services-46bpvt4v.js} +8 -8
- package/dist/chunks/{generate-6saj3a0m.js → location-services-4az1a8cs.js} +6 -6
- package/dist/chunks/{generate-dpq6z7p1.js → location-services-4cdz94wm.js} +29 -29
- package/dist/chunks/{generate-45hvr24s.js → location-services-4kvj368v.js} +26 -26
- package/dist/chunks/{generate-4v008n1t.js → location-services-4v008n1t.js} +1 -1
- package/dist/chunks/{generate-np2dfhev.js → location-services-4vjrd2nm.js} +20 -20
- package/dist/chunks/{generate-m64hvvbh.js → location-services-4wqc8mqe.js} +7 -7
- package/dist/chunks/{generate-qmvd76a3.js → location-services-4xehb7nf.js} +3 -3
- package/dist/chunks/{generate-4xvmh7wp.js → location-services-4xvmh7wp.js} +3 -3
- package/dist/chunks/{generate-5emr5dp8.js → location-services-52jkpkhk.js} +14 -14
- package/dist/chunks/{generate-gcnn6hyw.js → location-services-52k98881.js} +29 -28
- package/dist/chunks/{generate-t39b6msr.js → location-services-551jtzns.js} +1 -1
- package/dist/chunks/{generate-5j08c03m.js → location-services-5m90njqj.js} +11 -11
- package/dist/chunks/{generate-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
- package/dist/chunks/{generate-bhvs01y7.js → location-services-5qdyz63a.js} +3 -3
- package/dist/chunks/{generate-2hnx25th.js → location-services-60aw2bkc.js} +6 -6
- package/dist/chunks/{generate-mzeef7bv.js → location-services-64mt0z0h.js} +4 -4
- package/dist/chunks/{generate-6bh3dv2n.js → location-services-66vyf1s0.js} +29 -29
- package/dist/chunks/{generate-6esdw8yj.js → location-services-6esdw8yj.js} +1 -1
- package/dist/chunks/{generate-y5tx2pf5.js → location-services-6g5jwsqq.js} +6 -6
- package/dist/chunks/{generate-sz4p1zm9.js → location-services-6gjd4geh.js} +11 -11
- package/dist/chunks/{generate-ht2xqj16.js → location-services-6n3n8n8c.js} +17 -17
- package/dist/chunks/{generate-6pjqjmy2.js → location-services-6pjqjmy2.js} +1 -1
- package/dist/chunks/{generate-860y05k0.js → location-services-6tj0eyfy.js} +13 -13
- package/dist/chunks/{generate-t6myarfx.js → location-services-73mjnqkv.js} +14 -14
- package/dist/chunks/{generate-w8qtt4th.js → location-services-76cb1hcw.js} +4 -4
- package/dist/chunks/{generate-vfd66558.js → location-services-777csmha.js} +17 -17
- package/dist/chunks/{generate-n2prjmzh.js → location-services-77vhwr65.js} +48 -45
- package/dist/chunks/{generate-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-m6tde151.js → location-services-7ebn5dnv.js} +34 -34
- package/dist/chunks/{generate-mtyjk5mv.js → location-services-7ekdzgrw.js} +11 -11
- package/dist/chunks/{generate-2mm464fz.js → location-services-7ewvyx1h.js} +39 -39
- package/dist/chunks/{generate-fvxgcjfj.js → location-services-7eysnd3f.js} +32 -32
- package/dist/chunks/{generate-pvwdf2yr.js → location-services-7gfrq6pk.js} +11 -11
- package/dist/chunks/{generate-hyvmjqrf.js → location-services-7nzy79pb.js} +11 -11
- package/dist/chunks/{generate-aym3a85m.js → location-services-7q3v9td2.js} +35 -35
- package/dist/chunks/{generate-7w2ypzdf.js → location-services-7w2ypzdf.js} +1 -1
- package/dist/chunks/{generate-1ypt5wpy.js → location-services-7ye3a43r.js} +3 -3
- package/dist/chunks/{generate-pcsmd4he.js → location-services-814m0pbm.js} +25 -25
- package/dist/chunks/{generate-tpcr1ym9.js → location-services-82dff8wv.js} +43 -43
- package/dist/chunks/{generate-sw5900k8.js → location-services-8e1vq2t0.js} +10 -10
- package/dist/chunks/{generate-2ymc78nk.js → location-services-8e60wtf7.js} +18 -18
- package/dist/chunks/{generate-z553p4sn.js → location-services-8fxjxqq6.js} +6 -6
- package/dist/chunks/{generate-wy4whz5z.js → location-services-8mk0bwpx.js} +4 -4
- package/dist/chunks/{generate-mhkzz5y2.js → location-services-8qyg6xvd.js} +8 -8
- package/dist/chunks/{generate-6y263vp8.js → location-services-8wc2fpae.js} +5 -5
- package/dist/chunks/{generate-8wtp7s3z.js → location-services-8wtp7s3z.js} +1 -1
- package/dist/chunks/{generate-h85wfqm9.js → location-services-8ywtscb8.js} +16 -16
- package/dist/chunks/{generate-91rj84md.js → location-services-91rj84md.js} +1 -1
- package/dist/chunks/{generate-8ykqf5wm.js → location-services-92cn2t4g.js} +11 -11
- package/dist/chunks/{generate-t7ncsdpk.js → location-services-94r2kbax.js} +13 -13
- package/dist/chunks/{generate-bqbcn5z1.js → location-services-95fy70vm.js} +22 -22
- package/dist/chunks/{generate-6rsjzsax.js → location-services-97p996b3.js} +9 -9
- package/dist/chunks/{generate-9cx9sm2q.js → location-services-9cx9sm2q.js} +1 -1
- package/dist/chunks/{generate-2b5b45c9.js → location-services-9d5rzwrs.js} +11 -11
- package/dist/chunks/{generate-wwthzbr1.js → location-services-9g0prgdv.js} +6 -6
- package/dist/chunks/{generate-f83r4zqb.js → location-services-9ghmfs2r.js} +12 -12
- package/dist/chunks/{generate-ya93hhk9.js → location-services-9qxs4ka6.js} +7 -7
- package/dist/chunks/{generate-60chehtb.js → location-services-9stfggkj.js} +3 -3
- package/dist/chunks/{generate-abv9f74v.js → location-services-a7jnfq8g.js} +24 -24
- package/dist/chunks/{generate-xkzeecwb.js → location-services-a7mwkhfd.js} +8 -8
- package/dist/chunks/{generate-gnnftrr1.js → location-services-a9jjybfd.js} +32 -32
- package/dist/chunks/{generate-88gqnt7v.js → location-services-a9na2z4w.js} +6 -6
- package/dist/chunks/{generate-xvbhqn7e.js → location-services-agmfdcja.js} +14 -14
- package/dist/chunks/{generate-q48tb2m2.js → location-services-ah4af1ng.js} +23 -23
- package/dist/chunks/{generate-q8s21k0n.js → location-services-ak39xwrx.js} +4 -4
- package/dist/chunks/{generate-mnsb4k1q.js → location-services-akbz7b6h.js} +5 -5
- package/dist/chunks/{generate-1567v7as.js → location-services-ana9v1k9.js} +9 -9
- package/dist/chunks/{generate-qq0vx577.js → location-services-ay8f7yhb.js} +2 -2
- package/dist/chunks/{generate-ayjs7tqn.js → location-services-ayjs7tqn.js} +2 -2
- package/dist/chunks/{generate-b0mv4wxm.js → location-services-b0mv4wxm.js} +2 -2
- package/dist/chunks/{generate-v98na84w.js → location-services-b27x7jxq.js} +10 -10
- package/dist/chunks/{generate-5nnwax6m.js → location-services-b6vsg801.js} +5 -5
- package/dist/chunks/{generate-5h9kw7gs.js → location-services-b952eqn9.js} +23 -23
- package/dist/chunks/{generate-9844398g.js → location-services-bjqns1ae.js} +16 -16
- package/dist/chunks/{generate-0kjhz3mt.js → location-services-bkzfyq7t.js} +5 -5
- package/dist/chunks/{generate-bstexjd6.js → location-services-bstexjd6.js} +1 -1
- package/dist/chunks/{generate-qw45kx2n.js → location-services-btj8pen2.js} +9 -9
- package/dist/chunks/{generate-gqbdtr3f.js → location-services-btqeqnn8.js} +25 -25
- package/dist/chunks/{generate-fc14jyx3.js → location-services-bwr0hn0p.js} +22 -22
- package/dist/chunks/{generate-aks81gr4.js → location-services-c2bjkdjj.js} +14 -9
- package/dist/chunks/{generate-2p4wxb8m.js → location-services-c3jwnccm.js} +43 -43
- package/dist/chunks/{generate-r91jcx8b.js → location-services-c41efnpa.js} +23 -23
- package/dist/chunks/{generate-etgazebn.js → location-services-c5n1jm6v.js} +26 -26
- package/dist/chunks/{generate-vc4879sd.js → location-services-c7stz04q.js} +11 -11
- package/dist/chunks/{generate-ahvh1qya.js → location-services-cbtkqwrv.js} +4 -4
- package/dist/chunks/{generate-amjfyfwc.js → location-services-cpbxd4gf.js} +17 -17
- package/dist/chunks/{generate-d47y8g47.js → location-services-cyrt625k.js} +14 -14
- package/dist/chunks/{generate-0ccsbrde.js → location-services-d006wmt7.js} +18 -18
- package/dist/chunks/{generate-spxsma9c.js → location-services-d29cpj0c.js} +11 -11
- package/dist/chunks/{generate-9rfhangp.js → location-services-d2me1qzp.js} +48 -48
- package/dist/chunks/{generate-d4v9tmah.js → location-services-d4v9tmah.js} +2 -2
- package/dist/chunks/{generate-1twhr14d.js → location-services-dd1vqc3f.js} +3 -3
- package/dist/chunks/{generate-mn53dk4j.js → location-services-djjzzs3c.js} +3 -3
- package/dist/chunks/{generate-agqd6nxz.js → location-services-drvbhkez.js} +2 -2
- package/dist/chunks/{generate-gg0rfb5w.js → location-services-dvm857vb.js} +11 -11
- package/dist/chunks/{generate-wn3e8tka.js → location-services-e07q2w5p.js} +9 -9
- package/dist/chunks/{generate-e834z07m.js → location-services-e834z07m.js} +1 -1
- package/dist/chunks/{generate-1b9qzhs0.js → location-services-ebzhbbj7.js} +8 -8
- package/dist/chunks/{generate-brryxvg9.js → location-services-ecvf625q.js} +2 -2
- package/dist/chunks/{generate-qby0d106.js → location-services-ef4g51zk.js} +26 -25
- package/dist/chunks/{generate-dkqkergf.js → location-services-ehgkhb98.js} +9 -9
- package/dist/chunks/{generate-0fn5w6ze.js → location-services-eqfxwd9c.js} +4 -4
- package/dist/chunks/location-services-f5hd4pmz.js +26 -0
- package/dist/chunks/{generate-d121hxf2.js → location-services-f7a3eme1.js} +6 -6
- package/dist/chunks/{generate-20crrbd7.js → location-services-f8pbq6zm.js} +16 -16
- package/dist/chunks/{generate-rqa5g7v6.js → location-services-f97nkw3f.js} +30 -30
- package/dist/chunks/{generate-fffv3p7h.js → location-services-fffv3p7h.js} +1 -1
- package/dist/chunks/{generate-a46k5kbx.js → location-services-fhmxdhy8.js} +13 -13
- package/dist/chunks/{generate-yx7gwedn.js → location-services-fjhhaj13.js} +26 -26
- package/dist/chunks/{generate-8esy4z26.js → location-services-fpbevbxn.js} +10 -10
- package/dist/chunks/{generate-73z36sy8.js → location-services-ftaew5rm.js} +8 -8
- package/dist/chunks/{generate-hx31exwe.js → location-services-fy7nh4fk.js} +31 -31
- package/dist/chunks/{generate-fznmdakp.js → location-services-fznmdakp.js} +1 -1
- package/dist/chunks/{generate-yydqqga9.js → location-services-g1e2r5aa.js} +4 -4
- package/dist/chunks/{generate-nmbqtac7.js → location-services-g2yv87vr.js} +21 -21
- package/dist/chunks/{generate-gc4rcfsx.js → location-services-g42b6ca9.js} +4 -4
- package/dist/chunks/{generate-g5h9c0rr.js → location-services-g5h9c0rr.js} +2 -2
- package/dist/chunks/{generate-zw7j8ap3.js → location-services-g6hkq510.js} +26 -26
- package/dist/chunks/{generate-dr524zn0.js → location-services-g9tm7d2t.js} +15 -15
- package/dist/chunks/{generate-gg8p9cgs.js → location-services-gg8p9cgs.js} +3 -3
- package/dist/chunks/{generate-1bt4srtf.js → location-services-gh0yfcmw.js} +140 -140
- package/dist/chunks/{generate-xq0asyt8.js → location-services-gkp4zd0c.js} +32 -30
- package/dist/chunks/{generate-4hh95258.js → location-services-gyx5xa5k.js} +16 -16
- package/dist/chunks/{generate-n7ydacfz.js → location-services-h06rb14x.js} +7 -7
- package/dist/chunks/{generate-crfddmzc.js → location-services-h097nhc1.js} +8 -8
- package/dist/chunks/{generate-qwa5qwjv.js → location-services-h488c7y5.js} +1 -1
- package/dist/chunks/{generate-6zf9q3dm.js → location-services-h7zf0bn5.js} +13 -13
- package/dist/chunks/{generate-sm9at3z0.js → location-services-h8acnr4s.js} +5 -5
- package/dist/chunks/{generate-05rvh78w.js → location-services-hb1289hx.js} +27 -26
- package/dist/chunks/location-services-hcg6ehd2.js +517 -0
- package/dist/chunks/{generate-hdfrs5mg.js → location-services-hdfrs5mg.js} +2 -2
- package/dist/chunks/{generate-m37sd98t.js → location-services-hfgk9wzg.js} +4 -4
- package/dist/chunks/{generate-bwk9zsmg.js → location-services-hg1nz1sy.js} +21 -21
- package/dist/chunks/{generate-qhfh2fyf.js → location-services-hkqavxqx.js} +28 -29
- package/dist/chunks/{generate-m6gaya9c.js → location-services-hpz3j2k0.js} +17 -17
- package/dist/chunks/{generate-tg1vr1qt.js → location-services-hy8c1z76.js} +8 -8
- package/dist/chunks/{generate-h7yew4n9.js → location-services-hz7f4e5w.js} +11 -11
- package/dist/chunks/{generate-j113cymg.js → location-services-j113cymg.js} +1 -1
- package/dist/chunks/{generate-cr10brw4.js → location-services-j4hj9mmz.js} +28 -28
- package/dist/chunks/{generate-39b0v2m0.js → location-services-jd10xym8.js} +21 -21
- package/dist/chunks/{generate-hw7xvx1w.js → location-services-jksnk9rk.js} +7 -7
- package/dist/chunks/{generate-9p9xqj3m.js → location-services-jneg3k74.js} +6 -6
- package/dist/chunks/{generate-5yqt7x1t.js → location-services-jw2fkyg0.js} +8 -8
- package/dist/chunks/{generate-kjt6993h.js → location-services-jw782sdw.js} +37 -37
- package/dist/chunks/{generate-mj6e6dj3.js → location-services-jwg5v617.js} +37 -37
- package/dist/chunks/{generate-5fth6e7e.js → location-services-jwjt5z3a.js} +15 -15
- package/dist/chunks/{generate-be310d62.js → location-services-jz71nhx8.js} +14 -14
- package/dist/chunks/{generate-450yhr7g.js → location-services-k00wzz3g.js} +16 -16
- package/dist/chunks/{generate-b87bx4hb.js → location-services-k4hacpf1.js} +6 -6
- package/dist/chunks/{generate-wr6c97eb.js → location-services-k4te3eym.js} +24 -25
- package/dist/chunks/{generate-k814nvkf.js → location-services-k814nvkf.js} +1 -1
- package/dist/chunks/{generate-6t0a6egd.js → location-services-kac0vvew.js} +11 -11
- package/dist/chunks/{generate-h1ferrrm.js → location-services-kb9aw3cj.js} +11 -11
- package/dist/chunks/{generate-25tc2yyb.js → location-services-kevx4vjj.js} +17 -17
- package/dist/chunks/{generate-kt3bjfbg.js → location-services-kt3bjfbg.js} +1 -1
- package/dist/chunks/{generate-m1714858.js → location-services-m1714858.js} +1 -1
- package/dist/chunks/{generate-1rj159m0.js → location-services-m1m4h2ws.js} +16 -16
- package/dist/chunks/{generate-w0mr8pfp.js → location-services-m4hkdytw.js} +13 -13
- package/dist/chunks/{generate-srfbxa22.js → location-services-m57z52n9.js} +17 -17
- package/dist/chunks/{generate-eewf5kq5.js → location-services-m8m8yt4h.js} +23 -23
- package/dist/chunks/{generate-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-maspj1v3.js → location-services-maspj1v3.js} +1 -1
- package/dist/chunks/{generate-wef44qxv.js → location-services-mfcwkzw5.js} +2 -2
- package/dist/chunks/{generate-9ma9r77m.js → location-services-mm7a63e9.js} +6 -6
- package/dist/chunks/{generate-s7kyse9r.js → location-services-mmx1mfjr.js} +4 -4
- package/dist/chunks/{generate-49fajgsd.js → location-services-mnazxqb2.js} +11 -11
- package/dist/chunks/{generate-ex2ghmgq.js → location-services-mqcadzqw.js} +5 -5
- package/dist/chunks/{generate-6dvctgn8.js → location-services-mr0ga9ap.js} +69 -64
- package/dist/chunks/{generate-zv3m3tdk.js → location-services-mre9hm22.js} +4 -4
- package/dist/chunks/{generate-0gsbsa6w.js → location-services-mvrtasbk.js} +8 -8
- package/dist/chunks/{generate-5a525hm9.js → location-services-mwttkatk.js} +13 -13
- package/dist/chunks/{generate-adfm7s3d.js → location-services-mz7759ww.js} +33 -33
- package/dist/chunks/{generate-nah043kf.js → location-services-nah043kf.js} +1 -1
- package/dist/chunks/{generate-ezas4x5c.js → location-services-ndphpag7.js} +79 -79
- package/dist/chunks/{generate-ba6md75m.js → location-services-nmcss2m3.js} +10 -10
- package/dist/chunks/{generate-5ect6tx9.js → location-services-nvxqht09.js} +2 -2
- package/dist/chunks/{generate-p015t6z3.js → location-services-p015t6z3.js} +2 -2
- package/dist/chunks/{generate-smf0az4w.js → location-services-p513p73p.js} +23 -23
- package/dist/chunks/{generate-20zdy5ks.js → location-services-p9a4fkqx.js} +6 -6
- package/dist/chunks/{generate-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{generate-y2qm725k.js → location-services-pvmfh5yx.js} +9 -9
- package/dist/chunks/{generate-308nzxyx.js → location-services-pxxfm478.js} +2 -2
- package/dist/chunks/{generate-9rkew2h6.js → location-services-q3xvmvv1.js} +10 -10
- package/dist/chunks/{generate-4k9tnmjh.js → location-services-q5vr2yry.js} +2 -2
- package/dist/chunks/{generate-4sszy9c0.js → location-services-q8yx5esg.js} +17 -17
- package/dist/chunks/{generate-9czaxqrp.js → location-services-q906frw1.js} +13 -13
- package/dist/chunks/{generate-81bgmkmh.js → location-services-qa1edmd1.js} +9 -9
- package/dist/chunks/{generate-xwwftgt8.js → location-services-qb7cx6yj.js} +37 -37
- package/dist/chunks/{generate-qyq8h28g.js → location-services-qyq8h28g.js} +1 -1
- package/dist/chunks/{generate-r0yr0wbs.js → location-services-r0yr0wbs.js} +1 -1
- package/dist/chunks/{generate-r542h3bh.js → location-services-r542h3bh.js} +1 -1
- package/dist/chunks/{generate-rb9dy4dg.js → location-services-rb9dy4dg.js} +1 -1
- package/dist/chunks/{generate-3m2th8fr.js → location-services-rc3spf3f.js} +11 -11
- package/dist/chunks/{generate-waekfe58.js → location-services-rddcemm9.js} +21 -21
- package/dist/chunks/{generate-wghss91q.js → location-services-rdsq3qfj.js} +9 -9
- package/dist/chunks/location-services-re7afsx4.js +257 -0
- package/dist/chunks/{generate-zw4pk1bw.js → location-services-rmm45jmv.js} +5 -5
- package/dist/chunks/{generate-rt5dr6hb.js → location-services-rt5dr6hb.js} +1 -1
- package/dist/chunks/{generate-x4wyjn1e.js → location-services-rz3kjw72.js} +17 -17
- package/dist/chunks/{generate-bjhzkqyk.js → location-services-s626qfae.js} +4 -4
- package/dist/chunks/{generate-kvfvqdzr.js → location-services-s89f5phx.js} +11 -11
- package/dist/chunks/{generate-sjn4p4df.js → location-services-s9szcymt.js} +22 -22
- package/dist/chunks/{generate-sa3fpqfw.js → location-services-sa3fpqfw.js} +2 -2
- package/dist/chunks/{generate-kyjdqzbx.js → location-services-sa7xyy0c.js} +26 -26
- package/dist/chunks/{generate-sqjzf8x2.js → location-services-sqjzf8x2.js} +1 -1
- package/dist/chunks/{generate-c9t2ty9q.js → location-services-ssfehs1z.js} +4 -4
- package/dist/chunks/{generate-h7gvp0tv.js → location-services-st7p3hwb.js} +2 -2
- package/dist/chunks/{generate-fj4n425x.js → location-services-t143wn0z.js} +80 -80
- package/dist/chunks/{generate-ftav155q.js → location-services-t2c3e9ky.js} +2 -2
- package/dist/chunks/{generate-tczq8hjw.js → location-services-tczq8hjw.js} +1 -1
- package/dist/chunks/{generate-ezm5mefv.js → location-services-tdhjqvff.js} +15 -15
- package/dist/chunks/{generate-f4ce04df.js → location-services-th8wr6tp.js} +7 -7
- package/dist/chunks/{generate-h4m582a6.js → location-services-tj0mzswe.js} +16 -16
- package/dist/chunks/{generate-7qvq4ghn.js → location-services-tjqvjnbx.js} +18 -18
- package/dist/chunks/{generate-srg9stfr.js → location-services-tkmxfp5h.js} +20 -20
- package/dist/chunks/{generate-59qf4ysp.js → location-services-tm13by84.js} +30 -30
- package/dist/chunks/{generate-twv2r8f4.js → location-services-twv2r8f4.js} +2 -2
- package/dist/chunks/{generate-v2r1d0zg.js → location-services-v2r1d0zg.js} +1 -1
- package/dist/chunks/{generate-kftyqbhm.js → location-services-v6jczr14.js} +13 -13
- package/dist/chunks/{generate-ns4f8tr7.js → location-services-v8q01xw4.js} +19 -19
- package/dist/chunks/{generate-py2ydaen.js → location-services-v9492ht0.js} +15 -15
- package/dist/chunks/{generate-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-rmt6m6se.js → location-services-vrcsa8qx.js} +9 -9
- package/dist/chunks/{generate-8zg4nwes.js → location-services-w0vcdtw5.js} +3 -3
- package/dist/chunks/{generate-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-wakvkjy4.js → location-services-wakvkjy4.js} +1 -1
- package/dist/chunks/{generate-eyyv5nda.js → location-services-wbnwkwkc.js} +15 -15
- package/dist/chunks/{generate-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{generate-gqmen105.js → location-services-wegc3p94.js} +12 -12
- package/dist/chunks/{generate-j5zs165q.js → location-services-wf7v8c8z.js} +27 -27
- package/dist/chunks/{generate-94gztf2h.js → location-services-wkxzy6jz.js} +21 -21
- package/dist/chunks/{generate-ppk0knvm.js → location-services-wr3z335x.js} +11 -11
- package/dist/chunks/{generate-hna5e0rk.js → location-services-x2b74qpx.js} +30 -30
- package/dist/chunks/{generate-n49yy442.js → location-services-xcvvfsb7.js} +4 -4
- package/dist/chunks/{generate-wy0hchk8.js → location-services-xm4qwp9y.js} +25 -25
- package/dist/chunks/{generate-jecrmhrf.js → location-services-xv4smn2w.js} +22 -22
- package/dist/chunks/{generate-37cm3r6v.js → location-services-xy4ztr0v.js} +3 -3
- package/dist/chunks/{generate-ser66ar7.js → location-services-y28mq519.js} +54 -54
- package/dist/chunks/{generate-jh1t67wh.js → location-services-y4hm39pm.js} +17 -17
- package/dist/chunks/location-services-yara3q77.js +132 -0
- package/dist/chunks/{generate-yb20nhc3.js → location-services-yb20nhc3.js} +1 -1
- package/dist/chunks/{generate-03178dsp.js → location-services-yjn9y6zr.js} +19 -14
- package/dist/chunks/{generate-hzjw5pxs.js → location-services-ykrh4162.js} +18 -18
- package/dist/chunks/{generate-kv6gsz9b.js → location-services-ykx76mnc.js} +1 -1
- package/dist/chunks/{generate-8q417wg1.js → location-services-ym46tpre.js} +33 -33
- package/dist/chunks/{generate-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-z38nccrw.js → location-services-z38nccrw.js} +1 -1
- package/dist/chunks/{generate-k829tzk9.js → location-services-z87ekydq.js} +4 -4
- package/dist/chunks/{generate-4gjjgmy7.js → location-services-zcd67qx2.js} +34 -34
- package/dist/chunks/{generate-e9waf9qz.js → location-services-zdxh8aba.js} +9 -9
- package/dist/chunks/{generate-7cx8wp0a.js → location-services-zgd8t41s.js} +9 -9
- package/dist/chunks/{generate-5r72z9dp.js → location-services-zggvq0e7.js} +8 -8
- package/dist/chunks/{generate-7x78ttrr.js → location-services-zjyr9dee.js} +6 -6
- package/dist/chunks/{generate-zkg84ctx.js → location-services-zkg84ctx.js} +1 -1
- package/dist/chunks/{generate-hwf1b6v4.js → location-services-zrnb11sh.js} +10 -10
- package/dist/chunks/{generate-dv7g9852.js → location-services-ztjcf3e9.js} +6 -6
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +91 -91
- package/dist/config/discovery.js +92 -91
- package/dist/config/integration.js +7 -7
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -106
- package/dist/config/plugin/agent.js +121 -120
- package/dist/config/plugin/command.js +219 -218
- package/dist/config/plugin/compaction.js +162 -161
- package/dist/config/plugin/compatibility.js +142 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -121
- package/dist/config/plugin/image.js +121 -120
- package/dist/config/plugin/instruction.js +121 -120
- package/dist/config/plugin/location-watcher.js +123 -122
- package/dist/config/plugin/mcp.js +128 -127
- package/dist/config/plugin/policy.js +123 -122
- package/dist/config/plugin/provider.js +122 -121
- package/dist/config/plugin/reference.js +123 -122
- package/dist/config/plugin/shell.js +121 -120
- package/dist/config/plugin/skill-file.js +138 -137
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +143 -142
- package/dist/config/plugin/snapshot.js +121 -120
- package/dist/config/plugin/source.js +122 -121
- package/dist/config/plugin/tool-output.js +122 -121
- package/dist/config/plugin/websearch.js +120 -119
- package/dist/config/plugin/worktree.js +123 -122
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -125
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +72 -72
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +93 -92
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +385 -382
- 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 +101 -100
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -102
- 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 +76 -76
- package/dist/file-access.js +140 -139
- package/dist/file-mutation.js +102 -101
- package/dist/file-retention.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/file-watch.js +221 -0
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -233
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +107 -106
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -111
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +95 -94
- package/dist/generate.js +115 -114
- 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 +99 -98
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +372 -371
- package/dist/instruction-discovery.js +92 -92
- package/dist/instructions/builtins.js +95 -94
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +165 -166
- package/dist/location-lifecycle.js +142 -141
- package/dist/location-service-map.js +94 -93
- package/dist/location-services.js +369 -368
- package/dist/location.js +89 -88
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +99 -98
- package/dist/mcp/index.js +113 -112
- package/dist/mcp/instructions.js +164 -163
- package/dist/mcp/oauth.js +81 -81
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -97
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -98
- package/dist/model-resolver.js +107 -106
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -101
- package/dist/models-dev.js +115 -114
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +143 -142
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -107
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -226
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +342 -341
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +104 -103
- package/dist/plugin/module.js +121 -120
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -137
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -97
- package/dist/plugin/provider/azure.js +121 -120
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -120
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -116
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -100
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -102
- package/dist/plugin/provider/gitlab.js +101 -100
- package/dist/plugin/provider/google-vertex.js +118 -117
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +128 -127
- package/dist/plugin/provider/local.js +127 -126
- package/dist/plugin/provider/modal.js +100 -99
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +128 -127
- package/dist/plugin/provider/openai-context-caps.js +98 -97
- package/dist/plugin/provider/openai.js +121 -120
- package/dist/plugin/provider/opencode-legacy.js +106 -105
- package/dist/plugin/provider/opencode.js +127 -126
- package/dist/plugin/provider/openrouter.js +99 -98
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -98
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -119
- package/dist/plugin/provider/vercel.js +98 -97
- package/dist/plugin/provider/vllm.js +130 -129
- package/dist/plugin/provider/xai.js +99 -98
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +178 -177
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +359 -358
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -93
- package/dist/plugin/vcs/hg.js +94 -93
- package/dist/plugin/verbosity.js +101 -100
- package/dist/plugin/warming.js +119 -118
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -229
- package/dist/project/icon.js +14 -0
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -87
- package/dist/provider.js +101 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +104 -103
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -104
- package/dist/rpc.js +94 -93
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -119
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +162 -161
- package/dist/session/context.js +188 -187
- package/dist/session/diff.js +96 -95
- 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 +228 -227
- package/dist/session/execution.js +154 -153
- package/dist/session/generate.js +190 -189
- package/dist/session/history.js +127 -126
- package/dist/session/inbox.js +140 -139
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +134 -133
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +153 -152
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +156 -155
- package/dist/session/projector.js +134 -133
- package/dist/session/prompt.js +140 -139
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -129
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -237
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -107
- package/dist/session/runner/publish-llm-event.js +141 -140
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +152 -151
- package/dist/session/runner/to-llm-message.js +128 -127
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -171
- package/dist/session/shell.js +135 -134
- package/dist/session/skill.js +139 -138
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -132
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -218
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +190 -189
- package/dist/session/to-session-error.js +140 -139
- package/dist/session/transfer.js +219 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -220
- 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 +9 -9
- package/dist/shell.js +137 -136
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -142
- package/dist/skill.js +150 -149
- package/dist/snapshot.js +99 -98
- package/dist/state.js +3 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +163 -162
- package/dist/tool/plugin/edit.js +156 -155
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +158 -157
- package/dist/tool/plugin/grep.js +160 -159
- package/dist/tool/plugin/mcp-resource.js +154 -153
- package/dist/tool/plugin/opencode.js +145 -144
- package/dist/tool/plugin/patch.js +158 -157
- package/dist/tool/plugin/question.js +138 -137
- package/dist/tool/plugin/read.js +161 -160
- package/dist/tool/plugin/shell.js +218 -217
- package/dist/tool/plugin/skill.js +145 -144
- package/dist/tool/plugin/subagent.js +226 -225
- package/dist/tool/plugin/todo.js +145 -144
- package/dist/tool/plugin/webfetch.js +147 -146
- package/dist/tool/plugin/websearch.js +143 -142
- package/dist/tool/plugin/write.js +158 -157
- package/dist/tool/read-filesystem.js +108 -107
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/filesystem/file-watch.d.ts +33 -0
- package/dist/types/instance/service.d.ts +2 -0
- package/dist/types/project/icon.d.ts +26 -0
- package/dist/types/state.d.ts +6 -0
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +5 -5
- package/dist/v1/config/mcp.js +6 -6
- package/dist/v1/config/migrate.js +100 -99
- 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/variant.js +101 -100
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -96
- package/dist/voice.js +94 -94
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -96
- package/dist/worktree.js +104 -103
- package/package.json +8 -8
- package/dist/chunks/generate-9yjwf605.js +0 -257
- package/dist/chunks/generate-ke35y05g.js +0 -26
- package/dist/chunks/generate-x6w6jbv3.js +0 -517
- package/dist/chunks/generate-xgsg3c9w.js +0 -18
- /package/dist/chunks/{generate-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2bv980vf.js → location-services-2bv980vf.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4m86bj6y.js → location-services-4m86bj6y.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5fjb7ams.js → location-services-5fjb7ams.js} +0 -0
- /package/dist/chunks/{generate-5w3e23ze.js → location-services-5w3e23ze.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-84wd9syh.js → location-services-84wd9syh.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a058387c.js → location-services-a058387c.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cqv5kn06.js → location-services-cqv5kn06.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e3qxr5gk.js → location-services-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fkpq3x5p.js → location-services-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jwr30sdr.js → location-services-jwr30sdr.js} +0 -0
- /package/dist/chunks/{generate-jze0r7bz.js → location-services-jze0r7bz.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-m18g726c.js → location-services-m18g726c.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wjj7prxr.js → location-services-wjj7prxr.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load5
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-e3qxr5gk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Native: () => Native3,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service70,
|
|
16
16
|
Test: () => Test3,
|
|
17
17
|
Watcher: () => exports_watcher,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured9,
|
|
19
19
|
hasNativeBinding: () => hasNativeBinding2,
|
|
20
|
-
layer: () =>
|
|
20
|
+
layer: () => layer25,
|
|
21
21
|
nativeLayer: () => nativeLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node72,
|
|
23
23
|
testLayer: () => testLayer3
|
|
24
24
|
});
|
|
25
25
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
49
49
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
class
|
|
52
|
+
class Service70 extends Context.Service()("@opencode/Watcher") {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
56
56
|
}
|
|
57
|
-
var
|
|
57
|
+
var layer25 = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
58
58
|
if (options?.enabled === false) {
|
|
59
|
-
return
|
|
59
|
+
return Service70.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
60
60
|
}
|
|
61
61
|
const native = yield* Native3;
|
|
62
62
|
const watchers = yield* RcMap.make({
|
|
@@ -97,7 +97,7 @@ var layer23 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
97
97
|
return Stream.fromSubscription(subscription);
|
|
98
98
|
}));
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service70.of({ subscribe });
|
|
101
101
|
}));
|
|
102
102
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
103
103
|
const subscriptions = [];
|
|
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
121
121
|
};
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
|
-
const context = yield* Layer.build(
|
|
124
|
+
const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
125
125
|
const test = Test3.of({
|
|
126
|
-
subscribe: Context.get(context,
|
|
126
|
+
subscribe: Context.get(context, Service70).subscribe,
|
|
127
127
|
emit: (update) => Effect.sync(() => {
|
|
128
128
|
const target = path.resolve(update.path);
|
|
129
129
|
active.forEach((matches, publish) => {
|
|
@@ -133,33 +133,32 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
133
133
|
}),
|
|
134
134
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
135
135
|
});
|
|
136
|
-
return Context.empty().pipe(Context.add(
|
|
136
|
+
return Context.empty().pipe(Context.add(Service70, test), Context.add(Test3, test));
|
|
137
137
|
}));
|
|
138
138
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
139
139
|
subscribe: (input) => {
|
|
140
140
|
if (input.type === "file" || input.type === "entries") {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
});
|
|
141
|
+
const directory = input.type === "file" ? path.dirname(input.target) : input.target;
|
|
142
|
+
const names = new Set(input.type === "file" ? [path.basename(input.target)] : input.names);
|
|
143
|
+
return Effect.try(() => watch(directory, { recursive: false }, (_event, file) => {
|
|
144
|
+
if (file && !names.has(file))
|
|
145
|
+
return;
|
|
146
|
+
for (const name of file ? [file] : names) {
|
|
147
|
+
input.publish({ path: path.join(directory, name), type: "update" });
|
|
148
|
+
}
|
|
149
|
+
})).pipe(Effect.map((subscription) => {
|
|
151
150
|
subscription.on("error", (error) => Effect.runFork(Effect.logError("watcher callback failed", { path: directory, error })));
|
|
152
151
|
return { unsubscribe: () => Promise.resolve(subscription.close()), backend: "node" };
|
|
153
|
-
});
|
|
152
|
+
}), Effect.catch((error) => Effect.logError("failed to watch directory", { path: directory, error }).pipe(Effect.as(undefined))));
|
|
154
153
|
}
|
|
155
154
|
return subscribeDirectory(watcher(), getBackend(), input.target, input.ignore, input.publish);
|
|
156
155
|
}
|
|
157
156
|
}));
|
|
158
157
|
var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
159
|
-
function
|
|
160
|
-
return makeGlobalNode({ service:
|
|
158
|
+
function configured9(options) {
|
|
159
|
+
return makeGlobalNode({ service: Service70, layer: layer25(options), deps: [nativeNode] });
|
|
161
160
|
}
|
|
162
|
-
var
|
|
161
|
+
var node72 = configured9();
|
|
163
162
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
164
163
|
if (!native || !backend) {
|
|
165
164
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -179,4 +178,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
179
178
|
}).pipe(Effect.as(undefined))));
|
|
180
179
|
}
|
|
181
180
|
|
|
182
|
-
export { hasNativeBinding2, Native3,
|
|
181
|
+
export { hasNativeBinding2, Native3, Service70, Test3, layer25, testLayer3, nativeLayer2, configured9, node72, exports_watcher };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-ak39xwrx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service34
|
|
6
|
+
} from "./location-services-8e60wtf7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error4
|
|
9
|
+
} from "./location-services-btqeqnn8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service37
|
|
12
|
+
} from "./location-services-7ekdzgrw.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-5qdyz63a.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-bkzfyq7t.js";
|
|
22
22
|
import {
|
|
23
23
|
record2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-r542h3bh.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-services-xy4ztr0v.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-djjzzs3c.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-services-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make9 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service86;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service34;
|
|
58
|
+
const toolOutput = yield* Service37;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make9 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error4({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node4
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node4 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node4, bound2, exports_instance2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service69
|
|
4
|
+
} from "./location-services-82dff8wv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service34
|
|
7
|
+
} from "./location-services-8e60wtf7.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin24
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin24 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service69;
|
|
27
|
+
const snapshot = yield* Service34;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin23 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin24, exports_snapshot };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-ak39xwrx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service30,
|
|
7
|
+
node33
|
|
8
|
+
} from "./location-services-jwg5v617.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-2z1j29yd.js";
|
|
12
|
+
import {
|
|
13
|
+
Service66,
|
|
14
|
+
node68
|
|
15
|
+
} from "./location-services-jw782sdw.js";
|
|
12
16
|
import {
|
|
13
17
|
Service54,
|
|
14
18
|
node57
|
|
15
|
-
} from "./
|
|
16
|
-
import {
|
|
17
|
-
Service51,
|
|
18
|
-
node54
|
|
19
|
-
} from "./generate-gqbdtr3f.js";
|
|
19
|
+
} from "./location-services-btqeqnn8.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service37,
|
|
22
|
+
node40
|
|
23
|
+
} from "./location-services-7ekdzgrw.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_MIMES2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-cpbxd4gf.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-services-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/mcp.ts
|
|
32
32
|
var exports_mcp3 = {};
|
|
33
33
|
__export(exports_mcp3, {
|
|
34
34
|
McpTool: () => exports_mcp3,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service29,
|
|
36
36
|
layer: () => layer14,
|
|
37
37
|
name: () => name15,
|
|
38
38
|
namespace: () => namespace2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node32
|
|
40
40
|
});
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -47,14 +47,14 @@ var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown
|
|
|
47
47
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
48
48
|
var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service29 extends Context.Service()("@opencode/McpTool") {
|
|
51
51
|
}
|
|
52
|
-
var layer14 = Layer.effect(
|
|
53
|
-
const mcp = yield*
|
|
54
|
-
const tools = yield*
|
|
52
|
+
var layer14 = Layer.effect(Service29, Effect.gen(function* () {
|
|
53
|
+
const mcp = yield* Service30;
|
|
54
|
+
const tools = yield* Service54;
|
|
55
55
|
const bus = yield* Service86;
|
|
56
|
-
const permission = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
56
|
+
const permission = yield* Service66;
|
|
57
|
+
const toolOutput = yield* Service37;
|
|
58
58
|
const lock = Semaphore.makeUnsafe(1);
|
|
59
59
|
let discovered = [];
|
|
60
60
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -124,7 +124,7 @@ var layer14 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service29.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
129
|
var toContent = Effect.fnUntraced(function* (part, toolOutput) {
|
|
130
130
|
if (part.type === "text")
|
|
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
|
|
|
144
144
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
145
145
|
};
|
|
146
146
|
});
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
147
|
+
var node32 = makeLocationNode({
|
|
148
|
+
service: Service29,
|
|
149
149
|
layer: layer14,
|
|
150
|
-
deps: [
|
|
150
|
+
deps: [node57, node33, node90, node68, node40]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { namespace2, name15,
|
|
153
|
+
export { namespace2, name15, Service29, layer14, node32, exports_mcp3 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./location-services-hkqavxqx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-ay8f7yhb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service69
|
|
9
|
+
} from "./location-services-82dff8wv.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-jneg3k74.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
File2,
|
|
15
|
+
Service40
|
|
16
|
+
} from "./location-services-wf7v8c8z.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin22
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin22 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
|
-
const discovery = yield*
|
|
37
|
+
const discovery = yield* Service40;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service69;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
43
43
|
const location = yield* Service83;
|
|
44
|
-
const watcher = yield*
|
|
44
|
+
const watcher = yield* Service70;
|
|
45
45
|
const changes = yield* PubSub.sliding(1);
|
|
46
46
|
const watches = yield* FiberMap.make();
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -66,13 +66,13 @@ var Plugin28 = define({
|
|
|
66
66
|
yield* updates.pipe(Stream.runForEach(publish), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
}
|
|
68
68
|
const read = Effect.fn("ConfigInstructionPlugin.read")(function* (filepath) {
|
|
69
|
-
return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new
|
|
69
|
+
return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new File2({ path: filepath, content })), Effect.catchIf((error) => error.reason._tag === "NotFound" || FSUtil.isAccessDenied(error), (error) => Effect.logDebug("instruction file skipped", { path: filepath, reason: error.reason._tag }).pipe(Effect.as(error.reason._tag === "NotFound" ? undefined : "denied"))));
|
|
70
70
|
});
|
|
71
71
|
const globalSource = Effect.fn("ConfigInstructionPlugin.globalSource")(function* () {
|
|
72
72
|
if (!discovery.global || !(yield* fs.isFile(globalFile)))
|
|
73
73
|
return [];
|
|
74
74
|
const file = yield* read(globalFile);
|
|
75
|
-
return file instanceof
|
|
75
|
+
return file instanceof File2 ? [file] : [];
|
|
76
76
|
});
|
|
77
77
|
const projectSource = Effect.fn("ConfigInstructionPlugin.projectSource")(function* () {
|
|
78
78
|
if (!project)
|
|
@@ -82,7 +82,7 @@ var Plugin28 = define({
|
|
|
82
82
|
const files = yield* Effect.forEach(discovered, read, { concurrency: "unbounded" });
|
|
83
83
|
if (files.some((file) => file === undefined))
|
|
84
84
|
return unavailable3;
|
|
85
|
-
return files.filter((file) => file instanceof
|
|
85
|
+
return files.filter((file) => file instanceof File2);
|
|
86
86
|
});
|
|
87
87
|
const match = Effect.fn("ConfigInstructionPlugin.match")(function* (source) {
|
|
88
88
|
const expanded = source.startsWith("~/") ? path.join(global.home, source.slice(2)) : source;
|
|
@@ -117,7 +117,7 @@ var Plugin28 = define({
|
|
|
117
117
|
continue;
|
|
118
118
|
watched.add(resolved);
|
|
119
119
|
const file = yield* read(resolved);
|
|
120
|
-
if (file instanceof
|
|
120
|
+
if (file instanceof File2)
|
|
121
121
|
files.push(file);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
@@ -136,7 +136,7 @@ var Plugin28 = define({
|
|
|
136
136
|
const reconfigure = Effect.fn("ConfigInstructionPlugin.reconfigure")(function* () {
|
|
137
137
|
const entries = yield* config.entries();
|
|
138
138
|
const sources = Array.from(new Set(entries.flatMap((entry) => entry.type === "document" ? entry.info.instructions ?? [] : [])));
|
|
139
|
-
const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new
|
|
139
|
+
const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new File2({ path: url, content })), Effect.catchCause((cause) => Effect.logWarning("failed to fetch instruction url", { url, cause }).pipe(Effect.as(configured.remote.get(url))))), { concurrency: 4 });
|
|
140
140
|
configured.sources = sources;
|
|
141
141
|
configured.remote = new Map(fetched.filter((file) => file !== undefined).map((file) => [file.path, file]));
|
|
142
142
|
}, (effect) => lock.withPermit(effect));
|
|
@@ -180,4 +180,4 @@ function isUrl(source) {
|
|
|
180
180
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { Plugin22, exports_instruction };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-ak39xwrx.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-tj0mzswe.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service56,
|
|
9
|
+
Event10
|
|
10
|
+
} from "./location-services-x2b74qpx.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -39,7 +39,7 @@ var NON_CHAT_TYPES = ["realtime", "embedding", "reranking"];
|
|
|
39
39
|
var ModelsDevPlugin2 = define({
|
|
40
40
|
id: "opencode.models.dev",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const modelsDev = yield*
|
|
42
|
+
const modelsDev = yield* Service56;
|
|
43
43
|
const bus = yield* Service86;
|
|
44
44
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
45
45
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -73,7 +73,7 @@ var ModelsDevPlugin2 = define({
|
|
|
73
73
|
loaded.data = snapshots(data);
|
|
74
74
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
75
75
|
};
|
|
76
|
-
yield* bus.subscribe(
|
|
76
|
+
yield* bus.subscribe(Event10.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
77
77
|
const latest = yield* modelsDev.get();
|
|
78
78
|
if (snapshots(latest) !== loaded.data)
|
|
79
79
|
yield* apply(latest);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key3,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key3 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,14 +36,14 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key3
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-ay8f7yhb.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4,
|
|
17
17
|
preferencePaths: () => preferencePaths2,
|
|
18
18
|
stripPreferenceMetadata: () => stripPreferenceMetadata2,
|
|
19
19
|
systemDirectory: () => systemDirectory2
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
25
25
|
import { Global } from "@opencode/util/global";
|
|
26
|
-
var
|
|
26
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
27
27
|
function systemDirectory2(platform = process.platform, env = process.env) {
|
|
28
28
|
if (platform === "darwin")
|
|
29
29
|
return AbsolutePath2.make("/Library/Application Support/opencode");
|
|
@@ -71,10 +71,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
71
71
|
const directories = globalRoots.slice(0, configDirectories.length).includes(current) || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
72
72
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
73
73
|
const parent = yield* fs.resolve(directory);
|
|
74
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
74
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
75
75
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
76
76
|
const globalEnabled = options?.global !== false;
|
|
77
|
-
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) =>
|
|
77
|
+
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names4.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
|
|
78
78
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
79
79
|
const preferences = globalEnabled && (options?.system ?? true) === true && process.platform === "darwin" ? (yield* Effect.filter(preferencePaths2(yield* Effect.try(() => os.userInfo().username).pipe(Effect.orElseSucceed(() => "user"))), fs.isFile)).at(0) : undefined;
|
|
80
80
|
return {
|
|
@@ -99,4 +99,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
99
99
|
};
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
-
export {
|
|
102
|
+
export { names4, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
|