@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,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-r16x646x.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin34,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin34 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin41 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin41 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin34, exports_firecrawl };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-5sz0tvwy.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-tpzdabj1.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_lsp, {
|
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
10
|
Entry: () => Entry3,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info16,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info16 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2,
|
|
84
|
+
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info16, exports_lsp };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-wfs1cdtc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service38,
|
|
7
|
+
node41
|
|
8
|
+
} from "./persistent-pty-kg6vqa2g.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service70,
|
|
11
|
+
node73
|
|
12
|
+
} from "./persistent-pty-10cps0de.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service52,
|
|
15
|
+
node55
|
|
16
|
+
} from "./persistent-pty-c53acc8g.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service37,
|
|
26
26
|
layer: () => layer15,
|
|
27
27
|
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service37 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var layer15 = Layer.effect(
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer15 = Layer.effect(Service37, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service38;
|
|
42
|
+
const tools = yield* Service52;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service70;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer15 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service37.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
123
|
+
var node40 = makeLocationNode({
|
|
124
|
+
service: Service37,
|
|
125
125
|
layer: layer15,
|
|
126
|
-
deps: [
|
|
126
|
+
deps: [node55, node41, node87, node73]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name14,
|
|
129
|
+
export { namespace2, name14, Service37, layer15, node40, exports_mcp3 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-54whtqgx.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
make20,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-rhjbct0v.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service40,
|
|
19
|
+
node: () => node43
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service40 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
28
|
const location = yield* Service80;
|
|
29
|
-
return
|
|
29
|
+
return Service40.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
31
|
make20({
|
|
32
32
|
key: Key3.make("core/environment"),
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node43 = makeLocationNode({ service: Service40, layer, deps: [Global.node, node84] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service40, node43, exports_builtins };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-wfs1cdtc.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-54whtqgx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID3
|
|
11
|
+
} from "./persistent-pty-qapv375x.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service67,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node70
|
|
16
|
+
} from "./persistent-pty-y87t9fp6.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput2,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event3,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
30
|
+
Info: () => Info4,
|
|
31
31
|
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service17,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node20
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
44
|
+
var Info4 = Pty.Info;
|
|
45
45
|
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
48
|
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
-
ptyID:
|
|
49
|
+
ptyID: ID3
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID3
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service17 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service83;
|
|
62
62
|
const location = yield* Service80;
|
|
63
|
-
const shell = yield*
|
|
63
|
+
const shell = yield* Service67;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID3.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service17.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node20 = makeLocationNode({
|
|
274
|
+
service: Service17,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node87, node84,
|
|
276
|
+
deps: [node87, node84, node70]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info4, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service17, node20, exports_pty, Event3 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service78,
|
|
6
|
+
node81
|
|
7
|
+
} from "./persistent-pty-n0ecsdh3.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service14,
|
|
17
|
+
node: () => node17,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service14 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service78;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service14.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node17 = makeLocationNode({ service: Service14, layer, deps: [node81] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service14, readText2, syncTextBom2, node17, exports_file_mutation };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service53,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node56
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service53 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service53.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node56 = makeLocationNode({ service: Service53, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service53, node56, exports_image2 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-54whtqgx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service78
|
|
12
|
+
} from "./persistent-pty-n0ecsdh3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service77
|
|
15
|
+
} from "./persistent-pty-xqcdm74r.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-tyvhjzdr.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service70
|
|
24
|
+
} from "./persistent-pty-10cps0de.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service16
|
|
27
|
+
} from "./persistent-pty-bex1ttf8.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input3,
|
|
37
|
+
Output: () => Output2,
|
|
38
|
+
Plugin: () => Plugin4,
|
|
39
|
+
name: () => name3,
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name3 = "glob";
|
|
46
|
+
var Input3 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input8 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output2 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin4 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
69
|
+
const environment = yield* Service78;
|
|
70
|
+
const ripgrep = yield* Service77;
|
|
71
71
|
const location = yield* Service80;
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
72
|
+
const access = yield* Service16;
|
|
73
|
+
const permission = yield* Service70;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name3,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input3,
|
|
79
|
+
output: Output2,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name3,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin11 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name3, Input3, Output2, toModelContent2, Plugin4, exports_glob };
|