@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
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-q4yhrq2j.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./managed-policy-vyp2nf9v.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./managed-policy-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./managed-policy-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./managed-policy-y6f0p4jw.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./managed-policy-z07pqspn.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info6,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service36,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer16,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make16,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node38,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info6,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service36 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service83;
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info6.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer16 = Layer.effect(Service36, make16());
|
|
231
|
+
var node38 = makeGlobalNode({ service: Service36, layer: layer16, deps: [node88, node87] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service36, make16, layer16, node38, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service29,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node33
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service29 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service40, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service29.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node33 = makeGlobalNode({ service: Service29, layer: layer13, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service29, makeLayer2, layer13, node33, exports_model_transport };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./managed-policy-1a551269.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service14,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./managed-policy-g7cdhhyx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service79
|
|
11
|
+
} from "./managed-policy-fvgj0p1d.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service63
|
|
14
|
+
} from "./managed-policy-p0ey5wrv.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service49
|
|
17
|
+
} from "./managed-policy-b11r5vy8.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./managed-policy-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input11,
|
|
29
|
+
Output: () => Output7,
|
|
30
|
+
Plugin: () => Plugin12,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name11,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name11 = "write";
|
|
39
|
+
var Input11 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output7 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin12 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service49;
|
|
56
|
+
const fileMutation = yield* Service14;
|
|
57
|
+
const environment = yield* Service57;
|
|
58
|
+
const formatter = yield* Service79;
|
|
59
|
+
const permission = yield* Service63;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name11,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input11,
|
|
69
|
+
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name11, Input11, Output7, toModelContent6, Plugin12, exports_write };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info9
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info9 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info9, exports_attachment };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service35,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service35 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service35, exports_runner };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-vyp2nf9v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./managed-policy-4hpzevxd.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service31
|
|
10
|
+
} from "./managed-policy-zpez7jvj.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin44
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin44 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service80;
|
|
200
|
+
const mcp = yield* Service31;
|
|
201
201
|
const bus = yield* Service83;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin44, exports_command2 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./managed-policy-p0ey5wrv.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input2,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin2,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description2,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name2
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name2 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input2 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input9 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input2.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin2 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service63;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name2,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description2,
|
|
104
|
+
input: Input2,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin27 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name2,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name2, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input2, Plugin2, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./managed-policy-4jr8td7z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./managed-policy-p0ey5wrv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service53
|
|
14
|
+
} from "./managed-policy-x6mfsyej.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input8,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin8,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
|
+
description: () => description4,
|
|
27
|
+
name: () => name8
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name8 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input8 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID5,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin8 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service63;
|
|
53
|
+
const forms = yield* Service78;
|
|
54
|
+
const websearch = yield* Service53;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name8,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description4,
|
|
59
|
+
input: Input8,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name8,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name8];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name8, NO_RESULTS2, description4, Input8, Plugin8, exports_websearch };
|