@opencode/core 0.0.0-dev-20719 → 0.0.0-dev-20720
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 +84 -84
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +91 -91
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{location-service-map-cqbwes34.js → state-04a2hr2k.js} +35 -35
- package/dist/chunks/{location-service-map-sb31txgw.js → state-09cpb2ex.js} +16 -16
- package/dist/chunks/{location-service-map-0vbcp93d.js → state-0emb60td.js} +2 -2
- package/dist/chunks/{location-service-map-syzaabgy.js → state-0fypn0a3.js} +28 -28
- package/dist/chunks/{location-service-map-q0xm7vwc.js → state-0j77ygfz.js} +6 -6
- package/dist/chunks/{location-service-map-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-service-map-5cgqc3x3.js → state-0rq11za7.js} +17 -17
- package/dist/chunks/{location-service-map-0gsvzdev.js → state-0x57zm2e.js} +9 -9
- package/dist/chunks/{location-service-map-j58c5xyq.js → state-11dqjexa.js} +9 -9
- package/dist/chunks/{location-service-map-bensmjx5.js → state-17dj5fv5.js} +34 -34
- package/dist/chunks/{location-service-map-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-service-map-pr5dj105.js → state-1deese7r.js} +11 -11
- package/dist/chunks/{location-service-map-7xzk2ja0.js → state-1p2095bv.js} +35 -35
- package/dist/chunks/{location-service-map-nat6pp2g.js → state-1smjtbw1.js} +15 -15
- package/dist/chunks/{location-service-map-56gdpj1q.js → state-1ygqh575.js} +9 -9
- package/dist/chunks/{location-service-map-dndpcrtm.js → state-20de9dw7.js} +3 -3
- package/dist/chunks/{location-service-map-epqnd6yv.js → state-28jd512m.js} +3 -3
- package/dist/chunks/{location-service-map-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-service-map-abmjstf3.js → state-2bw2w2fe.js} +8 -8
- package/dist/chunks/{location-service-map-4ts7tf6z.js → state-2ccvkpx1.js} +2 -2
- package/dist/chunks/{location-service-map-p5m7y213.js → state-2cfdhw3s.js} +74 -74
- package/dist/chunks/{location-service-map-8rr49vs5.js → state-2e8mbfdm.js} +13 -13
- package/dist/chunks/{location-service-map-0ydt6dm7.js → state-2fdt73cz.js} +10 -10
- package/dist/chunks/{location-service-map-wqc8tc6t.js → state-2qzcchk7.js} +53 -53
- package/dist/chunks/{location-service-map-dkdb6g76.js → state-2t27atdg.js} +5 -5
- package/dist/chunks/{location-service-map-hkf7t372.js → state-2wtagmr7.js} +9 -9
- package/dist/chunks/{location-service-map-9rjc0rad.js → state-2x68r0t2.js} +14 -14
- package/dist/chunks/{location-service-map-sww13f9d.js → state-2xg2fwz2.js} +9 -9
- package/dist/chunks/{location-service-map-9y2478vc.js → state-34rerane.js} +19 -19
- package/dist/chunks/{location-service-map-x1t5xdb7.js → state-35b7yesr.js} +32 -32
- package/dist/chunks/{location-service-map-qy08r2e9.js → state-3arepkys.js} +65 -65
- package/dist/chunks/{location-service-map-h2b79v29.js → state-3cegwx68.js} +2 -2
- package/dist/chunks/{location-service-map-wtscf74w.js → state-3ck2xf04.js} +5 -5
- package/dist/chunks/{location-service-map-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-66h5prr0.js → state-3rfzw5ap.js} +11 -11
- package/dist/chunks/{location-service-map-4c2df9zx.js → state-3rtxz4nr.js} +8 -8
- package/dist/chunks/{location-service-map-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-service-map-x3gqap9d.js → state-44ak30pa.js} +4 -4
- package/dist/chunks/{location-service-map-4165drj7.js → state-45cwyr7q.js} +27 -27
- package/dist/chunks/{location-service-map-n88049k6.js → state-46rbnc5c.js} +22 -22
- package/dist/chunks/{location-service-map-dvf7dy8s.js → state-4916wvbv.js} +5 -5
- package/dist/chunks/{location-service-map-nnm6kbep.js → state-497z3mry.js} +12 -12
- package/dist/chunks/{location-service-map-rnxaexrj.js → state-4bevpzhv.js} +3 -3
- package/dist/chunks/{location-service-map-yc20c6b8.js → state-4dbsr0k0.js} +25 -25
- package/dist/chunks/{location-service-map-110ahdj7.js → state-4t030mrg.js} +14 -14
- package/dist/chunks/{location-service-map-pdv99r2c.js → state-4x28rjsq.js} +4 -4
- package/dist/chunks/{location-service-map-54ma36ye.js → state-54ma36ye.js} +1 -1
- package/dist/chunks/{location-service-map-1vtzkph7.js → state-54n0a6zw.js} +11 -11
- package/dist/chunks/{location-service-map-v34c5xhw.js → state-55h7b49p.js} +9 -9
- package/dist/chunks/{location-service-map-f29mbr7f.js → state-5dkn69vz.js} +4 -4
- package/dist/chunks/{location-service-map-nzv90650.js → state-5krvj9g7.js} +15 -15
- package/dist/chunks/{location-service-map-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-service-map-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-service-map-t6r754qz.js → state-6121h2h6.js} +2 -2
- package/dist/chunks/{location-service-map-k4k3zjar.js → state-62wb3p7v.js} +1 -1
- package/dist/chunks/{location-service-map-6whmb1gy.js → state-6dtkngtv.js} +3 -3
- package/dist/chunks/{location-service-map-vq4sfnvy.js → state-6e54mn8t.js} +44 -44
- package/dist/chunks/{location-service-map-2x07dkj1.js → state-6q8n1y66.js} +20 -20
- package/dist/chunks/{location-service-map-js837q00.js → state-6sf1d713.js} +9 -9
- package/dist/chunks/{location-service-map-nrdmrqsx.js → state-6sr3ve8g.js} +21 -21
- package/dist/chunks/{location-service-map-k0j79r8a.js → state-6t7bc6bg.js} +15 -15
- package/dist/chunks/{location-service-map-agwwgfea.js → state-6wzskhnk.js} +33 -33
- package/dist/chunks/{location-service-map-6xb47vfp.js → state-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-service-map-7mc2ry9x.js → state-6yjat7sj.js} +18 -18
- package/dist/chunks/{location-service-map-qacyxcy1.js → state-73vgk540.js} +5 -5
- package/dist/chunks/{location-service-map-6z93bexb.js → state-768a8gp9.js} +4 -4
- package/dist/chunks/{location-service-map-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-2k8khapm.js → state-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-service-map-86h8k6m6.js → state-7dyczsbr.js} +11 -11
- package/dist/chunks/{location-service-map-q775cfcp.js → state-7wnhzmy2.js} +26 -26
- package/dist/chunks/{location-service-map-60djhz4b.js → state-7x89b08m.js} +10 -10
- package/dist/chunks/{location-service-map-s1nm8bs6.js → state-7zpky84d.js} +11 -11
- package/dist/chunks/{location-service-map-av5kawyv.js → state-7zy8zh4w.js} +31 -31
- package/dist/chunks/{location-service-map-g6yfr6ja.js → state-8316qx5p.js} +5 -5
- package/dist/chunks/{location-service-map-1dvck2a7.js → state-84h8c373.js} +2 -2
- package/dist/chunks/{location-service-map-w1eejvng.js → state-84txncab.js} +5 -5
- package/dist/chunks/{location-service-map-hnknrzez.js → state-86fzd6mx.js} +4 -4
- package/dist/chunks/{location-service-map-tmhy7k15.js → state-88gkpqae.js} +16 -16
- package/dist/chunks/{location-service-map-ahgzg1vr.js → state-88wa59w3.js} +177 -177
- package/dist/chunks/{location-service-map-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-service-map-361tt197.js → state-8h82tmdf.js} +28 -28
- package/dist/chunks/{location-service-map-8m6m0r52.js → state-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-service-map-cmwkp3r5.js → state-9hn6k4tm.js} +8 -8
- package/dist/chunks/{location-service-map-kzdcqyn1.js → state-9pkkzrmj.js} +5 -5
- package/dist/chunks/{location-service-map-ss8j4n3s.js → state-9sxnv72c.js} +28 -28
- package/dist/chunks/{location-service-map-wv396vej.js → state-9t7a50xb.js} +6 -6
- package/dist/chunks/{location-service-map-gezq61am.js → state-9t8z8sz2.js} +4 -4
- package/dist/chunks/{location-service-map-pnsfzjaq.js → state-9y76xs4t.js} +15 -15
- package/dist/chunks/state-9zmkt7t8.js +507 -0
- package/dist/chunks/{location-service-map-g59n3g2g.js → state-a8947ck8.js} +22 -22
- package/dist/chunks/{location-service-map-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{location-service-map-gqtdsdt7.js → state-addxnjmp.js} +4 -4
- package/dist/chunks/{location-service-map-de6djj4w.js → state-adn16pwm.js} +35 -35
- package/dist/chunks/{location-service-map-v802ev33.js → state-adwe1qqm.js} +20 -20
- package/dist/chunks/{location-service-map-g3t34t86.js → state-agh9v499.js} +22 -22
- package/dist/chunks/{location-service-map-fag80he9.js → state-ah3xqtr9.js} +15 -15
- package/dist/chunks/{location-service-map-nq9ea4j8.js → state-b00pzheq.js} +34 -34
- package/dist/chunks/{location-service-map-nfznd11q.js → state-b37sb5xh.js} +26 -26
- package/dist/chunks/{location-service-map-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-service-map-wyxhp63x.js → state-bcdwjwga.js} +18 -18
- package/dist/chunks/{location-service-map-1bzh630m.js → state-berfgc7x.js} +18 -18
- package/dist/chunks/{location-service-map-tykvc6z5.js → state-bkwnwkna.js} +11 -11
- package/dist/chunks/{location-service-map-n5x1cq8y.js → state-bpfw675d.js} +29 -29
- package/dist/chunks/{location-service-map-8qywzkts.js → state-bxrcwjqe.js} +7 -7
- package/dist/chunks/{location-service-map-81cyf240.js → state-c1wzgm1s.js} +17 -17
- package/dist/chunks/{location-service-map-b8s7k8rc.js → state-c4jzek7p.js} +22 -22
- package/dist/chunks/{location-service-map-0tc4sbnt.js → state-ccchx4q8.js} +24 -24
- package/dist/chunks/{location-service-map-cfsekr6v.js → state-cfsekr6v.js} +2 -2
- package/dist/chunks/{location-service-map-py0crcbs.js → state-cq15wxzp.js} +4 -4
- package/dist/chunks/{location-service-map-rtbawy8j.js → state-crdrr85v.js} +3 -3
- package/dist/chunks/{location-service-map-kj83vect.js → state-cse9r4v9.js} +9 -9
- package/dist/chunks/{location-service-map-172wvaws.js → state-ctj64nje.js} +43 -43
- package/dist/chunks/{location-service-map-cwa6csj7.js → state-cwa6csj7.js} +2 -2
- package/dist/chunks/{location-service-map-gyrxv018.js → state-cxr298sk.js} +11 -11
- package/dist/chunks/{location-service-map-epkz7j4p.js → state-d3zsqy84.js} +18 -18
- package/dist/chunks/{location-service-map-1tvpne0k.js → state-dd2ph1ae.js} +84 -84
- package/dist/chunks/{location-service-map-fpc4h9pq.js → state-dd40s8jk.js} +4 -4
- package/dist/chunks/{location-service-map-xkntkrq7.js → state-dmqcgk4z.js} +5 -5
- package/dist/chunks/{location-service-map-pw5txj2g.js → state-dntcxfx6.js} +12 -12
- package/dist/chunks/{location-service-map-dpkg50ah.js → state-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-service-map-mnnc3g6z.js → state-e2ncvvex.js} +24 -24
- package/dist/chunks/{location-service-map-5qd3pb7m.js → state-e3qxr5gk.js} +2 -2
- package/dist/chunks/{location-service-map-qhyp6tf8.js → state-e7fzh1tv.js} +9 -9
- package/dist/chunks/{location-service-map-sxzvkvgj.js → state-edbfpfck.js} +6 -6
- package/dist/chunks/{location-service-map-hbrzgkfe.js → state-eekvak8k.js} +19 -19
- package/dist/chunks/{location-service-map-wwdw0p70.js → state-ef18fqje.js} +19 -19
- package/dist/chunks/{location-service-map-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-service-map-6fjvkjmf.js → state-ejvnp2ks.js} +11 -11
- package/dist/chunks/{location-service-map-z2wj5dew.js → state-emk51cvb.js} +13 -13
- package/dist/chunks/{location-service-map-r5x6zcsm.js → state-eq1pz5kg.js} +3 -3
- package/dist/chunks/{location-service-map-z6nsm8af.js → state-eq2t0afb.js} +45 -45
- package/dist/chunks/{location-service-map-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-service-map-savh6m7q.js → state-evszv5pj.js} +56 -56
- package/dist/chunks/{location-service-map-v4my49bs.js → state-f36c7hhr.js} +36 -36
- package/dist/chunks/{location-service-map-gg4dpy88.js → state-f62qkzqr.js} +5 -5
- package/dist/chunks/{location-service-map-71az546q.js → state-f75zav2x.js} +2 -2
- package/dist/chunks/{location-service-map-pygdbkqd.js → state-f9a4pn72.js} +7 -7
- package/dist/chunks/{location-service-map-5p6yzmyk.js → state-fed6refb.js} +49 -49
- package/dist/chunks/{location-service-map-30s28g32.js → state-fesacqrs.js} +33 -33
- package/dist/chunks/{location-service-map-48kw51zw.js → state-fjs5xx1d.js} +3 -3
- package/dist/chunks/{location-service-map-srq8z0b0.js → state-fkqcn188.js} +9 -9
- package/dist/chunks/{location-service-map-qm0v3jhh.js → state-fm2qvscf.js} +7 -7
- package/dist/chunks/{location-service-map-tyy2z68n.js → state-fn7rspy2.js} +46 -46
- package/dist/chunks/{location-service-map-cjv4tna3.js → state-fwr1nvee.js} +13 -13
- package/dist/chunks/{location-service-map-t8mcpqdf.js → state-g41jgzrn.js} +13 -13
- package/dist/chunks/{location-service-map-9dyqnwf5.js → state-g5kmhmn4.js} +11 -11
- package/dist/chunks/{location-service-map-g5w8qwbj.js → state-g5w8qwbj.js} +1 -1
- package/dist/chunks/{location-service-map-yahs3v6f.js → state-g5xbze43.js} +6 -6
- package/dist/chunks/{location-service-map-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-zgct5ygq.js → state-ggjzp0zf.js} +11 -11
- package/dist/chunks/{location-service-map-609c7rjf.js → state-gx34rq0y.js} +5 -5
- package/dist/chunks/{location-service-map-zbwehrfx.js → state-gzpbea96.js} +45 -45
- package/dist/chunks/{location-service-map-9yss0z5k.js → state-h24f7b7f.js} +32 -32
- package/dist/chunks/{location-service-map-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-18gphh5f.js → state-h7nvfha0.js} +24 -24
- package/dist/chunks/{location-service-map-rttzrg3r.js → state-h9pcb0g7.js} +12 -12
- package/dist/chunks/{location-service-map-er7kjfpm.js → state-hjd5rs48.js} +24 -24
- package/dist/chunks/{location-service-map-ngwhnfk9.js → state-hjwcbm2z.js} +26 -26
- package/dist/chunks/state-ht5y0zrb.js +18 -0
- package/dist/chunks/{location-service-map-80fpm30f.js → state-hts2a9q2.js} +18 -18
- package/dist/chunks/{location-service-map-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{location-service-map-9bxqtg3b.js → state-jh8bf3qg.js} +12 -12
- package/dist/chunks/{location-service-map-q5e7cmwt.js → state-jhdf29st.js} +1 -1
- package/dist/chunks/{location-service-map-qbgaprsj.js → state-jjqn8krh.js} +3 -3
- package/dist/chunks/{location-service-map-c9wq230p.js → state-jkz3v61y.js} +15 -15
- package/dist/chunks/{location-service-map-r79jpe1g.js → state-jrjafyr0.js} +12 -12
- package/dist/chunks/{location-service-map-1f14f7t8.js → state-jvtf094g.js} +11 -11
- package/dist/chunks/{location-service-map-9e5bzkjp.js → state-kb9j3d72.js} +3 -3
- package/dist/chunks/state-kc4mjjv2.js +253 -0
- package/dist/chunks/{location-service-map-cq7nt5f0.js → state-ket9r42f.js} +17 -17
- package/dist/chunks/{location-service-map-htawd9aw.js → state-kk956e2k.js} +5 -5
- package/dist/chunks/{location-service-map-dert2q3q.js → state-kr34918r.js} +16 -16
- package/dist/chunks/{location-service-map-gr7ksxyk.js → state-krs87b37.js} +9 -9
- package/dist/chunks/{location-service-map-rqa1jxse.js → state-kxfx0zw7.js} +2 -2
- package/dist/chunks/{location-service-map-4w3089e4.js → state-kz7kk7hk.js} +9 -9
- package/dist/chunks/{location-service-map-8aededdx.js → state-kzfrgs0d.js} +20 -20
- package/dist/chunks/{location-service-map-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-service-map-sw9xx0b5.js → state-m55qy151.js} +10 -10
- package/dist/chunks/{location-service-map-2rwm6het.js → state-m6yf48sn.js} +26 -26
- package/dist/chunks/{location-service-map-ccryn8zn.js → state-m7afyyyj.js} +15 -15
- package/dist/chunks/{location-service-map-m49nzdcs.js → state-m9jgt8r5.js} +5 -5
- package/dist/chunks/{location-service-map-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-pjb77rqj.js → state-mcjkpbn0.js} +27 -27
- package/dist/chunks/{location-service-map-ezathb5h.js → state-mec702eg.js} +36 -36
- package/dist/chunks/{location-service-map-9hb6vc0y.js → state-mgpjz0db.js} +19 -19
- package/dist/chunks/{location-service-map-3b39sg5x.js → state-mqatsg7m.js} +32 -32
- package/dist/chunks/{location-service-map-xtrj88ht.js → state-ms8ccy3x.js} +27 -27
- package/dist/chunks/{location-service-map-9hvq36ef.js → state-msbh9db6.js} +49 -49
- package/dist/chunks/{location-service-map-h24rnrqv.js → state-mvatweg5.js} +20 -20
- package/dist/chunks/{location-service-map-yzyc98yn.js → state-mypwhdkk.js} +6 -6
- package/dist/chunks/{location-service-map-1vyye6zk.js → state-mzzkv1b5.js} +1 -1
- package/dist/chunks/{location-service-map-g1ne3t05.js → state-n4dca9y5.js} +47 -47
- package/dist/chunks/{location-service-map-xwr6kkpa.js → state-nd37bzcf.js} +28 -28
- package/dist/chunks/{location-service-map-rqd6cqfw.js → state-nr69g3jv.js} +5 -5
- package/dist/chunks/{location-service-map-wbm8szc8.js → state-pe0zt13j.js} +3 -3
- package/dist/chunks/{location-service-map-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-kkp8zx71.js → state-pmwpe40e.js} +4 -4
- package/dist/chunks/{location-service-map-ytwhma2w.js → state-pn003z7t.js} +27 -27
- package/dist/chunks/{location-service-map-z7kvc2g4.js → state-ppk3b36w.js} +36 -36
- package/dist/chunks/{location-service-map-twwzjqdf.js → state-pqqhfkp1.js} +9 -9
- package/dist/chunks/{location-service-map-0d586qqe.js → state-prdj665r.js} +24 -24
- package/dist/chunks/{location-service-map-xpsknwne.js → state-pvr0mps5.js} +26 -26
- package/dist/chunks/{location-service-map-19haxzmr.js → state-q67nxkv9.js} +29 -29
- package/dist/chunks/{location-service-map-09bd12ja.js → state-qbma24dw.js} +13 -13
- package/dist/chunks/{location-service-map-5msxywwp.js → state-qcy60mzg.js} +8 -8
- package/dist/chunks/{location-service-map-1nz5ft8r.js → state-qgvx2ecd.js} +8 -8
- package/dist/chunks/{location-service-map-qnc92qwc.js → state-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-service-map-m9kwhf9v.js → state-qpef03sa.js} +3 -3
- package/dist/chunks/{location-service-map-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-19enz01j.js → state-qvkrf2sr.js} +29 -29
- package/dist/chunks/{location-service-map-hdkng2sj.js → state-qygbw77c.js} +5 -5
- package/dist/chunks/{location-service-map-zr19srz6.js → state-r2vb5ahw.js} +6 -6
- package/dist/chunks/{location-service-map-eqgmthtk.js → state-rdd3t6fr.js} +11 -11
- package/dist/chunks/{location-service-map-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-service-map-z5wd7jf4.js → state-rf1bdrxr.js} +14 -14
- package/dist/chunks/{location-service-map-1acjjqhc.js → state-rhraev7y.js} +4 -4
- package/dist/chunks/{location-service-map-maxk6ewv.js → state-s2f320av.js} +21 -21
- package/dist/chunks/{location-service-map-2ktf0ed2.js → state-s5met55r.js} +8 -8
- package/dist/chunks/{location-service-map-6tv2dc1y.js → state-scyp0cvb.js} +4 -4
- package/dist/chunks/{location-service-map-xnshncyy.js → state-ssax58sw.js} +40 -40
- package/dist/chunks/{location-service-map-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-mx8dahtm.js → state-tb16czpv.js} +21 -21
- package/dist/chunks/{location-service-map-avxptg0x.js → state-tbpc65w4.js} +22 -22
- package/dist/chunks/{location-service-map-hpdf27hd.js → state-tc3k9mfd.js} +12 -12
- package/dist/chunks/{location-service-map-tcezcvh9.js → state-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-service-map-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-mfpshbb4.js → state-thc1rszf.js} +4 -4
- package/dist/chunks/{location-service-map-ng13dac4.js → state-trj1gmcm.js} +5 -5
- package/dist/chunks/{location-service-map-2vs2nh1n.js → state-ttqh24zm.js} +4 -4
- package/dist/chunks/{location-service-map-zzeyhfg4.js → state-v4swh9q7.js} +10 -10
- package/dist/chunks/{location-service-map-6x8py820.js → state-v6raqp8b.js} +22 -22
- package/dist/chunks/{location-service-map-9mex3hvh.js → state-van68h44.js} +14 -14
- package/dist/chunks/{location-service-map-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-kmx0na6r.js → state-vgepzxbh.js} +4 -4
- package/dist/chunks/{location-service-map-z990n4az.js → state-vpn79mg0.js} +10 -10
- package/dist/chunks/{location-service-map-808e0e9m.js → state-vrtmy21p.js} +5 -5
- package/dist/chunks/{location-service-map-w02p7c3m.js → state-vtg4gjwx.js} +10 -10
- package/dist/chunks/{location-service-map-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
- package/dist/chunks/state-w1199tq0.js +26 -0
- package/dist/chunks/{location-service-map-rtathh62.js → state-w1ad28wa.js} +8 -8
- package/dist/chunks/{location-service-map-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-47tg06m4.js → state-w692g40q.js} +30 -30
- package/dist/chunks/{location-service-map-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-44wtnatd.js → state-wm3gbqz0.js} +6 -6
- package/dist/chunks/{location-service-map-be9ey150.js → state-wv509nq3.js} +11 -11
- package/dist/chunks/{location-service-map-1ynmqc5g.js → state-wy9mvxme.js} +9 -9
- package/dist/chunks/{location-service-map-xf9995wn.js → state-wzx4r275.js} +4 -4
- package/dist/chunks/{location-service-map-07zt2qvc.js → state-x34x4jyj.js} +37 -37
- package/dist/chunks/{location-service-map-3yccbcdd.js → state-x7sbve6c.js} +35 -35
- package/dist/chunks/{location-service-map-v8wjdh0k.js → state-xb9jmman.js} +16 -16
- package/dist/chunks/{location-service-map-patgj9rf.js → state-xdrba4jw.js} +9 -9
- package/dist/chunks/{location-service-map-0bg0bx69.js → state-xecxzrdp.js} +5 -5
- package/dist/chunks/{location-service-map-ff864t43.js → state-xhw3x5cz.js} +17 -17
- package/dist/chunks/{location-service-map-qxjc9qry.js → state-xyafkbt0.js} +3 -3
- package/dist/chunks/{location-service-map-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-pj7gwawn.js → state-y3ghf2b6.js} +7 -7
- package/dist/chunks/{location-service-map-wep7xf8r.js → state-y597v6j1.js} +5 -5
- package/dist/chunks/{location-service-map-b674v2dg.js → state-y6f80w1r.js} +5 -5
- package/dist/chunks/{location-service-map-37mjbavn.js → state-y8v18ms9.js} +11 -11
- package/dist/chunks/{location-service-map-v9vdgxc9.js → state-yc3p3qwe.js} +13 -13
- package/dist/chunks/{location-service-map-qq9x5xwx.js → state-yfmzq89s.js} +23 -23
- package/dist/chunks/{location-service-map-ym7wte4t.js → state-yg8cpn2k.js} +19 -19
- package/dist/chunks/{location-service-map-dz2gz8y6.js → state-yn2fms0x.js} +18 -18
- package/dist/chunks/{location-service-map-751a2whf.js → state-yw2yvzmw.js} +89 -89
- package/dist/chunks/{location-service-map-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-982x9exe.js → state-z9ghcmzp.js} +36 -36
- package/dist/chunks/{location-service-map-1qmsp7br.js → state-za57v6vq.js} +16 -16
- package/dist/chunks/{location-service-map-xr043pp4.js → state-zbj3drqt.js} +23 -23
- package/dist/chunks/{location-service-map-jervv9x6.js → state-zbjxv3dz.js} +11 -11
- package/dist/chunks/{location-service-map-50pt0x8w.js → state-zc3nhar9.js} +8 -8
- package/dist/chunks/{location-service-map-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-service-map-37xgxhys.js → state-zxszgjhy.js} +14 -14
- package/dist/chunks/{location-service-map-vqwa452p.js → state-zzwrqwz9.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +86 -86
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +86 -86
- package/dist/database/database.js +67 -67
- 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.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +75 -75
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +215 -215
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +92 -92
- 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 +355 -355
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +352 -352
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +92 -92
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +103 -103
- package/dist/models-dev.js +104 -104
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +120 -120
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +92 -92
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +91 -91
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +113 -113
- package/dist/snapshot.js +90 -90
- 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 +125 -125
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +99 -99
- package/package.json +8 -8
- package/dist/chunks/location-service-map-jqh9b0xq.js +0 -18
- package/dist/chunks/location-service-map-pwz0j98n.js +0 -26
- package/dist/chunks/location-service-map-rawh7ba9.js +0 -507
- package/dist/chunks/location-service-map-ygfddkhq.js +0 -253
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-34c7v6d4.js → state-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3t0ybcrp.js → state-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service2,
|
|
13
|
+
node: () => node3
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service2 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service2.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node3 = makeGlobalNode({ service: Service2, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service2, node3, exports_update };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-addxnjmp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./state-jh8bf3qg.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./state-6wzskhnk.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-fesacqrs.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service74
|
|
20
|
+
} from "./state-adn16pwm.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./state-x7sbve6c.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./state-1deese7r.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-7zpky84d.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID11
|
|
33
|
+
} from "./state-pn003z7t.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./state-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID14.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,8 +163,8 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service74;
|
|
167
|
+
const bus = yield* Service83;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
185
|
try: () => load2(url, {
|
|
186
186
|
...provider?.headers,
|
|
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID13.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
yield* ctx.model.transform((models) => {
|
|
225
|
-
if (models.get(
|
|
226
|
-
models.update(
|
|
225
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
226
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
227
227
|
model.enabled = false;
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
232
|
-
yield* bus.subscribe(
|
|
232
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
233
233
|
yield* refresh().pipe(Effect.forkScoped);
|
|
234
234
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
235
|
-
if (evt.model.providerID !==
|
|
235
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
236
236
|
return;
|
|
237
237
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
238
238
|
return;
|
|
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
242
242
|
}));
|
|
243
243
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
247
247
|
return;
|
|
@@ -251,13 +251,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
251
251
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
252
252
|
if (interaction !== "conversation-agent")
|
|
253
253
|
evt.headers["x-initiator"] = "agent";
|
|
254
|
-
}), { providerID:
|
|
254
|
+
}), { providerID: ID13.githubCopilot });
|
|
255
255
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
256
|
-
if (evt.model.providerID !==
|
|
256
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
260
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
260
|
+
const agent = yield* ctx.agent.get({ agentID: ID11.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
261
261
|
return;
|
|
262
262
|
}));
|
|
263
263
|
if (agent?.data.model)
|
|
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
268
268
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
|
-
}), { providerID:
|
|
271
|
+
}), { providerID: ID13.githubCopilot });
|
|
272
272
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
273
|
-
if (evt.model.providerID !==
|
|
273
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
274
274
|
return;
|
|
275
275
|
const token = evt.request.headers.get("x-api-key");
|
|
276
276
|
if (!token)
|
|
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
278
278
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
279
279
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
280
280
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
281
|
-
}), { providerID:
|
|
281
|
+
}), { providerID: ID13.githubCopilot });
|
|
282
282
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
284
284
|
return;
|
|
285
285
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
286
286
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-adn16pwm.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info21
|
|
11
|
+
} from "./state-x7sbve6c.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models = {};
|
|
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID12.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info21.make({
|
|
122
|
+
...Info21.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID12.make(remote.id),
|
|
125
|
+
providerID: ID13.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./state-4t030mrg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service42
|
|
12
|
+
} from "./state-h7nvfha0.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service41
|
|
16
|
+
} from "./state-2x68r0t2.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-tb16czpv.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service62
|
|
26
|
+
} from "./state-3arepkys.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service18
|
|
29
|
+
} from "./state-hts2a9q2.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./state-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input6,
|
|
39
|
+
Output: () => Output4,
|
|
40
|
+
Plugin: () => Plugin23,
|
|
41
|
+
name: () => name6,
|
|
42
|
+
toModelContent: () => toModelContent3
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name6 = "grep";
|
|
48
|
+
var Input6 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input4 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output4 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent3 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin23 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service42;
|
|
90
|
+
const ripgrep = yield* Service41;
|
|
91
|
+
const location = yield* Service79;
|
|
92
|
+
const access = yield* Service18;
|
|
93
|
+
const permission = yield* Service62;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name6,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input6,
|
|
99
|
+
output: Output4,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name6,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin4 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent3(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin4 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name6, Input6, Output4, toModelContent3, Plugin23, exports_grep };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./state-4t030mrg.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service14,
|
|
17
|
+
node: () => node16
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service14 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service79;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service14.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node16 = makeLocationNode({
|
|
91
|
+
service: Service14,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node83, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service14, node16, exports_formatter2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-msbh9db6.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-tdstcens.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-2t27atdg.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error3,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make17,
|
|
14
|
+
node: () => node47,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error3 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make17 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node47 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error3, ProviderNotFound2, make17, RegistryService2, registry2, registryNode2, node47, exports_driver };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InvalidError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-0j77ygfz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/config/variable.ts
|
|
9
9
|
var exports_variable = {};
|