@opencode/core 0.0.0-dev-20123 → 0.0.0-dev-20124
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{job-rhjbct0v.js → model-resolver-02nrjc1r.js} +6 -6
- package/dist/chunks/{job-mw3vj00v.js → model-resolver-04hnx7m6.js} +17 -17
- package/dist/chunks/{job-1h9njfqv.js → model-resolver-0gbss3fx.js} +25 -25
- package/dist/chunks/{job-tg6988vm.js → model-resolver-0jfh7z55.js} +41 -41
- package/dist/chunks/{job-xgdhjfbb.js → model-resolver-0kg3x5km.js} +13 -13
- package/dist/chunks/model-resolver-0mesazry.js +4 -0
- package/dist/chunks/{job-rgyp5fs8.js → model-resolver-0mz149mz.js} +24 -24
- package/dist/chunks/{job-jb8dnvam.js → model-resolver-0ng4kf97.js} +32 -32
- package/dist/chunks/{job-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-1hwsz3wr.js → model-resolver-0q26a2b3.js} +18 -18
- package/dist/chunks/{job-84zcxbc9.js → model-resolver-0ryd0fps.js} +5 -5
- package/dist/chunks/{job-357452v1.js → model-resolver-0tdm3y21.js} +10 -10
- package/dist/chunks/{job-chhc8b2c.js → model-resolver-0v374yjc.js} +5 -5
- package/dist/chunks/{job-w4cz4w8n.js → model-resolver-156whzkq.js} +2 -2
- package/dist/chunks/{job-84qf2sz4.js → model-resolver-173t7wcz.js} +8 -8
- package/dist/chunks/{job-a8wsvhrn.js → model-resolver-19518qm9.js} +14 -14
- package/dist/chunks/{job-r8xr0va3.js → model-resolver-1acjjqhc.js} +4 -4
- package/dist/chunks/{job-21cd0s03.js → model-resolver-1d64zjtd.js} +10 -10
- package/dist/chunks/{job-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{job-wdsk4apj.js → model-resolver-1g3fhskv.js} +23 -23
- package/dist/chunks/{job-3fhxmx4v.js → model-resolver-1k3s6syq.js} +3 -3
- package/dist/chunks/{job-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{job-f9w72p70.js → model-resolver-26mdse20.js} +15 -15
- package/dist/chunks/{job-q535224r.js → model-resolver-27z1xvbk.js} +18 -18
- package/dist/chunks/{job-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-dvmh4ts6.js → model-resolver-2dznbxmy.js} +23 -23
- package/dist/chunks/{job-5cmxdwv8.js → model-resolver-2f04pwep.js} +2 -2
- package/dist/chunks/{job-c480xm2k.js → model-resolver-2f9f9n6j.js} +30 -30
- package/dist/chunks/{job-0pv1g9nx.js → model-resolver-2gmwjqmv.js} +19 -19
- package/dist/chunks/{job-1awp3qpv.js → model-resolver-2j85j1qq.js} +6 -6
- package/dist/chunks/{job-0tmgye68.js → model-resolver-2kewd2va.js} +9 -9
- package/dist/chunks/{job-m604p9h9.js → model-resolver-2n8bv8kh.js} +3 -3
- package/dist/chunks/{job-shpdfzmb.js → model-resolver-33vhehfz.js} +8 -8
- package/dist/chunks/{job-7c0qk9f5.js → model-resolver-36qt8gf5.js} +17 -17
- package/dist/chunks/{job-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{job-bh3mwb6a.js → model-resolver-3fp3xcnb.js} +14 -14
- package/dist/chunks/{job-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-5dzyf9wn.js → model-resolver-3pm9m3n0.js} +13 -13
- package/dist/chunks/{job-621thra8.js → model-resolver-3rf7mzjq.js} +88 -88
- package/dist/chunks/{job-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-tz7n5q2n.js → model-resolver-3vvy9r1q.js} +17 -17
- package/dist/chunks/{job-3t1tf7ab.js → model-resolver-3y72t5s0.js} +20 -20
- package/dist/chunks/{job-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{job-3zqgca9t.js → model-resolver-40a4pq3k.js} +3 -3
- package/dist/chunks/{job-2hafbkzw.js → model-resolver-49fmtcj3.js} +32 -32
- package/dist/chunks/{job-a89e0tac.js → model-resolver-4bm5ja14.js} +4 -4
- package/dist/chunks/{job-2mhtd2h6.js → model-resolver-4m9cw4aw.js} +11 -11
- package/dist/chunks/{job-2p4yn6dm.js → model-resolver-4p21y445.js} +22 -22
- package/dist/chunks/{job-33a3dssb.js → model-resolver-4qqzqwb9.js} +5 -5
- package/dist/chunks/{job-yg8z43z0.js → model-resolver-4rqrtqc5.js} +8 -8
- package/dist/chunks/{job-44yjcw9g.js → model-resolver-4s2padma.js} +9 -9
- package/dist/chunks/{job-3cfzdc8e.js → model-resolver-4xbskmpe.js} +5 -5
- package/dist/chunks/{job-p44d8wdy.js → model-resolver-4xz89tjk.js} +5 -5
- package/dist/chunks/{job-ckecvw8r.js → model-resolver-54tcyq79.js} +2 -2
- package/dist/chunks/{job-mvg86y0x.js → model-resolver-569et0xs.js} +24 -24
- package/dist/chunks/{job-mfqp6xfm.js → model-resolver-56gdpj1q.js} +6 -6
- package/dist/chunks/{job-qzy0htd5.js → model-resolver-58c90p9y.js} +2 -2
- package/dist/chunks/{job-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{job-yjptyezs.js → model-resolver-5e19p4dw.js} +5 -5
- package/dist/chunks/{job-5ge6znve.js → model-resolver-5jbstfnb.js} +24 -24
- package/dist/chunks/{job-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{job-483vprpr.js → model-resolver-63ctpfk7.js} +23 -23
- package/dist/chunks/{job-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{job-dwy550y4.js → model-resolver-6dr7817k.js} +20 -20
- package/dist/chunks/{job-2402vzrj.js → model-resolver-6h73sxmp.js} +5 -5
- package/dist/chunks/{job-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{job-1p07q0wb.js → model-resolver-6pc27hjz.js} +8 -8
- package/dist/chunks/{job-3vcfbxd4.js → model-resolver-6vra413r.js} +12 -12
- package/dist/chunks/{job-4ezq13de.js → model-resolver-6yqr96vd.js} +42 -42
- package/dist/chunks/{job-aqbnk3w5.js → model-resolver-6zpb3hvq.js} +12 -12
- package/dist/chunks/{job-362gjx7k.js → model-resolver-7161yw90.js} +7 -7
- package/dist/chunks/{job-zdm716ts.js → model-resolver-72f6taeg.js} +26 -26
- package/dist/chunks/{job-kv0b7v98.js → model-resolver-778t764x.js} +42 -42
- package/dist/chunks/{job-k7rmk0mz.js → model-resolver-79skyr14.js} +11 -11
- package/dist/chunks/{job-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-pan3z8cp.js → model-resolver-7bxnc6x6.js} +11 -11
- package/dist/chunks/{job-b4t7m2jz.js → model-resolver-7c5c7hvy.js} +13 -13
- package/dist/chunks/{job-y31rbjnw.js → model-resolver-7d0nz2vs.js} +20 -20
- package/dist/chunks/{job-nrk5vjbf.js → model-resolver-7d2a7xbs.js} +5 -5
- package/dist/chunks/{job-r148w95a.js → model-resolver-7efmbnhw.js} +7 -7
- package/dist/chunks/{job-2cq5zkt6.js → model-resolver-7kj39dgh.js} +8 -8
- package/dist/chunks/{job-q1zmm1c6.js → model-resolver-7p797550.js} +6 -6
- package/dist/chunks/{job-0nwdympg.js → model-resolver-7x6bmn48.js} +28 -28
- package/dist/chunks/{job-kxymwdrp.js → model-resolver-7ygvs13g.js} +5 -5
- package/dist/chunks/{job-64nhe9mm.js → model-resolver-80rghvf4.js} +32 -32
- package/dist/chunks/{job-zfa7ynd8.js → model-resolver-87qhefk3.js} +15 -15
- package/dist/chunks/{job-tcezcvh9.js → model-resolver-89znhe33.js} +4 -4
- package/dist/chunks/{job-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{job-kmyvrf53.js → model-resolver-8h519gpd.js} +8 -8
- package/dist/chunks/{job-dmtxy77h.js → model-resolver-8kqr9rea.js} +4 -4
- package/dist/chunks/{job-f0np6nee.js → model-resolver-8n3bkser.js} +16 -16
- package/dist/chunks/{job-0nh3zynp.js → model-resolver-8p1ggxfh.js} +18 -18
- package/dist/chunks/{job-g46ydm0k.js → model-resolver-8xxayhk6.js} +24 -24
- package/dist/chunks/{job-4dgbcxzg.js → model-resolver-8z00fdkb.js} +4 -4
- package/dist/chunks/{job-vmk01m7y.js → model-resolver-9018cb23.js} +33 -33
- package/dist/chunks/{job-mvksx64m.js → model-resolver-93kvt1p5.js} +4 -4
- package/dist/chunks/{job-713hsy6v.js → model-resolver-9amkr7ky.js} +11 -11
- package/dist/chunks/{job-bj655381.js → model-resolver-9egj2258.js} +6 -6
- package/dist/chunks/{job-47qsm60k.js → model-resolver-9gdecscc.js} +11 -11
- package/dist/chunks/{job-vm6ftwaz.js → model-resolver-9hk60pt8.js} +28 -28
- package/dist/chunks/{job-659nyytr.js → model-resolver-9kbkhne8.js} +23 -23
- package/dist/chunks/{job-n156yfz5.js → model-resolver-9qkca2k4.js} +28 -28
- package/dist/chunks/{job-212zgvfw.js → model-resolver-9ssqh1pf.js} +55 -55
- package/dist/chunks/{job-fyta9203.js → model-resolver-a3ykbbws.js} +17 -17
- package/dist/chunks/{job-r3bqvamy.js → model-resolver-a48a702n.js} +27 -27
- package/dist/chunks/{job-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{job-88xd4vzg.js → model-resolver-afcq0tqz.js} +32 -32
- package/dist/chunks/{job-6rrxrnwx.js → model-resolver-agd0d5z2.js} +30 -30
- package/dist/chunks/{job-g3hm4f7e.js → model-resolver-ak724xxd.js} +30 -30
- package/dist/chunks/{job-mc3hkess.js → model-resolver-ar21n6zh.js} +19 -19
- package/dist/chunks/{job-gwpxvm0z.js → model-resolver-b18rdbr5.js} +15 -15
- package/dist/chunks/{job-tkmwgdpd.js → model-resolver-b27vhd2z.js} +7 -7
- package/dist/chunks/{job-02xcpd00.js → model-resolver-b3825faf.js} +18 -18
- package/dist/chunks/{job-db5sanfd.js → model-resolver-b62ps4b3.js} +10 -10
- package/dist/chunks/{job-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-yq2cczkq.js → model-resolver-bdqrk2vk.js} +8 -8
- package/dist/chunks/{job-fnsgkk5v.js → model-resolver-bfd0r08e.js} +20 -20
- package/dist/chunks/{job-431mjdkk.js → model-resolver-bfgskg5r.js} +21 -21
- package/dist/chunks/{job-z07pqspn.js → model-resolver-bjtzbw4r.js} +3 -3
- package/dist/chunks/{job-cvtc1xje.js → model-resolver-bkfeammj.js} +28 -28
- package/dist/chunks/{job-a1v5q0gw.js → model-resolver-bsf62bbk.js} +13 -13
- package/dist/chunks/{job-0d4sc7pe.js → model-resolver-bt1446pf.js} +23 -23
- package/dist/chunks/{job-gxdg2v33.js → model-resolver-bykc32a6.js} +5 -5
- package/dist/chunks/{job-me0qtf3p.js → model-resolver-chh4w0bc.js} +10 -10
- package/dist/chunks/{job-czfptnv9.js → model-resolver-cmwkp3r5.js} +6 -6
- package/dist/chunks/{job-kxpygcw9.js → model-resolver-cqg8v4c7.js} +6 -6
- package/dist/chunks/{job-p44n200t.js → model-resolver-cqxgg118.js} +24 -24
- package/dist/chunks/{job-gcvn1bpc.js → model-resolver-csnfj2b0.js} +32 -32
- package/dist/chunks/{job-0z0qaz2z.js → model-resolver-cvnss5v6.js} +25 -25
- package/dist/chunks/{job-v6gb7zv2.js → model-resolver-d0k1g5nx.js} +6 -6
- package/dist/chunks/{job-xcv1e8fb.js → model-resolver-d23g84s9.js} +15 -15
- package/dist/chunks/{job-5s4ek4xp.js → model-resolver-d6ggdbw1.js} +11 -11
- package/dist/chunks/{job-57ez7d0k.js → model-resolver-d9s573fh.js} +2 -2
- package/dist/chunks/{job-y71avatq.js → model-resolver-dpkg50ah.js} +4 -4
- package/dist/chunks/{job-57b9ws8p.js → model-resolver-drwq78ky.js} +5 -5
- package/dist/chunks/{job-jrz5953c.js → model-resolver-dvt6vme3.js} +34 -34
- package/dist/chunks/{job-0xjzj7vr.js → model-resolver-dyhdt8jb.js} +4 -4
- package/dist/chunks/{job-vxrbzjcb.js → model-resolver-e8m9yhze.js} +18 -18
- package/dist/chunks/{job-39m4cdzz.js → model-resolver-e8r9fk8v.js} +5 -5
- package/dist/chunks/{job-ecfe7b91.js → model-resolver-ecfe7b91.js} +2 -2
- package/dist/chunks/{job-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{job-8wm8yswe.js → model-resolver-emgtyv65.js} +6 -6
- package/dist/chunks/{job-4x78564e.js → model-resolver-emmx8e90.js} +28 -28
- package/dist/chunks/{job-my8d63dw.js → model-resolver-es2axtbg.js} +6 -6
- package/dist/chunks/{job-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{job-h2e8h9aw.js → model-resolver-f3r70g5j.js} +5 -5
- package/dist/chunks/{job-98jem7f5.js → model-resolver-fed82zpn.js} +35 -35
- package/dist/chunks/{job-n3cs609t.js → model-resolver-fg4tf8ta.js} +10 -10
- package/dist/chunks/{job-hgd8zhtt.js → model-resolver-fh6ss5gb.js} +15 -15
- package/dist/chunks/{job-6ea1e4p1.js → model-resolver-fhhby8rf.js} +8 -8
- package/dist/chunks/{job-qwjmgwmn.js → model-resolver-fqtvmpfq.js} +8 -8
- package/dist/chunks/{job-htjw9qza.js → model-resolver-ft7xjps2.js} +8 -8
- package/dist/chunks/{job-nn5t8h7a.js → model-resolver-fxnvxn2a.js} +12 -12
- package/dist/chunks/{job-s3prev92.js → model-resolver-fzft6rk9.js} +26 -26
- package/dist/chunks/{job-2gbsvbx5.js → model-resolver-g17wn8cw.js} +12 -12
- package/dist/chunks/{job-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-94ek1h2f.js → model-resolver-gfvb90ym.js} +2 -2
- package/dist/chunks/{job-00x4qneg.js → model-resolver-gn2hfjap.js} +8 -8
- package/dist/chunks/{job-dc7fh6fg.js → model-resolver-gw5a5t0z.js} +9 -9
- package/dist/chunks/{job-pgp1nwjn.js → model-resolver-gzq5apsj.js} +4 -4
- package/dist/chunks/{job-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-tjdqkw86.js → model-resolver-hdhk3cs9.js} +11 -11
- package/dist/chunks/{job-vw85y51h.js → model-resolver-hep603q0.js} +9 -9
- package/dist/chunks/{job-ht5y0zrb.js → model-resolver-ht5y0zrb.js} +1 -1
- package/dist/chunks/{job-vrmkz4m4.js → model-resolver-j1k7yznt.js} +43 -43
- package/dist/chunks/{job-mjtzhttr.js → model-resolver-j4amppr9.js} +174 -174
- package/dist/chunks/{job-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{job-ex7en11g.js → model-resolver-j9fve04j.js} +14 -14
- package/dist/chunks/{job-gjwavh5k.js → model-resolver-jb2d0ras.js} +21 -21
- package/dist/chunks/{job-06m1xh7w.js → model-resolver-jw8j7y7p.js} +8 -8
- package/dist/chunks/{job-9eq5kwq7.js → model-resolver-jygqzb3h.js} +8 -8
- package/dist/chunks/{job-35hkzk16.js → model-resolver-jzn2qkj6.js} +7 -7
- package/dist/chunks/{job-nzks3jc8.js → model-resolver-k3c624dm.js} +3 -3
- package/dist/chunks/{job-g2azqtd1.js → model-resolver-k4nv4f3v.js} +1 -1
- package/dist/chunks/{job-ssdqnhy0.js → model-resolver-k9d40v1y.js} +4 -4
- package/dist/chunks/{job-jw8x7wz2.js → model-resolver-kbq1152n.js} +13 -13
- package/dist/chunks/{job-a68v6zx7.js → model-resolver-kfvedqw3.js} +8 -8
- package/dist/chunks/{job-616jhwvt.js → model-resolver-kmaq4q5p.js} +32 -32
- package/dist/chunks/{job-pc4b88sv.js → model-resolver-kmx0na6r.js} +4 -4
- package/dist/chunks/{job-n9vxckn6.js → model-resolver-kz7p30d5.js} +9 -9
- package/dist/chunks/{job-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{job-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-8hrbqkq9.js → model-resolver-mdggx82f.js} +11 -11
- package/dist/chunks/{job-nrdmrqsx.js → model-resolver-mjymc32g.js} +4 -4
- package/dist/chunks/{job-x9t27xs5.js → model-resolver-mv035zws.js} +29 -29
- package/dist/chunks/{job-73tb2d7t.js → model-resolver-mvfsc1pv.js} +3 -3
- package/dist/chunks/{job-nq7qbqzc.js → model-resolver-mvn2r3z4.js} +9 -9
- package/dist/chunks/{job-brsymgq7.js → model-resolver-mxmchy46.js} +8 -8
- package/dist/chunks/{job-m5n772d3.js → model-resolver-myb1y6vq.js} +44 -44
- package/dist/chunks/{job-dbtzv3n3.js → model-resolver-mztje66g.js} +26 -26
- package/dist/chunks/{job-wtwhrn5z.js → model-resolver-n7a0dxy8.js} +4 -4
- package/dist/chunks/{job-dq0v80fr.js → model-resolver-n97pwnhd.js} +12 -12
- package/dist/chunks/{job-z2txmjmh.js → model-resolver-nna5qp8a.js} +4 -4
- package/dist/chunks/{job-htvf7dte.js → model-resolver-nrpdyjdp.js} +25 -25
- package/dist/chunks/{job-2w4mr9ah.js → model-resolver-p49rk7zg.js} +6 -6
- package/dist/chunks/{job-jy3q8cv1.js → model-resolver-p95nf0hr.js} +9 -9
- package/dist/chunks/{job-t9nbwmk6.js → model-resolver-pb97dx7z.js} +11 -11
- package/dist/chunks/{job-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{job-727asdka.js → model-resolver-pm44etjj.js} +44 -44
- package/dist/chunks/{job-qs8jhs2n.js → model-resolver-pr8smg67.js} +18 -18
- package/dist/chunks/{job-wd3x2cqz.js → model-resolver-psazpmmj.js} +2 -2
- package/dist/chunks/{job-6w37h07j.js → model-resolver-ptfyc8rg.js} +92 -92
- package/dist/chunks/{job-dfe8djrf.js → model-resolver-q2b1ymqp.js} +4 -4
- package/dist/chunks/{job-2f3eaja9.js → model-resolver-q5v28ps9.js} +20 -20
- package/dist/chunks/{job-hjcn9g5q.js → model-resolver-qcmdtp8c.js} +11 -11
- package/dist/chunks/{job-fcrkznn8.js → model-resolver-qgn6gcr1.js} +5 -5
- package/dist/chunks/{job-95f1p06x.js → model-resolver-qh8wc3pe.js} +19 -19
- package/dist/chunks/{job-t21rg5tv.js → model-resolver-qkdvh7fa.js} +8 -8
- package/dist/chunks/{job-4paxgmv5.js → model-resolver-qmb29zc9.js} +38 -38
- package/dist/chunks/{job-rey5gbxv.js → model-resolver-qmqgtz8f.js} +9 -9
- package/dist/chunks/{job-hh7harx8.js → model-resolver-qq6mbj5a.js} +40 -40
- package/dist/chunks/{job-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{job-hk6cjtaz.js → model-resolver-qw3sg1b0.js} +5 -5
- package/dist/chunks/{job-jzxep27z.js → model-resolver-qxjcrr5t.js} +7 -7
- package/dist/chunks/{job-xegpwyaf.js → model-resolver-r0pftj6c.js} +27 -27
- package/dist/chunks/{job-jxy1my5z.js → model-resolver-r5b1nhw7.js} +22 -22
- package/dist/chunks/{job-6k70vexz.js → model-resolver-r94xmz3e.js} +3 -3
- package/dist/chunks/{job-34ah5aas.js → model-resolver-ra46vd3y.js} +15 -15
- package/dist/chunks/{job-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{job-jwne8s3x.js → model-resolver-rgwzaj5r.js} +32 -32
- package/dist/chunks/{job-zee1rnkq.js → model-resolver-rpg9c19m.js} +4 -4
- package/dist/chunks/{job-zeh9ct20.js → model-resolver-rq775frq.js} +2 -2
- package/dist/chunks/{job-c12k1v8e.js → model-resolver-s0ga44w9.js} +3 -3
- package/dist/chunks/{job-sfsm5mp8.js → model-resolver-s5vxn3hm.js} +13 -13
- package/dist/chunks/{job-kgchvb5g.js → model-resolver-s7d3q35h.js} +4 -4
- package/dist/chunks/{job-vmgq4x8b.js → model-resolver-s8610hey.js} +2 -2
- package/dist/chunks/{job-qv8cnvvv.js → model-resolver-sar4f7bt.js} +17 -17
- package/dist/chunks/{job-kp8q1t60.js → model-resolver-sk2hk6tq.js} +9 -9
- package/dist/chunks/model-resolver-sn674wr2.js +26 -0
- package/dist/chunks/{job-v3sgzvyr.js → model-resolver-sqy4ahhk.js} +1 -1
- package/dist/chunks/{job-j8ex01wf.js → model-resolver-ss6wnmcn.js} +14 -14
- package/dist/chunks/{job-avkar8cd.js → model-resolver-swhhnpja.js} +5 -5
- package/dist/chunks/{job-snq6cjh1.js → model-resolver-sxvnd2nr.js} +37 -37
- package/dist/chunks/{job-8d0p2m37.js → model-resolver-sy26cvr2.js} +8 -8
- package/dist/chunks/{job-jxbrjg0q.js → model-resolver-t8916jym.js} +35 -35
- package/dist/chunks/{job-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-01x2k9yj.js → model-resolver-tdghhcp4.js} +9 -9
- package/dist/chunks/{job-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{job-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{job-0ghjbmdt.js → model-resolver-v4hswpd3.js} +75 -75
- package/dist/chunks/{job-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{job-h0fn4gkn.js → model-resolver-vfm0y0bg.js} +29 -29
- package/dist/chunks/{job-wqev6sb9.js → model-resolver-vg07qq75.js} +9 -9
- package/dist/chunks/{job-0at1sqv3.js → model-resolver-vr7k8aqm.js} +35 -35
- package/dist/chunks/{job-0pvat8hm.js → model-resolver-vsfsehjp.js} +16 -16
- package/dist/chunks/{job-64d0e0bv.js → model-resolver-vtjxg7xx.js} +22 -22
- package/dist/chunks/{job-5q9mj0fe.js → model-resolver-vvb15rdk.js} +11 -11
- package/dist/chunks/{job-e7rvw2f8.js → model-resolver-vxhnyb9j.js} +48 -48
- package/dist/chunks/{job-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{job-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{job-2b6sywcb.js → model-resolver-w0mbtrs6.js} +10 -10
- package/dist/chunks/{job-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-84npvg7a.js → model-resolver-w5efcytb.js} +13 -13
- package/dist/chunks/{job-gd8pphrc.js → model-resolver-w8xrrrrv.js} +1 -1
- package/dist/chunks/{job-jj9905b1.js → model-resolver-w9m2hjqa.js} +25 -25
- package/dist/chunks/{job-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{job-wfadzjts.js → model-resolver-wfdevf9j.js} +11 -11
- package/dist/chunks/{job-zw0e5nj2.js → model-resolver-x0jpbkmn.js} +19 -19
- package/dist/chunks/{job-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-8ydx4ng5.js → model-resolver-x520n2qy.js} +45 -45
- package/dist/chunks/{job-nqgqh1d8.js → model-resolver-x8acjjg9.js} +28 -28
- package/dist/chunks/model-resolver-x8rsv9gq.js +252 -0
- package/dist/chunks/{job-tdrvmst7.js → model-resolver-xhg1wmas.js} +34 -34
- package/dist/chunks/{job-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
- package/dist/chunks/{job-bt4xnmzv.js → model-resolver-xwnzkdf1.js} +23 -23
- package/dist/chunks/{job-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-zwjnk1y1.js → model-resolver-y2r7qy0e.js} +13 -13
- package/dist/chunks/{job-dv5r59xd.js → model-resolver-y3f947ba.js} +56 -56
- package/dist/chunks/{job-t41xfd23.js → model-resolver-yb0aafdb.js} +43 -43
- package/dist/chunks/{job-sszsbszq.js → model-resolver-yecfnvqz.js} +19 -19
- package/dist/chunks/{job-2z5agv92.js → model-resolver-yh08wsj3.js} +11 -11
- package/dist/chunks/{job-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{job-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{job-gv6a8nnw.js → model-resolver-yyb7tjpc.js} +2 -2
- package/dist/chunks/{job-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-r4mm9wfe.js → model-resolver-z1dymymf.js} +17 -17
- package/dist/chunks/{job-v7ztqyra.js → model-resolver-z3mr859t.js} +10 -10
- package/dist/chunks/{job-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
- package/dist/chunks/model-resolver-zg1ez3dq.js +507 -0
- package/dist/chunks/{job-4z0bk2th.js → model-resolver-zj1cah0a.js} +29 -29
- package/dist/chunks/{job-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{job-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{job-mg480h77.js → model-resolver-zytbb0rs.js} +51 -51
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +99 -99
- 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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/job-6kdq0pjd.js +0 -4
- package/dist/chunks/job-h1p1szhb.js +0 -252
- package/dist/chunks/job-sq6azjgz.js +0 -507
- package/dist/chunks/job-w4n84c3x.js +0 -26
- /package/dist/chunks/{job-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{job-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-58c90p9y.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service49,
|
|
10
|
+
node53
|
|
11
|
+
} from "./model-resolver-pr8smg67.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./model-resolver-89znhe33.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options10,
|
|
25
|
+
Service: () => Service48,
|
|
26
|
+
configured: () => configured10,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer21,
|
|
29
|
+
node: () => node52,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options10 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service48 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service48, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service80;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service49;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service48.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service48, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service80;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service48.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service48.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer21 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service80;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -182,9 +182,9 @@ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured10(options) {
|
|
186
|
+
return makeLocationNode({ service: Service48, layer: layer21(options), deps: [node84, node53] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node52 = configured10();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options10, Service48, ripgrepLayer2, fffLayer2, layer21, configured10, node52, exports_search };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-8z00fdkb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./model-resolver-vsfsehjp.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./model-resolver-fed82zpn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID7,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-80rghvf4.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID6,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service60
|
|
20
|
+
} from "./model-resolver-rgwzaj5r.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID5
|
|
23
|
+
} from "./model-resolver-csnfj2b0.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./model-resolver-4p21y445.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-w0mbtrs6.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID7.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,8 +157,8 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
161
|
-
const bus = yield*
|
|
160
|
+
const providers = yield* Service60;
|
|
161
|
+
const bus = yield* Service82;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
164
164
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID6.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
|
-
try: () =>
|
|
178
|
+
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
180
180
|
Authorization: `Bearer ${credential.refresh}`,
|
|
181
181
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID6.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
201
201
|
evt.add({
|
|
202
202
|
info: item.provider,
|
|
203
|
-
models: Array.from(
|
|
203
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
204
204
|
sourceConnection: loaded.connection
|
|
205
205
|
});
|
|
206
206
|
return;
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID6.githubCopilot, ID5.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID6.githubCopilot, ID5.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID6.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID6.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID6.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID6.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID6.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID6.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./model-resolver-vsfsehjp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service62,
|
|
7
|
+
node65
|
|
8
|
+
} from "./model-resolver-7x6bmn48.js";
|
|
9
9
|
import {
|
|
10
10
|
Service81,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-ra46vd3y.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
15
|
Service80,
|
|
16
16
|
node84
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-58c90p9y.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-hep603q0.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service72,
|
|
26
|
+
node76
|
|
27
|
+
} from "./model-resolver-9ssqh1pf.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service36,
|
|
30
|
+
node40
|
|
31
|
+
} from "./model-resolver-ss6wnmcn.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service35,
|
|
41
|
+
node: () => node39
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service35 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
50
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service82;
|
|
52
52
|
const location = yield* Service80;
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
53
|
+
const permission = yield* Service72;
|
|
54
|
+
const forms = yield* Service62;
|
|
55
|
+
const rpc = yield* Service36;
|
|
56
56
|
const project = yield* Service81;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service35.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node39 = makeLocationNode({
|
|
84
|
+
service: Service35,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [
|
|
86
|
+
deps: [node86, node84, node76, node85, node65, node40]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service35, node39, exports_location_lifecycle };
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service84,
|
|
9
|
+
node88
|
|
10
|
+
} from "./model-resolver-n97pwnhd.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-58c90p9y.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error5,
|
|
26
|
+
ID: () => ID11,
|
|
27
|
+
Service: () => Service70,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node74,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID11 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service70 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service84;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const location = yield* Service80;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID11.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service70.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node74 = makeLocationNode({
|
|
144
|
+
service: Service70,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node88, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service70, Service70.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service44, Service44.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error5({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID11, Error5, Service70, node74, noopLayer3, exports_snapshot2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./model-resolver-vsfsehjp.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-8z00fdkb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event15
|
|
9
|
+
} from "./model-resolver-fed82zpn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID7
|
|
12
|
+
} from "./model-resolver-80rghvf4.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID6,
|
|
15
|
+
Service60
|
|
16
|
+
} from "./model-resolver-rgwzaj5r.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load3,
|
|
19
|
+
derive3
|
|
20
|
+
} from "./model-resolver-2dznbxmy.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID6.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service60;
|
|
30
|
+
const bus = yield* Service82;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load3(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|