@opencode/core 0.0.0-dev-20416 → 0.0.0-dev-20417
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{event-logger-mwme0r2x.js → aisdk-native-0124cehf.js} +13 -13
- package/dist/chunks/{event-logger-2wva2jkh.js → aisdk-native-0510rp3e.js} +15 -15
- package/dist/chunks/{event-logger-xx2yb7w0.js → aisdk-native-05py0drh.js} +42 -42
- package/dist/chunks/{event-logger-7k2avqd9.js → aisdk-native-08y9fw32.js} +21 -21
- package/dist/chunks/{event-logger-aqcksy77.js → aisdk-native-09nmevt6.js} +9 -9
- package/dist/chunks/{event-logger-twvtekjm.js → aisdk-native-0a9z9mhn.js} +17 -17
- package/dist/chunks/{event-logger-2bx4t2ca.js → aisdk-native-0f39s03b.js} +18 -18
- package/dist/chunks/{event-logger-tcay1cqt.js → aisdk-native-0hf9g8pg.js} +6 -6
- package/dist/chunks/{event-logger-9qem93zb.js → aisdk-native-0jkm8pdv.js} +3 -3
- package/dist/chunks/{event-logger-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{event-logger-b8gbgwp4.js → aisdk-native-14767bwg.js} +48 -48
- package/dist/chunks/{event-logger-asyqfrs8.js → aisdk-native-178zw4cw.js} +28 -28
- package/dist/chunks/{event-logger-0gr0dgrd.js → aisdk-native-17e1vs3w.js} +5 -5
- package/dist/chunks/{event-logger-ha5qz99h.js → aisdk-native-1bqfwsdz.js} +14 -14
- package/dist/chunks/{event-logger-g8ynk2e5.js → aisdk-native-1ck7ys6v.js} +35 -35
- package/dist/chunks/{event-logger-6btz5c3h.js → aisdk-native-1cxs9rqw.js} +61 -61
- package/dist/chunks/{event-logger-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
- package/dist/chunks/{event-logger-y4jjsjgg.js → aisdk-native-1ey8xzyd.js} +35 -35
- package/dist/chunks/{event-logger-bkdfrtpa.js → aisdk-native-1xggbd2g.js} +5 -5
- package/dist/chunks/{event-logger-vwk34294.js → aisdk-native-1zzqj3yc.js} +11 -11
- package/dist/chunks/{event-logger-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
- package/dist/chunks/{event-logger-wng992rj.js → aisdk-native-25a7g7pf.js} +20 -20
- package/dist/chunks/{event-logger-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{event-logger-rph3zd4r.js → aisdk-native-2d57kztd.js} +4 -4
- package/dist/chunks/{event-logger-9zkw4r8w.js → aisdk-native-2d8we099.js} +75 -75
- package/dist/chunks/{event-logger-kpy4yfav.js → aisdk-native-2h0awvba.js} +1 -1
- package/dist/chunks/{event-logger-chrxq3ex.js → aisdk-native-2k1mv0ny.js} +10 -10
- package/dist/chunks/{event-logger-qgn6gcr1.js → aisdk-native-2k8khapm.js} +5 -5
- package/dist/chunks/{event-logger-b0vhkd8y.js → aisdk-native-2mhsvxbb.js} +4 -4
- package/dist/chunks/{event-logger-f885rbej.js → aisdk-native-2p073dgc.js} +19 -19
- package/dist/chunks/{event-logger-xda1fc24.js → aisdk-native-2p6hgzww.js} +16 -16
- package/dist/chunks/{event-logger-s50vkwph.js → aisdk-native-3f9an36k.js} +6 -6
- package/dist/chunks/{event-logger-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
- package/dist/chunks/{event-logger-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-dqq9xe44.js → aisdk-native-3kq044jm.js} +27 -27
- package/dist/chunks/{event-logger-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{event-logger-3z4fvzn9.js → aisdk-native-3tbqkg03.js} +20 -20
- package/dist/chunks/{event-logger-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{event-logger-3by5zhag.js → aisdk-native-3xzkedv0.js} +28 -28
- package/dist/chunks/{event-logger-3zsf4n22.js → aisdk-native-3zsf4n22.js} +1 -1
- package/dist/chunks/{event-logger-4wwqnvbr.js → aisdk-native-44pdqs77.js} +4 -4
- package/dist/chunks/{event-logger-vwgs6v8p.js → aisdk-native-4jng47r3.js} +36 -36
- package/dist/chunks/{event-logger-474z6p00.js → aisdk-native-4kmxq2hr.js} +22 -22
- package/dist/chunks/{event-logger-5kyehztc.js → aisdk-native-4rbmpaks.js} +11 -11
- package/dist/chunks/{event-logger-96s3rq5g.js → aisdk-native-4wejdrpx.js} +19 -19
- package/dist/chunks/{event-logger-jv4989nc.js → aisdk-native-4z96vvqy.js} +19 -19
- package/dist/chunks/{event-logger-54ma36ye.js → aisdk-native-54ma36ye.js} +1 -1
- package/dist/chunks/{event-logger-1ygqh575.js → aisdk-native-56gdpj1q.js} +9 -9
- package/dist/chunks/{event-logger-d2q3stg4.js → aisdk-native-57ez7d0k.js} +7 -7
- package/dist/chunks/{event-logger-36xy1yzh.js → aisdk-native-5chqqhv3.js} +15 -15
- package/dist/chunks/{event-logger-4x85amra.js → aisdk-native-5d0dn1hj.js} +35 -35
- package/dist/chunks/{event-logger-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
- package/dist/chunks/{event-logger-tsf7ps50.js → aisdk-native-5jghqat2.js} +5 -5
- package/dist/chunks/{event-logger-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
- package/dist/chunks/{event-logger-pe642vya.js → aisdk-native-5wdp7h9t.js} +18 -18
- package/dist/chunks/{event-logger-e6rgzrg1.js → aisdk-native-5xnwfp9f.js} +11 -11
- package/dist/chunks/{event-logger-qvkn8f97.js → aisdk-native-6656g7jn.js} +4 -4
- package/dist/chunks/{event-logger-669tq793.js → aisdk-native-669tq793.js} +1 -1
- package/dist/chunks/{event-logger-7pmz6bbz.js → aisdk-native-69tea0b1.js} +9 -9
- package/dist/chunks/{event-logger-4nh1t5qm.js → aisdk-native-6fq16ccx.js} +36 -36
- package/dist/chunks/{event-logger-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
- package/dist/chunks/{event-logger-kfvedqw3.js → aisdk-native-6n88yxkj.js} +8 -8
- package/dist/chunks/{event-logger-dyzkfz1n.js → aisdk-native-6qmvz171.js} +24 -24
- package/dist/chunks/{event-logger-7jz5tqjy.js → aisdk-native-6srq29b6.js} +20 -20
- package/dist/chunks/{event-logger-qgccrrkf.js → aisdk-native-70b5yd3t.js} +15 -15
- package/dist/chunks/{event-logger-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-4q8h7cm3.js → aisdk-native-7gjnmd52.js} +30 -30
- package/dist/chunks/{event-logger-1m38g5s1.js → aisdk-native-7j06gtke.js} +42 -42
- package/dist/chunks/{event-logger-wpgrwh85.js → aisdk-native-7k1kc7t0.js} +12 -12
- package/dist/chunks/{event-logger-m6nmcdhk.js → aisdk-native-7mt3t1zw.js} +15 -15
- package/dist/chunks/{event-logger-2h7tvynr.js → aisdk-native-7p9r4bkx.js} +25 -25
- package/dist/chunks/{event-logger-5kg9mh08.js → aisdk-native-7wygd488.js} +186 -186
- package/dist/chunks/{event-logger-9kf8crr2.js → aisdk-native-80arm2fs.js} +3 -3
- package/dist/chunks/{event-logger-1bksvrzb.js → aisdk-native-83jzkrpv.js} +38 -38
- package/dist/chunks/{event-logger-84txncab.js → aisdk-native-84txncab.js} +1 -1
- package/dist/chunks/{event-logger-et0s89qn.js → aisdk-native-870jwr5d.js} +28 -28
- package/dist/chunks/{event-logger-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
- package/dist/chunks/{event-logger-k8kza4t3.js → aisdk-native-8dpa8mca.js} +13 -13
- package/dist/chunks/{event-logger-fxrhgb5s.js → aisdk-native-8frtpgfy.js} +5 -5
- package/dist/chunks/{event-logger-mgtej8q6.js → aisdk-native-8namq6c7.js} +28 -28
- package/dist/chunks/{event-logger-5zm9k7fe.js → aisdk-native-8q7trwbk.js} +32 -32
- package/dist/chunks/{event-logger-mtazec1p.js → aisdk-native-8s8bp6yj.js} +32 -32
- package/dist/chunks/{event-logger-1sfkerqt.js → aisdk-native-8s8pqwyt.js} +6 -6
- package/dist/chunks/{event-logger-cj8231sg.js → aisdk-native-8tea5g87.js} +13 -13
- package/dist/chunks/{event-logger-bpa997y7.js → aisdk-native-8zb5tzd5.js} +31 -31
- package/dist/chunks/{event-logger-g7afzaxy.js → aisdk-native-9057vyh0.js} +11 -11
- package/dist/chunks/{event-logger-0zpkfkm4.js → aisdk-native-90r035a6.js} +10 -10
- package/dist/chunks/{event-logger-gvtxaj7z.js → aisdk-native-9454xasz.js} +22 -22
- package/dist/chunks/{event-logger-gfvb90ym.js → aisdk-native-94ek1h2f.js} +2 -2
- package/dist/chunks/{event-logger-78ftde5m.js → aisdk-native-960cc4qe.js} +27 -27
- package/dist/chunks/{event-logger-m2pxj8c0.js → aisdk-native-9dqxh5mq.js} +28 -28
- package/dist/chunks/{event-logger-xvq5hbj2.js → aisdk-native-9t958dxm.js} +24 -24
- package/dist/chunks/{event-logger-y39dv51y.js → aisdk-native-9twtcer3.js} +35 -35
- package/dist/chunks/{event-logger-t6w4mtk7.js → aisdk-native-9wxcj8py.js} +13 -13
- package/dist/chunks/aisdk-native-9zdhvgqs.js +18 -0
- package/dist/chunks/{event-logger-a1gpj94z.js → aisdk-native-a1gpj94z.js} +1 -1
- package/dist/chunks/{event-logger-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{event-logger-a358s59g.js → aisdk-native-ae0217x6.js} +37 -37
- package/dist/chunks/{event-logger-vdzspbnc.js → aisdk-native-af04s6ss.js} +2 -2
- package/dist/chunks/{event-logger-w3x9v1nk.js → aisdk-native-ahd542yp.js} +8 -8
- package/dist/chunks/{event-logger-8mj95qcv.js → aisdk-native-aqj2zsm7.js} +5 -5
- package/dist/chunks/{event-logger-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{event-logger-byb8yc9m.js → aisdk-native-bfeh5ntv.js} +40 -40
- package/dist/chunks/{event-logger-xy2t9kqq.js → aisdk-native-bkya8nv3.js} +30 -30
- package/dist/chunks/{event-logger-30846h32.js → aisdk-native-bnmr3cva.js} +8 -8
- package/dist/chunks/{event-logger-dy7wbn3s.js → aisdk-native-bt0w5j1m.js} +11 -11
- package/dist/chunks/{event-logger-6pah7r0c.js → aisdk-native-bv6943e1.js} +1 -1
- package/dist/chunks/{event-logger-hevc4bph.js → aisdk-native-bvsxznv8.js} +3 -3
- package/dist/chunks/{event-logger-zzd0m6f2.js → aisdk-native-c03kjhqs.js} +58 -58
- package/dist/chunks/{event-logger-g45t7an4.js → aisdk-native-c1h6cn61.js} +5 -5
- package/dist/chunks/{event-logger-h6046181.js → aisdk-native-c3v4ja8k.js} +24 -24
- package/dist/chunks/{event-logger-d6e90v2e.js → aisdk-native-c558n2pb.js} +24 -24
- package/dist/chunks/{event-logger-5sj81wm5.js → aisdk-native-c78bbtc9.js} +5 -5
- package/dist/chunks/{event-logger-pkpw5sx5.js → aisdk-native-c93q62r7.js} +29 -29
- package/dist/chunks/{event-logger-cfsekr6v.js → aisdk-native-cfsekr6v.js} +2 -2
- package/dist/chunks/{event-logger-54tcyq79.js → aisdk-native-ckecvw8r.js} +2 -2
- package/dist/chunks/{event-logger-apn8f15b.js → aisdk-native-cmbqfntm.js} +7 -7
- package/dist/chunks/{event-logger-p37cw4rj.js → aisdk-native-cmwkp3r5.js} +8 -8
- package/dist/chunks/{event-logger-801jjte1.js → aisdk-native-craa4cy0.js} +3 -3
- package/dist/chunks/{event-logger-xmszv9zx.js → aisdk-native-d8n7q4z0.js} +25 -25
- package/dist/chunks/{event-logger-41wasfk9.js → aisdk-native-dc1ykt8z.js} +5 -5
- package/dist/chunks/{event-logger-cwa6csj7.js → aisdk-native-djszqvmq.js} +9 -9
- package/dist/chunks/{event-logger-dmqcgk4z.js → aisdk-native-dmqcgk4z.js} +2 -2
- package/dist/chunks/{event-logger-qvfvz5h6.js → aisdk-native-e22nn5xy.js} +9 -9
- package/dist/chunks/{event-logger-emsz7g57.js → aisdk-native-e5nnvdaa.js} +46 -46
- package/dist/chunks/{event-logger-t3swkhbg.js → aisdk-native-e6hmchc5.js} +2 -2
- package/dist/chunks/{event-logger-g578wdqb.js → aisdk-native-e6kj5m3z.js} +16 -16
- package/dist/chunks/{event-logger-ef5x83kb.js → aisdk-native-ef5x83kb.js} +1 -1
- package/dist/chunks/{event-logger-5pw6jttx.js → aisdk-native-endyxvye.js} +8 -8
- package/dist/chunks/{event-logger-2c42hanh.js → aisdk-native-eq4xsb4x.js} +12 -12
- package/dist/chunks/{event-logger-xj3htnp5.js → aisdk-native-eqv59zcm.js} +20 -20
- package/dist/chunks/{event-logger-yn3dmqqd.js → aisdk-native-erpxhpcp.js} +28 -28
- package/dist/chunks/{event-logger-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
- package/dist/chunks/{event-logger-sz763eb6.js → aisdk-native-eyz64kwr.js} +6 -6
- package/dist/chunks/{event-logger-qsf46761.js → aisdk-native-f97fng2a.js} +8 -8
- package/dist/chunks/{event-logger-hbn7w743.js → aisdk-native-fdqf23m2.js} +8 -8
- package/dist/chunks/{event-logger-9wpgsbre.js → aisdk-native-fhs97t90.js} +9 -9
- package/dist/chunks/{event-logger-n6pgtx9h.js → aisdk-native-fhy617c4.js} +4 -4
- package/dist/chunks/{event-logger-qc39ajn0.js → aisdk-native-fk8ztcgd.js} +14 -14
- package/dist/chunks/{event-logger-vps92m75.js → aisdk-native-fmcqyzhx.js} +9 -9
- package/dist/chunks/{event-logger-b0eftgcg.js → aisdk-native-fnypgrc1.js} +28 -28
- package/dist/chunks/{event-logger-0kskbm85.js → aisdk-native-fp3mskb5.js} +18 -18
- package/dist/chunks/{event-logger-g5w8qwbj.js → aisdk-native-g5w8qwbj.js} +1 -1
- package/dist/chunks/{event-logger-1js6j2vy.js → aisdk-native-g74c0m33.js} +8 -8
- package/dist/chunks/{event-logger-bk5z8xts.js → aisdk-native-g8182w1y.js} +19 -19
- package/dist/chunks/{event-logger-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{event-logger-qy24xa0s.js → aisdk-native-gmbv0vxt.js} +22 -22
- package/dist/chunks/{event-logger-72czns48.js → aisdk-native-gq59zvn3.js} +3 -3
- package/dist/chunks/{event-logger-125m14jt.js → aisdk-native-gtr9fqz6.js} +10 -10
- package/dist/chunks/{event-logger-yyb7tjpc.js → aisdk-native-gv6a8nnw.js} +2 -2
- package/dist/chunks/{event-logger-6jvpc8jy.js → aisdk-native-gzpw3dbs.js} +6 -6
- package/dist/chunks/{event-logger-8h3t5p2d.js → aisdk-native-h2tzx3y1.js} +13 -13
- package/dist/chunks/{event-logger-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{event-logger-427t97hr.js → aisdk-native-hekxc47r.js} +1 -1
- package/dist/chunks/{event-logger-wpwx019v.js → aisdk-native-hmh1jr94.js} +15 -15
- package/dist/chunks/aisdk-native-hw468chq.js +26 -0
- package/dist/chunks/{event-logger-hcy42j4t.js → aisdk-native-j519rxbg.js} +24 -24
- package/dist/chunks/{event-logger-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
- package/dist/chunks/{event-logger-44ak30pa.js → aisdk-native-j8m1p4p1.js} +4 -4
- package/dist/chunks/{event-logger-dfd6nqfg.js → aisdk-native-j8qbnwnq.js} +11 -11
- package/dist/chunks/{event-logger-hfpyh3je.js → aisdk-native-jc93wweh.js} +11 -11
- package/dist/chunks/{event-logger-b09hzw3k.js → aisdk-native-jca4demv.js} +2 -2
- package/dist/chunks/{event-logger-4xe71878.js → aisdk-native-jf2tzzg3.js} +28 -28
- package/dist/chunks/{event-logger-5gepjxtb.js → aisdk-native-jfsfcnrj.js} +13 -13
- package/dist/chunks/{event-logger-gnxyvke2.js → aisdk-native-jk1n875a.js} +23 -23
- package/dist/chunks/{event-logger-ntt46qkd.js → aisdk-native-jzqs01pn.js} +23 -23
- package/dist/chunks/{event-logger-mjymc32g.js → aisdk-native-k2h4r4s0.js} +4 -4
- package/dist/chunks/{event-logger-k3c624dm.js → aisdk-native-k3c624dm.js} +3 -3
- package/dist/chunks/{event-logger-hnw30wnd.js → aisdk-native-k751ne6a.js} +9 -9
- package/dist/chunks/{event-logger-dhmh7aw6.js → aisdk-native-k76fn4kw.js} +4 -4
- package/dist/chunks/{event-logger-y6hv0j91.js → aisdk-native-key5aaht.js} +29 -29
- package/dist/chunks/{event-logger-8mv5n3j0.js → aisdk-native-kyrmdyzb.js} +27 -27
- package/dist/chunks/{event-logger-px42xchs.js → aisdk-native-m2mx9cgj.js} +19 -19
- package/dist/chunks/{event-logger-twtjjjev.js → aisdk-native-m2s74evt.js} +8 -8
- package/dist/chunks/{event-logger-m3fdjcah.js → aisdk-native-m3fdjcah.js} +1 -1
- package/dist/chunks/{event-logger-tkzj0056.js → aisdk-native-m4372dev.js} +4 -4
- package/dist/chunks/{event-logger-m58kmhef.js → aisdk-native-m58kmhef.js} +2 -2
- package/dist/chunks/{event-logger-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-qtz788pa.js → aisdk-native-mf2yrf8k.js} +22 -22
- package/dist/chunks/{event-logger-s9mbqkha.js → aisdk-native-mq3xgw4t.js} +22 -22
- package/dist/chunks/{event-logger-dkmywptv.js → aisdk-native-mwaxn094.js} +12 -12
- package/dist/chunks/{event-logger-gtm482jc.js → aisdk-native-n34qnzmh.js} +12 -12
- package/dist/chunks/{event-logger-yxkyb042.js → aisdk-native-n4a76smx.js} +20 -20
- package/dist/chunks/{event-logger-frn296px.js → aisdk-native-n6927rkk.js} +5 -5
- package/dist/chunks/{event-logger-277eer69.js → aisdk-native-n9arjmkd.js} +4 -4
- package/dist/chunks/{event-logger-s4jagjf8.js → aisdk-native-n9j73x72.js} +9 -9
- package/dist/chunks/{event-logger-dvc89yjx.js → aisdk-native-nh8dtxc9.js} +8 -8
- package/dist/chunks/{event-logger-3032hhxb.js → aisdk-native-nw8vms00.js} +3 -3
- package/dist/chunks/{event-logger-nxm207yx.js → aisdk-native-nxm207yx.js} +1 -1
- package/dist/chunks/{event-logger-qdbakdjh.js → aisdk-native-nz569jqt.js} +5 -5
- package/dist/chunks/{event-logger-syf57q56.js → aisdk-native-p6wxjpka.js} +4 -4
- package/dist/chunks/{event-logger-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{event-logger-m7kk9p21.js → aisdk-native-pk6g247z.js} +6 -6
- package/dist/chunks/{event-logger-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-670p6hpz.js → aisdk-native-pmsv8f6n.js} +2 -2
- package/dist/chunks/{event-logger-9rewjmnr.js → aisdk-native-pqeme0gz.js} +20 -20
- package/dist/chunks/{event-logger-7478rs74.js → aisdk-native-pt96c5r7.js} +9 -9
- package/dist/chunks/{event-logger-s6776ax8.js → aisdk-native-pynw2zk1.js} +26 -26
- package/dist/chunks/{event-logger-6hhet5rf.js → aisdk-native-q05d1p5d.js} +11 -11
- package/dist/chunks/{event-logger-mp3rs6rf.js → aisdk-native-q2m48zjp.js} +12 -12
- package/dist/chunks/{event-logger-y6f0p4jw.js → aisdk-native-q3t37ft6.js} +3 -3
- package/dist/chunks/{event-logger-5n9fdw5n.js → aisdk-native-qj0k0yxd.js} +20 -20
- package/dist/chunks/{event-logger-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{event-logger-qbtyy1xv.js → aisdk-native-qvn46pfc.js} +18 -18
- package/dist/chunks/{event-logger-xn4rdr4r.js → aisdk-native-r391d9tr.js} +39 -39
- package/dist/chunks/{event-logger-fdv30zvt.js → aisdk-native-ratrq7cm.js} +7 -7
- package/dist/chunks/{event-logger-rdw6cm16.js → aisdk-native-rdw6cm16.js} +1 -1
- package/dist/chunks/{event-logger-07yjvnaz.js → aisdk-native-reecb3ht.js} +5 -5
- package/dist/chunks/{event-logger-1acjjqhc.js → aisdk-native-rhraev7y.js} +4 -4
- package/dist/chunks/{event-logger-2vgzs72b.js → aisdk-native-rmk2c50f.js} +5 -5
- package/dist/chunks/{event-logger-rna2mx7d.js → aisdk-native-rndxfgdz.js} +33 -33
- package/dist/chunks/{event-logger-c3bsdxv3.js → aisdk-native-rqy5g0h7.js} +9 -9
- package/dist/chunks/{event-logger-2336b01z.js → aisdk-native-rtathh62.js} +5 -5
- package/dist/chunks/{event-logger-g1rejjsd.js → aisdk-native-rtx0r0k4.js} +18 -18
- package/dist/chunks/{event-logger-qa5emg3d.js → aisdk-native-ssh52gjb.js} +7 -7
- package/dist/chunks/{event-logger-3whn8bgs.js → aisdk-native-t0084j9n.js} +10 -10
- package/dist/chunks/{event-logger-96p7brnx.js → aisdk-native-t1bt7fzx.js} +36 -36
- package/dist/chunks/{event-logger-krfw2wza.js → aisdk-native-t21g1ge5.js} +10 -10
- package/dist/chunks/{event-logger-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{event-logger-qafkbnc3.js → aisdk-native-tbngfx1j.js} +32 -32
- package/dist/chunks/{event-logger-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
- package/dist/chunks/{event-logger-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{event-logger-1b4xyzex.js → aisdk-native-tf8pt1ka.js} +13 -13
- package/dist/chunks/{event-logger-zzqx3mne.js → aisdk-native-tmespvdt.js} +11 -11
- package/dist/chunks/{event-logger-5wxrmrks.js → aisdk-native-tndj373f.js} +7 -7
- package/dist/chunks/{event-logger-rfxyr88f.js → aisdk-native-tp0b68kb.js} +40 -40
- package/dist/chunks/{event-logger-wq15az09.js → aisdk-native-ts84jb54.js} +25 -25
- package/dist/chunks/{event-logger-h9b27k9k.js → aisdk-native-tsjr7g2b.js} +9 -9
- package/dist/chunks/{event-logger-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
- package/dist/chunks/{event-logger-vw0kv50g.js → aisdk-native-tyqpfex6.js} +16 -16
- package/dist/chunks/{event-logger-24eg1qa8.js → aisdk-native-v0638640.js} +8 -8
- package/dist/chunks/{event-logger-49tz1vf4.js → aisdk-native-v0db2jv1.js} +46 -46
- package/dist/chunks/{event-logger-kvt93wrg.js → aisdk-native-v34qk40s.js} +4 -4
- package/dist/chunks/{event-logger-r4fq1cvf.js → aisdk-native-v5btrwpx.js} +33 -33
- package/dist/chunks/{event-logger-vbdhqjda.js → aisdk-native-v7vcbjpn.js} +11 -11
- package/dist/chunks/{event-logger-9szwjyee.js → aisdk-native-vbek984v.js} +8 -8
- package/dist/chunks/{event-logger-dfe8djrf.js → aisdk-native-ve4pfa0n.js} +4 -4
- package/dist/chunks/{event-logger-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/aisdk-native-vg9zg22t.js +507 -0
- package/dist/chunks/{event-logger-hnnwg8mk.js → aisdk-native-vgg527ys.js} +33 -33
- package/dist/chunks/{event-logger-89a25q8r.js → aisdk-native-vv7587hg.js} +31 -31
- package/dist/chunks/{event-logger-8bwjdssr.js → aisdk-native-vvcndhje.js} +18 -18
- package/dist/chunks/{event-logger-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
- package/dist/chunks/{event-logger-vzs5sf6e.js → aisdk-native-vzs5sf6e.js} +1 -1
- package/dist/chunks/{event-logger-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-fenjx7x0.js → aisdk-native-w67qvwkr.js} +11 -11
- package/dist/chunks/{event-logger-wv2pvdd1.js → aisdk-native-w6e32r8t.js} +22 -22
- package/dist/chunks/{event-logger-dg5h694m.js → aisdk-native-w6fgnahs.js} +50 -50
- package/dist/chunks/{event-logger-jtjn351v.js → aisdk-native-wbvars06.js} +16 -16
- package/dist/chunks/{event-logger-psazpmmj.js → aisdk-native-wd3x2cqz.js} +2 -2
- package/dist/chunks/{event-logger-056xzx59.js → aisdk-native-wd7chy3v.js} +17 -17
- package/dist/chunks/{event-logger-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-2kahjab4.js → aisdk-native-wrk0h553.js} +29 -29
- package/dist/chunks/{event-logger-s8d7rejh.js → aisdk-native-wv396vej.js} +8 -8
- package/dist/chunks/{event-logger-v0rzgg0c.js → aisdk-native-wzyv7g1z.js} +47 -47
- package/dist/chunks/{event-logger-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
- package/dist/chunks/{event-logger-j5aanxkf.js → aisdk-native-x37521zy.js} +18 -18
- package/dist/chunks/{event-logger-pk4ymh6x.js → aisdk-native-xajn4p7x.js} +22 -22
- package/dist/chunks/{event-logger-rkqpmy5q.js → aisdk-native-xdz72vx5.js} +23 -23
- package/dist/chunks/{event-logger-pm2ytph1.js → aisdk-native-xe4z21fa.js} +25 -25
- package/dist/chunks/{event-logger-rsntv4fw.js → aisdk-native-xrr1weya.js} +11 -11
- package/dist/chunks/{event-logger-hpje7ss6.js → aisdk-native-xyapnfhw.js} +18 -18
- package/dist/chunks/{event-logger-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{event-logger-tqhrypxk.js → aisdk-native-y1z7wkzf.js} +19 -19
- package/dist/chunks/{event-logger-mpk0rfs5.js → aisdk-native-y6bex35g.js} +4 -4
- package/dist/chunks/{event-logger-fkq03hc4.js → aisdk-native-yavdqf6v.js} +18 -18
- package/dist/chunks/{event-logger-b6jzatxk.js → aisdk-native-ycfdek4n.js} +44 -44
- package/dist/chunks/{event-logger-mgyjezvw.js → aisdk-native-ym3dj8mc.js} +44 -44
- package/dist/chunks/{event-logger-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
- package/dist/chunks/{event-logger-yrznvahk.js → aisdk-native-yrznvahk.js} +2 -2
- package/dist/chunks/{event-logger-4wrkd8nn.js → aisdk-native-ytbt8q6a.js} +11 -11
- package/dist/chunks/aisdk-native-ytj1bkta.js +252 -0
- package/dist/chunks/{event-logger-bjtzbw4r.js → aisdk-native-z07pqspn.js} +3 -3
- package/dist/chunks/{event-logger-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{event-logger-xhjp5ndj.js → aisdk-native-z1rqywnx.js} +10 -10
- package/dist/chunks/{event-logger-b6q8nkfr.js → aisdk-native-z2smnqpx.js} +6 -6
- package/dist/chunks/{event-logger-eac16bg9.js → aisdk-native-z55zxc7k.js} +54 -54
- package/dist/chunks/{event-logger-b34hkfqm.js → aisdk-native-z5se4ye3.js} +40 -40
- package/dist/chunks/{event-logger-z63w68vq.js → aisdk-native-z63w68vq.js} +2 -2
- package/dist/chunks/{event-logger-ba50v45e.js → aisdk-native-z8rc884h.js} +4 -4
- package/dist/chunks/{event-logger-rq775frq.js → aisdk-native-zeh9ct20.js} +2 -2
- package/dist/chunks/{event-logger-kxfyed36.js → aisdk-native-zm1bkcwf.js} +92 -92
- package/dist/chunks/{event-logger-s18e97c5.js → aisdk-native-zq17q5fx.js} +97 -97
- package/dist/chunks/{event-logger-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{event-logger-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
- package/dist/chunks/{event-logger-b3f8fkhc.js → aisdk-native-zyk1yjk8.js} +5 -5
- 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 +125 -125
- package/dist/config/plugin/command.js +215 -215
- 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 +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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 +79 -79
- 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 +74 -74
- 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 +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- 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 +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- 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 +93 -93
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +87 -87
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- 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 +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +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 +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- 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 +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- 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 +122 -122
- package/dist/tool/plugin/question.js +103 -103
- 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 +218 -218
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- 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 +14 -14
- 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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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 +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/event-logger-g013tbqx.js +0 -26
- package/dist/chunks/event-logger-mybqtq6t.js +0 -507
- package/dist/chunks/event-logger-rap9a73h.js +0 -18
- package/dist/chunks/event-logger-z0wm06r0.js +0 -252
- /package/dist/chunks/{event-logger-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-34c7v6d4.js → aisdk-native-34c7v6d4.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-5qd3pb7m.js → aisdk-native-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-8wj87zfr.js → aisdk-native-8wj87zfr.js} +0 -0
- /package/dist/chunks/{event-logger-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-bt0w5j1m.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./aisdk-native-0f39s03b.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./aisdk-native-t1bt7fzx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-vgg527ys.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID8
|
|
17
|
+
} from "./aisdk-native-5d0dn1hj.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID7,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-v5btrwpx.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./aisdk-native-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID8.make("digitalocean");
|
|
31
|
+
var integrationID = ID9.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service80;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID7.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./aisdk-native-0f39s03b.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service63,
|
|
17
|
+
node66
|
|
18
|
+
} from "./aisdk-native-3tbqkg03.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event9,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info9,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service47,
|
|
35
|
+
Source: () => Source4,
|
|
36
|
+
node: () => node50
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event9 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source4 = Reference.Source;
|
|
46
|
+
var Info9 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service47 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service80;
|
|
53
|
+
const cache = yield* Service63;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info9.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info9.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service47.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node50 = makeLocationNode({
|
|
116
|
+
service: Service47,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node84, node66]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info9, Service47, node50, exports_reference2, Event9 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key4,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make22,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key4 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key4
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make22(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make22, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-bt0w5j1m.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./aisdk-native-0f39s03b.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID10,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event16,
|
|
11
|
+
Service68
|
|
12
|
+
} from "./aisdk-native-t1bt7fzx.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-y6bex35g.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID9,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-native-vgg527ys.js";
|
|
20
20
|
import {
|
|
21
21
|
which2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./aisdk-native-qaymkmh1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID8,
|
|
25
|
+
Service66
|
|
26
|
+
} from "./aisdk-native-5d0dn1hj.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID7
|
|
29
|
+
} from "./aisdk-native-v5btrwpx.js";
|
|
30
30
|
import {
|
|
31
31
|
iife2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./aisdk-native-1kg9ymc8.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./aisdk-native-8s8pqwyt.js";
|
|
36
36
|
|
|
37
37
|
// src/plugin/provider/azure.ts
|
|
38
38
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -67,18 +67,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
67
67
|
}));
|
|
68
68
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
69
69
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
70
|
-
function
|
|
70
|
+
function make10(endpoints = {
|
|
71
71
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
72
72
|
management: "https://management.azure.com"
|
|
73
73
|
}) {
|
|
74
74
|
return define({
|
|
75
75
|
id: "opencode.provider.azure",
|
|
76
76
|
effect: Effect.fn(function* (ctx) {
|
|
77
|
-
const configured = yield* configuredSettings2(
|
|
77
|
+
const configured = yield* configuredSettings2(ID8.azure);
|
|
78
78
|
const processes = yield* AppProcess.Service;
|
|
79
|
-
const bus = yield*
|
|
80
|
-
const credentials = yield*
|
|
81
|
-
const providers = yield*
|
|
79
|
+
const bus = yield* Service80;
|
|
80
|
+
const credentials = yield* Service68;
|
|
81
|
+
const providers = yield* Service66;
|
|
82
82
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
83
83
|
const tokens = new Map;
|
|
84
84
|
const resourceIDs = new Map;
|
|
@@ -116,13 +116,13 @@ function make6(endpoints = {
|
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.integration.transform((editor) => {
|
|
118
118
|
editor.method.update({
|
|
119
|
-
integrationID:
|
|
119
|
+
integrationID: ID8.azure,
|
|
120
120
|
method: { type: "key", label: "API key", form: form() }
|
|
121
121
|
});
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID8.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -152,8 +152,8 @@ function make6(endpoints = {
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
|
-
const connection = yield* ctx.integration.connection.active(
|
|
156
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
155
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
156
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID10.make(connection.id)) : undefined;
|
|
157
157
|
return { connection, resource: credentialResource(stored?.value) };
|
|
158
158
|
});
|
|
159
159
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -192,7 +192,7 @@ function make6(endpoints = {
|
|
|
192
192
|
}));
|
|
193
193
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
194
194
|
const connection = loaded.connection;
|
|
195
|
-
const settings = (yield* providers.get(
|
|
195
|
+
const settings = (yield* providers.get(ID8.azure))?.settings;
|
|
196
196
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
197
197
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
198
198
|
if (loaded.connection !== connection)
|
|
@@ -214,11 +214,11 @@ function make6(endpoints = {
|
|
|
214
214
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
215
215
|
if (!found)
|
|
216
216
|
return;
|
|
217
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
217
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID8.azure)))
|
|
218
218
|
return;
|
|
219
219
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
220
220
|
return;
|
|
221
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
221
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID8.azure)?.models.keys() ?? [], (id) => [
|
|
222
222
|
id.toLowerCase(),
|
|
223
223
|
id
|
|
224
224
|
]));
|
|
@@ -231,11 +231,11 @@ function make6(endpoints = {
|
|
|
231
231
|
yield* ctx.model.reload();
|
|
232
232
|
});
|
|
233
233
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
234
|
-
const resourceFor = (provider) => provider.id ===
|
|
234
|
+
const resourceFor = (provider) => provider.id === ID8.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
235
235
|
Object.assign(loaded, yield* load());
|
|
236
236
|
yield* ctx.provider.transform((evt) => {
|
|
237
237
|
for (const item of evt.list()) {
|
|
238
|
-
if (item.provider.id !==
|
|
238
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
239
239
|
continue;
|
|
240
240
|
const resourceName = resourceFor(item.provider);
|
|
241
241
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -250,7 +250,7 @@ function make6(endpoints = {
|
|
|
250
250
|
};
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
const item = evt.get(
|
|
253
|
+
const item = evt.get(ID8.azure);
|
|
254
254
|
if (!item)
|
|
255
255
|
return;
|
|
256
256
|
evt.add({
|
|
@@ -261,7 +261,7 @@ function make6(endpoints = {
|
|
|
261
261
|
});
|
|
262
262
|
yield* ctx.model.transform((models) => {
|
|
263
263
|
for (const item of models.provider.list()) {
|
|
264
|
-
if (item.provider.id !==
|
|
264
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
265
265
|
continue;
|
|
266
266
|
const resourceName = resourceFor(item.provider);
|
|
267
267
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -273,20 +273,20 @@ function make6(endpoints = {
|
|
|
273
273
|
}
|
|
274
274
|
if (!loaded.deployments)
|
|
275
275
|
return;
|
|
276
|
-
const catalog = models.list(
|
|
276
|
+
const catalog = models.list(ID8.azure);
|
|
277
277
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
278
278
|
for (const model of catalog) {
|
|
279
279
|
if (!deployed.has(model.id))
|
|
280
|
-
models.remove(
|
|
280
|
+
models.remove(ID8.azure, model.id);
|
|
281
281
|
}
|
|
282
282
|
for (const [id, model] of deployed) {
|
|
283
|
-
models.update(
|
|
283
|
+
models.update(ID8.azure, id, (draft) => Object.assign(draft, model));
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
|
-
yield* bus.subscribe(
|
|
286
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
287
287
|
yield* refresh().pipe(Effect.forkScoped);
|
|
288
288
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
289
|
-
const connection = yield* ctx.integration.connection.active(
|
|
289
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
290
290
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
291
291
|
return;
|
|
292
292
|
})) : undefined;
|
|
@@ -298,7 +298,7 @@ function make6(endpoints = {
|
|
|
298
298
|
return `Bearer ${current.access}`;
|
|
299
299
|
});
|
|
300
300
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
301
|
-
if (evt.model.providerID !==
|
|
301
|
+
if (evt.model.providerID !== ID8.azure)
|
|
302
302
|
return;
|
|
303
303
|
const authorization = yield* bearer(evt.request.url);
|
|
304
304
|
if (!authorization)
|
|
@@ -307,9 +307,9 @@ function make6(endpoints = {
|
|
|
307
307
|
evt.request.headers.delete("x-api-key");
|
|
308
308
|
evt.request.headers.set("authorization", authorization);
|
|
309
309
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
310
|
-
}), { providerID:
|
|
310
|
+
}), { providerID: ID8.azure });
|
|
311
311
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
312
|
-
if (evt.model.providerID !==
|
|
312
|
+
if (evt.model.providerID !== ID8.azure)
|
|
313
313
|
return;
|
|
314
314
|
const authorization = yield* bearer(evt.url);
|
|
315
315
|
if (!authorization)
|
|
@@ -318,11 +318,11 @@ function make6(endpoints = {
|
|
|
318
318
|
delete evt.headers["x-api-key"];
|
|
319
319
|
evt.headers.authorization = authorization;
|
|
320
320
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
321
|
-
}), { providerID:
|
|
321
|
+
}), { providerID: ID8.azure });
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
var AzurePlugin2 =
|
|
325
|
+
var AzurePlugin2 = make10();
|
|
326
326
|
function resolveResourceName(settings, fallback) {
|
|
327
327
|
const configured = settings?.resourceName;
|
|
328
328
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
|
|
|
352
352
|
const model = catalogModel(models, deployment);
|
|
353
353
|
if (!model)
|
|
354
354
|
return [];
|
|
355
|
-
const id =
|
|
355
|
+
const id = ID7.make(deployment.name.toLowerCase());
|
|
356
356
|
const info = {
|
|
357
357
|
...structuredClone(model),
|
|
358
358
|
id,
|
|
359
|
-
modelID:
|
|
359
|
+
modelID: ID7.make(deployment.name),
|
|
360
360
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
361
361
|
};
|
|
362
362
|
return [[id, info]];
|
|
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
378
378
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
export {
|
|
381
|
+
export { make10, AzurePlugin2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info7,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-native-870jwr5d.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service59
|
|
11
|
+
} from "./aisdk-native-e5nnvdaa.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin42,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
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 Plugin42 = 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* Service59;
|
|
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, Plugin42, exports_skill3 };
|