@opencode/core 0.0.0-dev-20751 → 0.0.0-dev-20753
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 +84 -84
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{websearch-zqzjtd27.js → app-00tc97x6.js} +16 -16
- package/dist/chunks/{websearch-a66d3j4b.js → app-018ppdfs.js} +25 -25
- package/dist/chunks/{websearch-8291f3dr.js → app-03kct9wb.js} +47 -47
- package/dist/chunks/{websearch-d8gp6606.js → app-06mz46jt.js} +76 -76
- package/dist/chunks/{websearch-fbdfn3v6.js → app-098fe3mk.js} +26 -26
- package/dist/chunks/{websearch-9a685mhr.js → app-0fg6gx8x.js} +7 -7
- package/dist/chunks/{websearch-q0xm7vwc.js → app-0j77ygfz.js} +6 -6
- package/dist/chunks/{websearch-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{websearch-0vbcp93d.js → app-0vbcp93d.js} +2 -2
- package/dist/chunks/{websearch-neydyz2j.js → app-12r3qe60.js} +20 -20
- package/dist/chunks/{websearch-7m4fr4eg.js → app-17tfw75y.js} +8 -8
- package/dist/chunks/{websearch-1acjjqhc.js → app-1acjjqhc.js} +1 -1
- package/dist/chunks/{websearch-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{websearch-g6p1761n.js → app-1e9rxs9s.js} +9 -9
- package/dist/chunks/{websearch-bnf4ny6h.js → app-1hz6wq56.js} +17 -17
- package/dist/chunks/{websearch-8sze2n9a.js → app-1p07q0wb.js} +8 -8
- package/dist/chunks/{websearch-7debz9q9.js → app-1r9ttb7t.js} +5 -5
- package/dist/chunks/{websearch-3sj8yt8v.js → app-1rn5pcm9.js} +4 -4
- package/dist/chunks/{websearch-56gdpj1q.js → app-1ygqh575.js} +9 -9
- package/dist/chunks/{websearch-r2qntz6x.js → app-24hm6k32.js} +3 -3
- package/dist/chunks/{websearch-j81axac7.js → app-2982jzzt.js} +12 -12
- package/dist/chunks/{websearch-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{websearch-bf4gbvg4.js → app-2bekqz3a.js} +15 -15
- package/dist/chunks/{websearch-4ts7tf6z.js → app-2ccvkpx1.js} +2 -2
- package/dist/chunks/{websearch-b7h6z6tn.js → app-2h7yfs5w.js} +8 -8
- package/dist/chunks/{websearch-bx0gyb4h.js → app-2k9fjx65.js} +5 -5
- package/dist/chunks/{websearch-69rankd6.js → app-2neqxdah.js} +15 -15
- package/dist/chunks/{websearch-nrdmrqsx.js → app-2pnhn36q.js} +21 -21
- package/dist/chunks/{websearch-wbbmgwfw.js → app-2rbrp7jb.js} +13 -13
- package/dist/chunks/{websearch-s6zp9vx7.js → app-2rer0ne6.js} +11 -11
- package/dist/chunks/{websearch-djszqvmq.js → app-2sejkfem.js} +9 -9
- package/dist/chunks/{websearch-p54yp2nj.js → app-2v9fd8ey.js} +26 -26
- package/dist/chunks/{websearch-ajkgf329.js → app-33q7m53w.js} +20 -20
- package/dist/chunks/{websearch-f807xdkq.js → app-34bkcnyz.js} +11 -11
- package/dist/chunks/{websearch-n6y4yv9n.js → app-36wye889.js} +20 -20
- package/dist/chunks/{websearch-kbqjp078.js → app-3801kdgp.js} +5 -5
- package/dist/chunks/{websearch-92jw639j.js → app-3apnc6ky.js} +14 -14
- package/dist/chunks/{websearch-gsde99f3.js → app-3ax0yfc7.js} +33 -33
- package/dist/chunks/{websearch-7q1m8mqh.js → app-3c3c7wca.js} +14 -14
- package/dist/chunks/{websearch-h2b79v29.js → app-3cegwx68.js} +2 -2
- package/dist/chunks/{websearch-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-3tzk5btq.js → app-3hwbbpqt.js} +14 -14
- package/dist/chunks/{websearch-nn2e5gpb.js → app-3mwz7nfm.js} +2 -2
- package/dist/chunks/{websearch-g320bg51.js → app-3ng7cddz.js} +5 -5
- package/dist/chunks/{websearch-3rsbafkh.js → app-3s0pfq9s.js} +16 -16
- package/dist/chunks/{websearch-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-ysv0hq5q.js → app-3vefb4re.js} +18 -18
- package/dist/chunks/{websearch-3zsf4n22.js → app-3zsf4n22.js} +1 -1
- package/dist/chunks/{websearch-phj4bqfk.js → app-43c1yg1a.js} +3 -3
- package/dist/chunks/{websearch-3a83a0n4.js → app-43h198y8.js} +8 -8
- package/dist/chunks/{websearch-ed8kcyd6.js → app-4az4fysj.js} +189 -189
- package/dist/chunks/{websearch-xrgtgbry.js → app-4h8em95f.js} +47 -47
- package/dist/chunks/{websearch-8rv22t7y.js → app-4mm45p72.js} +4 -4
- package/dist/chunks/{websearch-x3gqap9d.js → app-4v7ngy20.js} +4 -4
- package/dist/chunks/{websearch-btxw9yhj.js → app-4zzkahvh.js} +22 -22
- package/dist/chunks/{websearch-p1wwb8ft.js → app-52m6gza4.js} +6 -6
- package/dist/chunks/{websearch-pqv9wp90.js → app-53vn6xbp.js} +10 -10
- package/dist/chunks/{websearch-54ma36ye.js → app-54ma36ye.js} +1 -1
- package/dist/chunks/{websearch-msjtsx7n.js → app-54ynfdxw.js} +25 -25
- package/dist/chunks/{websearch-azvdhf4w.js → app-559tgykp.js} +45 -45
- package/dist/chunks/{websearch-we1wht7r.js → app-55v1gf6h.js} +9 -9
- package/dist/chunks/{websearch-xfkkasph.js → app-57b9ws8p.js} +7 -7
- package/dist/chunks/{websearch-wg0sz2b3.js → app-59h7kjyf.js} +4 -4
- package/dist/chunks/{websearch-pnyxb9e8.js → app-5f2vy3ed.js} +11 -11
- package/dist/chunks/{websearch-6nwm3v99.js → app-5gapkcq6.js} +16 -16
- package/dist/chunks/{websearch-f7bw197q.js → app-5m5v2ph6.js} +4 -4
- package/dist/chunks/{websearch-5m9w47nd.js → app-5m9w47nd.js} +1 -1
- package/dist/chunks/{websearch-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{websearch-gvdagacx.js → app-5v86ktep.js} +47 -47
- package/dist/chunks/{websearch-vq6jz5cn.js → app-5w8k9h5t.js} +28 -28
- package/dist/chunks/{websearch-cmwkp3r5.js → app-5yzzbxa7.js} +8 -8
- package/dist/chunks/{websearch-6spsh8qa.js → app-64dc8y9e.js} +45 -45
- package/dist/chunks/{websearch-4nwbh3f5.js → app-65dm53es.js} +11 -11
- package/dist/chunks/{websearch-5w9yjztw.js → app-68wqtz75.js} +1 -1
- package/dist/chunks/{websearch-kx004b36.js → app-6b2zjn2e.js} +9 -9
- package/dist/chunks/{websearch-ppc8s294.js → app-6e3dg2f6.js} +28 -28
- package/dist/chunks/{websearch-1tkx5wjx.js → app-6gxe4cq5.js} +13 -13
- package/dist/chunks/{websearch-jervv9x6.js → app-6h1ernme.js} +11 -11
- package/dist/chunks/{websearch-g23m1zvc.js → app-6pts7s9a.js} +15 -15
- package/dist/chunks/{websearch-39g9s8nq.js → app-6rbzf5tk.js} +14 -14
- package/dist/chunks/{websearch-f7v4vsrc.js → app-6v1br9ph.js} +17 -17
- package/dist/chunks/{websearch-6xb47vfp.js → app-6xb47vfp.js} +1 -1
- package/dist/chunks/{websearch-01vn8qag.js → app-6xhnd6a9.js} +11 -11
- package/dist/chunks/{websearch-5fykfdj7.js → app-6yz0wx8n.js} +5 -5
- package/dist/chunks/{websearch-mbnxefga.js → app-6z2ym5vj.js} +2 -2
- package/dist/chunks/{websearch-njzd64q9.js → app-72xj61mp.js} +1 -1
- package/dist/chunks/{websearch-m18pb0hg.js → app-75w6bsvg.js} +15 -15
- package/dist/chunks/{websearch-as51731q.js → app-79x46kac.js} +29 -29
- package/dist/chunks/{websearch-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-sqka8dgb.js → app-7k2ey016.js} +32 -32
- package/dist/chunks/{websearch-4npf7cmz.js → app-80hetss1.js} +25 -25
- package/dist/chunks/{websearch-1dvck2a7.js → app-84h8c373.js} +2 -2
- package/dist/chunks/{websearch-84txncab.js → app-84txncab.js} +1 -1
- package/dist/chunks/{websearch-qgwn4ht9.js → app-8azk9p8z.js} +9 -9
- package/dist/chunks/{websearch-j3wgep5k.js → app-8d3qwqqg.js} +18 -18
- package/dist/chunks/{websearch-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{websearch-8m6m0r52.js → app-8m6m0r52.js} +1 -1
- package/dist/chunks/{websearch-0tzy42a9.js → app-8n69n882.js} +8 -8
- package/dist/chunks/{websearch-cv5qh09f.js → app-8tpt8f0y.js} +14 -14
- package/dist/chunks/{websearch-5m5b9f90.js → app-8v17a88r.js} +51 -51
- package/dist/chunks/{websearch-srjnacjb.js → app-93pdqz28.js} +35 -35
- package/dist/chunks/{websearch-d8k8q118.js → app-9jn7j7tt.js} +30 -30
- package/dist/chunks/{websearch-4pfks0zj.js → app-9nz6zwhg.js} +9 -9
- package/dist/chunks/{websearch-4ha8056f.js → app-9pgse4ra.js} +29 -29
- package/dist/chunks/{websearch-nya48ex2.js → app-9vtyevkh.js} +39 -39
- package/dist/chunks/{websearch-b6mrrfvp.js → app-9xrr90wg.js} +41 -41
- package/dist/chunks/{websearch-2hxs6azb.js → app-a0f6av8n.js} +15 -15
- package/dist/chunks/{websearch-7yh4e7ss.js → app-a1gpj94z.js} +3 -3
- package/dist/chunks/{websearch-ryr25ayn.js → app-a46v4e4v.js} +4 -4
- package/dist/chunks/{websearch-a9g4d826.js → app-a68zm1md.js} +24 -24
- package/dist/chunks/{websearch-bhxvg1de.js → app-a904gsa5.js} +90 -90
- package/dist/chunks/{websearch-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{websearch-wgad3ngy.js → app-ab3d4pqa.js} +40 -40
- package/dist/chunks/{websearch-x661k3y3.js → app-addxnjmp.js} +4 -4
- package/dist/chunks/{websearch-wnvdweyr.js → app-aeqvwfe1.js} +32 -32
- package/dist/chunks/{websearch-st32wr7j.js → app-ag8nf72d.js} +48 -48
- package/dist/chunks/{websearch-t13j5h2t.js → app-ajybbawx.js} +11 -11
- package/dist/chunks/{websearch-xsgjgyxe.js → app-am64aq6c.js} +4 -4
- package/dist/chunks/{websearch-kfy7sq89.js → app-as7nmgbh.js} +36 -36
- package/dist/chunks/{websearch-3zjvcxaq.js → app-at302bxq.js} +60 -60
- package/dist/chunks/{websearch-v1xjeqfc.js → app-awm2njxg.js} +29 -29
- package/dist/chunks/{websearch-x5r3rcm4.js → app-b0h21z71.js} +13 -13
- package/dist/chunks/{websearch-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{websearch-bwy0c07g.js → app-b96cn7zz.js} +11 -11
- package/dist/chunks/{websearch-mtsdzpvy.js → app-bbwqkcqr.js} +32 -32
- package/dist/chunks/{websearch-bpazrep8.js → app-bt3m45q8.js} +9 -9
- package/dist/chunks/{websearch-9ndxe7cf.js → app-c4f2sby5.js} +34 -34
- package/dist/chunks/{websearch-k8bs8205.js → app-c548srbv.js} +11 -11
- package/dist/chunks/{websearch-gv7jatst.js → app-c74z2wy8.js} +43 -43
- package/dist/chunks/{websearch-mxc020gk.js → app-cd5z9b72.js} +49 -49
- package/dist/chunks/{websearch-3yhc99zk.js → app-che7g758.js} +11 -11
- package/dist/chunks/{websearch-4rq26644.js → app-cjbj8cer.js} +5 -5
- package/dist/chunks/{websearch-dbw5xnms.js → app-cssfm7dk.js} +11 -11
- package/dist/chunks/{websearch-r2v45gwg.js → app-cyax57bv.js} +4 -4
- package/dist/chunks/{websearch-h45th2ds.js → app-dg7t82en.js} +27 -27
- package/dist/chunks/{websearch-hw9r87x5.js → app-e2b1ys05.js} +10 -10
- package/dist/chunks/{websearch-5qd3pb7m.js → app-e3qxr5gk.js} +2 -2
- package/dist/chunks/{websearch-7sa9sn7a.js → app-e79sw3j2.js} +27 -27
- package/dist/chunks/{websearch-kg9y2ntz.js → app-ebv0kcgn.js} +4 -4
- package/dist/chunks/{websearch-35p9bx9e.js → app-edvz4h1b.js} +20 -20
- package/dist/chunks/{websearch-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{websearch-10ezvpkj.js → app-eh5brkmg.js} +18 -18
- package/dist/chunks/{websearch-cdyc8mbg.js → app-en7remwr.js} +18 -18
- package/dist/chunks/{websearch-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{websearch-v0mr0657.js → app-ewtj9365.js} +26 -26
- package/dist/chunks/{websearch-h7e5g0tn.js → app-f3j7ywnm.js} +6 -6
- package/dist/chunks/{websearch-ysyw0m6j.js → app-f6wc2q4n.js} +15 -15
- package/dist/chunks/{websearch-71az546q.js → app-f75zav2x.js} +2 -2
- package/dist/chunks/{websearch-esafk7q3.js → app-fcrkznn8.js} +5 -5
- package/dist/chunks/{websearch-006rr4yd.js → app-fdvjt5wn.js} +26 -26
- package/dist/chunks/{websearch-yr6mg933.js → app-fp8wcdtv.js} +9 -9
- package/dist/chunks/{websearch-k6neyz0m.js → app-fvd9f4mn.js} +32 -32
- package/dist/chunks/{websearch-wps1s803.js → app-fy5ttvwe.js} +11 -11
- package/dist/chunks/{websearch-f5v94fes.js → app-g4kysk4p.js} +15 -15
- package/dist/chunks/{websearch-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-wvk530dw.js → app-gfkzenkt.js} +5 -5
- package/dist/chunks/{websearch-j5v8ay3k.js → app-ggttjc8j.js} +18 -18
- package/dist/chunks/{websearch-6prf5v7s.js → app-gpky00x2.js} +4 -4
- package/dist/chunks/{websearch-982jyd3v.js → app-gvqmc7m3.js} +17 -17
- package/dist/chunks/app-gxnhhzv9.js +26 -0
- package/dist/chunks/{websearch-j89jws0x.js → app-h4racawz.js} +5 -5
- package/dist/chunks/{websearch-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-ch8zzvzt.js → app-hdv8n0d2.js} +33 -33
- package/dist/chunks/{websearch-ns5fmth5.js → app-hhzn5z4s.js} +3 -3
- package/dist/chunks/{websearch-ydrjwzz4.js → app-hzny3y8a.js} +25 -25
- package/dist/chunks/{websearch-jt23je0j.js → app-j1vzxwv0.js} +35 -35
- package/dist/chunks/{websearch-7x1at4dn.js → app-j48mxfsb.js} +13 -13
- package/dist/chunks/{websearch-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{websearch-2gxwdmk2.js → app-jdm3n6sf.js} +5 -5
- package/dist/chunks/{websearch-vvccsdf3.js → app-jhf3jymm.js} +6 -6
- package/dist/chunks/{websearch-77602mw0.js → app-jtx23d9m.js} +94 -94
- package/dist/chunks/{websearch-whynf17d.js → app-k376pqv5.js} +9 -9
- package/dist/chunks/{websearch-pjtx22pt.js → app-k3k5vc9k.js} +25 -25
- package/dist/chunks/{websearch-61dymhr3.js → app-k8scpeqb.js} +46 -46
- package/dist/chunks/{websearch-9e5bzkjp.js → app-kb9j3d72.js} +3 -3
- package/dist/chunks/{websearch-c9q80gew.js → app-ky2z2zzr.js} +22 -22
- package/dist/chunks/{websearch-m3fdjcah.js → app-m3fdjcah.js} +1 -1
- package/dist/chunks/{websearch-t7n9q6bq.js → app-m70sbz6t.js} +4 -4
- package/dist/chunks/{websearch-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-840vhfpn.js → app-mrpta61x.js} +7 -7
- package/dist/chunks/{websearch-xs53z2pm.js → app-mwwxnxty.js} +4 -4
- package/dist/chunks/{websearch-kfvft1b1.js → app-myagxq7v.js} +25 -25
- package/dist/chunks/{websearch-vtz2n0ks.js → app-myegs7hd.js} +28 -28
- package/dist/chunks/{websearch-pdzkh7eq.js → app-n6ghhx49.js} +13 -13
- package/dist/chunks/{websearch-jabdm8bj.js → app-n8jbzbza.js} +5 -5
- package/dist/chunks/{websearch-awz7phrz.js → app-n95gdchj.js} +3 -3
- package/dist/chunks/{websearch-dxjbxwhw.js → app-nb8zx5az.js} +16 -16
- package/dist/chunks/{websearch-wzvmtxfv.js → app-nh59bet8.js} +9 -9
- package/dist/chunks/{websearch-zv1drtmj.js → app-nsffqzsr.js} +18 -18
- package/dist/chunks/{websearch-nxm207yx.js → app-nxm207yx.js} +1 -1
- package/dist/chunks/{websearch-q4amnm77.js → app-nz1ghecr.js} +32 -32
- package/dist/chunks/{websearch-3xdhmafy.js → app-nzrh85jz.js} +13 -13
- package/dist/chunks/{websearch-q27r57qz.js → app-pbj1haba.js} +20 -20
- package/dist/chunks/{websearch-8tsdq50x.js → app-pct1c8gm.js} +4 -4
- package/dist/chunks/{websearch-q0cxhhrh.js → app-pj9pwecr.js} +13 -13
- package/dist/chunks/{websearch-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-0cp7wepg.js → app-pq6et22q.js} +13 -13
- package/dist/chunks/{websearch-k8fn7c54.js → app-px4qgdev.js} +29 -29
- package/dist/chunks/{websearch-qdctmj2b.js → app-q0nn7z57.js} +14 -14
- package/dist/chunks/{websearch-6kagjaxc.js → app-q6y0etq2.js} +3 -3
- package/dist/chunks/{websearch-p35qnqvw.js → app-qab72qe3.js} +17 -17
- package/dist/chunks/{websearch-a7qengj0.js → app-qepwbzdj.js} +32 -32
- package/dist/chunks/{websearch-n88rcwe9.js → app-qfvd55q3.js} +3 -3
- package/dist/chunks/{websearch-qnc92qwc.js → app-qnc92qwc.js} +1 -1
- package/dist/chunks/{websearch-mqwxc12a.js → app-qqmaegjt.js} +11 -11
- package/dist/chunks/{websearch-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-j5ytphad.js → app-qx80409e.js} +20 -20
- package/dist/chunks/{websearch-0cnb27jj.js → app-ra1c8wyj.js} +52 -52
- package/dist/chunks/{websearch-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{websearch-m21ceenz.js → app-rsyn2ckf.js} +6 -6
- package/dist/chunks/{websearch-nej48kda.js → app-rw31z61t.js} +35 -35
- package/dist/chunks/{websearch-zcw1eqvx.js → app-s1fs8q6r.js} +20 -20
- package/dist/chunks/{websearch-86eb7x6n.js → app-s5z9kbx9.js} +330 -330
- package/dist/chunks/{websearch-wecqtg5s.js → app-scgrse2b.js} +5 -5
- package/dist/chunks/{websearch-cpnsvgyn.js → app-sfy7ehd8.js} +11 -11
- package/dist/chunks/{websearch-s2v6mes9.js → app-sjvvx1qa.js} +60 -60
- package/dist/chunks/{websearch-tnvc4487.js → app-sk420qmf.js} +1 -1
- package/dist/chunks/{websearch-srq8z0b0.js → app-srq8z0b0.js} +2 -2
- package/dist/chunks/{websearch-kz9v81ff.js → app-ssrrgkwb.js} +25 -25
- package/dist/chunks/{websearch-rhjbct0v.js → app-t550f9t1.js} +4 -4
- package/dist/chunks/{websearch-qkafy0fg.js → app-t79e82xz.js} +24 -24
- package/dist/chunks/{websearch-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-89znhe33.js → app-tcezcvh9.js} +4 -4
- package/dist/chunks/app-tcs06fzy.js +253 -0
- package/dist/chunks/{websearch-rrt0a0ha.js → app-tdhfktd2.js} +3 -3
- package/dist/chunks/{websearch-5pcer2zd.js → app-tdp0st3d.js} +12 -12
- package/dist/chunks/{websearch-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-fpecnkgp.js → app-v0es1rhs.js} +9 -9
- package/dist/chunks/{websearch-5cyaepj1.js → app-v0p45h9m.js} +28 -28
- package/dist/chunks/{websearch-pjv0ea7y.js → app-v3m01vtq.js} +28 -28
- package/dist/chunks/{websearch-4rmtry0w.js → app-va4e1bea.js} +19 -19
- package/dist/chunks/{websearch-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-5n3hf9qe.js → app-vfc7sam6.js} +4 -4
- package/dist/chunks/{websearch-ayk56gb2.js → app-vfwcfwze.js} +11 -11
- package/dist/chunks/app-vnkjks7b.js +18 -0
- package/dist/chunks/{websearch-s6hdbq7w.js → app-vq93hb7v.js} +27 -27
- package/dist/chunks/{websearch-271ks4j7.js → app-vq9dw0ec.js} +5 -5
- package/dist/chunks/{websearch-azy71b5p.js → app-vz2ddh6r.js} +10 -10
- package/dist/chunks/{websearch-vzs5sf6e.js → app-vzs5sf6e.js} +1 -1
- package/dist/chunks/{websearch-was7srj9.js → app-w1ad28wa.js} +8 -8
- package/dist/chunks/{websearch-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-zqvvwnj3.js → app-wcb2d4kv.js} +16 -16
- package/dist/chunks/{websearch-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-ak894bxf.js → app-we7nx0d1.js} +7 -7
- package/dist/chunks/{websearch-azdnrsk3.js → app-wecabfbf.js} +24 -24
- package/dist/chunks/{websearch-tk0jm5ys.js → app-wep0v1av.js} +10 -10
- package/dist/chunks/{websearch-st0npvhs.js → app-wj3p97gz.js} +13 -13
- package/dist/chunks/{websearch-4vdkpn0c.js → app-wr07d2b2.js} +8 -8
- package/dist/chunks/{websearch-vft5y8p3.js → app-wrh6rkj6.js} +12 -12
- package/dist/chunks/{websearch-d7jfs23g.js → app-wtxvq4vf.js} +11 -11
- package/dist/chunks/{websearch-1r3jt38r.js → app-wx8zyhp6.js} +16 -16
- package/dist/chunks/{websearch-bmmnfx8r.js → app-x11j81y8.js} +5 -5
- package/dist/chunks/{websearch-61x3c5p2.js → app-x65vdt4q.js} +9 -9
- package/dist/chunks/{websearch-as7cf5zz.js → app-x674hrsd.js} +4 -4
- package/dist/chunks/{websearch-nakf8p49.js → app-xgxxq3zy.js} +33 -33
- package/dist/chunks/{websearch-xkntkrq7.js → app-xkntkrq7.js} +2 -2
- package/dist/chunks/{websearch-8feg831t.js → app-xkr535z2.js} +23 -23
- package/dist/chunks/{websearch-zw4db5pj.js → app-xmn1nr2d.js} +11 -11
- package/dist/chunks/{websearch-h4aahyek.js → app-xmy5x03q.js} +18 -18
- package/dist/chunks/{websearch-a7bcxdzj.js → app-xs0sd5xy.js} +9 -9
- package/dist/chunks/{websearch-39r5ypbv.js → app-xsnnd65c.js} +23 -23
- package/dist/chunks/{websearch-qxjc9qry.js → app-xyafkbt0.js} +3 -3
- package/dist/chunks/{websearch-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-c29bt6kc.js → app-y2w9x1bq.js} +4 -4
- package/dist/chunks/{websearch-9ctwkt1w.js → app-ye1ez53h.js} +20 -20
- package/dist/chunks/{websearch-grytp6p2.js → app-ynfrtsnr.js} +24 -24
- package/dist/chunks/{websearch-qyhb8vg4.js → app-yvjdnyb5.js} +6 -6
- package/dist/chunks/{websearch-sbvqbenm.js → app-yzmjq8bj.js} +24 -24
- package/dist/chunks/{websearch-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-crwg5b5x.js → app-z3ca2px9.js} +15 -15
- package/dist/chunks/{websearch-eqzjvz86.js → app-z723eh4q.js} +8 -8
- package/dist/chunks/{websearch-r3eec8d1.js → app-zadjm48w.js} +8 -8
- package/dist/chunks/{websearch-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-0nde5ztd.js → app-zw4pk1bw.js} +5 -5
- package/dist/chunks/{websearch-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- 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 +84 -84
- package/dist/config/discovery.js +85 -85
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +71 -71
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +80 -80
- 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 +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- 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 +75 -75
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- 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 +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- 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 +92 -92
- 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 +84 -84
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +352 -352
- package/dist/location.js +88 -88
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +92 -92
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +99 -99
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +96 -96
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- 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 +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- 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 +6 -6
- 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 +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +91 -91
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +92 -92
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- 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 +163 -163
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +76 -76
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +113 -113
- package/dist/snapshot.js +90 -90
- 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 +129 -129
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +106 -106
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +114 -114
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +85 -85
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- 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 +90 -90
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/websearch-4y7b6nne.js +0 -253
- package/dist/chunks/websearch-646er4hm.js +0 -26
- package/dist/chunks/websearch-ht5y0zrb.js +0 -18
- /package/dist/chunks/{websearch-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-34c7v6d4.js → app-34c7v6d4.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3t0ybcrp.js → app-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-84wd9syh.js → app-84wd9syh.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-8wj87zfr.js → app-8wj87zfr.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./app-nb8zx5az.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service49
|
|
9
|
+
} from "./app-xmy5x03q.js";
|
|
10
10
|
import {
|
|
11
11
|
Service6
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-g4kysk4p.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service5
|
|
27
|
+
} from "./app-qab72qe3.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input7,
|
|
36
|
+
Plugin: () => Plugin25,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name7,
|
|
39
|
+
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name7 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input7 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin25 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
61
|
+
const reader = yield* Service5;
|
|
62
|
+
const access = yield* Service49;
|
|
63
63
|
const sessionInstructions = yield* Service6;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name7,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input7,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin9 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent3 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name7, Input7, Plugin25, toModelContent3, exports_read };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-qqmaegjt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./app-wcb2d4kv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID15,
|
|
9
9
|
Event19,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service76
|
|
11
|
+
} from "./app-018ppdfs.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-addxnjmp.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID14,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-dg7t82en.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID13,
|
|
24
|
+
Service74
|
|
25
|
+
} from "./app-79x46kac.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID12
|
|
28
|
+
} from "./app-awm2njxg.js";
|
|
29
29
|
import {
|
|
30
30
|
iife2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./app-1kg9ymc8.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./app-yvjdnyb5.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/azure.ts
|
|
37
37
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -75,19 +75,19 @@ var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.No
|
|
|
75
75
|
var ResourceListing = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
76
76
|
var decodeProfile = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Struct({ subscriptions: Schema.NonEmptyArray(Schema.Unknown) })));
|
|
77
77
|
var decodeResourceListing = Schema.decodeUnknownOption(Schema.Struct({ resourceName: Schema.NonEmptyString, resourceGroup: Schema.String, location: Schema.String }));
|
|
78
|
-
function
|
|
78
|
+
function make5(endpoints = {
|
|
79
79
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
80
80
|
management: "https://management.azure.com"
|
|
81
81
|
}) {
|
|
82
82
|
return define({
|
|
83
83
|
id: "opencode.provider.azure",
|
|
84
84
|
effect: Effect.fn(function* (ctx) {
|
|
85
|
-
const configured = yield* configuredSettings2(
|
|
85
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
86
86
|
const processes = yield* AppProcess.Service;
|
|
87
87
|
const fs = yield* FSUtil.Service;
|
|
88
|
-
const bus = yield*
|
|
89
|
-
const credentials = yield*
|
|
90
|
-
const providers = yield*
|
|
88
|
+
const bus = yield* Service81;
|
|
89
|
+
const credentials = yield* Service76;
|
|
90
|
+
const providers = yield* Service74;
|
|
91
91
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
92
92
|
const tokens = new Map;
|
|
93
93
|
const resourceIDs = new Map;
|
|
@@ -114,7 +114,7 @@ function make11(endpoints = {
|
|
|
114
114
|
const listing = {};
|
|
115
115
|
yield* ctx.integration.transform((editor) => {
|
|
116
116
|
editor.method.update({
|
|
117
|
-
integrationID:
|
|
117
|
+
integrationID: ID13.azure,
|
|
118
118
|
method: {
|
|
119
119
|
type: "key",
|
|
120
120
|
label: "API key",
|
|
@@ -132,7 +132,7 @@ function make11(endpoints = {
|
|
|
132
132
|
if (!available)
|
|
133
133
|
return;
|
|
134
134
|
editor.method.update({
|
|
135
|
-
integrationID:
|
|
135
|
+
integrationID: ID13.azure,
|
|
136
136
|
method: {
|
|
137
137
|
id: methodID,
|
|
138
138
|
type: "external",
|
|
@@ -160,8 +160,8 @@ function make11(endpoints = {
|
|
|
160
160
|
});
|
|
161
161
|
});
|
|
162
162
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
163
|
-
const connection = yield* ctx.integration.connection.active(
|
|
164
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
163
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
164
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
165
165
|
return { connection, resource: credentialResource(stored?.value) };
|
|
166
166
|
});
|
|
167
167
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -200,7 +200,7 @@ function make11(endpoints = {
|
|
|
200
200
|
}));
|
|
201
201
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
202
202
|
const connection = loaded.connection;
|
|
203
|
-
const settings = (yield* providers.get(
|
|
203
|
+
const settings = (yield* providers.get(ID13.azure))?.settings;
|
|
204
204
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
205
205
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
206
206
|
if (loaded.connection !== connection)
|
|
@@ -222,11 +222,11 @@ function make11(endpoints = {
|
|
|
222
222
|
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))));
|
|
223
223
|
if (!found)
|
|
224
224
|
return;
|
|
225
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
225
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
|
|
226
226
|
return;
|
|
227
227
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
228
228
|
return;
|
|
229
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
229
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
|
|
230
230
|
id.toLowerCase(),
|
|
231
231
|
id
|
|
232
232
|
]));
|
|
@@ -239,7 +239,7 @@ function make11(endpoints = {
|
|
|
239
239
|
yield* ctx.model.reload();
|
|
240
240
|
});
|
|
241
241
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
242
|
-
const resourceFor = (provider) => provider.id ===
|
|
242
|
+
const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
243
243
|
Object.assign(loaded, yield* load());
|
|
244
244
|
const listResources = Effect.fn("AzurePlugin.listResources")(function* () {
|
|
245
245
|
const profile = yield* fs.readFileStringSafe(path.join(process.env.AZURE_CONFIG_DIR ?? path.join(Global.Path.home, ".azure"), "azureProfile.json"));
|
|
@@ -264,7 +264,7 @@ function make11(endpoints = {
|
|
|
264
264
|
yield* listResources().pipe(Effect.catch((cause) => Effect.logDebug("failed to list Azure resources", { cause })), Effect.forkScoped);
|
|
265
265
|
yield* ctx.provider.transform((evt) => {
|
|
266
266
|
for (const item of evt.list()) {
|
|
267
|
-
if (item.provider.id !==
|
|
267
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
268
268
|
continue;
|
|
269
269
|
const resourceName = resourceFor(item.provider);
|
|
270
270
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -279,7 +279,7 @@ function make11(endpoints = {
|
|
|
279
279
|
};
|
|
280
280
|
});
|
|
281
281
|
}
|
|
282
|
-
const item = evt.get(
|
|
282
|
+
const item = evt.get(ID13.azure);
|
|
283
283
|
if (!item)
|
|
284
284
|
return;
|
|
285
285
|
evt.add({
|
|
@@ -290,7 +290,7 @@ function make11(endpoints = {
|
|
|
290
290
|
});
|
|
291
291
|
yield* ctx.model.transform((models) => {
|
|
292
292
|
for (const item of models.provider.list()) {
|
|
293
|
-
if (item.provider.id !==
|
|
293
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
294
294
|
continue;
|
|
295
295
|
const resourceName = resourceFor(item.provider);
|
|
296
296
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -302,20 +302,20 @@ function make11(endpoints = {
|
|
|
302
302
|
}
|
|
303
303
|
if (!loaded.deployments)
|
|
304
304
|
return;
|
|
305
|
-
const catalog = models.list(
|
|
305
|
+
const catalog = models.list(ID13.azure);
|
|
306
306
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
307
307
|
for (const model of catalog) {
|
|
308
308
|
if (!deployed.has(model.id))
|
|
309
|
-
models.remove(
|
|
309
|
+
models.remove(ID13.azure, model.id);
|
|
310
310
|
}
|
|
311
311
|
for (const [id, model] of deployed) {
|
|
312
|
-
models.update(
|
|
312
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
313
313
|
}
|
|
314
314
|
});
|
|
315
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
315
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
316
316
|
yield* refresh().pipe(Effect.forkScoped);
|
|
317
317
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
318
|
-
const connection = yield* ctx.integration.connection.active(
|
|
318
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
319
319
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
320
320
|
return;
|
|
321
321
|
})) : undefined;
|
|
@@ -327,7 +327,7 @@ function make11(endpoints = {
|
|
|
327
327
|
return `Bearer ${current.access}`;
|
|
328
328
|
});
|
|
329
329
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
330
|
-
if (evt.model.providerID !==
|
|
330
|
+
if (evt.model.providerID !== ID13.azure)
|
|
331
331
|
return;
|
|
332
332
|
const authorization = yield* bearer(evt.request.url);
|
|
333
333
|
if (!authorization)
|
|
@@ -336,9 +336,9 @@ function make11(endpoints = {
|
|
|
336
336
|
evt.request.headers.delete("x-api-key");
|
|
337
337
|
evt.request.headers.set("authorization", authorization);
|
|
338
338
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
339
|
-
}), { providerID:
|
|
339
|
+
}), { providerID: ID13.azure });
|
|
340
340
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
341
|
-
if (evt.model.providerID !==
|
|
341
|
+
if (evt.model.providerID !== ID13.azure)
|
|
342
342
|
return;
|
|
343
343
|
const authorization = yield* bearer(evt.url);
|
|
344
344
|
if (!authorization)
|
|
@@ -347,11 +347,11 @@ function make11(endpoints = {
|
|
|
347
347
|
delete evt.headers["x-api-key"];
|
|
348
348
|
evt.headers.authorization = authorization;
|
|
349
349
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
350
|
-
}), { providerID:
|
|
350
|
+
}), { providerID: ID13.azure });
|
|
351
351
|
})
|
|
352
352
|
});
|
|
353
353
|
}
|
|
354
|
-
var AzurePlugin2 =
|
|
354
|
+
var AzurePlugin2 = make5();
|
|
355
355
|
function resolveResourceName(settings, fallback) {
|
|
356
356
|
const configured = settings?.resourceName;
|
|
357
357
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -389,11 +389,11 @@ function deployedModels(deployments, catalog) {
|
|
|
389
389
|
const model = catalogModel(models, deployment);
|
|
390
390
|
if (!model)
|
|
391
391
|
return [];
|
|
392
|
-
const id =
|
|
392
|
+
const id = ID12.make(deployment.name.toLowerCase());
|
|
393
393
|
const info = {
|
|
394
394
|
...structuredClone(model),
|
|
395
395
|
id,
|
|
396
|
-
modelID:
|
|
396
|
+
modelID: ID12.make(deployment.name),
|
|
397
397
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
398
398
|
};
|
|
399
399
|
return [[id, info]];
|
|
@@ -415,4 +415,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
415
415
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
416
416
|
}
|
|
417
417
|
|
|
418
|
-
export {
|
|
418
|
+
export { make5, AzurePlugin2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-3cegwx68.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Service83,
|
|
3
|
-
node87
|
|
4
|
-
} from "./websearch-3yhc99zk.js";
|
|
5
|
-
import {
|
|
6
|
-
reserveSequence2,
|
|
7
2
|
Service82,
|
|
8
3
|
node86
|
|
9
|
-
} from "./
|
|
4
|
+
} from "./app-che7g758.js";
|
|
5
|
+
import {
|
|
6
|
+
reserveSequence2,
|
|
7
|
+
Service81,
|
|
8
|
+
node85
|
|
9
|
+
} from "./app-wcb2d4kv.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-xkntkrq7.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./app-z5v4ffb3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./app-3cegwx68.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-kb9j3d72.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./app-ewtj9365.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./app-x674hrsd.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./app-eh5brkmg.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./app-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./app-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node25
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -279,8 +279,8 @@ function projectIdle(db, event) {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
282
|
-
const bus = yield*
|
|
283
|
-
const db = (yield*
|
|
282
|
+
const bus = yield* Service81;
|
|
283
|
+
const db = (yield* Service82).db;
|
|
284
284
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
285
285
|
const stored = yield* db.insert(SessionTable2).values({
|
|
286
286
|
id: event.data.sessionID,
|
|
@@ -467,6 +467,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
467
467
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
468
468
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
469
469
|
}));
|
|
470
|
-
var
|
|
470
|
+
var node25 = makeGlobalNode({ name: "session-projector", layer, deps: [node85, node86] });
|
|
471
471
|
|
|
472
|
-
export { SessionAlreadyProjected2,
|
|
472
|
+
export { SessionAlreadyProjected2, node25, exports_projector };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service34,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service34 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service34, exports_runner };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-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,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service69
|
|
4
|
+
} from "./app-03kct9wb.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin11,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin11 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service69;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin47 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin11, exports_warming };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin23,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin23 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin14 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin23, exports_opencode };
|