@opencode/core 0.0.0-dev-20362 → 0.0.0-dev-20364
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{managed-policy-73487zry.js → websearch-038px63b.js} +20 -20
- package/dist/chunks/{managed-policy-heyqeax4.js → websearch-0bjxfv7y.js} +4 -4
- package/dist/chunks/{managed-policy-w4wwey4a.js → websearch-0c6d2bcx.js} +9 -9
- package/dist/chunks/{managed-policy-419cber8.js → websearch-0fmckw5j.js} +24 -24
- package/dist/chunks/{managed-policy-6558gdf6.js → websearch-0j9wf475.js} +12 -12
- package/dist/chunks/{managed-policy-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
- package/dist/chunks/{managed-policy-9rehz5xh.js → websearch-0srz3rb7.js} +10 -10
- package/dist/chunks/{managed-policy-3e02zcs2.js → websearch-0ypjagag.js} +45 -45
- package/dist/chunks/{managed-policy-vsajxva1.js → websearch-12zefq54.js} +13 -13
- package/dist/chunks/{managed-policy-f2n192rq.js → websearch-1acjjqhc.js} +4 -4
- package/dist/chunks/{managed-policy-8bg0nwhm.js → websearch-1adv04an.js} +1 -1
- package/dist/chunks/{managed-policy-eq1pz5kg.js → websearch-1bbkgx8g.js} +3 -3
- package/dist/chunks/{managed-policy-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
- package/dist/chunks/{managed-policy-d6dr936x.js → websearch-1mxp06n2.js} +20 -20
- package/dist/chunks/{managed-policy-0d3j2ewb.js → websearch-1xx922hh.js} +23 -23
- package/dist/chunks/{managed-policy-1gqkbp4w.js → websearch-1y0s9zry.js} +11 -11
- package/dist/chunks/{managed-policy-33w4ejhs.js → websearch-1ygqh575.js} +6 -6
- package/dist/chunks/{managed-policy-21r38tys.js → websearch-21r38tys.js} +1 -1
- package/dist/chunks/{managed-policy-kyy0ssq8.js → websearch-220kn1r0.js} +5 -5
- package/dist/chunks/{managed-policy-7yqjxrmz.js → websearch-23pqda6t.js} +6 -6
- package/dist/chunks/{managed-policy-pnv527nz.js → websearch-24dd53tp.js} +9 -9
- package/dist/chunks/{managed-policy-08fr3tgs.js → websearch-276jgmgv.js} +26 -26
- package/dist/chunks/{managed-policy-7stgkpby.js → websearch-27zn6a7k.js} +16 -16
- package/dist/chunks/{managed-policy-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
- package/dist/chunks/{managed-policy-g30dqjb7.js → websearch-2av1ykjg.js} +8 -8
- package/dist/chunks/{managed-policy-ya3vmrdh.js → websearch-2ekw0rzc.js} +32 -32
- package/dist/chunks/{managed-policy-fx470sn6.js → websearch-2g184g7f.js} +30 -30
- package/dist/chunks/{managed-policy-cnfgznwf.js → websearch-2kshkexn.js} +20 -20
- package/dist/chunks/{managed-policy-d9e8dke0.js → websearch-2p50zhn3.js} +4 -4
- package/dist/chunks/{managed-policy-fbawcmnd.js → websearch-2p8k3371.js} +8 -8
- package/dist/chunks/{managed-policy-mprdj2vw.js → websearch-2y3tt2xr.js} +70 -70
- package/dist/chunks/{managed-policy-ndz9dvm7.js → websearch-31yjpdzq.js} +7 -7
- package/dist/chunks/{managed-policy-h6m8mpqk.js → websearch-32ymn5e1.js} +9 -9
- package/dist/chunks/{managed-policy-5kz5d5f2.js → websearch-346nngnc.js} +39 -39
- package/dist/chunks/{managed-policy-1test7ey.js → websearch-353vmrjg.js} +12 -12
- package/dist/chunks/{managed-policy-h6j5wp72.js → websearch-398v765q.js} +25 -25
- package/dist/chunks/{managed-policy-e4ewt8rg.js → websearch-3eyay8p2.js} +54 -54
- package/dist/chunks/{managed-policy-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
- package/dist/chunks/{managed-policy-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{managed-policy-ay5jnjb4.js → websearch-3p2rzh20.js} +24 -24
- package/dist/chunks/{managed-policy-6yytfbv7.js → websearch-3p9kjnm5.js} +30 -30
- package/dist/chunks/{managed-policy-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
- package/dist/chunks/{managed-policy-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
- package/dist/chunks/{managed-policy-d87ppnb3.js → websearch-3w0fmcng.js} +5 -5
- package/dist/chunks/{managed-policy-3zsf4n22.js → websearch-3zsf4n22.js} +1 -1
- package/dist/chunks/{managed-policy-vxa03wtb.js → websearch-4dyr3fmv.js} +5 -5
- package/dist/chunks/{managed-policy-jvnghvnw.js → websearch-4e8vs6eh.js} +8 -8
- package/dist/chunks/{managed-policy-kx0t9shf.js → websearch-4frsnb5p.js} +9 -9
- package/dist/chunks/{managed-policy-1rn5pcm9.js → websearch-4j4tgtq5.js} +4 -4
- package/dist/chunks/{managed-policy-q5pxwvn6.js → websearch-4nzfxfae.js} +5 -5
- package/dist/chunks/{managed-policy-xtdb2mzr.js → websearch-4p9wqfgr.js} +32 -32
- package/dist/chunks/{managed-policy-n9a4xth3.js → websearch-4rt6ttzx.js} +22 -22
- package/dist/chunks/websearch-4zj0d0rt.js +507 -0
- package/dist/chunks/{managed-policy-3wqtmk6r.js → websearch-50nd1cm7.js} +22 -22
- package/dist/chunks/{managed-policy-2afe4ye3.js → websearch-53p07668.js} +26 -26
- package/dist/chunks/{managed-policy-81swgkk7.js → websearch-57ez7d0k.js} +7 -7
- package/dist/chunks/{managed-policy-g6mr8nvc.js → websearch-5anqrvtz.js} +15 -15
- package/dist/chunks/{managed-policy-5daktx2q.js → websearch-5daktx2q.js} +1 -1
- package/dist/chunks/{managed-policy-v6z16ed9.js → websearch-5dt9rsmr.js} +48 -48
- package/dist/chunks/{managed-policy-frxdqaz8.js → websearch-5jt4heav.js} +20 -20
- package/dist/chunks/{managed-policy-e3qxr5gk.js → websearch-5qd3pb7m.js} +2 -2
- package/dist/chunks/{managed-policy-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
- package/dist/chunks/{managed-policy-bnsp3pck.js → websearch-5vz7x68a.js} +6 -6
- package/dist/chunks/{managed-policy-n1ka8r9d.js → websearch-5xpznt2d.js} +4 -4
- package/dist/chunks/{managed-policy-669tq793.js → websearch-669tq793.js} +1 -1
- package/dist/chunks/{managed-policy-trpx7285.js → websearch-67d8jfya.js} +55 -55
- package/dist/chunks/{managed-policy-6mm9h7e5.js → websearch-6a6qd33v.js} +15 -15
- package/dist/chunks/{managed-policy-3bz26n7f.js → websearch-6cr2frtn.js} +7 -7
- package/dist/chunks/{managed-policy-qa6bty5w.js → websearch-6cs6c98e.js} +34 -34
- package/dist/chunks/{managed-policy-depwzj9d.js → websearch-6hjx5zpb.js} +8 -8
- package/dist/chunks/{managed-policy-6msgmcgs.js → websearch-6msgmcgs.js} +1 -1
- package/dist/chunks/{managed-policy-2rbrs69q.js → websearch-6n58c19x.js} +39 -39
- package/dist/chunks/{managed-policy-rkprpv83.js → websearch-6pc27hjz.js} +6 -6
- package/dist/chunks/{managed-policy-y8rwhwzy.js → websearch-70dm097c.js} +11 -11
- package/dist/chunks/{managed-policy-pnkbpv6t.js → websearch-73m34ham.js} +9 -9
- package/dist/chunks/{managed-policy-djszqvmq.js → websearch-79qaa2kf.js} +9 -9
- package/dist/chunks/{managed-policy-h345fmz9.js → websearch-7ajg12sz.js} +12 -12
- package/dist/chunks/{managed-policy-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{managed-policy-1sxg4g47.js → websearch-7d5xv1hr.js} +10 -10
- package/dist/chunks/websearch-7fj5dwt0.js +18 -0
- package/dist/chunks/{managed-policy-pds74t41.js → websearch-7w99qc9d.js} +3 -3
- package/dist/chunks/{managed-policy-jj9twaj5.js → websearch-7yftpyd9.js} +24 -24
- package/dist/chunks/{managed-policy-py5c3j6b.js → websearch-7z58nj57.js} +19 -19
- package/dist/chunks/{managed-policy-84txncab.js → websearch-84txncab.js} +1 -1
- package/dist/chunks/{managed-policy-w1avypy0.js → websearch-8czzn1ew.js} +10 -10
- package/dist/chunks/{managed-policy-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
- package/dist/chunks/{managed-policy-mqbe75y8.js → websearch-8p5mx2as.js} +4 -4
- package/dist/chunks/{managed-policy-f3j6bdvh.js → websearch-8pxgk0ph.js} +11 -11
- package/dist/chunks/{managed-policy-hz7gmqsw.js → websearch-9217e98b.js} +9 -9
- package/dist/chunks/{managed-policy-wam6j7k0.js → websearch-92qr6xp8.js} +4 -4
- package/dist/chunks/{managed-policy-94ek1h2f.js → websearch-94ek1h2f.js} +2 -2
- package/dist/chunks/{managed-policy-md25eqcg.js → websearch-95hjyvtz.js} +20 -20
- package/dist/chunks/{managed-policy-fs1j9y41.js → websearch-9a8jwsrm.js} +37 -37
- package/dist/chunks/{managed-policy-58x2308d.js → websearch-9bf5sqn1.js} +4 -4
- package/dist/chunks/{managed-policy-tpw6cwsb.js → websearch-9hn6k4tm.js} +8 -8
- package/dist/chunks/{managed-policy-mrvjcs5x.js → websearch-9r15s34d.js} +6 -6
- package/dist/chunks/{managed-policy-80gjvfqq.js → websearch-9rq7qx54.js} +3 -3
- package/dist/chunks/{managed-policy-r9xz4k2w.js → websearch-a4fr3d9q.js} +10 -10
- package/dist/chunks/{managed-policy-xz8qpa4w.js → websearch-a7dpx7re.js} +9 -9
- package/dist/chunks/{managed-policy-t8wzckmp.js → websearch-a89ymz6e.js} +10 -10
- package/dist/chunks/{managed-policy-aaet6srn.js → websearch-aaet6srn.js} +2 -2
- package/dist/chunks/{managed-policy-mr3x12pz.js → websearch-akvkypve.js} +30 -30
- package/dist/chunks/{managed-policy-bf0ztrs3.js → websearch-an7cqtb7.js} +4 -4
- package/dist/chunks/{managed-policy-y9rayrtr.js → websearch-ax7tp4yb.js} +17 -17
- package/dist/chunks/{managed-policy-rxv3afv6.js → websearch-ay804b8n.js} +15 -15
- package/dist/chunks/{managed-policy-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
- package/dist/chunks/{managed-policy-pwvqht43.js → websearch-bvtcxwtv.js} +12 -12
- package/dist/chunks/{managed-policy-vh04mdhz.js → websearch-by247pp1.js} +51 -51
- package/dist/chunks/{managed-policy-h0mhvawh.js → websearch-c0qwn38y.js} +20 -20
- package/dist/chunks/{managed-policy-cc7ta4tb.js → websearch-c6zbmz56.js} +37 -37
- package/dist/chunks/{managed-policy-fvzmcfta.js → websearch-c9swe8p3.js} +18 -18
- package/dist/chunks/{managed-policy-getfzt5f.js → websearch-ca3pr54h.js} +15 -15
- package/dist/chunks/{managed-policy-yebhkn30.js → websearch-cbhxcmc1.js} +26 -26
- package/dist/chunks/{managed-policy-875prqq3.js → websearch-cbw88k9g.js} +30 -30
- package/dist/chunks/{managed-policy-txpnxh2f.js → websearch-cgcc68fq.js} +8 -8
- package/dist/chunks/{managed-policy-ckecvw8r.js → websearch-ckecvw8r.js} +2 -2
- package/dist/chunks/{managed-policy-th2qz4yf.js → websearch-cn8dv2v1.js} +11 -11
- package/dist/chunks/{managed-policy-tpwcm8nh.js → websearch-cp5367at.js} +5 -5
- package/dist/chunks/{managed-policy-gma4ytx3.js → websearch-cq5xts3d.js} +25 -25
- package/dist/chunks/{managed-policy-7gxzyefe.js → websearch-ctj5zx4b.js} +9 -9
- package/dist/chunks/{managed-policy-w7av7943.js → websearch-cywvz9br.js} +11 -11
- package/dist/chunks/{managed-policy-d2aac7k2.js → websearch-d2aac7k2.js} +2 -2
- package/dist/chunks/websearch-d5jrffvq.js +26 -0
- package/dist/chunks/{managed-policy-17t12sh1.js → websearch-db8k9zw6.js} +11 -11
- package/dist/chunks/{managed-policy-xkntkrq7.js → websearch-dmqcgk4z.js} +5 -5
- package/dist/chunks/{managed-policy-mpk0rfs5.js → websearch-dnxkq42g.js} +4 -4
- package/dist/chunks/{managed-policy-rnx828q2.js → websearch-dpzcxc98.js} +33 -33
- package/dist/chunks/{managed-policy-drwq78ky.js → websearch-drwq78ky.js} +1 -1
- package/dist/chunks/{managed-policy-7bdyz5qm.js → websearch-dz3wwjp4.js} +16 -16
- package/dist/chunks/{managed-policy-sevzz86w.js → websearch-dz6ws2fj.js} +17 -17
- package/dist/chunks/{managed-policy-1arysab4.js → websearch-e0eyc163.js} +15 -15
- package/dist/chunks/{managed-policy-wrsn9w4w.js → websearch-e71g85fj.js} +13 -13
- package/dist/chunks/{managed-policy-tsjakjkq.js → websearch-e892khxg.js} +20 -20
- package/dist/chunks/{managed-policy-ecfe7b91.js → websearch-ecfe7b91.js} +2 -2
- package/dist/chunks/{managed-policy-en8764de.js → websearch-eds2zs3s.js} +46 -46
- package/dist/chunks/{managed-policy-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
- package/dist/chunks/{managed-policy-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
- package/dist/chunks/{managed-policy-j5gpwjg1.js → websearch-f81r1vb3.js} +13 -13
- package/dist/chunks/{managed-policy-1n6mmq6e.js → websearch-fbyf8q2e.js} +44 -44
- package/dist/chunks/{managed-policy-fcrkznn8.js → websearch-fcrkznn8.js} +1 -1
- package/dist/chunks/{managed-policy-p3s9at0s.js → websearch-feem3tsn.js} +20 -20
- package/dist/chunks/{managed-policy-m4583r1w.js → websearch-fgt6t0vg.js} +18 -18
- package/dist/chunks/{managed-policy-ps40z7de.js → websearch-fnmd0fbf.js} +21 -21
- package/dist/chunks/{managed-policy-7jzb6arw.js → websearch-fprafx3g.js} +12 -12
- package/dist/chunks/{managed-policy-y6kccm89.js → websearch-g2y161wv.js} +8 -8
- package/dist/chunks/{managed-policy-vd7rzxqf.js → websearch-g5agzp2h.js} +5 -5
- package/dist/chunks/{managed-policy-wak33rq2.js → websearch-g6cszjk9.js} +11 -11
- package/dist/chunks/{managed-policy-fnyhqzb8.js → websearch-g6kz14de.js} +3 -3
- package/dist/chunks/{managed-policy-9z0adws0.js → websearch-g8pnae5e.js} +10 -10
- package/dist/chunks/{managed-policy-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
- package/dist/chunks/{managed-policy-dzp4nhj1.js → websearch-gmw7h0g0.js} +21 -21
- package/dist/chunks/{managed-policy-tpe86yvt.js → websearch-gsx4bp2s.js} +34 -34
- package/dist/chunks/{managed-policy-gv6a8nnw.js → websearch-gv6a8nnw.js} +2 -2
- package/dist/chunks/{managed-policy-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
- package/dist/chunks/{managed-policy-pgp1nwjn.js → websearch-h9pnpq88.js} +4 -4
- package/dist/chunks/{managed-policy-q1rprvvw.js → websearch-ha607pgt.js} +6 -6
- package/dist/chunks/{managed-policy-8r8tnm27.js → websearch-hbhenm16.js} +35 -35
- package/dist/chunks/{managed-policy-g5bgzfwa.js → websearch-hc158ykg.js} +33 -33
- package/dist/chunks/{managed-policy-d1khqved.js → websearch-hcz3zddy.js} +5 -5
- package/dist/chunks/{managed-policy-xp3fh2h7.js → websearch-hd8vw2pw.js} +1 -1
- package/dist/chunks/{managed-policy-ej459j65.js → websearch-hkw46htp.js} +11 -11
- package/dist/chunks/{managed-policy-sbapmza5.js → websearch-hxtet8kv.js} +6 -6
- package/dist/chunks/{managed-policy-76vnbhsf.js → websearch-hzbdrxwe.js} +10 -10
- package/dist/chunks/{managed-policy-bzwh4v1s.js → websearch-j1ekrec0.js} +30 -30
- package/dist/chunks/{managed-policy-pqe1tcjk.js → websearch-j2p7y48b.js} +1 -1
- package/dist/chunks/{managed-policy-j56e64zr.js → websearch-j56e64zr.js} +1 -1
- package/dist/chunks/{managed-policy-xnnfrr0j.js → websearch-j7x2yn3t.js} +24 -24
- package/dist/chunks/{managed-policy-ycfrzxnp.js → websearch-ja2zj2c0.js} +34 -34
- package/dist/chunks/{managed-policy-753qp0k0.js → websearch-jcrrk3kb.js} +24 -24
- package/dist/chunks/{managed-policy-axtvtek4.js → websearch-jfqtm2ew.js} +7 -7
- package/dist/chunks/websearch-jj1z2dhd.js +252 -0
- package/dist/chunks/{managed-policy-dqa6mh0h.js → websearch-jr3b2gvy.js} +14 -14
- package/dist/chunks/{managed-policy-5wtwrezn.js → websearch-jw80jp6b.js} +19 -19
- package/dist/chunks/{managed-policy-3vt071x4.js → websearch-k3bw1sn3.js} +9 -9
- package/dist/chunks/{managed-policy-nzks3jc8.js → websearch-k3c624dm.js} +3 -3
- package/dist/chunks/{managed-policy-10jhvv7f.js → websearch-k93z6qzn.js} +20 -20
- package/dist/chunks/{managed-policy-dase2wj4.js → websearch-kbp4225x.js} +15 -15
- package/dist/chunks/{managed-policy-pqcp1x6d.js → websearch-kz6k2e9e.js} +28 -28
- package/dist/chunks/{managed-policy-m3fdjcah.js → websearch-m3fdjcah.js} +1 -1
- package/dist/chunks/{managed-policy-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{managed-policy-20rgjnyv.js → websearch-m9wxg17a.js} +17 -17
- package/dist/chunks/{managed-policy-3ceemb66.js → websearch-mf1w9jz9.js} +24 -24
- package/dist/chunks/{managed-policy-kgfkfb63.js → websearch-mh97fagg.js} +20 -20
- package/dist/chunks/{managed-policy-spx4xzh8.js → websearch-mjrftjf4.js} +16 -16
- package/dist/chunks/{managed-policy-kk8v81xj.js → websearch-mtwraztm.js} +11 -11
- package/dist/chunks/{managed-policy-qj0gtfb8.js → websearch-mxr1v1s0.js} +8 -8
- package/dist/chunks/{managed-policy-3sgvx7s5.js → websearch-n7f32xww.js} +3 -3
- package/dist/chunks/{managed-policy-q1n9hadw.js → websearch-nbckkxgt.js} +9 -9
- package/dist/chunks/{managed-policy-pjedbq3k.js → websearch-ndqtf2h8.js} +6 -6
- package/dist/chunks/{managed-policy-e3y7ffaz.js → websearch-nhgfcksv.js} +30 -30
- package/dist/chunks/{managed-policy-jxxakrfy.js → websearch-nng2ktcm.js} +2 -2
- package/dist/chunks/{managed-policy-71y9zwxs.js → websearch-nr5t8xf9.js} +17 -17
- package/dist/chunks/{managed-policy-cmtfrzch.js → websearch-p0szy2by.js} +22 -22
- package/dist/chunks/{managed-policy-9d46tmcm.js → websearch-pctwzd1v.js} +3 -3
- package/dist/chunks/{managed-policy-em3h5ktn.js → websearch-pcxghkgz.js} +4 -4
- package/dist/chunks/{managed-policy-fnf2bk90.js → websearch-pesdkjj5.js} +18 -18
- package/dist/chunks/{managed-policy-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
- package/dist/chunks/{managed-policy-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{managed-policy-ag4rn41e.js → websearch-q5asdkn4.js} +4 -4
- package/dist/chunks/{managed-policy-wvekarx2.js → websearch-q68392kb.js} +22 -22
- package/dist/chunks/{managed-policy-n6ngmcx1.js → websearch-qc8nte2e.js} +6 -6
- package/dist/chunks/{managed-policy-fpfawhpe.js → websearch-qcgtzhhm.js} +15 -15
- package/dist/chunks/{managed-policy-4a6jpjer.js → websearch-qdbakdjh.js} +5 -5
- package/dist/chunks/{managed-policy-pyagr9cd.js → websearch-qdg7esgd.js} +18 -18
- package/dist/chunks/{managed-policy-qs49j1z6.js → websearch-qk0x0sk0.js} +5 -5
- package/dist/chunks/{managed-policy-we1sq38a.js → websearch-qm2t0qjn.js} +15 -15
- package/dist/chunks/{managed-policy-45sq12k6.js → websearch-qnekv1ws.js} +11 -11
- package/dist/chunks/{managed-policy-qsdy395h.js → websearch-qsdy395h.js} +1 -1
- package/dist/chunks/{managed-policy-w00sd6bp.js → websearch-qt3x64j7.js} +20 -20
- package/dist/chunks/{managed-policy-2jqk0rn5.js → websearch-qxkhg7xp.js} +5 -5
- package/dist/chunks/{managed-policy-54ma36ye.js → websearch-r94pvvab.js} +4 -4
- package/dist/chunks/{managed-policy-h06dmeym.js → websearch-rbar20vn.js} +13 -13
- package/dist/chunks/{managed-policy-7qpc0b73.js → websearch-rbgspyrk.js} +17 -17
- package/dist/chunks/{managed-policy-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
- package/dist/chunks/{managed-policy-nyxxskch.js → websearch-rh0dsed9.js} +6 -6
- package/dist/chunks/{managed-policy-8rgs9ycy.js → websearch-rhp1qkby.js} +91 -91
- package/dist/chunks/{managed-policy-psc3xzs8.js → websearch-rhpygmjn.js} +3 -3
- package/dist/chunks/{managed-policy-wv26848n.js → websearch-rnn7zy7b.js} +24 -24
- package/dist/chunks/{managed-policy-jw5senje.js → websearch-rvb988rt.js} +3 -3
- package/dist/chunks/{managed-policy-f144cm3h.js → websearch-ry88pbpy.js} +29 -29
- package/dist/chunks/{managed-policy-nd79w430.js → websearch-s19tbb4q.js} +27 -27
- package/dist/chunks/{managed-policy-ced978hc.js → websearch-s39hhjzg.js} +25 -25
- package/dist/chunks/{managed-policy-sydaydjk.js → websearch-s3p9b0fg.js} +11 -11
- package/dist/chunks/{managed-policy-ekdvg0g5.js → websearch-s7mc561m.js} +11 -11
- package/dist/chunks/{managed-policy-t550f9t1.js → websearch-s8d7rejh.js} +4 -4
- package/dist/chunks/{managed-policy-5e15319b.js → websearch-sznyev98.js} +5 -5
- package/dist/chunks/{managed-policy-5sfp98pg.js → websearch-t0tmk7bb.js} +17 -17
- package/dist/chunks/{managed-policy-39a15p26.js → websearch-t1bbtf4n.js} +5 -5
- package/dist/chunks/{managed-policy-gzv3jtbt.js → websearch-t29c64m8.js} +35 -35
- package/dist/chunks/{managed-policy-jyjpk7fv.js → websearch-t4k7v3dt.js} +6 -6
- package/dist/chunks/{managed-policy-y8hy265e.js → websearch-t7mjb19w.js} +16 -16
- package/dist/chunks/{managed-policy-vy4c8fa5.js → websearch-t8fnexag.js} +11 -11
- package/dist/chunks/{managed-policy-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
- package/dist/chunks/{managed-policy-tcezcvh9.js → websearch-tcezcvh9.js} +1 -1
- package/dist/chunks/{managed-policy-tdstcens.js → websearch-tdstcens.js} +1 -1
- package/dist/chunks/{managed-policy-je2myd62.js → websearch-tfr0n87e.js} +40 -40
- package/dist/chunks/{managed-policy-r0bddt9n.js → websearch-tjh59d1t.js} +14 -14
- package/dist/chunks/{managed-policy-s1rx4m94.js → websearch-tttmn9xj.js} +36 -36
- package/dist/chunks/{managed-policy-y5ce63fc.js → websearch-tvcy2d8k.js} +5 -5
- package/dist/chunks/{managed-policy-tvtrv512.js → websearch-tvtrv512.js} +1 -1
- package/dist/chunks/{managed-policy-sxk4ms2b.js → websearch-tx4rpkmp.js} +180 -180
- package/dist/chunks/{managed-policy-23qe2xa5.js → websearch-v2tqbhv1.js} +5 -5
- package/dist/chunks/{managed-policy-j1xxfbgt.js → websearch-v8vkj13s.js} +24 -24
- package/dist/chunks/{managed-policy-a89e0tac.js → websearch-vbfgae2j.js} +4 -4
- package/dist/chunks/{managed-policy-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/{managed-policy-t3w4twfb.js → websearch-vfze4e7p.js} +11 -11
- package/dist/chunks/{managed-policy-8hgfhrm0.js → websearch-vhvgae7m.js} +9 -9
- package/dist/chunks/{managed-policy-c488s98d.js → websearch-vy4zg7qh.js} +12 -12
- package/dist/chunks/{managed-policy-vzcthcp8.js → websearch-vzcthcp8.js} +1 -1
- package/dist/chunks/{managed-policy-vzs5sf6e.js → websearch-vzs5sf6e.js} +1 -1
- package/dist/chunks/{managed-policy-d8cmmjhb.js → websearch-w04gwn7v.js} +14 -14
- package/dist/chunks/{managed-policy-vknntt9e.js → websearch-w0tzqy3y.js} +2 -2
- package/dist/chunks/{managed-policy-kg45nmpk.js → websearch-w2xqxfyd.js} +4 -4
- package/dist/chunks/{managed-policy-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{managed-policy-wd3x2cqz.js → websearch-wd3x2cqz.js} +2 -2
- package/dist/chunks/{managed-policy-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{managed-policy-azsgmn80.js → websearch-wj97vxvf.js} +30 -30
- package/dist/chunks/{managed-policy-5cqfgvb4.js → websearch-wk33t37p.js} +27 -27
- package/dist/chunks/{managed-policy-x1ezjp6w.js → websearch-x1ezjp6w.js} +1 -1
- package/dist/chunks/{managed-policy-zhfehfcb.js → websearch-xb4vskyg.js} +47 -47
- package/dist/chunks/{managed-policy-0svm36dj.js → websearch-xj0pm4a7.js} +27 -27
- package/dist/chunks/{managed-policy-s926t221.js → websearch-xs0f1de6.js} +12 -12
- package/dist/chunks/{managed-policy-5vz90y44.js → websearch-xywyz3br.js} +34 -34
- package/dist/chunks/{managed-policy-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
- package/dist/chunks/{managed-policy-y71avatq.js → websearch-y71avatq.js} +1 -1
- package/dist/chunks/{managed-policy-dp60fnpg.js → websearch-yfazxzvf.js} +28 -28
- package/dist/chunks/{managed-policy-29qzs3cc.js → websearch-ygnr1sws.js} +8 -8
- package/dist/chunks/{managed-policy-jrefsjk4.js → websearch-yjybsv52.js} +13 -13
- package/dist/chunks/{managed-policy-pr22ash8.js → websearch-ypznjkd7.js} +11 -11
- package/dist/chunks/{managed-policy-86ach597.js → websearch-yqzb4qk7.js} +23 -23
- package/dist/chunks/{managed-policy-yrhqyw5v.js → websearch-yrhqyw5v.js} +1 -1
- package/dist/chunks/{managed-policy-s4enseaf.js → websearch-yrznvahk.js} +2 -2
- package/dist/chunks/{managed-policy-q8r22k9v.js → websearch-yvvvp4gn.js} +8 -8
- package/dist/chunks/{managed-policy-z07pqspn.js → websearch-z07pqspn.js} +3 -3
- package/dist/chunks/{managed-policy-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{managed-policy-m2nanmk6.js → websearch-z4gwm7ej.js} +21 -21
- package/dist/chunks/{managed-policy-a64xdr2r.js → websearch-z4y1yx3e.js} +11 -11
- package/dist/chunks/{managed-policy-29x78va6.js → websearch-z63w68vq.js} +6 -6
- package/dist/chunks/{managed-policy-35fra6v4.js → websearch-zag1vqwr.js} +10 -10
- package/dist/chunks/{managed-policy-gva4y1sd.js → websearch-zbcsc03z.js} +9 -9
- package/dist/chunks/{managed-policy-qhvxr7kc.js → websearch-zbtey4zf.js} +25 -25
- package/dist/chunks/{managed-policy-zeh9ct20.js → websearch-zeh9ct20.js} +2 -2
- package/dist/chunks/{managed-policy-2bq8905m.js → websearch-zfpwxvs5.js} +22 -22
- package/dist/chunks/{managed-policy-0qp31s55.js → websearch-zm89c310.js} +3 -3
- package/dist/chunks/{managed-policy-t6njjzcs.js → websearch-zr12skm3.js} +86 -86
- package/dist/chunks/{managed-policy-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
- package/dist/chunks/{managed-policy-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +5 -5
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/managed-policy-6dyd0b7s.js +0 -26
- package/dist/chunks/managed-policy-c92ss08r.js +0 -507
- package/dist/chunks/managed-policy-vnkjks7b.js +0 -18
- package/dist/chunks/managed-policy-x21e0m1x.js +0 -252
- /package/dist/chunks/{managed-policy-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{managed-policy-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{managed-policy-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{managed-policy-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{managed-policy-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{managed-policy-24dcb14g.js → websearch-24dcb14g.js} +0 -0
- /package/dist/chunks/{managed-policy-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{managed-policy-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
- /package/dist/chunks/{managed-policy-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{managed-policy-34c7v6d4.js → websearch-34c7v6d4.js} +0 -0
- /package/dist/chunks/{managed-policy-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{managed-policy-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{managed-policy-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{managed-policy-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
- /package/dist/chunks/{managed-policy-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{managed-policy-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{managed-policy-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{managed-policy-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{managed-policy-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{managed-policy-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{managed-policy-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{managed-policy-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{managed-policy-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{managed-policy-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{managed-policy-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{managed-policy-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{managed-policy-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{managed-policy-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
- /package/dist/chunks/{managed-policy-922hggd3.js → websearch-922hggd3.js} +0 -0
- /package/dist/chunks/{managed-policy-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{managed-policy-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{managed-policy-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{managed-policy-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{managed-policy-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{managed-policy-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{managed-policy-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{managed-policy-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{managed-policy-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{managed-policy-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{managed-policy-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{managed-policy-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{managed-policy-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{managed-policy-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{managed-policy-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{managed-policy-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{managed-policy-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{managed-policy-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{managed-policy-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{managed-policy-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{managed-policy-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{managed-policy-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{managed-policy-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{managed-policy-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{managed-policy-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{managed-policy-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{managed-policy-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{managed-policy-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{managed-policy-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{managed-policy-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{managed-policy-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{managed-policy-hjbc5kem.js → websearch-hjbc5kem.js} +0 -0
- /package/dist/chunks/{managed-policy-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{managed-policy-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{managed-policy-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{managed-policy-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
- /package/dist/chunks/{managed-policy-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{managed-policy-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{managed-policy-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{managed-policy-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{managed-policy-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{managed-policy-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{managed-policy-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{managed-policy-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{managed-policy-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{managed-policy-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{managed-policy-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{managed-policy-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{managed-policy-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{managed-policy-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
- /package/dist/chunks/{managed-policy-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{managed-policy-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{managed-policy-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{managed-policy-sk3qaz4a.js → websearch-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{managed-policy-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{managed-policy-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{managed-policy-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{managed-policy-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{managed-policy-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{managed-policy-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{managed-policy-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{managed-policy-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{managed-policy-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
- /package/dist/chunks/{managed-policy-y8f7s663.js → websearch-y8f7s663.js} +0 -0
- /package/dist/chunks/{managed-policy-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{managed-policy-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{managed-policy-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-cbw88k9g.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service65
|
|
8
|
+
} from "./websearch-346nngnc.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
resolve4
|
|
11
|
+
} from "./websearch-rh0dsed9.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./websearch-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./websearch-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin27
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin27 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service65;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -177,7 +177,7 @@ var Plugin44 = define({
|
|
|
177
177
|
if (config.variants === undefined && !source?.base)
|
|
178
178
|
models.update(providerID, id, (model) => {
|
|
179
179
|
model.variants = [
|
|
180
|
-
...
|
|
180
|
+
...resolve4({
|
|
181
181
|
...model,
|
|
182
182
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
183
183
|
})
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin27, exports_provider };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-w2xqxfyd.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./websearch-yfazxzvf.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./websearch-t7mjb19w.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service51,
|
|
19
|
+
node54
|
|
20
|
+
} from "./websearch-0fmckw5j.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID16,
|
|
23
|
+
Service79,
|
|
24
|
+
node83
|
|
25
|
+
} from "./websearch-3p2rzh20.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./websearch-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service77,
|
|
34
|
+
node81
|
|
35
|
+
} from "./websearch-cbhxcmc1.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./websearch-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,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service40,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured5,
|
|
56
|
+
layer: () => layer16,
|
|
57
|
+
node: () => node43
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service40 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options5 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const environment = yield* Service51;
|
|
117
117
|
const bus = yield* Service83;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service79;
|
|
119
|
+
const integration = yield* Service77;
|
|
120
|
+
const credentials = yield* Service78;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer10 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID14.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer10 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer10 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError5({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID16.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer10 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
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(
|
|
272
|
+
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(Service51, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer10 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer10 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service40.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured5(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service40,
|
|
536
|
+
layer: layer16(options),
|
|
537
|
+
deps: [node84, node54, node87, node83, node81, node82]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node43 = configured5();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service40, Options5, layer16, configured5, node43, exports_mcp4 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-w2xqxfyd.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-p0szy2by.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
@@ -19,11 +19,11 @@ __export(exports_persistent_pty, {
|
|
|
19
19
|
NotFoundError: () => NotFoundError4,
|
|
20
20
|
Options: () => Options3,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service20,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
24
|
configured: () => configured3,
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
layer: () => layer10,
|
|
26
|
+
node: () => node23
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -37,7 +37,7 @@ import { resolveBinary } from "#persistent-pty-binary";
|
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
@@ -47,9 +47,9 @@ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError",
|
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service20 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service40, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service40, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service20.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service40, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
258
|
+
var layer10 = makeLayer();
|
|
259
259
|
var configured3 = (options) => makeGlobalNode({
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
260
|
+
service: Service20,
|
|
261
|
+
layer: options === undefined ? layer10 : makeLayer(options),
|
|
262
262
|
deps: [node87, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node23 = configured3();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export { Options3,
|
|
304
|
+
export { Options3, UnavailableError3, NotFoundError4, Service20, layer10, configured3, node23, exports_persistent_pty, Handoff2 };
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-w2xqxfyd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node69
|
|
7
|
+
} from "./websearch-5jt4heav.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service8,
|
|
10
|
+
node9
|
|
11
|
+
} from "./websearch-wk33t37p.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service38
|
|
14
|
+
} from "./websearch-7fj5dwt0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
node18,
|
|
17
|
+
ID3
|
|
18
|
+
} from "./websearch-1mxp06n2.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service3,
|
|
21
|
+
node4
|
|
22
|
+
} from "./websearch-9hn6k4tm.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./websearch-4zj0d0rt.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
make6,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./websearch-ygnr1sws.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
|
-
|
|
34
|
+
Service5,
|
|
35
35
|
node6
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./websearch-9217e98b.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
38
|
+
Service4,
|
|
39
39
|
node5
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./websearch-6hjx5zpb.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./websearch-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
47
47
|
__export(exports_supervisor, {
|
|
48
48
|
PluginSupervisor: () => exports_supervisor,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer3,
|
|
50
|
+
node: () => node3
|
|
51
51
|
});
|
|
52
52
|
import { Event } from "@opencode/schema/config";
|
|
53
53
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -116,7 +116,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
116
116
|
failures: [
|
|
117
117
|
...failures.values(),
|
|
118
118
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
119
|
-
id:
|
|
119
|
+
id: ID3.make(plugin.id),
|
|
120
120
|
source: plugin.source ?? { type: "builtin" },
|
|
121
121
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
122
122
|
features: { server: true, ...plugin.features }
|
|
@@ -125,14 +125,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
125
|
pending: [...pending]
|
|
126
126
|
};
|
|
127
127
|
});
|
|
128
|
-
var
|
|
129
|
-
const registry = yield*
|
|
130
|
-
const sdk = yield*
|
|
131
|
-
const instance = yield*
|
|
132
|
-
const sources = yield*
|
|
133
|
-
const modules = yield*
|
|
128
|
+
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
129
|
+
const registry = yield* Service38;
|
|
130
|
+
const sdk = yield* Service5;
|
|
131
|
+
const instance = yield* Service3;
|
|
132
|
+
const sources = yield* Service8;
|
|
133
|
+
const modules = yield* make6();
|
|
134
134
|
const bus = yield* Service83;
|
|
135
|
-
const updates = yield*
|
|
135
|
+
const updates = yield* Service4;
|
|
136
136
|
const internal = yield* list2();
|
|
137
137
|
let release = yield* registry.hold();
|
|
138
138
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -207,14 +207,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
207
207
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
208
208
|
}));
|
|
209
209
|
var nodeDeps = [
|
|
210
|
-
|
|
210
|
+
node18,
|
|
211
211
|
node6,
|
|
212
|
+
node4,
|
|
212
213
|
node9,
|
|
213
|
-
node13,
|
|
214
214
|
node5,
|
|
215
215
|
node87,
|
|
216
216
|
Npm.node,
|
|
217
|
-
|
|
217
|
+
node69,
|
|
218
218
|
requirements2
|
|
219
219
|
];
|
|
220
220
|
function pluginSource(target) {
|
|
@@ -222,6 +222,6 @@ function pluginSource(target) {
|
|
|
222
222
|
return { type: "local", path: target };
|
|
223
223
|
return { type: "package", target };
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var node3 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
226
226
|
|
|
227
|
-
export {
|
|
227
|
+
export { layer3, node3, exports_supervisor };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info7,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-zfpwxvs5.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service65
|
|
11
|
+
} from "./websearch-346nngnc.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./websearch-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin12,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin12 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info7.make({
|
|
434
|
+
id: ID5.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info7.make({
|
|
441
|
+
id: ID5.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service65;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin12, exports_skill };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service45,
|
|
3
|
+
node48
|
|
4
|
+
} from "./websearch-j7x2yn3t.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
16
|
var exports_instructions4 = {};
|
|
17
17
|
__export(exports_instructions4, {
|
|
18
18
|
ReferenceInstructions: () => exports_instructions4,
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
Service: () => Service33,
|
|
20
|
+
node: () => node36
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service33 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service45;
|
|
64
|
+
return Service33.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make21({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node36 = makeLocationNode({ service: Service33, layer, deps: [node48] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service33, node36, exports_instructions4 };
|