@opencode/core 2.0.21 → 2.0.23
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{job-anp1t542.js → generate-01s90evy.js} +24 -24
- package/dist/chunks/{job-hjrhn7sa.js → generate-01vz176c.js} +13 -13
- package/dist/chunks/{job-gd8pphrc.js → generate-02hj8zpc.js} +1 -1
- package/dist/chunks/{job-1ddmwb72.js → generate-067vzkwc.js} +13 -13
- package/dist/chunks/{job-cezb84g9.js → generate-06wny47j.js} +170 -164
- package/dist/chunks/{job-awtsf2hr.js → generate-0at0q6bk.js} +6 -6
- package/dist/chunks/generate-0j77ygfz.js +25 -0
- package/dist/chunks/{job-vz4zcjem.js → generate-0n25afzx.js} +5 -5
- package/dist/chunks/{job-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-w85vjd23.js → generate-0q2zy8rk.js} +27 -27
- package/dist/chunks/{job-gv6a8nnw.js → generate-0vbcp93d.js} +2 -2
- package/dist/chunks/{job-35hkzk16.js → generate-0z57cqh9.js} +7 -7
- package/dist/chunks/{job-jeerxax2.js → generate-14qr745v.js} +20 -20
- package/dist/chunks/{job-wpv4xhp3.js → generate-14vr5qa8.js} +26 -15
- package/dist/chunks/{job-pgw42aqy.js → generate-1ader487.js} +8 -8
- package/dist/chunks/{job-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
- package/dist/chunks/{job-94ek1h2f.js → generate-1dvck2a7.js} +2 -2
- package/dist/chunks/{job-80nn28cp.js → generate-1fs3aa3n.js} +11 -11
- package/dist/chunks/{job-73n25p0e.js → generate-1vsafbzv.js} +10 -10
- package/dist/chunks/{job-mfqp6xfm.js → generate-1ygqh575.js} +6 -6
- package/dist/chunks/{job-w6ebfasv.js → generate-1z18ck0n.js} +9 -9
- package/dist/chunks/{job-vdpw8b0t.js → generate-21tjqxxf.js} +11 -11
- package/dist/chunks/{job-jzxd5mvh.js → generate-29x9jy0f.js} +29 -29
- package/dist/chunks/{job-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-yrznvahk.js → generate-2ccvkpx1.js} +2 -2
- package/dist/chunks/{job-2zhq2a85.js → generate-2pcsyv91.js} +48 -48
- package/dist/chunks/{job-hpg6w38n.js → generate-330q9b0x.js} +33 -37
- package/dist/chunks/{job-2h8w1cfj.js → generate-34bnvpfh.js} +26 -26
- package/dist/chunks/{job-230c54mq.js → generate-34manr0f.js} +12 -12
- package/dist/chunks/{job-w4cz4w8n.js → generate-39k0hmda.js} +2 -2
- package/dist/chunks/{job-amzxah2v.js → generate-3dgfh0cr.js} +39 -39
- package/dist/chunks/{job-5svcwqmc.js → generate-3edgjjmd.js} +55 -30
- package/dist/chunks/{job-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{job-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-rb7cysfw.js → generate-3j10s7ay.js} +9 -9
- package/dist/chunks/{job-a98nbm3g.js → generate-3q48ekr2.js} +16 -16
- package/dist/chunks/{job-tdhe5xga.js → generate-3rd28rcz.js} +11 -11
- package/dist/chunks/{job-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-sk3qaz4a.js → generate-3t0ybcrp.js} +58 -20
- package/dist/chunks/{job-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-7hxgqze9.js → generate-3x5f6s31.js} +61 -83
- package/dist/chunks/{job-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
- package/dist/chunks/{job-deaeaxqh.js → generate-435eggbz.js} +11 -11
- package/dist/chunks/{job-ecfe7b91.js → generate-4eax54pa.js} +6 -3
- package/dist/chunks/{job-z8bzfx2e.js → generate-4kfhygng.js} +37 -37
- package/dist/chunks/{job-ntgtekfh.js → generate-4ntq7m4z.js} +22 -22
- package/dist/chunks/{job-pzvyvyg4.js → generate-529vcnym.js} +17 -19
- package/dist/chunks/{job-54ma36ye.js → generate-54ma36ye.js} +1 -1
- package/dist/chunks/{job-57b9ws8p.js → generate-57b9ws8p.js} +1 -1
- package/dist/chunks/{job-5daktx2q.js → generate-5daktx2q.js} +1 -1
- package/dist/chunks/{job-bg585zsx.js → generate-5kp03ppx.js} +12 -12
- package/dist/chunks/{job-vmgq4x8b.js → generate-5pyjqqve.js} +2 -2
- package/dist/chunks/{job-9gspbefy.js → generate-5swqfww9.js} +52 -26
- package/dist/chunks/{job-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
- package/dist/chunks/{job-ggxahnyx.js → generate-5txw87z1.js} +8 -8
- package/dist/chunks/{job-ynzdndxd.js → generate-5tznt6k3.js} +20 -20
- package/dist/chunks/{job-3vy408b5.js → generate-5v5aasd4.js} +21 -21
- package/dist/chunks/{job-pxz4gc4z.js → generate-5yzz6hd1.js} +24 -132
- package/dist/chunks/{job-dydyxn0c.js → generate-61fzh3cq.js} +8 -8
- package/dist/chunks/{job-669tq793.js → generate-669tq793.js} +1 -1
- package/dist/chunks/{job-h6zqkqnm.js → generate-6cjqe6sy.js} +28 -27
- package/dist/chunks/{job-mjymc32g.js → generate-6m42r3np.js} +21 -21
- package/dist/chunks/{job-4tn3p6ay.js → generate-6nv25w3f.js} +30 -30
- package/dist/chunks/{job-dx8qg5g2.js → generate-6p2526mp.js} +11 -11
- package/dist/chunks/{job-d7semmcg.js → generate-6ywhdf6k.js} +24 -24
- package/dist/chunks/{job-vsq07z0a.js → generate-6zp854ra.js} +3 -3
- package/dist/chunks/{job-ckecvw8r.js → generate-71az546q.js} +2 -2
- package/dist/chunks/{job-73tb2d7t.js → generate-73tb2d7t.js} +1 -1
- package/dist/chunks/{job-kmyvrf53.js → generate-782xyd0k.js} +8 -8
- package/dist/chunks/{job-kgchvb5g.js → generate-7bftgs18.js} +4 -4
- package/dist/chunks/{job-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-fcrkznn8.js → generate-7dqw4kz8.js} +5 -5
- package/dist/chunks/{job-hy1na680.js → generate-7keeseff.js} +11 -11
- package/dist/chunks/{job-dah7mteb.js → generate-7naq09xc.js} +20 -20
- package/dist/chunks/{job-00x4qneg.js → generate-7s2tn799.js} +8 -8
- package/dist/chunks/{job-94m5kbhr.js → generate-7xf5yptx.js} +19 -19
- package/dist/chunks/{job-gfctbcth.js → generate-81f48a1k.js} +10 -10
- package/dist/chunks/{job-3r704csb.js → generate-823qfcak.js} +1 -1
- package/dist/chunks/{job-pema4mtg.js → generate-82czg0r8.js} +9 -9
- package/dist/chunks/{job-84txncab.js → generate-84txncab.js} +1 -1
- package/dist/chunks/{job-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
- package/dist/chunks/{job-27msewjz.js → generate-8f9gr54c.js} +11 -11
- package/dist/chunks/{job-kfcwqfca.js → generate-8mnpn7jw.js} +49 -49
- package/dist/chunks/{job-0wjxfcep.js → generate-8zvk0rgz.js} +24 -24
- package/dist/chunks/{job-vf68ak62.js → generate-94jj38jg.js} +32 -23
- package/dist/chunks/{job-z07pqspn.js → generate-9e5bzkjp.js} +3 -3
- package/dist/chunks/{job-fnsgkk5v.js → generate-9pvxkkw3.js} +24 -24
- package/dist/chunks/{job-2zp87bs7.js → generate-9pwf6adz.js} +25 -25
- package/dist/chunks/{job-bz7b5t1b.js → generate-9sy6gwjh.js} +12 -6
- package/dist/chunks/{job-aaet6srn.js → generate-aaet6srn.js} +2 -2
- package/dist/chunks/{job-mpk0rfs5.js → generate-addxnjmp.js} +4 -4
- package/dist/chunks/{job-6j9mr40r.js → generate-aer73x3z.js} +15 -15
- package/dist/chunks/{job-e7e40j07.js → generate-afv7vh30.js} +18 -18
- package/dist/chunks/{job-372g89p4.js → generate-ajmxk7z2.js} +23 -24
- package/dist/chunks/{job-c1vmsse5.js → generate-an75rhmh.js} +18 -18
- package/dist/chunks/{job-v6jt2rw3.js → generate-aqdbyk8h.js} +3 -3
- package/dist/chunks/{job-ydesmw24.js → generate-arb3wnqs.js} +8 -8
- package/dist/chunks/{job-3mft5zsr.js → generate-atz6g77g.js} +21 -21
- package/dist/chunks/{job-sxz6gkc3.js → generate-b27vhd2z.js} +7 -7
- package/dist/chunks/{job-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-7z3v8smk.js → generate-b9rmm35c.js} +10 -10
- package/dist/chunks/{job-21zzzqpe.js → generate-bepbq8jj.js} +15 -15
- package/dist/chunks/{job-8d0p2m37.js → generate-bh5cssh3.js} +6 -6
- package/dist/chunks/{job-x7n7fr05.js → generate-bkrwt1n9.js} +24 -24
- package/dist/chunks/{job-wtmkasd2.js → generate-bp27thah.js} +10 -10
- package/dist/chunks/{job-bype3acy.js → generate-bq4mvesw.js} +32 -32
- package/dist/chunks/{job-kp8q1t60.js → generate-bydnjh3t.js} +8 -8
- package/dist/chunks/{job-a4k5rsdw.js → generate-bzqyrf6j.js} +20 -20
- package/dist/chunks/{job-v6gb7zv2.js → generate-cdm0dq9n.js} +6 -6
- package/dist/chunks/{job-my8d63dw.js → generate-cj02erkw.js} +6 -6
- package/dist/chunks/{job-czfptnv9.js → generate-cmwkp3r5.js} +6 -6
- package/dist/chunks/{job-ed8ee58a.js → generate-d2eqb18p.js} +4 -4
- package/dist/chunks/{job-3wtv6kz3.js → generate-dfc208d8.js} +32 -32
- package/dist/chunks/{job-y71avatq.js → generate-dpkg50ah.js} +4 -4
- package/dist/chunks/{job-vmzrcmtw.js → generate-dwxaxj0c.js} +9 -9
- package/dist/chunks/{job-c3c0cf95.js → generate-e0ne0z26.js} +85 -85
- package/dist/chunks/{job-5qd3pb7m.js → generate-e3qxr5gk.js} +2 -2
- package/dist/chunks/{job-jv8zx4t6.js → generate-ee09rdq3.js} +322 -322
- package/dist/chunks/{job-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{job-dyndan9x.js → generate-ejbv3g31.js} +18 -8
- package/dist/chunks/{job-srtvgg2d.js → generate-ejg73w2g.js} +6 -6
- package/dist/chunks/{job-wy2r7fzd.js → generate-eqfn0pk5.js} +33 -38
- package/dist/chunks/{job-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
- package/dist/chunks/{job-bd4hr4wh.js → generate-evhyysd2.js} +33 -33
- package/dist/chunks/{job-dymtghw6.js → generate-exjwxjfq.js} +18 -18
- package/dist/chunks/{job-f50vaec3.js → generate-f5k9xycy.js} +24 -24
- package/dist/chunks/{job-5k4xw9x6.js → generate-fep41vc5.js} +20 -20
- package/dist/chunks/{job-jy3q8cv1.js → generate-ffxkc1dx.js} +13 -13
- package/dist/chunks/{job-2dre8qhb.js → generate-fjh44twp.js} +18 -7
- package/dist/chunks/{job-2ydcz6pr.js → generate-g2xfdbz5.js} +14 -14
- package/dist/chunks/{job-ypqa2cd5.js → generate-g9c3k2sz.js} +32 -40
- package/dist/chunks/{job-97h51v5t.js → generate-gcxxm8yg.js} +39 -27
- package/dist/chunks/{job-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-p2scykdn.js → generate-gej6rn0s.js} +15 -15
- package/dist/chunks/{job-nq7qbqzc.js → generate-gh5z95q3.js} +9 -9
- package/dist/chunks/{job-ab1ys2yh.js → generate-gjv38h0k.js} +20 -24
- package/dist/chunks/{job-2b6sywcb.js → generate-gk28ph79.js} +10 -10
- package/dist/chunks/{job-krfw28kg.js → generate-gknnw9w7.js} +60 -40
- package/dist/chunks/{job-zr3nw1y0.js → generate-gra2jmjd.js} +5 -5
- package/dist/chunks/{job-hk6cjtaz.js → generate-gtvea8z9.js} +5 -5
- package/dist/chunks/{job-wtj8vade.js → generate-gya1c0vy.js} +3 -3
- package/dist/chunks/{job-wd3x2cqz.js → generate-h2b79v29.js} +2 -2
- package/dist/chunks/{job-vfjhn2wd.js → generate-h6310vsd.js} +4 -4
- package/dist/chunks/{job-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-v54cehp4.js → generate-h7aewrw9.js} +51 -51
- package/dist/chunks/{job-pt0meat3.js → generate-h9jzhyk0.js} +11 -11
- package/dist/chunks/{job-f29mbr7f.js → generate-h9wp8z5w.js} +4 -4
- package/dist/chunks/{job-2p623br6.js → generate-hbyhqfhs.js} +5 -5
- package/dist/chunks/{job-n7zyc71s.js → generate-hn4yapt1.js} +52 -46
- package/dist/chunks/{job-n8v4y01d.js → generate-hrs38e71.js} +24 -24
- package/dist/chunks/{job-7f5ge08c.js → generate-hyxvh71r.js} +43 -43
- package/dist/chunks/{job-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{job-s2yhstx6.js → generate-j7vp94m4.js} +19 -19
- package/dist/chunks/{job-95f1p06x.js → generate-jb9mn43j.js} +22 -22
- package/dist/chunks/{job-9wcym3xz.js → generate-jjw1xd6n.js} +10 -10
- package/dist/chunks/{job-pyez88hg.js → generate-jmdp6qyf.js} +33 -33
- package/dist/chunks/{job-b4st347k.js → generate-jpep6vf5.js} +3 -3
- package/dist/chunks/{job-xgdw0hys.js → generate-jrw39j1g.js} +14 -9
- package/dist/chunks/{job-brsymgq7.js → generate-k1qrnqst.js} +8 -8
- package/dist/chunks/{job-24ncmqw9.js → generate-k5tx4xwh.js} +15 -15
- package/dist/chunks/{job-pc4b88sv.js → generate-kb6gw2zp.js} +4 -4
- package/dist/chunks/{job-wt6bjq2d.js → generate-kkndcpqr.js} +4 -4
- package/dist/chunks/{job-rc8j1xt1.js → generate-kygz6673.js} +5 -5
- package/dist/chunks/{job-d1a9hefb.js → generate-m26jacn4.js} +12 -12
- package/dist/chunks/{job-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
- package/dist/chunks/{job-ma9c1wd2.js → generate-m4b4ezfy.js} +14 -14
- package/dist/chunks/{job-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-dq0v80fr.js → generate-mjqndqed.js} +5 -5
- package/dist/chunks/{job-g0tt42na.js → generate-mmy17vwk.js} +7 -7
- package/dist/chunks/{job-gva2p7bf.js → generate-mt68kget.js} +26 -26
- package/dist/chunks/generate-mzmyqq3a.js +253 -0
- package/dist/chunks/{job-2sv4arh8.js → generate-n5gzjg8d.js} +13 -13
- package/dist/chunks/{job-bxfy3ep7.js → generate-n7fmmpds.js} +11 -11
- package/dist/chunks/{job-b9fqpfm8.js → generate-n92tnbgp.js} +3 -3
- package/dist/chunks/{job-k9rsy0a9.js → generate-ntev6yqw.js} +12 -12
- package/dist/chunks/{job-wygg9rvv.js → generate-ntmn2n27.js} +17 -17
- package/dist/chunks/{job-kftb8sdn.js → generate-nwgjszw0.js} +15 -15
- package/dist/chunks/{job-4dyf21mr.js → generate-nyhzf7s9.js} +20 -20
- package/dist/chunks/{job-ykd9stzd.js → generate-nz1ptcx7.js} +12 -12
- package/dist/chunks/{job-1mdp675b.js → generate-p5cm9qbj.js} +19 -9
- package/dist/chunks/{job-2sf5vtpp.js → generate-pd0d3v86.js} +11 -11
- package/dist/chunks/{job-fmzghwgw.js → generate-peckcdzj.js} +13 -13
- package/dist/chunks/{job-bcf9qfhy.js → generate-pfh2gawv.js} +11 -11
- package/dist/chunks/generate-phz3h32g.js +18 -0
- package/dist/chunks/{job-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{job-jk9p3pr1.js → generate-ppcxd43r.js} +14 -14
- package/dist/chunks/{job-5aa0r02j.js → generate-pvkpwa2b.js} +18 -11
- package/dist/chunks/{job-48c763ft.js → generate-pxhak851.js} +6 -6
- package/dist/chunks/{job-t62vap4r.js → generate-q0808tka.js} +5 -5
- package/dist/chunks/{job-pdpyt1kt.js → generate-q0jhbe3n.js} +9 -9
- package/dist/chunks/{job-0tmgye68.js → generate-q0raz0xt.js} +9 -9
- package/dist/chunks/{job-htjw9qza.js → generate-q3ersh05.js} +6 -6
- package/dist/chunks/{job-7t9gt51b.js → generate-qb7y9a6p.js} +13 -13
- package/dist/chunks/{job-8k2kc9ag.js → generate-qbyggmx7.js} +7 -7
- package/dist/chunks/{job-0ptd10ac.js → generate-qgatrawj.js} +11 -11
- package/dist/chunks/{job-rey5gbxv.js → generate-qmqgtz8f.js} +9 -9
- package/dist/chunks/{job-6msgmcgs.js → generate-qnc92qwc.js} +1 -1
- package/dist/chunks/{job-egadbg92.js → generate-qq54afgs.js} +13 -13
- package/dist/chunks/{job-y083drbn.js → generate-qs9jyzer.js} +5 -5
- package/dist/chunks/{job-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{job-qwjmgwmn.js → generate-qwjmgwmn.js} +1 -1
- package/dist/chunks/{job-nzks3jc8.js → generate-qxjc9qry.js} +4 -4
- package/dist/chunks/{job-x5y9z3y2.js → generate-r7pm0y1x.js} +24 -24
- package/dist/chunks/{job-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{job-5cmqbqwp.js → generate-rh2b0agp.js} +15 -15
- package/dist/chunks/{job-c9x0wrsc.js → generate-rpztatg6.js} +16 -16
- package/dist/chunks/{job-qp7xcb4s.js → generate-rv4s02rg.js} +15 -15
- package/dist/chunks/{job-2erysbps.js → generate-s3pcx2b8.js} +10 -10
- package/dist/chunks/{job-rhjbct0v.js → generate-s8d7rejh.js} +4 -4
- package/dist/chunks/{job-xvp1j2dc.js → generate-scgrse2b.js} +11 -6
- package/dist/chunks/{job-c248vghb.js → generate-sgpy7nbp.js} +16 -16
- package/dist/chunks/{job-tbtg7k2g.js → generate-spja3q52.js} +24 -24
- package/dist/chunks/{job-n4szqbm8.js → generate-stnmwbvn.js} +42 -42
- package/dist/chunks/{job-nrk5vjbf.js → generate-t0sqncza.js} +5 -5
- package/dist/chunks/{job-zee1rnkq.js → generate-t2az9yje.js} +4 -4
- package/dist/chunks/{job-f09mb087.js → generate-t3cgces8.js} +40 -40
- package/dist/chunks/{job-8j5tm5td.js → generate-t55xhmjx.js} +32 -32
- package/dist/chunks/{job-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-zayhf9qs.js → generate-tbp0qxg2.js} +26 -26
- package/dist/chunks/generate-tc5sgnzb.js +26 -0
- package/dist/chunks/{job-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
- package/dist/chunks/{job-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{job-4h23kj6w.js → generate-te8w5cgp.js} +13 -13
- package/dist/chunks/{job-5nnetc6k.js → generate-thtzhryg.js} +5 -5
- package/dist/chunks/{job-hp7jr1jp.js → generate-trc3n3qb.js} +15 -15
- package/dist/chunks/{job-57ez7d0k.js → generate-v0es1rhs.js} +5 -5
- package/dist/chunks/{job-rwtjgree.js → generate-v1rqtb9w.js} +16 -16
- package/dist/chunks/{job-msknqe7y.js → generate-v1v20ddn.js} +6 -6
- package/dist/chunks/{job-80scg3y3.js → generate-vbfgae2j.js} +4 -4
- package/dist/chunks/{job-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{job-sgsdap7d.js → generate-vnh00gv4.js} +21 -21
- package/dist/chunks/{job-7h2raa0m.js → generate-vswtd384.js} +15 -15
- package/dist/chunks/{job-5cmxdwv8.js → generate-vx3jgdek.js} +3 -3
- package/dist/chunks/{job-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
- package/dist/chunks/{job-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
- package/dist/chunks/{job-2w5dyyz8.js → generate-w1ad28wa.js} +5 -5
- package/dist/chunks/{job-nxhqveyz.js → generate-w2h15q85.js} +5 -5
- package/dist/chunks/{job-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-a7yhm3z2.js → generate-w8vdqaq3.js} +25 -25
- package/dist/chunks/{job-1p07q0wb.js → generate-w92k2e0p.js} +6 -6
- package/dist/chunks/{job-xp9nh6c1.js → generate-wc2m80g2.js} +39 -50
- package/dist/chunks/{job-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{job-eqrfnj34.js → generate-wdshzat6.js} +40 -17
- package/dist/chunks/{job-79dvcba4.js → generate-wg7dvnk1.js} +84 -84
- package/dist/chunks/{job-7mx9kf16.js → generate-wj2bx7an.js} +11 -11
- package/dist/chunks/{job-bnc1xqpd.js → generate-wrp5ry2f.js} +15 -15
- package/dist/chunks/{job-8pwpezbf.js → generate-x0y04rr6.js} +24 -24
- package/dist/chunks/{job-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-81z9xrjy.js → generate-x4csn5yb.js} +19 -19
- package/dist/chunks/{job-vk5bz9xj.js → generate-xer3snnb.js} +8 -8
- package/dist/chunks/{job-tq0ersfe.js → generate-xf4rrgwy.js} +24 -24
- package/dist/chunks/{job-bxzpjmy4.js → generate-xgaq9ax1.js} +20 -21
- package/dist/chunks/{job-xkntkrq7.js → generate-xkntkrq7.js} +2 -2
- package/dist/chunks/{job-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-wm3q5ckg.js → generate-y5pnfqkr.js} +20 -20
- package/dist/chunks/{job-321mahy6.js → generate-y8zbdhhn.js} +34 -34
- package/dist/chunks/{job-txbrvd03.js → generate-yfxkm5w6.js} +68 -52
- package/dist/chunks/{job-frdvpnjn.js → generate-yhecr6n4.js} +5 -5
- package/dist/chunks/{job-r8xr0va3.js → generate-yp2x3t23.js} +4 -4
- package/dist/chunks/{job-0cmgxwc3.js → generate-ywacswhv.js} +11 -11
- package/dist/chunks/{job-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-dncx4ycs.js → generate-z15fp2pm.js} +5 -5
- package/dist/chunks/{job-2jb1f61f.js → generate-z32f8zps.js} +9 -9
- package/dist/chunks/{job-dr2s0fjn.js → generate-z3507kbh.js} +15 -15
- package/dist/chunks/{job-qje3r2wc.js → generate-z3ra53tp.js} +3 -3
- package/dist/chunks/{job-922hggd3.js → generate-z5v4ffb3.js} +1 -11
- package/dist/chunks/{job-x01dckpp.js → generate-z872cvkj.js} +20 -20
- package/dist/chunks/{job-vdqv4tww.js → generate-z8hrkqzq.js} +4 -4
- package/dist/chunks/{job-j543e7zy.js → generate-ze7rj9cq.js} +11 -11
- package/dist/chunks/{job-mvksx64m.js → generate-zfs8ae4p.js} +4 -4
- package/dist/chunks/{job-qn4ba14w.js → generate-zmr78fwr.js} +5 -5
- package/dist/chunks/{job-rk1r2hx8.js → generate-znsx74x0.js} +1 -1
- package/dist/chunks/generate-zp2fsh7c.js +381 -0
- package/dist/chunks/{job-mn6n0y1n.js → generate-zpzjyv2k.js} +16 -16
- package/dist/chunks/{job-mjphe00w.js → generate-zq24ypn2.js} +30 -30
- package/dist/chunks/{job-m0p8cpk7.js → generate-zqkxpfgh.js} +69 -69
- package/dist/chunks/{job-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{job-bx0gng0c.js → generate-zwhxpsnh.js} +17 -17
- package/dist/chunks/{job-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- 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 +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -106
- package/dist/config/plugin/agent.js +118 -125
- package/dist/config/plugin/command.js +207 -215
- package/dist/config/plugin/compaction.js +154 -161
- package/dist/config/plugin/compatibility.js +134 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -124
- package/dist/config/plugin/image.js +116 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -123
- package/dist/config/plugin/mcp.js +125 -132
- package/dist/config/plugin/policy.js +117 -124
- package/dist/config/plugin/provider.js +116 -123
- package/dist/config/plugin/reference.js +118 -125
- package/dist/config/plugin/shell.js +116 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -144
- package/dist/config/plugin/snapshot.js +116 -123
- package/dist/config/plugin/source.js +119 -126
- package/dist/config/plugin/tool-output.js +117 -125
- package/dist/config/plugin/websearch.js +115 -122
- package/dist/config/plugin/worktree.js +118 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- 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 -372
- 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 +214 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -104
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- 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 +18 -20
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -363
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -360
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +137 -106
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -98
- package/dist/models-dev.js +107 -107
- 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 +3 -1
- package/dist/persistent-pty/binary.node.js +2 -0
- package/dist/persistent-pty/binary.workerd.js +2 -0
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -81
- 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 +102 -102
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +213 -221
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +326 -335
- 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 +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 +118 -123
- 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 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -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 +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 +115 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -95
- 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 -122
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -163
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- 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 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +214 -222
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +104 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- 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 +2 -4
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -222
- package/dist/session/execution.js +127 -128
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -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 -93
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -232
- 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 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -170
- package/dist/session/shell.js +130 -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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +114 -112
- package/dist/session/transfer.js +207 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -219
- 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 +15 -15
- package/dist/shell.js +132 -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 +93 -93
- 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 +126 -126
- 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 +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -216
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +210 -218
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +9 -8
- package/dist/tool.js +14 -14
- package/dist/types/agent.d.ts +2 -1
- package/dist/types/filesystem.d.ts +15 -1
- package/dist/types/github-copilot/copilot-provider.d.ts +0 -1
- package/dist/types/instance/service.d.ts +2 -2
- package/dist/types/instance.d.ts +3 -3
- package/dist/types/job.d.ts +1 -1
- package/dist/types/location-service-map.d.ts +3 -3
- package/dist/types/mcp/client.d.ts +2 -2
- package/dist/types/model-resolver.d.ts +2 -2
- package/dist/types/model.d.ts +6 -0
- package/dist/types/persistent-pty/binary.bun.d.ts +1 -0
- package/dist/types/persistent-pty/binary.node.d.ts +1 -0
- package/dist/types/persistent-pty/binary.workerd.d.ts +1 -0
- package/dist/types/persistent-pty/daemon.d.ts +4 -4
- package/dist/types/persistent-pty/index.d.ts +3 -0
- package/dist/types/plugin/internal.d.ts +1 -1
- package/dist/types/plugin/provider/azure.d.ts +7 -1
- package/dist/types/plugin/supervisor.d.ts +1 -1
- package/dist/types/provider.d.ts +19 -5
- package/dist/types/schema.d.ts +0 -21
- package/dist/types/session/command.d.ts +1 -1
- package/dist/types/session/compaction.d.ts +4 -1
- package/dist/types/session/diff.d.ts +2 -2
- package/dist/types/session/generate.d.ts +3 -2
- package/dist/types/session/model-transport.d.ts +1 -1
- package/dist/types/session/prompt.d.ts +1 -1
- package/dist/types/session/revert.d.ts +2 -3
- package/dist/types/session/runner/index.d.ts +2 -1
- package/dist/types/session/session.d.ts +5 -5
- package/dist/types/session/shell.d.ts +1 -1
- package/dist/types/session/skill.d.ts +1 -1
- package/dist/types/session/to-session-error.d.ts +2 -0
- package/dist/types/session/transfer.d.ts +2 -3
- package/dist/types/session.d.ts +5 -4
- package/dist/types/tool-output.d.ts +1 -0
- package/dist/types/v1/config/error.d.ts +48 -1433
- package/dist/types/v1/config/migrate.d.ts +15 -318
- package/dist/types/vcs.d.ts +6 -0
- package/dist/types/worktree.d.ts +2 -1
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +5 -13
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +96 -96
- package/dist/v1/config/permission.js +7 -7
- 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 +91 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +10 -11
- package/dist/chunks/job-00z3vp5f.js +0 -21
- package/dist/chunks/job-21r38tys.js +0 -14
- package/dist/chunks/job-23pqda6t.js +0 -84
- package/dist/chunks/job-3e147rt9.js +0 -21
- package/dist/chunks/job-3v8rp85y.js +0 -252
- package/dist/chunks/job-8db6vkjt.js +0 -223
- package/dist/chunks/job-8dbeyrdc.js +0 -26
- package/dist/chunks/job-ht5y0zrb.js +0 -18
- package/dist/chunks/job-jmvgh3qv.js +0 -194
- package/dist/chunks/job-tn0aqsam.js +0 -34
- package/dist/chunks/job-tvtrv512.js +0 -51
- package/dist/chunks/job-yrhqyw5v.js +0 -15
- package/dist/chunks/job-z63w68vq.js +0 -46
- package/dist/chunks/job-zeh9ct20.js +0 -29
- package/dist/filesystem/ignore.js +0 -58
- package/dist/id/id.js +0 -14
- package/dist/plugin/provider/venice.js +0 -7
- package/dist/types/filesystem/ignore.d.ts +0 -2
- package/dist/types/id/id.d.ts +0 -19
- package/dist/types/plugin/provider/venice.d.ts +0 -1
- package/dist/types/util/identifier.d.ts +0 -1
- package/dist/types/v1/config/attachment.d.ts +0 -18
- package/dist/types/v1/config/config.d.ts +0 -1243
- package/dist/types/v1/config/formatter.d.ts +0 -15
- package/dist/types/v1/config/layout.d.ts +0 -4
- package/dist/types/v1/config/lsp.d.ts +0 -38
- package/dist/types/v1/config/server.d.ts +0 -10
- package/dist/types/v1/config/skills.d.ts +0 -7
- package/dist/types/v1/permission.d.ts +0 -27
- package/dist/util/identifier.js +0 -5
- package/dist/v1/config/attachment.js +0 -11
- package/dist/v1/config/config.js +0 -23
- package/dist/v1/config/formatter.js +0 -10
- package/dist/v1/config/layout.js +0 -8
- package/dist/v1/config/lsp.js +0 -16
- package/dist/v1/config/server.js +0 -9
- package/dist/v1/config/skills.js +0 -8
- package/dist/v1/permission.js +0 -51
- /package/dist/chunks/{job-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-34c7v6d4.js → generate-34c7v6d4.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/persistent-pty/daemon.ts
|
|
2
2
|
import { spawn } from "node:child_process";
|
|
3
|
-
import { readFile } from "node:fs/promises";
|
|
3
|
+
import { mkdir, readFile, rename } from "node:fs/promises";
|
|
4
4
|
import net from "node:net";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import { Data, Duration, Effect, Schema, Semaphore } from "effect";
|
|
6
|
+
import { Cause, Data, Duration, Effect, Schema, Semaphore } from "effect";
|
|
7
7
|
var ProtocolVersion = 7;
|
|
8
8
|
var MaxFrameBytes = 8 * 1024 * 1024;
|
|
9
9
|
var Lifecycle = Schema.Union([
|
|
@@ -94,8 +94,9 @@ var WireResponse2 = Schema.Union([
|
|
|
94
94
|
|
|
95
95
|
class DaemonError2 extends Data.TaggedError("PersistentPty.DaemonError") {
|
|
96
96
|
}
|
|
97
|
-
var makeDaemonTransport2 = Effect.fn("PersistentPty.makeDaemonTransport")(function* (
|
|
97
|
+
var makeDaemonTransport2 = Effect.fn("PersistentPty.makeDaemonTransport")(function* (root, initialID, binary = () => Promise.resolve(process.env.OPENCODE_PTY_BIN || "opencode-pty"), inherited) {
|
|
98
98
|
const startup = Semaphore.makeUnsafe(1);
|
|
99
|
+
let id = initialID;
|
|
99
100
|
let registration;
|
|
100
101
|
let owner;
|
|
101
102
|
let closed = false;
|
|
@@ -124,7 +125,7 @@ var makeDaemonTransport2 = Effect.fn("PersistentPty.makeDaemonTransport")(functi
|
|
|
124
125
|
duration: Duration.seconds(5),
|
|
125
126
|
orElse: () => Effect.fail(new DaemonError2({ kind: "connect", message: "PTY ownership claim timed out" }))
|
|
126
127
|
}));
|
|
127
|
-
const discover = Effect.fn("PersistentPty.daemon.discover")(function* () {
|
|
128
|
+
const discover = Effect.fn("PersistentPty.daemon.discover")(function* (directory = path.join(root, id)) {
|
|
128
129
|
const value = yield* Effect.tryPromise({
|
|
129
130
|
try: () => readFile(path.join(directory, "service.json"), "utf8"),
|
|
130
131
|
catch: (cause) => failure("connect", cause)
|
|
@@ -141,15 +142,11 @@ var makeDaemonTransport2 = Effect.fn("PersistentPty.makeDaemonTransport")(functi
|
|
|
141
142
|
return yield* Effect.fail(new DaemonError2({ kind: "protocol", message: "opencode-pty registration mismatch" }));
|
|
142
143
|
return decoded;
|
|
143
144
|
});
|
|
144
|
-
const
|
|
145
|
+
const spawnDaemon = Effect.fn("PersistentPty.daemon.spawn")(function* () {
|
|
145
146
|
const executable = yield* Effect.tryPromise({ try: binary, catch: (cause) => failure("spawn", cause) });
|
|
146
147
|
const child = yield* Effect.tryPromise({
|
|
147
148
|
try: () => new Promise((resolve, reject) => {
|
|
148
|
-
const child = spawn(executable, ["daemon"], {
|
|
149
|
-
detached: true,
|
|
150
|
-
stdio: "ignore",
|
|
151
|
-
env: { ...process.env, OPENCODE_PTY_RUNTIME_DIR: directory }
|
|
152
|
-
});
|
|
149
|
+
const child = spawn(executable, ["daemon", "--runtime-dir", root, "--name", id], { detached: true, windowsHide: true, stdio: "ignore" });
|
|
153
150
|
child.once("spawn", () => {
|
|
154
151
|
child.unref();
|
|
155
152
|
resolve(child);
|
|
@@ -161,7 +158,7 @@ var makeDaemonTransport2 = Effect.fn("PersistentPty.makeDaemonTransport")(functi
|
|
|
161
158
|
return yield* Effect.gen(function* () {
|
|
162
159
|
const deadline = Date.now() + 5000;
|
|
163
160
|
let last;
|
|
164
|
-
while (Date.now() < deadline) {
|
|
161
|
+
while (Date.now() < deadline && child.exitCode === null && child.signalCode === null) {
|
|
165
162
|
const found = yield* discover().pipe(Effect.map((value) => ({ value })), Effect.catch((error) => {
|
|
166
163
|
last = error;
|
|
167
164
|
return Effect.succeed(undefined);
|
|
@@ -177,6 +174,17 @@ var makeDaemonTransport2 = Effect.fn("PersistentPty.makeDaemonTransport")(functi
|
|
|
177
174
|
child.kill("SIGTERM");
|
|
178
175
|
})));
|
|
179
176
|
});
|
|
177
|
+
const start = () => spawnDaemon().pipe(Effect.catch((error) => Effect.gen(function* () {
|
|
178
|
+
yield* Effect.logWarning("Starting opencode-pty in a fresh runtime directory", { cause: error.message });
|
|
179
|
+
abandon();
|
|
180
|
+
return yield* spawnDaemon();
|
|
181
|
+
})));
|
|
182
|
+
const abandon = () => {
|
|
183
|
+
owner?.socket.destroy();
|
|
184
|
+
owner = undefined;
|
|
185
|
+
registration = undefined;
|
|
186
|
+
id = crypto.randomUUID();
|
|
187
|
+
};
|
|
180
188
|
const connect = Effect.fn("PersistentPty.daemon.connect")(function* (shouldStart) {
|
|
181
189
|
if (closed)
|
|
182
190
|
return yield* Effect.fail(new DaemonError2({ kind: "connect", message: "PTY owner scope is closed" }));
|
|
@@ -245,13 +253,18 @@ var makeDaemonTransport2 = Effect.fn("PersistentPty.makeDaemonTransport")(functi
|
|
|
245
253
|
}));
|
|
246
254
|
if (response.type !== "handoff")
|
|
247
255
|
return yield* Effect.fail(new DaemonError2({ kind: "protocol", message: "Expected PTY handoff ticket" }));
|
|
248
|
-
return {
|
|
256
|
+
return {
|
|
257
|
+
directory: path.join(root, id),
|
|
258
|
+
instanceID: registered.instance_id,
|
|
259
|
+
ticket: response.ticket,
|
|
260
|
+
expiresAt: response.expires_at
|
|
261
|
+
};
|
|
249
262
|
}));
|
|
250
|
-
const subscribe = Effect.fn("PersistentPty.daemon.subscribe")(function* (
|
|
263
|
+
const subscribe = Effect.fn("PersistentPty.daemon.subscribe")(function* (terminalID, input) {
|
|
251
264
|
const attempt = Effect.gen(function* () {
|
|
252
265
|
const current = yield* connect(false);
|
|
253
266
|
return yield* Effect.tryPromise({
|
|
254
|
-
try: () => subscribePromise(current,
|
|
267
|
+
try: () => subscribePromise(current, terminalID, input),
|
|
255
268
|
catch: (cause) => cause instanceof DaemonError2 ? cause : failure("connect", cause)
|
|
256
269
|
}).pipe(Effect.catch((error) => {
|
|
257
270
|
if (error.kind === "registration" && registration === current)
|
|
@@ -262,15 +275,40 @@ var makeDaemonTransport2 = Effect.fn("PersistentPty.makeDaemonTransport")(functi
|
|
|
262
275
|
return yield* attempt.pipe(Effect.catch((error) => error.kind === "registration" ? attempt : Effect.fail(error)));
|
|
263
276
|
});
|
|
264
277
|
if (inherited) {
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
278
|
+
let found;
|
|
279
|
+
yield* Effect.gen(function* () {
|
|
280
|
+
if (inherited.expiresAt <= Date.now())
|
|
281
|
+
return yield* Effect.fail(new DaemonError2({ kind: "registration", message: "PTY restart handoff expired" }));
|
|
282
|
+
id = path.basename(inherited.directory);
|
|
283
|
+
found = yield* discover(inherited.directory);
|
|
284
|
+
if (found.instance_id !== inherited.instanceID)
|
|
285
|
+
return yield* Effect.fail(new DaemonError2({ kind: "registration", message: "PTY restart daemon changed" }));
|
|
286
|
+
if (path.resolve(inherited.directory) !== path.resolve(root, id))
|
|
287
|
+
yield* migrate(inherited.directory, path.join(root, id));
|
|
288
|
+
yield* claim(found, inherited.ticket);
|
|
289
|
+
}).pipe(Effect.catchCause((cause) => Effect.gen(function* () {
|
|
290
|
+
if (Cause.hasInterruptsOnly(cause))
|
|
291
|
+
return yield* Effect.failCause(cause);
|
|
292
|
+
yield* Effect.logWarning("Discarding PTY restart handoff; persistent terminals will start fresh", {
|
|
293
|
+
cause: Cause.pretty(cause)
|
|
294
|
+
});
|
|
295
|
+
if (found)
|
|
296
|
+
yield* oneShot(found, { op: "shutdown" }).pipe(Effect.ignore);
|
|
297
|
+
abandon();
|
|
298
|
+
})));
|
|
271
299
|
}
|
|
272
300
|
return { request, requestIfRunning, shutdown, handoff, subscribe };
|
|
273
301
|
});
|
|
302
|
+
var migrate = Effect.fn("PersistentPty.daemon.migrate")(function* (directory, target) {
|
|
303
|
+
yield* Effect.tryPromise({
|
|
304
|
+
try: async () => {
|
|
305
|
+
await mkdir(target, { recursive: true, mode: 448 });
|
|
306
|
+
await rename(path.join(directory, "service.lock"), path.join(target, "service.lock"));
|
|
307
|
+
await rename(path.join(directory, "service.json"), path.join(target, "service.json"));
|
|
308
|
+
},
|
|
309
|
+
catch: (cause) => failure("registration", cause)
|
|
310
|
+
});
|
|
311
|
+
});
|
|
274
312
|
async function openOwner(registration, ticket, signal) {
|
|
275
313
|
const socket = net.createConnection({ path: registration.socket });
|
|
276
314
|
const frames = decoder(socket);
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node38
|
|
5
|
+
} from "./generate-gk28ph79.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-h9wp8z5w.js";
|
|
10
10
|
import {
|
|
11
11
|
Service71,
|
|
12
12
|
node75
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-qwjmgwmn.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-8mnpn7jw.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-mmy17vwk.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error4
|
|
22
|
+
} from "./generate-vnh00gv4.js";
|
|
23
23
|
import {
|
|
24
24
|
get5
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./generate-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service27,
|
|
28
|
+
node30
|
|
29
|
+
} from "./generate-ffxkc1dx.js";
|
|
30
30
|
import {
|
|
31
31
|
make14
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./generate-57b9ws8p.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./generate-znsx74x0.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./generate-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service26,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer11,
|
|
48
|
+
node: () => node29,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -102,44 +102,40 @@ var unsupportedMedia = (mime, name, capabilities) => {
|
|
|
102
102
|
const modality = mimeToModality(mime);
|
|
103
103
|
if (!modality || capabilities.input.some((item) => item.startsWith(modality)))
|
|
104
104
|
return;
|
|
105
|
-
return {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
105
|
+
return `ERROR: Cannot read ${name ? `"${name}"` : modality} (this model does not support ${modality} input). Inform the user.`;
|
|
106
|
+
};
|
|
107
|
+
var mediaBytes = (media) => {
|
|
108
|
+
if (media.source.type === "base64")
|
|
109
|
+
return Buffer.byteLength(media.source.data);
|
|
110
|
+
if (media.source.type === "bytes")
|
|
111
|
+
return Math.ceil(media.source.data.byteLength / 3) * 4;
|
|
112
|
+
return 0;
|
|
109
113
|
};
|
|
110
|
-
var
|
|
111
|
-
|
|
112
|
-
content: message.content.map((part) => {
|
|
114
|
+
var replaceMedia = (messages, replace) => messages.map((message) => {
|
|
115
|
+
const content = message.content.map((part) => {
|
|
113
116
|
if (part.type === "media") {
|
|
114
|
-
|
|
117
|
+
const text = replace({ mime: part.media.mediaType, name: part.filename, bytes: () => mediaBytes(part.media) });
|
|
118
|
+
return text === undefined ? part : Message.text(text);
|
|
115
119
|
}
|
|
116
120
|
if (part.type !== "tool-result" || part.result.type !== "content")
|
|
117
121
|
return part;
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}));
|
|
122
|
+
const result = part.result;
|
|
123
|
+
const value = result.value.map((item) => {
|
|
124
|
+
if (item.type !== "file")
|
|
125
|
+
return item;
|
|
126
|
+
const text = replace({ mime: item.mime, name: item.name, bytes: () => Buffer.byteLength(item.uri) });
|
|
127
|
+
return text === undefined ? item : { type: "text", text };
|
|
128
|
+
});
|
|
129
|
+
return value.every((item, index) => item === result.value[index]) ? part : { ...part, result: { ...result, value } };
|
|
130
|
+
});
|
|
131
|
+
return content.every((part, index) => part === message.content[index]) ? message : new Message({ ...message, content });
|
|
132
|
+
});
|
|
133
|
+
var unsupportedParts2 = (messages, capabilities) => replaceMedia(messages, (media) => unsupportedMedia(media.mime, media.name, capabilities));
|
|
131
134
|
var boundImages2 = (messages) => {
|
|
132
135
|
const isImage = (mime) => mime.toLowerCase().startsWith("image/");
|
|
133
|
-
const size = (media) => {
|
|
134
|
-
if (media.source.type === "base64")
|
|
135
|
-
return Buffer.byteLength(media.source.data);
|
|
136
|
-
if (media.source.type === "bytes")
|
|
137
|
-
return Math.ceil(media.source.data.byteLength / 3) * 4;
|
|
138
|
-
return 0;
|
|
139
|
-
};
|
|
140
136
|
const imageBytes = messages.reduce((total, message) => total + message.content.reduce((sum, part) => {
|
|
141
137
|
if (part.type === "media" && isImage(part.media.mediaType))
|
|
142
|
-
return sum +
|
|
138
|
+
return sum + mediaBytes(part.media);
|
|
143
139
|
if (part.type !== "tool-result" || part.result.type !== "content")
|
|
144
140
|
return sum;
|
|
145
141
|
return sum + part.result.value.reduce((bytes, item) => bytes + (item.type === "file" && isImage(item.mime) ? Buffer.byteLength(item.uri) : 0), 0);
|
|
@@ -147,36 +143,19 @@ var boundImages2 = (messages) => {
|
|
|
147
143
|
if (imageBytes <= IMAGE_BYTES_TRIGGER)
|
|
148
144
|
return messages;
|
|
149
145
|
let removed = 0;
|
|
150
|
-
return messages
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
}
|
|
157
|
-
if (part.type !== "tool-result" || part.result.type !== "content")
|
|
158
|
-
return part;
|
|
159
|
-
return {
|
|
160
|
-
...part,
|
|
161
|
-
result: {
|
|
162
|
-
...part.result,
|
|
163
|
-
value: part.result.value.map((item) => {
|
|
164
|
-
if (item.type !== "file" || !isImage(item.mime) || imageBytes - removed <= IMAGE_BYTES_TARGET)
|
|
165
|
-
return item;
|
|
166
|
-
removed += Buffer.byteLength(item.uri);
|
|
167
|
-
return { type: "text", text: IMAGE_REMOVED };
|
|
168
|
-
})
|
|
169
|
-
}
|
|
170
|
-
};
|
|
171
|
-
})
|
|
172
|
-
}));
|
|
146
|
+
return replaceMedia(messages, (media) => {
|
|
147
|
+
if (!isImage(media.mime) || imageBytes - removed <= IMAGE_BYTES_TARGET)
|
|
148
|
+
return;
|
|
149
|
+
removed += media.bytes();
|
|
150
|
+
return IMAGE_REMOVED;
|
|
151
|
+
});
|
|
173
152
|
};
|
|
174
153
|
|
|
175
|
-
class
|
|
154
|
+
class Service26 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
176
155
|
}
|
|
177
|
-
var
|
|
156
|
+
var layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
178
157
|
const hooks = yield* Service71;
|
|
179
|
-
const transport = yield*
|
|
158
|
+
const transport = yield* Service27;
|
|
180
159
|
const app = yield* Metadata2;
|
|
181
160
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
182
161
|
const session = input.session;
|
|
@@ -184,7 +163,7 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
184
163
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
185
164
|
const tools = input.tools ?? {
|
|
186
165
|
definitions: [],
|
|
187
|
-
execute: () => new
|
|
166
|
+
execute: () => new Error4({ message: "Tools are not available for this request" })
|
|
188
167
|
};
|
|
189
168
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
190
169
|
const shaped = yield* shape({
|
|
@@ -236,9 +215,8 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
236
215
|
const request = LLMRequest.update(base, {
|
|
237
216
|
model: route === base.model.route ? base.model : LanguageModel.update(base.model, { route }),
|
|
238
217
|
http: new HttpOptions({
|
|
239
|
-
|
|
240
|
-
headers: Object.keys(modelHook.headers).length === 0 ? undefined : modelHook.headers
|
|
241
|
-
query: base.http?.query
|
|
218
|
+
...base.http,
|
|
219
|
+
headers: Object.keys(modelHook.headers).length === 0 ? undefined : modelHook.headers
|
|
242
220
|
})
|
|
243
221
|
});
|
|
244
222
|
const selected = provenance2(model);
|
|
@@ -282,17 +260,17 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
282
260
|
};
|
|
283
261
|
});
|
|
284
262
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
285
|
-
return
|
|
263
|
+
return Service26.of({
|
|
286
264
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
287
265
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
288
266
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
289
267
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
290
268
|
});
|
|
291
269
|
}));
|
|
292
|
-
var
|
|
293
|
-
service:
|
|
294
|
-
layer:
|
|
295
|
-
deps: [node75,
|
|
270
|
+
var node29 = makeLocationNode({
|
|
271
|
+
service: Service26,
|
|
272
|
+
layer: layer11,
|
|
273
|
+
deps: [node75, node30, node38]
|
|
296
274
|
});
|
|
297
275
|
|
|
298
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
276
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service26, layer11, node29, exports_model_request };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-z8hrkqzq.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service80,
|
|
12
12
|
node84
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-yhecr6n4.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service45,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node48
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service45 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
44
|
const location = yield* Service80;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service45.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node48 = makeLocationNode({ service: Service45, layer, deps: [node87, node84] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service45, node48, exports_rpc, define2 };
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-tdstcens.js";
|
|
7
|
+
import {
|
|
8
|
+
contentFilterError2
|
|
9
|
+
} from "./generate-9sy6gwjh.js";
|
|
7
10
|
|
|
8
11
|
// src/session/runner/publish-llm-event.ts
|
|
9
12
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -431,7 +434,7 @@ var createLLMEventPublisher2 = (bus, input) => {
|
|
|
431
434
|
};
|
|
432
435
|
if (event.reason.normalized === "content-filter") {
|
|
433
436
|
providerFailed = true;
|
|
434
|
-
yield* failAssistant(
|
|
437
|
+
yield* failAssistant(contentFilterError2("Provider blocked the response", event.reason));
|
|
435
438
|
return;
|
|
436
439
|
}
|
|
437
440
|
return;
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-6zp854ra.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-z8hrkqzq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service46,
|
|
11
|
+
node49
|
|
12
|
+
} from "./generate-gjv38h0k.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service35,
|
|
15
|
+
node37
|
|
16
|
+
} from "./generate-cdm0dq9n.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./generate-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service32
|
|
26
|
+
} from "./generate-t2az9yje.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service59,
|
|
29
|
+
node62
|
|
30
|
+
} from "./generate-g2xfdbz5.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./generate-9sy6gwjh.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./generate-hrs38e71.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./generate-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service31,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
46
|
+
layer: () => layer15,
|
|
47
|
+
node: () => node34,
|
|
48
|
+
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service31 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer15 = Layer.effect(Service31, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service59;
|
|
64
|
+
const instances = yield* Service35;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service46;
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service32.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make16({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service31.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node34 = makeGlobalNode({
|
|
127
|
+
service: Service31,
|
|
128
|
+
layer: layer15,
|
|
129
|
+
deps: [node62, node37, node87, node88, node49]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service31, Service31.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service59, Service59.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service31, terminal2, layer15, node34, noopLayer2, exports_execution };
|