@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-services-h8dg8d02.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node75
|
|
7
|
+
} from "./location-services-7tkggmat.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service13,
|
|
10
|
+
node15
|
|
11
|
+
} from "./location-services-a0rzy1ew.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service20
|
|
14
|
+
} from "./location-services-xxa1172v.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service32
|
|
17
|
+
} from "./location-services-9sh4wc5j.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
node27,
|
|
20
|
+
ID3
|
|
21
|
+
} from "./location-services-9w1af9qb.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service2,
|
|
24
|
+
node3
|
|
25
|
+
} from "./location-services-5yzzbxa7.js";
|
|
26
26
|
import {
|
|
27
27
|
requirements2,
|
|
28
28
|
guarded2,
|
|
29
29
|
list2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-mwjx7n7y.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make3,
|
|
33
33
|
LoadError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-services-62b6r9gt.js";
|
|
35
35
|
import {
|
|
36
36
|
Updated2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service3,
|
|
38
|
+
node4
|
|
39
|
+
} from "./location-services-gvdcyqq1.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service4,
|
|
42
|
+
node5
|
|
43
|
+
} from "./location-services-6hjx5zpb.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-services-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/plugin/supervisor.ts
|
|
49
49
|
var exports_supervisor = {};
|
|
50
50
|
__export(exports_supervisor, {
|
|
51
51
|
PluginSupervisor: () => exports_supervisor,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer3,
|
|
53
|
+
node: () => node2
|
|
54
54
|
});
|
|
55
55
|
import { Event } from "@opencode/schema/config";
|
|
56
56
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -127,7 +127,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
127
127
|
failures: [
|
|
128
128
|
...failures.values(),
|
|
129
129
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
130
|
-
id:
|
|
130
|
+
id: ID3.make(plugin.id),
|
|
131
131
|
source: plugin.source ?? { type: "builtin" },
|
|
132
132
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
133
133
|
features: { server: true, ...plugin.features }
|
|
@@ -136,15 +136,15 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
136
136
|
pending: [...pending]
|
|
137
137
|
};
|
|
138
138
|
});
|
|
139
|
-
var
|
|
140
|
-
const managed = yield*
|
|
141
|
-
const registry = yield*
|
|
142
|
-
const sdk = yield*
|
|
143
|
-
const instance = yield*
|
|
144
|
-
const sources = yield*
|
|
145
|
-
const modules = yield*
|
|
146
|
-
const bus = yield*
|
|
147
|
-
const updates = yield*
|
|
139
|
+
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
140
|
+
const managed = yield* Service20;
|
|
141
|
+
const registry = yield* Service32;
|
|
142
|
+
const sdk = yield* Service3;
|
|
143
|
+
const instance = yield* Service2;
|
|
144
|
+
const sources = yield* Service13;
|
|
145
|
+
const modules = yield* make3();
|
|
146
|
+
const bus = yield* Service84;
|
|
147
|
+
const updates = yield* Service4;
|
|
148
148
|
const internal = yield* list2();
|
|
149
149
|
let release = yield* registry.hold();
|
|
150
150
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -220,14 +220,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
220
220
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
221
221
|
}));
|
|
222
222
|
var nodeDeps = [
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
223
|
+
node27,
|
|
224
|
+
node4,
|
|
225
|
+
node3,
|
|
226
|
+
node15,
|
|
227
|
+
node5,
|
|
228
|
+
node88,
|
|
229
229
|
Npm.node,
|
|
230
|
-
|
|
230
|
+
node75,
|
|
231
231
|
requirements2
|
|
232
232
|
];
|
|
233
233
|
function pluginSource(target) {
|
|
@@ -235,6 +235,6 @@ function pluginSource(target) {
|
|
|
235
235
|
return { type: "local", path: target };
|
|
236
236
|
return { type: "package", target };
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
239
239
|
|
|
240
|
-
export {
|
|
240
|
+
export { layer3, node2, exports_supervisor };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./location-services-4s6xf1pa.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./location-services-1ze76vsx.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp2 = {};
|
|
13
13
|
__export(exports_mcp2, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin42,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin42 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service70;
|
|
28
|
+
const mcp = yield* Service38;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin42, register2, exports_mcp2 };
|
|
@@ -1,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-tyekzr88.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./location-services-grzrst1y.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service75,
|
|
13
|
+
node79
|
|
14
|
+
} from "./location-services-3zjzsznw.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID18,
|
|
17
|
+
Service83,
|
|
18
|
+
node87
|
|
19
|
+
} from "./location-services-rpsbzg2t.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-services-70yx33t2.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-services-s8d7rejh.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-services-h9wp8z5w.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-services-bzh6wz94.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service67,
|
|
34
|
+
node71
|
|
35
|
+
} from "./location-services-pby3wrs0.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-services-kw7rcx37.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
make14
|
|
41
|
+
} from "./location-services-ajzsbz6h.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service62,
|
|
44
|
+
node66
|
|
45
|
+
} from "./location-services-s7zbh9mg.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service39,
|
|
48
|
+
node42
|
|
49
|
+
} from "./location-services-2j00ac8a.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service48,
|
|
52
|
+
node52
|
|
53
|
+
} from "./location-services-cygrsq30.js";
|
|
54
54
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
55
|
+
Service37,
|
|
56
|
+
node40
|
|
57
|
+
} from "./location-services-ssvhepmq.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
} from "./
|
|
59
|
+
Service36,
|
|
60
|
+
node39
|
|
61
|
+
} from "./location-services-scp5ngm2.js";
|
|
62
62
|
import {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
63
|
+
Service35,
|
|
64
|
+
node38
|
|
65
|
+
} from "./location-services-6p69xtgv.js";
|
|
66
66
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service30,
|
|
68
|
+
node34
|
|
69
|
+
} from "./location-services-ny5mns9s.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service31,
|
|
72
|
+
node35
|
|
73
|
+
} from "./location-services-rbynycgd.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service33,
|
|
76
|
+
node36
|
|
77
|
+
} from "./location-services-bda90bqx.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
79
|
+
Service55,
|
|
80
|
+
node58
|
|
81
|
+
} from "./location-services-q3cd1dmr.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./location-services-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
|
-
Service: () =>
|
|
89
|
+
Service: () => Service29,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
|
-
node: () =>
|
|
91
|
+
node: () => node33
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
|
-
class
|
|
95
|
+
class Service29 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
98
|
-
const agents = yield*
|
|
99
|
-
const builtins = yield*
|
|
100
|
-
const model = yield*
|
|
97
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
98
|
+
const agents = yield* Service83;
|
|
99
|
+
const builtins = yield* Service39;
|
|
100
|
+
const model = yield* Service75;
|
|
101
101
|
const db = (yield* Service86).db;
|
|
102
|
-
const discovery = yield*
|
|
103
|
-
const entries = yield*
|
|
104
|
-
const location = yield*
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
108
|
-
const request = yield*
|
|
109
|
-
const referenceInstructions = yield*
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
102
|
+
const discovery = yield* Service62;
|
|
103
|
+
const entries = yield* Service31;
|
|
104
|
+
const location = yield* Service79;
|
|
105
|
+
const mcpInstructions = yield* Service36;
|
|
106
|
+
const mcpTools = yield* Service37;
|
|
107
|
+
const models = yield* Service55;
|
|
108
|
+
const request = yield* Service33;
|
|
109
|
+
const referenceInstructions = yield* Service35;
|
|
110
|
+
const skillInstructions = yield* Service30;
|
|
111
|
+
const store = yield* Service67;
|
|
112
|
+
const registry = yield* Service48;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID18.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
165
165
|
session,
|
|
166
166
|
agent: { ...agent, info: agent.info },
|
|
167
167
|
instructions: combine2([
|
|
168
|
-
|
|
168
|
+
make14(loaded.tools.codeModeCatalog),
|
|
169
169
|
loaded.mcp,
|
|
170
170
|
loaded.references,
|
|
171
171
|
loaded.skills,
|
|
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
188
188
|
tools: selection.tools
|
|
189
189
|
};
|
|
190
190
|
});
|
|
191
|
-
return
|
|
191
|
+
return Service29.of({ select, load, resolveModel, selectTitle, request });
|
|
192
192
|
}));
|
|
193
193
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
194
|
-
var
|
|
195
|
-
service:
|
|
194
|
+
var node33 = makeLocationNode({
|
|
195
|
+
service: Service29,
|
|
196
196
|
layer,
|
|
197
197
|
deps: [
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
node87,
|
|
199
|
+
node79,
|
|
200
200
|
node90,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
node33,
|
|
210
|
-
node67,
|
|
201
|
+
node42,
|
|
202
|
+
node66,
|
|
203
|
+
node35,
|
|
204
|
+
node83,
|
|
205
|
+
node39,
|
|
206
|
+
node40,
|
|
207
|
+
node38,
|
|
208
|
+
node58,
|
|
211
209
|
node36,
|
|
212
|
-
|
|
210
|
+
node71,
|
|
211
|
+
node34,
|
|
212
|
+
node52
|
|
213
213
|
]
|
|
214
214
|
});
|
|
215
215
|
|
|
216
|
-
export {
|
|
216
|
+
export { Service29, node33, exports_context };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-2b73xj9b.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-89226jmx.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-tyekzr88.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service84,
|
|
7
|
+
node88
|
|
8
|
+
} from "./location-services-h8dg8d02.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
@@ -26,9 +26,9 @@ __export(exports_credential, {
|
|
|
26
26
|
Info: () => Info24,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service78,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node82
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
@@ -50,11 +50,11 @@ class Info24 extends Schema.Class("Credential.Info")({
|
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service78 extends Context.Service()("@opencode/Credential") {
|
|
54
54
|
}
|
|
55
|
-
var layer = Layer.effect(
|
|
55
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
56
56
|
const db = (yield* Service86).db;
|
|
57
|
-
const bus = yield*
|
|
57
|
+
const bus = yield* Service84;
|
|
58
58
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
59
59
|
const stored = (row) => {
|
|
60
60
|
if (!row.integration_id)
|
|
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
70
70
|
const credential = stored(row);
|
|
71
71
|
return credential ? [credential] : [];
|
|
72
72
|
});
|
|
73
|
-
return
|
|
73
|
+
return Service78.of({
|
|
74
74
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
75
75
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
76
76
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -203,6 +203,6 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
203
203
|
})
|
|
204
204
|
});
|
|
205
205
|
}));
|
|
206
|
-
var
|
|
206
|
+
var node82 = makeGlobalNode({ service: Service78, layer, deps: [node90, node88] });
|
|
207
207
|
|
|
208
|
-
export { ID14, OAuth3, Key4, External2, Value2, Event18, Info24,
|
|
208
|
+
export { ID14, OAuth3, Key4, External2, Value2, Event18, Info24, Service78, node82, exports_credential };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./location-services-grzrst1y.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service22
|
|
9
|
+
} from "./location-services-8y5sne0z.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service8
|
|
12
|
+
} from "./location-services-kqdsm7er.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-hgz4x7wa.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service5
|
|
27
|
+
} from "./location-services-p1342kz7.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input5,
|
|
36
|
+
Plugin: () => Plugin22,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name5,
|
|
39
|
+
toModelContent: () => toModelContent4
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name5 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input5 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin22 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service5;
|
|
62
|
+
const access = yield* Service22;
|
|
63
|
+
const sessionInstructions = yield* Service8;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name5,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input5,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin13 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent4 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name5, Input5, Plugin22, toModelContent4, exports_read };
|