@opencode/core 2.0.9 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{tool-57m9tgf1.js → instruction-discovery-00f3x6kk.js} +10 -10
- package/dist/chunks/{tool-3mtxmfhx.js → instruction-discovery-0283kbqh.js} +36 -36
- package/dist/chunks/instruction-discovery-0ewc2kk9.js +492 -0
- package/dist/chunks/{tool-8vvqba33.js → instruction-discovery-0nbz58nf.js} +9 -9
- package/dist/chunks/{tool-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-0q0f95c6.js → instruction-discovery-0q0f95c6.js} +1 -1
- package/dist/chunks/{tool-r9s1vmbv.js → instruction-discovery-0w5wrk1e.js} +11 -11
- package/dist/chunks/{tool-d8dkarbn.js → instruction-discovery-0xkqznxb.js} +11 -11
- package/dist/chunks/{tool-4e8vs6eh.js → instruction-discovery-166kng33.js} +8 -8
- package/dist/chunks/{tool-f2n192rq.js → instruction-discovery-1acjjqhc.js} +4 -4
- package/dist/chunks/{tool-1dazxqgg.js → instruction-discovery-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-rav9e4bf.js → instruction-discovery-1h80sv90.js} +5 -5
- package/dist/chunks/{tool-21r38tys.js → instruction-discovery-21r38tys.js} +1 -1
- package/dist/chunks/{tool-2402vzrj.js → instruction-discovery-2402vzrj.js} +1 -1
- package/dist/chunks/{tool-2a5m3afh.js → instruction-discovery-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-b71trcwb.js → instruction-discovery-2b0j0akk.js} +15 -15
- package/dist/chunks/{tool-w1tdvvt2.js → instruction-discovery-2emjftfm.js} +9 -9
- package/dist/chunks/{tool-n4pqkaym.js → instruction-discovery-2f0bjgcj.js} +5 -5
- package/dist/chunks/{tool-zpks96xd.js → instruction-discovery-2hyz8f76.js} +10 -10
- package/dist/chunks/{tool-z80n829h.js → instruction-discovery-2pqv22kz.js} +42 -42
- package/dist/chunks/{tool-vppzcqrc.js → instruction-discovery-2x03qapy.js} +12 -12
- package/dist/chunks/{tool-1ygqh575.js → instruction-discovery-33w4ejhs.js} +6 -6
- package/dist/chunks/{tool-p6q10aaw.js → instruction-discovery-358hwc82.js} +15 -15
- package/dist/chunks/{tool-3j9bgvtg.js → instruction-discovery-3bc8czyk.js} +5 -5
- package/dist/chunks/{tool-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-n24pcqxv.js → instruction-discovery-3gncs5t7.js} +8 -8
- package/dist/chunks/{tool-pcfkrm12.js → instruction-discovery-3hdyanjz.js} +4 -4
- package/dist/chunks/{tool-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-2s87feef.js → instruction-discovery-3j8hfepr.js} +20 -20
- package/dist/chunks/{tool-27arm9z1.js → instruction-discovery-3k8qww1e.js} +5 -5
- package/dist/chunks/{tool-v6kqcv79.js → instruction-discovery-3q5ajc3h.js} +15 -15
- package/dist/chunks/{tool-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-jd6wf3ec.js → instruction-discovery-3xkhh9p9.js} +6 -6
- package/dist/chunks/{tool-7037ptb2.js → instruction-discovery-3yhy2zja.js} +24 -24
- package/dist/chunks/{tool-h6r3nrb9.js → instruction-discovery-44h5tttr.js} +4 -4
- package/dist/chunks/{tool-fkjmw100.js → instruction-discovery-44ke2mar.js} +6 -6
- package/dist/chunks/{tool-4gtpy403.js → instruction-discovery-4chzm3y4.js} +21 -21
- package/dist/chunks/{tool-mh3xs90e.js → instruction-discovery-4gjfpxjb.js} +27 -27
- package/dist/chunks/{tool-qf41qe2n.js → instruction-discovery-4jmq01rm.js} +11 -11
- package/dist/chunks/{tool-qzwv76tp.js → instruction-discovery-4jqdxkh4.js} +6 -6
- package/dist/chunks/{tool-y5pzn50y.js → instruction-discovery-5b1c2xrt.js} +32 -32
- package/dist/chunks/instruction-discovery-5cec8wvt.js +65 -0
- package/dist/chunks/{tool-5daktx2q.js → instruction-discovery-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-5t3nmthw.js → instruction-discovery-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-qbp86h8m.js → instruction-discovery-602rhm03.js} +85 -85
- package/dist/chunks/{tool-qc9kn75m.js → instruction-discovery-608vgrw9.js} +8 -8
- package/dist/chunks/{tool-xhtw6jf1.js → instruction-discovery-613k581x.js} +3 -3
- package/dist/chunks/instruction-discovery-619r8v3y.js +18 -0
- package/dist/chunks/{tool-1n6jm1r8.js → instruction-discovery-61y8ydm4.js} +12 -12
- package/dist/chunks/{tool-669tq793.js → instruction-discovery-669tq793.js} +1 -1
- package/dist/chunks/{tool-krc9qdj7.js → instruction-discovery-675x382x.js} +22 -22
- package/dist/chunks/{tool-6gc9zjjv.js → instruction-discovery-6ez32nay.js} +9 -9
- package/dist/chunks/{tool-tkmwgdpd.js → instruction-discovery-6hh8tjw2.js} +7 -7
- package/dist/chunks/{tool-py5ms06j.js → instruction-discovery-6jc59fwf.js} +26 -26
- package/dist/chunks/{tool-6msgmcgs.js → instruction-discovery-6msgmcgs.js} +1 -1
- package/dist/chunks/{tool-76p4c97e.js → instruction-discovery-6t298p2h.js} +12 -12
- package/dist/chunks/{tool-zwfjdtpq.js → instruction-discovery-6v953fwr.js} +22 -22
- package/dist/chunks/{tool-fnkqs40h.js → instruction-discovery-6ve6nwe8.js} +33 -33
- package/dist/chunks/{tool-tqf8vx6a.js → instruction-discovery-74hc6zjm.js} +13 -13
- package/dist/chunks/{tool-fsbk27r1.js → instruction-discovery-76ymgwed.js} +9 -9
- package/dist/chunks/{tool-8szgh749.js → instruction-discovery-7a024e9s.js} +4 -4
- package/dist/chunks/instruction-discovery-7bhafz2c.js +26 -0
- package/dist/chunks/{tool-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-qgn6gcr1.js → instruction-discovery-7dqw4kz8.js} +5 -5
- package/dist/chunks/{tool-91f0wncr.js → instruction-discovery-7er823xf.js} +11 -11
- package/dist/chunks/{tool-4n9mx8v3.js → instruction-discovery-7h1sjwf0.js} +26 -26
- package/dist/chunks/{tool-88wb8vtq.js → instruction-discovery-7n580yh3.js} +19 -19
- package/dist/chunks/{tool-0e14c09c.js → instruction-discovery-7n97fvxd.js} +27 -27
- package/dist/chunks/{tool-vbyfx3mn.js → instruction-discovery-7n9bf5pw.js} +21 -21
- package/dist/chunks/{tool-xg0cet8h.js → instruction-discovery-83vtq193.js} +31 -31
- package/dist/chunks/{tool-t183he7n.js → instruction-discovery-85vxkr0v.js} +23 -23
- package/dist/chunks/{tool-e7q4x2ep.js → instruction-discovery-86swmg3n.js} +20 -20
- package/dist/chunks/{tool-vcev46jt.js → instruction-discovery-879n9jmk.js} +24 -24
- package/dist/chunks/{tool-nccpag2r.js → instruction-discovery-88afv84h.js} +20 -20
- package/dist/chunks/{tool-9thxh3x6.js → instruction-discovery-8ancw64n.js} +7 -7
- package/dist/chunks/{tool-8d7r5vzw.js → instruction-discovery-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-8rras65h.js → instruction-discovery-8dw5wh32.js} +15 -15
- package/dist/chunks/{tool-8t1mk3vk.js → instruction-discovery-8jbq9hes.js} +46 -46
- package/dist/chunks/{tool-dj2t23y0.js → instruction-discovery-8p4f9s12.js} +2 -2
- package/dist/chunks/{tool-v8z2wyq8.js → instruction-discovery-8t6e0b0v.js} +32 -32
- package/dist/chunks/{tool-dz1mzf7h.js → instruction-discovery-90pjtq3h.js} +28 -28
- package/dist/chunks/{tool-wyd4vgvd.js → instruction-discovery-9cc9anwb.js} +17 -17
- package/dist/chunks/{tool-dssw6a44.js → instruction-discovery-9dz1p9rk.js} +22 -22
- package/dist/chunks/{tool-qnc1epre.js → instruction-discovery-9eanvfav.js} +11 -11
- package/dist/chunks/{tool-tjmwbj5k.js → instruction-discovery-9ejvnjvn.js} +11 -11
- package/dist/chunks/{tool-drz214yv.js → instruction-discovery-9ezfcjjb.js} +17 -17
- package/dist/chunks/{tool-2g2cd18n.js → instruction-discovery-9mqj70kv.js} +26 -26
- package/dist/chunks/{tool-nj8fcevf.js → instruction-discovery-9nye1eq2.js} +17 -17
- package/dist/chunks/{tool-vqfzq50h.js → instruction-discovery-9r15s34d.js} +6 -6
- package/dist/chunks/{tool-5c4hm403.js → instruction-discovery-a1bz86dw.js} +3 -3
- package/dist/chunks/{tool-aaet6srn.js → instruction-discovery-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-d9s573fh.js → instruction-discovery-aamtrqep.js} +9 -9
- package/dist/chunks/{tool-sr2ca446.js → instruction-discovery-ac8tgttd.js} +1 -1
- package/dist/chunks/{tool-2849xt8w.js → instruction-discovery-aef544xx.js} +11 -11
- package/dist/chunks/{tool-3cbaeney.js → instruction-discovery-ajsekwcw.js} +3 -3
- package/dist/chunks/{tool-e1ddjrnd.js → instruction-discovery-akbnj5qn.js} +33 -33
- package/dist/chunks/{tool-jn4t2z3d.js → instruction-discovery-asz6v789.js} +4 -4
- package/dist/chunks/{tool-zxcbkvg1.js → instruction-discovery-avkbmwsy.js} +15 -15
- package/dist/chunks/{tool-9ebbd7jr.js → instruction-discovery-b04b8x2j.js} +8 -8
- package/dist/chunks/{tool-nr25fmgm.js → instruction-discovery-b2e0z9zn.js} +23 -23
- package/dist/chunks/{tool-b6gygkdw.js → instruction-discovery-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-epap41sx.js → instruction-discovery-bktznpht.js} +4 -4
- package/dist/chunks/{tool-ek2qcn6v.js → instruction-discovery-bm2neq56.js} +5 -5
- package/dist/chunks/{tool-h2t4955r.js → instruction-discovery-bqqzw0hf.js} +21 -21
- package/dist/chunks/{tool-5yeq06a0.js → instruction-discovery-bscb95cy.js} +9 -9
- package/dist/chunks/{tool-yravmt5v.js → instruction-discovery-btvztn5x.js} +11 -11
- package/dist/chunks/{tool-jd81wks2.js → instruction-discovery-bz601h0x.js} +35 -35
- package/dist/chunks/{tool-f8ekkhd9.js → instruction-discovery-c3624e00.js} +43 -43
- package/dist/chunks/{tool-7ngem68y.js → instruction-discovery-c3tdqdrt.js} +3 -3
- package/dist/chunks/{tool-a9jc8qdz.js → instruction-discovery-ce5k5wzz.js} +10 -10
- package/dist/chunks/{tool-m0jqrx5p.js → instruction-discovery-cfpkc3c9.js} +2 -2
- package/dist/chunks/{tool-vy03e0d7.js → instruction-discovery-cfvjb44z.js} +18 -18
- package/dist/chunks/{tool-4k6nnmrf.js → instruction-discovery-cg91q9kc.js} +24 -24
- package/dist/chunks/{tool-2vmydbdw.js → instruction-discovery-ct6qbr07.js} +5 -5
- package/dist/chunks/{tool-5rbeskxf.js → instruction-discovery-cvcaxerb.js} +9 -9
- package/dist/chunks/{tool-2sejkfem.js → instruction-discovery-cwa6csj7.js} +9 -9
- package/dist/chunks/{tool-zk0g89ph.js → instruction-discovery-cznsp2nq.js} +13 -13
- package/dist/chunks/{tool-pf6xmb6f.js → instruction-discovery-d6rcy142.js} +9 -9
- package/dist/chunks/{tool-5rdsaqrf.js → instruction-discovery-d8kx0zbg.js} +5 -5
- package/dist/chunks/{tool-yp1xsd17.js → instruction-discovery-dar8xkhn.js} +43 -43
- package/dist/chunks/{tool-1rf9k0bb.js → instruction-discovery-dfzt6fvr.js} +41 -41
- package/dist/chunks/{tool-gbag256c.js → instruction-discovery-dkqv5z6m.js} +24 -24
- package/dist/chunks/{tool-6bsje7ws.js → instruction-discovery-dm1py9b3.js} +3 -3
- package/dist/chunks/{tool-5yzzbxa7.js → instruction-discovery-dv1qgsyq.js} +8 -8
- package/dist/chunks/{tool-vwgz8d7g.js → instruction-discovery-e6d0ha4g.js} +6 -6
- package/dist/chunks/{tool-hzfzrbn9.js → instruction-discovery-eex107wk.js} +8 -8
- package/dist/chunks/{tool-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-2gch173w.js → instruction-discovery-egb2ktr5.js} +23 -23
- package/dist/chunks/{tool-yxjvheq8.js → instruction-discovery-ej4t27pe.js} +18 -18
- package/dist/chunks/{tool-cap3n08w.js → instruction-discovery-emsk5da5.js} +16 -16
- package/dist/chunks/{tool-erw5rpbs.js → instruction-discovery-erw5rpbs.js} +2 -2
- package/dist/chunks/{tool-etq0c3wd.js → instruction-discovery-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-22yzgjh2.js → instruction-discovery-eytmhgbm.js} +42 -42
- package/dist/chunks/{tool-hdnk95c8.js → instruction-discovery-f828m53h.js} +2 -2
- package/dist/chunks/{tool-dqmvjehx.js → instruction-discovery-f9denjqp.js} +18 -18
- package/dist/chunks/{tool-h5msn5dz.js → instruction-discovery-fhxv1a93.js} +13 -13
- package/dist/chunks/{tool-fxbjtjnd.js → instruction-discovery-fxbjtjnd.js} +1 -1
- package/dist/chunks/{tool-ye73daeg.js → instruction-discovery-g2c1x2np.js} +22 -22
- package/dist/chunks/{tool-pb77jvd0.js → instruction-discovery-g5y5zy0d.js} +11 -11
- package/dist/chunks/{tool-ff0svapt.js → instruction-discovery-g84cjvn9.js} +2 -2
- package/dist/chunks/{tool-0tkwk172.js → instruction-discovery-g9jxtwsa.js} +20 -20
- package/dist/chunks/{tool-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-z89cezv7.js → instruction-discovery-gk3vz0r5.js} +6 -6
- package/dist/chunks/{tool-s4fep8mk.js → instruction-discovery-gm5rkd8a.js} +18 -18
- package/dist/chunks/{tool-yyb7tjpc.js → instruction-discovery-gv6a8nnw.js} +2 -2
- package/dist/chunks/{tool-13kry10e.js → instruction-discovery-gvayqkxb.js} +9 -9
- package/dist/chunks/{tool-b1syqa90.js → instruction-discovery-gxtdrkx9.js} +8 -8
- package/dist/chunks/{tool-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-08ed4zmw.js → instruction-discovery-h7e5g0tn.js} +6 -6
- package/dist/chunks/{tool-zy1jay2k.js → instruction-discovery-hac7hjft.js} +4 -4
- package/dist/chunks/{tool-89smrnyf.js → instruction-discovery-hfdr1yjj.js} +4 -4
- package/dist/chunks/{tool-5e19p4dw.js → instruction-discovery-hnr5yq9h.js} +5 -5
- package/dist/chunks/{tool-zhq6vg7a.js → instruction-discovery-hqmr0w3b.js} +1 -1
- package/dist/chunks/{tool-0ft9cg2j.js → instruction-discovery-j15mfg1p.js} +6 -6
- package/dist/chunks/{tool-r2m639zq.js → instruction-discovery-j1cm15th.js} +9 -9
- package/dist/chunks/{tool-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-277eer69.js → instruction-discovery-j5rxtxht.js} +4 -4
- package/dist/chunks/{tool-wt8nwjmt.js → instruction-discovery-jdt3tpmz.js} +6 -6
- package/dist/chunks/{tool-y1swv0f0.js → instruction-discovery-jfhnzpnz.js} +5 -5
- package/dist/chunks/{tool-ww5k9hxf.js → instruction-discovery-jmpaezdp.js} +24 -24
- package/dist/chunks/{tool-9pr9fbrd.js → instruction-discovery-jmsev7ka.js} +20 -20
- package/dist/chunks/{tool-sd3ysec1.js → instruction-discovery-jyp3kw9k.js} +18 -18
- package/dist/chunks/{tool-r6qdpshk.js → instruction-discovery-k04kmmpg.js} +10 -10
- package/dist/chunks/{tool-nzks3jc8.js → instruction-discovery-k3c624dm.js} +3 -3
- package/dist/chunks/{tool-x0511brf.js → instruction-discovery-keat3kjn.js} +4 -4
- package/dist/chunks/{tool-2g7ehmrk.js → instruction-discovery-kg7bac54.js} +7 -7
- package/dist/chunks/{tool-60hfzj8m.js → instruction-discovery-kh8f0xxh.js} +4 -4
- package/dist/chunks/{tool-t15tae8c.js → instruction-discovery-kr0f3pk7.js} +25 -25
- package/dist/chunks/{tool-zz2gaj37.js → instruction-discovery-krc273y1.js} +24 -24
- package/dist/chunks/{tool-0mb99r4j.js → instruction-discovery-m0t09dx6.js} +11 -11
- package/dist/chunks/{tool-m3fdjcah.js → instruction-discovery-m3fdjcah.js} +1 -1
- package/dist/chunks/{tool-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-73tb2d7t.js → instruction-discovery-mhkvc446.js} +3 -3
- package/dist/chunks/{tool-rx871m47.js → instruction-discovery-mtes310f.js} +2 -2
- package/dist/chunks/{tool-8cpww9tf.js → instruction-discovery-n7s9zdv0.js} +6 -6
- package/dist/chunks/{tool-c7hpn42k.js → instruction-discovery-n8rdxf8a.js} +17 -17
- package/dist/chunks/{tool-07kta9gz.js → instruction-discovery-n9qab9s6.js} +5 -5
- package/dist/chunks/{tool-n3mc6yaw.js → instruction-discovery-nr56gd40.js} +22 -22
- package/dist/chunks/{tool-jm3kmfpd.js → instruction-discovery-nw99nb3t.js} +39 -39
- package/dist/chunks/{tool-9endzh9e.js → instruction-discovery-nyc5627e.js} +4 -4
- package/dist/chunks/{tool-afmcrv4e.js → instruction-discovery-nzyysdrx.js} +11 -11
- package/dist/chunks/{tool-p28j5sbe.js → instruction-discovery-p28j5sbe.js} +2 -2
- package/dist/chunks/{tool-e1hrzsan.js → instruction-discovery-p2s2r1mh.js} +12 -12
- package/dist/chunks/{tool-42djxevb.js → instruction-discovery-p2tee6fj.js} +44 -44
- package/dist/chunks/{tool-qqcjb6jx.js → instruction-discovery-p9zrypfp.js} +32 -32
- package/dist/chunks/{tool-d0syxqaf.js → instruction-discovery-pa5qep2r.js} +3 -3
- package/dist/chunks/{tool-0gpvppac.js → instruction-discovery-pe93tcjs.js} +11 -11
- package/dist/chunks/{tool-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-8eg130jy.js → instruction-discovery-pjxdx4mm.js} +9 -9
- package/dist/chunks/{tool-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
- package/dist/chunks/{tool-f7j90zp2.js → instruction-discovery-pnv527nz.js} +9 -9
- package/dist/chunks/{tool-czgzge8y.js → instruction-discovery-pw383ktz.js} +8 -8
- package/dist/chunks/{tool-06x8he3q.js → instruction-discovery-q5asdkn4.js} +4 -4
- package/dist/chunks/{tool-rxerzcr3.js → instruction-discovery-q5gw3b6m.js} +43 -43
- package/dist/chunks/{tool-gnrgb9v9.js → instruction-discovery-q5rhn9x0.js} +9 -9
- package/dist/chunks/{tool-adffrgan.js → instruction-discovery-q7mf5hpb.js} +18 -18
- package/dist/chunks/{tool-cb2k1f8p.js → instruction-discovery-q7v7wfgv.js} +22 -22
- package/dist/chunks/{tool-197ae9n4.js → instruction-discovery-qcaqy7wg.js} +66 -66
- package/dist/chunks/{tool-133y1x9c.js → instruction-discovery-qerev8b0.js} +5 -5
- package/dist/chunks/{tool-cavr175a.js → instruction-discovery-qj8eh1ht.js} +4 -4
- package/dist/chunks/{tool-x6z1bn3h.js → instruction-discovery-qrp1b8bd.js} +30 -30
- package/dist/chunks/{tool-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-ebdw14y1.js → instruction-discovery-r1hypjdz.js} +22 -22
- package/dist/chunks/{tool-1yee1wsw.js → instruction-discovery-r65q7ntx.js} +5 -5
- package/dist/chunks/{tool-kcrds6bj.js → instruction-discovery-rbw5mngh.js} +21 -21
- package/dist/chunks/{tool-t0e82vdg.js → instruction-discovery-rdhcp51z.js} +16 -16
- package/dist/chunks/{tool-rdw6cm16.js → instruction-discovery-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-ns0n9ww9.js → instruction-discovery-rgpxpbmw.js} +18 -18
- package/dist/chunks/{tool-stag65f9.js → instruction-discovery-rtv6ahp9.js} +8 -8
- package/dist/chunks/{tool-qecsarb4.js → instruction-discovery-rv831twb.js} +25 -25
- package/dist/chunks/{tool-w6ertran.js → instruction-discovery-s1sage10.js} +13 -13
- package/dist/chunks/{tool-phc8pspp.js → instruction-discovery-s38x4d8v.js} +3 -3
- package/dist/chunks/{tool-s8d7rejh.js → instruction-discovery-s8d7rejh.js} +1 -1
- package/dist/chunks/{tool-t6rnym7v.js → instruction-discovery-sayy388w.js} +14 -14
- package/dist/chunks/{tool-dwktjsma.js → instruction-discovery-sfrfpg6k.js} +1 -1
- package/dist/chunks/{tool-vs9wvdae.js → instruction-discovery-srznzmvh.js} +187 -187
- package/dist/chunks/{tool-e7vjfaw8.js → instruction-discovery-sv108vp7.js} +90 -90
- package/dist/chunks/{tool-xn17ps4b.js → instruction-discovery-t1v9ezhy.js} +3 -3
- package/dist/chunks/{tool-dcjp3a2d.js → instruction-discovery-t7wbtjm8.js} +24 -24
- package/dist/chunks/{tool-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-tcezcvh9.js → instruction-discovery-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
- package/dist/chunks/{tool-8b03w2b6.js → instruction-discovery-tffpjmpm.js} +46 -46
- package/dist/chunks/{tool-qr7xcjfz.js → instruction-discovery-tpnbm2pw.js} +12 -12
- package/dist/chunks/{tool-tvtrv512.js → instruction-discovery-tvtrv512.js} +1 -1
- package/dist/chunks/{tool-4vjsat8t.js → instruction-discovery-v0bj2g81.js} +17 -17
- package/dist/chunks/{tool-pwf27gkd.js → instruction-discovery-v51q15sg.js} +8 -8
- package/dist/chunks/{tool-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-m32ek0sw.js → instruction-discovery-vfmrq4xs.js} +4 -4
- package/dist/chunks/{tool-7gyssj7x.js → instruction-discovery-vh032p2r.js} +25 -25
- package/dist/chunks/{tool-ar0mpfen.js → instruction-discovery-vh6ze0n0.js} +13 -13
- package/dist/chunks/{tool-5c0f1prt.js → instruction-discovery-vj81g6vn.js} +4 -4
- package/dist/chunks/{tool-5q02cxx3.js → instruction-discovery-vncycja5.js} +4 -4
- package/dist/chunks/{tool-9hd1jrv7.js → instruction-discovery-vsw37vpp.js} +10 -10
- package/dist/chunks/{tool-5y430q9n.js → instruction-discovery-vx2n8xqp.js} +3 -3
- package/dist/chunks/{tool-5y6wgat7.js → instruction-discovery-vxj4hqrj.js} +49 -49
- package/dist/chunks/{tool-rq1pz7qt.js → instruction-discovery-vz6m5ypj.js} +24 -24
- package/dist/chunks/{tool-vzcthcp8.js → instruction-discovery-vzcthcp8.js} +1 -1
- package/dist/chunks/{tool-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-0t9wd588.js → instruction-discovery-w3x9v1nk.js} +8 -8
- package/dist/chunks/{tool-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
- package/dist/chunks/{tool-6hjx5zpb.js → instruction-discovery-wk5z6jzv.js} +9 -9
- package/dist/chunks/{tool-2a8ctrw4.js → instruction-discovery-wke66r7v.js} +23 -23
- package/dist/chunks/{tool-xxh17bsg.js → instruction-discovery-wx01sddp.js} +8 -8
- package/dist/chunks/{tool-x1ezjp6w.js → instruction-discovery-x1ezjp6w.js} +1 -1
- package/dist/chunks/{tool-drwq78ky.js → instruction-discovery-xfkkasph.js} +4 -4
- package/dist/chunks/{tool-vgc515rw.js → instruction-discovery-xmwzbncj.js} +11 -11
- package/dist/chunks/{tool-dc0tp24d.js → instruction-discovery-xpce3g2p.js} +5 -5
- package/dist/chunks/instruction-discovery-xsyztx04.js +252 -0
- package/dist/chunks/{tool-nwgfxwxy.js → instruction-discovery-xw5ftbys.js} +12 -12
- package/dist/chunks/{tool-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-zdetck8p.js → instruction-discovery-y1qpbc5j.js} +53 -53
- package/dist/chunks/{tool-6nma5gxg.js → instruction-discovery-y27t24zj.js} +7 -7
- package/dist/chunks/{tool-fcy52zm3.js → instruction-discovery-y6a3b6rc.js} +47 -47
- package/dist/chunks/{tool-7a4dnpr3.js → instruction-discovery-y6k2m0kz.js} +37 -37
- package/dist/chunks/{tool-y71avatq.js → instruction-discovery-y71avatq.js} +1 -1
- package/dist/chunks/{tool-1q4w1hkk.js → instruction-discovery-ya3xcbg8.js} +13 -13
- package/dist/chunks/{tool-hxsyww7z.js → instruction-discovery-ybsbh40w.js} +16 -16
- package/dist/chunks/{tool-df3x4kde.js → instruction-discovery-yjjxgcgg.js} +9 -9
- package/dist/chunks/{tool-rx6gygm6.js → instruction-discovery-ym99va62.js} +3 -3
- package/dist/chunks/{tool-eq68chpb.js → instruction-discovery-ypfrwztw.js} +9 -9
- package/dist/chunks/{tool-yrhqyw5v.js → instruction-discovery-yrhqyw5v.js} +1 -1
- package/dist/chunks/{tool-yrznvahk.js → instruction-discovery-yrznvahk.js} +2 -2
- package/dist/chunks/{tool-bhj4y43k.js → instruction-discovery-yt0fqk68.js} +5 -5
- package/dist/chunks/{tool-a012ky48.js → instruction-discovery-yt3zqrbx.js} +10 -10
- package/dist/chunks/{tool-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-1tx6fftr.js → instruction-discovery-z2q93yfq.js} +11 -11
- package/dist/chunks/{tool-vzt7w0x1.js → instruction-discovery-z3ynxe6c.js} +16 -16
- package/dist/chunks/{tool-z63w68vq.js → instruction-discovery-z63w68vq.js} +2 -2
- package/dist/chunks/{tool-vh7phyy0.js → instruction-discovery-z85zpx68.js} +38 -38
- package/dist/chunks/{tool-rq775frq.js → instruction-discovery-zeh9ct20.js} +2 -2
- package/dist/chunks/{tool-4chvkj0g.js → instruction-discovery-zehy6wad.js} +27 -27
- package/dist/chunks/{tool-vsbgd8f5.js → instruction-discovery-zgt6sveh.js} +26 -26
- package/dist/chunks/{tool-skq2eby0.js → instruction-discovery-zr0cc4jg.js} +18 -18
- package/dist/chunks/{tool-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-1y3ke0et.js → instruction-discovery-zrwqjd9x.js} +13 -13
- package/dist/chunks/{tool-nt9apy23.js → instruction-discovery-zshvb8bj.js} +7 -7
- package/dist/chunks/{tool-7nm0hg1a.js → instruction-discovery-zthbd08v.js} +27 -27
- package/dist/chunks/{tool-77m2y8gv.js → instruction-discovery-zvpwq5n9.js} +12 -12
- package/dist/chunks/{tool-5d17xbav.js → instruction-discovery-zw4pk1bw.js} +5 -5
- package/dist/chunks/{tool-zxq2ej10.js → instruction-discovery-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- 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 +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- 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 +129 -129
- 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 +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- 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 +121 -121
- 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 +82 -82
- 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 +367 -367
- 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 +94 -94
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +97 -97
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- 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 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- 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 -356
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- 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 +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- 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 +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- 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 -330
- 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 +4 -4
- 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 +93 -93
- 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 +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- 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 +89 -89
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- 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 +129 -129
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- 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 +113 -113
- 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 +171 -171
- 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 +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +124 -124
- 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 +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +95 -95
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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 +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 +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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +73 -73
- 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/tool-az58nsbk.js +0 -26
- package/dist/chunks/tool-gyce5qg1.js +0 -18
- package/dist/chunks/tool-rdf0737w.js +0 -252
- package/dist/chunks/tool-vzyzcn29.js +0 -65
- package/dist/chunks/tool-xr88f9g7.js +0 -492
- /package/dist/chunks/{tool-0mesazry.js → instruction-discovery-0mesazry.js} +0 -0
- /package/dist/chunks/{tool-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → instruction-discovery-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5qd3pb7m.js → instruction-discovery-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-922hggd3.js → instruction-discovery-922hggd3.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → instruction-discovery-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hjbc5kem.js → instruction-discovery-hjbc5kem.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-sk3qaz4a.js → instruction-discovery-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-twg0f83k.js → instruction-discovery-twg0f83k.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → instruction-discovery-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-nyc5627e.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event21,
|
|
10
|
+
Service81,
|
|
11
|
+
node85
|
|
12
|
+
} from "./instruction-discovery-90pjtq3h.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service76,
|
|
15
|
+
node80
|
|
16
|
+
} from "./instruction-discovery-9cc9anwb.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service67,
|
|
19
|
+
node70
|
|
20
|
+
} from "./instruction-discovery-jmpaezdp.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID17,
|
|
23
|
+
Service80,
|
|
24
|
+
node84
|
|
25
|
+
} from "./instruction-discovery-7n9bf5pw.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instruction-discovery-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID16,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service79,
|
|
34
|
+
node83
|
|
35
|
+
} from "./instruction-discovery-4gjfpxjb.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./instruction-discovery-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: () => Service39,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
56
|
+
configured: () => configured5,
|
|
57
57
|
layer: () => layer14,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node42
|
|
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 Service39 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 layer14 = (options) => Layer.effect(
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
104
|
+
var layer14 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service76;
|
|
106
|
+
const environment = yield* Service67;
|
|
107
107
|
const bus = yield* Service82;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service80;
|
|
109
|
+
const integration = yield* Service79;
|
|
110
|
+
const credentials = yield* Service81;
|
|
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(Service31, 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 = ID16.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(Service31, 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(Service81, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer14 = (options) => Layer.effect(Service31, 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(Service81, 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 = ID17.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(Service31, 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(Service67, 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;
|
|
@@ -365,7 +365,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
365
365
|
yield* startServer(name, entry);
|
|
366
366
|
}).pipe(locks.withLock(name));
|
|
367
367
|
});
|
|
368
|
-
fork(bus.subscribe(
|
|
368
|
+
fork(bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
369
369
|
const state = create3({
|
|
370
370
|
name: "mcp",
|
|
371
371
|
initial: () => ({
|
|
@@ -391,7 +391,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service39.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(Service31, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured5(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
515
|
+
service: Service39,
|
|
516
516
|
layer: layer14(options),
|
|
517
|
-
deps: [
|
|
517
|
+
deps: [node80, node70, node86, node84, node83, node85]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node42 = configured5();
|
|
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,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service39, Options5, layer14, configured5, node42, exports_mcp4 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-vx2n8xqp.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service82,
|
|
10
10
|
node86
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-nyc5627e.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instruction-discovery-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instruction-discovery-dm1py9b3.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instruction-discovery-a1bz86dw.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info20,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service55,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
48
|
+
layer: () => layer22,
|
|
49
|
+
list: () => list4,
|
|
50
|
+
make: () => make18,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node58,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info20,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service55 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service83;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service82;
|
|
@@ -173,7 +173,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info20.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -193,7 +193,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list4(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer22 = Layer.effect(Service55, make18());
|
|
231
|
+
var node58 = makeGlobalNode({ service: Service55, layer: layer22, deps: [node87, node86] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info20, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service55, make18, layer22, node58, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/delete.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service44,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node47
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service44 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service44, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service44.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service34, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node47 = makeGlobalNode({ service: Service44, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service44, node47, exports_environment };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-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: () => Service5,
|
|
13
|
+
node: () => node7
|
|
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 Service5 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service5, 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 Service5.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(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node7 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service5, node7, exports_update };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID12,
|
|
3
|
+
Service74
|
|
4
|
+
} from "./instruction-discovery-rbw5mngh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service76
|
|
7
|
+
} from "./instruction-discovery-9cc9anwb.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service50
|
|
10
|
+
} from "./instruction-discovery-q5gw3b6m.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service45,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-g2c1x2np.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service29
|
|
17
|
+
} from "./instruction-discovery-602rhm03.js";
|
|
18
18
|
import {
|
|
19
19
|
make8
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instruction-discovery-wx01sddp.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instruction-discovery-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command2 = {};
|
|
30
30
|
__export(exports_command2, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin36
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin36 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service50;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,11 +54,11 @@ var Plugin31 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service76;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
59
|
+
const shell = yield* Service45;
|
|
60
|
+
const sessions = yield* Service29;
|
|
61
|
+
const agents = yield* Service74;
|
|
62
62
|
const subagents = yield* make8;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
@@ -80,7 +80,7 @@ var Plugin31 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID12.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin36, exports_command2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./instruction-discovery-358hwc82.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service29
|
|
6
|
+
} from "./instruction-discovery-602rhm03.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make8 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
23
|
+
const sessions = yield* Service29;
|
|
24
|
+
const jobs = yield* Service61;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make15(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|