@opencode/core 0.0.0-dev-20160 → 0.0.0-dev-20161
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/{session-2sg260nx.js → persistent-pty-001y1jgc.js} +29 -29
- package/dist/chunks/{session-0ds4nxjt.js → persistent-pty-00qdhpqs.js} +15 -15
- package/dist/chunks/{session-kxzgz6qj.js → persistent-pty-0hp4c3hn.js} +4 -4
- package/dist/chunks/{session-n71epsv6.js → persistent-pty-0km2ps5n.js} +13 -13
- package/dist/chunks/{session-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{session-r5734vc9.js → persistent-pty-0tk0r9vs.js} +11 -11
- package/dist/chunks/{session-bf5cr955.js → persistent-pty-0zms6rpb.js} +6 -6
- package/dist/chunks/{session-cbyh50mr.js → persistent-pty-0zs6fyez.js} +11 -11
- package/dist/chunks/{session-7vpargwy.js → persistent-pty-10cps0de.js} +59 -59
- package/dist/chunks/{session-22rafnjp.js → persistent-pty-16t7m2p8.js} +6 -6
- package/dist/chunks/{session-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{session-dcd3cb6e.js → persistent-pty-1dj1qnqc.js} +11 -11
- package/dist/chunks/{session-878p20b2.js → persistent-pty-1phy0an4.js} +7 -7
- package/dist/chunks/{session-kvynqkpr.js → persistent-pty-1pkc5cmh.js} +20 -20
- package/dist/chunks/{session-cntynd0e.js → persistent-pty-1sjkd43q.js} +33 -33
- package/dist/chunks/{session-spq68xge.js → persistent-pty-1wgjazvh.js} +10 -10
- package/dist/chunks/{session-0ab3je7r.js → persistent-pty-1y5g7d32.js} +5 -5
- package/dist/chunks/{session-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{session-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{session-ycgn13tp.js → persistent-pty-25cqgkt3.js} +10 -10
- package/dist/chunks/{session-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{session-37sfe3bm.js → persistent-pty-2c7hjkzv.js} +13 -13
- package/dist/chunks/{session-3cfzdc8e.js → persistent-pty-2f0bjgcj.js} +5 -5
- package/dist/chunks/{session-br926xn9.js → persistent-pty-2fcahxgq.js} +7 -7
- package/dist/chunks/{session-b5k86chy.js → persistent-pty-2gkx64as.js} +3 -3
- package/dist/chunks/{session-7dqw4kz8.js → persistent-pty-2k8khapm.js} +5 -5
- package/dist/chunks/{session-73cs7vnm.js → persistent-pty-2xsn1zg1.js} +8 -8
- package/dist/chunks/{session-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{session-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{session-x9rp7719.js → persistent-pty-3hz5d8pf.js} +27 -27
- package/dist/chunks/{session-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{session-rfke20cm.js → persistent-pty-3ttpyjev.js} +3 -3
- package/dist/chunks/{session-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{session-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{session-78bh9b51.js → persistent-pty-41tjw832.js} +38 -38
- package/dist/chunks/{session-pw26y09t.js → persistent-pty-43amtwcs.js} +14 -14
- package/dist/chunks/{session-tbmac1c7.js → persistent-pty-4bm5ja14.js} +4 -4
- package/dist/chunks/{session-nbby7gnz.js → persistent-pty-4ej9fmev.js} +6 -6
- package/dist/chunks/{session-qa3qntg2.js → persistent-pty-4g8a3071.js} +44 -44
- package/dist/chunks/{session-h59aghp9.js → persistent-pty-4rjsgs5d.js} +13 -13
- package/dist/chunks/{session-8q9cyy35.js → persistent-pty-4sftmnet.js} +20 -20
- package/dist/chunks/{session-x7jaq4w3.js → persistent-pty-4snmkckq.js} +25 -25
- package/dist/chunks/{session-j7a31f70.js → persistent-pty-4v68peyh.js} +5 -5
- package/dist/chunks/{session-h6vtv795.js → persistent-pty-511zxn61.js} +25 -25
- package/dist/chunks/{session-q4zrs7xy.js → persistent-pty-53tb33wk.js} +8 -8
- package/dist/chunks/{session-ty1n72rn.js → persistent-pty-54whtqgx.js} +2 -2
- package/dist/chunks/{session-56gdpj1q.js → persistent-pty-56gdpj1q.js} +2 -2
- package/dist/chunks/{session-xfkkasph.js → persistent-pty-57b9ws8p.js} +7 -7
- package/dist/chunks/{session-57ez7d0k.js → persistent-pty-57ez7d0k.js} +2 -2
- package/dist/chunks/{session-yrq1xc16.js → persistent-pty-58h6nhfy.js} +7 -7
- package/dist/chunks/{session-5h35ktg3.js → persistent-pty-58nbvhsb.js} +31 -31
- package/dist/chunks/{session-k1qrnqst.js → persistent-pty-5b84avn1.js} +8 -8
- package/dist/chunks/{session-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{session-vn3my0c0.js → persistent-pty-5hn18gj9.js} +6 -6
- package/dist/chunks/{session-ypt7zytc.js → persistent-pty-5kjs1xx3.js} +15 -15
- package/dist/chunks/{session-e3qxr5gk.js → persistent-pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{session-7q2tvaya.js → persistent-pty-5rc4gns8.js} +18 -18
- package/dist/chunks/{session-d7fs98ew.js → persistent-pty-5s51epvc.js} +35 -35
- package/dist/chunks/{session-t4hjygyp.js → persistent-pty-5sz0tvwy.js} +1 -1
- package/dist/chunks/{session-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{session-hnv6ytv5.js → persistent-pty-5tmg9z32.js} +57 -57
- package/dist/chunks/{session-619r8v3y.js → persistent-pty-619r8v3y.js} +1 -1
- package/dist/chunks/{session-sjrw32hx.js → persistent-pty-620nd8sc.js} +9 -9
- package/dist/chunks/{session-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{session-g4n87ghy.js → persistent-pty-6993v4hz.js} +3 -3
- package/dist/chunks/{session-rp8jz6x1.js → persistent-pty-6anwy9fs.js} +4 -4
- package/dist/chunks/{session-p1nk9e7p.js → persistent-pty-6b342141.js} +23 -23
- package/dist/chunks/{session-cv2ckvez.js → persistent-pty-6bd6ytb7.js} +10 -10
- package/dist/chunks/{session-mjcgfbxd.js → persistent-pty-6e3ttc5b.js} +26 -26
- package/dist/chunks/{session-zad4pthz.js → persistent-pty-6jdw569z.js} +13 -13
- package/dist/chunks/{session-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{session-a881zpfh.js → persistent-pty-6n4b0dsb.js} +9 -9
- package/dist/chunks/{session-j8a3t00s.js → persistent-pty-6v46makf.js} +33 -33
- package/dist/chunks/{session-bretxvn8.js → persistent-pty-6v65b3fz.js} +23 -23
- package/dist/chunks/{session-5fq3s9nk.js → persistent-pty-70s96e4j.js} +18 -18
- package/dist/chunks/{session-73p015gt.js → persistent-pty-721wyhkj.js} +41 -41
- package/dist/chunks/{session-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{session-0wpx4zh6.js → persistent-pty-7dhhhw6e.js} +77 -77
- package/dist/chunks/{session-b0dgvpy7.js → persistent-pty-82rhge12.js} +9 -9
- package/dist/chunks/{session-cyvxyepb.js → persistent-pty-83g6ksvf.js} +14 -14
- package/dist/chunks/{session-9jdnhbcg.js → persistent-pty-83zq1v6a.js} +27 -27
- package/dist/chunks/{session-fhy7zdhf.js → persistent-pty-89tas9n7.js} +30 -30
- package/dist/chunks/{session-9y0w708y.js → persistent-pty-8ank75fn.js} +8 -8
- package/dist/chunks/{session-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{session-2cyv4f5e.js → persistent-pty-8frg9jgy.js} +10 -10
- package/dist/chunks/{session-x5cg1xcm.js → persistent-pty-8h3wkb9t.js} +10 -10
- package/dist/chunks/{session-w139t23a.js → persistent-pty-8m2wsxaa.js} +5 -5
- package/dist/chunks/{session-vqv9rnx6.js → persistent-pty-8pggv5rn.js} +22 -22
- package/dist/chunks/{session-ht4w0svj.js → persistent-pty-8z04j688.js} +16 -16
- package/dist/chunks/{session-9ynr3dfk.js → persistent-pty-8z4djcf1.js} +10 -10
- package/dist/chunks/{session-2a6rn6yr.js → persistent-pty-909p1r3q.js} +6 -6
- package/dist/chunks/{session-x6wtfncd.js → persistent-pty-911wn564.js} +22 -22
- package/dist/chunks/{session-gfvb90ym.js → persistent-pty-94ek1h2f.js} +2 -2
- package/dist/chunks/{session-em3h5ktn.js → persistent-pty-96ctqc5x.js} +4 -4
- package/dist/chunks/{session-zdwjck79.js → persistent-pty-973ajm3c.js} +24 -24
- package/dist/chunks/{session-a745b56a.js → persistent-pty-99edkwrt.js} +43 -43
- package/dist/chunks/{session-j3dd5x6a.js → persistent-pty-9b0hn6p1.js} +30 -30
- package/dist/chunks/{session-hpxb066z.js → persistent-pty-9cz1e5x5.js} +22 -22
- package/dist/chunks/{session-r5x6zcsm.js → persistent-pty-a1gpj94z.js} +3 -3
- package/dist/chunks/{session-a8wf0jya.js → persistent-pty-a8b42nbe.js} +9 -9
- package/dist/chunks/{session-z9cgy18q.js → persistent-pty-a9fv3hpn.js} +10 -10
- package/dist/chunks/{session-hjxhb8xk.js → persistent-pty-a9wcce88.js} +14 -14
- package/dist/chunks/{session-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{session-vy4zg7qh.js → persistent-pty-afed7ext.js} +5 -5
- package/dist/chunks/{session-x9n1am6t.js → persistent-pty-ag580yac.js} +4 -4
- package/dist/chunks/{session-6bvhsrzt.js → persistent-pty-ages87gt.js} +15 -15
- package/dist/chunks/{session-3y650d3w.js → persistent-pty-ajzbtavw.js} +12 -12
- package/dist/chunks/{session-3daw23hh.js → persistent-pty-akhrmp6k.js} +3 -3
- package/dist/chunks/{session-ez7z0p20.js → persistent-pty-ap94g0em.js} +1 -1
- package/dist/chunks/{session-0etr5837.js → persistent-pty-aqxrhhqj.js} +3 -3
- package/dist/chunks/{session-ag4f73gw.js → persistent-pty-awbdf8k5.js} +12 -12
- package/dist/chunks/{session-11k00grk.js → persistent-pty-azw5h5wv.js} +8 -8
- package/dist/chunks/{session-gn1f0zrs.js → persistent-pty-b2ymzsjy.js} +20 -20
- package/dist/chunks/{session-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{session-axs6pdy0.js → persistent-pty-b7b4ctej.js} +5 -5
- package/dist/chunks/{session-f1eys81r.js → persistent-pty-bdgt4s9b.js} +5 -5
- package/dist/chunks/{session-a76mq0kp.js → persistent-pty-bex1ttf8.js} +15 -15
- package/dist/chunks/{session-36w2c4wp.js → persistent-pty-bkk31atn.js} +24 -24
- package/dist/chunks/{session-6fxkhm7k.js → persistent-pty-bz1n60hy.js} +17 -17
- package/dist/chunks/{session-teeeetwt.js → persistent-pty-c53acc8g.js} +24 -24
- package/dist/chunks/{session-5bghj9c4.js → persistent-pty-c5e87xej.js} +18 -18
- package/dist/chunks/{session-bjp7wch6.js → persistent-pty-c7jcxm17.js} +51 -28
- package/dist/chunks/{session-v176d600.js → persistent-pty-c7vf4kh0.js} +4 -4
- package/dist/chunks/{session-axmvebxj.js → persistent-pty-cavr175a.js} +21 -21
- package/dist/chunks/persistent-pty-cdss73z7.js +252 -0
- package/dist/chunks/{session-54rbqgw7.js → persistent-pty-cenvhtqn.js} +18 -18
- package/dist/chunks/{session-xenc6ek8.js → persistent-pty-cgp2fa9y.js} +20 -20
- package/dist/chunks/{session-dan7ncpb.js → persistent-pty-ck0wjfjv.js} +30 -30
- package/dist/chunks/{session-54tcyq79.js → persistent-pty-ckecvw8r.js} +2 -2
- package/dist/chunks/{session-n3vhrske.js → persistent-pty-cmp9tspr.js} +30 -30
- package/dist/chunks/{session-h6r3nrb9.js → persistent-pty-cpj0znwe.js} +4 -4
- package/dist/chunks/{session-erkj4jm4.js → persistent-pty-cpvy7b7p.js} +8 -8
- package/dist/chunks/{session-djszqvmq.js → persistent-pty-cwa6csj7.js} +9 -9
- package/dist/chunks/{session-2tqyxpjd.js → persistent-pty-czpwm44a.js} +8 -8
- package/dist/chunks/{session-pq623249.js → persistent-pty-d9jme974.js} +5 -5
- package/dist/chunks/{session-rfddq75h.js → persistent-pty-dbnx9smq.js} +11 -11
- package/dist/chunks/{session-1geh030x.js → persistent-pty-dekmczra.js} +70 -70
- package/dist/chunks/{session-0v53mg2y.js → persistent-pty-dfe8djrf.js} +4 -4
- package/dist/chunks/{session-aztc6zc0.js → persistent-pty-dk7pdvq2.js} +20 -20
- package/dist/chunks/{session-0g0xjf3w.js → persistent-pty-dq2map5x.js} +25 -25
- package/dist/chunks/{session-cwfeh27v.js → persistent-pty-drbh3724.js} +17 -17
- package/dist/chunks/{session-h10s6dah.js → persistent-pty-dwq6ryhm.js} +8 -8
- package/dist/chunks/{session-0m60qzxk.js → persistent-pty-e48e4j0a.js} +24 -24
- package/dist/chunks/{session-m7eqtq7h.js → persistent-pty-e90jpx4a.js} +11 -11
- package/dist/chunks/{session-tnqnkygc.js → persistent-pty-eb65cref.js} +3 -3
- package/dist/chunks/{session-ecfe7b91.js → persistent-pty-ecfe7b91.js} +2 -2
- package/dist/chunks/{session-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{session-adbsxxgk.js → persistent-pty-efm0s0bd.js} +13 -13
- package/dist/chunks/{session-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{session-0j3q064p.js → persistent-pty-f19h6g1r.js} +27 -27
- package/dist/chunks/{session-7bwbn0jd.js → persistent-pty-f3bevy8m.js} +29 -29
- package/dist/chunks/{session-c2tr9cba.js → persistent-pty-f5dmnpzb.js} +11 -11
- package/dist/chunks/{session-zw68n9f5.js → persistent-pty-fgcwhffx.js} +9 -9
- package/dist/chunks/{session-dec238cb.js → persistent-pty-fk7v7fft.js} +308 -308
- package/dist/chunks/{session-p3mw7xyr.js → persistent-pty-fxv4vbj0.js} +5 -5
- package/dist/chunks/{session-3vggypkr.js → persistent-pty-g2by5rc0.js} +11 -11
- package/dist/chunks/{session-4sh8yqy7.js → persistent-pty-g8jasmdt.js} +11 -11
- package/dist/chunks/{session-j5dnef6t.js → persistent-pty-gbqzgj7y.js} +17 -17
- package/dist/chunks/{session-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{session-h486cbhb.js → persistent-pty-gm9ayw17.js} +12 -12
- package/dist/chunks/{session-y26s5m2q.js → persistent-pty-gpy90s52.js} +11 -11
- package/dist/chunks/{session-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{session-nj3ema9j.js → persistent-pty-h584h0q7.js} +24 -24
- package/dist/chunks/{session-ynj0xxy8.js → persistent-pty-h641zn2v.js} +41 -41
- package/dist/chunks/{session-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{session-0vq8hxf6.js → persistent-pty-h8d1bq6v.js} +17 -17
- package/dist/chunks/{session-07exw706.js → persistent-pty-hbn9qevp.js} +34 -34
- package/dist/chunks/{session-6dzhqqtb.js → persistent-pty-hfcyh0cs.js} +6 -6
- package/dist/chunks/{session-b09hzw3k.js → persistent-pty-hkagk5ex.js} +2 -2
- package/dist/chunks/{session-pfykbea3.js → persistent-pty-hxtnvy26.js} +4 -4
- package/dist/chunks/{session-z22sqqyn.js → persistent-pty-hy9skd6v.js} +8 -8
- package/dist/chunks/{session-h83mpa4f.js → persistent-pty-j0exgwae.js} +16 -16
- package/dist/chunks/{session-tq6thkf7.js → persistent-pty-j3w6saxc.js} +5 -5
- package/dist/chunks/{session-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{session-5vgkx6vx.js → persistent-pty-j622fpqk.js} +16 -16
- package/dist/chunks/{session-knevfgda.js → persistent-pty-j8m1p4p1.js} +4 -4
- package/dist/chunks/{session-363xrghk.js → persistent-pty-jmj6k8nb.js} +10 -10
- package/dist/chunks/{session-8y47sz6y.js → persistent-pty-kaafkdk2.js} +43 -43
- package/dist/chunks/{session-4x7vd7ad.js → persistent-pty-kdtg0hmj.js} +38 -38
- package/dist/chunks/{session-mj7jap7m.js → persistent-pty-kg6vqa2g.js} +39 -39
- package/dist/chunks/{session-8bwb6cg8.js → persistent-pty-kj9mzqja.js} +21 -21
- package/dist/chunks/{session-6m46kzd3.js → persistent-pty-kkxrf4q9.js} +11 -11
- package/dist/chunks/{session-59nw1bw3.js → persistent-pty-kqeepe86.js} +9 -9
- package/dist/chunks/{session-1bj2jnan.js → persistent-pty-m2r9tm47.js} +9 -9
- package/dist/chunks/{session-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{session-spps2bf2.js → persistent-pty-m7hh4551.js} +26 -26
- package/dist/chunks/{session-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{session-2p8k3371.js → persistent-pty-mgmaefw5.js} +3 -3
- package/dist/chunks/{session-z2sk8n0r.js → persistent-pty-mgvjhcwg.js} +9 -9
- package/dist/chunks/{session-22r42fq5.js → persistent-pty-mjeayme1.js} +20 -20
- package/dist/chunks/{session-2xwkyk0m.js → persistent-pty-mtrbqqrq.js} +5 -5
- package/dist/chunks/{session-d8cw0a7r.js → persistent-pty-mvksx64m.js} +4 -4
- package/dist/chunks/{session-9yfmx064.js → persistent-pty-n0aymgn1.js} +21 -21
- package/dist/chunks/{session-mxaf64hb.js → persistent-pty-n0ecsdh3.js} +21 -21
- package/dist/chunks/{session-72ykkv7q.js → persistent-pty-ncxkwzes.js} +11 -11
- package/dist/chunks/{session-y6f0p4jw.js → persistent-pty-ndmv45hp.js} +3 -3
- package/dist/chunks/{session-ead3g9p8.js → persistent-pty-nxhqveyz.js} +5 -5
- package/dist/chunks/{session-k3c624dm.js → persistent-pty-nzks3jc8.js} +3 -3
- package/dist/chunks/{session-vkx2mzfj.js → persistent-pty-p0m94kn1.js} +9 -9
- package/dist/chunks/{session-pa8pe2x7.js → persistent-pty-p42hj8p8.js} +8 -8
- package/dist/chunks/{session-1a04trcm.js → persistent-pty-p4zsmmgp.js} +12 -12
- package/dist/chunks/{session-e7bd4f0g.js → persistent-pty-p8q141tk.js} +5 -5
- package/dist/chunks/{session-6hje2pqe.js → persistent-pty-p912m9y8.js} +26 -26
- package/dist/chunks/{session-zf6529qm.js → persistent-pty-pgmzfdk5.js} +7 -7
- package/dist/chunks/{session-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{session-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{session-5ggb7gsj.js → persistent-pty-pn9rmv0x.js} +10 -10
- package/dist/chunks/{session-6hcqq1md.js → persistent-pty-pz0sazxr.js} +11 -11
- package/dist/chunks/{session-8ac9we4c.js → persistent-pty-pzwp9vyv.js} +22 -22
- package/dist/chunks/{session-yfac261q.js → persistent-pty-q5wdx1yq.js} +6 -6
- package/dist/chunks/{session-4fhgqxn3.js → persistent-pty-q66wawzv.js} +26 -26
- package/dist/chunks/{session-fm2qvscf.js → persistent-pty-qa3qhgw8.js} +4 -4
- package/dist/chunks/persistent-pty-qapv375x.js +4 -0
- package/dist/chunks/{session-pnv527nz.js → persistent-pty-qg0jgkcp.js} +9 -9
- package/dist/chunks/{session-4zmtbcja.js → persistent-pty-qghn429y.js} +11 -11
- package/dist/chunks/{session-cgf4qtyb.js → persistent-pty-qjxevsft.js} +1 -1
- package/dist/chunks/{session-nfjjh792.js → persistent-pty-qpa1z2xq.js} +8 -8
- package/dist/chunks/{session-f88bvz2g.js → persistent-pty-qq4d284g.js} +4 -4
- package/dist/chunks/{session-wnmqtqbz.js → persistent-pty-qq8x5mwt.js} +7 -7
- package/dist/chunks/{session-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{session-td2xt15b.js → persistent-pty-qw6ew0vv.js} +17 -17
- package/dist/chunks/{session-6pbvtem2.js → persistent-pty-r16x646x.js} +10 -10
- package/dist/chunks/{session-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{session-rhjbct0v.js → persistent-pty-rhjbct0v.js} +1 -1
- package/dist/chunks/{session-89n7ecns.js → persistent-pty-rjgm2g5y.js} +11 -11
- package/dist/chunks/{session-tfcs166d.js → persistent-pty-rrxgszfj.js} +22 -22
- package/dist/chunks/{session-g281w60y.js → persistent-pty-rzef2apf.js} +13 -13
- package/dist/chunks/{session-7301y69e.js → persistent-pty-sjdt00n5.js} +20 -20
- package/dist/chunks/{session-pdanyz1v.js → persistent-pty-sq5357bb.js} +16 -16
- package/dist/chunks/{session-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{session-sbe92etv.js → persistent-pty-tb7f0f66.js} +14 -14
- package/dist/chunks/{session-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{session-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{session-dtb3tcrh.js → persistent-pty-tpzdabj1.js} +3 -3
- package/dist/chunks/{session-8a062qkv.js → persistent-pty-tvgkc4yy.js} +4 -4
- package/dist/chunks/{session-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{session-g88nb3be.js → persistent-pty-tyvhjzdr.js} +18 -18
- package/dist/chunks/{session-t5kz8wwg.js → persistent-pty-v1xx0enh.js} +7 -7
- package/dist/chunks/{session-p23qnjj8.js → persistent-pty-v2zjbjd3.js} +48 -48
- package/dist/chunks/{session-24ac7ank.js → persistent-pty-vdvpd1jg.js} +9 -9
- package/dist/chunks/{session-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{session-4gnrzq8g.js → persistent-pty-vpyec1rj.js} +16 -16
- package/dist/chunks/{session-5s92r4aj.js → persistent-pty-vv5pystr.js} +25 -25
- package/dist/chunks/persistent-pty-vw66btjd.js +26 -0
- package/dist/chunks/{session-757464b7.js → persistent-pty-vwpcpzep.js} +8 -8
- package/dist/chunks/{session-fth3s3gv.js → persistent-pty-vyx03eky.js} +156 -156
- package/dist/chunks/{session-tgjneemn.js → persistent-pty-vz6t9qnh.js} +10 -10
- package/dist/chunks/{session-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{session-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{session-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{session-abpkgy4h.js → persistent-pty-w5xkzqwn.js} +17 -17
- package/dist/chunks/{session-py3kkmfq.js → persistent-pty-w92k2e0p.js} +8 -8
- package/dist/chunks/{session-psazpmmj.js → persistent-pty-wd3x2cqz.js} +2 -2
- package/dist/chunks/{session-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{session-jdejrt4w.js → persistent-pty-weyhrafj.js} +13 -13
- package/dist/chunks/{session-asdxbhk9.js → persistent-pty-wfs1cdtc.js} +4 -4
- package/dist/chunks/{session-1jfryw5c.js → persistent-pty-wrmrmykr.js} +9 -9
- package/dist/chunks/{session-ehy067re.js → persistent-pty-wt44zdry.js} +3 -3
- package/dist/chunks/{session-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{session-jz1hg8xh.js → persistent-pty-x64cfhhk.js} +43 -43
- package/dist/chunks/{session-4e3z9wr6.js → persistent-pty-xgv5607x.js} +3 -3
- package/dist/chunks/{session-hf5q49q4.js → persistent-pty-xjdbqttv.js} +17 -17
- package/dist/chunks/{session-xkntkrq7.js → persistent-pty-xkntkrq7.js} +2 -2
- package/dist/chunks/{session-03an8pay.js → persistent-pty-xqcdm74r.js} +18 -18
- package/dist/chunks/{session-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{session-y71avatq.js → persistent-pty-y71avatq.js} +1 -1
- package/dist/chunks/{session-jhp1ybt8.js → persistent-pty-y87t9fp6.js} +19 -19
- package/dist/chunks/{session-07770t2t.js → persistent-pty-ydgy0jv4.js} +4 -4
- package/dist/chunks/{session-9pzy0dy5.js → persistent-pty-yfydxkxn.js} +22 -22
- package/dist/chunks/{session-jv01nqvq.js → persistent-pty-yjptyezs.js} +5 -5
- package/dist/chunks/{session-s6v4tep7.js → persistent-pty-yk0enmjw.js} +13 -13
- package/dist/chunks/{session-1acjjqhc.js → persistent-pty-yp2x3t23.js} +4 -4
- package/dist/chunks/{session-wss0rg9k.js → persistent-pty-yr1cdtnb.js} +21 -21
- package/dist/chunks/{session-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{session-mg9ysj5n.js → persistent-pty-yrtwb1pz.js} +11 -11
- package/dist/chunks/{session-s4enseaf.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{session-k9brhh59.js → persistent-pty-yyasfjgt.js} +15 -15
- package/dist/chunks/{session-bjtzbw4r.js → persistent-pty-z07pqspn.js} +3 -3
- package/dist/chunks/{session-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{session-29x78va6.js → persistent-pty-z63w68vq.js} +6 -6
- package/dist/chunks/{session-rf8hweaa.js → persistent-pty-zas2f676.js} +9 -9
- package/dist/chunks/{session-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{session-4kzrk3r9.js → persistent-pty-zp72hf0n.js} +12 -12
- package/dist/chunks/{session-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{session-t7n9q6bq.js → persistent-pty-zvt5dnpc.js} +4 -4
- package/dist/chunks/{session-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{session-dzqekp4s.js → persistent-pty-zz6fs82c.js} +2 -2
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- 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 +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +81 -81
- 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 +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- 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 +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +84 -84
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +87 -87
- 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 +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- 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 +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +123 -123
- 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 +122 -122
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +85 -85
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/session-0mesazry.js +0 -4
- package/dist/chunks/session-6p6hfw42.js +0 -26
- package/dist/chunks/session-8977zpnw.js +0 -252
- /package/dist/chunks/{session-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{session-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{session-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{session-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{session-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{session-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{session-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{session-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{session-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{session-34c7v6d4.js → persistent-pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{session-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{session-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{session-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{session-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{session-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{session-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{session-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{session-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{session-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{session-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{session-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{session-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{session-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{session-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{session-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{session-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{session-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{session-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{session-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{session-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{session-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{session-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{session-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{session-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{session-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{session-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{session-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{session-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{session-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{session-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{session-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{session-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{session-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{session-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{session-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{session-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{session-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{session-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{session-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{session-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{session-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{session-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{session-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{session-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{session-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{session-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{session-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{session-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{session-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{session-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{session-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{session-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{session-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{session-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{session-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{session-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{session-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{session-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{session-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{session-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{session-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{session-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{session-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{session-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{session-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{session-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{session-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{session-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{session-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{session-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{session-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{session-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{session-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{session-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{session-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{session-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{session-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{session-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{session-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{session-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{session-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{session-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{session-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{session-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{session-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{session-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info13
|
|
7
|
+
} from "./persistent-pty-cavr175a.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info12
|
|
10
|
+
} from "./persistent-pty-g8jasmdt.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info18
|
|
13
|
+
} from "./persistent-pty-2f0bjgcj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info14
|
|
16
|
+
} from "./persistent-pty-qa3qhgw8.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info19
|
|
19
|
+
} from "./persistent-pty-qq8x5mwt.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info16
|
|
25
|
+
} from "./persistent-pty-6anwy9fs.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info15
|
|
28
|
+
} from "./persistent-pty-nxhqveyz.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./persistent-pty-2k8khapm.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info11
|
|
34
|
+
} from "./persistent-pty-yjptyezs.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./persistent-pty-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info17
|
|
40
|
+
} from "./persistent-pty-dfe8djrf.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info10,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info10 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info13 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info14)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info17).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info13 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info12), plan: Schema.optional(Info12) }), [Schema.Record(Schema.String, Info12)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info12),
|
|
119
|
+
build: Schema.optional(Info12),
|
|
120
|
+
general: Schema.optional(Info12),
|
|
121
|
+
explore: Schema.optional(Info12),
|
|
122
|
+
title: Schema.optional(Info12),
|
|
123
|
+
summary: Schema.optional(Info12),
|
|
124
|
+
compaction: Schema.optional(Info12)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info12)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info11)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info15, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info19).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info16).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info13),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info18).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info13 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info10, exports_config2 };
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-wfs1cdtc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node62
|
|
7
|
+
} from "./persistent-pty-8pggv5rn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service3,
|
|
10
|
+
node5
|
|
11
|
+
} from "./persistent-pty-9cz1e5x5.js";
|
|
12
12
|
import {
|
|
13
13
|
Service35
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-619r8v3y.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
node15,
|
|
17
|
+
ID2
|
|
18
|
+
} from "./persistent-pty-1pkc5cmh.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service9,
|
|
21
|
+
node11
|
|
22
|
+
} from "./persistent-pty-p42hj8p8.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./persistent-pty-fk7v7fft.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
make9,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./persistent-pty-53tb33wk.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service8,
|
|
35
|
+
node10
|
|
36
|
+
} from "./persistent-pty-vz6t9qnh.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
38
|
+
Service7,
|
|
39
|
+
node9
|
|
40
|
+
} from "./persistent-pty-82rhge12.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
47
47
|
__export(exports_supervisor, {
|
|
48
48
|
PluginSupervisor: () => exports_supervisor,
|
|
49
49
|
layer: () => layer4,
|
|
50
|
-
node: () =>
|
|
50
|
+
node: () => node4
|
|
51
51
|
});
|
|
52
52
|
import { Event } from "@opencode/schema/config";
|
|
53
53
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -116,7 +116,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
116
116
|
failures: [
|
|
117
117
|
...failures.values(),
|
|
118
118
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
119
|
-
id:
|
|
119
|
+
id: ID2.make(plugin.id),
|
|
120
120
|
source: plugin.source ?? { type: "builtin" },
|
|
121
121
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
122
122
|
features: { server: true, ...plugin.features }
|
|
@@ -127,12 +127,12 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
127
127
|
});
|
|
128
128
|
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
129
129
|
const registry = yield* Service35;
|
|
130
|
-
const sdk = yield*
|
|
131
|
-
const instance = yield*
|
|
132
|
-
const sources = yield*
|
|
133
|
-
const modules = yield*
|
|
130
|
+
const sdk = yield* Service8;
|
|
131
|
+
const instance = yield* Service9;
|
|
132
|
+
const sources = yield* Service3;
|
|
133
|
+
const modules = yield* make9();
|
|
134
134
|
const bus = yield* Service83;
|
|
135
|
-
const updates = yield*
|
|
135
|
+
const updates = yield* Service7;
|
|
136
136
|
const internal = yield* list2();
|
|
137
137
|
let release = yield* registry.hold();
|
|
138
138
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -207,14 +207,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
207
207
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
208
208
|
}));
|
|
209
209
|
var nodeDeps = [
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
210
|
+
node15,
|
|
211
|
+
node10,
|
|
212
|
+
node11,
|
|
213
|
+
node5,
|
|
214
|
+
node9,
|
|
215
215
|
node87,
|
|
216
216
|
Npm.node,
|
|
217
|
-
|
|
217
|
+
node62,
|
|
218
218
|
requirements2
|
|
219
219
|
];
|
|
220
220
|
function pluginSource(target) {
|
|
@@ -222,6 +222,6 @@ function pluginSource(target) {
|
|
|
222
222
|
return { type: "local", path: target };
|
|
223
223
|
return { type: "package", target };
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var node4 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
|
|
226
226
|
|
|
227
|
-
export { layer4,
|
|
227
|
+
export { layer4, node4, exports_supervisor };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-wfs1cdtc.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service75,
|
|
11
|
+
node78
|
|
12
|
+
} from "./persistent-pty-mjeayme1.js";
|
|
13
13
|
import {
|
|
14
14
|
Service80,
|
|
15
15
|
node84
|
|
16
|
-
} from "./
|
|
17
|
-
import {
|
|
18
|
-
Service71,
|
|
19
|
-
node74
|
|
20
|
-
} from "./session-mxaf64hb.js";
|
|
16
|
+
} from "./persistent-pty-54whtqgx.js";
|
|
21
17
|
import {
|
|
22
|
-
ID16,
|
|
23
18
|
Service78,
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
19
|
+
node81
|
|
20
|
+
} from "./persistent-pty-n0ecsdh3.js";
|
|
21
|
+
import {
|
|
22
|
+
ID9,
|
|
23
|
+
Service64,
|
|
24
|
+
node67
|
|
25
|
+
} from "./persistent-pty-4snmkckq.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID8,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service63,
|
|
34
|
+
node66
|
|
35
|
+
} from "./persistent-pty-dq2map5x.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service38,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
56
|
configured: () => configured5,
|
|
57
57
|
layer: () => layer16,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node41
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -93,7 +93,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service38 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
98
|
var Options5 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -101,13 +101,13 @@ var Options5 = Schema.Struct({
|
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var layer16 = (options) => Layer.effect(
|
|
104
|
+
var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
105
105
|
const location = yield* Service80;
|
|
106
|
-
const environment = yield*
|
|
106
|
+
const environment = yield* Service78;
|
|
107
107
|
const bus = yield* Service83;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service64;
|
|
109
|
+
const integration = yield* Service63;
|
|
110
|
+
const credentials = yield* Service75;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID8.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service75, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -151,12 +151,12 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service75, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID9.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -259,7 +259,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
259
259
|
entry.scope = scope;
|
|
260
260
|
const authProvider = yield* connectProvider(entry);
|
|
261
261
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
262
|
-
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(
|
|
262
|
+
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(Service78, environment), Scope.provide(scope));
|
|
263
263
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
264
264
|
if (Exit.isSuccess(result)) {
|
|
265
265
|
entry.client = result.value.connection;
|
|
@@ -384,7 +384,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
384
384
|
yield* startServer(name, entry);
|
|
385
385
|
}).pipe(locks.withLock(name));
|
|
386
386
|
});
|
|
387
|
-
fork(bus.subscribe(
|
|
387
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
388
388
|
const state = create3({
|
|
389
389
|
name: "mcp",
|
|
390
390
|
initial: () => ({
|
|
@@ -410,7 +410,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
410
410
|
}),
|
|
411
411
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
412
412
|
});
|
|
413
|
-
return
|
|
413
|
+
return Service38.of({
|
|
414
414
|
transform: state.transform,
|
|
415
415
|
reload: state.reload,
|
|
416
416
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -518,12 +518,12 @@ function mergeCatalogs(catalogs) {
|
|
|
518
518
|
}
|
|
519
519
|
function configured5(options) {
|
|
520
520
|
return makeLocationNode({
|
|
521
|
-
service:
|
|
521
|
+
service: Service38,
|
|
522
522
|
layer: layer16(options),
|
|
523
|
-
deps: [node84,
|
|
523
|
+
deps: [node84, node81, node87, node67, node66, node78]
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
|
-
var
|
|
526
|
+
var node41 = configured5();
|
|
527
527
|
function toElicitationField(key, property, required) {
|
|
528
528
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
529
529
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2,
|
|
577
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service38, Options5, layer16, configured5, node41, exports_mcp4 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./persistent-pty-4snmkckq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./persistent-pty-10cps0de.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service20
|
|
14
|
+
} from "./persistent-pty-5rc4gns8.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch = {};
|
|
21
21
|
__export(exports_websearch, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input10,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin12,
|
|
25
25
|
WebSearchTool: () => exports_websearch,
|
|
26
26
|
description: () => description5,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name10
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name10 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
@@ -39,28 +39,28 @@ var httpErrors = new Map([
|
|
|
39
39
|
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input10 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin12 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service70;
|
|
53
|
+
const forms = yield* Service64;
|
|
54
|
+
const websearch = yield* Service20;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name10,
|
|
57
57
|
options: { codemode: false },
|
|
58
58
|
description: description5,
|
|
59
|
-
input:
|
|
59
|
+
input: Input10,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name10,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name10];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name10, NO_RESULTS2, description5, Input10, Plugin12, exports_websearch };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-wfs1cdtc.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service80,
|
|
12
12
|
node84
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-54whtqgx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-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: () => Service76,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node79
|
|
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 Service76 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(Service76, 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(Service27, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service76.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node79 = makeLocationNode({ service: Service76, 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 { Service76, node79, exports_rpc, define2 };
|