@opencode/core 0.0.0-dev-20483 → 0.0.0-dev-20484
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{file-retention-w3x9v1nk.js → job-00x4qneg.js} +8 -8
- package/dist/chunks/{file-retention-91150f7p.js → job-04dz2mwg.js} +24 -24
- package/dist/chunks/job-0ceegmzb.js +26 -0
- package/dist/chunks/{file-retention-r4mw293q.js → job-0gyprjrh.js} +22 -22
- package/dist/chunks/{file-retention-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-2b07cd18.js → job-0s0pcfqa.js} +26 -26
- package/dist/chunks/{file-retention-9ymnkqa3.js → job-0tdbsnfs.js} +20 -20
- package/dist/chunks/{file-retention-s9xxw18e.js → job-0tmgye68.js} +9 -9
- package/dist/chunks/{file-retention-0vbcp93d.js → job-0vbcp93d.js} +2 -2
- package/dist/chunks/{file-retention-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-84h8c373.js → job-1dvck2a7.js} +2 -2
- package/dist/chunks/{file-retention-taazwa2m.js → job-1ecayfm2.js} +16 -16
- package/dist/chunks/{file-retention-q717ea4v.js → job-1mr41meb.js} +3 -3
- package/dist/chunks/{file-retention-nc9ket9e.js → job-1vc4wgr6.js} +7 -7
- package/dist/chunks/{file-retention-23ydc1ae.js → job-1vn40sqk.js} +13 -13
- package/dist/chunks/{file-retention-j4s13nb2.js → job-21b39pgw.js} +11 -11
- package/dist/chunks/{file-retention-9phb3768.js → job-252fcpxc.js} +22 -22
- package/dist/chunks/{file-retention-s78w3mx6.js → job-28fypr4t.js} +30 -30
- package/dist/chunks/{file-retention-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-tj5rcesx.js → job-2mz4afts.js} +34 -34
- package/dist/chunks/{file-retention-2dyhgb9n.js → job-34pj92nr.js} +12 -12
- package/dist/chunks/{file-retention-9ma816y3.js → job-3529yh6d.js} +25 -25
- package/dist/chunks/{file-retention-cy54bjc2.js → job-3b5fc4x6.js} +8 -8
- package/dist/chunks/{file-retention-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-d0z5e1mn.js → job-3gkypt3w.js} +32 -32
- package/dist/chunks/{file-retention-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-nmpbqy18.js → job-3v0kbfet.js} +6 -6
- package/dist/chunks/job-3zqqw4wf.js +252 -0
- package/dist/chunks/{file-retention-3zsf4n22.js → job-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-retention-2qasw89v.js → job-42hxr70c.js} +5 -5
- package/dist/chunks/{file-retention-nvebafbr.js → job-4e164be2.js} +13 -13
- package/dist/chunks/{file-retention-26a94np2.js → job-4hb1fs7e.js} +45 -45
- package/dist/chunks/{file-retention-89qfpw9h.js → job-4hyge3t9.js} +20 -20
- package/dist/chunks/{file-retention-cmp6hdh9.js → job-4rhbcfs7.js} +13 -13
- package/dist/chunks/{file-retention-4ts7tf6z.js → job-4ts7tf6z.js} +2 -2
- package/dist/chunks/{file-retention-qjz171mj.js → job-4x8313ns.js} +11 -11
- package/dist/chunks/{file-retention-0r90g8yp.js → job-4ze0qz38.js} +23 -23
- package/dist/chunks/{file-retention-54ma36ye.js → job-54ma36ye.js} +1 -1
- package/dist/chunks/{file-retention-gt8adb52.js → job-5d8jjg2a.js} +11 -11
- package/dist/chunks/{file-retention-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-1tz386xc.js → job-5dctvf2h.js} +22 -22
- package/dist/chunks/{file-retention-gzfdgjtf.js → job-5he9ztn4.js} +13 -13
- package/dist/chunks/{file-retention-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-qkpjj9ac.js → job-606e7s57.js} +11 -11
- package/dist/chunks/{file-retention-rqa1jxse.js → job-63db42yp.js} +2 -2
- package/dist/chunks/{file-retention-msgz7vnx.js → job-65c6cr1v.js} +21 -21
- package/dist/chunks/{file-retention-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-z421k0xb.js → job-6bkvzxvc.js} +13 -13
- package/dist/chunks/{file-retention-p4qz04xc.js → job-6fsf9zaf.js} +48 -48
- package/dist/chunks/{file-retention-18k9cajk.js → job-6jep61wx.js} +4 -4
- package/dist/chunks/{file-retention-2e17eh3v.js → job-6s43m10v.js} +4 -4
- package/dist/chunks/{file-retention-kxvjk49k.js → job-6vk6cqnx.js} +5 -5
- package/dist/chunks/{file-retention-f75zav2x.js → job-71az546q.js} +2 -2
- package/dist/chunks/{file-retention-xxz7chtq.js → job-776eww39.js} +23 -23
- package/dist/chunks/{file-retention-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-gr6b6mj1.js → job-7e5mvvww.js} +11 -11
- package/dist/chunks/{file-retention-9wpkv8d5.js → job-7pbhqj5g.js} +1 -1
- package/dist/chunks/{file-retention-dyrnqeff.js → job-7pvptxw7.js} +18 -18
- package/dist/chunks/{file-retention-d9y2dced.js → job-7yh18yqc.js} +35 -35
- package/dist/chunks/{file-retention-dj02fe1d.js → job-805jvmfk.js} +38 -38
- package/dist/chunks/{file-retention-4sq4r2t8.js → job-845knnwv.js} +3 -3
- package/dist/chunks/{file-retention-w1eejvng.js → job-84txncab.js} +5 -5
- package/dist/chunks/{file-retention-qsr9synt.js → job-84zcxbc9.js} +5 -5
- package/dist/chunks/{file-retention-4mp36x47.js → job-879m7mkj.js} +7 -7
- package/dist/chunks/{file-retention-e4n08x2a.js → job-89rrabnh.js} +6 -6
- package/dist/chunks/{file-retention-xvrdsv0z.js → job-89rvcjqs.js} +8 -8
- package/dist/chunks/{file-retention-1qa1mw2k.js → job-89vb7dra.js} +49 -49
- package/dist/chunks/{file-retention-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-cb03yeca.js → job-8nwcw0vh.js} +14 -14
- package/dist/chunks/{file-retention-et5g45k6.js → job-8wqsyj9f.js} +22 -22
- package/dist/chunks/{file-retention-b1059kqh.js → job-8xcdgwgr.js} +24 -24
- package/dist/chunks/{file-retention-63r88w2b.js → job-91421ejn.js} +11 -11
- package/dist/chunks/{file-retention-62e165w1.js → job-95f1p06x.js} +19 -19
- package/dist/chunks/{file-retention-kb9j3d72.js → job-9e5bzkjp.js} +3 -3
- package/dist/chunks/{file-retention-g2y161wv.js → job-9eq5kwq7.js} +8 -8
- package/dist/chunks/{file-retention-n69ahfa0.js → job-9f5fypyy.js} +19 -19
- package/dist/chunks/{file-retention-enpnrszd.js → job-9kj06x8f.js} +26 -26
- package/dist/chunks/{file-retention-k5zhfa84.js → job-9nacd6wy.js} +23 -23
- package/dist/chunks/{file-retention-6y6b3v79.js → job-9t969g9s.js} +40 -40
- package/dist/chunks/{file-retention-q3wbtnjt.js → job-9ztw41ba.js} +9 -9
- package/dist/chunks/{file-retention-h6wrxb9q.js → job-a1acga6q.js} +29 -29
- package/dist/chunks/{file-retention-a1gpj94z.js → job-a1gpj94z.js} +1 -1
- package/dist/chunks/{file-retention-86qzxe6p.js → job-a89e0tac.js} +4 -4
- package/dist/chunks/{file-retention-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-3v6j8f05.js → job-ae8a0mtb.js} +10 -10
- package/dist/chunks/{file-retention-2x8x7t3a.js → job-am4zyg3x.js} +32 -32
- package/dist/chunks/{file-retention-njg0144m.js → job-aqm020t7.js} +11 -11
- package/dist/chunks/{file-retention-8bx78z2w.js → job-arg427d6.js} +15 -15
- package/dist/chunks/{file-retention-ymxbsbk4.js → job-atp0g3t8.js} +5 -5
- package/dist/chunks/{file-retention-7np80qm3.js → job-ay92dd8k.js} +2 -2
- package/dist/chunks/{file-retention-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-qw26wqbf.js → job-bb31bj73.js} +11 -11
- package/dist/chunks/{file-retention-4dhdfeb8.js → job-bbwfbsp0.js} +11 -11
- package/dist/chunks/{file-retention-6pxgffms.js → job-bhba19d5.js} +3 -3
- package/dist/chunks/{file-retention-v1gfxk1h.js → job-bp8hqz04.js} +5 -5
- package/dist/chunks/{file-retention-hz0q9sdq.js → job-brsymgq7.js} +8 -8
- package/dist/chunks/{file-retention-pm3syzdj.js → job-bwcn5j6b.js} +28 -28
- package/dist/chunks/{file-retention-010svtsv.js → job-c696vw1k.js} +26 -26
- package/dist/chunks/{file-retention-1tt22aw3.js → job-c6xfqnaz.js} +20 -20
- package/dist/chunks/{file-retention-xh27xnk0.js → job-cdpaedqb.js} +11 -11
- package/dist/chunks/{file-retention-tfwaqret.js → job-cxv79q0s.js} +8 -8
- package/dist/chunks/{file-retention-cmwkp3r5.js → job-czfptnv9.js} +6 -6
- package/dist/chunks/{file-retention-ratrq7cm.js → job-d216944b.js} +7 -7
- package/dist/chunks/{file-retention-r6km2j76.js → job-dafg3q63.js} +20 -20
- package/dist/chunks/{file-retention-xqs03zex.js → job-db40a7k2.js} +21 -21
- package/dist/chunks/{file-retention-dpkg50ah.js → job-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-retention-tctwkzpn.js → job-drj6kh66.js} +33 -33
- package/dist/chunks/{file-retention-j1516eyq.js → job-dwnf82jr.js} +22 -22
- package/dist/chunks/{file-retention-ntg2j34t.js → job-dzpmeesh.js} +8 -8
- package/dist/chunks/{file-retention-19m1yqgd.js → job-e0rsjk2q.js} +26 -26
- package/dist/chunks/{file-retention-1q0jybjw.js → job-e32r1shb.js} +16 -16
- package/dist/chunks/{file-retention-jqp48237.js → job-e611xq0d.js} +33 -33
- package/dist/chunks/{file-retention-nx5d6twc.js → job-ebkwz4a0.js} +46 -46
- package/dist/chunks/{file-retention-2pvxx6w1.js → job-ef2g1qf0.js} +5 -5
- package/dist/chunks/{file-retention-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-24y4cr83.js → job-etapkk3c.js} +24 -24
- package/dist/chunks/{file-retention-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-yhws0ggv.js → job-ey3gbykn.js} +10 -10
- package/dist/chunks/{file-retention-gpvbq4ra.js → job-f2e33n10.js} +24 -24
- package/dist/chunks/{file-retention-kgfzxw26.js → job-f2q7rs2c.js} +10 -10
- package/dist/chunks/{file-retention-5fffgman.js → job-f7gh3ba6.js} +59 -59
- package/dist/chunks/{file-retention-fcrkznn8.js → job-fcrkznn8.js} +1 -1
- package/dist/chunks/{file-retention-a39dgx1a.js → job-ff9nf8j1.js} +6 -6
- package/dist/chunks/{file-retention-qvp3ayyr.js → job-fgnxvr0e.js} +4 -4
- package/dist/chunks/{file-retention-drvshtg5.js → job-fhmtfgjq.js} +24 -24
- package/dist/chunks/{file-retention-tezq3vq8.js → job-fngeym4r.js} +23 -23
- package/dist/chunks/{file-retention-w2bejqka.js → job-fnsgkk5v.js} +18 -18
- package/dist/chunks/{file-retention-9z7evyec.js → job-ftmswscp.js} +22 -22
- package/dist/chunks/{file-retention-bkb94af5.js → job-fxt1fxy4.js} +44 -44
- package/dist/chunks/{file-retention-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-g7b432k9.js → job-gh60chms.js} +9 -9
- package/dist/chunks/{file-retention-a2c5gk3p.js → job-gj6ezef6.js} +3 -3
- package/dist/chunks/{file-retention-0r3c1bmw.js → job-gj71zhbs.js} +5 -5
- package/dist/chunks/{file-retention-cn1yc8yx.js → job-grjzpzra.js} +36 -36
- package/dist/chunks/{file-retention-v81vxjx2.js → job-gw7w5fd1.js} +11 -11
- package/dist/chunks/{file-retention-7t9r5z7t.js → job-gzk989te.js} +6 -6
- package/dist/chunks/{file-retention-3cegwx68.js → job-h2b79v29.js} +2 -2
- package/dist/chunks/{file-retention-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-da5crynx.js → job-h8a25g0q.js} +8 -8
- package/dist/chunks/job-ht5y0zrb.js +18 -0
- package/dist/chunks/{file-retention-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/job-j61mqatf.js +507 -0
- package/dist/chunks/{file-retention-c4rc6qkb.js → job-j8afcsyc.js} +4 -4
- package/dist/chunks/{file-retention-dc2qckmf.js → job-jbxcgjx1.js} +13 -13
- package/dist/chunks/{file-retention-672hp4zj.js → job-jgzxxae3.js} +8 -8
- package/dist/chunks/{file-retention-mh3pfvhs.js → job-jhwj2dh9.js} +3 -3
- package/dist/chunks/{file-retention-4v3k5exv.js → job-jkndhnnw.js} +33 -33
- package/dist/chunks/{file-retention-1yxhyg8n.js → job-jn7y5evw.js} +23 -23
- package/dist/chunks/{file-retention-ehy2g33m.js → job-jnybbgrk.js} +26 -26
- package/dist/chunks/{file-retention-6517zxh1.js → job-k1zr7m6x.js} +15 -15
- package/dist/chunks/{file-retention-ez2gdk13.js → job-k6cecap9.js} +17 -17
- package/dist/chunks/{file-retention-8a6ws7jr.js → job-k70p9jzb.js} +9 -9
- package/dist/chunks/{file-retention-4kx9erc0.js → job-kdmef29e.js} +16 -16
- package/dist/chunks/{file-retention-99z2e8tf.js → job-ke4927j1.js} +25 -25
- package/dist/chunks/{file-retention-5nsj1v3b.js → job-kgchvb5g.js} +4 -4
- package/dist/chunks/{file-retention-rmzxb8wx.js → job-kkvck9sg.js} +40 -40
- package/dist/chunks/{file-retention-pf3jdx00.js → job-knseke5k.js} +5 -5
- package/dist/chunks/{file-retention-50mzsvk4.js → job-kvvk39gs.js} +4 -4
- package/dist/chunks/{file-retention-8tx99sfv.js → job-kvxp37ch.js} +26 -26
- package/dist/chunks/{file-retention-e9rrx8nb.js → job-ky9xk79t.js} +17 -17
- package/dist/chunks/{file-retention-dgk23zpj.js → job-m0t8kfr8.js} +30 -30
- package/dist/chunks/{file-retention-cs1ase73.js → job-m1xvhn1h.js} +15 -15
- package/dist/chunks/{file-retention-m3fdjcah.js → job-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-retention-r8ngcrxq.js → job-m8f1tr7k.js} +43 -43
- package/dist/chunks/{file-retention-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-1ygqh575.js → job-mfqp6xfm.js} +6 -6
- package/dist/chunks/{file-retention-9cgh24rp.js → job-mms4j8x0.js} +29 -29
- package/dist/chunks/{file-retention-wnk9exdz.js → job-mnz9nf6p.js} +6 -6
- package/dist/chunks/{file-retention-y43kper9.js → job-mxt4mzv9.js} +33 -33
- package/dist/chunks/{file-retention-1pd86f1r.js → job-myjpspe4.js} +10 -10
- package/dist/chunks/{file-retention-t3dkts0r.js → job-n2h2eac6.js} +11 -11
- package/dist/chunks/{file-retention-rk1r2hx8.js → job-ncnm8wen.js} +1 -1
- package/dist/chunks/{file-retention-7r0r50e5.js → job-nrk5vjbf.js} +5 -5
- package/dist/chunks/{file-retention-cc9f4jmy.js → job-nrkmhrqm.js} +9 -9
- package/dist/chunks/{file-retention-xevbb3dk.js → job-p2jcy14r.js} +32 -32
- package/dist/chunks/{file-retention-jc1gpg60.js → job-p97w62t7.js} +5 -5
- package/dist/chunks/{file-retention-cxpvh0dz.js → job-pbktrdgw.js} +13 -13
- package/dist/chunks/{file-retention-916ecn31.js → job-pc2g9xby.js} +17 -17
- package/dist/chunks/{file-retention-44ak30pa.js → job-pgp1nwjn.js} +4 -4
- package/dist/chunks/{file-retention-zn9rd40w.js → job-ph72zhb0.js} +33 -33
- package/dist/chunks/{file-retention-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-299t90wb.js → job-pkp1f4b1.js} +20 -20
- package/dist/chunks/{file-retention-q6e5294y.js → job-pvkpk2yg.js} +40 -40
- package/dist/chunks/{file-retention-3kbc11ry.js → job-q09764t2.js} +11 -11
- package/dist/chunks/{file-retention-q0xm7vwc.js → job-q0xm7vwc.js} +2 -2
- package/dist/chunks/{file-retention-r5zhkawj.js → job-q3zf1qt3.js} +4 -4
- package/dist/chunks/{file-retention-dqdxhkv7.js → job-q64b6gma.js} +12 -12
- package/dist/chunks/{file-retention-6479pxty.js → job-qhj208n1.js} +5 -5
- package/dist/chunks/{file-retention-py5x8axh.js → job-qjrd5z3y.js} +11 -11
- package/dist/chunks/{file-retention-qnc92qwc.js → job-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-retention-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-ypw91m64.js → job-qwjmgwmn.js} +8 -8
- package/dist/chunks/{file-retention-4mat50dd.js → job-qx6n3k28.js} +12 -12
- package/dist/chunks/{file-retention-byxd618f.js → job-r27mddg3.js} +22 -22
- package/dist/chunks/{file-retention-kn16ews1.js → job-rbaaybz7.js} +17 -17
- package/dist/chunks/{file-retention-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-emjm3mg5.js → job-re653kwr.js} +18 -18
- package/dist/chunks/{file-retention-cwa6csj7.js → job-rey5gbxv.js} +9 -9
- package/dist/chunks/{file-retention-rhraev7y.js → job-rhraev7y.js} +1 -1
- package/dist/chunks/{file-retention-f3md509a.js → job-rqavd477.js} +18 -18
- package/dist/chunks/{file-retention-gmyr53yh.js → job-rqnxqbwj.js} +15 -15
- package/dist/chunks/{file-retention-rfx500q8.js → job-rrapbwnz.js} +47 -47
- package/dist/chunks/{file-retention-ynx963a9.js → job-rrpq0de9.js} +12 -12
- package/dist/chunks/{file-retention-rya9vxen.js → job-rrvn7t8x.js} +44 -44
- package/dist/chunks/{file-retention-hb0k09dj.js → job-rtj26w7n.js} +11 -11
- package/dist/chunks/{file-retention-63b3jkh8.js → job-rx52w0ft.js} +22 -22
- package/dist/chunks/{file-retention-ceb9zpqz.js → job-s4062y39.js} +9 -9
- package/dist/chunks/{file-retention-eaj1djv9.js → job-s8d7rejh.js} +6 -6
- package/dist/chunks/{file-retention-b3f8fkhc.js → job-scgrse2b.js} +5 -5
- package/dist/chunks/{file-retention-8xf2390s.js → job-smbtmeh0.js} +14 -14
- package/dist/chunks/{file-retention-48kw51zw.js → job-ss358qx3.js} +3 -3
- package/dist/chunks/{file-retention-dqetav0t.js → job-t0gqfsk9.js} +3 -3
- package/dist/chunks/{file-retention-evhxnv2q.js → job-t1kt9h53.js} +13 -13
- package/dist/chunks/{file-retention-khtp5qmv.js → job-t2n96gj6.js} +23 -23
- package/dist/chunks/{file-retention-yygvcae8.js → job-t4qr7arm.js} +9 -9
- package/dist/chunks/{file-retention-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-b4twkq7r.js → job-ts23464c.js} +8 -8
- package/dist/chunks/{file-retention-qeajncbp.js → job-twt7afdd.js} +18 -18
- package/dist/chunks/{file-retention-v0es1rhs.js → job-v0es1rhs.js} +2 -2
- package/dist/chunks/{file-retention-eqkxs06z.js → job-v6gb7zv2.js} +6 -6
- package/dist/chunks/{file-retention-y1tbwvmr.js → job-v90f1f0w.js} +20 -20
- package/dist/chunks/{file-retention-zcf427st.js → job-vaqnypq5.js} +34 -34
- package/dist/chunks/{file-retention-knp96k5g.js → job-vemxbn5z.js} +12 -12
- package/dist/chunks/{file-retention-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-5cj6t5k8.js → job-vf1qjgrv.js} +8 -8
- package/dist/chunks/{file-retention-6akfc5px.js → job-vwe9h2jw.js} +29 -29
- package/dist/chunks/{file-retention-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-retention-g5w8qwbj.js → job-w19d8598.js} +7 -7
- package/dist/chunks/{file-retention-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-6g0d6zmv.js → job-w4n15whw.js} +7 -7
- package/dist/chunks/{file-retention-wvj3jknz.js → job-w7kz08sk.js} +93 -93
- package/dist/chunks/{file-retention-vzgh18wv.js → job-w82grqqp.js} +5 -5
- package/dist/chunks/{file-retention-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-1f27qpcc.js → job-wfs7sne6.js} +34 -34
- package/dist/chunks/{file-retention-6yz0wx8n.js → job-wh6zw745.js} +5 -5
- package/dist/chunks/{file-retention-fwyzff2k.js → job-wj8m3a2z.js} +12 -12
- package/dist/chunks/{file-retention-qwvc2n28.js → job-wk9525p3.js} +28 -28
- package/dist/chunks/{file-retention-jx0q4spf.js → job-wtt9gs87.js} +18 -18
- package/dist/chunks/{file-retention-2s45n8cs.js → job-wyfgznph.js} +6 -6
- package/dist/chunks/{file-retention-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-24etr8ym.js → job-x22bm7xh.js} +20 -20
- package/dist/chunks/{file-retention-tnwsy8nb.js → job-x5qcpbd8.js} +81 -81
- package/dist/chunks/{file-retention-db2wf4at.js → job-x661k3y3.js} +4 -4
- package/dist/chunks/{file-retention-0pdpn3pq.js → job-x98qjjj4.js} +14 -14
- package/dist/chunks/{file-retention-xkntkrq7.js → job-xkntkrq7.js} +2 -2
- package/dist/chunks/{file-retention-8gszwhhd.js → job-xn06sc8f.js} +7 -7
- package/dist/chunks/{file-retention-n37c4crj.js → job-xrpg47n6.js} +9 -9
- package/dist/chunks/{file-retention-e7rehdhe.js → job-xttnnv0f.js} +76 -76
- package/dist/chunks/{file-retention-xyafkbt0.js → job-xyafkbt0.js} +3 -3
- package/dist/chunks/{file-retention-1856z5gp.js → job-xzvapbr6.js} +34 -34
- package/dist/chunks/{file-retention-twwzjqdf.js → job-y0ty5fha.js} +6 -6
- package/dist/chunks/{file-retention-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-2fcdk11z.js → job-y2mxv8hv.js} +56 -56
- package/dist/chunks/{file-retention-19wbe0f4.js → job-y8zcsdtj.js} +19 -19
- package/dist/chunks/{file-retention-jnk7qm89.js → job-y9a26cmh.js} +13 -13
- package/dist/chunks/{file-retention-a8fr1h6x.js → job-ye26w1a6.js} +176 -176
- package/dist/chunks/{file-retention-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-retention-htp67ewe.js → job-yvjbjczq.js} +11 -11
- package/dist/chunks/{file-retention-22s53sjq.js → job-yz531nnf.js} +8 -8
- package/dist/chunks/{file-retention-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-7kc72sy1.js → job-z5hwds9v.js} +18 -18
- package/dist/chunks/{file-retention-e7fybsm5.js → job-z73we3d1.js} +1 -1
- package/dist/chunks/{file-retention-pb2egvkv.js → job-z7yrsjag.js} +9 -9
- package/dist/chunks/{file-retention-8p4jk4hz.js → job-zbb2mhvh.js} +16 -16
- package/dist/chunks/{file-retention-q5asdkn4.js → job-zee1rnkq.js} +4 -4
- package/dist/chunks/{file-retention-xasyx0as.js → job-zfs8ae4p.js} +4 -4
- package/dist/chunks/{file-retention-b47w6h91.js → job-zq9cbjfe.js} +13 -13
- package/dist/chunks/{file-retention-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-664q6xrj.js → job-zrdk50x6.js} +17 -17
- package/dist/chunks/{file-retention-f29mbr7f.js → job-zsr4wwhv.js} +4 -4
- package/dist/chunks/{file-retention-m2fmqjsg.js → job-zx68b5gk.js} +20 -20
- package/dist/chunks/{file-retention-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +74 -74
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +364 -364
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +214 -214
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- 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 +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +327 -327
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- 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 +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +101 -101
- 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 +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- 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 +203 -203
- 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 +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- 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 +8 -8
- 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/file-retention-16e93gk9.js +0 -507
- package/dist/chunks/file-retention-1bmzne1w.js +0 -26
- package/dist/chunks/file-retention-9sh4wc5j.js +0 -18
- package/dist/chunks/file-retention-kdgzr6za.js +0 -252
- /package/dist/chunks/{file-retention-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-34c7v6d4.js → job-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → job-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-7e5mvvww.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./job-rqavd477.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./job-grjzpzra.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-ph72zhb0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID12
|
|
17
|
+
} from "./job-drj6kh66.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID11,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./job-jkndhnnw.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./job-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 = ID12.make("digitalocean");
|
|
31
|
+
var integrationID = ID13.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* Service83;
|
|
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(ID11.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(Event20.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,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service39,
|
|
3
|
+
node43
|
|
4
|
+
} from "./job-mms4j8x0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions5 = {};
|
|
17
|
+
__export(exports_instructions5, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
+
Service: () => Service38,
|
|
20
|
+
node: () => node41
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,11 +57,11 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service38 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service39;
|
|
64
|
+
return Service38.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
71
|
return make21({
|
|
72
|
-
key:
|
|
72
|
+
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node41 = makeLocationNode({ service: Service38, layer, deps: [node43] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service38, node41, exports_instructions5 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service4,
|
|
13
|
+
node: () => node5
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service4 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service4.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node5 = makeLocationNode({ service: Service4, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service4, node5, exports_location_watcher_policy };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./job-arg427d6.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
22
|
-
configured: () =>
|
|
21
|
+
Service: () => Service83,
|
|
22
|
+
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node87,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service83 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service83,
|
|
84
|
+
deps: [node88],
|
|
85
|
+
layer: Layer.effect(Service83, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -93,7 +93,7 @@ function configured11(options) {
|
|
|
93
93
|
const projectors = new Map;
|
|
94
94
|
const listeners = new Array;
|
|
95
95
|
const durableLocks = makeUnsafe2();
|
|
96
|
-
const { db } = yield*
|
|
96
|
+
const { db } = yield* Service84;
|
|
97
97
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
98
98
|
const persist = options?.persist ?? false;
|
|
99
99
|
const sessions = new Map;
|
|
@@ -525,7 +525,7 @@ function configured11(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service83.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured11(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node87 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service83, configured12, node87, exports_bus };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service54,
|
|
8
|
+
node58
|
|
9
|
+
} from "./job-ftmswscp.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-8xcdgwgr.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service11,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node13,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service11 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service54;
|
|
335
|
+
return Service11.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node13 = makeLocationNode({ service: Service11, layer, deps: [node58] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service11, read2, node13, exports_read_filesystem };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-7e5mvvww.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./job-rqavd477.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID15,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event20,
|
|
11
|
+
Service76
|
|
12
|
+
} from "./job-grjzpzra.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-x661k3y3.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-ph72zhb0.js";
|
|
20
20
|
import {
|
|
21
21
|
which2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./job-qaymkmh1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID12,
|
|
25
|
+
Service73
|
|
26
|
+
} from "./job-drj6kh66.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID11
|
|
29
|
+
} from "./job-jkndhnnw.js";
|
|
30
30
|
import {
|
|
31
31
|
iife2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./job-1kg9ymc8.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./job-mnz9nf6p.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 make4(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(ID12.azure);
|
|
78
78
|
const processes = yield* AppProcess.Service;
|
|
79
|
-
const bus = yield*
|
|
80
|
-
const credentials = yield*
|
|
81
|
-
const providers = yield*
|
|
79
|
+
const bus = yield* Service83;
|
|
80
|
+
const credentials = yield* Service76;
|
|
81
|
+
const providers = yield* Service73;
|
|
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 make7(endpoints = {
|
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.integration.transform((editor) => {
|
|
118
118
|
editor.method.update({
|
|
119
|
-
integrationID:
|
|
119
|
+
integrationID: ID12.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: ID12.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -152,8 +152,8 @@ function make7(endpoints = {
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
|
-
const connection = yield* ctx.integration.connection.active(
|
|
156
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
155
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
156
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
157
157
|
return { connection, resource: credentialResource(stored?.value) };
|
|
158
158
|
});
|
|
159
159
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -192,7 +192,7 @@ function make7(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(ID12.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 make7(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(ID12.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(ID12.azure)?.models.keys() ?? [], (id) => [
|
|
222
222
|
id.toLowerCase(),
|
|
223
223
|
id
|
|
224
224
|
]));
|
|
@@ -231,11 +231,11 @@ function make7(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 === ID12.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 !== ID12.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 make7(endpoints = {
|
|
|
250
250
|
};
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
const item = evt.get(
|
|
253
|
+
const item = evt.get(ID12.azure);
|
|
254
254
|
if (!item)
|
|
255
255
|
return;
|
|
256
256
|
evt.add({
|
|
@@ -261,7 +261,7 @@ function make7(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 !== ID12.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 make7(endpoints = {
|
|
|
273
273
|
}
|
|
274
274
|
if (!loaded.deployments)
|
|
275
275
|
return;
|
|
276
|
-
const catalog = models.list(
|
|
276
|
+
const catalog = models.list(ID12.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(ID12.azure, model.id);
|
|
281
281
|
}
|
|
282
282
|
for (const [id, model] of deployed) {
|
|
283
|
-
models.update(
|
|
283
|
+
models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
|
-
yield* bus.subscribe(
|
|
286
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.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(ID12.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 make7(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 !== ID12.azure)
|
|
302
302
|
return;
|
|
303
303
|
const authorization = yield* bearer(evt.request.url);
|
|
304
304
|
if (!authorization)
|
|
@@ -307,9 +307,9 @@ function make7(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: ID12.azure });
|
|
311
311
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
312
|
-
if (evt.model.providerID !==
|
|
312
|
+
if (evt.model.providerID !== ID12.azure)
|
|
313
313
|
return;
|
|
314
314
|
const authorization = yield* bearer(evt.url);
|
|
315
315
|
if (!authorization)
|
|
@@ -318,11 +318,11 @@ function make7(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: ID12.azure });
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
var AzurePlugin2 =
|
|
325
|
+
var AzurePlugin2 = make4();
|
|
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 = ID11.make(deployment.name.toLowerCase());
|
|
356
356
|
const info = {
|
|
357
357
|
...structuredClone(model),
|
|
358
358
|
id,
|
|
359
|
-
modelID:
|
|
359
|
+
modelID: ID11.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 { make4, AzurePlugin2 };
|