@opencode/core 0.0.0-dev-20669 → 0.0.0-dev-20670
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 +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{persistent-pty-m5z203ha.js → variant-04ah9brh.js} +4 -4
- package/dist/chunks/{persistent-pty-xg9719v1.js → variant-09a75c85.js} +30 -30
- package/dist/chunks/{persistent-pty-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-2p623br6.js → variant-0ryd0fps.js} +5 -5
- package/dist/chunks/{persistent-pty-0vbcp93d.js → variant-0vbcp93d.js} +2 -2
- package/dist/chunks/{persistent-pty-fmx4tt35.js → variant-11zweyk1.js} +16 -16
- package/dist/chunks/{persistent-pty-0ztzc0rc.js → variant-12r2p6ep.js} +22 -22
- package/dist/chunks/{persistent-pty-sg1gpmh1.js → variant-13phwz10.js} +4 -4
- package/dist/chunks/{persistent-pty-7d99net6.js → variant-14mf7nj2.js} +5 -5
- package/dist/chunks/{persistent-pty-qmx6320q.js → variant-1aaptxkf.js} +12 -12
- package/dist/chunks/{persistent-pty-m0n08mcv.js → variant-1bg0pxyr.js} +4 -4
- package/dist/chunks/{persistent-pty-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-84h8c373.js → variant-1dvck2a7.js} +2 -2
- package/dist/chunks/{persistent-pty-9qcn7sxn.js → variant-1fbkv74j.js} +9 -9
- package/dist/chunks/{persistent-pty-vwgces70.js → variant-1ypt9myv.js} +33 -33
- package/dist/chunks/{persistent-pty-a81vx8af.js → variant-22myzpse.js} +13 -13
- package/dist/chunks/{persistent-pty-tq524sjs.js → variant-24zt9st4.js} +3 -3
- package/dist/chunks/{persistent-pty-pvg1c9ct.js → variant-273qqx2t.js} +5 -5
- package/dist/chunks/{persistent-pty-js61yr7p.js → variant-27k4znhv.js} +26 -26
- package/dist/chunks/{persistent-pty-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-cg24jcsb.js → variant-2c6y2vpm.js} +28 -28
- package/dist/chunks/variant-2jm8wccg.js +26 -0
- package/dist/chunks/{persistent-pty-qgn6gcr1.js → variant-2k8khapm.js} +5 -5
- package/dist/chunks/{persistent-pty-rzeq28dk.js → variant-2vjdd89t.js} +55 -55
- package/dist/chunks/{persistent-pty-35qw0rw5.js → variant-2weejz9f.js} +8 -8
- package/dist/chunks/{persistent-pty-h3ek80ta.js → variant-2yxe94w7.js} +8 -8
- package/dist/chunks/{persistent-pty-qw79ank0.js → variant-34bswkv4.js} +44 -44
- package/dist/chunks/{persistent-pty-hafepx0m.js → variant-363vysxk.js} +12 -12
- package/dist/chunks/{persistent-pty-hcgg9rjw.js → variant-36zr3dcy.js} +4 -4
- package/dist/chunks/{persistent-pty-agb5qaf7.js → variant-37rf5trb.js} +17 -17
- package/dist/chunks/{persistent-pty-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-7h0zcbyp.js → variant-3ftpg69t.js} +17 -17
- package/dist/chunks/{persistent-pty-s3jwpk2a.js → variant-3ha3xwk3.js} +18 -18
- package/dist/chunks/{persistent-pty-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-3fktkvc1.js → variant-3jmpz8k1.js} +1 -1
- package/dist/chunks/{persistent-pty-4rxwbah3.js → variant-3r1fp5nk.js} +5 -5
- package/dist/chunks/{persistent-pty-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
- 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-tjp24hfy.js → variant-43a10n5x.js} +11 -11
- package/dist/chunks/{persistent-pty-22902vxq.js → variant-43hb2m25.js} +5 -5
- package/dist/chunks/{persistent-pty-xkysk5pe.js → variant-43myjda7.js} +15 -15
- package/dist/chunks/{persistent-pty-nzzpqbc2.js → variant-47rh35ks.js} +8 -8
- package/dist/chunks/{persistent-pty-k1qrnqst.js → variant-4arb9zza.js} +8 -8
- package/dist/chunks/{persistent-pty-9475q65j.js → variant-4ca69wfz.js} +25 -25
- package/dist/chunks/{persistent-pty-5ma40m5t.js → variant-4rgynks6.js} +10 -10
- package/dist/chunks/{persistent-pty-4ts7tf6z.js → variant-4ts7tf6z.js} +2 -2
- package/dist/chunks/{persistent-pty-h08dbkgj.js → variant-4wk8r1at.js} +16 -16
- package/dist/chunks/{persistent-pty-wh6zw745.js → variant-4xpgt2w9.js} +5 -5
- package/dist/chunks/{persistent-pty-54ma36ye.js → variant-54ma36ye.js} +1 -1
- package/dist/chunks/{persistent-pty-mfqp6xfm.js → variant-56gdpj1q.js} +6 -6
- package/dist/chunks/{persistent-pty-wrg7f32p.js → variant-5a9dmyae.js} +24 -24
- package/dist/chunks/{persistent-pty-5daktx2q.js → variant-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-npwr55pz.js → variant-5ejk7f0k.js} +13 -13
- package/dist/chunks/{persistent-pty-1vndf96e.js → variant-5evreb3e.js} +7 -7
- package/dist/chunks/{persistent-pty-fk30fwzs.js → variant-5gxvh74d.js} +26 -26
- package/dist/chunks/{persistent-pty-5m9w47nd.js → variant-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
- package/dist/chunks/variant-619r8v3y.js +18 -0
- package/dist/chunks/{persistent-pty-5pv4q8r9.js → variant-68b4ewtf.js} +6 -6
- package/dist/chunks/{persistent-pty-shan7gyw.js → variant-68hxq47m.js} +20 -20
- package/dist/chunks/{persistent-pty-fky2s0f8.js → variant-6apymsef.js} +15 -15
- package/dist/chunks/{persistent-pty-1tje5prg.js → variant-6hay09zr.js} +24 -24
- package/dist/chunks/{persistent-pty-ycc3dskp.js → variant-6tqx1ph1.js} +11 -11
- package/dist/chunks/{persistent-pty-jsa646dy.js → variant-6x68kpm5.js} +15 -15
- package/dist/chunks/{persistent-pty-6xb47vfp.js → variant-6xb47vfp.js} +1 -1
- package/dist/chunks/{persistent-pty-f75zav2x.js → variant-71az546q.js} +2 -2
- package/dist/chunks/{persistent-pty-hhwj2e48.js → variant-73y8v8y6.js} +1 -1
- package/dist/chunks/{persistent-pty-y84ejm2m.js → variant-76p9kcxt.js} +20 -20
- package/dist/chunks/{persistent-pty-gen41c14.js → variant-778zdafs.js} +2 -2
- package/dist/chunks/{persistent-pty-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-0v4cpg5d.js → variant-7gak28c2.js} +11 -11
- package/dist/chunks/{persistent-pty-fk41zhkz.js → variant-7kyq03wq.js} +62 -62
- package/dist/chunks/variant-7nkk035h.js +253 -0
- package/dist/chunks/{persistent-pty-m2n5k0pa.js → variant-7qt3axmk.js} +11 -11
- package/dist/chunks/{persistent-pty-d7s6akkx.js → variant-7zjc8zg2.js} +6 -6
- package/dist/chunks/{persistent-pty-ns3eape4.js → variant-7zt5x37y.js} +4 -3
- package/dist/chunks/{persistent-pty-84txncab.js → variant-84txncab.js} +1 -1
- package/dist/chunks/{persistent-pty-khmd8m6z.js → variant-85cf5a55.js} +7 -7
- package/dist/chunks/{persistent-pty-wrkdkjy5.js → variant-8d7mxkd3.js} +3 -3
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-bsprd9wx.js → variant-8m5xe4tx.js} +6 -6
- package/dist/chunks/{persistent-pty-8hmy07yn.js → variant-8pypt00x.js} +10 -10
- package/dist/chunks/{persistent-pty-vx3jgdek.js → variant-8whp40kv.js} +3 -3
- package/dist/chunks/{persistent-pty-pmp1zjsv.js → variant-8xxgh2t9.js} +26 -26
- package/dist/chunks/{persistent-pty-5cpejcvs.js → variant-90nsq7vp.js} +9 -9
- package/dist/chunks/{persistent-pty-xxndcd6m.js → variant-96ctqc5x.js} +4 -4
- package/dist/chunks/{persistent-pty-mjagy123.js → variant-96te9d4b.js} +5 -5
- package/dist/chunks/{persistent-pty-kb9j3d72.js → variant-9e5bzkjp.js} +3 -3
- package/dist/chunks/{persistent-pty-m854cfv5.js → variant-9s3nv18s.js} +23 -23
- package/dist/chunks/{persistent-pty-kqa5e0am.js → variant-9vqn762s.js} +1 -1
- package/dist/chunks/{persistent-pty-thpxvrkg.js → variant-9w3q8q8k.js} +4 -4
- package/dist/chunks/{persistent-pty-r5x6zcsm.js → variant-a1gpj94z.js} +3 -3
- package/dist/chunks/{persistent-pty-sdbgje86.js → variant-a1n2n4d8.js} +21 -21
- package/dist/chunks/{persistent-pty-mgwdcceq.js → variant-a5hrzf2z.js} +3 -3
- package/dist/chunks/{persistent-pty-j1nc06n8.js → variant-a7zpr1c3.js} +17 -17
- package/dist/chunks/{persistent-pty-aaet6srn.js → variant-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-br5c6tzy.js → variant-ajbd8md1.js} +18 -18
- package/dist/chunks/{persistent-pty-0506etc9.js → variant-anzb5n5e.js} +32 -32
- package/dist/chunks/{persistent-pty-pbvkggcp.js → variant-at1j3wg7.js} +9 -9
- package/dist/chunks/{persistent-pty-26ye3vwj.js → variant-av38vskm.js} +5 -5
- package/dist/chunks/{persistent-pty-tjtsnnc4.js → variant-av9e2wha.js} +5 -5
- package/dist/chunks/{persistent-pty-3hfxhm5y.js → variant-az8dgmmc.js} +8 -8
- package/dist/chunks/{persistent-pty-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-k7cee5jt.js → variant-baep62j8.js} +89 -89
- package/dist/chunks/{persistent-pty-zg3tcem2.js → variant-bdm4x938.js} +9 -9
- package/dist/chunks/{persistent-pty-m93asd28.js → variant-bf1ejp41.js} +25 -25
- package/dist/chunks/{persistent-pty-qtd03s71.js → variant-bf28q0c2.js} +13 -13
- package/dist/chunks/{persistent-pty-c0r9zvd5.js → variant-bvh7grhs.js} +1 -1
- package/dist/chunks/{persistent-pty-h6cyscg9.js → variant-bw5kq8m8.js} +11 -11
- package/dist/chunks/{persistent-pty-4rt0ga34.js → variant-bydnjh3t.js} +9 -9
- package/dist/chunks/{persistent-pty-ag19a3sx.js → variant-bytkh039.js} +15 -15
- package/dist/chunks/{persistent-pty-dx3f013a.js → variant-c1enaq1p.js} +54 -54
- package/dist/chunks/{persistent-pty-ga4m96b7.js → variant-c7yhx3mn.js} +30 -30
- package/dist/chunks/{persistent-pty-zee1rnkq.js → variant-ckf8nxjz.js} +4 -4
- package/dist/chunks/{persistent-pty-p42hj8p8.js → variant-cmwkp3r5.js} +8 -8
- package/dist/chunks/{persistent-pty-xpn67gvy.js → variant-cz9840fe.js} +25 -25
- package/dist/chunks/{persistent-pty-fpk887gp.js → variant-d646jtrt.js} +11 -11
- package/dist/chunks/{persistent-pty-addxnjmp.js → variant-db2wf4at.js} +4 -4
- package/dist/chunks/{persistent-pty-8e1b1gzh.js → variant-dg6dbwk8.js} +4 -4
- package/dist/chunks/{persistent-pty-6nx6vy4k.js → variant-dgqg0y62.js} +22 -22
- package/dist/chunks/{persistent-pty-cwa6csj7.js → variant-djszqvmq.js} +9 -9
- package/dist/chunks/{persistent-pty-8e18ys7f.js → variant-dkkxy9wz.js} +20 -20
- package/dist/chunks/{persistent-pty-nxm207yx.js → variant-dpkg50ah.js} +4 -4
- package/dist/chunks/{persistent-pty-nm4z1r83.js → variant-e4qpf6ew.js} +37 -37
- package/dist/chunks/{persistent-pty-b0jkajpy.js → variant-e4znzpr0.js} +16 -16
- package/dist/chunks/{persistent-pty-8bz0awby.js → variant-e842s4t9.js} +30 -30
- package/dist/chunks/{persistent-pty-4c2df9zx.js → variant-eeaf82dq.js} +8 -8
- package/dist/chunks/{persistent-pty-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-v6gb7zv2.js → variant-eqkxs06z.js} +6 -6
- package/dist/chunks/{persistent-pty-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-2ss7c3mr.js → variant-f6es3tce.js} +29 -29
- package/dist/chunks/{persistent-pty-wqywrvhs.js → variant-fa263v27.js} +88 -88
- package/dist/chunks/{persistent-pty-h2440tx6.js → variant-fa9g1mnx.js} +18 -18
- package/dist/chunks/{persistent-pty-f3gemxdz.js → variant-fcncf75j.js} +26 -26
- package/dist/chunks/{persistent-pty-h31qzmwk.js → variant-fj13q4zb.js} +22 -22
- package/dist/chunks/{persistent-pty-t8p3xnq8.js → variant-fj7dxcp8.js} +25 -25
- package/dist/chunks/{persistent-pty-qh933se3.js → variant-fmp6ttz0.js} +11 -11
- package/dist/chunks/{persistent-pty-8pg7dxp0.js → variant-fq7d5agy.js} +42 -42
- package/dist/chunks/{persistent-pty-0xezjjjn.js → variant-fqtvmpfq.js} +8 -8
- package/dist/chunks/{persistent-pty-9n926yde.js → variant-fzf3d4e0.js} +29 -29
- package/dist/chunks/{persistent-pty-ftt6gxvn.js → variant-g4yyayt9.js} +5 -5
- package/dist/chunks/{persistent-pty-qdtfwvft.js → variant-g96ergdg.js} +29 -29
- package/dist/chunks/{persistent-pty-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-29wpv0c5.js → variant-genng97f.js} +14 -14
- package/dist/chunks/{persistent-pty-521nt0x3.js → variant-gfds2h31.js} +24 -24
- package/dist/chunks/{persistent-pty-tadk88n8.js → variant-gkh8nh6z.js} +23 -23
- package/dist/chunks/{persistent-pty-jervv9x6.js → variant-gmmdfr2g.js} +8 -8
- package/dist/chunks/{persistent-pty-hyyhpv4k.js → variant-gsnm7xcg.js} +20 -20
- package/dist/chunks/{persistent-pty-ahp8ga40.js → variant-gtz9hmz6.js} +33 -33
- package/dist/chunks/{persistent-pty-n1n192bv.js → variant-gw7cjrad.js} +4 -4
- package/dist/chunks/{persistent-pty-mzz5dc6v.js → variant-gwyfdq8m.js} +22 -22
- package/dist/chunks/{persistent-pty-9cbr7v56.js → variant-gxre2ca4.js} +41 -41
- package/dist/chunks/{persistent-pty-3cegwx68.js → variant-h2b79v29.js} +2 -2
- package/dist/chunks/{persistent-pty-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-nm065sa1.js → variant-hb96kx89.js} +18 -18
- package/dist/chunks/{persistent-pty-hbepmwya.js → variant-hbepmwya.js} +3 -3
- package/dist/chunks/{persistent-pty-rgak4h0z.js → variant-hcxj4rsa.js} +47 -47
- package/dist/chunks/{persistent-pty-az0ary3d.js → variant-hj5zw0v5.js} +20 -20
- package/dist/chunks/{persistent-pty-5df9cmzz.js → variant-j0x50v7v.js} +10 -10
- package/dist/chunks/{persistent-pty-86745pec.js → variant-j3hvrqpy.js} +6 -6
- package/dist/chunks/{persistent-pty-j56e64zr.js → variant-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-wctfcgtb.js → variant-jarn1zxe.js} +6 -6
- package/dist/chunks/{persistent-pty-xza0jhs5.js → variant-jhbzetc7.js} +176 -176
- package/dist/chunks/{persistent-pty-3rp5as3f.js → variant-jhyh6f4e.js} +36 -36
- package/dist/chunks/{persistent-pty-jktqzjpa.js → variant-jktqzjpa.js} +2 -2
- package/dist/chunks/{persistent-pty-ypg0fq7f.js → variant-jyapyf9t.js} +14 -14
- package/dist/chunks/{persistent-pty-3cd9n481.js → variant-k70p9jzb.js} +9 -9
- package/dist/chunks/{persistent-pty-gm6yrpsp.js → variant-k7xgtgde.js} +3 -3
- package/dist/chunks/{persistent-pty-77gk4895.js → variant-kb1yqcjd.js} +27 -27
- package/dist/chunks/{persistent-pty-e8bptm4w.js → variant-kg3zg8yk.js} +32 -32
- package/dist/chunks/{persistent-pty-2dffg0nm.js → variant-kwdfxrj7.js} +15 -15
- package/dist/chunks/{persistent-pty-pfhprg9x.js → variant-kzht0r54.js} +11 -11
- package/dist/chunks/{persistent-pty-8qhgctqz.js → variant-m2c06fa4.js} +10 -10
- package/dist/chunks/{persistent-pty-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-nrdmrqsx.js → variant-magykp64.js} +4 -4
- package/dist/chunks/{persistent-pty-357jqwce.js → variant-mf5w15f6.js} +5 -5
- package/dist/chunks/{persistent-pty-d267yb9a.js → variant-mge8kx0v.js} +27 -27
- package/dist/chunks/{persistent-pty-f2vmbes1.js → variant-mm69kq7h.js} +18 -18
- package/dist/chunks/{persistent-pty-mwvn72c5.js → variant-mqj33d01.js} +16 -16
- package/dist/chunks/{persistent-pty-sp1327tm.js → variant-mqkwkb58.js} +14 -14
- package/dist/chunks/{persistent-pty-j9n9pc60.js → variant-mxtpa36p.js} +18 -18
- package/dist/chunks/{persistent-pty-0r3c1bmw.js → variant-n8vdnqrc.js} +5 -5
- package/dist/chunks/{persistent-pty-2p3910rq.js → variant-ncv9kjc6.js} +14 -14
- package/dist/chunks/{persistent-pty-1m6fh7c4.js → variant-npj3fp8d.js} +11 -11
- package/dist/chunks/{persistent-pty-tbzz0ayx.js → variant-p1dchzeh.js} +9 -9
- package/dist/chunks/{persistent-pty-w6evsh6e.js → variant-p23nk964.js} +19 -19
- package/dist/chunks/{persistent-pty-5pyjqqve.js → variant-p5p5kne1.js} +2 -2
- package/dist/chunks/{persistent-pty-e6txpg2e.js → variant-pddh4aqp.js} +26 -26
- package/dist/chunks/{persistent-pty-cfghkxm5.js → variant-pje0b5e4.js} +16 -16
- 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-0me0fk48.js → variant-pkqb68ka.js} +4 -4
- package/dist/chunks/{persistent-pty-twmcj6bq.js → variant-psjjct8g.js} +11 -11
- package/dist/chunks/{persistent-pty-gm49ncpz.js → variant-pwkca9pk.js} +3 -3
- package/dist/chunks/{persistent-pty-q0xm7vwc.js → variant-q0xm7vwc.js} +2 -2
- package/dist/chunks/{persistent-pty-de42tf4w.js → variant-q74y9j8r.js} +11 -11
- package/dist/chunks/{persistent-pty-e3w9zwct.js → variant-qfyvnv8a.js} +40 -40
- package/dist/chunks/{persistent-pty-qnc92qwc.js → variant-qnc92qwc.js} +1 -1
- package/dist/chunks/{persistent-pty-qsdy395h.js → variant-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-k81m5qp3.js → variant-qvpfanze.js} +6 -6
- package/dist/chunks/{persistent-pty-10w4ymhy.js → variant-qxtmr2bd.js} +4 -4
- package/dist/chunks/{persistent-pty-nkkndsd1.js → variant-qyzq8tdf.js} +7 -7
- package/dist/chunks/{persistent-pty-0gaxgzx6.js → variant-r42cqwsc.js} +46 -46
- package/dist/chunks/{persistent-pty-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-7y20r9ha.js → variant-rgx9nb55.js} +7 -7
- package/dist/chunks/{persistent-pty-apg4h2pc.js → variant-rh1z4y1h.js} +36 -36
- package/dist/chunks/{persistent-pty-rhraev7y.js → variant-rhraev7y.js} +1 -1
- package/dist/chunks/{persistent-pty-yrn1qewd.js → variant-s1nb2eev.js} +35 -35
- package/dist/chunks/{persistent-pty-8tf08qh4.js → variant-s37hkjzm.js} +11 -11
- package/dist/chunks/{persistent-pty-5s1hsbk6.js → variant-s3rfr38d.js} +8 -8
- package/dist/chunks/{persistent-pty-ygszv6dm.js → variant-saa5sm41.js} +5 -5
- package/dist/chunks/{persistent-pty-s8tkytec.js → variant-sehwt9te.js} +17 -17
- package/dist/chunks/{persistent-pty-arnhd4xy.js → variant-sjryg82s.js} +13 -13
- package/dist/chunks/{persistent-pty-zrm98xgn.js → variant-srk0zn0s.js} +36 -36
- package/dist/chunks/{persistent-pty-zebcfbc6.js → variant-t10yzrjw.js} +32 -32
- package/dist/chunks/{persistent-pty-r1zwgjtb.js → variant-takqf31v.js} +29 -29
- package/dist/chunks/{persistent-pty-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-n9arjmkd.js → variant-tbmac1c7.js} +4 -4
- package/dist/chunks/{persistent-pty-g4kgyb8v.js → variant-tc2bp7te.js} +11 -11
- 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-vvtb55vm.js → variant-tfsj2qc7.js} +34 -34
- package/dist/chunks/{persistent-pty-9wbvk8fq.js → variant-tj9v0x4b.js} +13 -13
- package/dist/chunks/{persistent-pty-7ce5kxm3.js → variant-tpk0zy7s.js} +17 -17
- package/dist/chunks/{persistent-pty-8784cf3d.js → variant-v44y4b59.js} +14 -14
- package/dist/chunks/{persistent-pty-ryr25ayn.js → variant-v5dkyp31.js} +4 -4
- package/dist/chunks/{persistent-pty-rx3pmkf6.js → variant-vbhjmb5m.js} +8 -8
- package/dist/chunks/{persistent-pty-veqvce7d.js → variant-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-9bd6ejq3.js → variant-vfvegtrt.js} +17 -17
- package/dist/chunks/{persistent-pty-arn7aakd.js → variant-vhk0jjay.js} +4 -4
- package/dist/chunks/{persistent-pty-dxwsbt71.js → variant-vms99gx2.js} +6 -6
- package/dist/chunks/{persistent-pty-0sez9328.js → variant-vnk7j1ms.js} +11 -11
- package/dist/chunks/{persistent-pty-ch2k8h83.js → variant-vrc7s6sw.js} +13 -13
- package/dist/chunks/{persistent-pty-sc360z45.js → variant-vv8y31wj.js} +12 -12
- package/dist/chunks/{persistent-pty-vzs5sf6e.js → variant-vzs5sf6e.js} +1 -1
- package/dist/chunks/{persistent-pty-k7110n80.js → variant-w0033jfm.js} +15 -15
- package/dist/chunks/{persistent-pty-w19d8598.js → variant-w19d8598.js} +1 -1
- package/dist/chunks/{persistent-pty-1y9xp183.js → variant-w1d288hs.js} +11 -11
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-xqg5y7pg.js → variant-w8pj8qhp.js} +26 -26
- package/dist/chunks/{persistent-pty-zq6stcrg.js → variant-was7srj9.js} +5 -5
- package/dist/chunks/{persistent-pty-wd87259q.js → variant-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-wv396vej.js → variant-wv396vej.js} +1 -1
- package/dist/chunks/{persistent-pty-86551w19.js → variant-wyec3xap.js} +3 -3
- package/dist/chunks/{persistent-pty-hycxdhqj.js → variant-wzgtrbaw.js} +5 -5
- package/dist/chunks/{persistent-pty-zn7sg468.js → variant-xfwm1nrf.js} +32 -32
- package/dist/chunks/{persistent-pty-xkntkrq7.js → variant-xkntkrq7.js} +2 -2
- package/dist/chunks/variant-xm1s6dzm.js +507 -0
- package/dist/chunks/{persistent-pty-qxjc9qry.js → variant-xyafkbt0.js} +3 -3
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-9zx59zz6.js → variant-y2dcdtp0.js} +13 -13
- package/dist/chunks/{persistent-pty-ghp14vj3.js → variant-y2j1t95j.js} +16 -16
- package/dist/chunks/{persistent-pty-0bg0bx69.js → variant-y4xh0pmk.js} +5 -5
- package/dist/chunks/{persistent-pty-btbmdjwj.js → variant-y5rf7nzv.js} +4 -4
- package/dist/chunks/{persistent-pty-52m569tx.js → variant-y6hcfz9t.js} +14 -14
- package/dist/chunks/{persistent-pty-gxhb85xm.js → variant-y77dm3c4.js} +25 -25
- package/dist/chunks/{persistent-pty-sx1dxn2r.js → variant-ye8czdsw.js} +25 -25
- package/dist/chunks/{persistent-pty-q0tnsqxz.js → variant-ygtb1s3e.js} +11 -11
- package/dist/chunks/{persistent-pty-cfm5e1qn.js → variant-yj7yjf4r.js} +18 -18
- package/dist/chunks/{persistent-pty-jvwcg364.js → variant-yj81bjva.js} +9 -9
- package/dist/chunks/{persistent-pty-vfyjaks7.js → variant-ynjzq9s0.js} +19 -19
- package/dist/chunks/{persistent-pty-bskkyr8p.js → variant-yrm0szr2.js} +15 -15
- package/dist/chunks/{persistent-pty-vh5e817s.js → variant-z053hk1w.js} +19 -19
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-tf5fdwac.js → variant-zhwjstx1.js} +28 -28
- package/dist/chunks/{persistent-pty-x09jwv3t.js → variant-zpg27evg.js} +18 -18
- package/dist/chunks/{persistent-pty-w8n4d140.js → variant-zpn6vsrm.js} +48 -48
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-5d2g1x8f.js → variant-zr84kw0b.js} +50 -50
- package/dist/chunks/{persistent-pty-7mqrj92y.js → variant-zv2rxc3d.js} +9 -9
- package/dist/chunks/{persistent-pty-hqx0pry0.js → variant-zv5357n6.js} +45 -45
- package/dist/chunks/{persistent-pty-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
- package/dist/chunks/{persistent-pty-qb4zbeaq.js → variant-zxsy4by3.js} +25 -25
- package/dist/chunks/{persistent-pty-1cgges17.js → variant-zy58z06m.js} +9 -9
- package/dist/chunks/{persistent-pty-hdkng2sj.js → variant-zyk1yjk8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- 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 +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 +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 +74 -74
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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/github-copilot.js +95 -95
- 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 +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +114 -114
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +114 -114
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- 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 +114 -114
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- 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 +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- 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 +222 -222
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- 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 +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- 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 +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- 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 +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- 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 +92 -92
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-298ac3tk.js +0 -26
- package/dist/chunks/persistent-pty-7fj5dwt0.js +0 -18
- package/dist/chunks/persistent-pty-fdh5nygw.js +0 -253
- package/dist/chunks/persistent-pty-mkjk8jrs.js +0 -507
- /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-3t0ybcrp.js → variant-3t0ybcrp.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-5qd3pb7m.js → variant-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → variant-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → variant-6q2bdcd1.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-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-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-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-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-z5v4ffb3.js → variant-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → variant-z9919s4g.js} +0 -0
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-9w3q8q8k.js";
|
|
8
|
+
import {
|
|
9
|
+
Event17,
|
|
10
|
+
Service70,
|
|
11
|
+
node74
|
|
12
|
+
} from "./variant-2c6y2vpm.js";
|
|
8
13
|
import {
|
|
9
|
-
Event19,
|
|
10
14
|
Service78,
|
|
11
15
|
node82
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service79,
|
|
15
|
-
node83
|
|
16
|
-
} from "./persistent-pty-29wpv0c5.js";
|
|
16
|
+
} from "./variant-genng97f.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service41,
|
|
19
|
+
node44
|
|
20
|
+
} from "./variant-gfds2h31.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID10,
|
|
23
|
+
Service69,
|
|
24
|
+
node73
|
|
25
|
+
} from "./variant-w8pj8qhp.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./variant-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service68,
|
|
34
|
+
node72
|
|
35
|
+
} from "./variant-27k4znhv.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./variant-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options3,
|
|
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: () => Service34,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
|
+
layer: () => layer13,
|
|
57
|
+
node: () => node38
|
|
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() {
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service34 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options3 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer13 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service78;
|
|
116
|
+
const environment = yield* Service41;
|
|
117
117
|
const bus = yield* Service83;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service69;
|
|
119
|
+
const integration = yield* Service68;
|
|
120
|
+
const credentials = yield* Service70;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID9.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service70, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError4({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service70, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID10.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
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(
|
|
272
|
+
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(Service41, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service34.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured3(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service34,
|
|
536
|
+
layer: layer13(options),
|
|
537
|
+
deps: [node82, node44, node87, node73, node72, node74]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node38 = configured3();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service34, Options3, layer13, configured3, node38, exports_mcp4 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-43a10n5x.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin36,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin36 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin25 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin25 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin36, exports_firecrawl };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-43a10n5x.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-9w3q8q8k.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID11,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event17,
|
|
11
|
+
Service70
|
|
12
|
+
} from "./variant-2c6y2vpm.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-db2wf4at.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID9,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./variant-27k4znhv.js";
|
|
20
20
|
import {
|
|
21
21
|
which2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./variant-qaymkmh1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID8,
|
|
25
|
+
Service67
|
|
26
|
+
} from "./variant-t10yzrjw.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID7
|
|
29
|
+
} from "./variant-e842s4t9.js";
|
|
30
30
|
import {
|
|
31
31
|
iife2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./variant-1kg9ymc8.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./variant-7zjc8zg2.js";
|
|
36
36
|
|
|
37
37
|
// src/plugin/provider/azure.ts
|
|
38
38
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -67,18 +67,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
67
67
|
}));
|
|
68
68
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
69
69
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
70
|
-
function
|
|
70
|
+
function make8(endpoints = {
|
|
71
71
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
72
72
|
management: "https://management.azure.com"
|
|
73
73
|
}) {
|
|
74
74
|
return define({
|
|
75
75
|
id: "opencode.provider.azure",
|
|
76
76
|
effect: Effect.fn(function* (ctx) {
|
|
77
|
-
const configured = yield* configuredSettings2(
|
|
77
|
+
const configured = yield* configuredSettings2(ID8.azure);
|
|
78
78
|
const processes = yield* AppProcess.Service;
|
|
79
79
|
const bus = yield* Service83;
|
|
80
|
-
const credentials = yield*
|
|
81
|
-
const providers = yield*
|
|
80
|
+
const credentials = yield* Service70;
|
|
81
|
+
const providers = yield* Service67;
|
|
82
82
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
83
83
|
const tokens = new Map;
|
|
84
84
|
const resourceIDs = new Map;
|
|
@@ -116,13 +116,13 @@ function make10(endpoints = {
|
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.integration.transform((editor) => {
|
|
118
118
|
editor.method.update({
|
|
119
|
-
integrationID:
|
|
119
|
+
integrationID: ID8.azure,
|
|
120
120
|
method: { type: "key", label: "API key", form: form() }
|
|
121
121
|
});
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID8.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -152,8 +152,8 @@ function make10(endpoints = {
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
|
-
const connection = yield* ctx.integration.connection.active(
|
|
156
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
155
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
156
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID11.make(connection.id)) : undefined;
|
|
157
157
|
return { connection, resource: credentialResource(stored?.value) };
|
|
158
158
|
});
|
|
159
159
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -192,7 +192,7 @@ function make10(endpoints = {
|
|
|
192
192
|
}));
|
|
193
193
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
194
194
|
const connection = loaded.connection;
|
|
195
|
-
const settings = (yield* providers.get(
|
|
195
|
+
const settings = (yield* providers.get(ID8.azure))?.settings;
|
|
196
196
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
197
197
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
198
198
|
if (loaded.connection !== connection)
|
|
@@ -214,11 +214,11 @@ function make10(endpoints = {
|
|
|
214
214
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
215
215
|
if (!found)
|
|
216
216
|
return;
|
|
217
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
217
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID8.azure)))
|
|
218
218
|
return;
|
|
219
219
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
220
220
|
return;
|
|
221
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
221
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID8.azure)?.models.keys() ?? [], (id) => [
|
|
222
222
|
id.toLowerCase(),
|
|
223
223
|
id
|
|
224
224
|
]));
|
|
@@ -231,11 +231,11 @@ function make10(endpoints = {
|
|
|
231
231
|
yield* ctx.model.reload();
|
|
232
232
|
});
|
|
233
233
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
234
|
-
const resourceFor = (provider) => provider.id ===
|
|
234
|
+
const resourceFor = (provider) => provider.id === ID8.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
235
235
|
Object.assign(loaded, yield* load());
|
|
236
236
|
yield* ctx.provider.transform((evt) => {
|
|
237
237
|
for (const item of evt.list()) {
|
|
238
|
-
if (item.provider.id !==
|
|
238
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
239
239
|
continue;
|
|
240
240
|
const resourceName = resourceFor(item.provider);
|
|
241
241
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -250,7 +250,7 @@ function make10(endpoints = {
|
|
|
250
250
|
};
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
const item = evt.get(
|
|
253
|
+
const item = evt.get(ID8.azure);
|
|
254
254
|
if (!item)
|
|
255
255
|
return;
|
|
256
256
|
evt.add({
|
|
@@ -261,7 +261,7 @@ function make10(endpoints = {
|
|
|
261
261
|
});
|
|
262
262
|
yield* ctx.model.transform((models) => {
|
|
263
263
|
for (const item of models.provider.list()) {
|
|
264
|
-
if (item.provider.id !==
|
|
264
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
265
265
|
continue;
|
|
266
266
|
const resourceName = resourceFor(item.provider);
|
|
267
267
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -273,20 +273,20 @@ function make10(endpoints = {
|
|
|
273
273
|
}
|
|
274
274
|
if (!loaded.deployments)
|
|
275
275
|
return;
|
|
276
|
-
const catalog = models.list(
|
|
276
|
+
const catalog = models.list(ID8.azure);
|
|
277
277
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
278
278
|
for (const model of catalog) {
|
|
279
279
|
if (!deployed.has(model.id))
|
|
280
|
-
models.remove(
|
|
280
|
+
models.remove(ID8.azure, model.id);
|
|
281
281
|
}
|
|
282
282
|
for (const [id, model] of deployed) {
|
|
283
|
-
models.update(
|
|
283
|
+
models.update(ID8.azure, id, (draft) => Object.assign(draft, model));
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
|
-
yield* bus.subscribe(
|
|
286
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
287
287
|
yield* refresh().pipe(Effect.forkScoped);
|
|
288
288
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
289
|
-
const connection = yield* ctx.integration.connection.active(
|
|
289
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
290
290
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
291
291
|
return;
|
|
292
292
|
})) : undefined;
|
|
@@ -298,7 +298,7 @@ function make10(endpoints = {
|
|
|
298
298
|
return `Bearer ${current.access}`;
|
|
299
299
|
});
|
|
300
300
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
301
|
-
if (evt.model.providerID !==
|
|
301
|
+
if (evt.model.providerID !== ID8.azure)
|
|
302
302
|
return;
|
|
303
303
|
const authorization = yield* bearer(evt.request.url);
|
|
304
304
|
if (!authorization)
|
|
@@ -307,9 +307,9 @@ function make10(endpoints = {
|
|
|
307
307
|
evt.request.headers.delete("x-api-key");
|
|
308
308
|
evt.request.headers.set("authorization", authorization);
|
|
309
309
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
310
|
-
}), { providerID:
|
|
310
|
+
}), { providerID: ID8.azure });
|
|
311
311
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
312
|
-
if (evt.model.providerID !==
|
|
312
|
+
if (evt.model.providerID !== ID8.azure)
|
|
313
313
|
return;
|
|
314
314
|
const authorization = yield* bearer(evt.url);
|
|
315
315
|
if (!authorization)
|
|
@@ -318,11 +318,11 @@ function make10(endpoints = {
|
|
|
318
318
|
delete evt.headers["x-api-key"];
|
|
319
319
|
evt.headers.authorization = authorization;
|
|
320
320
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
321
|
-
}), { providerID:
|
|
321
|
+
}), { providerID: ID8.azure });
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
var AzurePlugin2 =
|
|
325
|
+
var AzurePlugin2 = make8();
|
|
326
326
|
function resolveResourceName(settings, fallback) {
|
|
327
327
|
const configured = settings?.resourceName;
|
|
328
328
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
|
|
|
352
352
|
const model = catalogModel(models, deployment);
|
|
353
353
|
if (!model)
|
|
354
354
|
return [];
|
|
355
|
-
const id =
|
|
355
|
+
const id = ID7.make(deployment.name.toLowerCase());
|
|
356
356
|
const info = {
|
|
357
357
|
...structuredClone(model),
|
|
358
358
|
id,
|
|
359
|
-
modelID:
|
|
359
|
+
modelID: ID7.make(deployment.name),
|
|
360
360
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
361
361
|
};
|
|
362
362
|
return [[id, info]];
|
|
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
378
378
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
export {
|
|
381
|
+
export { make8, AzurePlugin2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-9w3q8q8k.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./variant-genng97f.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service46,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node50
|
|
13
|
+
} from "./variant-z053hk1w.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./variant-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./variant-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
24
|
CreateInput: () => CreateInput2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event3,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
27
|
ID: () => ID2,
|
|
28
28
|
Info: () => Info2,
|
|
29
|
-
NotFoundError: () =>
|
|
29
|
+
NotFoundError: () => NotFoundError3,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service17,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node19
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
@@ -44,7 +44,7 @@ var Info2 = Pty.Info;
|
|
|
44
44
|
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
47
|
+
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
48
|
ptyID: ID2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
@@ -54,12 +54,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service17 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service83;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
61
|
+
const location = yield* Service78;
|
|
62
|
+
const shell = yield* Service46;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service17.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node19 = makeLocationNode({
|
|
273
|
+
service: Service17,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node87,
|
|
275
|
+
deps: [node87, node82, node50]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export { ID2, Info2, CreateInput2, UpdateInput2,
|
|
278
|
+
export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service17, node19, exports_pty, Event3 };
|