@opencode/core 0.0.0-dev-20026 → 0.0.0-dev-20029
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{variant-kqbmdx55.js → managed-policy-02rzac9a.js} +29 -29
- package/dist/chunks/{variant-8eh51za7.js → managed-policy-07ntzvz4.js} +9 -9
- package/dist/chunks/{variant-k5y748ge.js → managed-policy-0c92dpjb.js} +3 -3
- package/dist/chunks/{variant-af7j52hr.js → managed-policy-0fcjr1ar.js} +4 -4
- package/dist/chunks/{variant-zzexawz9.js → managed-policy-0g0txq2z.js} +23 -23
- package/dist/chunks/{variant-pt7424fw.js → managed-policy-0k1wajbn.js} +7 -7
- package/dist/chunks/{variant-0paq2nw3.js → managed-policy-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-r6cdbtvh.js → managed-policy-0r5abbz4.js} +4 -4
- package/dist/chunks/{variant-dtss6q18.js → managed-policy-0sf511qw.js} +11 -11
- package/dist/chunks/{variant-ppxpc5nv.js → managed-policy-0vqt28aq.js} +3 -3
- package/dist/chunks/{variant-t6055e0v.js → managed-policy-19e700kt.js} +31 -31
- package/dist/chunks/{variant-4n6z1r8s.js → managed-policy-1a551269.js} +24 -24
- package/dist/chunks/{variant-yp2x3t23.js → managed-policy-1acjjqhc.js} +4 -4
- package/dist/chunks/{variant-zqy8ejrp.js → managed-policy-1ag1pq0v.js} +14 -14
- package/dist/chunks/{variant-1dazxqgg.js → managed-policy-1dazxqgg.js} +2 -2
- package/dist/chunks/{variant-7xgrqf4n.js → managed-policy-1edxvj4h.js} +15 -15
- package/dist/chunks/{variant-xb02k0wq.js → managed-policy-1g7epwpd.js} +7 -7
- package/dist/chunks/{variant-ajk3nktm.js → managed-policy-1pyqratn.js} +33 -33
- package/dist/chunks/{variant-fbc9vsj2.js → managed-policy-1tdcmptc.js} +20 -20
- package/dist/chunks/{variant-21r38tys.js → managed-policy-21r38tys.js} +1 -1
- package/dist/chunks/{variant-2402vzrj.js → managed-policy-2402vzrj.js} +1 -1
- package/dist/chunks/{variant-md1qfzvn.js → managed-policy-251d3kbp.js} +30 -30
- package/dist/chunks/{variant-2a5m3afh.js → managed-policy-2a5m3afh.js} +1 -1
- package/dist/chunks/{variant-a6x7shte.js → managed-policy-2da53pjx.js} +3 -3
- package/dist/chunks/{variant-xe0jn6g3.js → managed-policy-2p8k3371.js} +5 -5
- package/dist/chunks/{variant-f747t98r.js → managed-policy-2ryrf09a.js} +16 -16
- package/dist/chunks/{variant-rtgnjske.js → managed-policy-2vng4z65.js} +31 -31
- package/dist/chunks/{variant-5hwa0061.js → managed-policy-2wygw19c.js} +2 -2
- package/dist/chunks/{variant-6p55r51m.js → managed-policy-30kwrm97.js} +1 -1
- package/dist/chunks/{variant-2ptfhmaq.js → managed-policy-38h5e1be.js} +16 -16
- package/dist/chunks/{variant-stas9bdh.js → managed-policy-3cz6x5mb.js} +9 -9
- package/dist/chunks/{variant-3fc6dm20.js → managed-policy-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-3hepkmqq.js → managed-policy-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-6rxwp35s.js → managed-policy-3hhw65fg.js} +20 -20
- package/dist/chunks/{variant-2d57kztd.js → managed-policy-3k6sfp50.js} +6 -6
- package/dist/chunks/{variant-3smtnn6g.js → managed-policy-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → managed-policy-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-dngx6zgq.js → managed-policy-3wdbfyxb.js} +2 -2
- package/dist/chunks/{variant-3zsf4n22.js → managed-policy-3zsf4n22.js} +1 -1
- package/dist/chunks/{variant-v7eyjk8c.js → managed-policy-41dak7mt.js} +27 -27
- package/dist/chunks/{variant-ecnb5xks.js → managed-policy-41fs1qjb.js} +16 -16
- package/dist/chunks/{variant-wnsqmkbm.js → managed-policy-42tscsba.js} +24 -24
- package/dist/chunks/{variant-knb7evpn.js → managed-policy-44ke2mar.js} +2 -2
- package/dist/chunks/{variant-a5t4p5xt.js → managed-policy-473re8za.js} +24 -24
- package/dist/chunks/{variant-ehd2w0yp.js → managed-policy-4hpzevxd.js} +17 -17
- package/dist/chunks/{variant-nydghdxw.js → managed-policy-4jr8td7z.js} +24 -24
- package/dist/chunks/{variant-5b64cte8.js → managed-policy-4rsy6rhw.js} +18 -18
- package/dist/chunks/{variant-wbtey438.js → managed-policy-4s6vd5dk.js} +8 -8
- package/dist/chunks/{variant-r9684t3a.js → managed-policy-4y6b28a1.js} +10 -10
- package/dist/chunks/{variant-9mye8vwy.js → managed-policy-4yx5pf48.js} +11 -11
- package/dist/chunks/{variant-eqvqvd13.js → managed-policy-4zv6n53j.js} +12 -12
- package/dist/chunks/{variant-56gdpj1q.js → managed-policy-56gdpj1q.js} +2 -2
- package/dist/chunks/{variant-9jwjh49g.js → managed-policy-578fqz8n.js} +32 -32
- package/dist/chunks/{variant-pef6k0gg.js → managed-policy-57ez7d0k.js} +9 -9
- package/dist/chunks/managed-policy-57q3t40e.js +503 -0
- package/dist/chunks/{variant-5daktx2q.js → managed-policy-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-5ekn9679.js → managed-policy-5ekn9679.js} +1 -1
- package/dist/chunks/{variant-5jf3agd7.js → managed-policy-5h11ybms.js} +1 -1
- package/dist/chunks/{variant-d27k1qq2.js → managed-policy-5kbfeevd.js} +17 -17
- package/dist/chunks/{variant-e3qxr5gk.js → managed-policy-5qd3pb7m.js} +2 -2
- package/dist/chunks/{variant-5t3nmthw.js → managed-policy-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-q7azfttr.js → managed-policy-5xpznt2d.js} +4 -4
- package/dist/chunks/{variant-gga0wymx.js → managed-policy-61qqwrfn.js} +68 -68
- package/dist/chunks/{variant-669tq793.js → managed-policy-669tq793.js} +1 -1
- package/dist/chunks/{variant-mm84f3fs.js → managed-policy-67d3kp3s.js} +27 -27
- package/dist/chunks/{variant-7c8esnqs.js → managed-policy-6b1r9qfx.js} +25 -25
- package/dist/chunks/{variant-7d4hdxdy.js → managed-policy-6c314mz2.js} +11 -11
- package/dist/chunks/{variant-fzhdr1mx.js → managed-policy-6djy54x7.js} +1 -1
- package/dist/chunks/managed-policy-6kdq0pjd.js +4 -0
- package/dist/chunks/{variant-zxbrzaq9.js → managed-policy-6kzvch4n.js} +11 -11
- package/dist/chunks/{variant-yaktvxn2.js → managed-policy-6mct90se.js} +15 -15
- package/dist/chunks/{variant-84sj45vf.js → managed-policy-6mnafygm.js} +15 -15
- package/dist/chunks/{variant-6msgmcgs.js → managed-policy-6msgmcgs.js} +1 -1
- package/dist/chunks/{variant-v1nyvan4.js → managed-policy-6nvgqmbz.js} +38 -38
- package/dist/chunks/{variant-9r5qhkng.js → managed-policy-6rewzfhv.js} +15 -15
- package/dist/chunks/{variant-71zkw7xr.js → managed-policy-72zxmgt4.js} +9 -9
- package/dist/chunks/{variant-5mef3xk7.js → managed-policy-76cqma85.js} +15 -15
- package/dist/chunks/{variant-j55501wg.js → managed-policy-76xhfwj9.js} +6 -6
- package/dist/chunks/{variant-7bmhse3q.js → managed-policy-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-rbqcddk9.js → managed-policy-7dvrqder.js} +14 -14
- package/dist/chunks/{variant-8tpythmx.js → managed-policy-7h9mx2w5.js} +24 -24
- package/dist/chunks/{variant-q7mj73f6.js → managed-policy-7jykq1cg.js} +24 -24
- package/dist/chunks/{variant-mjncxbbh.js → managed-policy-7s6gk46a.js} +9 -9
- package/dist/chunks/{variant-tk2xtqnn.js → managed-policy-7szh0m8y.js} +32 -32
- package/dist/chunks/{variant-mn93ga5d.js → managed-policy-87q0yepe.js} +17 -17
- package/dist/chunks/{variant-tcezcvh9.js → managed-policy-89znhe33.js} +4 -4
- package/dist/chunks/{variant-ybday7y9.js → managed-policy-8aj1qpge.js} +11 -11
- package/dist/chunks/{variant-8d7r5vzw.js → managed-policy-8d7r5vzw.js} +1 -1
- package/dist/chunks/{variant-nj481gba.js → managed-policy-8fhzpqwh.js} +5 -5
- package/dist/chunks/{variant-fzgxakwn.js → managed-policy-8q61w4ba.js} +6 -6
- package/dist/chunks/{variant-jes8xwtq.js → managed-policy-8xh1vfpb.js} +6 -6
- package/dist/chunks/{variant-gfvb90ym.js → managed-policy-94ek1h2f.js} +2 -2
- package/dist/chunks/{variant-834a0b17.js → managed-policy-984xje6x.js} +7 -7
- package/dist/chunks/{variant-r39jerzg.js → managed-policy-9b0k8yaa.js} +10 -10
- package/dist/chunks/{variant-jk953tft.js → managed-policy-9bqmq0zv.js} +4 -4
- package/dist/chunks/{variant-e37stjd8.js → managed-policy-9eyez545.js} +11 -11
- package/dist/chunks/{variant-g20tdqpk.js → managed-policy-9jmvwkse.js} +32 -32
- package/dist/chunks/{variant-kfd45557.js → managed-policy-9ra9hhs6.js} +18 -18
- package/dist/chunks/{variant-ar8vm0ff.js → managed-policy-9yxd2v4q.js} +13 -13
- package/dist/chunks/managed-policy-9zdhvgqs.js +18 -0
- package/dist/chunks/{variant-dbdtaeh3.js → managed-policy-a293rvby.js} +42 -42
- package/dist/chunks/{variant-s5d9hk7s.js → managed-policy-a3ftg8j6.js} +9 -9
- package/dist/chunks/{variant-aaet6srn.js → managed-policy-aaet6srn.js} +2 -2
- package/dist/chunks/{variant-t3hvp6ye.js → managed-policy-ad2m42br.js} +37 -37
- package/dist/chunks/{variant-yh7kjdpc.js → managed-policy-aej8eep8.js} +9 -9
- package/dist/chunks/{variant-21xkm9mw.js → managed-policy-akq6t692.js} +22 -22
- package/dist/chunks/{variant-hpfrvn9v.js → managed-policy-aw4bep3f.js} +16 -16
- package/dist/chunks/{variant-g2yz86wh.js → managed-policy-b09hzw3k.js} +2 -2
- package/dist/chunks/{variant-yf5fe4my.js → managed-policy-b11r5vy8.js} +18 -18
- package/dist/chunks/{variant-b6gygkdw.js → managed-policy-b6gygkdw.js} +2 -2
- package/dist/chunks/{variant-2p623br6.js → managed-policy-b7b4ctej.js} +5 -5
- package/dist/chunks/{variant-jx4tygjy.js → managed-policy-bgx3rwgq.js} +10 -10
- package/dist/chunks/{variant-8mvw6bgy.js → managed-policy-bxbprr42.js} +25 -25
- package/dist/chunks/{variant-r2m716tb.js → managed-policy-c765mh8b.js} +5 -5
- package/dist/chunks/{variant-6w0aczmv.js → managed-policy-c9mmfgm8.js} +11 -11
- package/dist/chunks/{variant-54tcyq79.js → managed-policy-ckecvw8r.js} +2 -2
- package/dist/chunks/{variant-6zedfc54.js → managed-policy-cn0pj63m.js} +27 -27
- package/dist/chunks/managed-policy-crpty8yf.js +252 -0
- package/dist/chunks/{variant-s07fdbeq.js → managed-policy-d9jh3nn5.js} +19 -19
- package/dist/chunks/{variant-557d9c8t.js → managed-policy-d9v6a70r.js} +20 -20
- package/dist/chunks/{variant-nk7804dj.js → managed-policy-dd5dn1hm.js} +11 -11
- package/dist/chunks/{variant-v1x57w6y.js → managed-policy-ddnyxkgk.js} +19 -19
- package/dist/chunks/{variant-7836xe6r.js → managed-policy-dej5hqqy.js} +7 -7
- package/dist/chunks/{variant-3g33scay.js → managed-policy-dg2cj1yd.js} +4 -4
- package/dist/chunks/{variant-9byqxeta.js → managed-policy-drkpxzze.js} +17 -17
- package/dist/chunks/{variant-8epdgwc0.js → managed-policy-dz2720q4.js} +26 -26
- package/dist/chunks/{variant-t0yy7xg2.js → managed-policy-eabvk12d.js} +87 -87
- package/dist/chunks/{variant-2eyvmpqy.js → managed-policy-ebp4vjcq.js} +37 -37
- package/dist/chunks/{variant-s41dxx30.js → managed-policy-ed38yjr8.js} +1 -1
- package/dist/chunks/{variant-bfhm6t97.js → managed-policy-eezffbxh.js} +10 -10
- package/dist/chunks/{variant-ef5x83kb.js → managed-policy-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-vya4f7hk.js → managed-policy-ekj7a5hz.js} +11 -11
- package/dist/chunks/{variant-bjn6skbd.js → managed-policy-erv8bcet.js} +5 -5
- package/dist/chunks/{variant-erw5rpbs.js → managed-policy-erw5rpbs.js} +2 -2
- package/dist/chunks/{variant-was7srj9.js → managed-policy-et0rkxxj.js} +8 -8
- package/dist/chunks/{variant-etq0c3wd.js → managed-policy-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-sjgae2xy.js → managed-policy-ew6h5s3h.js} +24 -24
- package/dist/chunks/{variant-cmh4zy5x.js → managed-policy-fanxnb74.js} +11 -11
- package/dist/chunks/{variant-b51jbz85.js → managed-policy-fapvw67d.js} +10 -10
- package/dist/chunks/{variant-nmvjxe16.js → managed-policy-fb6g4eyr.js} +10 -10
- package/dist/chunks/{variant-n7hwxzgv.js → managed-policy-fnqpbz25.js} +26 -26
- package/dist/chunks/{variant-2hr5nhwa.js → managed-policy-fqhbsnr5.js} +8 -8
- package/dist/chunks/{variant-b8y4420x.js → managed-policy-fr55k2sw.js} +43 -43
- package/dist/chunks/{variant-kns7re6s.js → managed-policy-fvgj0p1d.js} +18 -18
- package/dist/chunks/managed-policy-g14e49v8.js +26 -0
- package/dist/chunks/{variant-0xezjjjn.js → managed-policy-g1sxm558.js} +8 -8
- package/dist/chunks/{variant-1j4qs2dp.js → managed-policy-g7cdhhyx.js} +13 -13
- package/dist/chunks/{variant-6mmx0pze.js → managed-policy-g9trvnpg.js} +7 -7
- package/dist/chunks/{variant-gd4qta3r.js → managed-policy-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-4h2qm5xd.js → managed-policy-gfn7xntb.js} +40 -40
- package/dist/chunks/{variant-2d0rz701.js → managed-policy-gsc5p4tt.js} +16 -16
- package/dist/chunks/{variant-vrk0cgw0.js → managed-policy-gshdf3b6.js} +24 -24
- package/dist/chunks/{variant-gv6a8nnw.js → managed-policy-gv6a8nnw.js} +2 -2
- package/dist/chunks/{variant-0kdyx93j.js → managed-policy-gw0bnd3r.js} +20 -20
- package/dist/chunks/{variant-e6y173sj.js → managed-policy-gza8p2w0.js} +9 -9
- package/dist/chunks/{variant-h6r3nrb9.js → managed-policy-h6r3nrb9.js} +1 -1
- package/dist/chunks/{variant-h6vf3j39.js → managed-policy-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-zd5rdewp.js → managed-policy-hk10n3xs.js} +8 -8
- package/dist/chunks/{variant-1wyzf5g7.js → managed-policy-hsxmh5g8.js} +2 -2
- package/dist/chunks/{variant-6wjad31y.js → managed-policy-j3m7wdn9.js} +7 -7
- package/dist/chunks/{variant-j56e64zr.js → managed-policy-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-gf45v5rv.js → managed-policy-j7kakgc5.js} +9 -9
- package/dist/chunks/{variant-engkm2d6.js → managed-policy-jgttmm4a.js} +5 -5
- package/dist/chunks/{variant-2a6rn6yr.js → managed-policy-jhf3jymm.js} +6 -6
- package/dist/chunks/{variant-rhafb4aa.js → managed-policy-jjs74g98.js} +9 -9
- package/dist/chunks/{variant-bjn91642.js → managed-policy-jva4mgym.js} +4 -4
- package/dist/chunks/{variant-hkafdcbz.js → managed-policy-jyw9wa94.js} +1 -1
- package/dist/chunks/{variant-563rq041.js → managed-policy-jzapyy4j.js} +89 -89
- package/dist/chunks/{variant-0bzevza6.js → managed-policy-jzvhswbf.js} +18 -18
- package/dist/chunks/{variant-rh1n8m2g.js → managed-policy-k0b3m8xv.js} +11 -11
- package/dist/chunks/{variant-3wwqqeqp.js → managed-policy-k2a0w1ze.js} +2 -2
- package/dist/chunks/{variant-nzks3jc8.js → managed-policy-k3c624dm.js} +3 -3
- package/dist/chunks/{variant-vtd2qwnf.js → managed-policy-k53npxr2.js} +1 -1
- package/dist/chunks/{variant-0krcabsn.js → managed-policy-kavv7h9b.js} +6 -6
- package/dist/chunks/{variant-cgrt34rb.js → managed-policy-kmkte60t.js} +26 -26
- package/dist/chunks/{variant-2n3rws7p.js → managed-policy-kpa692bj.js} +16 -16
- package/dist/chunks/{variant-80dj63ps.js → managed-policy-kq7dkryj.js} +9 -9
- package/dist/chunks/{variant-rwnjws6z.js → managed-policy-kwe3mta9.js} +7 -7
- package/dist/chunks/{variant-cenw4sj9.js → managed-policy-kzcf93wx.js} +171 -171
- package/dist/chunks/{variant-m3fdjcah.js → managed-policy-m3fdjcah.js} +1 -1
- package/dist/chunks/{variant-1xcw6xjf.js → managed-policy-m56t3ka1.js} +27 -27
- package/dist/chunks/{variant-m9w0rfyh.js → managed-policy-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-6sr3ve8g.js → managed-policy-magykp64.js} +21 -21
- package/dist/chunks/{variant-na0h3a6c.js → managed-policy-mkhtgmm9.js} +19 -19
- package/dist/chunks/{variant-gs9rpsen.js → managed-policy-mvdfc68y.js} +11 -11
- package/dist/chunks/{variant-1bbkgx8g.js → managed-policy-mvfsc1pv.js} +3 -3
- package/dist/chunks/{variant-83xz4qq9.js → managed-policy-mxye78ab.js} +20 -20
- package/dist/chunks/{variant-4hz2mmtn.js → managed-policy-mzdhr4f5.js} +6 -6
- package/dist/chunks/{variant-fjeqa7jj.js → managed-policy-n17fh37w.js} +8 -8
- package/dist/chunks/{variant-dcer5810.js → managed-policy-nq90v52f.js} +26 -26
- package/dist/chunks/{variant-9f1seg8j.js → managed-policy-ntpzaq4y.js} +30 -30
- package/dist/chunks/{variant-9qw4j31g.js → managed-policy-ntrdmkct.js} +9 -9
- package/dist/chunks/{variant-8nx8zez9.js → managed-policy-p08t8h9z.js} +13 -13
- package/dist/chunks/{variant-m74j5n8t.js → managed-policy-p0ey5wrv.js} +44 -44
- package/dist/chunks/{variant-avrnkb01.js → managed-policy-p7pse8xf.js} +46 -46
- package/dist/chunks/{variant-c8swy7ka.js → managed-policy-p8hywtm9.js} +15 -15
- package/dist/chunks/{variant-17j9h1rv.js → managed-policy-pb1eahw5.js} +11 -11
- package/dist/chunks/{variant-p37cw4rj.js → managed-policy-phstrbs2.js} +8 -8
- package/dist/chunks/{variant-pjvnvgmy.js → managed-policy-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → managed-policy-pknna89w.js} +1 -1
- package/dist/chunks/{variant-gbdr24b9.js → managed-policy-pn2fvd3j.js} +12 -12
- package/dist/chunks/{variant-c5ezeqt5.js → managed-policy-q4pw0c2n.js} +27 -27
- package/dist/chunks/{variant-wtm3ybk1.js → managed-policy-q4yhrq2j.js} +3 -3
- package/dist/chunks/{variant-dvc89yjx.js → managed-policy-q6amncqc.js} +8 -8
- package/dist/chunks/{variant-kzynzy4y.js → managed-policy-qa1h2r6b.js} +14 -14
- package/dist/chunks/{variant-g04dwg7s.js → managed-policy-qdes8zwy.js} +4 -4
- package/dist/chunks/{variant-45p7gsnq.js → managed-policy-qdy7cmrh.js} +25 -25
- package/dist/chunks/{variant-7dqw4kz8.js → managed-policy-qgn6gcr1.js} +5 -5
- package/dist/chunks/{variant-hcz3zddy.js → managed-policy-qn4ba14w.js} +5 -5
- package/dist/chunks/{variant-qsdy395h.js → managed-policy-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-8fz7s7fk.js → managed-policy-rd8gyews.js} +3 -3
- package/dist/chunks/{variant-xycc92pn.js → managed-policy-rdp0wvtx.js} +32 -32
- package/dist/chunks/{variant-rdw6cm16.js → managed-policy-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-nq97rzw1.js → managed-policy-retwe0n8.js} +21 -21
- package/dist/chunks/{variant-8qdtva9t.js → managed-policy-rf504ff2.js} +15 -15
- package/dist/chunks/{variant-fhpv401t.js → managed-policy-rf7cpa0c.js} +47 -47
- package/dist/chunks/{variant-kad49353.js → managed-policy-rjq8wmvv.js} +14 -14
- package/dist/chunks/{variant-g1zq083n.js → managed-policy-rncv50b8.js} +13 -13
- package/dist/chunks/{variant-5mvsdnr7.js → managed-policy-rpg9xyrt.js} +4 -4
- package/dist/chunks/{variant-3h50d2d8.js → managed-policy-rrq86xxm.js} +8 -8
- package/dist/chunks/{variant-72v9w41r.js → managed-policy-ryw39exz.js} +54 -54
- package/dist/chunks/{variant-b9dsjnj7.js → managed-policy-s13azqgb.js} +8 -8
- package/dist/chunks/{variant-eaj1djv9.js → managed-policy-s8d7rejh.js} +6 -6
- package/dist/chunks/{variant-3cz8rj72.js → managed-policy-s8zy8myc.js} +5 -5
- package/dist/chunks/{variant-vkepkbsm.js → managed-policy-skvzhceq.js} +20 -20
- package/dist/chunks/{variant-3prdw56f.js → managed-policy-sr8wmms9.js} +46 -46
- package/dist/chunks/{variant-1a6p2twq.js → managed-policy-sx1n432n.js} +4 -4
- package/dist/chunks/{variant-nv7t75ky.js → managed-policy-t38q3erb.js} +11 -11
- package/dist/chunks/{variant-qmkkft71.js → managed-policy-t7mznaap.js} +20 -20
- package/dist/chunks/{variant-n3hpqbgj.js → managed-policy-tar13cek.js} +11 -11
- package/dist/chunks/{variant-tazgh4e4.js → managed-policy-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-tbmac1c7.js → managed-policy-tbmac1c7.js} +1 -1
- package/dist/chunks/{variant-tdstcens.js → managed-policy-tdstcens.js} +1 -1
- package/dist/chunks/{variant-dfjemdtf.js → managed-policy-tmfw0skg.js} +32 -32
- package/dist/chunks/{variant-tvtrv512.js → managed-policy-tvtrv512.js} +1 -1
- package/dist/chunks/{variant-z3pw5915.js → managed-policy-tz2bjj40.js} +5 -5
- package/dist/chunks/{variant-zvt5dnpc.js → managed-policy-tz4n1mmd.js} +4 -4
- package/dist/chunks/{variant-veqvce7d.js → managed-policy-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-jn81emqq.js → managed-policy-vff1trn9.js} +11 -11
- package/dist/chunks/{variant-a5fr2mj9.js → managed-policy-vgbd6tbf.js} +20 -20
- package/dist/chunks/{variant-cm9mwwq8.js → managed-policy-vk08gg5p.js} +29 -29
- package/dist/chunks/{variant-9cyfspf3.js → managed-policy-vtxr0yy2.js} +5 -5
- package/dist/chunks/{variant-0z6w7vfv.js → managed-policy-vy4zg7qh.js} +12 -12
- package/dist/chunks/{variant-0f3fkebw.js → managed-policy-vyp2nf9v.js} +4 -4
- package/dist/chunks/{variant-vzcthcp8.js → managed-policy-vzcthcp8.js} +1 -1
- package/dist/chunks/{variant-ngjw7veb.js → managed-policy-w1rh5dj8.js} +3 -3
- package/dist/chunks/{variant-w3wsvvr9.js → managed-policy-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-2g7pkq9k.js → managed-policy-w5684xyg.js} +20 -20
- package/dist/chunks/{variant-psazpmmj.js → managed-policy-wd3x2cqz.js} +2 -2
- package/dist/chunks/{variant-wd87259q.js → managed-policy-wd87259q.js} +1 -1
- package/dist/chunks/{variant-9esb0m0p.js → managed-policy-wjxzpywc.js} +1 -1
- package/dist/chunks/{variant-rc0khjqf.js → managed-policy-wxzf76mr.js} +12 -12
- package/dist/chunks/{variant-x1ezjp6w.js → managed-policy-x1ezjp6w.js} +1 -1
- package/dist/chunks/{variant-62m7qsdd.js → managed-policy-x1kf4mj5.js} +3 -3
- package/dist/chunks/{variant-z16bdfpw.js → managed-policy-x35r8jm4.js} +9 -9
- package/dist/chunks/{variant-edv89m0p.js → managed-policy-x5j8ez8g.js} +44 -44
- package/dist/chunks/{variant-s7h606h9.js → managed-policy-x6mfsyej.js} +25 -25
- package/dist/chunks/{variant-fx8cm3j5.js → managed-policy-xbcmvxpx.js} +11 -11
- package/dist/chunks/{variant-7yrwfpwm.js → managed-policy-xf43b6z6.js} +11 -11
- package/dist/chunks/{variant-drwq78ky.js → managed-policy-xfkkasph.js} +4 -4
- package/dist/chunks/{variant-n2cj49gr.js → managed-policy-xmvnm6d3.js} +22 -22
- package/dist/chunks/{variant-yq6sxka3.js → managed-policy-xsascqe8.js} +48 -48
- package/dist/chunks/{variant-avd8ev9v.js → managed-policy-y19c3zcv.js} +4 -4
- package/dist/chunks/{variant-y1fvbwt7.js → managed-policy-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-p8djes8h.js → managed-policy-y49pmrpy.js} +19 -19
- package/dist/chunks/{variant-xkhfjrgz.js → managed-policy-y6f0p4jw.js} +3 -3
- package/dist/chunks/{variant-y71avatq.js → managed-policy-y71avatq.js} +1 -1
- package/dist/chunks/{variant-31rgt9cd.js → managed-policy-y9xjjn74.js} +15 -15
- package/dist/chunks/{variant-75x4dgvy.js → managed-policy-yckd2dzx.js} +8 -8
- package/dist/chunks/{variant-jfmkgsry.js → managed-policy-yk0hjqzt.js} +18 -18
- package/dist/chunks/{variant-yrhqyw5v.js → managed-policy-yrhqyw5v.js} +1 -1
- package/dist/chunks/{variant-s4enseaf.js → managed-policy-yrznvahk.js} +2 -2
- package/dist/chunks/{variant-r8bjv7hd.js → managed-policy-yzg6r347.js} +14 -14
- package/dist/chunks/{variant-bjtzbw4r.js → managed-policy-z07pqspn.js} +3 -3
- package/dist/chunks/{variant-z0bkrqjs.js → managed-policy-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-rt8yt3bf.js → managed-policy-z13zbn97.js} +17 -17
- package/dist/chunks/{variant-29x78va6.js → managed-policy-z63w68vq.js} +6 -6
- package/dist/chunks/{variant-02av72dv.js → managed-policy-z8518aq2.js} +35 -35
- package/dist/chunks/{variant-7y60eay9.js → managed-policy-z85wtvq4.js} +37 -37
- package/dist/chunks/{variant-apg24jar.js → managed-policy-zbd32vaa.js} +30 -30
- package/dist/chunks/{variant-zeh9ct20.js → managed-policy-zeh9ct20.js} +2 -2
- package/dist/chunks/{variant-1w0wkfxf.js → managed-policy-zj1szvsc.js} +5 -5
- package/dist/chunks/{variant-d42e34ke.js → managed-policy-zpez7jvj.js} +49 -49
- package/dist/chunks/{variant-zr2ceqn5.js → managed-policy-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-zxq2ej10.js → managed-policy-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- 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 +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +121 -121
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- 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 +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- 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 +358 -358
- 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 +106 -106
- 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 +96 -96
- package/dist/models-dev.js +97 -97
- 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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- 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 +94 -94
- 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 +160 -160
- 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 +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +95 -95
- 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 +96 -96
- package/dist/reference/instructions.js +87 -87
- 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 +97 -97
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +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 +4 -4
- 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 +126 -126
- 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 +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- 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 +3 -3
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/variant-b6ck6p7e.js +0 -26
- package/dist/chunks/variant-cr86fwsy.js +0 -252
- package/dist/chunks/variant-ctefx7dc.js +0 -18
- package/dist/chunks/variant-fczcbajx.js +0 -503
- package/dist/chunks/variant-qapv375x.js +0 -4
- /package/dist/chunks/{variant-0qkdqm5v.js → managed-policy-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → managed-policy-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → managed-policy-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → managed-policy-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → managed-policy-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → managed-policy-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → managed-policy-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → managed-policy-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → managed-policy-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-34c7v6d4.js → managed-policy-34c7v6d4.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → managed-policy-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → managed-policy-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → managed-policy-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → managed-policy-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → managed-policy-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → managed-policy-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → managed-policy-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → managed-policy-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → managed-policy-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → managed-policy-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → managed-policy-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → managed-policy-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → managed-policy-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → managed-policy-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → managed-policy-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → managed-policy-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → managed-policy-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-8wj87zfr.js → managed-policy-8wj87zfr.js} +0 -0
- /package/dist/chunks/{variant-922hggd3.js → managed-policy-922hggd3.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → managed-policy-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → managed-policy-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → managed-policy-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → managed-policy-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → managed-policy-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → managed-policy-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → managed-policy-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → managed-policy-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → managed-policy-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → managed-policy-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → managed-policy-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → managed-policy-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → managed-policy-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → managed-policy-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → managed-policy-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → managed-policy-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → managed-policy-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → managed-policy-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → managed-policy-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → managed-policy-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → managed-policy-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → managed-policy-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → managed-policy-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → managed-policy-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → managed-policy-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → managed-policy-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → managed-policy-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → managed-policy-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → managed-policy-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → managed-policy-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → managed-policy-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hjbc5kem.js → managed-policy-hjbc5kem.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → managed-policy-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → managed-policy-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → managed-policy-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → managed-policy-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → managed-policy-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → managed-policy-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → managed-policy-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → managed-policy-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → managed-policy-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → managed-policy-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → managed-policy-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → managed-policy-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → managed-policy-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → managed-policy-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → managed-policy-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → managed-policy-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → managed-policy-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → managed-policy-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → managed-policy-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → managed-policy-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → managed-policy-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-sk3qaz4a.js → managed-policy-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → managed-policy-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → managed-policy-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → managed-policy-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → managed-policy-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → managed-policy-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → managed-policy-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → managed-policy-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → managed-policy-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → managed-policy-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → managed-policy-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → managed-policy-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → managed-policy-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → managed-policy-z9919s4g.js} +0 -0
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./managed-policy-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node84
|
|
9
|
+
} from "./managed-policy-4hpzevxd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service55,
|
|
12
|
+
node58
|
|
13
|
+
} from "./managed-policy-rdp0wvtx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -21,28 +21,28 @@ __export(exports_filesystem, {
|
|
|
21
21
|
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
|
-
Entry: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
Entry: () => Entry4,
|
|
25
|
+
Event: () => Event11,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput3,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError7,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service54,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node57
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
44
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
45
|
-
import { Entry as
|
|
45
|
+
import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
46
46
|
var ReadInput2 = Schema.Struct({
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
});
|
|
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError7 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
@@ -62,7 +62,7 @@ var Content2 = Schema.Struct({
|
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput3 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event11 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service54 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service54, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service80;
|
|
95
|
+
const search = yield* Service55;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service54.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node57 = makeLocationNode({
|
|
144
|
+
service: Service54,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node84, node58]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError7, Content2, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event11, Service54, node57, exports_filesystem, Entry4, Match2, Submatch2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./managed-policy-p7pse8xf.js";
|
|
4
4
|
import {
|
|
5
5
|
Service7
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-c765mh8b.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./managed-policy-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin31
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin31 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service43;
|
|
26
26
|
const policy = yield* Service7;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
@@ -35,4 +35,4 @@ var Plugin15 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin31, exports_location_watcher2 };
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service72,
|
|
9
|
+
node76
|
|
10
|
+
} from "./managed-policy-251d3kbp.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./managed-policy-y6f0p4jw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service38,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node40,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service38 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service72;
|
|
77
|
+
return Service38.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node40 = makeLocationNode({ service: Service38, layer, deps: [node76] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service38, resolved2, node40, exports_model };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-vyp2nf9v.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./managed-policy-4hpzevxd.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID11,
|
|
11
|
+
Service66,
|
|
12
|
+
node70
|
|
13
|
+
} from "./managed-policy-gshdf3b6.js";
|
|
14
14
|
import {
|
|
15
15
|
NotFoundError9
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./managed-policy-984xje6x.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service65,
|
|
19
|
+
node69
|
|
20
|
+
} from "./managed-policy-2ryrf09a.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./managed-policy-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service64,
|
|
26
|
+
node68
|
|
27
|
+
} from "./managed-policy-drkpxzze.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service67,
|
|
30
|
+
node71
|
|
31
|
+
} from "./managed-policy-g1sxm558.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission2 = {};
|
|
38
|
+
__export(exports_permission2, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
45
|
+
Event: () => Event13,
|
|
46
46
|
ID: () => ID8,
|
|
47
47
|
NotFoundError: () => NotFoundError8,
|
|
48
|
-
Permission: () =>
|
|
48
|
+
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service63,
|
|
55
|
+
Source: () => Source4,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node67
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event13 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
67
|
var ID8 = Permission.ID;
|
|
68
|
-
var
|
|
68
|
+
var Source4 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
71
71
|
action: Permission.Request.fields.action,
|
|
@@ -79,7 +79,7 @@ var Reply2 = Permission.Reply;
|
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
80
|
id: ID8.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID11.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
85
|
requestID: ID8,
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service63 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service83;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service80;
|
|
133
|
+
const agents = yield* Service66;
|
|
134
|
+
const sessions = yield* Service65;
|
|
135
|
+
const saved = yield* Service64;
|
|
136
|
+
const hooks = yield* Service67;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service63.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node67 = makeLocationNode({
|
|
303
|
+
service: Service63,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node87,
|
|
305
|
+
deps: [node87, node84, node70, node69, node68, node71]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect, ID8,
|
|
308
|
+
export { PermissionEffect, ID8, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service63, node67, exports_permission2, Rule3, Ruleset2, Event13 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-vyp2nf9v.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event19,
|
|
7
|
+
Service77,
|
|
8
|
+
node81
|
|
9
|
+
} from "./managed-policy-zbd32vaa.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service44,
|
|
12
|
+
node46
|
|
13
|
+
} from "./managed-policy-xmvnm6d3.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./managed-policy-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service80,
|
|
19
|
+
node84
|
|
20
|
+
} from "./managed-policy-4hpzevxd.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./managed-policy-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./managed-policy-473re8za.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./managed-policy-fapvw67d.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./managed-policy-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service45,
|
|
36
|
+
Event7,
|
|
37
|
+
node47
|
|
38
|
+
} from "./managed-policy-w5684xyg.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./managed-policy-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
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options6,
|
|
48
|
+
Service: () => Service43,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured6,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer18,
|
|
53
|
+
node: () => node45,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options6 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service43 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(Service43, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service80;
|
|
97
|
+
const watcher = yield* Service44;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service77;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service45;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -167,7 +167,7 @@ var layer22 = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
167
167
|
});
|
|
168
168
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
169
169
|
return [
|
|
170
|
-
...yield* Effect.forEach(
|
|
170
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
171
171
|
new Directory({ type: "directory", path: directory })
|
|
172
172
|
];
|
|
173
173
|
});
|
|
@@ -221,8 +221,8 @@ var layer22 = (options) => Layer.effect(Service70, 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(Event7.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;
|
|
@@ -235,7 +235,7 @@ var layer22 = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
235
235
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
236
236
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
237
237
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
238
|
-
const candidates =
|
|
238
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
239
239
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
240
240
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
241
241
|
`;
|
|
@@ -250,7 +250,7 @@ var layer22 = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service43.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer22 = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured6(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service43,
|
|
268
|
+
layer: layer18(options),
|
|
269
|
+
deps: [node46, node87, FSUtil.node, Global.node, node84, node81, node47]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node45 = configured6();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options6, Service43, Test2, testLayer2, layer18, configured6, node45, exports_config };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./managed-policy-xmvnm6d3.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./managed-policy-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service40
|
|
13
|
+
} from "./managed-policy-7h9mx2w5.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service80
|
|
16
|
+
} from "./managed-policy-4hpzevxd.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin14
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin14 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service40;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service80;
|
|
42
|
+
const watcher = yield* Service44;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin14, exports_instruction };
|