@opencode/core 0.0.0-dev-20240 → 0.0.0-dev-20241
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 +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{filesystem-s3srg93r.js → pty-01vst05w.js} +39 -39
- package/dist/chunks/{filesystem-fp2xarvc.js → pty-0bfcnrg1.js} +1 -1
- package/dist/chunks/{filesystem-t9636gx1.js → pty-0c3h0e6z.js} +16 -16
- package/dist/chunks/{filesystem-hn8wsm4z.js → pty-0gefkeg7.js} +11 -11
- package/dist/chunks/{filesystem-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-w2qmsxre.js → pty-0zfem7mk.js} +17 -17
- package/dist/chunks/{filesystem-13n5q7dt.js → pty-140xbb54.js} +44 -44
- package/dist/chunks/{filesystem-p3192dp6.js → pty-15y67vk6.js} +2 -2
- package/dist/chunks/{filesystem-cd22b0cq.js → pty-16hsz39w.js} +18 -18
- package/dist/chunks/{filesystem-73tb2d7t.js → pty-1bbkgx8g.js} +3 -3
- package/dist/chunks/{filesystem-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-cbwhh3ee.js → pty-1n9x896q.js} +9 -9
- package/dist/chunks/{filesystem-fzts1kpm.js → pty-1q4zsn8w.js} +6 -6
- package/dist/chunks/{filesystem-ypx73geg.js → pty-1rh4yqvv.js} +9 -9
- package/dist/chunks/{filesystem-0yevmncv.js → pty-1t09j7vg.js} +10 -10
- package/dist/chunks/{filesystem-n8gssbbw.js → pty-1wpnfrkj.js} +4 -4
- package/dist/chunks/{filesystem-4hdsm0pm.js → pty-1xjcf8r7.js} +17 -17
- package/dist/chunks/{filesystem-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-k1mgmdq6.js → pty-24171fwy.js} +32 -32
- package/dist/chunks/{filesystem-mxn40ybh.js → pty-24wggvhe.js} +14 -14
- package/dist/chunks/{filesystem-6shp5cvc.js → pty-29j3yxrv.js} +29 -29
- package/dist/chunks/{filesystem-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-sh2daxqk.js → pty-2k2q6fw8.js} +9 -9
- package/dist/chunks/{filesystem-esafk7q3.js → pty-2k8khapm.js} +5 -5
- package/dist/chunks/{filesystem-m7fy2dv4.js → pty-2x3f6yxr.js} +12 -12
- package/dist/chunks/{filesystem-7zpeh0yx.js → pty-30krspkn.js} +4 -4
- package/dist/chunks/{filesystem-1y3mx57g.js → pty-31bxas0a.js} +25 -25
- package/dist/chunks/{filesystem-7bgd9sa5.js → pty-32zdxkvs.js} +35 -35
- package/dist/chunks/{filesystem-d4a7av5z.js → pty-399vjpvh.js} +6 -6
- package/dist/chunks/{filesystem-akdn9jnb.js → pty-3dek0r7g.js} +16 -16
- package/dist/chunks/{filesystem-6ma10yar.js → pty-3dqaahn9.js} +7 -7
- package/dist/chunks/{filesystem-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-7b1f8sqc.js → pty-3jhgxqxx.js} +25 -25
- package/dist/chunks/{filesystem-hedm60x3.js → pty-3meec69r.js} +13 -13
- package/dist/chunks/{filesystem-vzawmjdf.js → pty-3nqrbqk0.js} +35 -35
- package/dist/chunks/{filesystem-mkdy6qkj.js → pty-3p17msm4.js} +9 -9
- package/dist/chunks/{filesystem-f2sgpmsp.js → pty-3r1sf261.js} +13 -13
- package/dist/chunks/{filesystem-cf01cagz.js → pty-3s3yvxep.js} +6 -6
- package/dist/chunks/{filesystem-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-6nczgvap.js → pty-3wa2an9q.js} +19 -19
- package/dist/chunks/{filesystem-8e5zyrwm.js → pty-3zar4bb6.js} +29 -29
- package/dist/chunks/{filesystem-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{filesystem-4dgbcxzg.js → pty-44h5tttr.js} +4 -4
- package/dist/chunks/{filesystem-hjj02mgg.js → pty-45wxwjsv.js} +42 -42
- package/dist/chunks/{filesystem-wfz5d65w.js → pty-464e7j92.js} +33 -33
- package/dist/chunks/{filesystem-3cjwh6g5.js → pty-48vtn20n.js} +10 -10
- package/dist/chunks/{filesystem-fhz5gfgy.js → pty-49exe669.js} +5 -5
- package/dist/chunks/{filesystem-n1mk886p.js → pty-4jg0yvch.js} +20 -20
- package/dist/chunks/{filesystem-2np3k2bf.js → pty-4k009h74.js} +25 -25
- package/dist/chunks/{filesystem-1cn5a5mh.js → pty-4pkc64bv.js} +12 -12
- package/dist/chunks/{filesystem-2at83sxs.js → pty-4s7et4sz.js} +69 -69
- package/dist/chunks/{filesystem-0qx4m1me.js → pty-50a34wry.js} +11 -11
- package/dist/chunks/{filesystem-57ez7d0k.js → pty-57ez7d0k.js} +2 -2
- package/dist/chunks/{filesystem-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-j5208yae.js → pty-5qkxfyep.js} +4 -4
- package/dist/chunks/{filesystem-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-09fmdqc3.js → pty-5zzhnchw.js} +10 -10
- package/dist/chunks/{filesystem-m8xa9e63.js → pty-61n243wx.js} +1 -1
- package/dist/chunks/{filesystem-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-d43zz4nj.js → pty-6b6tf05m.js} +14 -14
- package/dist/chunks/{filesystem-n33rgabk.js → pty-6f3gsd2m.js} +52 -52
- package/dist/chunks/{filesystem-qzz1k0t8.js → pty-6fjgv3tx.js} +7 -7
- package/dist/chunks/{filesystem-gfhtznv3.js → pty-6h8axav6.js} +9 -9
- package/dist/chunks/{filesystem-0jq9fyba.js → pty-6hjx5zpb.js} +9 -9
- package/dist/chunks/{filesystem-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{filesystem-9jgr38p9.js → pty-6n4wvebq.js} +24 -24
- package/dist/chunks/{filesystem-7fkffz83.js → pty-6pc27hjz.js} +8 -8
- package/dist/chunks/{filesystem-8hh75t8h.js → pty-6pd7t5p9.js} +11 -11
- package/dist/chunks/{filesystem-cwy3e0f0.js → pty-6r5c1vje.js} +20 -20
- package/dist/chunks/{filesystem-0br3sbwn.js → pty-6rm5yzkt.js} +4 -4
- package/dist/chunks/{filesystem-2arffnsn.js → pty-73hkkxz0.js} +4 -4
- package/dist/chunks/{filesystem-24yp57y1.js → pty-77qrrhbk.js} +7 -7
- package/dist/chunks/{filesystem-9sdebhyw.js → pty-78jvmpng.js} +30 -30
- package/dist/chunks/{filesystem-wjeg1wsf.js → pty-78kppgjr.js} +8 -8
- package/dist/chunks/{filesystem-2sejkfem.js → pty-79qaa2kf.js} +9 -9
- package/dist/chunks/{filesystem-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-5c120nwe.js → pty-7fp69wc6.js} +5 -5
- package/dist/chunks/{filesystem-rd8q201w.js → pty-7k5pzz91.js} +12 -12
- package/dist/chunks/{filesystem-w3bkza1g.js → pty-7qcv56qz.js} +3 -3
- package/dist/chunks/{filesystem-47syppsm.js → pty-7r0mserh.js} +27 -27
- package/dist/chunks/{filesystem-t918d8cq.js → pty-7y5p1sr1.js} +8 -8
- package/dist/chunks/{filesystem-f0368xkp.js → pty-807f613b.js} +35 -35
- package/dist/chunks/{filesystem-9p42wv5p.js → pty-81y2sag2.js} +25 -25
- package/dist/chunks/{filesystem-84txncab.js → pty-84txncab.js} +1 -1
- package/dist/chunks/{filesystem-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-n8zx0qm6.js → pty-8g2qdxs9.js} +33 -33
- package/dist/chunks/{filesystem-ff7x310r.js → pty-92873q6k.js} +27 -27
- package/dist/chunks/{filesystem-94ek1h2f.js → pty-94ek1h2f.js} +2 -2
- package/dist/chunks/{filesystem-bg71ph9x.js → pty-990hcqnx.js} +24 -24
- package/dist/chunks/{filesystem-nta5r5g3.js → pty-9hqygntd.js} +22 -22
- package/dist/chunks/{filesystem-xjaef4xf.js → pty-9j0dwt0n.js} +5 -5
- package/dist/chunks/{filesystem-cj5wqxwp.js → pty-9jdec6an.js} +21 -21
- package/dist/chunks/{filesystem-3f9dn8j5.js → pty-9r13wbwg.js} +3 -3
- package/dist/chunks/{filesystem-7btysaay.js → pty-9sayw2ch.js} +5 -5
- package/dist/chunks/{filesystem-2x1f9zwj.js → pty-9sbw2ymd.js} +29 -29
- package/dist/chunks/pty-9zdhvgqs.js +18 -0
- package/dist/chunks/{filesystem-f2fkfqad.js → pty-a0vpxxed.js} +5 -5
- package/dist/chunks/{filesystem-5e7rf9zs.js → pty-a1rbvmj7.js} +35 -35
- package/dist/chunks/{filesystem-6j06p5mc.js → pty-a3he3nyv.js} +27 -27
- package/dist/chunks/{filesystem-f9231ptw.js → pty-a3zfxb3h.js} +28 -28
- package/dist/chunks/{filesystem-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-3a6re68j.js → pty-ab9238g2.js} +6 -6
- package/dist/chunks/{filesystem-pecb0brz.js → pty-af04s6ss.js} +5 -5
- package/dist/chunks/{filesystem-zcsbmsrf.js → pty-afh0ypz9.js} +29 -29
- package/dist/chunks/{filesystem-n83saq1s.js → pty-agwtjn7h.js} +10 -10
- package/dist/chunks/{filesystem-72b58gz1.js → pty-arey8x0d.js} +10 -10
- package/dist/chunks/{filesystem-vmepscws.js → pty-b10jyf86.js} +13 -13
- package/dist/chunks/{filesystem-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-1gfephy1.js → pty-b7qnbf45.js} +4 -4
- package/dist/chunks/{filesystem-95svx96e.js → pty-b81v50pn.js} +5 -5
- package/dist/chunks/{filesystem-6b713qfj.js → pty-bf10k29y.js} +3 -3
- package/dist/chunks/{filesystem-61126d0d.js → pty-bfh6ya47.js} +20 -20
- package/dist/chunks/{filesystem-cht1zc30.js → pty-bmwcq5x5.js} +21 -21
- package/dist/chunks/{filesystem-drvrjmpp.js → pty-bnpy9ev6.js} +17 -17
- package/dist/chunks/{filesystem-tks0bnq5.js → pty-btx594cc.js} +3 -3
- package/dist/chunks/{filesystem-mwj78qbb.js → pty-bvam09wt.js} +20 -20
- package/dist/chunks/{filesystem-0mh2q183.js → pty-c2egcwd5.js} +17 -17
- package/dist/chunks/{filesystem-4dfa1csd.js → pty-c7f1t297.js} +25 -25
- package/dist/chunks/{filesystem-9y094rtb.js → pty-c86zcgcw.js} +14 -14
- package/dist/chunks/{filesystem-vgm83cgp.js → pty-ch9ek5wv.js} +18 -18
- package/dist/chunks/{filesystem-ckecvw8r.js → pty-ckecvw8r.js} +2 -2
- package/dist/chunks/{filesystem-c2zxq3ay.js → pty-cp4trhpy.js} +13 -13
- package/dist/chunks/{filesystem-hy0qjepx.js → pty-d99kb9jw.js} +15 -15
- package/dist/chunks/{filesystem-dfe8djrf.js → pty-dfe8djrf.js} +1 -1
- package/dist/chunks/{filesystem-tz2bjj40.js → pty-dj9sq318.js} +5 -5
- package/dist/chunks/{filesystem-m7kdp6gf.js → pty-dke02a2q.js} +22 -22
- package/dist/chunks/{filesystem-xkntkrq7.js → pty-dmqcgk4z.js} +5 -5
- package/dist/chunks/{filesystem-yvr0je1c.js → pty-dnmtb8jk.js} +31 -31
- package/dist/chunks/{filesystem-bnkgx7re.js → pty-dqczjf24.js} +3 -3
- package/dist/chunks/{filesystem-qqeeq2t9.js → pty-drwq78ky.js} +7 -7
- package/dist/chunks/{filesystem-1p1fqfpr.js → pty-dy3v49r2.js} +11 -11
- package/dist/chunks/{filesystem-vn0yq8gz.js → pty-e6btmr3s.js} +164 -164
- package/dist/chunks/{filesystem-e6hmchc5.js → pty-e6hmchc5.js} +2 -2
- package/dist/chunks/{filesystem-p751nfh9.js → pty-e7bpba2x.js} +15 -15
- package/dist/chunks/{filesystem-t550f9t1.js → pty-eaj1djv9.js} +8 -8
- package/dist/chunks/{filesystem-ecfe7b91.js → pty-ecfe7b91.js} +2 -2
- package/dist/chunks/{filesystem-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-0pcvbqvq.js → pty-ef8z397z.js} +18 -18
- package/dist/chunks/{filesystem-8zqs9j7p.js → pty-em4dwj0d.js} +11 -11
- package/dist/chunks/{filesystem-wy048fd6.js → pty-es2axc3h.js} +25 -25
- package/dist/chunks/{filesystem-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-32jxf96r.js → pty-eveqn7cq.js} +17 -17
- package/dist/chunks/{filesystem-dh864dnf.js → pty-evxzpz7n.js} +11 -11
- package/dist/chunks/{filesystem-f2n192rq.js → pty-f2n192rq.js} +1 -1
- package/dist/chunks/pty-f3b7p96q.js +252 -0
- package/dist/chunks/{filesystem-magykp64.js → pty-f3ngv102.js} +4 -4
- package/dist/chunks/{filesystem-dqhaz4gz.js → pty-fbk8frwm.js} +3 -3
- package/dist/chunks/{filesystem-7601emta.js → pty-fm4n3eyq.js} +14 -14
- package/dist/chunks/{filesystem-p37cw4rj.js → pty-g0445xdp.js} +8 -8
- package/dist/chunks/{filesystem-xvp1j2dc.js → pty-g5agzp2h.js} +5 -5
- package/dist/chunks/{filesystem-hrpet7xn.js → pty-g7ev7cxw.js} +14 -14
- package/dist/chunks/{filesystem-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-0w7xa6ee.js → pty-gk5v5xhs.js} +18 -18
- package/dist/chunks/{filesystem-85j366jc.js → pty-gqpj6er6.js} +27 -27
- package/dist/chunks/{filesystem-x2qdxhwm.js → pty-gs4tkc79.js} +8 -8
- package/dist/chunks/{filesystem-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{filesystem-6vvbwd4g.js → pty-h00myp85.js} +48 -48
- package/dist/chunks/{filesystem-svp7d0fp.js → pty-h24wanpd.js} +18 -18
- package/dist/chunks/{filesystem-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-m5q6th7b.js → pty-h958fs6f.js} +12 -12
- package/dist/chunks/{filesystem-y34854y5.js → pty-h98gf4gh.js} +33 -33
- package/dist/chunks/{filesystem-qh690qjv.js → pty-haszz9qj.js} +87 -87
- package/dist/chunks/{filesystem-8q7cq0y1.js → pty-hbznj76v.js} +3 -3
- package/dist/chunks/{filesystem-pb1eahw5.js → pty-hdthj1pw.js} +8 -8
- package/dist/chunks/{filesystem-z29005y7.js → pty-hqwm4sk8.js} +18 -18
- package/dist/chunks/{filesystem-h7y0hqxr.js → pty-htjsxrd7.js} +13 -13
- package/dist/chunks/{filesystem-qkfs2zns.js → pty-hybxtsjq.js} +9 -9
- package/dist/chunks/{filesystem-r45jhqb9.js → pty-j0ct8xdg.js} +5 -5
- package/dist/chunks/{filesystem-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-jtxbrew9.js → pty-j62n369y.js} +5 -5
- package/dist/chunks/pty-j9x84jzd.js +26 -0
- package/dist/chunks/{filesystem-dqfphc03.js → pty-jam4tn4y.js} +9 -9
- package/dist/chunks/{filesystem-bk2qgnaw.js → pty-jc00fynt.js} +11 -11
- package/dist/chunks/{filesystem-228pzppe.js → pty-jfkvjta7.js} +27 -27
- package/dist/chunks/{filesystem-0qhtvwpj.js → pty-jk65v3xz.js} +3 -3
- package/dist/chunks/{filesystem-76eeqvp0.js → pty-k2s68ryd.js} +6 -6
- package/dist/chunks/{filesystem-h32wa76p.js → pty-k31j77h5.js} +320 -320
- package/dist/chunks/{filesystem-nzks3jc8.js → pty-k3c624dm.js} +3 -3
- package/dist/chunks/{filesystem-wav3c6xe.js → pty-ka2whr6h.js} +43 -43
- package/dist/chunks/{filesystem-2qdytgm4.js → pty-kpgsxh3c.js} +13 -13
- package/dist/chunks/{filesystem-k030p904.js → pty-kvj59xr5.js} +1 -1
- package/dist/chunks/{filesystem-xdh9m6e8.js → pty-m2fxrq1x.js} +15 -15
- package/dist/chunks/{filesystem-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{filesystem-2w4eq4pf.js → pty-m563m38r.js} +11 -11
- package/dist/chunks/{filesystem-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-3dgq6m1n.js → pty-mfjdmrp8.js} +45 -45
- package/dist/chunks/{filesystem-1ygqh575.js → pty-mfqp6xfm.js} +6 -6
- package/dist/chunks/{filesystem-2jnrxcaz.js → pty-mmd2gt62.js} +22 -22
- package/dist/chunks/{filesystem-7h5ye0bq.js → pty-mvz1jaak.js} +22 -22
- package/dist/chunks/{filesystem-awczx5q5.js → pty-mxbk4svv.js} +78 -78
- package/dist/chunks/{filesystem-xm3bqwwb.js → pty-natfc3ay.js} +4 -4
- package/dist/chunks/{filesystem-hd23g7nz.js → pty-nc3tx9jz.js} +8 -8
- package/dist/chunks/{filesystem-44mxtx8s.js → pty-nf1sbg18.js} +5 -5
- package/dist/chunks/{filesystem-fhd6f79b.js → pty-ngad3z0g.js} +15 -15
- package/dist/chunks/{filesystem-r56fmryn.js → pty-nvsf456q.js} +23 -23
- package/dist/chunks/{filesystem-g344s1sv.js → pty-nw2v4mce.js} +7 -7
- package/dist/chunks/{filesystem-jdc9aac8.js → pty-nyw6c0bv.js} +26 -26
- package/dist/chunks/{filesystem-j5w2yx54.js → pty-p7a39gy5.js} +6 -6
- package/dist/chunks/{filesystem-kkkrdp4w.js → pty-p87y7hpb.js} +2 -2
- package/dist/chunks/{filesystem-9zrft0gr.js → pty-p8y8cyr8.js} +14 -14
- package/dist/chunks/{filesystem-8n69n882.js → pty-pakcngh0.js} +8 -8
- package/dist/chunks/{filesystem-bw0ym531.js → pty-petzbryk.js} +6 -6
- package/dist/chunks/{filesystem-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-m15jmbbr.js → pty-pkfctg7d.js} +48 -48
- package/dist/chunks/{filesystem-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-fbzhwgzx.js → pty-pqcp81t9.js} +15 -15
- package/dist/chunks/{filesystem-ydgy0jv4.js → pty-pt3xaqgj.js} +8 -8
- package/dist/chunks/{filesystem-qcg4vfgs.js → pty-q752a5kc.js} +6 -6
- package/dist/chunks/{filesystem-zeytjcpa.js → pty-qpaq7ft3.js} +16 -16
- package/dist/chunks/{filesystem-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-jt1vb5pc.js → pty-qwmtame2.js} +11 -11
- package/dist/chunks/{filesystem-av5s1sdw.js → pty-r4ezxwjb.js} +10 -10
- package/dist/chunks/{filesystem-tkmwgdpd.js → pty-ratrq7cm.js} +7 -7
- package/dist/chunks/{filesystem-hbmgyr7d.js → pty-rceabfjb.js} +4 -4
- package/dist/chunks/{filesystem-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-nq7qbqzc.js → pty-rhafb4aa.js} +9 -9
- package/dist/chunks/{filesystem-5frpvc34.js → pty-rp4sv622.js} +2 -2
- package/dist/chunks/{filesystem-mh9gscew.js → pty-rq80fhnt.js} +11 -11
- package/dist/chunks/{filesystem-rw86hr2t.js → pty-rqdx9gb6.js} +24 -24
- package/dist/chunks/{filesystem-mv22x3wf.js → pty-rqzzs8tq.js} +7 -7
- package/dist/chunks/{filesystem-erxx58th.js → pty-rr5w79wt.js} +11 -11
- package/dist/chunks/{filesystem-n09t85ck.js → pty-rsr04b2n.js} +10 -10
- package/dist/chunks/{filesystem-c35597j6.js → pty-s30fyz93.js} +4 -4
- package/dist/chunks/{filesystem-j2w0gmpe.js → pty-s7c8pqjf.js} +8 -8
- package/dist/chunks/{filesystem-pq2pd6hh.js → pty-sd182w7n.js} +25 -25
- package/dist/chunks/{filesystem-z4gv22m1.js → pty-sf6t82jx.js} +26 -26
- package/dist/chunks/{filesystem-grdteyps.js → pty-sqa4x5n4.js} +8 -8
- package/dist/chunks/{filesystem-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-89znhe33.js → pty-tcezcvh9.js} +4 -4
- package/dist/chunks/{filesystem-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-zy8e99jb.js → pty-te1pvy5w.js} +35 -35
- package/dist/chunks/{filesystem-fp8ek5zt.js → pty-tjznwxx0.js} +37 -37
- package/dist/chunks/{filesystem-39z47dss.js → pty-ts860kc8.js} +20 -20
- package/dist/chunks/{filesystem-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{filesystem-5y480sgp.js → pty-tx9w5tca.js} +8 -8
- package/dist/chunks/{filesystem-m70sbz6t.js → pty-tz4n1mmd.js} +4 -4
- package/dist/chunks/{filesystem-n1rz67ba.js → pty-v4yy06kz.js} +48 -48
- package/dist/chunks/{filesystem-9g8aqzdg.js → pty-v7h219eh.js} +18 -18
- package/dist/chunks/{filesystem-cm0vdedy.js → pty-vb7xznyv.js} +28 -28
- package/dist/chunks/{filesystem-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-08mcr500.js → pty-vmyhsb96.js} +20 -20
- package/dist/chunks/{filesystem-pjw9389s.js → pty-vt27zn5n.js} +11 -11
- package/dist/chunks/{filesystem-f2515zf3.js → pty-vx1akz9y.js} +17 -17
- package/dist/chunks/{filesystem-afed7ext.js → pty-vy4zg7qh.js} +5 -5
- package/dist/chunks/{filesystem-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{filesystem-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-wd3x2cqz.js → pty-wd3x2cqz.js} +2 -2
- package/dist/chunks/{filesystem-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-smp49fay.js → pty-wkcsbyg1.js} +23 -23
- package/dist/chunks/{filesystem-fqftz3yh.js → pty-wkmn09sz.js} +32 -32
- package/dist/chunks/{filesystem-6pmqbm9x.js → pty-wkq7w2hk.js} +22 -22
- package/dist/chunks/{filesystem-n1ka8r9d.js → pty-wq4mmp7m.js} +4 -4
- package/dist/chunks/{filesystem-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-a4ym3kq6.js → pty-xa84kt07.js} +28 -28
- package/dist/chunks/{filesystem-dah9s5zy.js → pty-xpdm92c9.js} +11 -11
- package/dist/chunks/{filesystem-p5hnzy35.js → pty-xpzjeq3a.js} +20 -20
- package/dist/chunks/{filesystem-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-nd0783xw.js → pty-y2yz6ws7.js} +11 -11
- package/dist/chunks/{filesystem-xxxym934.js → pty-y6mhz57t.js} +4 -4
- package/dist/chunks/{filesystem-y71avatq.js → pty-y71avatq.js} +1 -1
- package/dist/chunks/{filesystem-4ev5vm6j.js → pty-y84esdn3.js} +3 -3
- package/dist/chunks/pty-yckhfgep.js +326 -0
- package/dist/chunks/{filesystem-jkcp7byf.js → pty-yfj51pwm.js} +15 -15
- package/dist/chunks/{filesystem-a48f9ws0.js → pty-ykp63ekt.js} +6 -6
- package/dist/chunks/{filesystem-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-0hhvd48t.js → pty-yrq2792c.js} +8 -8
- package/dist/chunks/{filesystem-yrznvahk.js → pty-yrznvahk.js} +2 -2
- package/dist/chunks/{filesystem-z07pqspn.js → pty-z07pqspn.js} +3 -3
- package/dist/chunks/{filesystem-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-h46f4tx0.js → pty-z4x8vcyx.js} +18 -18
- package/dist/chunks/{filesystem-z63w68vq.js → pty-z63w68vq.js} +2 -2
- package/dist/chunks/{filesystem-80023xb3.js → pty-zd8qt3bk.js} +24 -24
- package/dist/chunks/{filesystem-kwbyxxx0.js → pty-zdcx8jr2.js} +8 -8
- package/dist/chunks/{filesystem-enhz8yge.js → pty-zdewfq3n.js} +5 -5
- package/dist/chunks/{filesystem-1zh729eh.js → pty-zdq65h6r.js} +3 -3
- package/dist/chunks/{filesystem-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{filesystem-2cmv458r.js → pty-zk8c4w5t.js} +5 -5
- package/dist/chunks/{filesystem-2336b01z.js → pty-zq6stcrg.js} +8 -8
- package/dist/chunks/{filesystem-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-8r56x03s.js → pty-zrb5rc4f.js} +27 -27
- package/dist/chunks/{filesystem-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- 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 +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.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 +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- 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 +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +81 -81
- 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 +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- 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 +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- 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 +94 -94
- 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 +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- 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/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- 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 +150 -150
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +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 +94 -94
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- 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 +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +213 -213
- 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 +114 -114
- package/dist/tool/read-filesystem.js +100 -100
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/filesystem-phz3h32g.js +0 -18
- package/dist/chunks/filesystem-scfp8aft.js +0 -252
- package/dist/chunks/filesystem-wmqnggde.js +0 -26
- package/dist/chunks/filesystem-y1vpz5e6.js +0 -326
- /package/dist/chunks/{filesystem-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-3zar4bb6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID7,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info22,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-a3he3nyv.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models = {};
|
|
17
|
+
__export(exports_models, {
|
|
18
|
+
ModalModels: () => exports_models,
|
|
19
|
+
derive: () => derive2,
|
|
20
|
+
get: () => get2,
|
|
21
|
+
load: () => load2
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID8.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get2(baseURL, apiKey, existing) {
|
|
58
|
+
return derive2(baseURL, await load2(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load2(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load3(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive2(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID7.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID7.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info22.make({
|
|
98
|
+
...Info22.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID7.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service61,
|
|
3
|
+
node64
|
|
4
|
+
} from "./pty-140xbb54.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-hbznj76v.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
@@ -55,7 +55,7 @@ var resolved2 = (model, options) => ({
|
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
57
|
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
58
|
-
const resolver = yield*
|
|
58
|
+
const resolver = yield* Service61;
|
|
59
59
|
return Service37.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var node39 = makeLocationNode({ service: Service37, layer, deps: [
|
|
77
|
+
var node39 = makeLocationNode({ service: Service37, layer, deps: [node64] });
|
|
78
78
|
|
|
79
79
|
export { ModelNotSelectedError2, ModelUnavailableError2, Service37, resolved2, node39, exports_model };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service75
|
|
4
|
+
} from "./pty-9jdec6an.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-p87y7hpb.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service50
|
|
10
|
+
} from "./pty-ka2whr6h.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service60,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-0zfem7mk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service21
|
|
17
|
+
} from "./pty-haszz9qj.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make10
|
|
20
|
+
} from "./pty-50a34wry.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin7
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin7 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service50;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -56,10 +56,10 @@ var Plugin45 = define({
|
|
|
56
56
|
});
|
|
57
57
|
const location = yield* Service80;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service60;
|
|
60
|
+
const sessions = yield* Service21;
|
|
61
|
+
const agents = yield* Service75;
|
|
62
|
+
const subagents = yield* make10;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin45 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID14.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin7, exports_command };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service38,
|
|
10
|
+
node: () => node40
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service38 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node40 = LayerNode.unbound(Service38, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service38, node40, exports_service2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-b7qnbf45.js";
|
|
4
4
|
import {
|
|
5
5
|
Service71
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-399vjpvh.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service30,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-9zdhvgqs.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-e6btmr3s.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_plugin2, {
|
|
|
30
30
|
ID: () => ID2,
|
|
31
31
|
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service30,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node16
|
|
38
38
|
});
|
|
39
39
|
import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service83;
|
|
45
45
|
const kv = yield* Service71;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service30.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node16 = Node.makeLocationNode({
|
|
226
|
+
service: Service30,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node16, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service41,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node43
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service41 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service41, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service41.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service43, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node43 = makeGlobalNode({ service: Service41, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service41, node43, exports_environment };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./pty-3zar4bb6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service50
|
|
7
|
+
} from "./pty-ka2whr6h.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service67;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service50);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-b7qnbf45.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service69,
|
|
11
|
+
node73
|
|
12
|
+
} from "./pty-78jvmpng.js";
|
|
13
13
|
import {
|
|
14
14
|
Service80,
|
|
15
15
|
node84
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-p87y7hpb.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service54,
|
|
19
|
+
node56
|
|
20
|
+
} from "./pty-bmwcq5x5.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID11,
|
|
23
|
+
Service70,
|
|
24
|
+
node74
|
|
25
|
+
} from "./pty-81y2sag2.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service68,
|
|
34
|
+
node72
|
|
35
|
+
} from "./pty-afh0ypz9.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./pty-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service32,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured4,
|
|
56
|
+
layer: () => layer15,
|
|
57
|
+
node: () => node35
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -91,21 +91,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
91
91
|
var endpointLoads = makeUnsafe2();
|
|
92
92
|
var cloneConfig = (config) => structuredClone(config);
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Service32 extends Context.Service()("@opencode/MCP") {
|
|
95
95
|
}
|
|
96
|
-
var
|
|
96
|
+
var Options4 = Schema.Struct({
|
|
97
97
|
clientInfo: Schema.optional(Schema.Struct({
|
|
98
98
|
name: Schema.String,
|
|
99
99
|
version: Schema.String
|
|
100
100
|
}))
|
|
101
101
|
});
|
|
102
|
-
var
|
|
102
|
+
var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
103
103
|
const location = yield* Service80;
|
|
104
|
-
const environment = yield*
|
|
104
|
+
const environment = yield* Service54;
|
|
105
105
|
const bus = yield* Service83;
|
|
106
|
-
const forms = yield*
|
|
107
|
-
const integration = yield*
|
|
108
|
-
const credentials = yield*
|
|
106
|
+
const forms = yield* Service70;
|
|
107
|
+
const integration = yield* Service68;
|
|
108
|
+
const credentials = yield* Service69;
|
|
109
109
|
const root = yield* Effect.scope;
|
|
110
110
|
const fork = yield* FiberSet.makeRuntime();
|
|
111
111
|
const entries = new Map;
|
|
@@ -117,7 +117,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
117
117
|
return;
|
|
118
118
|
const remote = entry.config;
|
|
119
119
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
120
|
-
const integrationID =
|
|
120
|
+
const integrationID = ID9.make(suffix);
|
|
121
121
|
entry.integrationID = integrationID;
|
|
122
122
|
owned.add(integrationID);
|
|
123
123
|
const methodID = MethodID2.make(suffix);
|
|
@@ -133,7 +133,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
133
133
|
method: { id: methodID, type: "oauth", label: name },
|
|
134
134
|
authorize: () => Effect.gen(function* () {
|
|
135
135
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
136
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
136
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service69, credentials));
|
|
137
137
|
})
|
|
138
138
|
});
|
|
139
139
|
}).pipe(Scope.provide(scope));
|
|
@@ -142,19 +142,19 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
142
142
|
const name = ServerName2.make(server);
|
|
143
143
|
const entry = entries.get(name);
|
|
144
144
|
if (!entry)
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new NotFoundError4({ server: name });
|
|
146
146
|
return { name, entry };
|
|
147
147
|
});
|
|
148
148
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
149
149
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
150
150
|
return;
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service69, credentials));
|
|
153
153
|
});
|
|
154
154
|
const elicitation = {
|
|
155
155
|
create: (input) => Effect.gen(function* () {
|
|
156
156
|
if (input.params.mode === "url") {
|
|
157
|
-
const formID =
|
|
157
|
+
const formID = ID11.create();
|
|
158
158
|
const elicitationID = input.params.elicitationId;
|
|
159
159
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
160
160
|
if (key)
|
|
@@ -257,7 +257,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
257
257
|
entry.scope = scope;
|
|
258
258
|
const authProvider = yield* connectProvider(entry);
|
|
259
259
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
260
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
260
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service54, environment), Scope.provide(scope));
|
|
261
261
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
262
262
|
if (Exit.isSuccess(result)) {
|
|
263
263
|
entry.client = result.value.connection;
|
|
@@ -382,7 +382,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
382
382
|
yield* startServer(name, entry);
|
|
383
383
|
}).pipe(locks.withLock(name));
|
|
384
384
|
});
|
|
385
|
-
fork(bus.subscribe(
|
|
385
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
386
386
|
const state = create3({
|
|
387
387
|
name: "mcp",
|
|
388
388
|
initial: () => ({
|
|
@@ -408,7 +408,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
408
408
|
}),
|
|
409
409
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
410
410
|
});
|
|
411
|
-
return
|
|
411
|
+
return Service32.of({
|
|
412
412
|
transform: state.transform,
|
|
413
413
|
reload: state.reload,
|
|
414
414
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -514,14 +514,14 @@ function mergeCatalogs(catalogs) {
|
|
|
514
514
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
515
515
|
});
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function configured4(options) {
|
|
518
518
|
return makeLocationNode({
|
|
519
|
-
service:
|
|
520
|
-
layer:
|
|
521
|
-
deps: [node84,
|
|
519
|
+
service: Service32,
|
|
520
|
+
layer: layer15(options),
|
|
521
|
+
deps: [node84, node56, node87, node74, node72, node73]
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
|
-
var
|
|
524
|
+
var node35 = configured4();
|
|
525
525
|
function toElicitationField(key, property, required) {
|
|
526
526
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
527
527
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -572,4 +572,4 @@ function toElicitationField(key, property, required) {
|
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
575
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service32, Options4, layer15, configured4, node35, exports_mcp4 };
|