@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,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./location-services-h8dg8d02.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-3zjzsznw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service19,
|
|
9
|
+
Event3
|
|
10
|
+
} from "./location-services-te4j4htj.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,8 +38,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
42
|
-
const bus = yield*
|
|
41
|
+
const modelsDev = yield* Service19;
|
|
42
|
+
const bus = yield* Service84;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
45
45
|
for (const provider of loaded.data) {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./location-services-4s6xf1pa.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
14
|
-
import {
|
|
15
|
-
Service44
|
|
16
|
-
} from "./form-nvmcdg7v.js";
|
|
12
|
+
Service60
|
|
13
|
+
} from "./location-services-fcjdc125.js";
|
|
17
14
|
import {
|
|
18
15
|
Service63
|
|
19
|
-
} from "./
|
|
16
|
+
} from "./location-services-qwtectgj.js";
|
|
17
|
+
import {
|
|
18
|
+
Service66
|
|
19
|
+
} from "./location-services-kw7rcx37.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service22,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-8y5sne0z.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-services-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service73,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-services-wc20fpmx.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError7,
|
|
36
|
+
Service57
|
|
37
|
+
} from "./location-services-8waf3vza.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service27
|
|
40
|
+
} from "./location-services-2vke4pdf.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-services-64j9cy2v.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-services-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input12,
|
|
53
|
+
Plugin: () => Plugin31,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name12
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name12 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input12 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin31 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service27;
|
|
124
|
+
const jobs = yield* Service63;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service60;
|
|
127
|
+
const access = yield* Service22;
|
|
128
|
+
const shell = yield* Service57;
|
|
129
|
+
const shellSelect = yield* Service73;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service66;
|
|
132
|
+
const config = yield* Service70;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin6 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name12,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin6 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name12,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input12,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin6 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError7({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name12,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name12];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin31, exports_shell };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service60,
|
|
6
|
+
node63
|
|
7
|
+
} from "./location-services-fcjdc125.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service14,
|
|
17
|
+
node: () => node16,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service14 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service60;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service14.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node16 = makeLocationNode({ service: Service14, layer, deps: [node63] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service14, readText2, syncTextBom2, node16, exports_file_mutation };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event19,
|
|
13
|
+
ID: () => ID16,
|
|
14
|
+
Info: () => Info27,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID16 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info27 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event19 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID16, Current3, Info27, UpdateInput4, Event19, Vcs3, exports_schema };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-n7d88tpn.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-70yx33t2.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-s8d7rejh.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-c1fqxshp.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-y88c22bj.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-services-h9wp8z5w.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-services-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load4,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-rj3eygr5.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-services-h8dg8d02.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-wc20fpmx.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Options: () => Options5,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service41,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
24
|
available: () => available2,
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
configured: () => configured5,
|
|
26
|
+
layer: () => layer18,
|
|
27
|
+
node: () => node44
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,25 +36,25 @@ import { Global } from "@opencode/util/global";
|
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
-
var
|
|
39
|
+
var Options5 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service41 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
57
|
-
const bus = yield*
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service41, Effect.gen(function* () {
|
|
57
|
+
const bus = yield* Service84;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
60
60
|
const runFork = Effect.runForkWith(context);
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError5({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service41.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
266
|
-
deps: [
|
|
262
|
+
var layer18 = makeLayer();
|
|
263
|
+
var configured5 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service41,
|
|
265
|
+
layer: options === undefined ? layer18 : makeLayer(options),
|
|
266
|
+
deps: [node88, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node44 = configured5();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options5, UnavailableError3, NotFoundError5, Service41, layer18, configured5, node44, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./location-services-4s6xf1pa.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./location-services-xdrba4jw.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin38
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin38 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service70;
|
|
26
|
+
const image = yield* Service49;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin46 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin38, exports_image };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-0e8vet4q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin9,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin9 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin21 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin21 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin9, exports_tavily };
|