@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
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./variant-vrk0cgw0.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info18
|
|
9
|
+
} from "./variant-17j9h1rv.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-5mvsdnr7.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
15
|
Service70
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./variant-avrnkb01.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./variant-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./variant-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent = {};
|
|
26
26
|
__export(exports_agent, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin6
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,11 +40,11 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info18);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin6 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
50
|
const config = yield* Service70;
|
|
@@ -76,13 +76,13 @@ var Plugin27 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID9.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID9.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin6, exports_agent };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./variant-nzks3jc8.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./variant-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service60,
|
|
17
|
+
node63
|
|
18
|
+
} from "./variant-yh7kjdpc.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service69,
|
|
21
|
+
node73
|
|
22
|
+
} from "./variant-0xezjjjn.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./variant-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./variant-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content3,
|
|
35
|
+
Error: () => Error4,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service53,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node55
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service53 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service69;
|
|
58
|
+
const image = yield* Service60;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service53.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node55 = makeLocationNode({
|
|
277
|
+
service: Service53,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node73, node63]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service53, node55, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./variant-2a6rn6yr.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-ctefx7dc.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-834a0b17.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service59
|
|
12
|
+
} from "./variant-wnsqmkbm.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service47;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service59), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service58,
|
|
3
|
+
node61,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./variant-nk7804dj.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service47,
|
|
8
|
+
node49
|
|
9
|
+
} from "./variant-2a6rn6yr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service22
|
|
12
|
+
} from "./variant-02av72dv.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-cdqw8pv3.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service58, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service22);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node49.replace(Layer.succeed(Service47, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node61.replace(Layer.succeed(Service58, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./variant-ehd2w0yp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service28
|
|
9
|
+
} from "./variant-yf5fe4my.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service10
|
|
12
|
+
} from "./variant-na0h3a6c.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service6
|
|
27
|
+
} from "./variant-r8bjv7hd.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./variant-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input10,
|
|
36
|
+
Plugin: () => Plugin29,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name10,
|
|
39
|
+
toModelContent: () => toModelContent6
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name10 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input10 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin29 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service6;
|
|
62
|
+
const access = yield* Service28;
|
|
63
|
+
const sessionInstructions = yield* Service10;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service75;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name10,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input10,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin3 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent6 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name10, Input10, Plugin29, toModelContent6, exports_read };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./variant-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service75
|
|
8
|
+
} from "./variant-ehd2w0yp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service62
|
|
11
|
+
} from "./variant-4n6z1r8s.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service17
|
|
14
|
+
} from "./variant-kns7re6s.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service26,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./variant-1j4qs2dp.js";
|
|
20
20
|
import {
|
|
21
21
|
Service65
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./variant-m74j5n8t.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service28,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./variant-yf5fe4my.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./variant-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./variant-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input4,
|
|
39
39
|
Output: () => Output4,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin22,
|
|
42
|
+
name: () => name4,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name4 = "patch";
|
|
89
|
+
var Input4 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -100,25 +100,25 @@ var Output4 = Schema.Struct({
|
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent3 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin22 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
111
|
+
const environment = yield* Service62;
|
|
112
|
+
const access = yield* Service28;
|
|
113
|
+
const fileMutation = yield* Service26;
|
|
114
|
+
const formatter = yield* Service17;
|
|
115
|
+
const location = yield* Service75;
|
|
116
116
|
const permission = yield* Service65;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name4,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
121
|
+
input: Input4,
|
|
122
122
|
output: Output4,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
@@ -266,7 +266,7 @@ var Plugin6 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent3(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name4, Input4, Applied2, Output4, toModelContent3, Plugin22, exports_patch };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
3
|
Service70
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-avrnkb01.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./variant-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch = {};
|
|
14
|
+
__export(exports_websearch, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
+
Plugin: () => Plugin16
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin16 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const config = yield* Service70;
|
|
@@ -32,4 +32,4 @@ var Plugin32 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin16, exports_websearch };
|