@opencode/core 0.0.0-dev-19508 → 0.0.0-dev-19510
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 +80 -80
- 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/{persistent-pty-93zryg1y.js → repository-cache-00787bmp.js} +13 -13
- package/dist/chunks/{persistent-pty-8hxnf17y.js → repository-cache-00agp6tm.js} +17 -17
- package/dist/chunks/{persistent-pty-06dxphr1.js → repository-cache-06dxphr1.js} +1 -1
- package/dist/chunks/repository-cache-0d99cpb0.js +462 -0
- package/dist/chunks/{persistent-pty-0a6bkr20.js → repository-cache-0gwdvabh.js} +13 -13
- package/dist/chunks/{persistent-pty-0p5r239s.js → repository-cache-0jpcn9rd.js} +7 -7
- package/dist/chunks/{persistent-pty-9kfc4wnk.js → repository-cache-0mrmze5w.js} +16 -16
- package/dist/chunks/{persistent-pty-0paq2nw3.js → repository-cache-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → repository-cache-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-h9nwmjzt.js → repository-cache-19ywwdd4.js} +17 -17
- package/dist/chunks/{persistent-pty-rhraev7y.js → repository-cache-1acjjqhc.js} +4 -4
- package/dist/chunks/{persistent-pty-1dazxqgg.js → repository-cache-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-xbh0n0bt.js → repository-cache-1jj4qxjt.js} +1 -1
- package/dist/chunks/{persistent-pty-21r38tys.js → repository-cache-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-2a5m3afh.js → repository-cache-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-25hvwd8a.js → repository-cache-2fn4yps5.js} +7 -7
- package/dist/chunks/{persistent-pty-65wkgmh5.js → repository-cache-2h82j4a6.js} +20 -20
- package/dist/chunks/{persistent-pty-evyr1yy2.js → repository-cache-2zbv25hc.js} +8 -8
- package/dist/chunks/{persistent-pty-06tybfx6.js → repository-cache-306db5gv.js} +5 -5
- package/dist/chunks/{persistent-pty-q95aeeb4.js → repository-cache-37grp35b.js} +8 -8
- package/dist/chunks/{persistent-pty-3fc6dm20.js → repository-cache-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-cztn7rx7.js → repository-cache-3g10qwm7.js} +15 -15
- package/dist/chunks/{persistent-pty-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-e6h7j64h.js → repository-cache-3kvk53sn.js} +4 -4
- package/dist/chunks/{persistent-pty-1rwk5gxb.js → repository-cache-3n1nkk67.js} +54 -54
- package/dist/chunks/{persistent-pty-5ehz2tea.js → repository-cache-3r28q6a9.js} +10 -10
- package/dist/chunks/{persistent-pty-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-3fsh0gaz.js → repository-cache-3x1xb6f1.js} +4 -4
- package/dist/chunks/{persistent-pty-n4zaccwn.js → repository-cache-44aqy5gr.js} +30 -30
- package/dist/chunks/{persistent-pty-hjt4xg1x.js → repository-cache-47gsdddb.js} +7 -7
- package/dist/chunks/{persistent-pty-wsphynk5.js → repository-cache-48cm3azc.js} +28 -28
- package/dist/chunks/{persistent-pty-4m8ycsnb.js → repository-cache-49sc4nfn.js} +8 -8
- package/dist/chunks/{persistent-pty-cabas1zx.js → repository-cache-49snx342.js} +8 -8
- package/dist/chunks/{persistent-pty-c81ww30d.js → repository-cache-4qrj65j9.js} +7 -7
- package/dist/chunks/{persistent-pty-3gqv5pt4.js → repository-cache-4taqtrjz.js} +11 -11
- package/dist/chunks/{persistent-pty-pvk75rey.js → repository-cache-4wg4wmjw.js} +31 -31
- package/dist/chunks/{persistent-pty-4y66k410.js → repository-cache-4y66k410.js} +2 -2
- package/dist/chunks/{persistent-pty-xdw78xdg.js → repository-cache-590d2czn.js} +8 -8
- package/dist/chunks/{persistent-pty-1gz3swn9.js → repository-cache-5bcahdyk.js} +13 -13
- package/dist/chunks/{persistent-pty-e20g3j14.js → repository-cache-5c13e4gs.js} +10 -10
- package/dist/chunks/{persistent-pty-5daktx2q.js → repository-cache-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-9pydy7p8.js → repository-cache-5ebtz5cw.js} +17 -17
- package/dist/chunks/{persistent-pty-5t3nmthw.js → repository-cache-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-vpbkq0tp.js → repository-cache-5wtatr6d.js} +9 -9
- package/dist/chunks/{persistent-pty-hznavjj0.js → repository-cache-5y4rn4jv.js} +7 -7
- package/dist/chunks/{persistent-pty-669tq793.js → repository-cache-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-3f2bzmyt.js → repository-cache-6acm0bve.js} +14 -14
- package/dist/chunks/{persistent-pty-s363er1w.js → repository-cache-6f2p2q0p.js} +28 -28
- package/dist/chunks/{persistent-pty-hn3jadw3.js → repository-cache-6fb9pw91.js} +22 -22
- package/dist/chunks/{persistent-pty-hvw084np.js → repository-cache-6ftympvp.js} +32 -32
- package/dist/chunks/{persistent-pty-2402vzrj.js → repository-cache-6h73sxmp.js} +5 -5
- package/dist/chunks/repository-cache-6kdq0pjd.js +4 -0
- package/dist/chunks/{persistent-pty-6msgmcgs.js → repository-cache-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-bvk12tx6.js → repository-cache-6yksd8rj.js} +18 -18
- package/dist/chunks/{persistent-pty-ab6mj8jw.js → repository-cache-6ytrycwf.js} +13 -13
- package/dist/chunks/{persistent-pty-71q4at8m.js → repository-cache-71q4at8m.js} +1 -1
- package/dist/chunks/{persistent-pty-4290jz7g.js → repository-cache-735v08rd.js} +16 -16
- package/dist/chunks/{persistent-pty-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-brjc8r87.js → repository-cache-7btn171d.js} +22 -22
- package/dist/chunks/{persistent-pty-7qfh1exc.js → repository-cache-7cb3jwtf.js} +5 -5
- package/dist/chunks/{persistent-pty-7dqw4kz8.js → repository-cache-7dqw4kz8.js} +1 -1
- package/dist/chunks/{persistent-pty-81swgkk7.js → repository-cache-81swgkk7.js} +2 -2
- package/dist/chunks/{persistent-pty-6758qdb8.js → repository-cache-8d6mzkbv.js} +16 -16
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → repository-cache-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-35rehqpd.js → repository-cache-8dr3htqb.js} +9 -9
- package/dist/chunks/{persistent-pty-14bvgx98.js → repository-cache-8h6f7dvd.js} +9 -9
- package/dist/chunks/{persistent-pty-dj2t23y0.js → repository-cache-8p4f9s12.js} +2 -2
- package/dist/chunks/{persistent-pty-thc7yeg9.js → repository-cache-8ssxn5x4.js} +17 -17
- package/dist/chunks/{persistent-pty-rrhm3cf6.js → repository-cache-93rybhbv.js} +84 -84
- package/dist/chunks/{persistent-pty-xgkhd5qd.js → repository-cache-948vg2pw.js} +7 -7
- package/dist/chunks/{persistent-pty-mp733p07.js → repository-cache-96btrfg2.js} +5 -5
- package/dist/chunks/{persistent-pty-7kk61tk1.js → repository-cache-96kghewk.js} +13 -13
- package/dist/chunks/{persistent-pty-tn773g8e.js → repository-cache-96wc915e.js} +11 -11
- package/dist/chunks/{persistent-pty-tdpb0dc4.js → repository-cache-9agdsh9n.js} +11 -11
- package/dist/chunks/{persistent-pty-737r9kjt.js → repository-cache-9bbt8hg3.js} +14 -14
- package/dist/chunks/repository-cache-9c7kcab0.js +247 -0
- package/dist/chunks/{persistent-pty-nng2ktcm.js → repository-cache-9jwxq161.js} +2 -2
- package/dist/chunks/{persistent-pty-d8qdyyaw.js → repository-cache-9pcadkya.js} +151 -151
- package/dist/chunks/{persistent-pty-5c4hm403.js → repository-cache-a1bz86dw.js} +3 -3
- package/dist/chunks/{persistent-pty-2k14bdsh.js → repository-cache-a3zzqvpe.js} +9 -9
- package/dist/chunks/{persistent-pty-thbdkye2.js → repository-cache-a92mnrhm.js} +25 -25
- package/dist/chunks/{persistent-pty-aaet6srn.js → repository-cache-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-4q1gpajt.js → repository-cache-afa7f2c6.js} +48 -48
- package/dist/chunks/{persistent-pty-wvwzws3d.js → repository-cache-afrwt492.js} +11 -11
- package/dist/chunks/{persistent-pty-agsex9am.js → repository-cache-agsex9am.js} +2 -2
- package/dist/chunks/{persistent-pty-y81yzj42.js → repository-cache-akfths19.js} +36 -36
- package/dist/chunks/{persistent-pty-a7wgtnts.js → repository-cache-arq879wx.js} +6 -6
- package/dist/chunks/{persistent-pty-844ef7ks.js → repository-cache-asmz7wyz.js} +8 -8
- package/dist/chunks/repository-cache-at2k3fr9.js +22 -0
- package/dist/chunks/{persistent-pty-enks4xxx.js → repository-cache-ava6n5t5.js} +5 -5
- package/dist/chunks/{persistent-pty-kkzzhrpn.js → repository-cache-aym07vwf.js} +12 -12
- package/dist/chunks/{persistent-pty-h6w5vgvg.js → repository-cache-azqcdpv6.js} +41 -41
- package/dist/chunks/{persistent-pty-ep6z9mt6.js → repository-cache-b1h1c68h.js} +6 -6
- package/dist/chunks/{persistent-pty-zdae6k0q.js → repository-cache-b1jgk49p.js} +9 -9
- package/dist/chunks/{persistent-pty-40ykk5rq.js → repository-cache-b3q7ckfa.js} +15 -15
- package/dist/chunks/{persistent-pty-b6gygkdw.js → repository-cache-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-30fz79vd.js → repository-cache-b7vfn6np.js} +11 -11
- package/dist/chunks/{persistent-pty-kava7r05.js → repository-cache-bazcgppa.js} +6 -6
- package/dist/chunks/{persistent-pty-9pm6y0s1.js → repository-cache-bby00dsd.js} +8 -8
- package/dist/chunks/{persistent-pty-1nfpt5r1.js → repository-cache-bfbs706x.js} +1 -1
- package/dist/chunks/{persistent-pty-13ne6j1k.js → repository-cache-bp29fhze.js} +13 -13
- package/dist/chunks/{persistent-pty-rb6q9cnt.js → repository-cache-bpdv2q4q.js} +17 -17
- package/dist/chunks/repository-cache-by5v678g.js +18 -0
- package/dist/chunks/{persistent-pty-bqtkya02.js → repository-cache-c4b91qws.js} +21 -21
- package/dist/chunks/{persistent-pty-c78bbtc9.js → repository-cache-c78bbtc9.js} +2 -2
- package/dist/chunks/{persistent-pty-apvn9gva.js → repository-cache-c9qfb572.js} +25 -25
- package/dist/chunks/{persistent-pty-3den1rf5.js → repository-cache-cdvkhjgb.js} +27 -27
- package/dist/chunks/{persistent-pty-q03s0nwp.js → repository-cache-cec1zq9m.js} +15 -15
- package/dist/chunks/{persistent-pty-vg8k19ea.js → repository-cache-cesx3e6j.js} +11 -11
- package/dist/chunks/{persistent-pty-m0jqrx5p.js → repository-cache-cfpkc3c9.js} +2 -2
- package/dist/chunks/{persistent-pty-s2zxn96c.js → repository-cache-cmpzft2x.js} +22 -22
- package/dist/chunks/{persistent-pty-k8g08nhg.js → repository-cache-cqt2378a.js} +3 -3
- package/dist/chunks/{persistent-pty-7sf6wms8.js → repository-cache-crse5cka.js} +23 -23
- package/dist/chunks/{persistent-pty-qgt0wznr.js → repository-cache-cssy2j8r.js} +13 -13
- package/dist/chunks/{persistent-pty-6d5601zx.js → repository-cache-cvddfarj.js} +12 -12
- package/dist/chunks/{persistent-pty-4etgcfvy.js → repository-cache-cwxby6pr.js} +9 -9
- package/dist/chunks/{persistent-pty-af04s6ss.js → repository-cache-d2aac7k2.js} +5 -5
- package/dist/chunks/{persistent-pty-d50f2zf5.js → repository-cache-d50f2zf5.js} +1 -1
- package/dist/chunks/{persistent-pty-6e3433qf.js → repository-cache-d66qjsz4.js} +17 -17
- package/dist/chunks/{persistent-pty-n50hv1t5.js → repository-cache-d9teafh5.js} +4 -4
- package/dist/chunks/{persistent-pty-ve4pfa0n.js → repository-cache-dfe8djrf.js} +4 -4
- package/dist/chunks/{persistent-pty-vjgbmtbs.js → repository-cache-dk17j58h.js} +33 -33
- package/dist/chunks/{persistent-pty-j6qna7nq.js → repository-cache-dkqawgjf.js} +4 -4
- package/dist/chunks/{persistent-pty-c8a77b8b.js → repository-cache-dmvzxcj2.js} +17 -17
- package/dist/chunks/{persistent-pty-kxme779d.js → repository-cache-dykm6d0s.js} +38 -38
- package/dist/chunks/{persistent-pty-x9s9yqdy.js → repository-cache-e0vtkr8g.js} +6 -6
- package/dist/chunks/{persistent-pty-adbnwx63.js → repository-cache-ec25eqt6.js} +11 -11
- package/dist/chunks/{persistent-pty-mhnt32v1.js → repository-cache-eqte1rrt.js} +7 -7
- package/dist/chunks/{persistent-pty-etq0c3wd.js → repository-cache-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-3snfyfpy.js → repository-cache-ex4zhymv.js} +12 -12
- package/dist/chunks/{persistent-pty-b7bw3hr1.js → repository-cache-f07f5max.js} +18 -18
- package/dist/chunks/{persistent-pty-8baymvr8.js → repository-cache-f670kavr.js} +1 -1
- package/dist/chunks/{persistent-pty-2fs7h1wz.js → repository-cache-f6cernjp.js} +25 -25
- package/dist/chunks/{persistent-pty-hdnk95c8.js → repository-cache-f828m53h.js} +2 -2
- package/dist/chunks/{persistent-pty-h8ymazte.js → repository-cache-fdyt9w1r.js} +10 -10
- package/dist/chunks/{persistent-pty-4775as7b.js → repository-cache-fe5y4fwd.js} +13 -13
- package/dist/chunks/{persistent-pty-3v8nnc6y.js → repository-cache-fm4b3qmy.js} +8 -8
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → repository-cache-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-915t83ht.js → repository-cache-fyjrpq2n.js} +3 -3
- package/dist/chunks/{persistent-pty-zj09a0ew.js → repository-cache-fyymr9xg.js} +4 -4
- package/dist/chunks/{persistent-pty-2efc4pfm.js → repository-cache-g3pa8mhf.js} +12 -12
- package/dist/chunks/{persistent-pty-0dpda0nx.js → repository-cache-gb6c6afg.js} +3 -3
- package/dist/chunks/{persistent-pty-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-1zcyjaqm.js → repository-cache-gdmgdw7j.js} +6 -6
- package/dist/chunks/{persistent-pty-rbj3wcwb.js → repository-cache-gjbb8j7c.js} +25 -25
- package/dist/chunks/{persistent-pty-zb4p73ts.js → repository-cache-gqr0prwp.js} +4 -4
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → repository-cache-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-h03wrkyp.js → repository-cache-h03wrkyp.js} +2 -2
- package/dist/chunks/{persistent-pty-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-gsx0ryk4.js → repository-cache-h7ygw6q4.js} +9 -9
- package/dist/chunks/{persistent-pty-d99y5ch1.js → repository-cache-h8kpkpct.js} +9 -9
- package/dist/chunks/{persistent-pty-01375378.js → repository-cache-hf83ja2d.js} +2 -2
- package/dist/chunks/{persistent-pty-7ac170kv.js → repository-cache-hfdr1yjj.js} +4 -4
- package/dist/chunks/{persistent-pty-ttxd2ccf.js → repository-cache-hhcd6ahx.js} +34 -34
- package/dist/chunks/{persistent-pty-cykwnt9q.js → repository-cache-hj5qcc5b.js} +11 -11
- package/dist/chunks/{persistent-pty-tdtzb82r.js → repository-cache-hqt9vmcs.js} +18 -18
- package/dist/chunks/{persistent-pty-3ykzfd22.js → repository-cache-j5208yae.js} +9 -9
- package/dist/chunks/{persistent-pty-j56e64zr.js → repository-cache-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-3jm4qh1z.js → repository-cache-j6camevd.js} +16 -16
- package/dist/chunks/{persistent-pty-kt5w8vxh.js → repository-cache-jefma2gq.js} +3 -3
- package/dist/chunks/{persistent-pty-jfqtm2ew.js → repository-cache-jfqtm2ew.js} +1 -1
- package/dist/chunks/{persistent-pty-tdpndm1c.js → repository-cache-jgttmm4a.js} +5 -5
- package/dist/chunks/{persistent-pty-2504gt3d.js → repository-cache-jmfdmvz8.js} +15 -15
- package/dist/chunks/{persistent-pty-p1afpxvg.js → repository-cache-jmwjz9ee.js} +74 -74
- package/dist/chunks/{persistent-pty-4kgv92xd.js → repository-cache-jv5mxt3g.js} +18 -18
- package/dist/chunks/{persistent-pty-n4r3xatb.js → repository-cache-jvf3yq6v.js} +4 -4
- package/dist/chunks/{persistent-pty-4tb880m7.js → repository-cache-k4a4y6vh.js} +13 -13
- package/dist/chunks/{persistent-pty-154046h8.js → repository-cache-k587grms.js} +2 -2
- package/dist/chunks/{persistent-pty-kg06axw8.js → repository-cache-kg06axw8.js} +1 -1
- package/dist/chunks/{persistent-pty-71x7hxqe.js → repository-cache-kpabkcqn.js} +33 -33
- package/dist/chunks/{persistent-pty-6spvy77a.js → repository-cache-kwj37acz.js} +21 -21
- package/dist/chunks/{persistent-pty-r1spfp0h.js → repository-cache-m6v021kz.js} +6 -6
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-magykp64.js → repository-cache-magykp64.js} +1 -1
- package/dist/chunks/{persistent-pty-mfqp6xfm.js → repository-cache-mfqp6xfm.js} +2 -2
- package/dist/chunks/{persistent-pty-73tb2d7t.js → repository-cache-mhkvc446.js} +3 -3
- package/dist/chunks/{persistent-pty-zesek9va.js → repository-cache-mq4fp87a.js} +10 -10
- package/dist/chunks/{persistent-pty-w8a3k0bq.js → repository-cache-n1cm9b14.js} +22 -22
- package/dist/chunks/{persistent-pty-cw8m5w0x.js → repository-cache-nebm0gew.js} +3 -3
- package/dist/chunks/{persistent-pty-8f39y4xw.js → repository-cache-nev2fxrj.js} +22 -22
- package/dist/chunks/{persistent-pty-tw6cn0kx.js → repository-cache-nkr33rs8.js} +29 -29
- package/dist/chunks/{persistent-pty-q5rhn9x0.js → repository-cache-nm6nhamf.js} +10 -10
- package/dist/chunks/{persistent-pty-bck43prn.js → repository-cache-np79qykh.js} +26 -26
- package/dist/chunks/{persistent-pty-9k50aszd.js → repository-cache-nyst5tsy.js} +26 -26
- package/dist/chunks/{persistent-pty-ebah8r6x.js → repository-cache-p0a23dx6.js} +6 -6
- package/dist/chunks/{persistent-pty-zx5ykxc9.js → repository-cache-p2ngd4p5.js} +4 -4
- package/dist/chunks/{persistent-pty-yk9d6695.js → repository-cache-p4dkeycc.js} +42 -42
- package/dist/chunks/{persistent-pty-vy25vtdv.js → repository-cache-pb28tzs4.js} +25 -25
- package/dist/chunks/{persistent-pty-kz70mmnm.js → repository-cache-pdmzt19y.js} +1 -1
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-hhyycrpc.js → repository-cache-pkvsb09a.js} +33 -33
- package/dist/chunks/{persistent-pty-tx9qvpbt.js → repository-cache-prbnmmzj.js} +4 -4
- package/dist/chunks/{persistent-pty-7yfdgj8f.js → repository-cache-prd8mh8w.js} +20 -20
- package/dist/chunks/{persistent-pty-s4bk4abw.js → repository-cache-psvs3tm8.js} +8 -8
- package/dist/chunks/{persistent-pty-e9cy62py.js → repository-cache-q5j1bp2v.js} +4 -4
- package/dist/chunks/{persistent-pty-487k7jth.js → repository-cache-q751p06t.js} +22 -22
- package/dist/chunks/{persistent-pty-5mz96dqx.js → repository-cache-qdnhjq4f.js} +11 -11
- package/dist/chunks/{persistent-pty-510m7gjw.js → repository-cache-qn4ba14w.js} +5 -5
- package/dist/chunks/{persistent-pty-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-zjs43p7d.js → repository-cache-qse1qpjw.js} +38 -38
- package/dist/chunks/{persistent-pty-tp675h11.js → repository-cache-qvxa9qgk.js} +39 -39
- package/dist/chunks/{persistent-pty-6det3y0x.js → repository-cache-r2s0xq0f.js} +18 -18
- package/dist/chunks/{persistent-pty-r9mregkx.js → repository-cache-r9mregkx.js} +2 -2
- package/dist/chunks/{persistent-pty-at12fstx.js → repository-cache-rbm1b5j8.js} +29 -29
- package/dist/chunks/{persistent-pty-qwktr7mg.js → repository-cache-rjt21bs1.js} +32 -32
- package/dist/chunks/{persistent-pty-nfx2f6hr.js → repository-cache-rppmaq1v.js} +20 -20
- package/dist/chunks/{persistent-pty-ewkyeawc.js → repository-cache-ryef71pm.js} +19 -19
- package/dist/chunks/{persistent-pty-nj6dzt4x.js → repository-cache-s8195qaq.js} +4 -4
- package/dist/chunks/{persistent-pty-s8d7rejh.js → repository-cache-s8d7rejh.js} +1 -1
- package/dist/chunks/{persistent-pty-2e96adxv.js → repository-cache-s8t4qsw4.js} +3 -3
- package/dist/chunks/{persistent-pty-x2xt5fty.js → repository-cache-s99x642n.js} +2 -2
- package/dist/chunks/{persistent-pty-dpwk168w.js → repository-cache-scp3yb2x.js} +13 -13
- package/dist/chunks/{persistent-pty-bzayxzm2.js → repository-cache-sk7ax4wa.js} +18 -18
- package/dist/chunks/{persistent-pty-pahz8e0w.js → repository-cache-skvzv4w6.js} +5 -5
- package/dist/chunks/{persistent-pty-7w99qc9d.js → repository-cache-skyymkrr.js} +2 -2
- package/dist/chunks/{persistent-pty-kxpygcw9.js → repository-cache-ss0awb04.js} +6 -6
- package/dist/chunks/{persistent-pty-n3azen0z.js → repository-cache-sz6bnm18.js} +11 -11
- package/dist/chunks/{persistent-pty-peekjthh.js → repository-cache-t8vasjyp.js} +17 -17
- package/dist/chunks/{persistent-pty-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → repository-cache-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → repository-cache-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-6xygz2r8.js → repository-cache-tf3dncy2.js} +2 -2
- package/dist/chunks/{persistent-pty-e9c8eq96.js → repository-cache-thy6r13a.js} +26 -26
- package/dist/chunks/{persistent-pty-m82b0fgf.js → repository-cache-tjb6h3w6.js} +5 -5
- package/dist/chunks/{persistent-pty-tvtrv512.js → repository-cache-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-t0x5rdq8.js → repository-cache-twy35tz0.js} +9 -9
- package/dist/chunks/{persistent-pty-s3ycmy3r.js → repository-cache-tx2y7v18.js} +31 -31
- package/dist/chunks/{persistent-pty-exsbjhm2.js → repository-cache-ty9cn3m0.js} +16 -16
- package/dist/chunks/{persistent-pty-8x5pm5x7.js → repository-cache-v1f63sx8.js} +13 -13
- package/dist/chunks/{persistent-pty-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-etcxw786.js → repository-cache-vpt86awd.js} +12 -12
- package/dist/chunks/{persistent-pty-6w1zg1g2.js → repository-cache-vqctwdvd.js} +16 -16
- package/dist/chunks/{persistent-pty-2y518tma.js → repository-cache-vsqds22x.js} +3 -3
- package/dist/chunks/{persistent-pty-f5qkqfms.js → repository-cache-vya36ff7.js} +43 -43
- package/dist/chunks/{persistent-pty-vzcthcp8.js → repository-cache-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-2qqt1nsd.js → repository-cache-w3zz45zz.js} +17 -17
- package/dist/chunks/{persistent-pty-pbd9gpar.js → repository-cache-w43r5vpk.js} +9 -9
- package/dist/chunks/{persistent-pty-56gd9531.js → repository-cache-w6sqybpe.js} +15 -15
- package/dist/chunks/{persistent-pty-ayn42wpr.js → repository-cache-w6xg9mzm.js} +4 -4
- package/dist/chunks/{persistent-pty-xaa2j8d2.js → repository-cache-w89kcrbm.js} +40 -40
- package/dist/chunks/{persistent-pty-wsmhkxds.js → repository-cache-w9ytv6gf.js} +8 -8
- package/dist/chunks/{persistent-pty-35k205kv.js → repository-cache-waxra22z.js} +11 -11
- package/dist/chunks/{persistent-pty-cfm9g534.js → repository-cache-wcjyc11q.js} +6 -6
- package/dist/chunks/{persistent-pty-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-q8vwd3nd.js → repository-cache-wnpvw90s.js} +20 -20
- package/dist/chunks/{persistent-pty-0axr4kr0.js → repository-cache-wp6wx7ve.js} +4 -4
- package/dist/chunks/{persistent-pty-g8n1wjt8.js → repository-cache-wtngjqkb.js} +22 -22
- package/dist/chunks/{persistent-pty-btewt4k5.js → repository-cache-wvat7gb2.js} +9 -9
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → repository-cache-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-fhnehbw5.js → repository-cache-x50bgc5b.js} +1 -1
- package/dist/chunks/{persistent-pty-f7w4q6me.js → repository-cache-xcfb136s.js} +14 -14
- package/dist/chunks/{persistent-pty-b8b3f19r.js → repository-cache-xhmq8qgk.js} +9 -9
- package/dist/chunks/{persistent-pty-hnc9qj7b.js → repository-cache-xk29e8eh.js} +10 -10
- package/dist/chunks/{persistent-pty-v3mzz81c.js → repository-cache-xkz0p8cz.js} +10 -10
- package/dist/chunks/{persistent-pty-1sa0r58s.js → repository-cache-xywr1wcm.js} +16 -16
- package/dist/chunks/{persistent-pty-4tj561sw.js → repository-cache-xznwr7ns.js} +11 -11
- package/dist/chunks/{persistent-pty-anhnjpzq.js → repository-cache-xztd0cs6.js} +47 -47
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-3pa9w4e5.js → repository-cache-y5fw0js9.js} +10 -10
- package/dist/chunks/{persistent-pty-dpkg50ah.js → repository-cache-y71avatq.js} +4 -4
- package/dist/chunks/{persistent-pty-07zwjyy6.js → repository-cache-y97nejxf.js} +11 -11
- package/dist/chunks/{persistent-pty-t0tyq52b.js → repository-cache-yahr892z.js} +3 -3
- package/dist/chunks/{persistent-pty-yg2p59vp.js → repository-cache-yqnz8h4g.js} +13 -13
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → repository-cache-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → repository-cache-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-7q4njgnv.js → repository-cache-ythpzqjx.js} +21 -21
- package/dist/chunks/{persistent-pty-rbvfjwrk.js → repository-cache-yx2y4h4v.js} +6 -6
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-sfk8hzz5.js → repository-cache-z4cbs5y4.js} +4 -4
- package/dist/chunks/{persistent-pty-z63w68vq.js → repository-cache-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-vg7npqae.js → repository-cache-za3dtc0x.js} +1 -1
- package/dist/chunks/{persistent-pty-qzkh27e2.js → repository-cache-za5pt3d7.js} +4 -4
- package/dist/chunks/{persistent-pty-zeh9ct20.js → repository-cache-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-jkdkem4h.js → repository-cache-zsa173n5.js} +8 -8
- package/dist/chunks/{persistent-pty-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- 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 +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +133 -133
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- 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 +78 -78
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +71 -71
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +90 -90
- 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 +78 -78
- 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 +77 -77
- package/dist/job.js +78 -78
- 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 +121 -121
- 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 +85 -85
- package/dist/model.js +6 -6
- package/dist/models-dev.js +83 -83
- 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 +103 -103
- 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 +5 -5
- 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 +2 -2
- package/dist/plugin/plan.js +96 -96
- 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 +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- 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 +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- 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 +111 -111
- package/dist/plugin/websearch/exa.js +3 -3
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +76 -76
- package/dist/provider.js +3 -3
- 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 +95 -95
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +85 -85
- 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 +128 -128
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +13 -13
- 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 +1 -1
- 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 +224 -224
- 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 +109 -109
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- 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 +84 -84
- 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 +146 -146
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +106 -106
- 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 +120 -120
- 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 +116 -116
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +114 -114
- 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 +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +1 -1
- 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 +84 -84
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +76 -76
- 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 +92 -92
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-1tm0r3ht.js +0 -4
- package/dist/chunks/persistent-pty-9rr9jrmq.js +0 -247
- package/dist/chunks/persistent-pty-d5k9fk4j.js +0 -462
- package/dist/chunks/persistent-pty-phz3h32g.js +0 -18
- package/dist/chunks/persistent-pty-s6r9b74v.js +0 -22
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → repository-cache-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → repository-cache-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → repository-cache-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → repository-cache-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-hrnqkpcd.js → repository-cache-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-paphc93g.js → repository-cache-paphc93g.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → repository-cache-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → repository-cache-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → repository-cache-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service76
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-k587grms.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service67
|
|
4
|
+
} from "./repository-cache-c4b91qws.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-k587grms.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service56
|
|
10
|
+
} from "./repository-cache-akfths19.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service59,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-8ssxn5x4.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service27
|
|
17
|
+
} from "./repository-cache-jmwjz9ee.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make10
|
|
20
|
+
} from "./repository-cache-qdnhjq4f.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command = {};
|
|
30
30
|
__export(exports_command, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin17
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin17 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service56;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -56,10 +56,10 @@ var Plugin15 = define({
|
|
|
56
56
|
});
|
|
57
57
|
const location = yield* Service76;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service59;
|
|
60
|
+
const sessions = yield* Service27;
|
|
61
|
+
const agents = yield* Service67;
|
|
62
|
+
const subagents = yield* make10;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin15 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin17, exports_command };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service60,
|
|
6
|
+
node64
|
|
7
|
+
} from "./repository-cache-kwj37acz.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-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: () => Service21,
|
|
17
|
+
node: () => node25,
|
|
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 Service21 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(Service21, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service60;
|
|
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(Service45, 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 Service21.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node25 = makeLocationNode({ service: Service21, layer, deps: [node64] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service21, readText2, syncTextBom2, node25, exports_file_mutation };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-vsqds22x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./repository-cache-p0a23dx6.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-by5v678g.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-06dxphr1.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-2zbv25hc.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-rjt21bs1.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service29
|
|
21
|
+
} from "./repository-cache-93rybhbv.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service45;
|
|
36
36
|
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service29;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-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: () => Service48,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node52
|
|
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 Service48 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service48.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node52 = makeLocationNode({ service: Service48, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service48, node52, exports_image2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info18,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info18 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info18, exports_mcp5 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-z4cbs5y4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./repository-cache-r2s0xq0f.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error3
|
|
9
|
+
} from "./repository-cache-c9qfb572.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service58
|
|
12
|
+
} from "./repository-cache-vpt86awd.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-s8t4qsw4.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-3kvk53sn.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-cache-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-cache-yahr892z.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service75;
|
|
58
|
+
const toolOutput = yield* Service58;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error3({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Service72
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-ex4zhymv.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-wp6wx7ve.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -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(ID11.make(item.provider.id)))
|
|
29
29
|
continue;
|
|
30
30
|
evt.provider.update(item.provider.id, (provider) => {
|
|
31
31
|
provider.headers = {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info17
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info17 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info18 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info17, exports_skills };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-z4cbs5y4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node61
|
|
7
|
+
} from "./repository-cache-2h82j4a6.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service4,
|
|
10
|
+
node7
|
|
11
|
+
} from "./repository-cache-6fb9pw91.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service34
|
|
14
|
+
} from "./repository-cache-by5v678g.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
node20,
|
|
17
17
|
ID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-hqt9vmcs.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service7,
|
|
21
|
+
node10
|
|
22
|
+
} from "./repository-cache-asmz7wyz.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
list2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-cache-0d99cpb0.js";
|
|
27
27
|
import {
|
|
28
28
|
make4,
|
|
29
29
|
LoadError2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-cache-skvzv4w6.js";
|
|
31
31
|
import {
|
|
32
32
|
Updated2,
|
|
33
|
-
Service4,
|
|
34
|
-
node7
|
|
35
|
-
} from "./persistent-pty-2k14bdsh.js";
|
|
36
|
-
import {
|
|
37
33
|
Service6,
|
|
38
34
|
node9
|
|
39
|
-
} from "./
|
|
35
|
+
} from "./repository-cache-a3zzqvpe.js";
|
|
36
|
+
import {
|
|
37
|
+
Service5,
|
|
38
|
+
node8
|
|
39
|
+
} from "./repository-cache-xhmq8qgk.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/supervisor.ts
|
|
45
45
|
var exports_supervisor = {};
|
|
46
46
|
__export(exports_supervisor, {
|
|
47
47
|
PluginSupervisor: () => exports_supervisor,
|
|
48
48
|
layer: () => layer4,
|
|
49
|
-
node: () =>
|
|
49
|
+
node: () => node6
|
|
50
50
|
});
|
|
51
51
|
import { Event } from "@opencode/schema/config";
|
|
52
52
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -125,13 +125,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
125
|
};
|
|
126
126
|
});
|
|
127
127
|
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
128
|
-
const registry = yield*
|
|
129
|
-
const sdk = yield*
|
|
130
|
-
const instance = yield*
|
|
131
|
-
const sources = yield*
|
|
128
|
+
const registry = yield* Service34;
|
|
129
|
+
const sdk = yield* Service6;
|
|
130
|
+
const instance = yield* Service7;
|
|
131
|
+
const sources = yield* Service4;
|
|
132
132
|
const modules = yield* make4();
|
|
133
133
|
const bus = yield* Service79;
|
|
134
|
-
const updates = yield*
|
|
134
|
+
const updates = yield* Service5;
|
|
135
135
|
const internal = yield* list2();
|
|
136
136
|
let release = yield* registry.hold();
|
|
137
137
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
206
206
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
207
207
|
}));
|
|
208
208
|
var nodeDeps = [
|
|
209
|
-
|
|
209
|
+
node20,
|
|
210
|
+
node9,
|
|
211
|
+
node10,
|
|
210
212
|
node7,
|
|
211
213
|
node8,
|
|
212
|
-
node6,
|
|
213
|
-
node9,
|
|
214
214
|
node84,
|
|
215
215
|
Npm.node,
|
|
216
|
-
|
|
216
|
+
node61,
|
|
217
217
|
requirements2
|
|
218
218
|
];
|
|
219
219
|
function pluginSource(target) {
|
|
@@ -221,6 +221,6 @@ function pluginSource(target) {
|
|
|
221
221
|
return { type: "local", path: target };
|
|
222
222
|
return { type: "package", target };
|
|
223
223
|
}
|
|
224
|
-
var
|
|
224
|
+
var node6 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
|
|
225
225
|
|
|
226
|
-
export { layer4,
|
|
226
|
+
export { layer4, node6, exports_supervisor };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-w9ytv6gf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID14
|
|
6
|
+
} from "./repository-cache-wp6wx7ve.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID14.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./repository-cache-c4b91qws.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info13
|
|
9
|
+
} from "./repository-cache-b1h1c68h.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-w6xg9mzm.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service56
|
|
16
|
+
} from "./repository-cache-akfths19.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent = {};
|
|
26
26
|
__export(exports_agent, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin12
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info13);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin12 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service56;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin16 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID9.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID9.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin12, exports_agent };
|