@opencode/core 0.0.0-dev-20163 → 0.0.0-dev-20165
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 +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{config-gkk129yf.js → bus-0aphxhy3.js} +8 -8
- package/dist/chunks/{config-hvpdc0sp.js → bus-0ba3e5df.js} +11 -11
- package/dist/chunks/{config-4c6p8qe3.js → bus-0gdtjrb3.js} +10 -10
- package/dist/chunks/{config-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-he3h4zb1.js → bus-0snn02bc.js} +5 -5
- package/dist/chunks/{config-j83byb14.js → bus-0v53mg2y.js} +4 -4
- package/dist/chunks/{config-3a4shs48.js → bus-0x3w53kc.js} +24 -24
- package/dist/chunks/{config-2y34zzjz.js → bus-10jtetaj.js} +4 -4
- package/dist/chunks/{config-nfqmy5b6.js → bus-11mp6xcc.js} +10 -10
- package/dist/chunks/{config-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-5cx5mghm.js → bus-1de9bfc6.js} +18 -18
- package/dist/chunks/{config-a46v4e4v.js → bus-1g7epwpd.js} +7 -7
- package/dist/chunks/{config-p3y8c77m.js → bus-1m2z8e7b.js} +7 -7
- package/dist/chunks/{config-pb6j0kax.js → bus-1r8wqweq.js} +14 -14
- package/dist/chunks/{config-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{config-1rvnc3g4.js → bus-21wqhget.js} +4 -4
- package/dist/chunks/{config-3efy5fas.js → bus-23k6j2rh.js} +17 -17
- package/dist/chunks/{config-6h73sxmp.js → bus-2402vzrj.js} +5 -5
- package/dist/chunks/{config-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-phc8pspp.js → bus-2e96adxv.js} +6 -6
- package/dist/chunks/{config-qy7d9sb7.js → bus-2ewbzxey.js} +22 -22
- package/dist/chunks/{config-whyarb4n.js → bus-2j6e3bvk.js} +11 -11
- package/dist/chunks/{config-e7tpz29y.js → bus-2j6jsqwq.js} +12 -12
- package/dist/chunks/{config-7dqw4kz8.js → bus-2k8khapm.js} +5 -5
- package/dist/chunks/{config-2p8k3371.js → bus-2p8k3371.js} +3 -3
- package/dist/chunks/{config-0mtfkzvk.js → bus-2qxex346.js} +9 -9
- package/dist/chunks/{config-97hg6zht.js → bus-2yz1cbm3.js} +48 -48
- package/dist/chunks/{config-1ygqh575.js → bus-33w4ejhs.js} +6 -6
- package/dist/chunks/{config-3cfzdc8e.js → bus-37s12vcn.js} +5 -5
- package/dist/chunks/{config-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/bus-3zb29hwj.js +26 -0
- package/dist/chunks/{config-3zsf4n22.js → bus-3zsf4n22.js} +1 -1
- package/dist/chunks/{config-psbhqdve.js → bus-40e6w6a8.js} +17 -17
- package/dist/chunks/{config-3pks5218.js → bus-492h1gdm.js} +2 -2
- package/dist/chunks/{config-hbyhqfhs.js → bus-4a6jpjer.js} +5 -5
- package/dist/chunks/{config-pcxghkgz.js → bus-4eq8w0dz.js} +4 -4
- package/dist/chunks/{config-27my81vf.js → bus-4hakzmxn.js} +8 -8
- package/dist/chunks/{config-akrnn5pm.js → bus-4k0xqdp1.js} +8 -8
- package/dist/chunks/{config-jnakyatf.js → bus-4p660y5p.js} +20 -20
- package/dist/chunks/{config-0nz73kd9.js → bus-4w7sepzt.js} +32 -32
- package/dist/chunks/{config-qj8eh1ht.js → bus-50mzsvk4.js} +4 -4
- package/dist/chunks/{config-0r7yqxbf.js → bus-510m7gjw.js} +5 -5
- package/dist/chunks/{config-qhr4ys9v.js → bus-534vcbcv.js} +16 -16
- package/dist/chunks/{config-qqeeq2t9.js → bus-57b9ws8p.js} +4 -4
- package/dist/chunks/{config-57ez7d0k.js → bus-57ez7d0k.js} +2 -2
- package/dist/chunks/{config-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{config-341r3sh7.js → bus-5e23jtee.js} +4 -4
- package/dist/chunks/{config-3myvd198.js → bus-5eh95n78.js} +50 -50
- package/dist/chunks/{config-yhqk4s98.js → bus-5gpwaaa3.js} +29 -29
- package/dist/chunks/{config-cjme43bx.js → bus-5p3qe974.js} +1 -1
- package/dist/chunks/{config-vv1h20h2.js → bus-5saxw66x.js} +10 -10
- package/dist/chunks/{config-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-snzwe59h.js → bus-5vfxef0j.js} +8 -8
- package/dist/chunks/{config-63hq6j90.js → bus-5wrpqmpn.js} +6 -6
- package/dist/chunks/{config-5xpznt2d.js → bus-5xpznt2d.js} +4 -4
- package/dist/chunks/{config-c6x07p5x.js → bus-6163gw13.js} +26 -26
- package/dist/chunks/{config-6z52wrjc.js → bus-621fsy7e.js} +26 -26
- package/dist/chunks/{config-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{config-b90ja75w.js → bus-68xb8x64.js} +14 -14
- package/dist/chunks/{config-r33ff4dw.js → bus-6ersrjne.js} +4 -4
- package/dist/chunks/{config-d23rw8y2.js → bus-6kgm0dkk.js} +11 -11
- package/dist/chunks/{config-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-9s8mzn52.js → bus-6vjn8bs4.js} +2 -2
- package/dist/chunks/{config-ab9rd8f1.js → bus-6z9y85k1.js} +12 -12
- package/dist/chunks/{config-y8hck43r.js → bus-75hjbzd4.js} +11 -11
- package/dist/chunks/{config-m7844kbn.js → bus-75hmpj5n.js} +27 -27
- package/dist/chunks/{config-m6g7p1z9.js → bus-772ac9zj.js} +20 -20
- package/dist/chunks/{config-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-6y7ymps1.js → bus-7e0e9twk.js} +3 -3
- package/dist/chunks/{config-wdrw2805.js → bus-7kjpmjj3.js} +83 -83
- package/dist/chunks/{config-6bsje7ws.js → bus-7w99qc9d.js} +3 -3
- package/dist/chunks/{config-9dp61419.js → bus-7wmnk88b.js} +29 -29
- package/dist/chunks/{config-6hhsdfpv.js → bus-804gbpmx.js} +26 -26
- package/dist/chunks/{config-6hjx5zpb.js → bus-82rhge12.js} +9 -9
- package/dist/chunks/{config-76a3kx5e.js → bus-87d1fbvh.js} +9 -9
- package/dist/chunks/{config-dx758kx7.js → bus-89dazgd3.js} +21 -21
- package/dist/chunks/{config-hs6hss1g.js → bus-8br708y6.js} +33 -33
- package/dist/chunks/{config-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-z1n525st.js → bus-8gsyrf1v.js} +10 -10
- package/dist/chunks/{config-69yhtrb3.js → bus-8m6wptmc.js} +13 -13
- package/dist/chunks/{config-s0tjnb05.js → bus-8r8xc86v.js} +17 -17
- package/dist/chunks/{config-391a84vc.js → bus-8y4q0w2z.js} +4 -4
- package/dist/chunks/{config-82z7scvq.js → bus-90xaeqwc.js} +9 -9
- package/dist/chunks/{config-94ek1h2f.js → bus-94ek1h2f.js} +2 -2
- package/dist/chunks/{config-ajqzvdgx.js → bus-94fjsw4s.js} +10 -10
- package/dist/chunks/{config-cctby3wr.js → bus-9ban3fzf.js} +13 -13
- package/dist/chunks/{config-e2v0tjas.js → bus-9dkf152x.js} +26 -26
- package/dist/chunks/{config-9e4j78a5.js → bus-9e4j78a5.js} +3 -3
- package/dist/chunks/{config-yzyc98yn.js → bus-9nepbqpa.js} +6 -6
- package/dist/chunks/{config-djcyjyas.js → bus-9w24k8ft.js} +9 -9
- package/dist/chunks/{config-y9034cbw.js → bus-9wdwr662.js} +4 -4
- package/dist/chunks/{config-nkr9tsat.js → bus-9x3m2tdt.js} +1 -1
- package/dist/chunks/{config-kyxhhp43.js → bus-a21e9xnq.js} +18 -18
- package/dist/chunks/{config-ja9xt0y7.js → bus-a59y5hzn.js} +4 -4
- package/dist/chunks/{config-kgn9tatw.js → bus-a5tc7nft.js} +23 -23
- package/dist/chunks/{config-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{config-k58htxs6.js → bus-ad9vrafr.js} +9 -9
- package/dist/chunks/{config-xcdcxew8.js → bus-agvp0yme.js} +3 -3
- package/dist/chunks/{config-mp4gry6m.js → bus-ajvebkcv.js} +11 -11
- package/dist/chunks/{config-vcrhrphe.js → bus-b0d9tgj8.js} +7 -7
- package/dist/chunks/{config-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-q5asdkn4.js → bus-baaqp4zd.js} +4 -4
- package/dist/chunks/{config-dkv69pj9.js → bus-bbb6qde0.js} +15 -15
- package/dist/chunks/{config-akxghxm2.js → bus-bd4t1mec.js} +10 -10
- package/dist/chunks/{config-ex0pka66.js → bus-bgs9y14h.js} +5 -5
- package/dist/chunks/{config-4bw31ana.js → bus-bjbmfypf.js} +33 -33
- package/dist/chunks/{config-5svcdy10.js → bus-bkwphhr2.js} +20 -20
- package/dist/chunks/{config-r6awj1nk.js → bus-bmnhc8s0.js} +16 -16
- package/dist/chunks/{config-hxyrv1jb.js → bus-bpfs35fb.js} +3 -3
- package/dist/chunks/{config-p7w3hz34.js → bus-c0s8qqjn.js} +10 -10
- package/dist/chunks/{config-x370qp4h.js → bus-cazgjqaa.js} +11 -11
- package/dist/chunks/{config-4jxtnjc8.js → bus-cfq2wmsc.js} +16 -16
- package/dist/chunks/{config-0srn37tb.js → bus-cjbxtrec.js} +11 -11
- package/dist/chunks/{config-ckecvw8r.js → bus-ckecvw8r.js} +2 -2
- package/dist/chunks/{config-2cm39q5q.js → bus-cs75ts80.js} +3 -3
- package/dist/chunks/{config-cpneeje0.js → bus-cwa6csj7.js} +9 -9
- package/dist/chunks/{config-3gmyvx2t.js → bus-da8zkw49.js} +4 -4
- package/dist/chunks/{config-m6nec9qq.js → bus-dg2cj1yd.js} +4 -4
- package/dist/chunks/{config-7zsfxkzx.js → bus-drw4pjw7.js} +13 -13
- package/dist/chunks/{config-9hn6k4tm.js → bus-dv1qgsyq.js} +4 -4
- package/dist/chunks/{config-2vk2a4tq.js → bus-e5bgy2te.js} +14 -14
- package/dist/chunks/{config-5kb038m0.js → bus-e654zbkh.js} +34 -34
- package/dist/chunks/{config-ecfe7b91.js → bus-ecfe7b91.js} +2 -2
- package/dist/chunks/{config-4tw3xr5g.js → bus-ee5xchhv.js} +12 -12
- package/dist/chunks/{config-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-j41whdzd.js → bus-evhxqahe.js} +10 -10
- package/dist/chunks/{config-5np739fs.js → bus-ey157pts.js} +3 -3
- package/dist/chunks/{config-09dpnta2.js → bus-ezt4q7h3.js} +33 -33
- package/dist/chunks/{config-zdg4hh7e.js → bus-f6k3fn9n.js} +44 -44
- package/dist/chunks/{config-0a5prme8.js → bus-fe7dkewn.js} +15 -15
- package/dist/chunks/{config-3xt0gpq2.js → bus-ffdxvw45.js} +21 -21
- package/dist/chunks/{config-0qx3jgen.js → bus-fftnqjnh.js} +28 -28
- package/dist/chunks/{config-eykerdw1.js → bus-fnhgg4jn.js} +11 -11
- package/dist/chunks/{config-kthqrwz5.js → bus-fqx7x8ej.js} +9 -9
- package/dist/chunks/{config-fgb7zg94.js → bus-g2dy75c5.js} +12 -12
- package/dist/chunks/{config-2bgtrqpj.js → bus-g8yxknp6.js} +9 -9
- package/dist/chunks/{config-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
- package/dist/chunks/{config-xcn85n4f.js → bus-gxqmhm25.js} +1 -1
- package/dist/chunks/{config-3nf27jkp.js → bus-h23yh68c.js} +20 -20
- package/dist/chunks/{config-b6z64nx6.js → bus-h5ak0366.js} +24 -24
- package/dist/chunks/{config-h6r3nrb9.js → bus-h6r3nrb9.js} +1 -1
- package/dist/chunks/{config-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-ax8jf6wh.js → bus-h8bd7r45.js} +4 -4
- package/dist/chunks/{config-c2dxfrbp.js → bus-hax2a083.js} +317 -317
- package/dist/chunks/{config-pr720m8d.js → bus-hb54f2e7.js} +40 -40
- package/dist/chunks/{config-nxhqveyz.js → bus-hkfg6fzm.js} +5 -5
- package/dist/chunks/{config-8weywzx2.js → bus-hqn196j8.js} +13 -13
- package/dist/chunks/{config-rh49mrr9.js → bus-hsxpg77g.js} +3 -3
- package/dist/chunks/{config-8f5hwpwq.js → bus-htnmj870.js} +38 -38
- package/dist/chunks/{config-191eynk5.js → bus-hxn9qyg6.js} +15 -15
- package/dist/chunks/{config-y3edmtj1.js → bus-hzk9myad.js} +13 -13
- package/dist/chunks/{config-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{config-epgnpn45.js → bus-j6rjj2pc.js} +68 -68
- package/dist/chunks/{config-1pxa4nss.js → bus-jh3gssky.js} +8 -8
- package/dist/chunks/{config-c85bkqez.js → bus-jh76kevn.js} +11 -11
- package/dist/chunks/{config-1j08d8wp.js → bus-jn4617zx.js} +6 -6
- package/dist/chunks/bus-jqh9b0xq.js +18 -0
- package/dist/chunks/{config-85apd54q.js → bus-jtr8e0e5.js} +13 -13
- package/dist/chunks/{config-h5cqn5dn.js → bus-k1mv0tmj.js} +8 -8
- package/dist/chunks/{config-j9ty9cws.js → bus-k53npxr2.js} +1 -1
- package/dist/chunks/{config-areyx2cx.js → bus-kbqbpb5y.js} +5 -5
- package/dist/chunks/{config-yq7nmdyq.js → bus-kvj3dve3.js} +11 -11
- package/dist/chunks/{config-5tmjy8g0.js → bus-kwmf9msk.js} +23 -23
- package/dist/chunks/{config-2bhzq30a.js → bus-kyp46z3n.js} +21 -21
- package/dist/chunks/{config-27t4zbz5.js → bus-m0nnjza8.js} +11 -11
- package/dist/chunks/{config-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
- package/dist/chunks/{config-2saqjfxf.js → bus-m67t35hs.js} +25 -25
- package/dist/chunks/{config-j0p8q6br.js → bus-m81s8rjw.js} +32 -32
- package/dist/chunks/{config-px3bsd12.js → bus-m984pxrh.js} +8 -8
- package/dist/chunks/{config-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-a1gpj94z.js → bus-mhkvc446.js} +3 -3
- package/dist/chunks/{config-nh68k07w.js → bus-mp2z7kc7.js} +26 -26
- package/dist/chunks/{config-7yhjqnc9.js → bus-mq14h6tz.js} +9 -9
- package/dist/chunks/{config-w2pn7q0g.js → bus-msfwm4k6.js} +16 -16
- package/dist/chunks/bus-mtayj47y.js +252 -0
- package/dist/chunks/{config-9g00fehr.js → bus-mw3kn4cx.js} +14 -14
- package/dist/chunks/{config-8mfdap3f.js → bus-n9axn9y3.js} +8 -8
- package/dist/chunks/{config-0mtekjp2.js → bus-nb50r9px.js} +4 -4
- package/dist/chunks/{config-ff0svapt.js → bus-nng2ktcm.js} +2 -2
- package/dist/chunks/{config-8d5190ka.js → bus-nxcrwpga.js} +16 -16
- package/dist/chunks/{config-5143n705.js → bus-nxjwhan3.js} +7 -7
- package/dist/chunks/{config-w1v3pp9p.js → bus-nyva0bg3.js} +24 -24
- package/dist/chunks/{config-nzks3jc8.js → bus-nzks3jc8.js} +3 -3
- package/dist/chunks/{config-jav3yb7b.js → bus-p4h2ee3k.js} +43 -43
- package/dist/chunks/{config-paz8pf0s.js → bus-p8a6mfpk.js} +31 -31
- package/dist/chunks/{config-0dda1jmb.js → bus-p9annnb7.js} +11 -11
- package/dist/chunks/{config-v7z2bvyd.js → bus-pgp1nwjn.js} +4 -4
- package/dist/chunks/{config-efmek94c.js → bus-phycxd65.js} +9 -9
- package/dist/chunks/{config-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{config-tc3ts9ah.js → bus-ppjrrp6c.js} +25 -25
- package/dist/chunks/{config-952j3b5h.js → bus-ps92wzvy.js} +11 -11
- package/dist/chunks/{config-x6k34qeq.js → bus-pwhnje2m.js} +1 -1
- package/dist/chunks/{config-q3d453fr.js → bus-pyp2czcp.js} +27 -27
- package/dist/chunks/{config-2hed35ym.js → bus-q612gbfm.js} +3 -3
- package/dist/chunks/{config-fnr6z4w1.js → bus-q6rf5bjx.js} +18 -18
- package/dist/chunks/{config-87dqewmc.js → bus-qeg755aj.js} +11 -11
- package/dist/chunks/{config-j3s2z371.js → bus-qg0jgkcp.js} +9 -9
- package/dist/chunks/{config-veevhm8d.js → bus-qjxrv95f.js} +16 -16
- package/dist/chunks/{config-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{config-rv3ers6p.js → bus-r0c8qkf4.js} +11 -11
- package/dist/chunks/{config-vmky7h7j.js → bus-r9y96fy8.js} +84 -84
- package/dist/chunks/{config-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-ebvj30mf.js → bus-rp1mvs2e.js} +8 -8
- package/dist/chunks/{config-29pep8r5.js → bus-rptbjxz5.js} +13 -13
- package/dist/chunks/{config-1550v4nk.js → bus-rq3x7jf0.js} +47 -47
- package/dist/chunks/{config-rczk70st.js → bus-rrh5t7kc.js} +30 -30
- package/dist/chunks/{config-4ca0desf.js → bus-rrrgw129.js} +11 -11
- package/dist/chunks/{config-hendpx1y.js → bus-rspj2gge.js} +20 -20
- package/dist/chunks/{config-n9qjhx81.js → bus-s17swzag.js} +4 -4
- package/dist/chunks/{config-4e8vs6eh.js → bus-s5met55r.js} +8 -8
- package/dist/chunks/{config-mh8443k9.js → bus-s6ygs1j2.js} +2 -2
- package/dist/chunks/{config-s8d7rejh.js → bus-s8d7rejh.js} +1 -1
- package/dist/chunks/{config-ta8av7gg.js → bus-saap7xtw.js} +21 -21
- package/dist/chunks/{config-bgm8582g.js → bus-sgr5k3cd.js} +24 -24
- package/dist/chunks/{config-yx7mb06z.js → bus-sgr88nar.js} +18 -18
- package/dist/chunks/{config-m08j2e3y.js → bus-syyr0948.js} +24 -24
- package/dist/chunks/{config-yrnrtvb9.js → bus-t2n45ka6.js} +27 -27
- package/dist/chunks/{config-bdm4x938.js → bus-t6qketva.js} +9 -9
- package/dist/chunks/{config-grfrd8dm.js → bus-t9dc5kdx.js} +17 -17
- package/dist/chunks/{config-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-te5kh89r.js → bus-tbyx57wx.js} +12 -12
- package/dist/chunks/{config-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{config-tvtrv512.js → bus-tvtrv512.js} +1 -1
- package/dist/chunks/{config-crj7t10d.js → bus-tvztn4z4.js} +23 -23
- package/dist/chunks/{config-jj5yanh9.js → bus-v0030e94.js} +11 -11
- package/dist/chunks/{config-c83556ad.js → bus-v9cj5dav.js} +7 -7
- package/dist/chunks/{config-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{config-0ajjd2sc.js → bus-vqymvczy.js} +8 -8
- package/dist/chunks/{config-vy4zg7qh.js → bus-vy4zg7qh.js} +5 -5
- package/dist/chunks/{config-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-vzs5sf6e.js → bus-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-t7v71wrn.js → bus-w4j00t45.js} +18 -18
- package/dist/chunks/{config-jws6fkes.js → bus-w92k2e0p.js} +2 -2
- package/dist/chunks/{config-jnk2jfbv.js → bus-wbns4mzj.js} +28 -28
- package/dist/chunks/{config-wd3x2cqz.js → bus-wd3x2cqz.js} +2 -2
- package/dist/chunks/{config-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{config-m241b8yp.js → bus-wdqsqr18.js} +3 -3
- package/dist/chunks/{config-andx0whv.js → bus-wnbk6n9k.js} +22 -22
- package/dist/chunks/{config-yjdhv57g.js → bus-wqezm4py.js} +12 -12
- package/dist/chunks/{config-x63hdkmq.js → bus-wqk3mr70.js} +20 -20
- package/dist/chunks/{config-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-dc90x61j.js → bus-x1fhfwhd.js} +3 -3
- package/dist/chunks/{config-x85taj0w.js → bus-x2d6vh57.js} +134 -134
- package/dist/chunks/{config-6c7yw9pm.js → bus-x2qdxhwm.js} +8 -8
- package/dist/chunks/{config-5pmjgeea.js → bus-x4f6av98.js} +25 -25
- package/dist/chunks/{config-zwhemmnn.js → bus-x5yxy9ce.js} +22 -22
- package/dist/chunks/{config-8q9myf25.js → bus-xcd0eash.js} +6 -6
- package/dist/chunks/{config-stxbhw19.js → bus-xck3z9mf.js} +1 -1
- package/dist/chunks/{config-j75kj7v0.js → bus-xep35038.js} +6 -6
- package/dist/chunks/{config-2jrdnx2f.js → bus-xfdhhsh9.js} +27 -27
- package/dist/chunks/{config-xkntkrq7.js → bus-xkntkrq7.js} +2 -2
- package/dist/chunks/{config-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-e3n088rr.js → bus-y3t73a5g.js} +10 -10
- package/dist/chunks/{config-9z9trrse.js → bus-y50wd8rz.js} +24 -24
- package/dist/chunks/{config-y71avatq.js → bus-y71avatq.js} +1 -1
- package/dist/chunks/{config-nanbsj68.js → bus-yebnd757.js} +41 -41
- package/dist/chunks/{config-gtt51geh.js → bus-yeddeprc.js} +28 -28
- package/dist/chunks/{config-kfpgr0a9.js → bus-yk31kz7x.js} +25 -25
- package/dist/chunks/{config-rhraev7y.js → bus-yp2x3t23.js} +4 -4
- package/dist/chunks/{config-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-yrznvahk.js → bus-yrznvahk.js} +2 -2
- package/dist/chunks/{config-yvvvp4gn.js → bus-yvvvp4gn.js} +1 -1
- package/dist/chunks/{config-vd01k5jq.js → bus-ywkte6jb.js} +19 -19
- package/dist/chunks/{config-z07pqspn.js → bus-z07pqspn.js} +3 -3
- package/dist/chunks/{config-ph842b28.js → bus-z0aj456m.js} +4 -4
- package/dist/chunks/{config-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-z63w68vq.js → bus-z63w68vq.js} +2 -2
- package/dist/chunks/{config-yk92z034.js → bus-z7gsgqjy.js} +45 -45
- package/dist/chunks/{config-zhxfxw39.js → bus-z7ygcspq.js} +32 -32
- package/dist/chunks/{config-9tr9p23y.js → bus-z9dd25k8.js} +1 -1
- package/dist/chunks/{config-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-7bczgskn.js → bus-zfbsw1e6.js} +3 -3
- package/dist/chunks/{config-9ssc61wq.js → bus-znfp2xmy.js} +15 -15
- package/dist/chunks/{config-xekpbczy.js → bus-zqkerfns.js} +7 -7
- package/dist/chunks/{config-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-4pkf9s6k.js → bus-zr2g05xs.js} +8 -8
- package/dist/chunks/{config-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- 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 +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +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 +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +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 +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +76 -76
- package/dist/job.js +77 -77
- 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 +106 -106
- 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 +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +103 -103
- 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 +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- 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 +92 -92
- 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 +74 -74
- 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 +353 -353
- 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 +223 -223
- 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 +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- 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 +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +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 +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 +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 +156 -156
- 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 +218 -218
- 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 +136 -136
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- 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 +118 -118
- 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 +103 -103
- 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 +114 -114
- package/dist/tool/plugin/write.js +118 -118
- 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 +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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +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 +83 -83
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/config-619r8v3y.js +0 -18
- package/dist/chunks/config-jm84vjjd.js +0 -252
- package/dist/chunks/config-m0gp2a18.js +0 -26
- /package/dist/chunks/{config-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-34c7v6d4.js → bus-34c7v6d4.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{config-6kdq0pjd.js → bus-6kdq0pjd.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → bus-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-a59y5hzn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./bus-fftnqjnh.js";
|
|
13
13
|
import {
|
|
14
14
|
Service80,
|
|
15
15
|
node84
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-492h1gdm.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service54,
|
|
19
|
+
node56
|
|
20
|
+
} from "./bus-89dazgd3.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID15,
|
|
23
|
+
Service78,
|
|
24
|
+
node82
|
|
25
|
+
} from "./bus-bkwphhr2.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service77,
|
|
34
34
|
node81
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./bus-phycxd65.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./bus-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service41,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
56
|
+
configured: () => configured5,
|
|
57
57
|
layer: () => layer15,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node44
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service41 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options5 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var layer15 = (options) => Layer.effect(
|
|
104
|
+
var layer15 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
105
105
|
const location = yield* Service80;
|
|
106
|
-
const environment = yield*
|
|
106
|
+
const environment = yield* Service54;
|
|
107
107
|
const bus = yield* Service83;
|
|
108
|
-
const forms = yield*
|
|
108
|
+
const forms = yield* Service78;
|
|
109
109
|
const integration = yield* Service77;
|
|
110
|
-
const credentials = yield*
|
|
110
|
+
const credentials = yield* Service79;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -135,7 +135,7 @@ var layer15 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service79, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer15 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError5({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service79, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID15.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -259,7 +259,7 @@ var layer15 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
259
259
|
entry.scope = scope;
|
|
260
260
|
const authProvider = yield* connectProvider(entry);
|
|
261
261
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
262
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
262
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service54, environment), Scope.provide(scope));
|
|
263
263
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
264
264
|
if (Exit.isSuccess(result)) {
|
|
265
265
|
entry.client = result.value.connection;
|
|
@@ -384,7 +384,7 @@ var layer15 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
384
384
|
yield* startServer(name, entry);
|
|
385
385
|
}).pipe(locks.withLock(name));
|
|
386
386
|
});
|
|
387
|
-
fork(bus.subscribe(
|
|
387
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
388
388
|
const state = create3({
|
|
389
389
|
name: "mcp",
|
|
390
390
|
initial: () => ({
|
|
@@ -410,7 +410,7 @@ var layer15 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
410
410
|
}),
|
|
411
411
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
412
412
|
});
|
|
413
|
-
return
|
|
413
|
+
return Service41.of({
|
|
414
414
|
transform: state.transform,
|
|
415
415
|
reload: state.reload,
|
|
416
416
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -516,14 +516,14 @@ function mergeCatalogs(catalogs) {
|
|
|
516
516
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
517
517
|
});
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function configured5(options) {
|
|
520
520
|
return makeLocationNode({
|
|
521
|
-
service:
|
|
521
|
+
service: Service41,
|
|
522
522
|
layer: layer15(options),
|
|
523
|
-
deps: [node84,
|
|
523
|
+
deps: [node84, node56, node87, node82, node81, node83]
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
|
-
var
|
|
526
|
+
var node44 = configured5();
|
|
527
527
|
function toElicitationField(key, property, required) {
|
|
528
528
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
529
529
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
577
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service41, Options5, layer15, configured5, node44, exports_mcp4 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node61
|
|
5
|
+
} from "./bus-ajvebkcv.js";
|
|
6
6
|
import {
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-a59y5hzn.js";
|
|
10
10
|
import {
|
|
11
11
|
native2,
|
|
12
12
|
ID13,
|
|
13
13
|
aisdk2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-xep35038.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
Family2,
|
|
18
18
|
compatibility2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-2ewbzxey.js";
|
|
20
20
|
import {
|
|
21
21
|
resolve2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./bus-wdqsqr18.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service71,
|
|
25
|
+
node75
|
|
26
|
+
} from "./bus-evhxqahe.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/models-dev.ts
|
|
32
32
|
var exports_models_dev = {};
|
|
@@ -34,12 +34,12 @@ __export(exports_models_dev, {
|
|
|
34
34
|
CatalogModelStatus: () => CatalogModelStatus2,
|
|
35
35
|
Event: () => Event6,
|
|
36
36
|
ModelsDev: () => exports_models_dev,
|
|
37
|
-
Options: () =>
|
|
38
|
-
Service: () =>
|
|
37
|
+
Options: () => Options4,
|
|
38
|
+
Service: () => Service26,
|
|
39
39
|
bodyDigest: () => bodyDigest2,
|
|
40
|
-
configured: () =>
|
|
40
|
+
configured: () => configured4,
|
|
41
41
|
layer: () => layer10,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node29
|
|
43
43
|
});
|
|
44
44
|
import { Cause, Context, Duration, Effect, Layer, Option, Schedule, Schema, Semaphore } from "effect";
|
|
45
45
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
@@ -75,12 +75,12 @@ function normalize(input) {
|
|
|
75
75
|
const models = [];
|
|
76
76
|
for (const model of Object.values(item.models)) {
|
|
77
77
|
const baseCost = cost(model.cost);
|
|
78
|
-
const id =
|
|
78
|
+
const id = ID12.make(model.id);
|
|
79
79
|
const base = modelInfo(item, id, model, { cost: baseCost });
|
|
80
80
|
const variants = resolve2({ ...base, package: nativePackage(item, model) }, supports(model));
|
|
81
81
|
models.push({ ...base, variants });
|
|
82
82
|
for (const [mode, options] of Object.entries(model.experimental?.modes ?? {})) {
|
|
83
|
-
const modeID =
|
|
83
|
+
const modeID = ID12.make(`${model.id}-${mode}`);
|
|
84
84
|
models.push(modelInfo(item, modeID, model, {
|
|
85
85
|
name: modeName(model, mode),
|
|
86
86
|
cost: mergeCost(baseCost, options.cost),
|
|
@@ -172,7 +172,7 @@ function modelInfo(provider, id, model, input = {}) {
|
|
|
172
172
|
};
|
|
173
173
|
return {
|
|
174
174
|
id,
|
|
175
|
-
modelID:
|
|
175
|
+
modelID: ID12.make(model.id),
|
|
176
176
|
providerID,
|
|
177
177
|
name: input.name ?? model.name,
|
|
178
178
|
compatibility: compatibility2(model.interleaved),
|
|
@@ -198,14 +198,14 @@ function modelInfo(provider, id, model, input = {}) {
|
|
|
198
198
|
body: input.request?.body ? { ...input.request.body } : undefined
|
|
199
199
|
};
|
|
200
200
|
}
|
|
201
|
-
var
|
|
201
|
+
var Options4 = Schema.Struct({
|
|
202
202
|
url: Schema.optional(Schema.String),
|
|
203
203
|
file: Schema.optional(Schema.String),
|
|
204
204
|
fetch: Schema.optional(Schema.Boolean),
|
|
205
205
|
snapshot: Schema.optional(Schema.Boolean)
|
|
206
206
|
});
|
|
207
207
|
|
|
208
|
-
class
|
|
208
|
+
class Service26 extends Context.Service()("@opencode/ModelsDev") {
|
|
209
209
|
}
|
|
210
210
|
var CatalogJson = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown));
|
|
211
211
|
var decodeCatalog = (text) => Schema.decodeUnknownEffect(CatalogJson)(text).pipe(Effect.map((catalog) => catalog));
|
|
@@ -228,11 +228,11 @@ function cacheKey(source) {
|
|
|
228
228
|
function bodyDigest2(text) {
|
|
229
229
|
return Hash.sha256(text);
|
|
230
230
|
}
|
|
231
|
-
var layer10 = (options) => Layer.effect(
|
|
231
|
+
var layer10 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
232
232
|
const fs = yield* FSUtil.Service;
|
|
233
233
|
const bus = yield* Service83;
|
|
234
234
|
const app = yield* Metadata2;
|
|
235
|
-
const kv = yield*
|
|
235
|
+
const kv = yield* Service71;
|
|
236
236
|
const http = HttpClient.filterStatusOk((yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
237
237
|
retryOn: "errors-and-responses",
|
|
238
238
|
times: 2,
|
|
@@ -312,15 +312,15 @@ var layer10 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
312
312
|
if (fetch && !process.argv.includes("--get-yargs-completions")) {
|
|
313
313
|
yield* Effect.forkScoped(refresh().pipe(Effect.repeat(Schedule.spaced(ttl)), Effect.ignore));
|
|
314
314
|
}
|
|
315
|
-
return
|
|
315
|
+
return Service26.of({ get, refresh });
|
|
316
316
|
}));
|
|
317
|
-
function
|
|
317
|
+
function configured4(options) {
|
|
318
318
|
return makeGlobalNode({
|
|
319
|
-
service:
|
|
319
|
+
service: Service26,
|
|
320
320
|
layer: layer10(options),
|
|
321
|
-
deps: [FSUtil.node, node87,
|
|
321
|
+
deps: [FSUtil.node, node87, node61, node75, httpClient]
|
|
322
322
|
});
|
|
323
323
|
}
|
|
324
|
-
var
|
|
324
|
+
var node29 = configured4();
|
|
325
325
|
|
|
326
|
-
export { CatalogModelStatus2,
|
|
326
|
+
export { CatalogModelStatus2, Options4, Service26, bodyDigest2, layer10, configured4, node29, exports_models_dev, Event6 };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./bus-x5yxy9ce.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-492h1gdm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service45
|
|
12
|
+
} from "./bus-hb54f2e7.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./bus-sgr88nar.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service10
|
|
20
|
+
} from "./bus-qg0jgkcp.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-9wdwr662.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill3 = {};
|
|
30
|
+
__export(exports_skill3, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill3,
|
|
32
|
+
Plugin: () => Plugin50
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin50 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service45;
|
|
43
|
+
const discovery = yield* Service10;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
46
|
const location = yield* Service80;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service46;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin19 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin19 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source4.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin19 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source4.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin19 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source4.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin19 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin50, exports_skill3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make19 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-a59y5hzn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./bus-evhxqahe.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service36,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-jqh9b0xq.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-x2d6vh57.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./bus-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
27
|
+
var exports_plugin2 = {};
|
|
28
|
+
__export(exports_plugin2, {
|
|
29
29
|
Event: () => Event2,
|
|
30
30
|
ID: () => ID2,
|
|
31
31
|
Info: () => Info2,
|
|
32
|
-
Plugin: () =>
|
|
33
|
-
Service: () =>
|
|
32
|
+
Plugin: () => exports_plugin2,
|
|
33
|
+
Service: () => Service36,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
@@ -40,9 +40,9 @@ import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as
|
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service83;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service71;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -67,7 +67,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
67
67
|
const list = Effect.fn("Plugin.list")(function* () {
|
|
68
68
|
return inventory;
|
|
69
69
|
});
|
|
70
|
-
const host = yield*
|
|
70
|
+
const host = yield* make11({ list });
|
|
71
71
|
const load = Effect.fnUntraced(function* (plugin) {
|
|
72
72
|
const activation = { plugin, scope: yield* Scope.fork(scope) };
|
|
73
73
|
const inherit = yield* inherit2();
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service36.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -223,9 +223,9 @@ function slotInfo(slot) {
|
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
225
|
var node15 = Node.makeLocationNode({
|
|
226
|
-
service:
|
|
226
|
+
service: Service36,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export { node15,
|
|
231
|
+
export { node15, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-wd3x2cqz.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin30,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin30 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin12 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin30, exports_identity };
|