@opencode/core 0.0.0-dev-21105 → 0.0.0-dev-21106
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{form-srbwjet0.js → location-services-0by4cv8g.js} +13 -13
- package/dist/chunks/{form-w5h454c3.js → location-services-0d56ha6q.js} +25 -22
- package/dist/chunks/{form-y3446w5g.js → location-services-0e8vet4q.js} +11 -11
- package/dist/chunks/{form-0vawvjhj.js → location-services-0ft0yr9w.js} +6 -6
- package/dist/chunks/{form-da9q9y1p.js → location-services-0rv9k1bd.js} +41 -41
- package/dist/chunks/{form-0vbcp93d.js → location-services-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-g3tb3bkv.js → location-services-0wxtr9f2.js} +8 -8
- package/dist/chunks/{form-1gfgk62c.js → location-services-0xezjjjn.js} +8 -8
- package/dist/chunks/{form-f25jab1e.js → location-services-11ndvexq.js} +12 -12
- package/dist/chunks/{form-e0g3rkc8.js → location-services-19rsyt1c.js} +1 -1
- package/dist/chunks/{form-4ekscj25.js → location-services-1j8yzcpc.js} +5 -5
- package/dist/chunks/{form-hg42hcse.js → location-services-1rhdwmpp.js} +15 -15
- package/dist/chunks/{form-8ywxhbtv.js → location-services-1tgfvtjy.js} +17 -17
- package/dist/chunks/{form-a7ksjw1b.js → location-services-1tmzd80p.js} +10 -10
- package/dist/chunks/{form-901f95hp.js → location-services-1vpyt6w9.js} +20 -20
- package/dist/chunks/{form-60qrxp7p.js → location-services-1ze76vsx.js} +50 -50
- package/dist/chunks/{form-etdkazj2.js → location-services-278mzw34.js} +9 -9
- package/dist/chunks/{form-7eenkzgj.js → location-services-2b73xj9b.js} +3 -3
- package/dist/chunks/{form-epy0rrb9.js → location-services-2j00ac8a.js} +16 -16
- package/dist/chunks/{form-24q4p3nw.js → location-services-2pqjgx71.js} +34 -34
- package/dist/chunks/{form-djszqvmq.js → location-services-2sejkfem.js} +9 -9
- package/dist/chunks/{form-qa2wssbs.js → location-services-2vke4pdf.js} +93 -93
- package/dist/chunks/{form-dvhv3b5e.js → location-services-30h8q41b.js} +17 -17
- package/dist/chunks/{form-fnvzehws.js → location-services-33qe6zx4.js} +32 -32
- package/dist/chunks/{form-w2qf73x2.js → location-services-34kgva51.js} +16 -13
- package/dist/chunks/{form-12a633mt.js → location-services-38596mmf.js} +3 -3
- package/dist/chunks/{form-14hxsfdw.js → location-services-3ez2zsgj.js} +9 -9
- package/dist/chunks/{form-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3hwn7j4h.js → location-services-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-na2mqbmn.js → location-services-3mqpzj3c.js} +35 -35
- package/dist/chunks/{form-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-5az94262.js → location-services-3zjzsznw.js} +21 -21
- package/dist/chunks/{form-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-xex3azfv.js → location-services-42ta3yv6.js} +19 -19
- package/dist/chunks/{form-1g9yzgxb.js → location-services-4bjwhnbm.js} +23 -23
- package/dist/chunks/{form-v871hv85.js → location-services-4dx3mpd0.js} +3 -3
- package/dist/chunks/{form-beh5shbh.js → location-services-4s6xf1pa.js} +51 -51
- package/dist/chunks/{form-6rm5yzkt.js → location-services-4v7ngy20.js} +4 -4
- package/dist/chunks/{form-h4pp1fb1.js → location-services-5220mkhv.js} +13 -13
- package/dist/chunks/{form-z501vt5b.js → location-services-52tmw1jj.js} +12 -12
- package/dist/chunks/{form-ya7tddt7.js → location-services-548m99gt.js} +20 -20
- package/dist/chunks/{form-54ma36ye.js → location-services-54ma36ye.js} +1 -1
- package/dist/chunks/{form-cwcv4v74.js → location-services-58r1jg05.js} +19 -19
- package/dist/chunks/{form-yx0rmv9r.js → location-services-5bdbc12f.js} +6 -6
- package/dist/chunks/{form-2gytb7wg.js → location-services-5e8c4hth.js} +12 -12
- package/dist/chunks/{form-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-nkr0z86r.js → location-services-5r6s66xm.js} +29 -29
- package/dist/chunks/{form-tpw6cwsb.js → location-services-5yzzbxa7.js} +8 -8
- package/dist/chunks/{form-pkywwt6e.js → location-services-62b6r9gt.js} +14 -14
- package/dist/chunks/{form-4g66ymys.js → location-services-64j9cy2v.js} +4 -4
- package/dist/chunks/{form-8pe5aa2t.js → location-services-653zxppr.js} +9 -9
- package/dist/chunks/{form-4kv7khez.js → location-services-67kwpczx.js} +11 -11
- package/dist/chunks/{form-6nhx3y9w.js → location-services-6anx6hye.js} +8 -8
- package/dist/chunks/{form-7g33d3vx.js → location-services-6b6pzbqj.js} +10 -10
- package/dist/chunks/{form-965qm7dd.js → location-services-6g6g97n0.js} +10 -10
- package/dist/chunks/{form-wk5z6jzv.js → location-services-6hjx5zpb.js} +9 -9
- package/dist/chunks/{form-gkkd4eh1.js → location-services-6jcfgqfv.js} +24 -24
- package/dist/chunks/{form-mcpys3nw.js → location-services-6p69xtgv.js} +15 -15
- package/dist/chunks/{form-6xb47vfp.js → location-services-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-mb14aw74.js → location-services-706phk7x.js} +2 -2
- package/dist/chunks/{form-3yt14ahe.js → location-services-70yx33t2.js} +6 -6
- package/dist/chunks/{form-mjagy123.js → location-services-762r0j46.js} +5 -5
- package/dist/chunks/{form-775gj3j1.js → location-services-775gj3j1.js} +2 -2
- package/dist/chunks/{form-cdv1e2mm.js → location-services-77yn7j3n.js} +32 -32
- package/dist/chunks/{form-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-2hr5nhwa.js → location-services-7dbmnfn4.js} +8 -8
- package/dist/chunks/{form-qgn6gcr1.js → location-services-7dqw4kz8.js} +5 -5
- package/dist/chunks/{form-scvg7r3v.js → location-services-7jyptewp.js} +20 -20
- package/dist/chunks/{form-2qb81z4b.js → location-services-7kk48pxy.js} +18 -18
- package/dist/chunks/{form-2qy1ne1f.js → location-services-7tkggmat.js} +24 -24
- package/dist/chunks/{form-95s8xwj6.js → location-services-7xxhw447.js} +5 -5
- package/dist/chunks/{form-vdwbg7py.js → location-services-83peqxcv.js} +6 -6
- package/dist/chunks/{form-84txncab.js → location-services-84txncab.js} +1 -1
- package/dist/chunks/{form-2a813mr4.js → location-services-859s541j.js} +13 -13
- package/dist/chunks/{form-17xwg79a.js → location-services-89226jmx.js} +3 -3
- package/dist/chunks/{form-8m6m0r52.js → location-services-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-rh9s7fne.js → location-services-8waf3vza.js} +50 -50
- package/dist/chunks/{form-prs36zqv.js → location-services-8y5sne0z.js} +18 -18
- package/dist/chunks/{form-t4c2ejeg.js → location-services-8zhzggcd.js} +14 -14
- package/dist/chunks/{form-88h1x7q7.js → location-services-979pd12m.js} +15 -15
- package/dist/chunks/{form-jgmgg0kd.js → location-services-9c2ce4kp.js} +28 -28
- package/dist/chunks/{form-npc7606s.js → location-services-9gf2ktjb.js} +8 -8
- package/dist/chunks/{form-ae1d2cnk.js → location-services-9m5zssg8.js} +50 -50
- package/dist/chunks/{form-pn0jkhpq.js → location-services-9qgs4twx.js} +9 -9
- package/dist/chunks/{form-7erbtyx3.js → location-services-9sgsjpgv.js} +9 -9
- package/dist/chunks/location-services-9sh4wc5j.js +18 -0
- package/dist/chunks/{form-79f3pcaf.js → location-services-9tqvd253.js} +4 -4
- package/dist/chunks/{form-z0tkdgf1.js → location-services-9w1af9qb.js} +22 -22
- package/dist/chunks/{form-8nhzyrxz.js → location-services-a0rzy1ew.js} +27 -27
- package/dist/chunks/{form-mwa48nkk.js → location-services-a4hk43zv.js} +17 -17
- package/dist/chunks/{form-w0t5s28e.js → location-services-ad746bsv.js} +9 -9
- package/dist/chunks/{form-148jjfyp.js → location-services-ah0p05m1.js} +4 -4
- package/dist/chunks/{form-2pdg46mn.js → location-services-ajzsbz6h.js} +8 -8
- package/dist/chunks/{form-g686f6pq.js → location-services-bacj9t34.js} +9 -9
- package/dist/chunks/{form-kkmzdvsx.js → location-services-bcrzxpkv.js} +22 -22
- package/dist/chunks/{form-0tww4wex.js → location-services-bda90bqx.js} +31 -31
- package/dist/chunks/{form-1ffvrpkg.js → location-services-bjx1sjef.js} +6 -6
- package/dist/chunks/{form-t1cks73m.js → location-services-bkmex65f.js} +9 -9
- package/dist/chunks/{form-d49tyx67.js → location-services-bnb2m7vh.js} +9 -9
- package/dist/chunks/{form-cdjk4qrs.js → location-services-bpdrcxe3.js} +43 -43
- package/dist/chunks/{form-1z57bhj8.js → location-services-br0e8tcs.js} +13 -13
- package/dist/chunks/{form-v0es1rhs.js → location-services-btvs9fn2.js} +9 -9
- package/dist/chunks/{form-gh864679.js → location-services-bzh6wz94.js} +11 -11
- package/dist/chunks/{form-c1fqxshp.js → location-services-c1fqxshp.js} +3 -3
- package/dist/chunks/{form-mhpqhn3p.js → location-services-cfz2qr34.js} +31 -31
- package/dist/chunks/{form-jrdn16tm.js → location-services-chj935f8.js} +11 -11
- package/dist/chunks/{form-apds20hx.js → location-services-cknd69cm.js} +8 -8
- package/dist/chunks/{form-wtywgeq9.js → location-services-cygrsq30.js} +25 -25
- package/dist/chunks/{form-sxzvkvgj.js → location-services-d0k1g5nx.js} +6 -6
- package/dist/chunks/{form-bbgghgw2.js → location-services-degx4mba.js} +28 -28
- package/dist/chunks/{form-tjtx32p0.js → location-services-dgym8gdj.js} +48 -48
- package/dist/chunks/{form-ghp9faw8.js → location-services-djaw7b23.js} +11 -11
- package/dist/chunks/{form-645n92dz.js → location-services-dmyw4w9k.js} +13 -13
- package/dist/chunks/{form-q1he1383.js → location-services-dpfc21fw.js} +29 -29
- package/dist/chunks/{form-dqxsqydv.js → location-services-dqxsqydv.js} +1 -1
- package/dist/chunks/{form-8cms378j.js → location-services-dthcv1wz.js} +8 -8
- package/dist/chunks/{form-1xw87vn2.js → location-services-e01edv31.js} +6 -6
- package/dist/chunks/{form-5qd3pb7m.js → location-services-e3qxr5gk.js} +2 -2
- package/dist/chunks/{form-eb2ky45d.js → location-services-e3x2st6d.js} +26 -26
- package/dist/chunks/{form-ejeb2f46.js → location-services-e5y4m074.js} +11 -11
- package/dist/chunks/{form-rvh56s2y.js → location-services-e6eeg2pk.js} +21 -21
- package/dist/chunks/{form-e80seqcp.js → location-services-e80seqcp.js} +1 -1
- package/dist/chunks/{form-a89e0tac.js → location-services-eahhehpg.js} +4 -4
- package/dist/chunks/{form-d4cbjqqc.js → location-services-eegbd1nb.js} +10 -10
- package/dist/chunks/{form-eej6y6fw.js → location-services-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-a6et1nw0.js → location-services-er1tw77y.js} +20 -20
- package/dist/chunks/{form-0bj3nf4q.js → location-services-eswm4xzm.js} +3 -3
- package/dist/chunks/{form-8w33d7yj.js → location-services-evx684vz.js} +6 -6
- package/dist/chunks/{form-9e6jq2sd.js → location-services-fayr1t93.js} +69 -69
- package/dist/chunks/{form-1sgdx4a3.js → location-services-fcjdc125.js} +24 -24
- package/dist/chunks/location-services-fcy631f0.js +62 -0
- package/dist/chunks/{form-ksghmgr8.js → location-services-ffsgb9yq.js} +35 -35
- package/dist/chunks/{form-xrm6a1t7.js → location-services-fghpxytk.js} +9 -9
- package/dist/chunks/location-services-fn9t717r.js +59 -0
- package/dist/chunks/{form-jcjsg0yw.js → location-services-ft8ey32c.js} +1 -1
- package/dist/chunks/{form-y23yj848.js → location-services-fxh8jgjs.js} +18 -18
- package/dist/chunks/{form-7gdkps73.js → location-services-fzg7cpa7.js} +15 -15
- package/dist/chunks/{form-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-f4a633pw.js → location-services-ge04r35n.js} +5 -5
- package/dist/chunks/{form-arm62a2s.js → location-services-gnbn4h0h.js} +2 -2
- package/dist/chunks/{form-tsbpfnxq.js → location-services-gqgz49fy.js} +29 -29
- package/dist/chunks/{form-ntmr2xz8.js → location-services-grzrst1y.js} +16 -16
- package/dist/chunks/{form-1q3h93r0.js → location-services-gvdcyqq1.js} +13 -13
- package/dist/chunks/{form-7bdytd2w.js → location-services-gywhxt4f.js} +10 -10
- package/dist/chunks/{form-b36rn7vd.js → location-services-h462p6mc.js} +16 -16
- package/dist/chunks/{form-5atndy4c.js → location-services-h4x85t77.js} +23 -23
- package/dist/chunks/{form-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-h7s7r6s9.js → location-services-h7s7r6s9.js} +2 -2
- package/dist/chunks/{form-deefrv65.js → location-services-h8dg8d02.js} +12 -12
- package/dist/chunks/{form-e04zm3w2.js → location-services-h9kwetak.js} +15 -15
- package/dist/chunks/{form-yrcj3v3g.js → location-services-h9wp8z5w.js} +4 -4
- package/dist/chunks/{form-qenf3jww.js → location-services-hbq4e136.js} +13 -13
- package/dist/chunks/{form-hgz4x7wa.js → location-services-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-t5xyb1ja.js → location-services-htmqamza.js} +25 -25
- package/dist/chunks/{form-gn31e51v.js → location-services-hy1va3t8.js} +11 -11
- package/dist/chunks/{form-c5j6ww4m.js → location-services-hz8xhk9p.js} +11 -11
- package/dist/chunks/{form-91qna3x0.js → location-services-j09zfasm.js} +3 -3
- package/dist/chunks/{form-gtv92395.js → location-services-jeb2epxq.js} +22 -22
- package/dist/chunks/{form-8rqycdgd.js → location-services-jfqtm2ew.js} +7 -7
- package/dist/chunks/{form-0y5h5hqm.js → location-services-jz10bmv8.js} +8 -8
- package/dist/chunks/{form-qa91yeft.js → location-services-k1140vbz.js} +13 -13
- package/dist/chunks/{form-1bmjn0qh.js → location-services-k2gjqwpp.js} +8 -8
- package/dist/chunks/{form-ykmtdm3w.js → location-services-k3bj973j.js} +35 -35
- package/dist/chunks/{form-jtsn5x2a.js → location-services-k6e47qvb.js} +9 -9
- package/dist/chunks/{form-j6ktnsbj.js → location-services-k82gsvwq.js} +12 -12
- package/dist/chunks/{form-8gngkb78.js → location-services-kbckpb3k.js} +11 -11
- package/dist/chunks/location-services-kd6e3p5z.js +26 -0
- package/dist/chunks/{form-hq3c8me3.js → location-services-khmqacep.js} +4 -4
- package/dist/chunks/{form-1gyqrq6p.js → location-services-kqdsm7er.js} +22 -22
- package/dist/chunks/{form-mv3hx7wz.js → location-services-kqv3x6rj.js} +9 -9
- package/dist/chunks/{form-h6tscvwz.js → location-services-ks2azddx.js} +11 -11
- package/dist/chunks/{form-j4fmqw4y.js → location-services-kw2spxn4.js} +2 -2
- package/dist/chunks/{form-db0xh7a7.js → location-services-kw7rcx37.js} +56 -56
- package/dist/chunks/{form-kwb1v3vj.js → location-services-kwb1v3vj.js} +1 -1
- package/dist/chunks/{form-y82mnqt8.js → location-services-m2svmn72.js} +3 -3
- package/dist/chunks/{form-r0fd0dmv.js → location-services-m8d65krt.js} +8 -8
- package/dist/chunks/{form-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-maspj1v3.js → location-services-maspj1v3.js} +1 -1
- package/dist/chunks/{form-2w2jw15j.js → location-services-mb2rzwp2.js} +21 -21
- package/dist/chunks/{form-jmktzpps.js → location-services-mnxc4h6z.js} +27 -27
- package/dist/chunks/location-services-mwjx7n7y.js +513 -0
- package/dist/chunks/{form-tdch55bj.js → location-services-mwn5775p.js} +9 -9
- package/dist/chunks/{form-c2sed5cq.js → location-services-n7d88tpn.js} +2 -2
- package/dist/chunks/{form-ak3qsp58.js → location-services-n9s1y3ra.js} +1 -1
- package/dist/chunks/{form-0js0xjhh.js → location-services-nk454yk1.js} +3 -3
- package/dist/chunks/{form-wz5ft07p.js → location-services-ntk88cs4.js} +4 -4
- package/dist/chunks/{form-z3t7mm12.js → location-services-ny5mns9s.js} +18 -18
- package/dist/chunks/{form-j0rkyft6.js → location-services-p1342kz7.js} +16 -16
- package/dist/chunks/{form-4qa0gxex.js → location-services-pby3wrs0.js} +14 -14
- package/dist/chunks/{form-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{form-6pc27hjz.js → location-services-py3kkmfq.js} +6 -6
- package/dist/chunks/{form-xxzne356.js → location-services-q3cd1dmr.js} +13 -13
- package/dist/chunks/{form-xbeqzkq0.js → location-services-qc2c1fqt.js} +39 -39
- package/dist/chunks/{form-g5j39fp8.js → location-services-qcjrpjwa.js} +7 -7
- package/dist/chunks/{form-qnc92qwc.js → location-services-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{form-8akyp47s.js → location-services-qv7ea5pm.js} +23 -23
- package/dist/chunks/{form-nvmcdg7v.js → location-services-qwtectgj.js} +16 -16
- package/dist/chunks/{form-yp2x3t23.js → location-services-r8xr0va3.js} +4 -4
- package/dist/chunks/{form-v99yejb3.js → location-services-rbynycgd.js} +15 -15
- package/dist/chunks/{form-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-rert0e01.js → location-services-rert0e01.js} +2 -2
- package/dist/chunks/{form-rj3eygr5.js → location-services-rj3eygr5.js} +2 -2
- package/dist/chunks/{form-re7rb3aw.js → location-services-rma58dd1.js} +37 -37
- package/dist/chunks/{form-jej310j1.js → location-services-rnhrd9ke.js} +19 -19
- package/dist/chunks/{form-8d85tyyw.js → location-services-rntq0wr5.js} +1 -1
- package/dist/chunks/{form-2vs2nh1n.js → location-services-rpg9c19m.js} +4 -4
- package/dist/chunks/{form-01a0dr57.js → location-services-rpsbzg2t.js} +24 -24
- package/dist/chunks/{form-7v6bcey3.js → location-services-ry4dxtnx.js} +8 -8
- package/dist/chunks/{form-9p9gtwv3.js → location-services-ryzasrd4.js} +45 -45
- package/dist/chunks/{form-0thqkfh6.js → location-services-s5btqgfz.js} +58 -58
- package/dist/chunks/{form-pwtnz7b5.js → location-services-s60aqfjt.js} +27 -27
- package/dist/chunks/{form-6yvzt56s.js → location-services-s7zbh9mg.js} +27 -27
- package/dist/chunks/{form-t550f9t1.js → location-services-s8d7rejh.js} +4 -4
- package/dist/chunks/{form-q6atrn4y.js → location-services-s8n139ky.js} +4 -4
- package/dist/chunks/{form-sa8ekw3f.js → location-services-sa8ekw3f.js} +2 -2
- package/dist/chunks/{form-0cnk6m96.js → location-services-scp5ngm2.js} +23 -23
- package/dist/chunks/{form-924pcbt5.js → location-services-sfvwbqhk.js} +4 -4
- package/dist/chunks/{form-319ctarb.js → location-services-sh5rpbpc.js} +1 -1
- package/dist/chunks/{form-5sdmzxjs.js → location-services-ssvhepmq.js} +32 -32
- package/dist/chunks/{form-g3ew9s85.js → location-services-sycxn284.js} +18 -18
- package/dist/chunks/{form-syv4x271.js → location-services-syv4x271.js} +1 -1
- package/dist/chunks/{form-p7ns44ff.js → location-services-taj93ebv.js} +16 -16
- package/dist/chunks/{form-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-98n93haa.js → location-services-tbznjfkf.js} +1 -1
- package/dist/chunks/{form-89znhe33.js → location-services-tcezcvh9.js} +4 -4
- package/dist/chunks/{form-k4kf9yqz.js → location-services-tdcr03np.js} +9 -9
- package/dist/chunks/{form-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{form-43bw2k76.js → location-services-te4j4htj.js} +33 -33
- package/dist/chunks/{form-76njjj1w.js → location-services-tf6n1kae.js} +49 -49
- package/dist/chunks/{form-tm0kqsz3.js → location-services-tm0kqsz3.js} +1 -1
- package/dist/chunks/{form-wasck064.js → location-services-tnz01zr5.js} +10 -10
- package/dist/chunks/{form-ekd234cw.js → location-services-tt34s15d.js} +89 -89
- package/dist/chunks/{form-56301932.js → location-services-tyekzr88.js} +3 -3
- package/dist/chunks/{form-tyytaxap.js → location-services-tyytaxap.js} +1 -1
- package/dist/chunks/{form-f8t4d16m.js → location-services-v1szxf8c.js} +15 -15
- package/dist/chunks/{form-erd65f1s.js → location-services-v6rz958s.js} +27 -27
- package/dist/chunks/{form-v7p4zvkq.js → location-services-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{form-9v2kfm1y.js → location-services-vgr4p7dw.js} +22 -22
- package/dist/chunks/{form-3n8x12gt.js → location-services-vqvqkmng.js} +18 -18
- package/dist/chunks/{form-jcabavvb.js → location-services-vr5k6743.js} +15 -15
- package/dist/chunks/{form-dr0qdjyn.js → location-services-vyq134yh.js} +26 -26
- package/dist/chunks/{form-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-g6yfr6ja.js → location-services-w2h15q85.js} +5 -5
- package/dist/chunks/{form-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-1ae71dfs.js → location-services-wc20fpmx.js} +19 -19
- package/dist/chunks/{form-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{form-c2r6z7pt.js → location-services-wfsnrcf2.js} +3 -3
- package/dist/chunks/{form-eawn7k72.js → location-services-wygx0h61.js} +19 -19
- package/dist/chunks/{form-x661k3y3.js → location-services-x661k3y3.js} +1 -1
- package/dist/chunks/{form-j4kckz96.js → location-services-xa9ys1dk.js} +34 -34
- package/dist/chunks/{form-x18hf8e6.js → location-services-xbvnm2ed.js} +7 -7
- package/dist/chunks/{form-sqmzwr9m.js → location-services-xdrba4jw.js} +9 -9
- package/dist/chunks/{form-drwq78ky.js → location-services-xfkkasph.js} +4 -4
- package/dist/chunks/{form-qfwkm3zm.js → location-services-xk6vykwg.js} +151 -151
- package/dist/chunks/{form-fww2ha2b.js → location-services-xxa1172v.js} +10 -10
- package/dist/chunks/{form-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-y71avatq.js → location-services-y71avatq.js} +1 -1
- package/dist/chunks/{form-0b5g1ynf.js → location-services-y88c22bj.js} +4 -4
- package/dist/chunks/{form-jjjszhzk.js → location-services-ydwws4tr.js} +27 -27
- package/dist/chunks/{form-0j6p9vqs.js → location-services-yqad5krn.js} +28 -28
- package/dist/chunks/{form-pnzf6mjf.js → location-services-yqc6bamn.js} +1 -1
- package/dist/chunks/{form-8c12240n.js → location-services-ysm8xkcf.js} +36 -36
- package/dist/chunks/{form-srshcccg.js → location-services-ytqr7vs8.js} +2 -2
- package/dist/chunks/location-services-yy75bg6z.js +257 -0
- package/dist/chunks/{form-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-enfjksvz.js → location-services-z6171qj4.js} +36 -36
- package/dist/chunks/{form-gj71zhbs.js → location-services-z6c3x22d.js} +5 -5
- package/dist/chunks/{form-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-dsy27fts.js → location-services-zsb6ammf.js} +3 -3
- package/dist/chunks/{form-hgwjhw5g.js → location-services-ztak1syt.js} +12 -12
- package/dist/chunks/{form-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/chunks/{form-0wws6hjz.js → location-services-zy513mdr.js} +11 -11
- package/dist/chunks/{form-1mw1ka0c.js → location-services-zysvs9g8.js} +41 -41
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -205
- package/dist/config/plugin/compaction.js +155 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -367
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -105
- package/dist/git.js +10 -10
- 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 +93 -93
- 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 +359 -358
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -355
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +10 -0
- package/dist/model.js +96 -96
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +123 -123
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- 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 +349 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +223 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +134 -133
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -2
- package/dist/session/runner/step.js +128 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -209
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +130 -130
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -208
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -212
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/model-retry.d.ts +14 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/form-4v7qdvcn.js +0 -18
- package/dist/chunks/form-bp1dmp05.js +0 -257
- package/dist/chunks/form-e9jspw56.js +0 -26
- package/dist/chunks/form-n57xz5tc.js +0 -513
- package/dist/chunks/form-scgrse2b.js +0 -80
- /package/dist/chunks/{form-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → location-services-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → location-services-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → location-services-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → location-services-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → location-services-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pkyv6v7h.js → location-services-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{form-pyv0edze.js → location-services-pyv0edze.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wjj7prxr.js → location-services-wjj7prxr.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
Service82,
|
|
6
|
-
node86
|
|
7
|
-
} from "./form-ntmr2xz8.js";
|
|
3
|
+
} from "./location-services-z5v4ffb3.js";
|
|
8
4
|
import {
|
|
9
5
|
Service79,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
6
|
+
node83
|
|
7
|
+
} from "./location-services-grzrst1y.js";
|
|
8
|
+
import {
|
|
9
|
+
Service18,
|
|
10
|
+
node20
|
|
11
|
+
} from "./location-services-vqvqkmng.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names3
|
|
15
|
+
} from "./location-services-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options2,
|
|
25
|
+
Service: () => Service17,
|
|
26
|
+
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer10,
|
|
29
|
+
node: () => node19,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service17 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service79;
|
|
63
|
+
const ripgrep = yield* Service18;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service17.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service79;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service17.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service17.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer10 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service79;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured2(options) {
|
|
186
|
+
return makeLocationNode({ service: Service17, layer: layer10(options), deps: [node83, node20] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node19 = configured2();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options2, Service17, ripgrepLayer2, fffLayer2, layer10, configured2, node19, exports_search };
|
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-tyekzr88.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./location-services-d0k1g5nx.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9sh4wc5j.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-h9wp8z5w.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-bzh6wz94.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-bda90bqx.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service29
|
|
21
|
+
} from "./location-services-tt34s15d.js";
|
|
22
|
+
import {
|
|
23
|
+
retry2
|
|
24
|
+
} from "./location-services-fcy631f0.js";
|
|
22
25
|
import {
|
|
23
26
|
__export
|
|
24
|
-
} from "./
|
|
27
|
+
} from "./location-services-9rqn6x4v.js";
|
|
25
28
|
|
|
26
29
|
// src/session/generate.ts
|
|
27
30
|
var exports_generate = {};
|
|
@@ -32,12 +35,12 @@ __export(exports_generate, {
|
|
|
32
35
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
36
|
import { Effect } from "effect";
|
|
34
37
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
38
|
+
const instances = yield* Service54;
|
|
36
39
|
const database = yield* Service86;
|
|
37
40
|
const llm = yield* LLMClient.Service;
|
|
38
41
|
return yield* Effect.gen(function* () {
|
|
39
42
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
43
|
+
const context = yield* Service29;
|
|
41
44
|
const selection = yield* context.select(input.session.id);
|
|
42
45
|
const model = yield* context.resolveModel(selection.session);
|
|
43
46
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -65,7 +68,7 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
65
68
|
providerID: model.ref.providerID,
|
|
66
69
|
modelID: model.ref.id
|
|
67
70
|
});
|
|
68
|
-
const response = yield* llm.generate(prepared.request, prepared.options);
|
|
71
|
+
const response = yield* llm.generate(prepared.request, prepared.options).pipe(retry2);
|
|
69
72
|
yield* Effect.logInfo("session generation usage diagnostic", { usage: response.usage });
|
|
70
73
|
return response.text;
|
|
71
74
|
}).pipe(instances.provide(input.session));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-tdstcens.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-7xxhw447.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./location-services-d0k1g5nx.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service57
|
|
9
|
+
} from "./location-services-8waf3vza.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service54;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service57), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./location-services-grzrst1y.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service60
|
|
12
|
+
} from "./location-services-fcjdc125.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service18
|
|
15
|
+
} from "./location-services-vqvqkmng.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-xa9ys1dk.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service66
|
|
24
|
+
} from "./location-services-kw7rcx37.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service22
|
|
27
|
+
} from "./location-services-8y5sne0z.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input2,
|
|
37
|
+
Output: () => Output2,
|
|
38
|
+
Plugin: () => Plugin19,
|
|
39
|
+
name: () => name2,
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name2 = "glob";
|
|
46
|
+
var Input2 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input10 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output2 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin19 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service60;
|
|
70
|
+
const ripgrep = yield* Service18;
|
|
71
|
+
const location = yield* Service79;
|
|
72
|
+
const access = yield* Service22;
|
|
73
|
+
const permission = yield* Service66;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name2,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input2,
|
|
79
|
+
output: Output2,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name2,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin11 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name2, Input2, Output2, toModelContent2, Plugin19, exports_glob };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-services-h8dg8d02.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./location-services-grzrst1y.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
15
|
ID12,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Service76,
|
|
20
|
+
node80,
|
|
21
21
|
Event16
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-services-vgr4p7dw.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-services-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -37,11 +37,11 @@ __export(exports_model2, {
|
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service75,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node79,
|
|
45
45
|
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
@@ -69,12 +69,12 @@ var Cost2 = Model.Cost;
|
|
|
69
69
|
var Ref2 = Model.Ref;
|
|
70
70
|
var Info20 = Model.Info;
|
|
71
71
|
|
|
72
|
-
class
|
|
72
|
+
class Service75 extends Context.Service()("@opencode/Model") {
|
|
73
73
|
}
|
|
74
|
-
var layer = Layer.effect(
|
|
75
|
-
const providers = yield*
|
|
76
|
-
const bus = yield*
|
|
77
|
-
const location = yield*
|
|
74
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
75
|
+
const providers = yield* Service76;
|
|
76
|
+
const bus = yield* Service84;
|
|
77
|
+
const location = yield* Service79;
|
|
78
78
|
let input;
|
|
79
79
|
const state = create3({
|
|
80
80
|
name: "model",
|
|
@@ -210,7 +210,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
210
210
|
});
|
|
211
211
|
});
|
|
212
212
|
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
213
|
-
return
|
|
213
|
+
return Service75.of({
|
|
214
214
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
215
215
|
reload,
|
|
216
216
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -229,7 +229,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
229
229
|
})
|
|
230
230
|
});
|
|
231
231
|
}));
|
|
232
|
-
var
|
|
232
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [node80, node88, node83] });
|
|
233
233
|
var PREFERRED_FREE = [
|
|
234
234
|
"big-pickle",
|
|
235
235
|
"deepseek-v4.1-flash-free",
|
|
@@ -261,4 +261,4 @@ function parse5(input) {
|
|
|
261
261
|
};
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info20,
|
|
264
|
+
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info20, Service75, node79, supportsText2, compatibility2, parse5, exports_model2, Event15 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-tyekzr88.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./location-services-h8dg8d02.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./location-services-d0k1g5nx.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
14
|
ID4,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service42
|
|
16
|
+
} from "./location-services-dpfc21fw.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-services-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-services-70yx33t2.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-services-c1fqxshp.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-services-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,11 +41,11 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
44
|
+
const instances = yield* Service54;
|
|
45
45
|
const database = yield* Service86;
|
|
46
|
-
const bus = yield*
|
|
46
|
+
const bus = yield* Service84;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
48
|
+
const snapshot = yield* Service42;
|
|
49
49
|
const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
@@ -73,10 +73,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
77
|
-
const bus = yield*
|
|
76
|
+
const instances = yield* Service54;
|
|
77
|
+
const bus = yield* Service84;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service42;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
82
|
const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
|