@opencode/core 0.0.0-dev-20184 → 0.0.0-dev-20187
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{permission-54rshveq.js → file-access-09p5dswj.js} +30 -30
- package/dist/chunks/{permission-bjmw0wh0.js → file-access-0ban4q7j.js} +17 -17
- package/dist/chunks/{permission-ae682ca7.js → file-access-0bp4e21p.js} +3 -3
- package/dist/chunks/{permission-4sak20nb.js → file-access-0egx9fcg.js} +12 -12
- package/dist/chunks/{permission-j23yr5b5.js → file-access-0gtypekj.js} +35 -35
- package/dist/chunks/{permission-3ajs7g5c.js → file-access-0h3wrvqa.js} +1 -1
- package/dist/chunks/{permission-ajdjch6h.js → file-access-0jq9fyba.js} +2 -2
- package/dist/chunks/{permission-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
- package/dist/chunks/{permission-ssdqnhy0.js → file-access-0pr3hkd7.js} +4 -4
- package/dist/chunks/{permission-jksg1452.js → file-access-0trjvgwz.js} +15 -15
- package/dist/chunks/{permission-k2g1dzr3.js → file-access-118e1mbr.js} +3 -3
- package/dist/chunks/{permission-684ndb9j.js → file-access-1258x4qk.js} +22 -22
- package/dist/chunks/{permission-h7h63fbb.js → file-access-154cngd0.js} +11 -11
- package/dist/chunks/{permission-j33wwp0m.js → file-access-18yef4q6.js} +25 -25
- package/dist/chunks/{permission-r98e92ep.js → file-access-1a6p2twq.js} +4 -4
- package/dist/chunks/{permission-yp2x3t23.js → file-access-1acjjqhc.js} +4 -4
- package/dist/chunks/{permission-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
- package/dist/chunks/{permission-r2f6481p.js → file-access-1gd8g1kd.js} +21 -21
- package/dist/chunks/{permission-z5xy1pp3.js → file-access-1mk6sdbt.js} +11 -11
- package/dist/chunks/{permission-5e8g6gvh.js → file-access-1q0j3phs.js} +17 -17
- package/dist/chunks/{permission-d33bm1cf.js → file-access-1sbn9mmf.js} +13 -13
- package/dist/chunks/{permission-21r38tys.js → file-access-21r38tys.js} +1 -1
- package/dist/chunks/{permission-etsqtbhr.js → file-access-21z43ch8.js} +11 -11
- package/dist/chunks/{permission-8nrxx7ew.js → file-access-23a4zp69.js} +12 -12
- package/dist/chunks/{permission-2402vzrj.js → file-access-2402vzrj.js} +1 -1
- package/dist/chunks/{permission-6pncvqss.js → file-access-27f0zk48.js} +56 -56
- package/dist/chunks/{permission-z63w68vq.js → file-access-29x78va6.js} +6 -6
- package/dist/chunks/{permission-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
- package/dist/chunks/{permission-2k8khapm.js → file-access-2k8khapm.js} +1 -1
- package/dist/chunks/{permission-f35htakt.js → file-access-2qq7qy34.js} +9 -9
- package/dist/chunks/{permission-h3k9h1nw.js → file-access-2rb43g2j.js} +5 -5
- package/dist/chunks/{permission-sebm3pt6.js → file-access-2yf0aazv.js} +15 -15
- package/dist/chunks/{permission-ngt7ecf9.js → file-access-31sqvd3m.js} +8 -8
- package/dist/chunks/{permission-ej9m8fc8.js → file-access-3334155c.js} +10 -10
- package/dist/chunks/{permission-sgt0rw0w.js → file-access-337y9ajx.js} +14 -14
- package/dist/chunks/{permission-2rpfb17w.js → file-access-34d8h93h.js} +15 -15
- package/dist/chunks/file-access-37gbyejr.js +26 -0
- package/dist/chunks/{permission-x9rrqg2b.js → file-access-3cbqyyyx.js} +13 -13
- package/dist/chunks/{permission-t0fxg8b9.js → file-access-3cfzdc8e.js} +5 -5
- package/dist/chunks/{permission-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-y0pwr5yx.js → file-access-3r09dpjk.js} +4 -4
- package/dist/chunks/{permission-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-3zsf4n22.js → file-access-3zsf4n22.js} +1 -1
- package/dist/chunks/{permission-reg6q42h.js → file-access-49exe669.js} +5 -5
- package/dist/chunks/{permission-6hjv98hr.js → file-access-4acqjqp7.js} +22 -22
- package/dist/chunks/{permission-7wb193pp.js → file-access-4aq4ypfe.js} +27 -27
- package/dist/chunks/{permission-k1gkpfdk.js → file-access-4e8vs6eh.js} +8 -8
- package/dist/chunks/{permission-vry6d8rm.js → file-access-4p4fv3qj.js} +18 -18
- package/dist/chunks/{permission-97fqmzxy.js → file-access-4sjwj7n7.js} +21 -21
- package/dist/chunks/{permission-e5bmervc.js → file-access-4w5bpbdf.js} +8 -8
- package/dist/chunks/{permission-2k7qy34m.js → file-access-4x8kksgb.js} +11 -11
- package/dist/chunks/{permission-kjt3qfh8.js → file-access-57ez7d0k.js} +9 -9
- package/dist/chunks/{permission-b6mtjhv1.js → file-access-5982ss3w.js} +13 -13
- package/dist/chunks/{permission-p5t99sjb.js → file-access-5btey1ak.js} +13 -13
- package/dist/chunks/{permission-qy5jqk5y.js → file-access-5cb5swh5.js} +8 -8
- package/dist/chunks/{permission-5daktx2q.js → file-access-5daktx2q.js} +1 -1
- package/dist/chunks/{permission-24acafqq.js → file-access-5h27d9rq.js} +23 -23
- package/dist/chunks/{permission-yf6svgv2.js → file-access-5jmp07yj.js} +28 -28
- package/dist/chunks/{permission-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
- package/dist/chunks/{permission-3sfvjz79.js → file-access-5vrnswt1.js} +11 -11
- package/dist/chunks/{permission-fmnxy78r.js → file-access-5zarf4w6.js} +17 -17
- package/dist/chunks/{permission-k3cdxeqz.js → file-access-65p03r80.js} +31 -31
- package/dist/chunks/{permission-669tq793.js → file-access-669tq793.js} +1 -1
- package/dist/chunks/{permission-wbxghec3.js → file-access-6ba3re5s.js} +20 -20
- package/dist/chunks/{permission-nj1ne2aq.js → file-access-6jq3w683.js} +60 -60
- package/dist/chunks/file-access-6kdq0pjd.js +4 -0
- package/dist/chunks/{permission-6msgmcgs.js → file-access-6msgmcgs.js} +1 -1
- package/dist/chunks/{permission-pxsqpsjb.js → file-access-6mvtq6c7.js} +16 -16
- package/dist/chunks/{permission-tkvyhn45.js → file-access-75gb3hq5.js} +5 -5
- package/dist/chunks/{permission-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-n3nn477v.js → file-access-7f2vjcwv.js} +20 -20
- package/dist/chunks/file-access-7fj5dwt0.js +18 -0
- package/dist/chunks/{permission-xwb191sg.js → file-access-7gy1ktzc.js} +10 -10
- package/dist/chunks/{permission-j3ddgfcr.js → file-access-7nn57yq6.js} +6 -6
- package/dist/chunks/{permission-2hr5nhwa.js → file-access-7rwqf82v.js} +8 -8
- package/dist/chunks/{permission-ghv54smh.js → file-access-7z82321y.js} +11 -11
- package/dist/chunks/file-access-8bx98dp2.js +252 -0
- package/dist/chunks/{permission-gyh65ccy.js → file-access-8d0p2m37.js} +8 -8
- package/dist/chunks/{permission-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
- package/dist/chunks/{permission-2vs2nh1n.js → file-access-8gxqpgph.js} +4 -4
- package/dist/chunks/{permission-afzgrqyy.js → file-access-8jjtxg0s.js} +26 -26
- package/dist/chunks/{permission-saj04eec.js → file-access-8skxcr47.js} +13 -13
- package/dist/chunks/{permission-6pc27hjz.js → file-access-8sze2n9a.js} +2 -2
- package/dist/chunks/{permission-bp0aq75x.js → file-access-8txb2b8x.js} +9 -9
- package/dist/chunks/{permission-7ewykddx.js → file-access-906a7jx9.js} +5 -5
- package/dist/chunks/{permission-n0t91eez.js → file-access-93g208q1.js} +24 -24
- package/dist/chunks/{permission-94ek1h2f.js → file-access-94ek1h2f.js} +2 -2
- package/dist/chunks/{permission-tnyskk9d.js → file-access-95ep91d8.js} +25 -25
- package/dist/chunks/{permission-6jdx8b0n.js → file-access-962mx99c.js} +27 -27
- package/dist/chunks/{permission-mkg8e4q8.js → file-access-98zr84gz.js} +30 -30
- package/dist/chunks/{permission-cgdrf0ef.js → file-access-9924wf9r.js} +10 -10
- package/dist/chunks/{permission-v0xzzsdq.js → file-access-9as0zx85.js} +27 -27
- package/dist/chunks/{permission-yynwptpj.js → file-access-9jcbxg0k.js} +21 -21
- package/dist/chunks/{permission-7tt26n7w.js → file-access-9syxb0r3.js} +11 -11
- package/dist/chunks/{permission-rts5f3sp.js → file-access-9xe9qmj9.js} +35 -35
- package/dist/chunks/{permission-m7va1g8x.js → file-access-a3r4dcrj.js} +2 -2
- package/dist/chunks/{permission-aaet6srn.js → file-access-aaet6srn.js} +2 -2
- package/dist/chunks/{permission-5qbehed9.js → file-access-ahj96hsx.js} +3 -3
- package/dist/chunks/{permission-9s46jenq.js → file-access-akhdm1q5.js} +33 -33
- package/dist/chunks/file-access-az20cacd.js +511 -0
- package/dist/chunks/{permission-cyr9qmn9.js → file-access-b5jzj1yj.js} +4 -4
- package/dist/chunks/{permission-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
- package/dist/chunks/{permission-v8m7gbe5.js → file-access-b8me5nm1.js} +9 -9
- package/dist/chunks/{permission-6p737ktq.js → file-access-bdy3xwvm.js} +9 -9
- package/dist/chunks/{permission-1g0f3apw.js → file-access-bep57vhd.js} +18 -18
- package/dist/chunks/{permission-dhfnq7cz.js → file-access-bfpeh5ef.js} +35 -35
- package/dist/chunks/{permission-e7vdtnc4.js → file-access-bm9d9rgc.js} +9 -9
- package/dist/chunks/{permission-yenfhe7g.js → file-access-c3jkddnq.js} +3 -3
- package/dist/chunks/{permission-2jv99ep9.js → file-access-c9mjmcgp.js} +3 -3
- package/dist/chunks/{permission-cf69m2yy.js → file-access-cfgmghb0.js} +26 -26
- package/dist/chunks/{permission-ckecvw8r.js → file-access-ckecvw8r.js} +2 -2
- package/dist/chunks/{permission-q9rwvn8w.js → file-access-cnmnpfzq.js} +46 -46
- package/dist/chunks/{permission-smr7e5fr.js → file-access-ctsbw3ys.js} +25 -25
- package/dist/chunks/{permission-yt0fqk68.js → file-access-d2aac7k2.js} +5 -5
- package/dist/chunks/{permission-6na13bja.js → file-access-d5ggx3gj.js} +3 -3
- package/dist/chunks/{permission-r6hzy11n.js → file-access-dq0v80fr.js} +12 -12
- package/dist/chunks/{permission-y6x7sa31.js → file-access-drq6bgth.js} +40 -40
- package/dist/chunks/{permission-xqczf6qp.js → file-access-dwgwpymj.js} +14 -14
- package/dist/chunks/{permission-5qc3t8ee.js → file-access-e12qqq59.js} +42 -42
- package/dist/chunks/{permission-5qd3pb7m.js → file-access-e3qxr5gk.js} +2 -2
- package/dist/chunks/{permission-ehajrkt1.js → file-access-e7b5xck2.js} +14 -14
- package/dist/chunks/{permission-14c14xej.js → file-access-e9j2rb6f.js} +14 -14
- package/dist/chunks/{permission-zvaxvgce.js → file-access-eb4gdybs.js} +23 -23
- package/dist/chunks/{permission-2zqtqwz1.js → file-access-ec0abva6.js} +93 -93
- package/dist/chunks/{permission-ecfe7b91.js → file-access-ecfe7b91.js} +2 -2
- package/dist/chunks/{permission-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-51n5pk6z.js → file-access-efd5z8ny.js} +12 -12
- package/dist/chunks/{permission-f82z4zvv.js → file-access-efq6bxpk.js} +3 -3
- package/dist/chunks/{permission-nb9p6b26.js → file-access-ermxvwhp.js} +4 -4
- package/dist/chunks/{permission-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
- package/dist/chunks/{permission-nkdg3sj8.js → file-access-f4mxeny4.js} +7 -7
- package/dist/chunks/{permission-hgfrrbh0.js → file-access-f7zky7ve.js} +22 -22
- package/dist/chunks/{permission-9m7h70yb.js → file-access-fdth3mr3.js} +10 -10
- package/dist/chunks/{permission-4gk3n205.js → file-access-fhwwmt3w.js} +20 -20
- package/dist/chunks/{permission-awaee7qt.js → file-access-fjvydvzm.js} +6 -6
- package/dist/chunks/{permission-w4tz3mw8.js → file-access-frvysw6e.js} +17 -17
- package/dist/chunks/{permission-45e4geyc.js → file-access-gas93twd.js} +35 -35
- package/dist/chunks/{permission-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-ywyx2haj.js → file-access-gpk600j1.js} +7 -7
- package/dist/chunks/{permission-qhrscye9.js → file-access-gtecn56v.js} +11 -11
- package/dist/chunks/{permission-gv6a8nnw.js → file-access-gv6a8nnw.js} +2 -2
- package/dist/chunks/{permission-41czef58.js → file-access-gzq5apsj.js} +4 -4
- package/dist/chunks/{permission-pwy65ecz.js → file-access-h6gdmyf8.js} +25 -25
- package/dist/chunks/{permission-4dgbcxzg.js → file-access-h6r3nrb9.js} +4 -4
- package/dist/chunks/{permission-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-y800c526.js → file-access-hb9qvk7n.js} +37 -37
- package/dist/chunks/{permission-hnr5yq9h.js → file-access-hcz3zddy.js} +5 -5
- package/dist/chunks/{permission-pfwe42sa.js → file-access-hg429xeg.js} +10 -10
- package/dist/chunks/{permission-1xa0h2ms.js → file-access-hnwbm56y.js} +6 -6
- package/dist/chunks/{permission-rw86at65.js → file-access-hr1w2mm6.js} +24 -24
- package/dist/chunks/{permission-4z4dz35z.js → file-access-hrehjthg.js} +8 -8
- package/dist/chunks/{permission-m9b6kb6q.js → file-access-hzmns3wg.js} +1 -1
- package/dist/chunks/{permission-xpj8nf9s.js → file-access-j07veqf6.js} +27 -27
- package/dist/chunks/{permission-6fk4tdpn.js → file-access-j34awfj4.js} +10 -10
- package/dist/chunks/{permission-j56e64zr.js → file-access-j56e64zr.js} +1 -1
- package/dist/chunks/{permission-wy5fy4m8.js → file-access-j83wewfm.js} +23 -23
- package/dist/chunks/{permission-584yye6p.js → file-access-jahf9mby.js} +38 -38
- package/dist/chunks/{permission-256nx13v.js → file-access-jexxy024.js} +3 -3
- package/dist/chunks/{permission-1ysbcb6q.js → file-access-k1s0srkb.js} +10 -10
- package/dist/chunks/{permission-kpt7db8g.js → file-access-k2w2e4qt.js} +5 -5
- package/dist/chunks/{permission-nzks3jc8.js → file-access-k3c624dm.js} +3 -3
- package/dist/chunks/{permission-8faqvjx1.js → file-access-k88pt7np.js} +23 -23
- package/dist/chunks/{permission-sfya1ybz.js → file-access-ksear8pa.js} +30 -30
- package/dist/chunks/{permission-0g7pd6ta.js → file-access-ksxfp18t.js} +32 -32
- package/dist/chunks/{permission-m3fdjcah.js → file-access-m3fdjcah.js} +1 -1
- package/dist/chunks/{permission-kz92j2tj.js → file-access-m6yz57p5.js} +22 -22
- package/dist/chunks/{permission-zq57yxn8.js → file-access-m7ygnyv0.js} +71 -71
- package/dist/chunks/{permission-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-bczx3n1j.js → file-access-mce70z9k.js} +2 -2
- package/dist/chunks/{permission-bkfea2es.js → file-access-mcg4cdmb.js} +22 -22
- package/dist/chunks/{permission-cnrsv64g.js → file-access-me78x99w.js} +41 -41
- package/dist/chunks/{permission-5v1y5507.js → file-access-me9yfmm8.js} +5 -5
- package/dist/chunks/{permission-33w4ejhs.js → file-access-mfqp6xfm.js} +9 -9
- package/dist/chunks/{permission-ayaqcnb4.js → file-access-mkd90k1k.js} +16 -16
- package/dist/chunks/{permission-hmgm1r3d.js → file-access-mktjswcw.js} +34 -34
- package/dist/chunks/{permission-pvxjc7f1.js → file-access-mts3tp2a.js} +29 -29
- package/dist/chunks/{permission-nr94q6s0.js → file-access-mvfdckk2.js} +6 -6
- package/dist/chunks/{permission-1bbkgx8g.js → file-access-mvfsc1pv.js} +3 -3
- package/dist/chunks/{permission-mvksx64m.js → file-access-mvksx64m.js} +4 -4
- package/dist/chunks/{permission-5q13c62c.js → file-access-mxr1v1s0.js} +8 -8
- package/dist/chunks/{permission-nw7zyz1n.js → file-access-nb97snw5.js} +7 -7
- package/dist/chunks/{permission-pm3n1g0e.js → file-access-nddt17wd.js} +15 -15
- package/dist/chunks/{permission-e92bq28b.js → file-access-negvxphk.js} +42 -42
- package/dist/chunks/{permission-tk1jy2x3.js → file-access-nen0t6m1.js} +19 -19
- package/dist/chunks/{permission-zzja90ps.js → file-access-nfhxq8kb.js} +21 -21
- package/dist/chunks/{permission-kxpygcw9.js → file-access-p0b4ytnr.js} +6 -6
- package/dist/chunks/{permission-fafky6mp.js → file-access-p2drbkg5.js} +23 -23
- package/dist/chunks/{permission-5yzzbxa7.js → file-access-p37cw4rj.js} +8 -8
- package/dist/chunks/{permission-y06pfwqc.js → file-access-p9p4b71m.js} +27 -27
- package/dist/chunks/{permission-rzczz02k.js → file-access-pcmh8n4s.js} +45 -45
- package/dist/chunks/{permission-4scqb8zw.js → file-access-pdh0wy3m.js} +20 -20
- package/dist/chunks/{permission-5fsz5bhv.js → file-access-pekdjahx.js} +11 -11
- package/dist/chunks/{permission-svf4gwh1.js → file-access-pgwpntn4.js} +4 -4
- package/dist/chunks/{permission-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → file-access-pknna89w.js} +1 -1
- package/dist/chunks/{permission-v3sgzvyr.js → file-access-pnqe9gv0.js} +1 -1
- package/dist/chunks/{permission-b2mnzr05.js → file-access-q98mvgyg.js} +13 -13
- package/dist/chunks/{permission-5hfyzxkm.js → file-access-q9nke688.js} +15 -15
- package/dist/chunks/{permission-b56pkp53.js → file-access-qfwq9sf6.js} +16 -16
- package/dist/chunks/{permission-kfphszmj.js → file-access-qg0jgkcp.js} +9 -9
- package/dist/chunks/{permission-awv4ahag.js → file-access-qje44bf3.js} +3 -3
- package/dist/chunks/{permission-j9q6k7aj.js → file-access-qnshbhpz.js} +8 -8
- package/dist/chunks/{permission-qsdy395h.js → file-access-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-w3nd4yv7.js → file-access-qvrs9pm7.js} +47 -47
- package/dist/chunks/{permission-2sejkfem.js → file-access-r2m716tb.js} +9 -9
- package/dist/chunks/{permission-k1t2h6fm.js → file-access-r4k1wyhr.js} +3 -3
- package/dist/chunks/{permission-ratrq7cm.js → file-access-ratrq7cm.js} +1 -1
- package/dist/chunks/{permission-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-rhjbct0v.js → file-access-rhjbct0v.js} +1 -1
- package/dist/chunks/{permission-0jdm48jn.js → file-access-rjq7qqfa.js} +44 -44
- package/dist/chunks/{permission-rxe57bkw.js → file-access-rjsh0779.js} +8 -8
- package/dist/chunks/{permission-dfpaty28.js → file-access-rw4r7gj7.js} +11 -11
- package/dist/chunks/{permission-tbhezzwm.js → file-access-rxpah76v.js} +26 -26
- package/dist/chunks/{permission-yrznvahk.js → file-access-s4enseaf.js} +2 -2
- package/dist/chunks/{permission-57g7wts8.js → file-access-s6cz2hhw.js} +22 -22
- package/dist/chunks/{permission-v0ggm0fh.js → file-access-s9q1cvsk.js} +22 -22
- package/dist/chunks/{permission-hkspma10.js → file-access-sb2mhttb.js} +15 -15
- package/dist/chunks/{permission-hcrg44m0.js → file-access-sd5ayyvb.js} +10 -10
- package/dist/chunks/{permission-h7eh6x2y.js → file-access-sea28k5q.js} +11 -11
- package/dist/chunks/{permission-4se0c4pr.js → file-access-shcbc0mr.js} +51 -51
- package/dist/chunks/{permission-t48gppwk.js → file-access-skrn7tyk.js} +24 -24
- package/dist/chunks/{permission-yt30x9cm.js → file-access-ssfqen5b.js} +24 -24
- package/dist/chunks/{permission-k2h4r4s0.js → file-access-t51qk8jz.js} +21 -21
- package/dist/chunks/{permission-nmxb84e1.js → file-access-t638vh07.js} +17 -17
- package/dist/chunks/{permission-qbhgxd5f.js → file-access-t8ssh1sh.js} +16 -16
- package/dist/chunks/{permission-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-tcezcvh9.js → file-access-tcezcvh9.js} +1 -1
- package/dist/chunks/{permission-8dz9zr32.js → file-access-tdhdvv51.js} +9 -9
- package/dist/chunks/{permission-tdstcens.js → file-access-tdstcens.js} +1 -1
- package/dist/chunks/{permission-tvtrv512.js → file-access-tvtrv512.js} +1 -1
- package/dist/chunks/{permission-a0zk29s1.js → file-access-tvve5xjy.js} +4 -4
- package/dist/chunks/{permission-d847bbj0.js → file-access-v4jzz8kz.js} +15 -15
- package/dist/chunks/{permission-vs1r7qq9.js → file-access-v9pkbxww.js} +22 -22
- package/dist/chunks/{permission-veqvce7d.js → file-access-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-24tsh65v.js → file-access-vfn0gt82.js} +5 -5
- package/dist/chunks/{permission-2vgzs72b.js → file-access-vrpz8t5t.js} +5 -5
- package/dist/chunks/{permission-czy61f26.js → file-access-vsx3errm.js} +12 -12
- package/dist/chunks/{permission-w3v9xvx0.js → file-access-vttwzxbr.js} +6 -6
- package/dist/chunks/{permission-vhgy81xs.js → file-access-vx9wnsws.js} +9 -9
- package/dist/chunks/{permission-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
- package/dist/chunks/{permission-vzs5sf6e.js → file-access-vzs5sf6e.js} +1 -1
- package/dist/chunks/{permission-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-m4avm7a4.js → file-access-w5fm9rj9.js} +16 -16
- package/dist/chunks/{permission-ck61pxrr.js → file-access-w7kk730q.js} +31 -31
- package/dist/chunks/{permission-0fmtf5bj.js → file-access-w9xbefsq.js} +19 -19
- package/dist/chunks/{permission-b6yfrbdv.js → file-access-wd1jg618.js} +11 -11
- package/dist/chunks/{permission-wd3x2cqz.js → file-access-wd3x2cqz.js} +2 -2
- package/dist/chunks/{permission-wd87259q.js → file-access-wd87259q.js} +1 -1
- package/dist/chunks/{permission-s0pzxwsy.js → file-access-wefk1wqt.js} +35 -35
- package/dist/chunks/{permission-19vh884z.js → file-access-wkwjecr6.js} +17 -17
- package/dist/chunks/{permission-f22ykn95.js → file-access-ww2xgyza.js} +33 -33
- package/dist/chunks/{permission-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
- package/dist/chunks/{permission-xcxmx1ny.js → file-access-x3avqwht.js} +12 -12
- package/dist/chunks/{permission-5tkkp2n3.js → file-access-x4sthz2w.js} +29 -29
- package/dist/chunks/{permission-5x8k1esv.js → file-access-x8b8vvbw.js} +13 -13
- package/dist/chunks/{permission-sxzvkvgj.js → file-access-xcd0eash.js} +6 -6
- package/dist/chunks/{permission-drwq78ky.js → file-access-xfkkasph.js} +4 -4
- package/dist/chunks/{permission-xkntkrq7.js → file-access-xkntkrq7.js} +2 -2
- package/dist/chunks/{permission-dymtc34b.js → file-access-xsxds6qn.js} +169 -169
- package/dist/chunks/{permission-kmx0na6r.js → file-access-xxndcd6m.js} +4 -4
- package/dist/chunks/{permission-qp1prb2r.js → file-access-xz29hvcb.js} +11 -11
- package/dist/chunks/{permission-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-ddxa4xrn.js → file-access-y4w844dc.js} +87 -87
- package/dist/chunks/{permission-jwcy2c2z.js → file-access-y71avatq.js} +4 -4
- package/dist/chunks/{permission-gzfen01c.js → file-access-yjgdj1z3.js} +4 -4
- package/dist/chunks/{permission-fqwz5wn3.js → file-access-ynz8wf59.js} +27 -27
- package/dist/chunks/{permission-3f4rnrsa.js → file-access-yp1ke19a.js} +23 -23
- package/dist/chunks/{permission-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
- package/dist/chunks/{permission-p0thxmc5.js → file-access-yw2ajja7.js} +3 -3
- package/dist/chunks/{permission-z07pqspn.js → file-access-z07pqspn.js} +3 -3
- package/dist/chunks/{permission-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-azs9k5d5.js → file-access-z19z2vt9.js} +13 -13
- package/dist/chunks/{permission-1nzh38e4.js → file-access-z3nay82g.js} +9 -9
- package/dist/chunks/{permission-fatsxjpm.js → file-access-z6p2s66k.js} +11 -11
- package/dist/chunks/{permission-vx0142rj.js → file-access-z8ckggf1.js} +22 -22
- package/dist/chunks/{permission-x3mwxeme.js → file-access-z9mg39zm.js} +11 -11
- package/dist/chunks/{permission-8wm8yswe.js → file-access-za77p82n.js} +6 -6
- package/dist/chunks/{permission-1ycd2rxc.js → file-access-zcdn9qkv.js} +48 -48
- package/dist/chunks/{permission-zeh9ct20.js → file-access-zeh9ct20.js} +2 -2
- package/dist/chunks/{permission-etzz3kcr.js → file-access-zq6stcrg.js} +8 -8
- package/dist/chunks/{permission-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-34t9xht8.js → file-access-zr4a2xz6.js} +48 -48
- package/dist/chunks/{permission-8zd0p5g4.js → file-access-zrfdpbnq.js} +29 -29
- package/dist/chunks/{permission-j1mnsbt4.js → file-access-zsycvhqj.js} +7 -7
- package/dist/chunks/{permission-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
- 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 +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +103 -103
- 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 +99 -99
- 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/id/id.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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +89 -89
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- 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 +8 -8
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/permission-0mesazry.js +0 -4
- package/dist/chunks/permission-97q5ahja.js +0 -511
- package/dist/chunks/permission-gexvz8d1.js +0 -26
- package/dist/chunks/permission-hbvxqsxt.js +0 -252
- package/dist/chunks/permission-rap9a73h.js +0 -18
- /package/dist/chunks/{permission-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → file-access-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → file-access-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-34c7v6d4.js → file-access-34c7v6d4.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → file-access-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → file-access-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → file-access-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → file-access-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → file-access-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → file-access-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → file-access-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → file-access-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → file-access-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-922hggd3.js → file-access-922hggd3.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → file-access-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → file-access-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → file-access-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → file-access-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → file-access-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → file-access-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → file-access-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → file-access-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → file-access-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → file-access-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → file-access-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → file-access-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → file-access-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → file-access-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → file-access-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → file-access-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → file-access-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → file-access-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → file-access-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → file-access-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → file-access-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → file-access-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → file-access-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-c3jkddnq.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-d5ggx3gj.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-access-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./file-access-4acqjqp7.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-access-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make3
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make3 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service68;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make3, LoadError2, exports_module };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node86
|
|
7
|
+
} from "./file-access-dq0v80fr.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-access-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service84,
|
|
13
13
|
node88
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-access-qje44bf3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service83,
|
|
17
|
+
node87
|
|
18
|
+
} from "./file-access-x3avqwht.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-access-wd3x2cqz.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-access-94ek1h2f.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
ID17,
|
|
27
|
+
NotFoundError11
|
|
28
|
+
} from "./file-access-pcmh8n4s.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Ref4
|
|
31
|
+
} from "./file-access-5zarf4w6.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service56,
|
|
34
|
+
node59
|
|
35
|
+
} from "./file-access-pekdjahx.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./file-access-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
make12
|
|
42
|
+
} from "./file-access-8d0p2m37.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service25
|
|
45
|
+
} from "./file-access-nfhxq8kb.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./file-access-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
52
52
|
__export(exports_worktree2, {
|
|
53
|
-
CreateInput: () =>
|
|
53
|
+
CreateInput: () => CreateInput2,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event6,
|
|
57
|
+
Info: () => Info3,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service24,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node27
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -77,13 +77,13 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
77
77
|
import { ChildProcess } from "effect/unstable/process";
|
|
78
78
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
|
-
var
|
|
80
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info3 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
86
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
86
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -94,22 +94,22 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event6 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service24 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service84;
|
|
104
104
|
const db = database.db;
|
|
105
|
-
const bus = yield*
|
|
105
|
+
const bus = yield* Service83;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
108
|
-
const gitStrategy = yield*
|
|
107
|
+
const locations = yield* Service56;
|
|
108
|
+
const gitStrategy = yield* make12;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
112
|
-
return yield* new
|
|
112
|
+
return yield* new NotFoundError11({ projectID });
|
|
113
113
|
return row;
|
|
114
114
|
});
|
|
115
115
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -118,13 +118,13 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
118
118
|
if (current?.directory === directory)
|
|
119
119
|
return current.get();
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
|
-
const context = yield* locations.contextEffect(
|
|
121
|
+
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service25).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event6.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service24.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node27 = Node.makeGlobalNode({
|
|
265
|
+
service: Service24,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node,
|
|
267
|
+
deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node59]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2,
|
|
277
|
+
export { StrategyID2, CreateInput2, RemoveInput2, Info3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service24, node27, exports_worktree2, OperationError2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service7,
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service7.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node8 = makeLocationNode({ service: Service7, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service7, node8, exports_location_watcher_policy };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-access-hzmns3wg.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-access-c3jkddnq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-access-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./file-access-x3avqwht.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event19,
|
|
7
|
+
Service77,
|
|
8
|
+
node81
|
|
9
|
+
} from "./file-access-65p03r80.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service68,
|
|
12
|
+
node71
|
|
13
|
+
} from "./file-access-4acqjqp7.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-access-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node83
|
|
20
|
+
} from "./file-access-5zarf4w6.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-access-s4enseaf.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-access-v9pkbxww.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-access-75gb3hq5.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-access-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service69,
|
|
36
|
+
Event15,
|
|
37
|
+
node72
|
|
38
|
+
} from "./file-access-m6yz57p5.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./file-access-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
47
|
Options: () => Options7,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service67,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured8,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer23,
|
|
53
|
+
node: () => node70,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,7 +71,7 @@ var Options7 = Schema.Struct({
|
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service67 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service67, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer23 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
98
|
-
const bus = yield*
|
|
99
|
-
const credentials = yield*
|
|
96
|
+
const location = yield* Service79;
|
|
97
|
+
const watcher = yield* Service68;
|
|
98
|
+
const bus = yield* Service83;
|
|
99
|
+
const credentials = yield* Service77;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service69;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,8 +221,8 @@ var layer20 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer20 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service67.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer20 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured8(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service67,
|
|
268
|
+
layer: layer23(options),
|
|
269
|
+
deps: [node71, node87, FSUtil.node, Global.node, node83, node81, node72]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node70 = configured8();
|
|
273
273
|
|
|
274
|
-
export { latest2, Options7,
|
|
274
|
+
export { latest2, Options7, Service67, Test2, testLayer2, layer23, configured8, node70, exports_config };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-9syxb0r3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin23,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin23 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin19 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin19 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin23, exports_tavily };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./file-access-rjq7qqfa.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./file-access-0egx9fcg.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-access-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-access-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin10
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin10 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service67;
|
|
27
|
+
const output = yield* Service66;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin36 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin10, exports_tool_output };
|