@opencode/core 2.0.8 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +5 -5
- package/dist/bus.js +68 -68
- package/dist/chunks/{provider-t7n9q6bq.js → tool-06x8he3q.js} +4 -4
- package/dist/chunks/{provider-qwd61y7s.js → tool-07kta9gz.js} +5 -5
- package/dist/chunks/{provider-cnkj3bkk.js → tool-08ed4zmw.js} +6 -6
- package/dist/chunks/{provider-mwp3erwx.js → tool-0e14c09c.js} +27 -28
- package/dist/chunks/{provider-p0b4ytnr.js → tool-0ft9cg2j.js} +6 -6
- package/dist/chunks/{provider-cg1g2n28.js → tool-0gpvppac.js} +11 -11
- package/dist/chunks/{provider-xm667kcd.js → tool-0mb99r4j.js} +6 -6
- package/dist/chunks/{provider-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{provider-0q0f95c6.js → tool-0q0f95c6.js} +1 -1
- package/dist/chunks/{provider-j4g63x3f.js → tool-0t9wd588.js} +8 -8
- package/dist/chunks/{provider-8r5fzj69.js → tool-0tkwk172.js} +20 -20
- package/dist/chunks/{provider-wtkpzfnv.js → tool-133y1x9c.js} +5 -5
- package/dist/chunks/{provider-0t25cr4h.js → tool-13kry10e.js} +9 -9
- package/dist/chunks/{provider-3gdftj2q.js → tool-197ae9n4.js} +64 -64
- package/dist/chunks/{provider-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
- package/dist/chunks/{provider-7k1xech5.js → tool-1n6jm1r8.js} +15 -15
- package/dist/chunks/{provider-ejmhj0m2.js → tool-1q4w1hkk.js} +13 -13
- package/dist/chunks/{provider-vsd9rkc3.js → tool-1rf9k0bb.js} +8 -8
- package/dist/chunks/{provider-cm7tjn9h.js → tool-1tx6fftr.js} +11 -11
- package/dist/chunks/{provider-11psvd52.js → tool-1y3ke0et.js} +13 -13
- package/dist/chunks/{provider-8m9ckcb3.js → tool-1yee1wsw.js} +5 -5
- package/dist/chunks/{provider-mfqp6xfm.js → tool-1ygqh575.js} +6 -6
- package/dist/chunks/{provider-21r38tys.js → tool-21r38tys.js} +1 -1
- package/dist/chunks/{provider-5yqhmvcr.js → tool-22yzgjh2.js} +41 -41
- package/dist/chunks/{provider-2402vzrj.js → tool-2402vzrj.js} +1 -1
- package/dist/chunks/{provider-h90v2x9d.js → tool-277eer69.js} +4 -4
- package/dist/chunks/{provider-8xvmqg79.js → tool-27arm9z1.js} +5 -5
- package/dist/chunks/{provider-09nc05e3.js → tool-2849xt8w.js} +11 -11
- package/dist/chunks/{provider-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
- package/dist/chunks/{provider-rjcfzdhg.js → tool-2a8ctrw4.js} +26 -26
- package/dist/chunks/{provider-4m1f7c2g.js → tool-2g2cd18n.js} +26 -26
- package/dist/chunks/{provider-fva1abr5.js → tool-2g7ehmrk.js} +7 -7
- package/dist/chunks/{provider-e9a3e76h.js → tool-2gch173w.js} +36 -36
- package/dist/chunks/{provider-pjbk54rp.js → tool-2s87feef.js} +17 -17
- package/dist/chunks/{provider-rey5gbxv.js → tool-2sejkfem.js} +9 -9
- package/dist/chunks/tool-2vmydbdw.js +39 -0
- package/dist/chunks/{provider-rvm9em84.js → tool-3cbaeney.js} +3 -3
- package/dist/chunks/{provider-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{provider-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/tool-3j9bgvtg.js +123 -0
- package/dist/chunks/{provider-v5fds5j5.js → tool-3mtxmfhx.js} +34 -34
- package/dist/chunks/{provider-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{provider-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{provider-x1az8410.js → tool-42djxevb.js} +54 -49
- package/dist/chunks/{provider-0b3fz7z6.js → tool-4chvkj0g.js} +24 -24
- package/dist/chunks/{provider-1gfgk62c.js → tool-4e8vs6eh.js} +8 -8
- package/dist/chunks/{provider-81zyrma5.js → tool-4gtpy403.js} +20 -20
- package/dist/chunks/{provider-7qkw4ngt.js → tool-4k6nnmrf.js} +25 -25
- package/dist/chunks/{provider-fygkmg88.js → tool-4n9mx8v3.js} +26 -26
- package/dist/chunks/{provider-hhbk8mpt.js → tool-4vjsat8t.js} +20 -20
- package/dist/chunks/{provider-8a7sh5jm.js → tool-57m9tgf1.js} +10 -10
- package/dist/chunks/{provider-csf2jhsg.js → tool-5c0f1prt.js} +4 -4
- package/dist/chunks/{provider-5c4hm403.js → tool-5c4hm403.js} +3 -3
- package/dist/chunks/{provider-0gapa1rm.js → tool-5d17xbav.js} +5 -5
- package/dist/chunks/{provider-5daktx2q.js → tool-5daktx2q.js} +1 -1
- package/dist/chunks/{provider-psbrwbtd.js → tool-5e19p4dw.js} +5 -5
- package/dist/chunks/{provider-bct739vz.js → tool-5q02cxx3.js} +4 -4
- package/dist/chunks/{provider-e3qxr5gk.js → tool-5qd3pb7m.js} +2 -2
- package/dist/chunks/{provider-tq1x5cnr.js → tool-5rbeskxf.js} +7 -7
- package/dist/chunks/{provider-5vcg79ee.js → tool-5rdsaqrf.js} +5 -5
- package/dist/chunks/{provider-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
- package/dist/chunks/{provider-mt181yvh.js → tool-5y430q9n.js} +3 -3
- package/dist/chunks/{provider-fkdcvybx.js → tool-5y6wgat7.js} +41 -41
- package/dist/chunks/{provider-gzbkpp9m.js → tool-5yeq06a0.js} +9 -9
- package/dist/chunks/{provider-g0445xdp.js → tool-5yzzbxa7.js} +8 -8
- package/dist/chunks/{provider-w4qe0sa0.js → tool-60hfzj8m.js} +4 -4
- package/dist/chunks/{provider-669tq793.js → tool-669tq793.js} +1 -1
- package/dist/chunks/{provider-7w99qc9d.js → tool-6bsje7ws.js} +3 -3
- package/dist/chunks/{provider-vakcje41.js → tool-6gc9zjjv.js} +23 -23
- package/dist/chunks/{provider-kp8q1t60.js → tool-6hjx5zpb.js} +9 -9
- package/dist/chunks/{provider-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
- package/dist/chunks/{provider-drdkww6h.js → tool-6nma5gxg.js} +7 -7
- package/dist/chunks/{provider-0qwa4caw.js → tool-7037ptb2.js} +20 -20
- package/dist/chunks/{provider-j028xdjb.js → tool-73tb2d7t.js} +3 -3
- package/dist/chunks/{provider-76p4c97e.js → tool-76p4c97e.js} +5 -5
- package/dist/chunks/{provider-ep4ghje0.js → tool-77m2y8gv.js} +12 -20
- package/dist/chunks/{provider-zjv98bwp.js → tool-7a4dnpr3.js} +37 -37
- package/dist/chunks/{provider-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-v4x1eedp.js → tool-7gyssj7x.js} +23 -23
- package/dist/chunks/{provider-ga5vg9fv.js → tool-7ngem68y.js} +3 -3
- package/dist/chunks/{provider-hyybwahv.js → tool-7nm0hg1a.js} +22 -22
- package/dist/chunks/{provider-xc59sqye.js → tool-88wb8vtq.js} +18 -18
- package/dist/chunks/{provider-sdbkfcvv.js → tool-89smrnyf.js} +4 -4
- package/dist/chunks/{provider-15r2v9gh.js → tool-8b03w2b6.js} +42 -42
- package/dist/chunks/{provider-4c30dr7a.js → tool-8cpww9tf.js} +6 -6
- package/dist/chunks/{provider-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
- package/dist/chunks/{provider-tfyty9ze.js → tool-8eg130jy.js} +22 -22
- package/dist/chunks/{provider-mpvph0fb.js → tool-8rras65h.js} +13 -13
- package/dist/chunks/{provider-f466az3m.js → tool-8szgh749.js} +4 -4
- package/dist/chunks/{provider-91g84dh8.js → tool-8t1mk3vk.js} +52 -52
- package/dist/chunks/{provider-8b2r4c2a.js → tool-8vvqba33.js} +14 -14
- package/dist/chunks/{provider-d683g0r8.js → tool-91f0wncr.js} +14 -12
- package/dist/chunks/{provider-1p7te6jw.js → tool-9ebbd7jr.js} +6 -6
- package/dist/chunks/{provider-3y2ngnym.js → tool-9endzh9e.js} +4 -4
- package/dist/chunks/{provider-xpyadjc6.js → tool-9hd1jrv7.js} +10 -10
- package/dist/chunks/{provider-actjby0x.js → tool-9pr9fbrd.js} +16 -16
- package/dist/chunks/{provider-1npfg0xs.js → tool-9thxh3x6.js} +7 -7
- package/dist/chunks/{provider-9vsnydsb.js → tool-a012ky48.js} +8 -8
- package/dist/chunks/{provider-e38px6ch.js → tool-a9jc8qdz.js} +10 -10
- package/dist/chunks/{provider-aaet6srn.js → tool-aaet6srn.js} +2 -2
- package/dist/chunks/{provider-9a3rawad.js → tool-adffrgan.js} +18 -18
- package/dist/chunks/{provider-y35pc762.js → tool-afmcrv4e.js} +11 -11
- package/dist/chunks/{provider-nwsdknbg.js → tool-ar0mpfen.js} +13 -13
- package/dist/chunks/tool-az58nsbk.js +26 -0
- package/dist/chunks/{provider-nsk5ek41.js → tool-b1syqa90.js} +8 -8
- package/dist/chunks/{provider-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
- package/dist/chunks/{provider-dwn3ee68.js → tool-b71trcwb.js} +13 -13
- package/dist/chunks/{provider-jwbqhvyy.js → tool-bhj4y43k.js} +5 -5
- package/dist/chunks/{provider-0t0bcxwx.js → tool-c7hpn42k.js} +15 -15
- package/dist/chunks/{provider-wvf0gkq1.js → tool-cap3n08w.js} +16 -16
- package/dist/chunks/{provider-t51qk8jz.js → tool-cavr175a.js} +21 -21
- package/dist/chunks/{provider-enbew5pp.js → tool-cb2k1f8p.js} +20 -20
- package/dist/chunks/{provider-kb20yxx5.js → tool-czgzge8y.js} +11 -11
- package/dist/chunks/{provider-fy6z0q13.js → tool-d0syxqaf.js} +3 -3
- package/dist/chunks/{provider-r4xt06hn.js → tool-d8dkarbn.js} +14 -14
- package/dist/chunks/{provider-d9s573fh.js → tool-d9s573fh.js} +2 -2
- package/dist/chunks/{provider-351g3160.js → tool-dc0tp24d.js} +5 -5
- package/dist/chunks/{provider-xsrj88ys.js → tool-dcjp3a2d.js} +22 -22
- package/dist/chunks/{provider-rsc2j7te.js → tool-df3x4kde.js} +15 -15
- package/dist/chunks/{provider-dj2t23y0.js → tool-dj2t23y0.js} +2 -2
- package/dist/chunks/{provider-e2v82dka.js → tool-dqmvjehx.js} +18 -18
- package/dist/chunks/{provider-qqeeq2t9.js → tool-drwq78ky.js} +7 -7
- package/dist/chunks/{provider-34v9mh2z.js → tool-drz214yv.js} +21 -19
- package/dist/chunks/{provider-eg8s060n.js → tool-dssw6a44.js} +25 -25
- package/dist/chunks/{provider-mr9xcrcq.js → tool-dwktjsma.js} +1 -1
- package/dist/chunks/{provider-0p838j47.js → tool-dz1mzf7h.js} +20 -20
- package/dist/chunks/{provider-zzdnm867.js → tool-e1ddjrnd.js} +25 -25
- package/dist/chunks/{provider-fd13sxf6.js → tool-e1hrzsan.js} +12 -12
- package/dist/chunks/{provider-tjqem147.js → tool-e7q4x2ep.js} +11 -11
- package/dist/chunks/{provider-vhmx8meg.js → tool-e7vjfaw8.js} +79 -79
- package/dist/chunks/{provider-rdkgddmz.js → tool-ebdw14y1.js} +25 -24
- package/dist/chunks/{provider-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{provider-0esb4psk.js → tool-ek2qcn6v.js} +5 -5
- package/dist/chunks/{provider-cynhgza1.js → tool-epap41sx.js} +4 -4
- package/dist/chunks/{provider-q43a4jj4.js → tool-eq68chpb.js} +9 -9
- package/dist/chunks/{provider-erw5rpbs.js → tool-erw5rpbs.js} +2 -2
- package/dist/chunks/{provider-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
- package/dist/chunks/{provider-yp2x3t23.js → tool-f2n192rq.js} +4 -4
- package/dist/chunks/{provider-9wpgsbre.js → tool-f7j90zp2.js} +9 -9
- package/dist/chunks/{provider-gs0zj1fa.js → tool-f8ekkhd9.js} +46 -46
- package/dist/chunks/{provider-kj5jsdb7.js → tool-fcy52zm3.js} +47 -47
- package/dist/chunks/{provider-nng2ktcm.js → tool-ff0svapt.js} +2 -2
- package/dist/chunks/{provider-mmr7bq34.js → tool-fkjmw100.js} +4 -4
- package/dist/chunks/{provider-qahhm8db.js → tool-fnkqs40h.js} +31 -31
- package/dist/chunks/{provider-2q8c0gm7.js → tool-fsbk27r1.js} +9 -9
- package/dist/chunks/{provider-fxbjtjnd.js → tool-fxbjtjnd.js} +1 -1
- package/dist/chunks/{provider-1d5f8fmh.js → tool-gbag256c.js} +19 -19
- package/dist/chunks/{provider-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{provider-80nc4spm.js → tool-gnrgb9v9.js} +12 -12
- package/dist/chunks/tool-gyce5qg1.js +18 -0
- package/dist/chunks/{provider-qh2stzd9.js → tool-h2t4955r.js} +16 -16
- package/dist/chunks/{provider-5sf0enm2.js → tool-h5msn5dz.js} +16 -16
- package/dist/chunks/{provider-4dgbcxzg.js → tool-h6r3nrb9.js} +4 -4
- package/dist/chunks/{provider-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{provider-hdnk95c8.js → tool-hdnk95c8.js} +2 -2
- package/dist/chunks/{provider-wsdt1w6c.js → tool-hxsyww7z.js} +16 -16
- package/dist/chunks/{provider-0ne02q5f.js → tool-hzfzrbn9.js} +11 -11
- package/dist/chunks/{provider-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{provider-2sfvcfsn.js → tool-jd6wf3ec.js} +6 -6
- package/dist/chunks/{provider-38kvz03f.js → tool-jd81wks2.js} +33 -33
- package/dist/chunks/{provider-4z99h2j9.js → tool-jm3kmfpd.js} +37 -37
- package/dist/chunks/{provider-2tw8fa6w.js → tool-jn4t2z3d.js} +4 -4
- package/dist/chunks/{provider-gagp2ybg.js → tool-kcrds6bj.js} +24 -24
- package/dist/chunks/{provider-0xrq8eqy.js → tool-krc9qdj7.js} +24 -24
- package/dist/chunks/{provider-m0jqrx5p.js → tool-m0jqrx5p.js} +2 -2
- package/dist/chunks/{provider-yymhtj63.js → tool-m32ek0sw.js} +4 -4
- package/dist/chunks/{provider-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
- package/dist/chunks/{provider-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-37y816cy.js → tool-mh3xs90e.js} +23 -23
- package/dist/chunks/{provider-f9y7tnx7.js → tool-n24pcqxv.js} +8 -8
- package/dist/chunks/{provider-ds9fva7f.js → tool-n3mc6yaw.js} +24 -24
- package/dist/chunks/{provider-7bmx80wk.js → tool-n4pqkaym.js} +5 -5
- package/dist/chunks/{provider-nn8rne3z.js → tool-nccpag2r.js} +20 -20
- package/dist/chunks/{provider-dj316k4n.js → tool-nj8fcevf.js} +15 -15
- package/dist/chunks/{provider-887z4k6m.js → tool-nr25fmgm.js} +25 -25
- package/dist/chunks/{provider-f3n8kt47.js → tool-ns0n9ww9.js} +20 -20
- package/dist/chunks/{provider-b5x7220n.js → tool-nt9apy23.js} +10 -10
- package/dist/chunks/{provider-t5kkkbc4.js → tool-nwgfxwxy.js} +16 -16
- package/dist/chunks/{provider-k3c624dm.js → tool-nzks3jc8.js} +3 -3
- package/dist/chunks/{provider-p28j5sbe.js → tool-p28j5sbe.js} +2 -2
- package/dist/chunks/{provider-rj0ypf2k.js → tool-p6q10aaw.js} +64 -33
- package/dist/chunks/{provider-67dmnq4v.js → tool-pb77jvd0.js} +13 -13
- package/dist/chunks/{provider-mh1qkymb.js → tool-pcfkrm12.js} +4 -4
- package/dist/chunks/{provider-6pwmqge3.js → tool-pf6xmb6f.js} +9 -9
- package/dist/chunks/{provider-v1q7vfww.js → tool-phc8pspp.js} +9 -9
- package/dist/chunks/{provider-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{provider-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{provider-7mhwkgkf.js → tool-pwf27gkd.js} +11 -11
- package/dist/chunks/{provider-5npzb8nr.js → tool-py5ms06j.js} +29 -29
- package/dist/chunks/{provider-5zwdrvn4.js → tool-qbp86h8m.js} +78 -78
- package/dist/chunks/{provider-j22bfhxa.js → tool-qc9kn75m.js} +8 -8
- package/dist/chunks/{provider-xth1q62c.js → tool-qecsarb4.js} +28 -28
- package/dist/chunks/{provider-byyezdhj.js → tool-qf41qe2n.js} +19 -16
- package/dist/chunks/{provider-7dqw4kz8.js → tool-qgn6gcr1.js} +5 -5
- package/dist/chunks/{provider-phh6jpcy.js → tool-qnc1epre.js} +9 -9
- package/dist/chunks/{provider-3ck6fvg6.js → tool-qqcjb6jx.js} +34 -25
- package/dist/chunks/{provider-rscy38nb.js → tool-qr7xcjfz.js} +16 -16
- package/dist/chunks/{provider-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{provider-72376wrz.js → tool-qzwv76tp.js} +6 -6
- package/dist/chunks/{provider-1qjdpwr6.js → tool-r2m639zq.js} +9 -9
- package/dist/chunks/{provider-k3kkjkzr.js → tool-r6qdpshk.js} +10 -10
- package/dist/chunks/{provider-w8jt0a6r.js → tool-r9s1vmbv.js} +11 -11
- package/dist/chunks/{provider-fqj9nv8j.js → tool-rav9e4bf.js} +8 -8
- package/dist/chunks/tool-rdf0737w.js +252 -0
- package/dist/chunks/{provider-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{provider-awdcnpvv.js → tool-rq1pz7qt.js} +19 -19
- package/dist/chunks/{provider-rq775frq.js → tool-rq775frq.js} +2 -2
- package/dist/chunks/{provider-p8qz4fmk.js → tool-rx6gygm6.js} +3 -3
- package/dist/chunks/{provider-2sraqb63.js → tool-rx871m47.js} +2 -2
- package/dist/chunks/{provider-qq9garkb.js → tool-rxerzcr3.js} +38 -38
- package/dist/chunks/{provider-01gts7tv.js → tool-s4fep8mk.js} +18 -15
- package/dist/chunks/{provider-t550f9t1.js → tool-s8d7rejh.js} +4 -4
- package/dist/chunks/{provider-xc81b6ma.js → tool-sd3ysec1.js} +42 -43
- package/dist/chunks/{provider-s6cyt6ak.js → tool-skq2eby0.js} +14 -14
- package/dist/chunks/{provider-1rcq3xh2.js → tool-sr2ca446.js} +1 -1
- package/dist/chunks/{provider-w4axh9wz.js → tool-stag65f9.js} +8 -8
- package/dist/chunks/{provider-kpt0jdz6.js → tool-t0e82vdg.js} +20 -20
- package/dist/chunks/{provider-knkst9z5.js → tool-t15tae8c.js} +29 -29
- package/dist/chunks/{provider-729zp0dx.js → tool-t183he7n.js} +20 -20
- package/dist/chunks/{provider-w1f0rjtr.js → tool-t6rnym7v.js} +14 -14
- package/dist/chunks/{provider-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{provider-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
- package/dist/chunks/{provider-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{provider-n69ejct9.js → tool-tjmwbj5k.js} +12 -12
- package/dist/chunks/{provider-19vf66h0.js → tool-tkmwgdpd.js} +7 -7
- package/dist/chunks/{provider-h4v1hw2f.js → tool-tqf8vx6a.js} +13 -13
- package/dist/chunks/{provider-tvtrv512.js → tool-tvtrv512.js} +1 -1
- package/dist/chunks/{provider-zpx63w9z.js → tool-v6kqcv79.js} +13 -13
- package/dist/chunks/{provider-tgv2tnbf.js → tool-v8z2wyq8.js} +30 -30
- package/dist/chunks/{provider-rmbwqpd3.js → tool-vbyfx3mn.js} +18 -18
- package/dist/chunks/{provider-dcykxfvx.js → tool-vcev46jt.js} +22 -22
- package/dist/chunks/{provider-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{provider-m4t7fw5x.js → tool-vgc515rw.js} +7 -7
- package/dist/chunks/{provider-m7nn889r.js → tool-vh7phyy0.js} +35 -35
- package/dist/chunks/{provider-2p6av61j.js → tool-vppzcqrc.js} +14 -14
- package/dist/chunks/{provider-2a6rn6yr.js → tool-vqfzq50h.js} +6 -6
- package/dist/chunks/{provider-1wbt76dk.js → tool-vs9wvdae.js} +173 -172
- package/dist/chunks/{provider-4g86yzmg.js → tool-vsbgd8f5.js} +29 -29
- package/dist/chunks/{provider-1f8ext69.js → tool-vwgz8d7g.js} +6 -6
- package/dist/chunks/{provider-vxx6ayt4.js → tool-vy03e0d7.js} +15 -15
- package/dist/chunks/{provider-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
- package/dist/chunks/{provider-mz9p79zm.js → tool-vzt7w0x1.js} +15 -15
- package/dist/chunks/{provider-bnyd0tae.js → tool-vzyzcn29.js} +24 -24
- package/dist/chunks/{provider-d8rms5sb.js → tool-w1tdvvt2.js} +9 -9
- package/dist/chunks/{provider-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-r963ve15.js → tool-w6ertran.js} +13 -13
- package/dist/chunks/{provider-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{provider-eymf4g3t.js → tool-wt8nwjmt.js} +9 -9
- package/dist/chunks/{provider-88r4h6e3.js → tool-ww5k9hxf.js} +21 -21
- package/dist/chunks/{provider-6cdpcxhv.js → tool-wyd4vgvd.js} +2 -2
- package/dist/chunks/{provider-s0hza5ac.js → tool-x0511brf.js} +4 -4
- package/dist/chunks/{provider-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
- package/dist/chunks/{provider-bmwcfc8x.js → tool-x6z1bn3h.js} +23 -23
- package/dist/chunks/{provider-t5a1ectr.js → tool-xg0cet8h.js} +30 -30
- package/dist/chunks/{provider-aj1d5q5j.js → tool-xhtw6jf1.js} +3 -3
- package/dist/chunks/{provider-8ke5vzqq.js → tool-xn17ps4b.js} +3 -3
- package/dist/chunks/{provider-1kc6bgj5.js → tool-xr88f9g7.js} +325 -311
- package/dist/chunks/{provider-6e4qnhr8.js → tool-xxh17bsg.js} +11 -11
- package/dist/chunks/{provider-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{provider-brwwdzr5.js → tool-y1swv0f0.js} +3 -3
- package/dist/chunks/{provider-2hd5d5xt.js → tool-y5pzn50y.js} +29 -29
- package/dist/chunks/{provider-y71avatq.js → tool-y71avatq.js} +1 -1
- package/dist/chunks/{provider-mh5wyt4r.js → tool-ye73daeg.js} +11 -11
- package/dist/chunks/{provider-54ttrj93.js → tool-yp1xsd17.js} +43 -43
- package/dist/chunks/{provider-kdqk7nms.js → tool-yravmt5v.js} +11 -11
- package/dist/chunks/{provider-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
- package/dist/chunks/{provider-s4enseaf.js → tool-yrznvahk.js} +2 -2
- package/dist/chunks/{provider-txcxdz33.js → tool-yxjvheq8.js} +18 -17
- package/dist/chunks/{provider-yyb7tjpc.js → tool-yyb7tjpc.js} +2 -2
- package/dist/chunks/{provider-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{provider-29x78va6.js → tool-z63w68vq.js} +6 -6
- package/dist/chunks/{provider-mdyjdwxf.js → tool-z80n829h.js} +35 -35
- package/dist/chunks/{provider-nctzvp07.js → tool-z89cezv7.js} +3 -3
- package/dist/chunks/{provider-667yc4c2.js → tool-zdetck8p.js} +49 -49
- package/dist/chunks/{provider-ts2x07a1.js → tool-zhq6vg7a.js} +1 -1
- package/dist/chunks/{provider-j14a3kcd.js → tool-zk0g89ph.js} +11 -11
- package/dist/chunks/{provider-ftrz1f8n.js → tool-zpks96xd.js} +13 -13
- package/dist/chunks/{provider-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{provider-hafdg6x7.js → tool-zwfjdtpq.js} +33 -33
- package/dist/chunks/{provider-9sbrwvac.js → tool-zxcbkvg1.js} +15 -15
- package/dist/chunks/{provider-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/chunks/{provider-7q56wrxt.js → tool-zy1jay2k.js} +4 -4
- package/dist/chunks/{provider-cxvz4c6f.js → tool-zz2gaj37.js} +24 -24
- 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 +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -366
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +98 -98
- 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 +359 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -354
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +135 -0
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -345
- package/dist/plugin/tool-input-repair.js +9 -0
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +102 -96
- 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 +91 -91
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +220 -220
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +7 -7
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/agent.d.ts +14 -1
- package/dist/types/aisdk.d.ts +5 -5
- package/dist/types/config/plugin/command.d.ts +1 -1
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/job.d.ts +3 -0
- package/dist/types/model-resolver.d.ts +7 -6
- package/dist/types/model.d.ts +46 -14
- package/dist/types/plugin/compaction.d.ts +3 -0
- package/dist/types/plugin/internal.d.ts +2 -2
- package/dist/types/plugin/provider/configured.d.ts +2 -6
- package/dist/types/plugin/tool-input-repair.d.ts +2 -0
- package/dist/types/provider.d.ts +66 -15
- package/dist/types/session/compaction.d.ts +16 -1
- package/dist/types/session/execution/restart.d.ts +1 -1
- package/dist/types/session/history.d.ts +8 -8
- package/dist/types/tool/plugin/shell.d.ts +1 -1
- package/dist/types/tool/plugin/subagent.d.ts +1 -1
- package/dist/types/tool.d.ts +3 -0
- package/dist/types/v1/config/migrate.d.ts +24 -20
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/provider-1admmex6.js +0 -252
- package/dist/chunks/provider-h7j2c3yy.js +0 -26
- package/dist/chunks/provider-v1faaxn9.js +0 -18
- /package/dist/chunks/{provider-0mesazry.js → tool-0mesazry.js} +0 -0
- /package/dist/chunks/{provider-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{provider-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-922hggd3.js → tool-922hggd3.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-twg0f83k.js → tool-twg0f83k.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-9endzh9e.js";
|
|
8
8
|
import {
|
|
9
9
|
Event19,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./tool-dz1mzf7h.js";
|
|
13
13
|
import {
|
|
14
14
|
Service79,
|
|
15
15
|
node83
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-wyd4vgvd.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service46,
|
|
19
|
+
node48
|
|
20
|
+
} from "./tool-ww5k9hxf.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID16,
|
|
23
|
+
Service78,
|
|
24
|
+
node82
|
|
25
|
+
} from "./tool-vbyfx3mn.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service76,
|
|
34
|
+
node80
|
|
35
|
+
} from "./tool-mh3xs90e.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./tool-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
44
|
NotFoundError: () => NotFoundError4,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options3,
|
|
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: () => Service31,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
56
|
+
configured: () => configured3,
|
|
57
57
|
layer: () => layer14,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node34
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -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 Service31 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options3 = 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 layer14 = (options) => Layer.effect(
|
|
104
|
+
var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
105
105
|
const location = yield* Service79;
|
|
106
|
-
const environment = yield*
|
|
106
|
+
const environment = yield* Service46;
|
|
107
107
|
const bus = yield* Service82;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service78;
|
|
109
|
+
const integration = yield* Service76;
|
|
110
|
+
const credentials = yield* Service77;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID14.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer14 = (options) => Layer.effect(Service34, 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(Service77, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -151,12 +151,12 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
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(Service77, 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 = ID16.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
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(
|
|
243
|
+
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(Service46, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -391,7 +391,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service31.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured3(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
515
|
+
service: Service31,
|
|
516
516
|
layer: layer14(options),
|
|
517
|
-
deps: [node83,
|
|
517
|
+
deps: [node83, node48, node86, node82, node80, node81]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node34 = configured3();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service31, Options3, layer14, configured3, node34, exports_mcp4 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigFormatterV1: () =>
|
|
9
|
-
Entry: () =>
|
|
10
|
-
Info: () =>
|
|
6
|
+
var exports_formatter2 = {};
|
|
7
|
+
__export(exports_formatter2, {
|
|
8
|
+
ConfigFormatterV1: () => exports_formatter2,
|
|
9
|
+
Entry: () => Entry4,
|
|
10
|
+
Info: () => Info14
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry4 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info14 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry4, Info14, exports_formatter2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service2,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node3
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service2 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node3 = makeLocationNode({
|
|
19
|
+
service: Service2,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service2, Service2.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service2, node3, bound2, exports_instance2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./tool-ww5k9hxf.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service46;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID12 = Session.ID;
|
|
5
|
+
var Info26 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID12, Info26, SessionSchema2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-qqcjb6jx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID5,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info21,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-0e14c09c.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID5.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID5.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info21.make({
|
|
98
|
+
...Info21.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID5.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service4,
|
|
13
|
+
node: () => node5
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service4 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service4.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node5 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service4, node5, exports_update };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID5,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-0e14c09c.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service35
|
|
7
|
+
} from "./tool-rxerzcr3.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-jd6wf3ec.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service35;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID5.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service36
|
|
3
|
+
} from "./tool-dssw6a44.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service79
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-wyd4vgvd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service35
|
|
12
|
+
} from "./tool-rxerzcr3.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-vcev46jt.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service12
|
|
20
|
+
} from "./tool-f7j90zp2.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-qzwv76tp.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-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: () => Plugin43
|
|
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 Plugin43 = 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* Service35;
|
|
43
|
+
const discovery = yield* Service12;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
46
|
const location = yield* Service79;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service36;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin11 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin43, exports_skill3 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make10(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make10 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|