@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,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-access-qje44bf3.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service83,
|
|
10
|
+
node87
|
|
11
|
+
} from "./file-access-x3avqwht.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service82,
|
|
14
|
+
node86
|
|
15
|
+
} from "./file-access-dq0v80fr.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info34,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-access-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-access-wd3x2cqz.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-access-94ek1h2f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-access-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info33,
|
|
41
|
+
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service81,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node85,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info33 = Info34;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service81 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,11 +95,11 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service82;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service83;
|
|
103
103
|
const db = (yield* Service84).db;
|
|
104
104
|
const announcing = new Set;
|
|
105
105
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
108
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
109
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
110
110
|
if (row)
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
112
112
|
}
|
|
113
113
|
if (!project.vcs)
|
|
114
114
|
return project;
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
145
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
146
146
|
projectID: item.projectID,
|
|
147
147
|
directory: item.directory,
|
|
148
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID17.global,
|
|
149
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
150
150
|
}, {
|
|
151
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
168
168
|
time_updated: Date.now()
|
|
169
169
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
170
170
|
if (!row)
|
|
171
|
-
return yield* new
|
|
171
|
+
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event21.Updated, project);
|
|
174
174
|
return project;
|
|
175
175
|
});
|
|
176
176
|
const activated = new Map;
|
|
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
181
181
|
activated.set(projectID, now);
|
|
182
182
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
183
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
184
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
188
188
|
return;
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
195
195
|
const normalized = url(origin);
|
|
196
196
|
if (!normalized)
|
|
197
197
|
return;
|
|
198
|
-
return
|
|
198
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
199
199
|
});
|
|
200
200
|
function url(input) {
|
|
201
201
|
const value = input.trim();
|
|
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
220
220
|
}
|
|
221
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
222
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
223
|
-
return root ?
|
|
223
|
+
return root ? ID17.make(root) : undefined;
|
|
224
224
|
});
|
|
225
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
226
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
236
236
|
return;
|
|
237
237
|
const node = result.stdout.toString("utf8").split(`
|
|
238
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
239
|
-
return node ?
|
|
239
|
+
return node ? ID17.make(node) : undefined;
|
|
240
240
|
});
|
|
241
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
242
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
245
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
246
246
|
return {
|
|
247
247
|
previous,
|
|
248
|
-
id: id ??
|
|
248
|
+
id: id ?? ID17.global,
|
|
249
249
|
directory: worktree,
|
|
250
250
|
vcs: { type: "hg", store }
|
|
251
251
|
};
|
|
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
262
262
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
263
263
|
return yield* persist({
|
|
264
264
|
previous,
|
|
265
|
-
id: id ??
|
|
265
|
+
id: id ?? ID17.global,
|
|
266
266
|
directory: repo.worktree,
|
|
267
267
|
canonical,
|
|
268
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
return yield* persist({
|
|
279
|
-
id:
|
|
279
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
280
280
|
directory,
|
|
281
281
|
canonical: directory,
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service81.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node85 = makeGlobalNode({
|
|
288
|
+
service: Service81,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export {
|
|
293
|
+
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./file-access-95ep91d8.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info21
|
|
9
|
+
} from "./file-access-sea28k5q.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-access-yjgdj1z3.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service67
|
|
16
|
+
} from "./file-access-rjq7qqfa.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-access-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-access-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin8
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info21);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin8 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service67;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin42 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID8.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID8.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin8, exports_agent };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Ref4
|
|
3
|
+
} from "./file-access-5zarf4w6.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service56,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node59,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service56 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service56, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node59 = LayerNode.unbound(Service56, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service56;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -39,10 +39,10 @@ var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
|
39
39
|
yield* Effect.logInfo("location services reloaded", { count: refs.length });
|
|
40
40
|
});
|
|
41
41
|
function canonical3(ref) {
|
|
42
|
-
return
|
|
42
|
+
return Ref4.make({
|
|
43
43
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
44
44
|
workspaceID: ref.workspaceID
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service56, node59, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-w9xbefsq.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-access-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-access-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./file-access-5zarf4w6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service67
|
|
9
|
+
} from "./file-access-rjq7qqfa.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-access-x4sthz2w.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-access-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-access-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin9
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin9 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service67;
|
|
35
|
+
const location = yield* Service79;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin9, exports_reference };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./file-access-5zarf4w6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service67
|
|
9
|
+
} from "./file-access-rjq7qqfa.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service25
|
|
12
|
+
} from "./file-access-nfhxq8kb.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-access-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-access-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin17
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin17 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service67;
|
|
34
|
+
const location = yield* Service79;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service25;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin39 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin17, exports_worktree };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./file-access-z3nay82g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./file-access-xcd0eash.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-access-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-access-7fj5dwt0.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service73
|
|
15
|
+
} from "./file-access-4e8vs6eh.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-access-2qq7qy34.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service43
|
|
23
|
+
} from "./file-access-93g208q1.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-access-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service52;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service73;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service43;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service55;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service10,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service10.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service10, node12, exports_discovery };
|