@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,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service67
|
|
4
|
+
} from "./variant-vrk0cgw0.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
7
|
Service73
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./variant-21xkm9mw.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
11
|
Service70
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-avrnkb01.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-xkhfjrgz.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service54
|
|
18
|
+
} from "./variant-rt8yt3bf.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
21
|
Service65
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./variant-m74j5n8t.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service30
|
|
25
|
+
} from "./variant-55bea18v.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./variant-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make10
|
|
31
|
+
} from "./variant-06mym1h5.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./variant-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input3,
|
|
40
|
+
Output: () => Output3,
|
|
41
|
+
Plugin: () => Plugin21,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name3
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
|
-
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
47
|
+
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
+
var name3 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input3 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input11 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output3 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description2 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin21 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
92
|
+
const sessions = yield* Service30;
|
|
93
|
+
const jobs = yield* Service54;
|
|
94
|
+
const agents = yield* Service67;
|
|
95
95
|
const config = yield* Service70;
|
|
96
96
|
const permission = yield* Service65;
|
|
97
97
|
const models = yield* Service73;
|
|
98
|
-
const subagents = yield*
|
|
98
|
+
const subagents = yield* make10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin11 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin11 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name3,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin11 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID9.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -217,14 +217,26 @@ ${output.output}
|
|
|
217
217
|
metadata: { sessionID: output.sessionID, status: output.status }
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
|
+
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
+
if (event.tool !== name3 || !Predicate.isObject(event.input))
|
|
222
|
+
return;
|
|
223
|
+
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
|
+
return;
|
|
225
|
+
const input = { ...event.input };
|
|
226
|
+
if (input.model === "")
|
|
227
|
+
delete input.model;
|
|
228
|
+
if (input.sessionID === "")
|
|
229
|
+
delete input.sessionID;
|
|
230
|
+
event.input = input;
|
|
231
|
+
}));
|
|
220
232
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name3];
|
|
222
234
|
if (!tool)
|
|
223
235
|
return;
|
|
224
236
|
const selected = yield* agents.resolve(event.agent);
|
|
225
237
|
if (!selected)
|
|
226
238
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
240
|
if (available.length === 0)
|
|
229
241
|
return;
|
|
230
242
|
tool.description = [
|
|
@@ -241,4 +253,4 @@ ${output.output}
|
|
|
241
253
|
})
|
|
242
254
|
};
|
|
243
255
|
|
|
244
|
-
export {
|
|
256
|
+
export { name3, Input3, Output3, description2, Plugin21, exports_subagent };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-xkhfjrgz.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-834a0b17.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./variant-eaj1djv9.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./variant-bjtzbw4r.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./variant-q7azfttr.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./variant-3g33scay.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./variant-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./variant-ehd2w0yp.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
6
|
Service70
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-avrnkb01.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service17
|
|
10
|
+
} from "./variant-kns7re6s.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make7
|
|
13
|
+
} from "./variant-1bbkgx8g.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./variant-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./variant-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin13
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,14 +30,14 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin13 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
36
|
const config = yield* Service70;
|
|
37
|
-
const formatter = yield*
|
|
37
|
+
const formatter = yield* Service17;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
|
-
const location = yield*
|
|
40
|
+
const location = yield* Service75;
|
|
41
41
|
const npm = yield* Npm.Service;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
43
43
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -45,7 +45,7 @@ var Plugin33 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make7({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin33 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin13, exports_formatter };
|
|
@@ -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
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./variant-fhpv401t.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-5ekn9679.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service47;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service48), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key4,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key4 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,14 +36,14 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key4
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node80
|
|
4
|
+
} from "./variant-dbdtaeh3.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info29,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref3,
|
|
15
|
+
Service: () => Service75,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node79,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info29, Ref as Ref3, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service75 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node79 = LayerNode.unbound(Service75, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service76;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service75.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service79, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service75,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node80]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info29, Ref3, response2, Service75, node79, boundNode2, exports_location };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./variant-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service75
|
|
13
|
+
} from "./variant-ehd2w0yp.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./variant-83xz4qq9.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./variant-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin34,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin34 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service75;
|
|
35
35
|
if (location.vcs?.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin34, exports_git };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./variant-wtm3ybk1.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./variant-bjtzbw4r.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load4
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-e37stjd8.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-g2yz86wh.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./variant-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
24
|
-
Service: () =>
|
|
23
|
+
ListInput: () => ListInput4,
|
|
24
|
+
Service: () => Service66,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node70
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
|
|
|
50
50
|
subpath: RelativePath.pipe(Schema.optional)
|
|
51
51
|
});
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
|
-
var
|
|
53
|
+
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service66 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const { db } = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
58
|
+
const { db } = yield* Service84;
|
|
59
|
+
return Service66.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node70 = makeGlobalNode({ service: Service66, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { ListInput4, Service66, node70, exports_store };
|