@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,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-gmbv0vxt.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./aisdk-native-0f39s03b.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service32
|
|
6
|
+
} from "./aisdk-native-rndxfgdz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error5
|
|
9
|
+
} from "./aisdk-native-6qmvz171.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service62
|
|
12
|
+
} from "./aisdk-native-mwaxn094.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-eyz64kwr.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-17e1vs3w.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./aisdk-native-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./aisdk-native-m58kmhef.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./aisdk-native-zyk1yjk8.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service80;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service32;
|
|
58
|
+
const toolOutput = yield* Service62;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make9 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error5({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -216,4 +216,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
216
216
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
217
217
|
};
|
|
218
218
|
|
|
219
|
-
export { Outcome2,
|
|
219
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./aisdk-native-0f39s03b.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./aisdk-native-wbvars06.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service74,
|
|
14
|
+
node78
|
|
15
|
+
} from "./aisdk-native-0a9z9mhn.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
@@ -35,10 +35,10 @@ var InjectedMetadata = Schema.Struct({
|
|
|
35
35
|
class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
37
|
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
|
-
const bus = yield*
|
|
38
|
+
const bus = yield* Service80;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service74;
|
|
41
|
+
const location = yield* Service77;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -98,7 +98,7 @@ function describePath(root, path) {
|
|
|
98
98
|
var node13 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node84, FSUtil.node, node81, node78]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
104
|
export { Service11, node13, exports_instructions };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service62,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node65
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service62 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service62.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node65 = makeLocationNode({
|
|
137
|
+
service: Service62,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service62, node65, exports_tool_output2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-nxm207yx.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service79,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node83
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service79 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service79.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node83 = makeGlobalNode({ service: Service79, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service79, node83, exports_git3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-k2h4r4s0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info19
|
|
9
|
+
} from "./aisdk-native-6n88yxkj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info14
|
|
12
|
+
} from "./aisdk-native-c78bbtc9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info15
|
|
15
|
+
} from "./aisdk-native-ratrq7cm.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info16
|
|
18
|
+
} from "./aisdk-native-af04s6ss.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-2k8khapm.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info13
|
|
24
|
+
} from "./aisdk-native-e6hmchc5.js";
|
|
25
25
|
import {
|
|
26
26
|
Info12
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./aisdk-native-r391d9tr.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./aisdk-native-6656g7jn.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -87,7 +87,7 @@ function normalize2(input) {
|
|
|
87
87
|
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info12.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info14, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info15, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info19, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info19, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info16, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info13, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-c03kjhqs.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin43
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin43 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin43, exports_plan };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin37,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin37 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin29 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin37, exports_identity };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-nxm207yx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service7,
|
|
13
|
+
node: () => node9
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service7 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service7.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node9 = makeGlobalNode({ service: Service7, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service7, node9, exports_update };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/managed-policy.ts
|
|
6
6
|
var exports_managed_policy = {};
|
|
7
7
|
__export(exports_managed_policy, {
|
|
8
8
|
ManagedPolicy: () => exports_managed_policy,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service49,
|
|
10
10
|
node: () => node53
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service49 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service49, () => {
|
|
18
18
|
const state = { current: { statements: [] } };
|
|
19
|
-
return
|
|
19
|
+
return Service49.of({
|
|
20
20
|
current: () => state.current,
|
|
21
21
|
set: (next) => Effect.sync(() => {
|
|
22
22
|
state.current = next;
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
});
|
|
26
|
-
var node53 = makeGlobalNode({ service:
|
|
26
|
+
var node53 = makeGlobalNode({ service: Service49, layer, deps: [] });
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { Service49, node53, exports_managed_policy };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-native-bv6943e1.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-80arm2fs.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin46,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin46 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin46, exports_tool_input_repair };
|