@opencode/core 0.0.0-dev-20070 → 0.0.0-dev-20075
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{persistent-pty-jkdgk110.js → variant-02av72dv.js} +34 -34
- package/dist/chunks/{persistent-pty-qkz21msg.js → variant-04egpzyt.js} +27 -27
- package/dist/chunks/{persistent-pty-h1rv4yj5.js → variant-06mym1h5.js} +11 -11
- package/dist/chunks/{persistent-pty-39af71ak.js → variant-0bzevza6.js} +22 -22
- package/dist/chunks/{persistent-pty-qs9wfy73.js → variant-0f3fkebw.js} +16 -16
- package/dist/chunks/{persistent-pty-45yze870.js → variant-0kdyx93j.js} +23 -23
- package/dist/chunks/{persistent-pty-b7mafceh.js → variant-0krcabsn.js} +4 -4
- package/dist/chunks/{persistent-pty-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-k1gkpfdk.js → variant-0xezjjjn.js} +8 -8
- package/dist/chunks/{persistent-pty-mqt5419d.js → variant-0z6w7vfv.js} +12 -12
- package/dist/chunks/{persistent-pty-vyrd71eq.js → variant-17j9h1rv.js} +8 -8
- package/dist/chunks/{persistent-pty-wdmcp318.js → variant-18x7p8ha.js} +10 -10
- package/dist/chunks/{persistent-pty-r98e92ep.js → variant-1a6p2twq.js} +4 -4
- package/dist/chunks/{persistent-pty-mvfsc1pv.js → variant-1bbkgx8g.js} +3 -3
- package/dist/chunks/{persistent-pty-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-pgegyfjk.js → variant-1j4qs2dp.js} +13 -13
- package/dist/chunks/{persistent-pty-12arvj6n.js → variant-1wyzf5g7.js} +2 -2
- package/dist/chunks/{persistent-pty-z2ahs8tt.js → variant-1xcw6xjf.js} +26 -26
- package/dist/chunks/{persistent-pty-21r38tys.js → variant-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-pr5f4b24.js → variant-21xkm9mw.js} +20 -20
- package/dist/chunks/{persistent-pty-2402vzrj.js → variant-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-29x78va6.js → variant-29x78va6.js} +2 -2
- package/dist/chunks/{persistent-pty-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-jhf3jymm.js → variant-2a6rn6yr.js} +6 -6
- package/dist/chunks/{persistent-pty-0gaj4617.js → variant-2d57kztd.js} +6 -6
- package/dist/chunks/{persistent-pty-52a9n96b.js → variant-2e1azfp0.js} +9 -9
- package/dist/chunks/{persistent-pty-qfzh5nde.js → variant-2e5jpznv.js} +25 -25
- package/dist/chunks/{persistent-pty-2demy4mp.js → variant-2eyvmpqy.js} +33 -33
- package/dist/chunks/{persistent-pty-80gs2nd1.js → variant-2g7pkq9k.js} +16 -16
- package/dist/chunks/{persistent-pty-9c3np669.js → variant-2hr5nhwa.js} +8 -8
- package/dist/chunks/{persistent-pty-4zfaky6j.js → variant-2jadfhe8.js} +13 -13
- package/dist/chunks/{persistent-pty-ycndb7t3.js → variant-2ptfhmaq.js} +16 -16
- package/dist/chunks/{persistent-pty-sz5744vg.js → variant-39j5cs0s.js} +5 -5
- package/dist/chunks/variant-3c0cjr72.js +26 -0
- package/dist/chunks/{persistent-pty-d2aac7k2.js → variant-3cz8rj72.js} +5 -5
- package/dist/chunks/{persistent-pty-ywyxz1rh.js → variant-3d4xjzsg.js} +21 -21
- package/dist/chunks/{persistent-pty-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-18s9r5gn.js → variant-3g33scay.js} +4 -4
- package/dist/chunks/{persistent-pty-8m7vqh9t.js → variant-3h50d2d8.js} +6 -6
- package/dist/chunks/{persistent-pty-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-xm1fqpw5.js → variant-3t9ng3w8.js} +31 -31
- package/dist/chunks/{persistent-pty-dqcz30tg.js → variant-3tqzctrg.js} +23 -23
- package/dist/chunks/{persistent-pty-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-3zsf4n22.js → variant-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-b7b4ctej.js → variant-49exe669.js} +5 -5
- package/dist/chunks/{persistent-pty-g640k70z.js → variant-4hz2mmtn.js} +6 -6
- package/dist/chunks/{persistent-pty-qwww5vg0.js → variant-4n6z1r8s.js} +24 -24
- package/dist/chunks/{persistent-pty-eew2zdws.js → variant-4q2gynnp.js} +13 -13
- package/dist/chunks/{persistent-pty-hcr91a9c.js → variant-4ydd0s85.js} +43 -43
- package/dist/chunks/{persistent-pty-ckecvw8r.js → variant-54tcyq79.js} +2 -2
- package/dist/chunks/{persistent-pty-y56x7az9.js → variant-557d9c8t.js} +25 -25
- package/dist/chunks/{persistent-pty-ete5a4rz.js → variant-55bea18v.js} +96 -96
- package/dist/chunks/{persistent-pty-56gdpj1q.js → variant-56gdpj1q.js} +2 -2
- package/dist/chunks/{persistent-pty-7hrmjf05.js → variant-57h5xjj4.js} +40 -40
- package/dist/chunks/{persistent-pty-pgmm1a8m.js → variant-59d32q4x.js} +60 -60
- package/dist/chunks/{persistent-pty-hqd5ggsz.js → variant-5b64cte8.js} +18 -18
- package/dist/chunks/{persistent-pty-5daktx2q.js → variant-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-wdy4dbbj.js → variant-5e6ck4tr.js} +54 -54
- package/dist/chunks/{persistent-pty-5ekn9679.js → variant-5ekn9679.js} +1 -1
- package/dist/chunks/{persistent-pty-3279mwmz.js → variant-5hwa0061.js} +2 -2
- package/dist/chunks/{persistent-pty-6q4z0wrt.js → variant-5jf3agd7.js} +1 -1
- package/dist/chunks/{persistent-pty-z35hf7r1.js → variant-5mef3xk7.js} +13 -13
- package/dist/chunks/{persistent-pty-xndc7n30.js → variant-5mvsdnr7.js} +4 -4
- package/dist/chunks/{persistent-pty-enm918mk.js → variant-5rmj6wcp.js} +30 -30
- package/dist/chunks/{persistent-pty-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-7qhp50hp.js → variant-62m7qsdd.js} +3 -3
- package/dist/chunks/{persistent-pty-669tq793.js → variant-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-6msgmcgs.js → variant-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-14tdt6pq.js → variant-6p55r51m.js} +1 -1
- package/dist/chunks/{persistent-pty-kd4v9k4j.js → variant-6rxwp35s.js} +20 -20
- package/dist/chunks/{persistent-pty-2stzsw3h.js → variant-6sd32h80.js} +8 -8
- package/dist/chunks/{persistent-pty-kk00bynn.js → variant-6sr3ve8g.js} +4 -4
- package/dist/chunks/{persistent-pty-em4dwj0d.js → variant-6tb4xv4d.js} +11 -11
- package/dist/chunks/{persistent-pty-h1znna23.js → variant-6w0aczmv.js} +11 -11
- package/dist/chunks/{persistent-pty-tvqmbf2y.js → variant-6wjad31y.js} +7 -7
- package/dist/chunks/{persistent-pty-qb9vhbtw.js → variant-6zedfc54.js} +21 -21
- package/dist/chunks/{persistent-pty-cyxwnd9c.js → variant-70htw8qd.js} +31 -31
- package/dist/chunks/{persistent-pty-2qb4gyb1.js → variant-73x22xcw.js} +12 -12
- package/dist/chunks/{persistent-pty-0wv36b6c.js → variant-75vzfbx5.js} +42 -42
- package/dist/chunks/{persistent-pty-3b699t4b.js → variant-75x4dgvy.js} +6 -6
- package/dist/chunks/{persistent-pty-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-7dqw4kz8.js → variant-7dqw4kz8.js} +1 -1
- package/dist/chunks/{persistent-pty-jexe30zh.js → variant-7xgrqf4n.js} +18 -18
- package/dist/chunks/{persistent-pty-97j4gngf.js → variant-834a0b17.js} +3 -3
- package/dist/chunks/{persistent-pty-tk1eb0jd.js → variant-83xz4qq9.js} +23 -23
- package/dist/chunks/{persistent-pty-vw47vkvc.js → variant-84sj45vf.js} +18 -18
- package/dist/chunks/{persistent-pty-kmx0na6r.js → variant-8b6wz1s2.js} +4 -4
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-7f8zt51t.js → variant-8eh51za7.js} +9 -9
- package/dist/chunks/{persistent-pty-84ayszt9.js → variant-8epdgwc0.js} +18 -18
- package/dist/chunks/{persistent-pty-cgy10bdv.js → variant-8fz7s7fk.js} +6 -6
- package/dist/chunks/{persistent-pty-t0hvt5ga.js → variant-8pagagwq.js} +8 -8
- package/dist/chunks/{persistent-pty-947f7b8n.js → variant-8q94mjap.js} +35 -35
- package/dist/chunks/{persistent-pty-a0j9ghhw.js → variant-8qdtva9t.js} +17 -17
- package/dist/chunks/{persistent-pty-prtjzanf.js → variant-8tpythmx.js} +28 -28
- package/dist/chunks/{persistent-pty-v37e6ssw.js → variant-8z0v9tpj.js} +89 -89
- package/dist/chunks/{persistent-pty-vrev4g7d.js → variant-8zds6rzg.js} +13 -13
- package/dist/chunks/{persistent-pty-aez9gwcb.js → variant-9byqxeta.js} +20 -20
- package/dist/chunks/{persistent-pty-exhkk0g4.js → variant-9ccjze4x.js} +18 -18
- package/dist/chunks/{persistent-pty-9cyfspf3.js → variant-9cyfspf3.js} +2 -2
- package/dist/chunks/{persistent-pty-p06qdrkc.js → variant-9esb0m0p.js} +1 -1
- package/dist/chunks/{persistent-pty-639ckm2d.js → variant-9f1seg8j.js} +30 -30
- package/dist/chunks/{persistent-pty-05kc7n4p.js → variant-a5t4p5xt.js} +22 -22
- package/dist/chunks/{persistent-pty-n07s4dfy.js → variant-a6x7shte.js} +3 -3
- package/dist/chunks/{persistent-pty-aaet6srn.js → variant-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-r83whyrf.js → variant-ab2nxame.js} +26 -26
- package/dist/chunks/{persistent-pty-bka19sx3.js → variant-af7j52hr.js} +4 -4
- package/dist/chunks/{persistent-pty-e07xevgn.js → variant-ajk3nktm.js} +24 -24
- package/dist/chunks/{persistent-pty-0fhvsrpq.js → variant-amv7sxhe.js} +32 -32
- package/dist/chunks/{persistent-pty-jykm5qrb.js → variant-apg24jar.js} +35 -35
- package/dist/chunks/{persistent-pty-7nwh0z4r.js → variant-avrnkb01.js} +34 -34
- package/dist/chunks/{persistent-pty-zbatyxhg.js → variant-b4fyfyab.js} +30 -30
- package/dist/chunks/{persistent-pty-qje2a4n2.js → variant-b51jbz85.js} +5 -5
- package/dist/chunks/{persistent-pty-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-ajj1dwjw.js → variant-b8y4420x.js} +40 -40
- package/dist/chunks/{persistent-pty-agbhy58v.js → variant-b9dsjnj7.js} +8 -8
- package/dist/chunks/{persistent-pty-qcwj8qyp.js → variant-bjn6skbd.js} +5 -5
- package/dist/chunks/{persistent-pty-z07pqspn.js → variant-bjtzbw4r.js} +3 -3
- package/dist/chunks/{persistent-pty-xx6wjz2h.js → variant-bz7588dj.js} +27 -27
- package/dist/chunks/{persistent-pty-besw6zsr.js → variant-ccjjc20y.js} +22 -22
- package/dist/chunks/variant-cdqw8pv3.js +252 -0
- package/dist/chunks/{persistent-pty-6dee4bn2.js → variant-cetrwbmx.js} +9 -9
- package/dist/chunks/{persistent-pty-b27q0a9n.js → variant-chfqe63q.js} +8 -8
- package/dist/chunks/{persistent-pty-tktartgp.js → variant-cmh4zy5x.js} +13 -13
- package/dist/chunks/variant-ctefx7dc.js +18 -0
- package/dist/chunks/{persistent-pty-4aeq6eye.js → variant-d90713ew.js} +8 -8
- package/dist/chunks/{persistent-pty-65tw7ne2.js → variant-dbdtaeh3.js} +47 -47
- package/dist/chunks/{persistent-pty-v17mnf28.js → variant-dfjemdtf.js} +30 -30
- package/dist/chunks/{persistent-pty-2a4f6v5q.js → variant-dh75pk8w.js} +5 -5
- package/dist/chunks/{persistent-pty-by2v34hv.js → variant-dngx6zgq.js} +2 -2
- package/dist/chunks/{persistent-pty-xfkkasph.js → variant-drwq78ky.js} +4 -4
- package/dist/chunks/{persistent-pty-adcjy0yy.js → variant-ds9k8dwt.js} +21 -21
- package/dist/chunks/{persistent-pty-ncjresk4.js → variant-dvc89yjx.js} +8 -8
- package/dist/chunks/{persistent-pty-w4fc9vh6.js → variant-e1e0rbzc.js} +51 -39
- package/dist/chunks/{persistent-pty-ncq08a4j.js → variant-e37stjd8.js} +8 -8
- package/dist/chunks/{persistent-pty-tj1zj3en.js → variant-e42jp6kc.js} +15 -15
- package/dist/chunks/{persistent-pty-84g0xtqq.js → variant-e6y173sj.js} +9 -9
- package/dist/chunks/{persistent-pty-s8d7rejh.js → variant-eaj1djv9.js} +6 -6
- package/dist/chunks/{persistent-pty-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-6744wpjg.js → variant-ehd2w0yp.js} +17 -17
- package/dist/chunks/{persistent-pty-aeb4sny1.js → variant-engkm2d6.js} +5 -5
- package/dist/chunks/{persistent-pty-erw5rpbs.js → variant-erw5rpbs.js} +2 -2
- package/dist/chunks/{persistent-pty-jdz7ay1h.js → variant-ery758hr.js} +10 -10
- package/dist/chunks/{persistent-pty-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-n38w816c.js → variant-f747t98r.js} +17 -17
- package/dist/chunks/{persistent-pty-wafpmbfs.js → variant-fbc9vsj2.js} +20 -20
- package/dist/chunks/{persistent-pty-140js8cv.js → variant-fhpv401t.js} +47 -47
- package/dist/chunks/{persistent-pty-xd3hz90e.js → variant-fjeqa7jj.js} +6 -6
- package/dist/chunks/{persistent-pty-32ebpc2k.js → variant-fm0yt94d.js} +30 -30
- package/dist/chunks/{persistent-pty-bj7qwv03.js → variant-fmfh291e.js} +9 -9
- package/dist/chunks/{persistent-pty-2z6npzcs.js → variant-fx8cm3j5.js} +8 -8
- package/dist/chunks/{persistent-pty-k0nnq3t9.js → variant-fzgxakwn.js} +4 -4
- package/dist/chunks/{persistent-pty-x56fq0r3.js → variant-fzhdr1mx.js} +1 -1
- package/dist/chunks/{persistent-pty-517pqn2m.js → variant-g1er0jf5.js} +77 -77
- package/dist/chunks/{persistent-pty-r68fq1x1.js → variant-g20tdqpk.js} +37 -37
- package/dist/chunks/{persistent-pty-kbegyq1c.js → variant-g2yz86wh.js} +2 -2
- package/dist/chunks/{persistent-pty-8pccpkv9.js → variant-gbdr24b9.js} +12 -12
- package/dist/chunks/{persistent-pty-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-94ek1h2f.js → variant-gfvb90ym.js} +2 -2
- package/dist/chunks/{persistent-pty-sgnpw8wt.js → variant-gs5afy8f.js} +18 -18
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → variant-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-yjw00k6r.js → variant-gxsbq66b.js} +11 -11
- package/dist/chunks/{persistent-pty-h6r3nrb9.js → variant-h6r3nrb9.js} +1 -1
- package/dist/chunks/{persistent-pty-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-fvsyg6qk.js → variant-hcz3zddy.js} +5 -5
- package/dist/chunks/{persistent-pty-02fxdhk5.js → variant-hdkqes0b.js} +13 -13
- package/dist/chunks/{persistent-pty-0wsqztt0.js → variant-hkafdcbz.js} +1 -1
- package/dist/chunks/{persistent-pty-wd09zjr8.js → variant-hpfrvn9v.js} +16 -16
- package/dist/chunks/{persistent-pty-88fhh6r1.js → variant-j35dsqtt.js} +10 -10
- package/dist/chunks/{persistent-pty-v5vn9b7d.js → variant-j55501wg.js} +6 -6
- package/dist/chunks/{persistent-pty-j56e64zr.js → variant-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-24bj6dbd.js → variant-jfmkgsry.js} +16 -16
- package/dist/chunks/{persistent-pty-wdm18wae.js → variant-jk953tft.js} +4 -4
- package/dist/chunks/{persistent-pty-sxqherdn.js → variant-k5y748ge.js} +5 -5
- package/dist/chunks/{persistent-pty-chrxq3ex.js → variant-kad49353.js} +11 -11
- package/dist/chunks/{persistent-pty-z7ck20cm.js → variant-kns7re6s.js} +15 -15
- package/dist/chunks/{persistent-pty-3z0zch1n.js → variant-kqbmdx55.js} +32 -32
- package/dist/chunks/{persistent-pty-6he05v0p.js → variant-kzynzy4y.js} +3 -3
- package/dist/chunks/{persistent-pty-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-d79paw8k.js → variant-m74j5n8t.js} +31 -31
- package/dist/chunks/{persistent-pty-fay784kk.js → variant-m91qzb25.js} +45 -45
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-nca7p386.js → variant-mjncxbbh.js} +6 -6
- package/dist/chunks/{persistent-pty-4c9v79sp.js → variant-mph8mpeq.js} +18 -18
- package/dist/chunks/{persistent-pty-6z9mwsmt.js → variant-n2cj49gr.js} +15 -15
- package/dist/chunks/{persistent-pty-7fha70gh.js → variant-n7hwxzgv.js} +23 -23
- package/dist/chunks/{persistent-pty-9b18mb3y.js → variant-na0h3a6c.js} +22 -22
- package/dist/chunks/{persistent-pty-de11ys5j.js → variant-naagfrme.js} +21 -21
- package/dist/chunks/{persistent-pty-sh0ksnmg.js → variant-ngjw7veb.js} +3 -3
- package/dist/chunks/{persistent-pty-jcete9c4.js → variant-ngwyp1sx.js} +7 -7
- package/dist/chunks/{persistent-pty-3me5k2fr.js → variant-nh3rsggm.js} +6 -6
- package/dist/chunks/{persistent-pty-avnvkndt.js → variant-nj481gba.js} +5 -5
- package/dist/chunks/{persistent-pty-9ejw23zs.js → variant-nk7804dj.js} +11 -11
- package/dist/chunks/{persistent-pty-6jttejjp.js → variant-nmvjxe16.js} +13 -13
- package/dist/chunks/{persistent-pty-5mhxbhna.js → variant-nq3y9q1m.js} +9 -9
- package/dist/chunks/{persistent-pty-sb4h1tjm.js → variant-nydghdxw.js} +27 -27
- package/dist/chunks/{persistent-pty-k3c624dm.js → variant-nzks3jc8.js} +3 -3
- package/dist/chunks/{persistent-pty-br0tr5aq.js → variant-p37cw4rj.js} +8 -8
- package/dist/chunks/{persistent-pty-xyh6nkpv.js → variant-p8djes8h.js} +19 -19
- package/dist/chunks/{persistent-pty-57ez7d0k.js → variant-pef6k0gg.js} +9 -9
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → variant-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-5gw2z3et.js → variant-ppxpc5nv.js} +3 -3
- package/dist/chunks/{persistent-pty-wd3x2cqz.js → variant-psazpmmj.js} +2 -2
- package/dist/chunks/{persistent-pty-5xpznt2d.js → variant-q7azfttr.js} +4 -4
- package/dist/chunks/{persistent-pty-r7jpdgae.js → variant-q7mj73f6.js} +25 -25
- package/dist/chunks/variant-qapv375x.js +4 -0
- package/dist/chunks/{persistent-pty-nexc1gw3.js → variant-qbyce0vv.js} +159 -159
- package/dist/chunks/{persistent-pty-f7fhy96a.js → variant-qc5e3rnt.js} +5 -5
- package/dist/chunks/{persistent-pty-vansc7n9.js → variant-qe45xzp3.js} +21 -21
- package/dist/chunks/{persistent-pty-11txpkat.js → variant-qmkkft71.js} +24 -24
- package/dist/chunks/{persistent-pty-kg93zbfw.js → variant-qrbkb0m8.js} +12 -12
- package/dist/chunks/{persistent-pty-qsdy395h.js → variant-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-a2mdmpbv.js → variant-qydm3dy6.js} +7 -7
- package/dist/chunks/{persistent-pty-g6q9qykm.js → variant-r2m716tb.js} +8 -8
- package/dist/chunks/variant-r5ha4mwf.js +507 -0
- package/dist/chunks/{persistent-pty-93z9rjx5.js → variant-r69mm98a.js} +8 -8
- package/dist/chunks/{persistent-pty-a6r5j9ve.js → variant-r6cdbtvh.js} +4 -4
- package/dist/chunks/{persistent-pty-a4kfnjq6.js → variant-r8bjv7hd.js} +16 -16
- package/dist/chunks/{persistent-pty-vj8zb72s.js → variant-r9684t3a.js} +13 -13
- package/dist/chunks/{persistent-pty-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-m2d0j7c0.js → variant-rhafb4aa.js} +8 -8
- package/dist/chunks/{persistent-pty-1myjhcv5.js → variant-rjfg6bza.js} +32 -32
- package/dist/chunks/{persistent-pty-79jt7wa4.js → variant-rk5vk321.js} +4 -4
- package/dist/chunks/{persistent-pty-rxdxrnem.js → variant-rkg5m5ng.js} +9 -9
- package/dist/chunks/{persistent-pty-44ke2mar.js → variant-rkprpv83.js} +3 -3
- package/dist/chunks/{persistent-pty-ach3jvdq.js → variant-rt8yt3bf.js} +15 -15
- package/dist/chunks/{persistent-pty-ftg911na.js → variant-s07fdbeq.js} +15 -15
- package/dist/chunks/{persistent-pty-cpa9evey.js → variant-s41dxx30.js} +1 -1
- package/dist/chunks/{persistent-pty-s4enseaf.js → variant-s4enseaf.js} +2 -2
- package/dist/chunks/{persistent-pty-j58c5xyq.js → variant-s5d9hk7s.js} +9 -9
- package/dist/chunks/{persistent-pty-e7844e1q.js → variant-s7h606h9.js} +28 -28
- package/dist/chunks/{persistent-pty-kdt9c9ze.js → variant-sdmtvvxy.js} +15 -15
- package/dist/chunks/{persistent-pty-pnrj6x89.js → variant-sjgae2xy.js} +25 -25
- package/dist/chunks/{persistent-pty-bqddxaek.js → variant-stas9bdh.js} +9 -9
- package/dist/chunks/{persistent-pty-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → variant-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → variant-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-09dw9xvn.js → variant-tgt20m8a.js} +13 -13
- package/dist/chunks/{persistent-pty-y6r8qnm9.js → variant-tp7bfm6k.js} +27 -27
- package/dist/chunks/{persistent-pty-tvtrv512.js → variant-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-f7mpxfp8.js → variant-v7eyjk8c.js} +31 -31
- package/dist/chunks/{persistent-pty-veqvce7d.js → variant-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-cxc2wn7k.js → variant-vnkyds17.js} +9 -9
- package/dist/chunks/{persistent-pty-pwrm1vhs.js → variant-vrk0cgw0.js} +24 -24
- package/dist/chunks/{persistent-pty-8gszphq4.js → variant-vsysd8s3.js} +9 -9
- package/dist/chunks/{persistent-pty-dagkn99r.js → variant-vtd2qwnf.js} +1 -1
- package/dist/chunks/{persistent-pty-cbqy5dr9.js → variant-vya4f7hk.js} +13 -13
- package/dist/chunks/{persistent-pty-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-xhbkmk74.js → variant-w5q6wzvx.js} +20 -20
- package/dist/chunks/{persistent-pty-wd87259q.js → variant-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-hb0akz4x.js → variant-whz31wrj.js} +9 -9
- package/dist/chunks/{persistent-pty-wj76ss2k.js → variant-wj76ss2k.js} +1 -1
- package/dist/chunks/{persistent-pty-03drz298.js → variant-wnsqmkbm.js} +22 -22
- package/dist/chunks/{persistent-pty-rwx3cxcp.js → variant-wtm3ybk1.js} +11 -11
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-fm2qvscf.js → variant-xb02k0wq.js} +4 -4
- package/dist/chunks/{persistent-pty-nsjkyrtc.js → variant-xe0jn6g3.js} +5 -5
- package/dist/chunks/{persistent-pty-n7d88tpn.js → variant-xkhfjrgz.js} +3 -3
- package/dist/chunks/{persistent-pty-3scm17sd.js → variant-xycc92pn.js} +30 -30
- package/dist/chunks/{persistent-pty-hm8n4zs5.js → variant-xz8dbhge.js} +7 -7
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-aewf7fv0.js → variant-y1ra24rz.js} +10 -10
- package/dist/chunks/{persistent-pty-ec8389mk.js → variant-y67gsgy6.js} +4 -4
- package/dist/chunks/{persistent-pty-dpkg50ah.js → variant-y71avatq.js} +4 -4
- package/dist/chunks/{persistent-pty-ehye99pz.js → variant-yf5fe4my.js} +15 -15
- package/dist/chunks/{persistent-pty-2kewd2va.js → variant-yh7kjdpc.js} +9 -9
- package/dist/chunks/{persistent-pty-yp2x3t23.js → variant-yp2x3t23.js} +1 -1
- package/dist/chunks/{persistent-pty-ham917sc.js → variant-yq6sxka3.js} +48 -48
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-hh05mkd2.js → variant-z16bdfpw.js} +9 -9
- package/dist/chunks/{persistent-pty-ag9w8cw1.js → variant-z3pw5915.js} +5 -5
- package/dist/chunks/{persistent-pty-xdzxe0wf.js → variant-zd5rdewp.js} +6 -6
- package/dist/chunks/{persistent-pty-zeh9ct20.js → variant-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-72pe5pp7.js → variant-zncf754x.js} +9 -9
- package/dist/chunks/{persistent-pty-tk2xb498.js → variant-znt9c390.js} +9 -9
- package/dist/chunks/{persistent-pty-540xm2z9.js → variant-zqy8ejrp.js} +3 -3
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-m70sbz6t.js → variant-zvt5dnpc.js} +4 -4
- package/dist/chunks/{persistent-pty-a0sbrj5q.js → variant-zxbrzaq9.js} +13 -13
- package/dist/chunks/{persistent-pty-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
- package/dist/chunks/{persistent-pty-prd2qjch.js → variant-zzexawz9.js} +26 -26
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +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 +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- 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 +362 -362
- 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 +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +92 -92
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +101 -101
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +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 +333 -333
- 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 +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +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 +352 -352
- 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 +5 -5
- 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 +227 -227
- 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 +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- 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 +75 -75
- 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 +223 -223
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +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 +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- 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 +113 -113
- 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 +16 -16
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +75 -75
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +74 -74
- 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/persistent-pty-0mesazry.js +0 -4
- package/dist/chunks/persistent-pty-15eeh29d.js +0 -507
- package/dist/chunks/persistent-pty-3ys7avz6.js +0 -26
- package/dist/chunks/persistent-pty-9zdhvgqs.js +0 -18
- package/dist/chunks/persistent-pty-kzm3n6dm.js +0 -252
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → variant-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → variant-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-34c7v6d4.js → variant-34c7v6d4.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → variant-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → variant-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → variant-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → variant-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → variant-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → variant-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → variant-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → variant-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → variant-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → variant-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → variant-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → variant-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → variant-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → variant-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → variant-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → variant-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → variant-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e3qxr5gk.js → variant-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → variant-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → variant-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → variant-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → variant-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → variant-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → variant-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → variant-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → variant-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → variant-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → variant-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → variant-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → variant-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → variant-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → variant-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → variant-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → variant-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → variant-z9919s4g.js} +0 -0
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./variant-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service62,
|
|
8
|
+
node65
|
|
9
|
+
} from "./variant-4n6z1r8s.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service16,
|
|
24
|
+
node: () => node19
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service16 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service62;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service16.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node19 = makeLocationNode({ service: Service16, layer, deps: [node65, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service16, node19, exports_ripgrep };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node87
|
|
7
|
+
} from "./variant-0f3fkebw.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service81,
|
|
11
|
+
node85
|
|
12
|
+
} from "./variant-apg24jar.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service75,
|
|
15
|
+
node79
|
|
16
|
+
} from "./variant-ehd2w0yp.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service62,
|
|
19
|
+
node65
|
|
20
|
+
} from "./variant-4n6z1r8s.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID17,
|
|
23
|
+
Service80,
|
|
24
|
+
node84
|
|
25
|
+
} from "./variant-nydghdxw.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./variant-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID16,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service79,
|
|
34
|
+
node83
|
|
35
|
+
} from "./variant-kqbmdx55.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./variant-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service35,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured5,
|
|
57
|
+
layer: () => layer14,
|
|
58
|
+
node: () => node38
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service35 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options5 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
104
|
+
var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service75;
|
|
106
|
+
const environment = yield* Service62;
|
|
107
|
+
const bus = yield* Service83;
|
|
108
|
+
const forms = yield* Service80;
|
|
109
|
+
const integration = yield* Service79;
|
|
110
|
+
const credentials = yield* Service81;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer11 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID16.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer11 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service81, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer11 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError5({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service81, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID17.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -259,7 +259,7 @@ var layer11 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
259
259
|
entry.scope = scope;
|
|
260
260
|
const authProvider = yield* connectProvider(entry);
|
|
261
261
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
262
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
262
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service62, environment), Scope.provide(scope));
|
|
263
263
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
264
264
|
if (Exit.isSuccess(result)) {
|
|
265
265
|
entry.client = result.value.connection;
|
|
@@ -384,7 +384,7 @@ var layer11 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
384
384
|
yield* startServer(name, entry);
|
|
385
385
|
}).pipe(locks.withLock(name));
|
|
386
386
|
});
|
|
387
|
-
fork(bus.subscribe(
|
|
387
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
388
388
|
const state = create3({
|
|
389
389
|
name: "mcp",
|
|
390
390
|
initial: () => ({
|
|
@@ -410,7 +410,7 @@ var layer11 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
410
410
|
}),
|
|
411
411
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
412
412
|
});
|
|
413
|
-
return
|
|
413
|
+
return Service35.of({
|
|
414
414
|
transform: state.transform,
|
|
415
415
|
reload: state.reload,
|
|
416
416
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -516,14 +516,14 @@ function mergeCatalogs(catalogs) {
|
|
|
516
516
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
517
517
|
});
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function configured5(options) {
|
|
520
520
|
return makeLocationNode({
|
|
521
|
-
service:
|
|
522
|
-
layer:
|
|
523
|
-
deps: [
|
|
521
|
+
service: Service35,
|
|
522
|
+
layer: layer14(options),
|
|
523
|
+
deps: [node79, node65, node87, node84, node83, node85]
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
|
-
var
|
|
526
|
+
var node38 = configured5();
|
|
527
527
|
function toElicitationField(key, property, required) {
|
|
528
528
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
529
529
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
577
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service35, Options5, layer14, configured5, node38, exports_mcp4 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-zzexawz9.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./variant-0f3fkebw.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-h6r3nrb9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event20
|
|
9
|
+
} from "./variant-apg24jar.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID16
|
|
12
|
+
} from "./variant-kqbmdx55.js";
|
|
13
13
|
import {
|
|
14
14
|
ID13,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service74
|
|
16
|
+
} from "./variant-zzexawz9.js";
|
|
17
17
|
import {
|
|
18
18
|
load2,
|
|
19
19
|
derive2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./variant-kzynzy4y.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -26,8 +26,8 @@ var providerID = ID13.make("modal");
|
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service74;
|
|
30
|
+
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-zzexawz9.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./variant-21xkm9mw.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./variant-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./variant-wtm3ybk1.js";
|
|
1
5
|
import {
|
|
2
6
|
Service83,
|
|
3
7
|
node87
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service82,
|
|
7
|
-
node86
|
|
8
|
-
} from "./persistent-pty-qs9wfy73.js";
|
|
8
|
+
} from "./variant-0f3fkebw.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./variant-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./variant-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./variant-3g33scay.js";
|
|
21
21
|
import {
|
|
22
22
|
load4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./variant-e37stjd8.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./variant-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./variant-vtd2qwnf.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./variant-amv7sxhe.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./variant-rk5vk321.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./variant-nh3rsggm.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./variant-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./variant-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./variant-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction3 = {};
|
|
56
56
|
__export(exports_compaction3, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service12,
|
|
58
58
|
SessionCompaction: () => exports_compaction3,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
|
-
layer: () =>
|
|
62
|
-
node: () =>
|
|
61
|
+
layer: () => layer7,
|
|
62
|
+
node: () => node14,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service12 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,10 +298,10 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var
|
|
302
|
-
const bus = yield*
|
|
301
|
+
var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
302
|
+
const bus = yield* Service83;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
|
-
const db = (yield*
|
|
304
|
+
const db = (yield* Service84).db;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "session-compaction",
|
|
307
307
|
initial: () => ({ auto: true, buffer: DEFAULT_BUFFER, tokens: DEFAULT_KEEP_TOKENS, native: [] }),
|
|
@@ -606,7 +606,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
606
606
|
}
|
|
607
607
|
}));
|
|
608
608
|
});
|
|
609
|
-
return
|
|
609
|
+
return Service12.of({
|
|
610
610
|
transform: state.transform,
|
|
611
611
|
reload: state.reload,
|
|
612
612
|
enabled: () => state.get().auto,
|
|
@@ -615,10 +615,10 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
615
615
|
compactManual
|
|
616
616
|
});
|
|
617
617
|
}));
|
|
618
|
-
var
|
|
619
|
-
service:
|
|
620
|
-
layer:
|
|
621
|
-
deps: [
|
|
618
|
+
var node14 = makeLocationNode({
|
|
619
|
+
service: Service12,
|
|
620
|
+
layer: layer7,
|
|
621
|
+
deps: [node87, node88, llmClient2]
|
|
622
622
|
});
|
|
623
623
|
|
|
624
|
-
export {
|
|
624
|
+
export { Service12, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node14, exports_compaction3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-yq6sxka3.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|