@opencode/core 0.0.0-dev-19510 → 0.0.0-dev-19512
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{repository-cache-g3pa8mhf.js → persistent-pty-048g18x0.js} +12 -12
- package/dist/chunks/{repository-cache-3kvk53sn.js → persistent-pty-09s1qc9w.js} +4 -4
- package/dist/chunks/{repository-cache-ythpzqjx.js → persistent-pty-09xfy49k.js} +21 -21
- package/dist/chunks/{repository-cache-yahr892z.js → persistent-pty-0bttyzvt.js} +6 -6
- package/dist/chunks/{repository-cache-590d2czn.js → persistent-pty-0h54jqbs.js} +8 -8
- package/dist/chunks/persistent-pty-0mesazry.js +4 -0
- package/dist/chunks/{repository-cache-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-cache-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{repository-cache-948vg2pw.js → persistent-pty-0zp474g4.js} +7 -7
- package/dist/chunks/{repository-cache-s99x642n.js → persistent-pty-16ha7j0n.js} +2 -2
- package/dist/chunks/{repository-cache-vya36ff7.js → persistent-pty-16qkbgjp.js} +46 -46
- package/dist/chunks/{repository-cache-s8t4qsw4.js → persistent-pty-1bvxxf6d.js} +9 -9
- package/dist/chunks/{repository-cache-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-cache-w43r5vpk.js → persistent-pty-1qfpcee2.js} +9 -9
- package/dist/chunks/{repository-cache-8h6f7dvd.js → persistent-pty-1tfjzybb.js} +14 -14
- package/dist/chunks/{repository-cache-akfths19.js → persistent-pty-1vg6t9wt.js} +35 -35
- package/dist/chunks/{repository-cache-cesx3e6j.js → persistent-pty-1wfat45j.js} +11 -11
- package/dist/chunks/{repository-cache-hj5qcc5b.js → persistent-pty-1z7a71ya.js} +8 -8
- package/dist/chunks/persistent-pty-21jpq35a.js +247 -0
- package/dist/chunks/{repository-cache-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{repository-cache-6h73sxmp.js → persistent-pty-2402vzrj.js} +5 -5
- package/dist/chunks/{repository-cache-ryef71pm.js → persistent-pty-24cfyjnk.js} +19 -19
- package/dist/chunks/{repository-cache-z63w68vq.js → persistent-pty-29x78va6.js} +6 -6
- package/dist/chunks/{repository-cache-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-cache-c9qfb572.js → persistent-pty-2derpj9y.js} +22 -22
- package/dist/chunks/{repository-cache-306db5gv.js → persistent-pty-2ve45fd6.js} +5 -5
- package/dist/chunks/{repository-cache-afrwt492.js → persistent-pty-3251az8d.js} +11 -11
- package/dist/chunks/{repository-cache-jmwjz9ee.js → persistent-pty-36m3rdv1.js} +80 -80
- package/dist/chunks/{repository-cache-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-cache-f07f5max.js → persistent-pty-3g8cchxn.js} +16 -16
- package/dist/chunks/{repository-cache-dkqawgjf.js → persistent-pty-3g8f6v0w.js} +4 -4
- package/dist/chunks/{repository-cache-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-cache-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-cache-dk17j58h.js → persistent-pty-3zaatfj6.js} +26 -26
- package/dist/chunks/{repository-cache-xztd0cs6.js → persistent-pty-40b8r03t.js} +47 -47
- package/dist/chunks/{repository-cache-pdmzt19y.js → persistent-pty-4786se8r.js} +1 -1
- package/dist/chunks/{repository-cache-nm6nhamf.js → persistent-pty-485fr60v.js} +13 -13
- package/dist/chunks/{repository-cache-fdyt9w1r.js → persistent-pty-4jgfcj8t.js} +10 -10
- package/dist/chunks/{repository-cache-rjt21bs1.js → persistent-pty-4rrnbjgb.js} +29 -29
- package/dist/chunks/{repository-cache-4y66k410.js → persistent-pty-4y66k410.js} +2 -2
- package/dist/chunks/{repository-cache-mfqp6xfm.js → persistent-pty-56gdpj1q.js} +6 -6
- package/dist/chunks/{repository-cache-y97nejxf.js → persistent-pty-5aengpdy.js} +11 -11
- package/dist/chunks/{repository-cache-37grp35b.js → persistent-pty-5b4hr3cy.js} +11 -11
- package/dist/chunks/{repository-cache-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-cache-np79qykh.js → persistent-pty-5sam3g36.js} +26 -26
- package/dist/chunks/{repository-cache-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-cache-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{repository-cache-jv5mxt3g.js → persistent-pty-6fa65h3x.js} +18 -18
- package/dist/chunks/{repository-cache-d66qjsz4.js → persistent-pty-6jzp287t.js} +17 -17
- package/dist/chunks/{repository-cache-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-cache-gjbb8j7c.js → persistent-pty-6phyce8p.js} +25 -25
- package/dist/chunks/{repository-cache-9jwxq161.js → persistent-pty-6tsg30fm.js} +2 -2
- package/dist/chunks/{repository-cache-hfdr1yjj.js → persistent-pty-6tt5evqq.js} +4 -4
- package/dist/chunks/{repository-cache-4taqtrjz.js → persistent-pty-7083wxq8.js} +11 -11
- package/dist/chunks/{repository-cache-8dr3htqb.js → persistent-pty-715qt4bx.js} +9 -9
- package/dist/chunks/{repository-cache-71q4at8m.js → persistent-pty-71q4at8m.js} +1 -1
- package/dist/chunks/{repository-cache-skyymkrr.js → persistent-pty-721tb84k.js} +3 -3
- package/dist/chunks/{repository-cache-3g10qwm7.js → persistent-pty-798sgk8w.js} +17 -17
- package/dist/chunks/{repository-cache-5ebtz5cw.js → persistent-pty-79dr9dve.js} +15 -15
- package/dist/chunks/{repository-cache-asmz7wyz.js → persistent-pty-7b15y959.js} +8 -8
- package/dist/chunks/{repository-cache-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-7dqw4kz8.js → persistent-pty-7dqw4kz8.js} +1 -1
- package/dist/chunks/{repository-cache-za5pt3d7.js → persistent-pty-7j422xf6.js} +4 -4
- package/dist/chunks/{repository-cache-4wg4wmjw.js → persistent-pty-7m2yq395.js} +34 -34
- package/dist/chunks/{repository-cache-81swgkk7.js → persistent-pty-81swgkk7.js} +2 -2
- package/dist/chunks/{repository-cache-2fn4yps5.js → persistent-pty-82xjv89z.js} +9 -9
- package/dist/chunks/{repository-cache-9pcadkya.js → persistent-pty-89b9anhp.js} +155 -155
- package/dist/chunks/{repository-cache-gqr0prwp.js → persistent-pty-8a0b7fze.js} +4 -4
- package/dist/chunks/{repository-cache-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-cache-pkvsb09a.js → persistent-pty-8nz98mka.js} +33 -33
- package/dist/chunks/{repository-cache-8p4f9s12.js → persistent-pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{repository-cache-b1h1c68h.js → persistent-pty-8qbgjw8c.js} +11 -11
- package/dist/chunks/{repository-cache-fyjrpq2n.js → persistent-pty-915t83ht.js} +3 -3
- package/dist/chunks/{repository-cache-00agp6tm.js → persistent-pty-93z8j3q2.js} +20 -20
- package/dist/chunks/{repository-cache-fm4b3qmy.js → persistent-pty-96q9j7dw.js} +8 -8
- package/dist/chunks/{repository-cache-cvddfarj.js → persistent-pty-9c4d1d9h.js} +16 -16
- package/dist/chunks/{repository-cache-xk29e8eh.js → persistent-pty-9d8v8ke2.js} +12 -12
- package/dist/chunks/{repository-cache-azqcdpv6.js → persistent-pty-9dzcd8j5.js} +41 -41
- package/dist/chunks/{repository-cache-d50f2zf5.js → persistent-pty-9gyd2w40.js} +1 -1
- package/dist/chunks/{repository-cache-nkr33rs8.js → persistent-pty-9m4vma00.js} +32 -32
- package/dist/chunks/{repository-cache-b3q7ckfa.js → persistent-pty-9pf502c0.js} +18 -18
- package/dist/chunks/{repository-cache-j6camevd.js → persistent-pty-9z5caz15.js} +14 -14
- package/dist/chunks/{repository-cache-bpdv2q4q.js → persistent-pty-a0v04wpe.js} +25 -25
- package/dist/chunks/{repository-cache-a1bz86dw.js → persistent-pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{repository-cache-t8vasjyp.js → persistent-pty-a2p6xxeh.js} +17 -17
- package/dist/chunks/{repository-cache-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-cache-jgttmm4a.js → persistent-pty-aeb4sny1.js} +5 -5
- package/dist/chunks/{repository-cache-xhmq8qgk.js → persistent-pty-af4kcksd.js} +2 -2
- package/dist/chunks/{repository-cache-3x1xb6f1.js → persistent-pty-ag6663bn.js} +7 -7
- package/dist/chunks/{repository-cache-tf3dncy2.js → persistent-pty-agfns39k.js} +5 -5
- package/dist/chunks/{repository-cache-dmvzxcj2.js → persistent-pty-ahrdm3aj.js} +17 -17
- package/dist/chunks/{repository-cache-2zbv25hc.js → persistent-pty-akt3csds.js} +11 -11
- package/dist/chunks/{repository-cache-dfe8djrf.js → persistent-pty-an7cqtb7.js} +4 -4
- package/dist/chunks/{repository-cache-eqte1rrt.js → persistent-pty-ap9dfpx5.js} +7 -7
- package/dist/chunks/{repository-cache-v1f63sx8.js → persistent-pty-aqqyz78k.js} +13 -13
- package/dist/chunks/{repository-cache-0mrmze5w.js → persistent-pty-awk4bmnf.js} +24 -24
- package/dist/chunks/{repository-cache-gdmgdw7j.js → persistent-pty-azs2rc3z.js} +6 -6
- package/dist/chunks/{repository-cache-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-cache-0gwdvabh.js → persistent-pty-b7skc9aj.js} +13 -13
- package/dist/chunks/{repository-cache-crse5cka.js → persistent-pty-b8c6h3xb.js} +23 -23
- package/dist/chunks/{repository-cache-p0a23dx6.js → persistent-pty-b99w0g26.js} +6 -6
- package/dist/chunks/{repository-cache-bby00dsd.js → persistent-pty-bby00dsd.js} +1 -1
- package/dist/chunks/{repository-cache-bp29fhze.js → persistent-pty-bem6a6z8.js} +15 -15
- package/dist/chunks/{repository-cache-ec25eqt6.js → persistent-pty-bj0ze64x.js} +13 -13
- package/dist/chunks/{repository-cache-wtngjqkb.js → persistent-pty-brv6cq0s.js} +22 -22
- package/dist/chunks/{repository-cache-p2ngd4p5.js → persistent-pty-bwtw07rb.js} +4 -4
- package/dist/chunks/{repository-cache-w89kcrbm.js → persistent-pty-c7zg7x3c.js} +48 -48
- package/dist/chunks/{repository-cache-19ywwdd4.js → persistent-pty-cbth7jfa.js} +17 -17
- package/dist/chunks/{repository-cache-96wc915e.js → persistent-pty-cd3bxnjg.js} +9 -9
- package/dist/chunks/{repository-cache-cfpkc3c9.js → persistent-pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{repository-cache-jvf3yq6v.js → persistent-pty-cxmh4q5b.js} +4 -4
- package/dist/chunks/{repository-cache-bfbs706x.js → persistent-pty-cza9j1er.js} +1 -1
- package/dist/chunks/{repository-cache-pb28tzs4.js → persistent-pty-d62yrf5j.js} +26 -26
- package/dist/chunks/{repository-cache-c78bbtc9.js → persistent-pty-d87ppnb3.js} +5 -5
- package/dist/chunks/{repository-cache-zsa173n5.js → persistent-pty-d9dst3t3.js} +10 -10
- package/dist/chunks/{repository-cache-c4b91qws.js → persistent-pty-d9tj6f20.js} +24 -24
- package/dist/chunks/{repository-cache-prbnmmzj.js → persistent-pty-da6kr1wx.js} +8 -8
- package/dist/chunks/{repository-cache-cqt2378a.js → persistent-pty-dh6431a9.js} +3 -3
- package/dist/chunks/{repository-cache-96btrfg2.js → persistent-pty-dmpt8hns.js} +5 -5
- package/dist/chunks/{repository-cache-y71avatq.js → persistent-pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{repository-cache-thy6r13a.js → persistent-pty-dr4h96fj.js} +32 -32
- package/dist/chunks/{repository-cache-ava6n5t5.js → persistent-pty-dw1fjyb0.js} +5 -5
- package/dist/chunks/{repository-cache-1jj4qxjt.js → persistent-pty-e17bkqjz.js} +1 -1
- package/dist/chunks/{repository-cache-prd8mh8w.js → persistent-pty-e2ztegh1.js} +20 -20
- package/dist/chunks/{repository-cache-hf83ja2d.js → persistent-pty-ea8nv0r7.js} +2 -2
- package/dist/chunks/{repository-cache-d2aac7k2.js → persistent-pty-ead3g9p8.js} +5 -5
- package/dist/chunks/{repository-cache-xcfb136s.js → persistent-pty-ehm2a07j.js} +11 -11
- package/dist/chunks/{repository-cache-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-cache-6fb9pw91.js → persistent-pty-evnp26tg.js} +12 -12
- package/dist/chunks/{repository-cache-9bbt8hg3.js → persistent-pty-ewyrcxn4.js} +20 -20
- package/dist/chunks/{repository-cache-w6sqybpe.js → persistent-pty-f1weefa4.js} +15 -15
- package/dist/chunks/{repository-cache-f828m53h.js → persistent-pty-f828m53h.js} +2 -2
- package/dist/chunks/{repository-cache-hqt9vmcs.js → persistent-pty-fbbdr9rn.js} +20 -20
- package/dist/chunks/{repository-cache-p4dkeycc.js → persistent-pty-fm8jr0de.js} +38 -38
- package/dist/chunks/{repository-cache-skvzv4w6.js → persistent-pty-fsxrvzy1.js} +5 -5
- package/dist/chunks/{repository-cache-waxra22z.js → persistent-pty-ftnt8sm4.js} +11 -11
- package/dist/chunks/{repository-cache-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{repository-cache-a3zzqvpe.js → persistent-pty-fzex66xc.js} +10 -10
- package/dist/chunks/{repository-cache-wp6wx7ve.js → persistent-pty-g14zqp48.js} +6 -6
- package/dist/chunks/{repository-cache-8d6mzkbv.js → persistent-pty-g36znxke.js} +16 -16
- package/dist/chunks/{repository-cache-qvxa9qgk.js → persistent-pty-g5d5n1kd.js} +42 -42
- package/dist/chunks/{repository-cache-e0vtkr8g.js → persistent-pty-g640k70z.js} +6 -6
- package/dist/chunks/{repository-cache-4qrj65j9.js → persistent-pty-gc9axj16.js} +7 -7
- package/dist/chunks/{repository-cache-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-cache-m6v021kz.js → persistent-pty-ggsyc5qm.js} +4 -4
- package/dist/chunks/{repository-cache-z4cbs5y4.js → persistent-pty-gngnamge.js} +4 -4
- package/dist/chunks/{repository-cache-8ssxn5x4.js → persistent-pty-grfax6bg.js} +15 -15
- package/dist/chunks/{repository-cache-y5fw0js9.js → persistent-pty-gtn38wb9.js} +10 -10
- package/dist/chunks/{repository-cache-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-cache-6acm0bve.js → persistent-pty-gvjc4wvc.js} +9 -9
- package/dist/chunks/{repository-cache-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{repository-cache-d9teafh5.js → persistent-pty-h14ne9sf.js} +6 -6
- package/dist/chunks/{repository-cache-q5j1bp2v.js → persistent-pty-h1cbn5my.js} +4 -4
- package/dist/chunks/{repository-cache-scp3yb2x.js → persistent-pty-h4epa83b.js} +18 -18
- package/dist/chunks/{repository-cache-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-cache-cec1zq9m.js → persistent-pty-hapv3ekj.js} +15 -15
- package/dist/chunks/{repository-cache-kpabkcqn.js → persistent-pty-hce77wk0.js} +33 -33
- package/dist/chunks/{repository-cache-j5208yae.js → persistent-pty-hdzt82x2.js} +4 -4
- package/dist/chunks/{repository-cache-psvs3tm8.js → persistent-pty-hgg7tghe.js} +8 -8
- package/dist/chunks/{repository-cache-5y4rn4jv.js → persistent-pty-hhd62ded.js} +7 -7
- package/dist/chunks/{repository-cache-93rybhbv.js → persistent-pty-hjnk9kpc.js} +86 -86
- package/dist/chunks/{repository-cache-47gsdddb.js → persistent-pty-hjt4xg1x.js} +7 -7
- package/dist/chunks/{repository-cache-6ftympvp.js → persistent-pty-hjvca3k7.js} +34 -34
- package/dist/chunks/{repository-cache-7btn171d.js → persistent-pty-hkvp06w1.js} +26 -26
- package/dist/chunks/{repository-cache-06dxphr1.js → persistent-pty-hrndf12w.js} +4 -4
- package/dist/chunks/persistent-pty-ht5y0zrb.js +18 -0
- package/dist/chunks/{repository-cache-b7vfn6np.js → persistent-pty-hzez76ws.js} +14 -14
- package/dist/chunks/{repository-cache-5wtatr6d.js → persistent-pty-j29g5m16.js} +9 -9
- package/dist/chunks/{repository-cache-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-cache-n1cm9b14.js → persistent-pty-j6ehekt9.js} +16 -16
- package/dist/chunks/{repository-cache-f6cernjp.js → persistent-pty-j7ne0kvx.js} +29 -29
- package/dist/chunks/{repository-cache-paphc93g.js → persistent-pty-j935v87r.js} +2 -2
- package/dist/chunks/{repository-cache-49sc4nfn.js → persistent-pty-jbp58yvw.js} +5 -5
- package/dist/chunks/{repository-cache-x50bgc5b.js → persistent-pty-jeanpfns.js} +1 -1
- package/dist/chunks/{repository-cache-yx2y4h4v.js → persistent-pty-jfbv0dxj.js} +6 -6
- package/dist/chunks/{repository-cache-jfqtm2ew.js → persistent-pty-jfqtm2ew.js} +1 -1
- package/dist/chunks/{repository-cache-h8kpkpct.js → persistent-pty-jgwaxhte.js} +9 -9
- package/dist/chunks/{repository-cache-b1jgk49p.js → persistent-pty-jhp2p10f.js} +9 -9
- package/dist/chunks/{repository-cache-magykp64.js → persistent-pty-jr3tywxk.js} +21 -21
- package/dist/chunks/{repository-cache-wcjyc11q.js → persistent-pty-k0nnq3t9.js} +6 -6
- package/dist/chunks/{repository-cache-rbm1b5j8.js → persistent-pty-k7t3n1wc.js} +29 -29
- package/dist/chunks/{repository-cache-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
- package/dist/chunks/{repository-cache-5bcahdyk.js → persistent-pty-khxf73f1.js} +13 -13
- package/dist/chunks/{repository-cache-w3zz45zz.js → persistent-pty-knzb2q45.js} +16 -16
- package/dist/chunks/{repository-cache-48cm3azc.js → persistent-pty-kp4m38ba.js} +26 -26
- package/dist/chunks/{repository-cache-0jpcn9rd.js → persistent-pty-kq4dwxxq.js} +10 -10
- package/dist/chunks/{repository-cache-jefma2gq.js → persistent-pty-kt5w8vxh.js} +3 -3
- package/dist/chunks/persistent-pty-m4pp9rhr.js +462 -0
- package/dist/chunks/{repository-cache-w6xg9mzm.js → persistent-pty-m7y3f53v.js} +4 -4
- package/dist/chunks/{repository-cache-h7ygw6q4.js → persistent-pty-m86bnw2c.js} +9 -9
- package/dist/chunks/{repository-cache-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-qse1qpjw.js → persistent-pty-mk8mwmng.js} +37 -37
- package/dist/chunks/{repository-cache-kwj37acz.js → persistent-pty-n33yzhyc.js} +21 -21
- package/dist/chunks/{repository-cache-nyst5tsy.js → persistent-pty-n3h5xxke.js} +22 -22
- package/dist/chunks/{repository-cache-yqnz8h4g.js → persistent-pty-n63a0fh6.js} +15 -15
- package/dist/chunks/{repository-cache-qn4ba14w.js → persistent-pty-nadg9pcd.js} +5 -5
- package/dist/chunks/{repository-cache-nev2fxrj.js → persistent-pty-njr070nn.js} +20 -20
- package/dist/chunks/{repository-cache-fyymr9xg.js → persistent-pty-nw2nz702.js} +4 -4
- package/dist/chunks/{repository-cache-3n1nkk67.js → persistent-pty-p8wqtd46.js} +63 -63
- package/dist/chunks/{repository-cache-6ytrycwf.js → persistent-pty-p9km1gz3.js} +22 -22
- package/dist/chunks/persistent-pty-pcc2jen2.js +22 -0
- package/dist/chunks/{repository-cache-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-cache-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-za3dtc0x.js → persistent-pty-pns73tnr.js} +1 -1
- package/dist/chunks/{repository-cache-tx2y7v18.js → persistent-pty-q382xdnw.js} +26 -26
- package/dist/chunks/{repository-cache-agsex9am.js → persistent-pty-qm7jrdpz.js} +8 -8
- package/dist/chunks/{repository-cache-f670kavr.js → persistent-pty-qmy7xtej.js} +1 -1
- package/dist/chunks/{repository-cache-44aqy5gr.js → persistent-pty-qp6756r8.js} +30 -30
- package/dist/chunks/{repository-cache-9agdsh9n.js → persistent-pty-qq65p8vg.js} +11 -11
- package/dist/chunks/{repository-cache-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-cache-ss0awb04.js → persistent-pty-qz49fwgp.js} +4 -4
- package/dist/chunks/{repository-cache-mhkvc446.js → persistent-pty-r5x6zcsm.js} +3 -3
- package/dist/chunks/{repository-cache-r9mregkx.js → persistent-pty-r9mregkx.js} +2 -2
- package/dist/chunks/{repository-cache-96kghewk.js → persistent-pty-radr3yff.js} +13 -13
- package/dist/chunks/{repository-cache-aym07vwf.js → persistent-pty-rd2nkd0p.js} +16 -16
- package/dist/chunks/{repository-cache-cssy2j8r.js → persistent-pty-rvz6msw0.js} +13 -13
- package/dist/chunks/{repository-cache-cwxby6pr.js → persistent-pty-rzn68cdd.js} +9 -9
- package/dist/chunks/{repository-cache-yrznvahk.js → persistent-pty-s4enseaf.js} +2 -2
- package/dist/chunks/{repository-cache-vpt86awd.js → persistent-pty-s76nk363.js} +12 -12
- package/dist/chunks/{repository-cache-afa7f2c6.js → persistent-pty-s7m2x4kt.js} +50 -50
- package/dist/chunks/{repository-cache-s8d7rejh.js → persistent-pty-s8d7rejh.js} +1 -1
- package/dist/chunks/{repository-cache-xywr1wcm.js → persistent-pty-sdsmrv3v.js} +14 -14
- package/dist/chunks/{repository-cache-qdnhjq4f.js → persistent-pty-sfxwf0ta.js} +11 -11
- package/dist/chunks/{repository-cache-k587grms.js → persistent-pty-svskfwkh.js} +2 -2
- package/dist/chunks/{repository-cache-cmpzft2x.js → persistent-pty-szbf9hj0.js} +22 -22
- package/dist/chunks/{repository-cache-arq879wx.js → persistent-pty-szdez07b.js} +6 -6
- package/dist/chunks/{repository-cache-xznwr7ns.js → persistent-pty-t8wk4avw.js} +11 -11
- package/dist/chunks/{repository-cache-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-cache-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-cache-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{repository-cache-bazcgppa.js → persistent-pty-tfjqyvk6.js} +6 -6
- package/dist/chunks/{repository-cache-nebm0gew.js → persistent-pty-tgqjfyja.js} +3 -3
- package/dist/chunks/{repository-cache-q751p06t.js → persistent-pty-tgs7p31y.js} +29 -29
- package/dist/chunks/{repository-cache-w9ytv6gf.js → persistent-pty-tjfw1za4.js} +10 -10
- package/dist/chunks/{repository-cache-00787bmp.js → persistent-pty-tnq3p80p.js} +11 -11
- package/dist/chunks/{repository-cache-gb6c6afg.js → persistent-pty-tq94g21h.js} +3 -3
- package/dist/chunks/{repository-cache-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-cache-twy35tz0.js → persistent-pty-twy35tz0.js} +2 -2
- package/dist/chunks/{repository-cache-hhcd6ahx.js → persistent-pty-txfe9bzh.js} +41 -41
- package/dist/chunks/{repository-cache-5c13e4gs.js → persistent-pty-tys4kk6f.js} +26 -26
- package/dist/chunks/{repository-cache-k4a4y6vh.js → persistent-pty-v3t9d055.js} +16 -16
- package/dist/chunks/{repository-cache-6f2p2q0p.js → persistent-pty-va89syh5.js} +30 -30
- package/dist/chunks/{repository-cache-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-xkz0p8cz.js → persistent-pty-vfarjvhq.js} +10 -10
- package/dist/chunks/{repository-cache-ex4zhymv.js → persistent-pty-vgqed5s0.js} +20 -20
- package/dist/chunks/{repository-cache-mq4fp87a.js → persistent-pty-vsbkejts.js} +10 -10
- package/dist/chunks/{repository-cache-wvat7gb2.js → persistent-pty-vxpy1f9m.js} +9 -9
- package/dist/chunks/{repository-cache-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-cache-wnpvw90s.js → persistent-pty-w39jxxw7.js} +23 -23
- package/dist/chunks/{repository-cache-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-ty9cn3m0.js → persistent-pty-w572f1ch.js} +16 -16
- package/dist/chunks/{repository-cache-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-s8195qaq.js → persistent-pty-wdm18wae.js} +4 -4
- package/dist/chunks/{repository-cache-3r28q6a9.js → persistent-pty-wphcxv4k.js} +10 -10
- package/dist/chunks/{repository-cache-cdvkhjgb.js → persistent-pty-wq28fpm9.js} +21 -21
- package/dist/chunks/{repository-cache-sk7ax4wa.js → persistent-pty-wqc0af95.js} +25 -25
- package/dist/chunks/{repository-cache-fe5y4fwd.js → persistent-pty-wzk2dcjy.js} +13 -13
- package/dist/chunks/{repository-cache-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-cache-dykm6d0s.js → persistent-pty-x5hahj8f.js} +43 -43
- package/dist/chunks/{repository-cache-r2s0xq0f.js → persistent-pty-x86qc38n.js} +25 -25
- package/dist/chunks/{repository-cache-6yksd8rj.js → persistent-pty-xf783ser.js} +22 -22
- package/dist/chunks/{repository-cache-735v08rd.js → persistent-pty-xvgh8vxx.js} +16 -16
- package/dist/chunks/{repository-cache-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-cache-vqctwdvd.js → persistent-pty-yj8ww8v9.js} +21 -21
- package/dist/chunks/{repository-cache-1acjjqhc.js → persistent-pty-yp2x3t23.js} +4 -4
- package/dist/chunks/{repository-cache-a92mnrhm.js → persistent-pty-ypy7xg3m.js} +25 -25
- package/dist/chunks/{repository-cache-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-cache-vsqds22x.js → persistent-pty-ywnt24na.js} +3 -3
- package/dist/chunks/{repository-cache-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-7cb3jwtf.js → persistent-pty-z4a9sax2.js} +5 -5
- package/dist/chunks/{repository-cache-2h82j4a6.js → persistent-pty-zbr6jhfd.js} +24 -24
- package/dist/chunks/{repository-cache-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-cache-sz6bnm18.js → persistent-pty-zf1fnb9x.js} +11 -11
- package/dist/chunks/{repository-cache-jmfdmvz8.js → persistent-pty-znnrkdj7.js} +15 -15
- package/dist/chunks/{repository-cache-tjb6h3w6.js → persistent-pty-znrr5g8g.js} +5 -5
- package/dist/chunks/{repository-cache-49snx342.js → persistent-pty-zpte1r0p.js} +8 -8
- package/dist/chunks/{repository-cache-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-cache-rppmaq1v.js → persistent-pty-zw1h157g.js} +20 -20
- package/dist/chunks/{repository-cache-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +112 -112
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +76 -76
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +92 -92
- package/dist/git.js +3 -3
- 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 +7 -7
- 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 +352 -352
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +349 -349
- package/dist/location.js +77 -77
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +85 -85
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +76 -76
- package/dist/provider.js +5 -5
- 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 +91 -91
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +83 -83
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +148 -148
- 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 +217 -217
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +210 -210
- 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 +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +87 -87
- 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 +122 -122
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- 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 +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/repository-cache-0d99cpb0.js +0 -462
- package/dist/chunks/repository-cache-6kdq0pjd.js +0 -4
- package/dist/chunks/repository-cache-9c7kcab0.js +0 -247
- package/dist/chunks/repository-cache-at2k3fr9.js +0 -22
- package/dist/chunks/repository-cache-by5v678g.js +0 -18
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-hrnqkpcd.js → persistent-pty-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-gngnamge.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-svskfwkh.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service67,
|
|
14
|
+
node72
|
|
15
|
+
} from "./persistent-pty-rd2nkd0p.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service11,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node14
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service79;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service67;
|
|
41
41
|
const location = yield* Service76;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service11.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node14 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node84, FSUtil.node, node81,
|
|
101
|
+
deps: [node84, FSUtil.node, node81, node72]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service11, node14, exports_instructions };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-gngnamge.js";
|
|
8
8
|
import {
|
|
9
9
|
Event19,
|
|
10
10
|
Service74,
|
|
11
11
|
node79
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9z5caz15.js";
|
|
13
13
|
import {
|
|
14
14
|
Service76,
|
|
15
15
|
node81
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-svskfwkh.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service59,
|
|
19
|
+
node63
|
|
20
|
+
} from "./persistent-pty-n33yzhyc.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID9,
|
|
23
|
+
Service63,
|
|
24
|
+
node68
|
|
25
|
+
} from "./persistent-pty-tys4kk6f.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./persistent-pty-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID7,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service57,
|
|
34
|
+
node61
|
|
35
|
+
} from "./persistent-pty-vgqed5s0.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 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service27,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured3,
|
|
66
|
+
layer: () => layer13,
|
|
67
|
+
node: () => node32
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID7.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,20 +165,20 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service27 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options3 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
176
|
+
var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
177
177
|
const location = yield* Service76;
|
|
178
|
-
const environment = yield*
|
|
178
|
+
const environment = yield* Service59;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
180
|
+
const forms = yield* Service63;
|
|
181
|
+
const integration = yield* Service57;
|
|
182
182
|
const credentials = yield* Service74;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -191,7 +191,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID7.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError3({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -315,7 +315,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID9.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* 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(
|
|
436
|
+
const result = yield* 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(Service59, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -587,7 +587,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service27.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured3(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [node81,
|
|
712
|
+
service: Service27,
|
|
713
|
+
layer: layer13(options),
|
|
714
|
+
deps: [node81, node63, node84, node68, node61, node79]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node32 = configured3();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service27, Options3, layer13, configured3, node32, exports_mcp4 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-svskfwkh.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
DiffError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-v3t9d055.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/vcs/git.ts
|
|
19
19
|
var exports_git = {};
|
|
20
20
|
__export(exports_git, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin33,
|
|
22
22
|
VcsGitPlugin: () => exports_git
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { Effect } from "effect";
|
|
26
26
|
import { ChildProcess } from "effect/unstable/process";
|
|
27
27
|
import { AppProcess } from "@opencode/util/process";
|
|
28
|
-
var
|
|
28
|
+
var Plugin33 = define({
|
|
29
29
|
id: "opencode.vcs.git",
|
|
30
30
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
31
31
|
const location = yield* Service76;
|
|
@@ -467,4 +467,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
467
467
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
468
468
|
});
|
|
469
469
|
|
|
470
|
-
export {
|
|
470
|
+
export { Plugin33, exports_git };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-j6ehekt9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-ywnt24na.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options7,
|
|
15
|
+
Service: () => Service62,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured9,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node67,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve2
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options7 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service62 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service62.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin))
|
|
206
206
|
});
|
|
207
207
|
}));
|
|
208
|
-
function
|
|
209
|
-
return makeLocationNode({ service:
|
|
208
|
+
function configured9(options) {
|
|
209
|
+
return makeLocationNode({ service: Service62, layer: layer(options), deps: [Global.node] });
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var node67 = configured9();
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Options7, Service62, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured9, node67, exports_select };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./persistent-pty-1vg6t9wt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service27
|
|
6
|
+
} from "./persistent-pty-g5d5n1kd.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin29,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin29 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service70;
|
|
28
|
+
const mcp = yield* Service27;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin29, register2, exports_mcp };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/directory.ts
|
|
9
9
|
var exports_directory = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./persistent-pty-1vg6t9wt.js";
|
|
4
4
|
import {
|
|
5
5
|
Service8
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-twy35tz0.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin26
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin26 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service70;
|
|
26
26
|
const policy = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
@@ -35,4 +35,4 @@ var Plugin7 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin26, exports_location_watcher2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID7,
|
|
3
|
+
Service57
|
|
4
|
+
} from "./persistent-pty-vgqed5s0.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-g14zqp48.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -13,7 +13,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
13
13
|
var LLMGatewayPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.llmgateway",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
16
|
-
const integrations = yield*
|
|
16
|
+
const integrations = yield* Service57;
|
|
17
17
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
18
18
|
yield* ctx.catalog.transform((evt) => {
|
|
19
19
|
for (const item of evt.provider.list()) {
|
|
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
25
25
|
continue;
|
|
26
26
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
27
27
|
continue;
|
|
28
|
-
if (!configured.has(
|
|
28
|
+
if (!configured.has(ID7.make(item.provider.id)))
|
|
29
29
|
continue;
|
|
30
30
|
evt.provider.update(item.provider.id, (provider) => {
|
|
31
31
|
provider.headers = {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
7
7
|
__export(exports_opencode, {
|
|
8
8
|
MoveInput: () => MoveInput2,
|
|
9
9
|
OpenCodeTools: () => exports_opencode,
|
|
10
|
-
Plugin: () =>
|
|
10
|
+
Plugin: () => Plugin11,
|
|
11
11
|
RenameInput: () => RenameInput2
|
|
12
12
|
});
|
|
13
13
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
|
|
29
|
-
var
|
|
29
|
+
var Plugin11 = {
|
|
30
30
|
id: "opencode.tools",
|
|
31
31
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
32
32
|
yield* ctx.session.hook("context", (event) => Effect.sync(() => {
|
|
@@ -74,4 +74,4 @@ var Plugin43 = {
|
|
|
74
74
|
})
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
-
export { RenameInput2, MoveInput2,
|
|
77
|
+
export { RenameInput2, MoveInput2, Plugin11, exports_opencode };
|