@opencode/core 0.0.0-dev-20148 → 0.0.0-dev-20151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{project-wb6av7gs.js → websearch-026npp9j.js} +17 -17
- package/dist/chunks/{project-vfqs23xq.js → websearch-068gpmm3.js} +24 -24
- package/dist/chunks/{project-x8cycxf4.js → websearch-07770t2t.js} +6 -6
- package/dist/chunks/{project-xs9ze5ky.js → websearch-0a3hzmd5.js} +7 -7
- package/dist/chunks/{project-j2ymqdpp.js → websearch-0fyzm8xj.js} +1 -1
- package/dist/chunks/{project-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
- package/dist/chunks/{project-pdhfa141.js → websearch-0s4pwxt6.js} +49 -49
- package/dist/chunks/{project-00gqf6qz.js → websearch-0vr0hcvm.js} +30 -30
- package/dist/chunks/{project-wrdmc7xc.js → websearch-0yx2kg4q.js} +14 -14
- package/dist/chunks/{project-je3d475j.js → websearch-13aajxj1.js} +4 -4
- package/dist/chunks/{project-8aqq46j9.js → websearch-18vjd2kq.js} +16 -16
- package/dist/chunks/{project-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
- package/dist/chunks/{project-3pd9zev7.js → websearch-1jgxsjvz.js} +3 -3
- package/dist/chunks/{project-21r38tys.js → websearch-21r38tys.js} +1 -1
- package/dist/chunks/{project-aj9wy6bs.js → websearch-23x87d5f.js} +1 -1
- package/dist/chunks/{project-6h73sxmp.js → websearch-2402vzrj.js} +5 -5
- package/dist/chunks/{project-deaye1t8.js → websearch-24v8r3n0.js} +31 -31
- package/dist/chunks/{project-7amt6rym.js → websearch-270k6s7e.js} +9 -9
- package/dist/chunks/{project-z63w68vq.js → websearch-29x78va6.js} +6 -6
- package/dist/chunks/{project-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
- package/dist/chunks/{project-qxq66e0p.js → websearch-2f52zj7s.js} +29 -29
- package/dist/chunks/{project-mgb3mzg6.js → websearch-2g564ktp.js} +10 -10
- package/dist/chunks/{project-2k8khapm.js → websearch-2k8khapm.js} +1 -1
- package/dist/chunks/{project-591pety6.js → websearch-2ppj4dha.js} +25 -25
- package/dist/chunks/{project-808tzxy4.js → websearch-2qnsdmsd.js} +3 -3
- package/dist/chunks/{project-phc8pspp.js → websearch-2qq7qy34.js} +9 -9
- package/dist/chunks/{project-rwm5vee1.js → websearch-2vs2nh1n.js} +4 -4
- package/dist/chunks/{project-wrx8dq47.js → websearch-2w0y6wkg.js} +16 -16
- package/dist/chunks/{project-kb1d48gj.js → websearch-3c03nx73.js} +24 -24
- package/dist/chunks/{project-z0aj456m.js → websearch-3ewed21c.js} +4 -4
- package/dist/chunks/{project-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
- package/dist/chunks/{project-m6nec9qq.js → websearch-3g33scay.js} +4 -4
- package/dist/chunks/{project-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{project-1vmfgmve.js → websearch-3md9nf60.js} +17 -17
- package/dist/chunks/{project-43a2xr3n.js → websearch-3pk0d26x.js} +7 -7
- package/dist/chunks/{project-ng0xzx18.js → websearch-3qq43k1v.js} +20 -20
- package/dist/chunks/{project-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
- package/dist/chunks/{project-5pqmtba2.js → websearch-3tber816.js} +21 -21
- package/dist/chunks/{project-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
- package/dist/chunks/{project-n76xbnwv.js → websearch-3vgavdt2.js} +6 -6
- package/dist/chunks/{project-wjs4m62v.js → websearch-3whqsqhb.js} +6 -6
- package/dist/chunks/{project-3zsf4n22.js → websearch-3zsf4n22.js} +1 -1
- package/dist/chunks/{project-gwn93cvy.js → websearch-41fffbdz.js} +17 -17
- package/dist/chunks/{project-amy7e0d0.js → websearch-4238gvvk.js} +24 -24
- package/dist/chunks/{project-4cpvyw3a.js → websearch-42yw2kjc.js} +27 -27
- package/dist/chunks/{project-v53mtj4b.js → websearch-49q8tgwx.js} +3 -3
- package/dist/chunks/{project-13ggeyh8.js → websearch-49w8mb30.js} +11 -11
- package/dist/chunks/{project-5vvcj01b.js → websearch-4bat6w68.js} +15 -15
- package/dist/chunks/{project-2p0zs114.js → websearch-4hfxqkq1.js} +5 -5
- package/dist/chunks/{project-33w4ejhs.js → websearch-56gdpj1q.js} +6 -6
- package/dist/chunks/{project-57ez7d0k.js → websearch-57ez7d0k.js} +2 -2
- package/dist/chunks/{project-1vkbswn5.js → websearch-58btjskb.js} +18 -18
- package/dist/chunks/{project-5daktx2q.js → websearch-5daktx2q.js} +1 -1
- package/dist/chunks/{project-b9h1yx7k.js → websearch-5h5j54wa.js} +10 -10
- package/dist/chunks/{project-6bvej4y4.js → websearch-5ptzjwb4.js} +13 -13
- package/dist/chunks/{project-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
- package/dist/chunks/{project-669tq793.js → websearch-669tq793.js} +1 -1
- package/dist/chunks/{project-re17gjtn.js → websearch-69ad3t6w.js} +11 -11
- package/dist/chunks/{project-1379bkbv.js → websearch-6bkwpg0x.js} +12 -12
- package/dist/chunks/{project-p3rd9cb6.js → websearch-6c7yw9pm.js} +8 -8
- package/dist/chunks/{project-6msgmcgs.js → websearch-6msgmcgs.js} +1 -1
- package/dist/chunks/{project-b4aagq2j.js → websearch-738yxbg0.js} +35 -35
- package/dist/chunks/{project-9m25bn8y.js → websearch-76zdkzzt.js} +4 -4
- package/dist/chunks/{project-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{project-hkfg6fzm.js → websearch-7gvwkz6m.js} +5 -5
- package/dist/chunks/{project-en3b06s1.js → websearch-7qshtjyh.js} +132 -132
- package/dist/chunks/{project-grxcxy9j.js → websearch-7rwqf82v.js} +8 -8
- package/dist/chunks/{project-tc23yakz.js → websearch-7z0c58z6.js} +4 -4
- package/dist/chunks/{project-acnc4vnw.js → websearch-81mvp6db.js} +18 -18
- package/dist/chunks/{project-rgsxkdhj.js → websearch-8247kj1d.js} +17 -17
- package/dist/chunks/{project-bgmbvnqs.js → websearch-8644923d.js} +33 -33
- package/dist/chunks/{project-9q81vv6e.js → websearch-87rkj7hm.js} +16 -16
- package/dist/chunks/{project-2gnxk3x7.js → websearch-8b564nhv.js} +8 -8
- package/dist/chunks/{project-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
- package/dist/chunks/{project-b948jtff.js → websearch-8gm3emt9.js} +11 -11
- package/dist/chunks/{project-6apxa4qs.js → websearch-8hfvq3hc.js} +2 -2
- package/dist/chunks/{project-3yfshrff.js → websearch-8j4984r1.js} +20 -20
- package/dist/chunks/{project-hgejsyte.js → websearch-8makzfd8.js} +11 -11
- package/dist/chunks/{project-8zn2t0m2.js → websearch-8vq0fbaz.js} +25 -25
- package/dist/chunks/{project-w9wkpbtz.js → websearch-8z439g2c.js} +8 -8
- package/dist/chunks/{project-sqtd4egc.js → websearch-91rxdh5f.js} +24 -24
- package/dist/chunks/{project-f9zfyzxy.js → websearch-93knh8xf.js} +57 -57
- package/dist/chunks/{project-wmsqsdjg.js → websearch-947ggv4w.js} +9 -9
- package/dist/chunks/{project-gfvb90ym.js → websearch-94ek1h2f.js} +2 -2
- package/dist/chunks/{project-jypr814b.js → websearch-96a2wy2r.js} +25 -25
- package/dist/chunks/{project-rygdm8gb.js → websearch-97pd6k0k.js} +10 -10
- package/dist/chunks/{project-b9x34m10.js → websearch-9dc6hk7b.js} +14 -14
- package/dist/chunks/{project-e9mm9j1x.js → websearch-9dg7zxs9.js} +20 -20
- package/dist/chunks/{project-gk6q9h8v.js → websearch-9dm3gnhk.js} +13 -13
- package/dist/chunks/{project-4hz583fa.js → websearch-9ex3k00r.js} +8 -8
- package/dist/chunks/{project-y9emgft6.js → websearch-9gacg3te.js} +24 -24
- package/dist/chunks/{project-wyqs0y4m.js → websearch-9gag9787.js} +34 -34
- package/dist/chunks/{project-7sbbepgg.js → websearch-9n655km2.js} +5 -5
- package/dist/chunks/{project-g7dpewgz.js → websearch-9qtpgwac.js} +9 -9
- package/dist/chunks/{project-ym0rbchm.js → websearch-9rgt8jqc.js} +16 -16
- package/dist/chunks/{project-t2fc4mz5.js → websearch-a2ew8a62.js} +4 -4
- package/dist/chunks/{project-ff0svapt.js → websearch-a3r4dcrj.js} +2 -2
- package/dist/chunks/{project-aaet6srn.js → websearch-aaet6srn.js} +2 -2
- package/dist/chunks/{project-s51136xy.js → websearch-acbpsmkm.js} +4 -4
- package/dist/chunks/{project-25etkhjy.js → websearch-ah6gdbsa.js} +10 -10
- package/dist/chunks/{project-mksgfzgs.js → websearch-arndb05z.js} +6 -6
- package/dist/chunks/{project-670rqs4t.js → websearch-as68cy63.js} +11 -11
- package/dist/chunks/{project-at1kfnmk.js → websearch-at1kfnmk.js} +1 -1
- package/dist/chunks/{project-e6tm7cc1.js → websearch-b4ne7bhv.js} +24 -24
- package/dist/chunks/{project-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
- package/dist/chunks/{project-vncycja5.js → websearch-bct739vz.js} +4 -4
- package/dist/chunks/{project-bdqrk2vk.js → websearch-bdqrk2vk.js} +1 -1
- package/dist/chunks/{project-5xtgfte3.js → websearch-br0tr5aq.js} +8 -8
- package/dist/chunks/{project-p51z0y8h.js → websearch-brdm0fzs.js} +11 -11
- package/dist/chunks/{project-mwb24k3n.js → websearch-c19dh1j0.js} +24 -24
- package/dist/chunks/{project-wdv5dv94.js → websearch-c7476aq3.js} +24 -24
- package/dist/chunks/{project-54tcyq79.js → websearch-ckecvw8r.js} +2 -2
- package/dist/chunks/{project-35v9xa7x.js → websearch-d1xc4y2a.js} +28 -28
- package/dist/chunks/{project-atgvkeyp.js → websearch-dnd1ddjx.js} +11 -11
- package/dist/chunks/{project-xfkkasph.js → websearch-drwq78ky.js} +4 -4
- package/dist/chunks/websearch-dxj72tfx.js +18 -0
- package/dist/chunks/{project-ewc044dc.js → websearch-e1n46n1t.js} +50 -50
- package/dist/chunks/{project-g6jwc295.js → websearch-e386cdc4.js} +10 -10
- package/dist/chunks/{project-5qd3pb7m.js → websearch-e3qxr5gk.js} +2 -2
- package/dist/chunks/{project-w9wdg20a.js → websearch-e56nnahp.js} +5 -5
- package/dist/chunks/{project-ecfe7b91.js → websearch-ecfe7b91.js} +2 -2
- package/dist/chunks/{project-vw4psb2f.js → websearch-ecsa09d5.js} +38 -38
- package/dist/chunks/{project-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
- package/dist/chunks/{project-028ks1gz.js → websearch-ejn7rwhb.js} +19 -19
- package/dist/chunks/{project-7evgncf8.js → websearch-ep3z477b.js} +11 -11
- package/dist/chunks/{project-bxnt1f3q.js → websearch-est0q85z.js} +13 -13
- package/dist/chunks/{project-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
- package/dist/chunks/{project-rhraev7y.js → websearch-f2n192rq.js} +4 -4
- package/dist/chunks/{project-8tn9xbzn.js → websearch-f6gt5aa8.js} +15 -15
- package/dist/chunks/{project-bxr2mj1p.js → websearch-fc7x1jcn.js} +48 -48
- package/dist/chunks/{project-26z2qq8v.js → websearch-fca204ar.js} +285 -285
- package/dist/chunks/{project-7nm0e33p.js → websearch-fdk5p36s.js} +5 -5
- package/dist/chunks/{project-55hk4cga.js → websearch-ff2vahy8.js} +7 -7
- package/dist/chunks/{project-emvnsgm3.js → websearch-ff678qhv.js} +4 -4
- package/dist/chunks/{project-5vv6cgd2.js → websearch-fghtb5tb.js} +22 -22
- package/dist/chunks/{project-3stws242.js → websearch-fhg5zwa0.js} +29 -29
- package/dist/chunks/{project-7p2b8qdr.js → websearch-fjy6k2t9.js} +4 -4
- package/dist/chunks/{project-759azhnc.js → websearch-fz2dh189.js} +10 -10
- package/dist/chunks/{project-h4tqdznw.js → websearch-gbrv9ggv.js} +37 -37
- package/dist/chunks/{project-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
- package/dist/chunks/{project-738gt41w.js → websearch-ggxf5pt4.js} +11 -11
- package/dist/chunks/{project-ajzsbz6h.js → websearch-gpk600j1.js} +11 -11
- package/dist/chunks/{project-gv6a8nnw.js → websearch-gv6a8nnw.js} +2 -2
- package/dist/chunks/{project-w76yg9p9.js → websearch-h01hbd1y.js} +8 -8
- package/dist/chunks/{project-6kbkabgb.js → websearch-h1esvyq0.js} +1 -1
- package/dist/chunks/{project-c9k9j98c.js → websearch-h6dda5h8.js} +2 -2
- package/dist/chunks/{project-h6r3nrb9.js → websearch-h6r3nrb9.js} +1 -1
- package/dist/chunks/{project-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
- package/dist/chunks/{project-3s40zm2k.js → websearch-h71w1jed.js} +29 -29
- package/dist/chunks/{project-231n3rbg.js → websearch-hbkhk6kn.js} +43 -43
- package/dist/chunks/{project-510m7gjw.js → websearch-hcz3zddy.js} +5 -5
- package/dist/chunks/{project-g2042726.js → websearch-hqtqhwxa.js} +11 -11
- package/dist/chunks/{project-ma6a207m.js → websearch-hswb95x4.js} +12 -12
- package/dist/chunks/{project-4e4vx4m3.js → websearch-hyxthraj.js} +13 -13
- package/dist/chunks/{project-2c9k1ggp.js → websearch-j26gqgr4.js} +3 -3
- package/dist/chunks/{project-j56e64zr.js → websearch-j56e64zr.js} +1 -1
- package/dist/chunks/{project-brs7b7j8.js → websearch-j9z4wg6b.js} +13 -13
- package/dist/chunks/{project-hty1v62m.js → websearch-jd74j2np.js} +4 -4
- package/dist/chunks/{project-6bsje7ws.js → websearch-jexxy024.js} +3 -3
- package/dist/chunks/{project-r4f3c2d6.js → websearch-jgg6hn5z.js} +13 -13
- package/dist/chunks/{project-t1jwa6v9.js → websearch-jh9h9zmd.js} +9 -9
- package/dist/chunks/{project-7thqbr1x.js → websearch-jhhbcj17.js} +18 -18
- package/dist/chunks/{project-0tg9gd1t.js → websearch-jkb2mnhj.js} +29 -29
- package/dist/chunks/{project-y7dp1mze.js → websearch-jkw8ab1z.js} +41 -41
- package/dist/chunks/{project-xsgk3b13.js → websearch-jvvc3tfq.js} +9 -9
- package/dist/chunks/{project-f2pbsgfn.js → websearch-k00ze9h8.js} +11 -11
- package/dist/chunks/{project-k3c624dm.js → websearch-k3c624dm.js} +3 -3
- package/dist/chunks/{project-12q9payb.js → websearch-kakrpwzw.js} +25 -25
- package/dist/chunks/{project-hnr8f6ws.js → websearch-kmx0na6r.js} +4 -4
- package/dist/chunks/{project-d6qswtfv.js → websearch-kxrbh14d.js} +9 -9
- package/dist/chunks/{project-m3fdjcah.js → websearch-m3fdjcah.js} +1 -1
- package/dist/chunks/{project-r6cxhc2n.js → websearch-m4rasfgg.js} +25 -25
- package/dist/chunks/{project-kg5xgaem.js → websearch-m66smpx7.js} +4 -4
- package/dist/chunks/{project-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{project-sezhhg0t.js → websearch-ma9cj8pq.js} +35 -35
- package/dist/chunks/{project-gtp0p055.js → websearch-mepyejys.js} +1 -1
- package/dist/chunks/{project-enw43jgc.js → websearch-mn39jvh5.js} +11 -11
- package/dist/chunks/{project-mzywpf3p.js → websearch-mvksx64m.js} +4 -4
- package/dist/chunks/{project-ma84hk0x.js → websearch-n02tzs3k.js} +39 -39
- package/dist/chunks/{project-8md4ryjs.js → websearch-n042b7jq.js} +18 -18
- package/dist/chunks/{project-twsb81tc.js → websearch-n3byxp5c.js} +9 -9
- package/dist/chunks/{project-bvpbr9x9.js → websearch-nb9rs9fh.js} +15 -15
- package/dist/chunks/{project-hgc9ebpk.js → websearch-ne7a8ayf.js} +1 -1
- package/dist/chunks/{project-td6rvk46.js → websearch-ngy2rse0.js} +3 -3
- package/dist/chunks/{project-vkq3nzng.js → websearch-nx0kdavb.js} +81 -81
- package/dist/chunks/{project-f2hzm7ym.js → websearch-p2ejrmjr.js} +9 -9
- package/dist/chunks/{project-6z7g0rv2.js → websearch-p55p7gjv.js} +37 -37
- package/dist/chunks/{project-q5pc3ste.js → websearch-pf9wq1rz.js} +5 -5
- package/dist/chunks/{project-a56qce7e.js → websearch-ph2vf1zj.js} +9 -9
- package/dist/chunks/{project-8tf9aaab.js → websearch-pjsbaxaj.js} +11 -11
- package/dist/chunks/{project-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
- package/dist/chunks/{project-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{project-2dsj8qey.js → websearch-ppd1p50b.js} +24 -24
- package/dist/chunks/{project-te3hdv2t.js → websearch-pw64qnn1.js} +10 -10
- package/dist/chunks/{project-x3f5n13q.js → websearch-q8ddp7df.js} +14 -14
- package/dist/chunks/{project-d7mzrd1t.js → websearch-q9860tk8.js} +6 -6
- package/dist/chunks/{project-ks59g7za.js → websearch-qa3fb321.js} +7 -7
- package/dist/chunks/websearch-qapv375x.js +4 -0
- package/dist/chunks/{project-2qckkqeq.js → websearch-qecj0jt8.js} +12 -12
- package/dist/chunks/{project-nscznvay.js → websearch-qg0jgkcp.js} +9 -9
- package/dist/chunks/websearch-qhjfgcss.js +26 -0
- package/dist/chunks/{project-qmqgtz8f.js → websearch-qmqgtz8f.js} +2 -2
- package/dist/chunks/{project-8tt02aa5.js → websearch-qpbc7zwf.js} +8 -8
- package/dist/chunks/{project-xm30kf4b.js → websearch-qphk93gx.js} +19 -19
- package/dist/chunks/{project-qsdy395h.js → websearch-qsdy395h.js} +1 -1
- package/dist/chunks/{project-4f9j4b1b.js → websearch-qwat3dyd.js} +20 -20
- package/dist/chunks/{project-mawjpeqt.js → websearch-r0142dpz.js} +31 -31
- package/dist/chunks/{project-xw8eq9f1.js → websearch-r2jew814.js} +5 -5
- package/dist/chunks/{project-3a6re68j.js → websearch-r33ff4dw.js} +6 -6
- package/dist/chunks/{project-mhkvc446.js → websearch-r5x6zcsm.js} +3 -3
- package/dist/chunks/{project-39c25vgm.js → websearch-r72vh36z.js} +8 -8
- package/dist/chunks/{project-j18xhqkk.js → websearch-rcsd3yaw.js} +16 -16
- package/dist/chunks/{project-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
- package/dist/chunks/{project-9173yfyp.js → websearch-re37wgqj.js} +307 -307
- package/dist/chunks/{project-s8d7rejh.js → websearch-rhjbct0v.js} +4 -4
- package/dist/chunks/{project-0xqyf95c.js → websearch-rk7s9xkn.js} +4 -4
- package/dist/chunks/{project-8sze2n9a.js → websearch-rkprpv83.js} +6 -6
- package/dist/chunks/{project-e20z94tv.js → websearch-rqv3m603.js} +26 -26
- package/dist/chunks/{project-f6m4j3ps.js → websearch-rvf7c2rq.js} +10 -10
- package/dist/chunks/{project-w226mdjk.js → websearch-rw311e4v.js} +23 -23
- package/dist/chunks/{project-5d5dqa2d.js → websearch-ry9dspd2.js} +3 -3
- package/dist/chunks/{project-h887mp1f.js → websearch-rypfn5ye.js} +13 -13
- package/dist/chunks/{project-c5y10d50.js → websearch-s178yrnp.js} +12 -12
- package/dist/chunks/{project-yrznvahk.js → websearch-s4enseaf.js} +2 -2
- package/dist/chunks/{project-bxgg7fv5.js → websearch-s8mtwxf3.js} +87 -87
- package/dist/chunks/{project-fh2psg6v.js → websearch-sefks3xs.js} +10 -10
- package/dist/chunks/{project-fwg9sggt.js → websearch-sgcgxeca.js} +33 -33
- package/dist/chunks/{project-k3cfks02.js → websearch-sr56qa84.js} +10 -10
- package/dist/chunks/{project-z09q57zm.js → websearch-ss3jxmem.js} +8 -8
- package/dist/chunks/{project-ff2mcvte.js → websearch-sxpcjwsm.js} +8 -8
- package/dist/chunks/{project-v6gb7zv2.js → websearch-sxzvkvgj.js} +6 -6
- package/dist/chunks/{project-dkyxp74s.js → websearch-szzpc92w.js} +1 -1
- package/dist/chunks/{project-1w8cw7jp.js → websearch-t1fqb5s2.js} +10 -10
- package/dist/chunks/{project-f3ngv102.js → websearch-t51qk8jz.js} +21 -21
- package/dist/chunks/{project-xgyn1bnh.js → websearch-t7j54sd4.js} +16 -16
- package/dist/chunks/{project-wtymb63d.js → websearch-t99r6es5.js} +24 -24
- package/dist/chunks/{project-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
- package/dist/chunks/{project-89znhe33.js → websearch-tcezcvh9.js} +4 -4
- package/dist/chunks/{project-tdstcens.js → websearch-tdstcens.js} +1 -1
- package/dist/chunks/{project-mwdzsd4k.js → websearch-tpg80jye.js} +12 -12
- package/dist/chunks/{project-tvtrv512.js → websearch-tvtrv512.js} +1 -1
- package/dist/chunks/{project-qe064441.js → websearch-v0w844jm.js} +33 -33
- package/dist/chunks/{project-mtfd35rn.js → websearch-v5mb01ar.js} +11 -11
- package/dist/chunks/{project-sqevgg1x.js → websearch-v76by4bg.js} +6 -6
- package/dist/chunks/{project-edbzcyb7.js → websearch-vc5dppgg.js} +13 -13
- package/dist/chunks/{project-py32m9ff.js → websearch-ved5are8.js} +15 -15
- package/dist/chunks/{project-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/websearch-vg86szwk.js +252 -0
- package/dist/chunks/{project-cbdz9e3t.js → websearch-vhxjwkp7.js} +13 -13
- package/dist/chunks/{project-d9hgwdxq.js → websearch-vm5657n0.js} +9 -9
- package/dist/chunks/{project-mb60e0yq.js → websearch-vrk97n7n.js} +11 -11
- package/dist/chunks/{project-j9ty9cws.js → websearch-vtd2qwnf.js} +1 -1
- package/dist/chunks/{project-607q5haz.js → websearch-vy4zg7qh.js} +5 -5
- package/dist/chunks/{project-vzcthcp8.js → websearch-vzcthcp8.js} +1 -1
- package/dist/chunks/{project-vzs5sf6e.js → websearch-vzs5sf6e.js} +1 -1
- package/dist/chunks/{project-z8z2pm43.js → websearch-w3ffgm11.js} +3 -3
- package/dist/chunks/{project-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{project-32pfbvt3.js → websearch-w73yn65a.js} +8 -8
- package/dist/chunks/{project-psazpmmj.js → websearch-wd3x2cqz.js} +2 -2
- package/dist/chunks/{project-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{project-k79tzb9n.js → websearch-wk5z6jzv.js} +9 -9
- package/dist/chunks/{project-pexf9ky2.js → websearch-ws5qwdf0.js} +10 -10
- package/dist/chunks/{project-x1ezjp6w.js → websearch-x1ezjp6w.js} +1 -1
- package/dist/chunks/{project-49by82nd.js → websearch-x4k5swv2.js} +2 -2
- package/dist/chunks/{project-5xcwfkw1.js → websearch-x8k8ss3k.js} +9 -9
- package/dist/chunks/{project-sqemcwjp.js → websearch-xe1sz0bn.js} +32 -32
- package/dist/chunks/{project-p8rw1xd4.js → websearch-xjn7r0j6.js} +17 -17
- package/dist/chunks/{project-xkntkrq7.js → websearch-xkntkrq7.js} +2 -2
- package/dist/chunks/{project-2x64qmyk.js → websearch-xvmckbd1.js} +24 -24
- package/dist/chunks/{project-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
- package/dist/chunks/{project-dpkg50ah.js → websearch-y71avatq.js} +4 -4
- package/dist/chunks/{project-n06veks5.js → websearch-y8tjx8tm.js} +6 -6
- package/dist/chunks/{project-1txejb65.js → websearch-yawrq4yy.js} +3 -3
- package/dist/chunks/{project-qpaw42s4.js → websearch-ycpwvzbp.js} +42 -42
- package/dist/chunks/{project-yrhqyw5v.js → websearch-yrhqyw5v.js} +1 -1
- package/dist/chunks/{project-1rjfexx0.js → websearch-yshwmv3n.js} +25 -25
- package/dist/chunks/{project-3bc8czyk.js → websearch-yt3hy1g9.js} +5 -5
- package/dist/chunks/{project-xv2m87qv.js → websearch-yyfgwqez.js} +8 -8
- package/dist/chunks/{project-3y66thwc.js → websearch-yze6d0jy.js} +18 -18
- package/dist/chunks/{project-bjtzbw4r.js → websearch-z07pqspn.js} +3 -3
- package/dist/chunks/{project-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{project-5k5w2ax6.js → websearch-z20rdm1x.js} +20 -20
- package/dist/chunks/{project-3cfzdc8e.js → websearch-z3pw5915.js} +5 -5
- package/dist/chunks/{project-zeh9ct20.js → websearch-zeh9ct20.js} +2 -2
- package/dist/chunks/{project-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
- package/dist/chunks/{project-4cmrr4z8.js → websearch-zvgw43n1.js} +2 -2
- package/dist/chunks/{project-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- 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 +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +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 +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +73 -73
- package/dist/database/database.js +66 -66
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- 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 +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +76 -76
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- 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 +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- 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 +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +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 +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +89 -89
- 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 +85 -85
- package/dist/reference.js +91 -91
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- 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 +119 -119
- package/dist/session/model-transport.js +9 -9
- 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 +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +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 +73 -73
- package/dist/session/store.js +87 -87
- 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 +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +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 +116 -116
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +104 -104
- 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 +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +1 -1
- 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 +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/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 +79 -79
- package/dist/workspace/driver.js +5 -5
- 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/project-34z1xqbm.js +0 -26
- package/dist/chunks/project-6kdq0pjd.js +0 -4
- package/dist/chunks/project-9sh4wc5j.js +0 -18
- package/dist/chunks/project-ebwh47j8.js +0 -252
- /package/dist/chunks/{project-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{project-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{project-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{project-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{project-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{project-24dcb14g.js → websearch-24dcb14g.js} +0 -0
- /package/dist/chunks/{project-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{project-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
- /package/dist/chunks/{project-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{project-34c7v6d4.js → websearch-34c7v6d4.js} +0 -0
- /package/dist/chunks/{project-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{project-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{project-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{project-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
- /package/dist/chunks/{project-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{project-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{project-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{project-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{project-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{project-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{project-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{project-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{project-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{project-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{project-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{project-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{project-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{project-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
- /package/dist/chunks/{project-922hggd3.js → websearch-922hggd3.js} +0 -0
- /package/dist/chunks/{project-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{project-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{project-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{project-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{project-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{project-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{project-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{project-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{project-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{project-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{project-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{project-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{project-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{project-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{project-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{project-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{project-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{project-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{project-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{project-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{project-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{project-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{project-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{project-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{project-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{project-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{project-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{project-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{project-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{project-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{project-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{project-hjbc5kem.js → websearch-hjbc5kem.js} +0 -0
- /package/dist/chunks/{project-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{project-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{project-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{project-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
- /package/dist/chunks/{project-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{project-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{project-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{project-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{project-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{project-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{project-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{project-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{project-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{project-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{project-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{project-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{project-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{project-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
- /package/dist/chunks/{project-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{project-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{project-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{project-sk3qaz4a.js → websearch-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{project-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{project-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{project-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{project-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{project-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{project-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{project-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{project-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{project-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
- /package/dist/chunks/{project-y8f7s663.js → websearch-y8f7s663.js} +0 -0
- /package/dist/chunks/{project-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{project-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{project-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-x4k5swv2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names4, discover3, exports_discovery2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-ff2vahy8.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
ID14,
|
|
3
3
|
Service77,
|
|
4
4
|
node81
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./websearch-pf9wq1rz.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -14,21 +14,21 @@ import {
|
|
|
14
14
|
mergeHeaders2,
|
|
15
15
|
Service76,
|
|
16
16
|
node80
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./websearch-fca204ar.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service47,
|
|
20
|
+
node50
|
|
21
|
+
} from "./websearch-270k6s7e.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID12,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service75,
|
|
27
|
+
node79
|
|
28
|
+
} from "./websearch-b4ne7bhv.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./websearch-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError3,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service46,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
44
44
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer21,
|
|
48
|
+
node: () => node49,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -56,7 +56,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
|
56
56
|
import { Npm } from "@opencode/util/npm";
|
|
57
57
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
58
58
|
providerID: ID13,
|
|
59
|
-
modelID:
|
|
59
|
+
modelID: ID12,
|
|
60
60
|
variant: VariantID2
|
|
61
61
|
}) {
|
|
62
62
|
get message() {
|
|
@@ -66,7 +66,7 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
66
66
|
|
|
67
67
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
68
68
|
providerID: ID13,
|
|
69
|
-
modelID:
|
|
69
|
+
modelID: ID12,
|
|
70
70
|
package: Schema.String
|
|
71
71
|
}) {
|
|
72
72
|
get message() {
|
|
@@ -77,7 +77,7 @@ var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
|
77
77
|
|
|
78
78
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
79
79
|
providerID: ID13,
|
|
80
|
-
modelID:
|
|
80
|
+
modelID: ID12,
|
|
81
81
|
package: Schema.String,
|
|
82
82
|
detail: Schema.String
|
|
83
83
|
}) {
|
|
@@ -88,7 +88,7 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
88
88
|
|
|
89
89
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
90
90
|
providerID: ID13,
|
|
91
|
-
modelID:
|
|
91
|
+
modelID: ID12,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
phase: InitializationPhase2,
|
|
94
94
|
detail: Schema.String
|
|
@@ -100,7 +100,7 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
100
100
|
|
|
101
101
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
102
102
|
providerID: ID13,
|
|
103
|
-
modelID:
|
|
103
|
+
modelID: ID12,
|
|
104
104
|
variables: Schema.Array(Schema.String)
|
|
105
105
|
}) {
|
|
106
106
|
get message() {
|
|
@@ -110,7 +110,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
110
110
|
|
|
111
111
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
112
112
|
providerID: ID13,
|
|
113
|
-
modelID:
|
|
113
|
+
modelID: ID12,
|
|
114
114
|
route: Schema.String
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service46 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,12 +258,12 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var
|
|
261
|
+
var layer21 = Layer.effect(Service46, Effect.gen(function* () {
|
|
262
262
|
const providers = yield* Service76;
|
|
263
|
-
const models = yield*
|
|
263
|
+
const models = yield* Service75;
|
|
264
264
|
const integrations = yield* Service77;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service47;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
269
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
@@ -293,7 +293,7 @@ var layer24 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
293
293
|
chunkTimeout: provider?.settings?.chunkTimeout
|
|
294
294
|
};
|
|
295
295
|
});
|
|
296
|
-
return
|
|
296
|
+
return Service46.of({
|
|
297
297
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
298
298
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
299
299
|
if (!selected)
|
|
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
310
310
|
const name = packageName2(packageName);
|
|
311
311
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
312
312
|
}
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
315
|
-
layer:
|
|
316
|
-
deps: [node80,
|
|
313
|
+
var node49 = makeLocationNode({
|
|
314
|
+
service: Service46,
|
|
315
|
+
layer: layer21,
|
|
316
|
+
deps: [node80, node79, node81, Npm.node, node50]
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
319
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service46, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node49, exports_model_resolver };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./websearch-ecsa09d5.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service71
|
|
13
|
+
} from "./websearch-3tber816.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service45
|
|
16
|
+
} from "./websearch-xjn7r0j6.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service57
|
|
19
|
+
} from "./websearch-0s4pwxt6.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service19,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./websearch-4bat6w68.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./websearch-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service69,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./websearch-yze6d0jy.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError9,
|
|
36
|
+
Service64
|
|
37
|
+
} from "./websearch-n02tzs3k.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service24
|
|
40
|
+
} from "./websearch-s8mtwxf3.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./websearch-76zdkzzt.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./websearch-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input6,
|
|
53
|
+
Plugin: () => Plugin6,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name6
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name6 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input6 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin6 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service24;
|
|
123
|
+
const jobs = yield* Service45;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service71;
|
|
126
|
+
const access = yield* Service19;
|
|
127
|
+
const shell = yield* Service64;
|
|
128
|
+
const shellSelect = yield* Service69;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service57;
|
|
131
|
+
const config = yield* Service66;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin13 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name6,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin13 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name6,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input6,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -206,7 +206,7 @@ var Plugin13 = {
|
|
|
206
206
|
const run = Effect.gen(function* () {
|
|
207
207
|
const result = yield* shell.result(info);
|
|
208
208
|
if (!result.capture)
|
|
209
|
-
return yield* new
|
|
209
|
+
return yield* new NotFoundError9({ id: info.id });
|
|
210
210
|
const output = output2(result);
|
|
211
211
|
return {
|
|
212
212
|
...output,
|
|
@@ -220,7 +220,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
220
220
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
221
221
|
const job = yield* jobs.start({
|
|
222
222
|
id: info.id,
|
|
223
|
-
type:
|
|
223
|
+
type: name6,
|
|
224
224
|
title: info.command,
|
|
225
225
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
226
226
|
recovery: {
|
|
@@ -250,7 +250,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
250
250
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
const hook = (event) => Effect.gen(function* () {
|
|
253
|
-
const tool = event.tools[
|
|
253
|
+
const tool = event.tools[name6];
|
|
254
254
|
if (!tool)
|
|
255
255
|
return;
|
|
256
256
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -261,4 +261,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
261
261
|
})
|
|
262
262
|
};
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin6, exports_shell };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info20,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info20 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info17 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info20, exports_provider2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service33,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node36
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service33 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service33.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node36 = makeGlobalNode({ service: Service33, layer: layer13, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service33, makeLayer2, layer13, node36, exports_model_transport };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-zvgw43n1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./websearch-0s4pwxt6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin51,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -54,12 +54,12 @@ var Plugin51 = {
|
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
56
|
const forms = yield* Service79;
|
|
57
|
-
const permission = yield*
|
|
57
|
+
const permission = yield* Service57;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin51, exports_question };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service55,
|
|
3
|
+
node58,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./websearch-kxrbh14d.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service42,
|
|
8
|
+
node44
|
|
9
|
+
} from "./websearch-sxzvkvgj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./websearch-3c03nx73.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-vg86szwk.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service55, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service53);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node44.replace(Layer.succeed(Service42, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node58.replace(Layer.succeed(Service55, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|