@opencode/core 0.0.0-dev-20415 → 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 +73 -73
- package/dist/chunks/{snapshot-w2dp4wk5.js → aisdk-native-0124cehf.js} +13 -13
- package/dist/chunks/{snapshot-d5sh8vy7.js → aisdk-native-0510rp3e.js} +17 -17
- package/dist/chunks/{snapshot-jc2v89bd.js → aisdk-native-05py0drh.js} +43 -43
- package/dist/chunks/{snapshot-68x4nqcm.js → aisdk-native-08y9fw32.js} +23 -23
- package/dist/chunks/{snapshot-h0mtd888.js → aisdk-native-09nmevt6.js} +9 -9
- package/dist/chunks/{snapshot-86ed810g.js → aisdk-native-0a9z9mhn.js} +17 -17
- package/dist/chunks/{snapshot-jsvx8712.js → aisdk-native-0f39s03b.js} +16 -16
- package/dist/chunks/{snapshot-cdm0dq9n.js → aisdk-native-0hf9g8pg.js} +6 -6
- package/dist/chunks/{snapshot-xf8pvpmb.js → aisdk-native-0jkm8pdv.js} +3 -3
- package/dist/chunks/{snapshot-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{snapshot-cbwqtqsg.js → aisdk-native-14767bwg.js} +48 -48
- package/dist/chunks/{snapshot-xvtfvepa.js → aisdk-native-178zw4cw.js} +24 -24
- package/dist/chunks/{snapshot-jkys4hjv.js → aisdk-native-17e1vs3w.js} +5 -5
- package/dist/chunks/{snapshot-nkaerhwd.js → aisdk-native-1bqfwsdz.js} +11 -11
- package/dist/chunks/{snapshot-kq922fqb.js → aisdk-native-1ck7ys6v.js} +35 -35
- package/dist/chunks/{snapshot-a59amn2z.js → aisdk-native-1cxs9rqw.js} +58 -58
- package/dist/chunks/{snapshot-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
- package/dist/chunks/{snapshot-8jajpcen.js → aisdk-native-1ey8xzyd.js} +24 -24
- package/dist/chunks/{snapshot-h5sthss0.js → aisdk-native-1xggbd2g.js} +5 -5
- package/dist/chunks/{snapshot-v1twhc4y.js → aisdk-native-1zzqj3yc.js} +11 -11
- package/dist/chunks/{snapshot-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
- package/dist/chunks/{snapshot-jv8nkzat.js → aisdk-native-25a7g7pf.js} +17 -17
- package/dist/chunks/{snapshot-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{snapshot-cpy6gm2a.js → aisdk-native-2d57kztd.js} +6 -6
- package/dist/chunks/{snapshot-3r0yf28a.js → aisdk-native-2d8we099.js} +75 -75
- package/dist/chunks/{snapshot-3q417bh5.js → aisdk-native-2h0awvba.js} +1 -1
- package/dist/chunks/{snapshot-1pdpjhqt.js → aisdk-native-2k1mv0ny.js} +14 -14
- package/dist/chunks/{snapshot-2k8khapm.js → aisdk-native-2k8khapm.js} +1 -1
- package/dist/chunks/{snapshot-3zvzca8e.js → aisdk-native-2mhsvxbb.js} +4 -4
- package/dist/chunks/{snapshot-beqdr0be.js → aisdk-native-2p073dgc.js} +18 -18
- package/dist/chunks/{snapshot-pgep8pdp.js → aisdk-native-2p6hgzww.js} +16 -16
- package/dist/chunks/{snapshot-jt5yp4hn.js → aisdk-native-3f9an36k.js} +6 -6
- package/dist/chunks/{snapshot-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
- package/dist/chunks/{snapshot-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{snapshot-rnwjzppv.js → aisdk-native-3kq044jm.js} +27 -27
- package/dist/chunks/{snapshot-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{snapshot-xxqn0r81.js → aisdk-native-3tbqkg03.js} +23 -23
- package/dist/chunks/{snapshot-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{snapshot-af5ge50b.js → aisdk-native-3xzkedv0.js} +28 -28
- package/dist/chunks/{snapshot-3zsf4n22.js → aisdk-native-3zsf4n22.js} +1 -1
- package/dist/chunks/{snapshot-kb6gw2zp.js → aisdk-native-44pdqs77.js} +4 -4
- package/dist/chunks/{snapshot-854tx4xh.js → aisdk-native-4jng47r3.js} +36 -36
- package/dist/chunks/{snapshot-z25bn3ef.js → aisdk-native-4kmxq2hr.js} +21 -21
- package/dist/chunks/{snapshot-0pydwf78.js → aisdk-native-4rbmpaks.js} +11 -11
- package/dist/chunks/{snapshot-4334bgt9.js → aisdk-native-4wejdrpx.js} +15 -15
- package/dist/chunks/{snapshot-sqg0k73r.js → aisdk-native-4z96vvqy.js} +21 -21
- package/dist/chunks/{snapshot-54ma36ye.js → aisdk-native-54ma36ye.js} +1 -1
- package/dist/chunks/{snapshot-mfqp6xfm.js → aisdk-native-56gdpj1q.js} +6 -6
- package/dist/chunks/{snapshot-2fgn2we9.js → aisdk-native-57ez7d0k.js} +9 -9
- package/dist/chunks/{snapshot-62hf02vv.js → aisdk-native-5chqqhv3.js} +12 -12
- package/dist/chunks/{snapshot-2yafvscw.js → aisdk-native-5d0dn1hj.js} +326 -310
- package/dist/chunks/{snapshot-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
- package/dist/chunks/{snapshot-vnxdrj5k.js → aisdk-native-5jghqat2.js} +8 -8
- package/dist/chunks/{snapshot-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
- package/dist/chunks/{snapshot-we6m22zh.js → aisdk-native-5wdp7h9t.js} +18 -18
- package/dist/chunks/{snapshot-zf8ayb57.js → aisdk-native-5xnwfp9f.js} +11 -11
- package/dist/chunks/{snapshot-8p368dx7.js → aisdk-native-6656g7jn.js} +4 -4
- package/dist/chunks/{snapshot-669tq793.js → aisdk-native-669tq793.js} +1 -1
- package/dist/chunks/{snapshot-3sz7qxzc.js → aisdk-native-69tea0b1.js} +9 -9
- package/dist/chunks/{snapshot-xm8ge0k0.js → aisdk-native-6fq16ccx.js} +36 -36
- package/dist/chunks/{snapshot-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
- package/dist/chunks/{snapshot-b1h1c68h.js → aisdk-native-6n88yxkj.js} +8 -8
- package/dist/chunks/{snapshot-q493wdrj.js → aisdk-native-6qmvz171.js} +25 -25
- package/dist/chunks/{snapshot-qmenprb6.js → aisdk-native-6srq29b6.js} +12 -12
- package/dist/chunks/{snapshot-r9n7san4.js → aisdk-native-70b5yd3t.js} +15 -15
- package/dist/chunks/{snapshot-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{snapshot-gagf4f4w.js → aisdk-native-7gjnmd52.js} +28 -28
- package/dist/chunks/{snapshot-bxxxz85j.js → aisdk-native-7j06gtke.js} +35 -35
- package/dist/chunks/{snapshot-9567j1ny.js → aisdk-native-7k1kc7t0.js} +12 -12
- package/dist/chunks/{snapshot-dvx4qakx.js → aisdk-native-7mt3t1zw.js} +11 -11
- package/dist/chunks/{snapshot-3tzsdfpv.js → aisdk-native-7p9r4bkx.js} +17 -17
- package/dist/chunks/{snapshot-9z4vtkcn.js → aisdk-native-7wygd488.js} +175 -175
- package/dist/chunks/{snapshot-bmma92f3.js → aisdk-native-80arm2fs.js} +3 -3
- package/dist/chunks/{snapshot-g18tc0s8.js → aisdk-native-83jzkrpv.js} +34 -34
- package/dist/chunks/{snapshot-w1eejvng.js → aisdk-native-84txncab.js} +5 -5
- package/dist/chunks/{snapshot-n2g60rat.js → aisdk-native-870jwr5d.js} +24 -24
- package/dist/chunks/{snapshot-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
- package/dist/chunks/{snapshot-djhfsxbz.js → aisdk-native-8dpa8mca.js} +13 -13
- package/dist/chunks/{snapshot-dkg4ce5z.js → aisdk-native-8frtpgfy.js} +5 -5
- package/dist/chunks/{snapshot-4ktk9vd4.js → aisdk-native-8namq6c7.js} +22 -22
- package/dist/chunks/{snapshot-gkh0s2qe.js → aisdk-native-8q7trwbk.js} +32 -32
- package/dist/chunks/{snapshot-j848kfat.js → aisdk-native-8s8bp6yj.js} +32 -32
- package/dist/chunks/{snapshot-jxjwgqz9.js → aisdk-native-8s8pqwyt.js} +6 -6
- package/dist/chunks/{snapshot-4sj2adm8.js → aisdk-native-8tea5g87.js} +10 -10
- package/dist/chunks/{snapshot-jhtrm3ps.js → aisdk-native-8zb5tzd5.js} +26 -26
- package/dist/chunks/{snapshot-8j9zpkvs.js → aisdk-native-9057vyh0.js} +11 -11
- package/dist/chunks/{snapshot-r4m87v1k.js → aisdk-native-90r035a6.js} +10 -10
- package/dist/chunks/{snapshot-3rrz40v9.js → aisdk-native-9454xasz.js} +24 -24
- package/dist/chunks/{snapshot-gfvb90ym.js → aisdk-native-94ek1h2f.js} +2 -2
- package/dist/chunks/{snapshot-je14njjq.js → aisdk-native-960cc4qe.js} +17 -17
- package/dist/chunks/{snapshot-sacfg4sg.js → aisdk-native-9dqxh5mq.js} +14 -14
- package/dist/chunks/{snapshot-dx530aca.js → aisdk-native-9t958dxm.js} +24 -24
- package/dist/chunks/{snapshot-jmch46td.js → aisdk-native-9twtcer3.js} +35 -35
- package/dist/chunks/{snapshot-hw6pwt30.js → aisdk-native-9wxcj8py.js} +13 -13
- package/dist/chunks/aisdk-native-9zdhvgqs.js +18 -0
- package/dist/chunks/{snapshot-mvfsc1pv.js → aisdk-native-a1gpj94z.js} +3 -3
- package/dist/chunks/{snapshot-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{snapshot-g3351yg9.js → aisdk-native-ae0217x6.js} +35 -35
- package/dist/chunks/{snapshot-ead3g9p8.js → aisdk-native-af04s6ss.js} +5 -5
- package/dist/chunks/{snapshot-eeaf82dq.js → aisdk-native-ahd542yp.js} +8 -8
- package/dist/chunks/{snapshot-9fbx4kx9.js → aisdk-native-aqj2zsm7.js} +5 -5
- package/dist/chunks/{snapshot-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{snapshot-677wh403.js → aisdk-native-bfeh5ntv.js} +42 -42
- package/dist/chunks/{snapshot-wcp7mbp0.js → aisdk-native-bkya8nv3.js} +26 -26
- package/dist/chunks/{snapshot-2eegacq4.js → aisdk-native-bnmr3cva.js} +8 -8
- package/dist/chunks/{snapshot-88j9wz1v.js → aisdk-native-bt0w5j1m.js} +11 -11
- package/dist/chunks/{snapshot-pxdbgzk8.js → aisdk-native-bv6943e1.js} +1 -1
- package/dist/chunks/{snapshot-10dmman0.js → aisdk-native-bvsxznv8.js} +3 -3
- package/dist/chunks/{snapshot-9n3zrcy7.js → aisdk-native-c03kjhqs.js} +37 -37
- package/dist/chunks/{snapshot-q3m71gvc.js → aisdk-native-c1h6cn61.js} +5 -5
- package/dist/chunks/{snapshot-gw5e8ddh.js → aisdk-native-c3v4ja8k.js} +21 -21
- package/dist/chunks/{snapshot-hfx8w1xs.js → aisdk-native-c558n2pb.js} +24 -24
- package/dist/chunks/{snapshot-tn0aqsam.js → aisdk-native-c78bbtc9.js} +5 -5
- package/dist/chunks/{snapshot-n1f1yhbf.js → aisdk-native-c93q62r7.js} +32 -32
- package/dist/chunks/{snapshot-w92k2e0p.js → aisdk-native-cfsekr6v.js} +8 -8
- package/dist/chunks/{snapshot-54tcyq79.js → aisdk-native-ckecvw8r.js} +2 -2
- package/dist/chunks/{snapshot-7w3s9kd0.js → aisdk-native-cmbqfntm.js} +6 -6
- package/dist/chunks/{snapshot-3hfr6h8q.js → aisdk-native-cmwkp3r5.js} +8 -8
- package/dist/chunks/{snapshot-x9xmn89z.js → aisdk-native-craa4cy0.js} +3 -3
- package/dist/chunks/{snapshot-yrfgkje2.js → aisdk-native-d8n7q4z0.js} +21 -21
- package/dist/chunks/{snapshot-nzqax676.js → aisdk-native-dc1ykt8z.js} +5 -5
- package/dist/chunks/{snapshot-5d607bsg.js → aisdk-native-djszqvmq.js} +9 -9
- package/dist/chunks/{snapshot-xkntkrq7.js → aisdk-native-dmqcgk4z.js} +5 -5
- package/dist/chunks/{snapshot-wdestef8.js → aisdk-native-e22nn5xy.js} +6 -6
- package/dist/chunks/{snapshot-24a3zfy0.js → aisdk-native-e5nnvdaa.js} +44 -44
- package/dist/chunks/{snapshot-jv01nqvq.js → aisdk-native-e6hmchc5.js} +5 -5
- package/dist/chunks/{snapshot-7qk8rhpr.js → aisdk-native-e6kj5m3z.js} +13 -13
- package/dist/chunks/{snapshot-ef5x83kb.js → aisdk-native-ef5x83kb.js} +1 -1
- package/dist/chunks/{snapshot-bhpxhfr5.js → aisdk-native-endyxvye.js} +8 -8
- package/dist/chunks/{snapshot-egawc8yn.js → aisdk-native-eq4xsb4x.js} +12 -12
- package/dist/chunks/{snapshot-dsc65zn5.js → aisdk-native-eqv59zcm.js} +16 -16
- package/dist/chunks/{snapshot-5jvjwpyy.js → aisdk-native-erpxhpcp.js} +25 -25
- package/dist/chunks/{snapshot-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
- package/dist/chunks/{snapshot-3r9b6twn.js → aisdk-native-eyz64kwr.js} +3 -3
- package/dist/chunks/{snapshot-hkq7z4sp.js → aisdk-native-f97fng2a.js} +8 -8
- package/dist/chunks/{snapshot-ea269xen.js → aisdk-native-fdqf23m2.js} +8 -8
- package/dist/chunks/{snapshot-rhafb4aa.js → aisdk-native-fhs97t90.js} +5 -5
- package/dist/chunks/{snapshot-dynf6j01.js → aisdk-native-fhy617c4.js} +4 -4
- package/dist/chunks/{snapshot-wzjy4dn9.js → aisdk-native-fk8ztcgd.js} +11 -11
- package/dist/chunks/{snapshot-3b9qt4hj.js → aisdk-native-fmcqyzhx.js} +9 -9
- package/dist/chunks/{snapshot-bjnatea4.js → aisdk-native-fnypgrc1.js} +26 -26
- package/dist/chunks/{snapshot-pt10z3r8.js → aisdk-native-fp3mskb5.js} +15 -15
- package/dist/chunks/{snapshot-57b9ws8p.js → aisdk-native-g5w8qwbj.js} +7 -7
- package/dist/chunks/{snapshot-rqm8rmge.js → aisdk-native-g74c0m33.js} +8 -8
- package/dist/chunks/{snapshot-gv1j5wqf.js → aisdk-native-g8182w1y.js} +21 -21
- package/dist/chunks/{snapshot-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{snapshot-5a93y3sy.js → aisdk-native-gmbv0vxt.js} +22 -22
- package/dist/chunks/{snapshot-1sdgb7tk.js → aisdk-native-gq59zvn3.js} +3 -3
- package/dist/chunks/{snapshot-p5g2cww3.js → aisdk-native-gtr9fqz6.js} +7 -7
- package/dist/chunks/{snapshot-gv6a8nnw.js → aisdk-native-gv6a8nnw.js} +2 -2
- package/dist/chunks/{snapshot-tr3m9qjz.js → aisdk-native-gzpw3dbs.js} +6 -6
- package/dist/chunks/{snapshot-sqsph7y0.js → aisdk-native-h2tzx3y1.js} +13 -13
- package/dist/chunks/{snapshot-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{snapshot-0bfcnrg1.js → aisdk-native-hekxc47r.js} +1 -1
- package/dist/chunks/{snapshot-4dhz4t98.js → aisdk-native-hmh1jr94.js} +15 -15
- package/dist/chunks/aisdk-native-hw468chq.js +26 -0
- package/dist/chunks/{snapshot-9zwbaxec.js → aisdk-native-j519rxbg.js} +28 -28
- package/dist/chunks/{snapshot-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
- package/dist/chunks/{snapshot-vfjhn2wd.js → aisdk-native-j8m1p4p1.js} +4 -4
- package/dist/chunks/{snapshot-8481wm36.js → aisdk-native-j8qbnwnq.js} +7 -7
- package/dist/chunks/{snapshot-tn8awqey.js → aisdk-native-jc93wweh.js} +39 -27
- package/dist/chunks/{snapshot-z2mtc428.js → aisdk-native-jca4demv.js} +2 -2
- package/dist/chunks/{snapshot-t7rktvd6.js → aisdk-native-jf2tzzg3.js} +30 -30
- package/dist/chunks/{snapshot-2neyagdd.js → aisdk-native-jfsfcnrj.js} +13 -13
- package/dist/chunks/{snapshot-3ybs83ds.js → aisdk-native-jk1n875a.js} +23 -23
- package/dist/chunks/{snapshot-yqa2nfff.js → aisdk-native-jzqs01pn.js} +19 -19
- package/dist/chunks/{snapshot-magykp64.js → aisdk-native-k2h4r4s0.js} +4 -4
- package/dist/chunks/{snapshot-k3c624dm.js → aisdk-native-k3c624dm.js} +3 -3
- package/dist/chunks/{snapshot-9kvpeeqc.js → aisdk-native-k751ne6a.js} +9 -9
- package/dist/chunks/{snapshot-t2az9yje.js → aisdk-native-k76fn4kw.js} +4 -4
- package/dist/chunks/{snapshot-drf04ez4.js → aisdk-native-key5aaht.js} +27 -27
- package/dist/chunks/{snapshot-zjj4zcfa.js → aisdk-native-kyrmdyzb.js} +22 -22
- package/dist/chunks/{snapshot-23hg58zg.js → aisdk-native-m2mx9cgj.js} +19 -19
- package/dist/chunks/{snapshot-4fag1waa.js → aisdk-native-m2s74evt.js} +8 -8
- package/dist/chunks/{snapshot-m3fdjcah.js → aisdk-native-m3fdjcah.js} +1 -1
- package/dist/chunks/{snapshot-m43s5s1t.js → aisdk-native-m4372dev.js} +4 -4
- package/dist/chunks/{snapshot-m58kmhef.js → aisdk-native-m58kmhef.js} +2 -2
- package/dist/chunks/{snapshot-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{snapshot-xa2sxs9e.js → aisdk-native-mf2yrf8k.js} +22 -22
- package/dist/chunks/{snapshot-hnda3qbv.js → aisdk-native-mq3xgw4t.js} +15 -15
- package/dist/chunks/{snapshot-g4xer9vd.js → aisdk-native-mwaxn094.js} +12 -12
- package/dist/chunks/{snapshot-9zmzhm3z.js → aisdk-native-n34qnzmh.js} +12 -12
- package/dist/chunks/{snapshot-p4ktjkn4.js → aisdk-native-n4a76smx.js} +22 -22
- package/dist/chunks/{snapshot-yteetj9b.js → aisdk-native-n6927rkk.js} +5 -5
- package/dist/chunks/{snapshot-80scg3y3.js → aisdk-native-n9arjmkd.js} +4 -4
- package/dist/chunks/{snapshot-sc24egzq.js → aisdk-native-n9j73x72.js} +9 -9
- package/dist/chunks/{snapshot-r2vmt3px.js → aisdk-native-nh8dtxc9.js} +7 -7
- package/dist/chunks/{snapshot-nbt09pg6.js → aisdk-native-nw8vms00.js} +3 -3
- package/dist/chunks/{snapshot-nxm207yx.js → aisdk-native-nxm207yx.js} +1 -1
- package/dist/chunks/{snapshot-npwy0cf6.js → aisdk-native-nz569jqt.js} +5 -5
- package/dist/chunks/{snapshot-s30fyz93.js → aisdk-native-p6wxjpka.js} +4 -4
- package/dist/chunks/{snapshot-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{snapshot-f44pksnw.js → aisdk-native-pk6g247z.js} +6 -6
- package/dist/chunks/{snapshot-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{snapshot-0gj48be3.js → aisdk-native-pmsv8f6n.js} +2 -2
- package/dist/chunks/{snapshot-0n1dnt07.js → aisdk-native-pqeme0gz.js} +22 -22
- package/dist/chunks/{snapshot-yq5q626q.js → aisdk-native-pt96c5r7.js} +9 -9
- package/dist/chunks/{snapshot-2dyhhh90.js → aisdk-native-pynw2zk1.js} +22 -22
- package/dist/chunks/{snapshot-ca550x9b.js → aisdk-native-q05d1p5d.js} +11 -11
- package/dist/chunks/{snapshot-17jf303t.js → aisdk-native-q2m48zjp.js} +9 -9
- package/dist/chunks/{snapshot-256nx13v.js → aisdk-native-q3t37ft6.js} +3 -3
- package/dist/chunks/{snapshot-10gbh929.js → aisdk-native-qj0k0yxd.js} +20 -20
- package/dist/chunks/{snapshot-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{snapshot-zdnh5hv7.js → aisdk-native-qvn46pfc.js} +37 -37
- package/dist/chunks/{snapshot-nz4ntvxj.js → aisdk-native-r391d9tr.js} +40 -40
- package/dist/chunks/{snapshot-jfqtm2ew.js → aisdk-native-ratrq7cm.js} +4 -4
- package/dist/chunks/{snapshot-rdw6cm16.js → aisdk-native-rdw6cm16.js} +1 -1
- package/dist/chunks/{snapshot-qqjfeg0r.js → aisdk-native-reecb3ht.js} +5 -5
- package/dist/chunks/{snapshot-yp2x3t23.js → aisdk-native-rhraev7y.js} +4 -4
- package/dist/chunks/{snapshot-p3p972wa.js → aisdk-native-rmk2c50f.js} +5 -5
- package/dist/chunks/{snapshot-pksev01f.js → aisdk-native-rndxfgdz.js} +32 -32
- package/dist/chunks/{snapshot-zxab51sp.js → aisdk-native-rqy5g0h7.js} +8 -8
- package/dist/chunks/{snapshot-fqj9nv8j.js → aisdk-native-rtathh62.js} +5 -5
- package/dist/chunks/{snapshot-ehqwh287.js → aisdk-native-rtx0r0k4.js} +14 -14
- package/dist/chunks/{snapshot-75qk6qry.js → aisdk-native-ssh52gjb.js} +7 -7
- package/dist/chunks/{snapshot-vq5e3chn.js → aisdk-native-t0084j9n.js} +10 -10
- package/dist/chunks/{snapshot-307p8916.js → aisdk-native-t1bt7fzx.js} +30 -30
- package/dist/chunks/{snapshot-hxvc84z4.js → aisdk-native-t21g1ge5.js} +10 -10
- package/dist/chunks/{snapshot-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{snapshot-5xnsj6hr.js → aisdk-native-tbngfx1j.js} +34 -34
- package/dist/chunks/{snapshot-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
- package/dist/chunks/{snapshot-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{snapshot-a1f4v0xd.js → aisdk-native-tf8pt1ka.js} +12 -12
- package/dist/chunks/{snapshot-xamp2hng.js → aisdk-native-tmespvdt.js} +11 -11
- package/dist/chunks/{snapshot-s0pa5bz2.js → aisdk-native-tndj373f.js} +7 -7
- package/dist/chunks/{snapshot-a75bnxe3.js → aisdk-native-tp0b68kb.js} +45 -45
- package/dist/chunks/{snapshot-m7xy43fe.js → aisdk-native-ts84jb54.js} +25 -25
- package/dist/chunks/{snapshot-0bwy5sef.js → aisdk-native-tsjr7g2b.js} +9 -9
- package/dist/chunks/{snapshot-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
- package/dist/chunks/{snapshot-pg46ftp0.js → aisdk-native-tyqpfex6.js} +17 -17
- package/dist/chunks/{snapshot-k3dcyhbs.js → aisdk-native-v0638640.js} +8 -8
- package/dist/chunks/{snapshot-tckz228n.js → aisdk-native-v0db2jv1.js} +41 -41
- package/dist/chunks/{snapshot-jb3y1sqm.js → aisdk-native-v34qk40s.js} +4 -4
- package/dist/chunks/{snapshot-43mabc7c.js → aisdk-native-v5btrwpx.js} +33 -33
- package/dist/chunks/{snapshot-tskp5mae.js → aisdk-native-v7vcbjpn.js} +11 -11
- package/dist/chunks/{snapshot-pq3gk156.js → aisdk-native-vbek984v.js} +6 -6
- package/dist/chunks/{snapshot-an7cqtb7.js → aisdk-native-ve4pfa0n.js} +4 -4
- package/dist/chunks/{snapshot-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{snapshot-vdr0dfbw.js → aisdk-native-vg9zg22t.js} +307 -307
- package/dist/chunks/{snapshot-vnewn4av.js → aisdk-native-vgg527ys.js} +26 -26
- package/dist/chunks/{snapshot-4k1xdssm.js → aisdk-native-vv7587hg.js} +35 -36
- package/dist/chunks/{snapshot-9214n3wh.js → aisdk-native-vvcndhje.js} +12 -12
- package/dist/chunks/{snapshot-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
- package/dist/chunks/{snapshot-vzs5sf6e.js → aisdk-native-vzs5sf6e.js} +1 -1
- package/dist/chunks/{snapshot-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{snapshot-am47j0ra.js → aisdk-native-w67qvwkr.js} +8 -8
- package/dist/chunks/{snapshot-w17qv5a6.js → aisdk-native-w6e32r8t.js} +9 -9
- package/dist/chunks/{snapshot-e3q6pnq7.js → aisdk-native-w6fgnahs.js} +47 -47
- package/dist/chunks/{snapshot-fj3qa7ea.js → aisdk-native-wbvars06.js} +16 -16
- package/dist/chunks/{snapshot-psazpmmj.js → aisdk-native-wd3x2cqz.js} +2 -2
- package/dist/chunks/{snapshot-tg6hk04s.js → aisdk-native-wd7chy3v.js} +17 -17
- package/dist/chunks/{snapshot-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{snapshot-pzp58xyn.js → aisdk-native-wrk0h553.js} +31 -31
- package/dist/chunks/{snapshot-wv396vej.js → aisdk-native-wv396vej.js} +1 -1
- package/dist/chunks/{snapshot-gv41g8dd.js → aisdk-native-wzyv7g1z.js} +45 -45
- package/dist/chunks/{snapshot-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
- package/dist/chunks/{snapshot-sn7y6hha.js → aisdk-native-x37521zy.js} +15 -15
- package/dist/chunks/{snapshot-1f7sha8m.js → aisdk-native-xajn4p7x.js} +18 -18
- package/dist/chunks/{snapshot-atjhh203.js → aisdk-native-xdz72vx5.js} +9 -9
- package/dist/chunks/{snapshot-03gzk8g1.js → aisdk-native-xe4z21fa.js} +21 -21
- package/dist/chunks/{snapshot-q6nhz35s.js → aisdk-native-xrr1weya.js} +11 -11
- package/dist/chunks/{snapshot-9qw84w57.js → aisdk-native-xyapnfhw.js} +14 -14
- package/dist/chunks/{snapshot-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{snapshot-2bfndfxk.js → aisdk-native-y1z7wkzf.js} +13 -13
- package/dist/chunks/{snapshot-y6bex35g.js → aisdk-native-y6bex35g.js} +1 -1
- package/dist/chunks/{snapshot-txbrgszf.js → aisdk-native-yavdqf6v.js} +18 -18
- package/dist/chunks/{snapshot-5d5meks3.js → aisdk-native-ycfdek4n.js} +53 -47
- package/dist/chunks/{snapshot-3qhrqyyv.js → aisdk-native-ym3dj8mc.js} +44 -44
- package/dist/chunks/{snapshot-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
- package/dist/chunks/{snapshot-yrznvahk.js → aisdk-native-yrznvahk.js} +2 -2
- package/dist/chunks/{snapshot-dmv2xfrr.js → aisdk-native-ytbt8q6a.js} +13 -13
- package/dist/chunks/aisdk-native-ytj1bkta.js +252 -0
- package/dist/chunks/{snapshot-bjtzbw4r.js → aisdk-native-z07pqspn.js} +3 -3
- package/dist/chunks/{snapshot-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{snapshot-p9rp3h8j.js → aisdk-native-z1rqywnx.js} +10 -10
- package/dist/chunks/{snapshot-ns6q6332.js → aisdk-native-z2smnqpx.js} +6 -6
- package/dist/chunks/{snapshot-amjdg99r.js → aisdk-native-z55zxc7k.js} +48 -48
- package/dist/chunks/{snapshot-bj808mf1.js → aisdk-native-z5se4ye3.js} +45 -45
- package/dist/chunks/{snapshot-z63w68vq.js → aisdk-native-z63w68vq.js} +2 -2
- package/dist/chunks/{snapshot-rb9dm3bk.js → aisdk-native-z8rc884h.js} +4 -4
- package/dist/chunks/{snapshot-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
- package/dist/chunks/{snapshot-qzzwx99f.js → aisdk-native-zm1bkcwf.js} +87 -87
- package/dist/chunks/{snapshot-66c8v2wk.js → aisdk-native-zq17q5fx.js} +92 -92
- package/dist/chunks/{snapshot-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{snapshot-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
- package/dist/chunks/{snapshot-vd7rzxqf.js → aisdk-native-zyk1yjk8.js} +11 -6
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- 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 +122 -122
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- 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 +122 -122
- 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 +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- 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 +369 -369
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- 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 +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 +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- 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 +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 +120 -120
- 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 +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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +104 -98
- 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 +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- 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 +131 -131
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- 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 +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 +5 -5
- 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 +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- 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 +124 -124
- 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 +101 -101
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/agent.d.ts +2 -1
- package/dist/types/model-resolver.d.ts +2 -2
- package/dist/types/provider.d.ts +19 -5
- package/dist/types/session/model-transport.d.ts +1 -1
- package/dist/types/v1/config/migrate.d.ts +2 -1
- 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 +3 -3
- package/dist/v1/config/config.js +14 -14
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +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 +87 -87
- package/dist/websearch.js +76 -76
- 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 +78 -78
- 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/snapshot-70jsskm8.js +0 -18
- package/dist/chunks/snapshot-k2ce3sxq.js +0 -26
- package/dist/chunks/snapshot-pzrc8cp6.js +0 -252
- /package/dist/chunks/{snapshot-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{snapshot-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{snapshot-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{snapshot-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{snapshot-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{snapshot-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
- /package/dist/chunks/{snapshot-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{snapshot-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{snapshot-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{snapshot-34c7v6d4.js → aisdk-native-34c7v6d4.js} +0 -0
- /package/dist/chunks/{snapshot-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{snapshot-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{snapshot-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{snapshot-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
- /package/dist/chunks/{snapshot-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{snapshot-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{snapshot-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{snapshot-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{snapshot-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{snapshot-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{snapshot-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{snapshot-5qd3pb7m.js → aisdk-native-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{snapshot-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{snapshot-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{snapshot-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{snapshot-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{snapshot-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{snapshot-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{snapshot-8wj87zfr.js → aisdk-native-8wj87zfr.js} +0 -0
- /package/dist/chunks/{snapshot-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
- /package/dist/chunks/{snapshot-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{snapshot-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{snapshot-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{snapshot-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{snapshot-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{snapshot-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{snapshot-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{snapshot-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{snapshot-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{snapshot-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{snapshot-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{snapshot-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{snapshot-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{snapshot-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{snapshot-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{snapshot-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{snapshot-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{snapshot-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{snapshot-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{snapshot-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{snapshot-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{snapshot-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{snapshot-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{snapshot-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{snapshot-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{snapshot-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{snapshot-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{snapshot-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{snapshot-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{snapshot-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{snapshot-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{snapshot-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
- /package/dist/chunks/{snapshot-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{snapshot-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{snapshot-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{snapshot-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
- /package/dist/chunks/{snapshot-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{snapshot-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{snapshot-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{snapshot-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{snapshot-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{snapshot-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{snapshot-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{snapshot-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{snapshot-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{snapshot-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{snapshot-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{snapshot-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{snapshot-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{snapshot-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
- /package/dist/chunks/{snapshot-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{snapshot-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{snapshot-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{snapshot-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{snapshot-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{snapshot-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{snapshot-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{snapshot-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{snapshot-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{snapshot-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{snapshot-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{snapshot-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{snapshot-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{snapshot-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
- /package/dist/chunks/{snapshot-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{snapshot-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{snapshot-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,8 +60,8 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info9.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service28, 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(Service28, 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(Service28, 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,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,7 +152,7 @@ function make6(endpoints = {
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
|
-
const connection = yield* ctx.integration.connection.active(
|
|
155
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
156
156
|
const stored = connection?.type === "credential" ? yield* credentials.get(ID10.make(connection.id)) : undefined;
|
|
157
157
|
return { connection, resource: credentialResource(stored?.value) };
|
|
158
158
|
});
|
|
@@ -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
5
|
Info7,
|
|
6
|
-
|
|
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
433
|
editor.add(Info7.make({
|
|
434
|
-
id:
|
|
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
440
|
editor.add(Info7.make({
|
|
441
|
-
id:
|
|
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 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
@@ -14,15 +14,15 @@ __export(exports_watcher, {
|
|
|
14
14
|
Event: () => Event10,
|
|
15
15
|
Native: () => Native3,
|
|
16
16
|
Options: () => Options9,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service60,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured9,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer22,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node63,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -57,14 +57,14 @@ var Options9 = Schema.Struct({
|
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service60 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer22 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service60.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer23 = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service60.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service60).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service60, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured9(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service60, layer: layer22(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node63 = configured9();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export { Event10, hasNativeBinding2, Native3, Options9,
|
|
190
|
+
export { Event10, hasNativeBinding2, Native3, Options9, Service60, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured9, node63, exports_watcher };
|