@opencode-ai/core 0.0.0-dev-19163 → 0.0.0-dev-19167
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 +2 -2
- package/dist/aisdk.js +4 -4
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{pty-4m423yy7.js → provider-03vfzkzq.js} +4 -4
- package/dist/chunks/{pty-daafe3cw.js → provider-0an26ms7.js} +24 -24
- package/dist/chunks/{pty-0e0xafbb.js → provider-0e0xafbb.js} +2 -2
- package/dist/chunks/{pty-qatzdmex.js → provider-0e2qvb29.js} +11 -11
- package/dist/chunks/{pty-8sjvb6k9.js → provider-0gfwxnmp.js} +4 -4
- package/dist/chunks/{pty-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0s9ayhjt.js → provider-0s9ayhjt.js} +1 -1
- package/dist/chunks/{pty-aqf60yyg.js → provider-12fwxsz1.js} +11 -11
- package/dist/chunks/{pty-z9e33hn5.js → provider-13v61wc5.js} +11 -11
- package/dist/chunks/{pty-1ct4r87x.js → provider-1ct4r87x.js} +1 -1
- package/dist/chunks/{pty-dqffspr6.js → provider-1gdnynhy.js} +11 -11
- package/dist/chunks/{pty-htm1sggk.js → provider-1r2601w8.js} +16 -16
- package/dist/chunks/{pty-xvr7v4w4.js → provider-1sjs8vrb.js} +21 -21
- package/dist/chunks/{pty-xazv95zf.js → provider-1txwkh2f.js} +10 -10
- package/dist/chunks/{pty-dw29rff5.js → provider-1wwcepag.js} +27 -27
- package/dist/chunks/{pty-nyr9gh09.js → provider-1y3t3jga.js} +7 -7
- package/dist/chunks/{pty-m8a2ky82.js → provider-1yert1cs.js} +11 -11
- package/dist/chunks/{pty-21r38tys.js → provider-21r38tys.js} +1 -1
- package/dist/chunks/{pty-6h73sxmp.js → provider-2402vzrj.js} +5 -5
- package/dist/chunks/{pty-z63w68vq.js → provider-29x78va6.js} +6 -6
- package/dist/chunks/{pty-2a5m3afh.js → provider-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-zn2pq4p8.js → provider-2ady357n.js} +5 -5
- package/dist/chunks/{pty-1a53kk3r.js → provider-2f9fbt2v.js} +8 -8
- package/dist/chunks/{pty-jkm93dg3.js → provider-2fg54z85.js} +3 -3
- package/dist/chunks/{pty-2ht70gj7.js → provider-2ht70gj7.js} +1 -1
- package/dist/chunks/{pty-6t4t7zkh.js → provider-2kst325v.js} +13 -13
- package/dist/chunks/{pty-8m98nkw1.js → provider-2mdyj6yh.js} +32 -32
- package/dist/chunks/{pty-1wjnnkdq.js → provider-2mrcrp87.js} +31 -31
- package/dist/chunks/{pty-ypf8xw7k.js → provider-2n1s0jqh.js} +4 -4
- package/dist/chunks/{pty-5k3f87xj.js → provider-2rcaaecz.js} +1 -1
- package/dist/chunks/{pty-n38qs1ar.js → provider-2rcn8zjb.js} +9 -9
- package/dist/chunks/{pty-jk2agv8z.js → provider-2x63360j.js} +3 -3
- package/dist/chunks/{pty-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-f1sefvse.js → provider-3gqntfgq.js} +17 -17
- package/dist/chunks/{pty-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-mq0gvw52.js → provider-3pmbcp29.js} +12 -12
- package/dist/chunks/{pty-3qzbfqsy.js → provider-3qzbfqsy.js} +2 -2
- package/dist/chunks/{pty-577kxxzn.js → provider-3rbjgaka.js} +8 -8
- package/dist/chunks/{pty-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-711hfp6y.js → provider-3x6030n9.js} +2 -2
- package/dist/chunks/{pty-eb76gdww.js → provider-3zp16sz2.js} +22 -22
- package/dist/chunks/{pty-c8sxadgy.js → provider-4297rwmf.js} +19 -19
- package/dist/chunks/{pty-s3eqpch7.js → provider-42my878b.js} +1 -1
- package/dist/chunks/{pty-8vdjpmsk.js → provider-448mcdzf.js} +10 -10
- package/dist/chunks/{pty-dajeemk8.js → provider-44rmg5yj.js} +11 -11
- package/dist/chunks/{pty-454k5vzh.js → provider-454k5vzh.js} +1 -1
- package/dist/chunks/{pty-197cqqzc.js → provider-4dj65k8e.js} +7 -7
- package/dist/chunks/{pty-p4q7gpc5.js → provider-4n7667v4.js} +5 -5
- package/dist/chunks/{pty-4r2nyarf.js → provider-4r2nyarf.js} +1 -1
- package/dist/chunks/{pty-8r3ep68x.js → provider-52dgv1qd.js} +28 -28
- package/dist/chunks/{pty-hbgrn803.js → provider-56fdxhwp.js} +8 -8
- package/dist/chunks/{pty-n2srwrws.js → provider-5aegsqc7.js} +22 -22
- package/dist/chunks/{pty-5daktx2q.js → provider-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-5fmxt4p5.js → provider-5fmxt4p5.js} +1 -1
- package/dist/chunks/{pty-0jhvtgy0.js → provider-5g2e3aap.js} +23 -23
- package/dist/chunks/{pty-24hac89k.js → provider-5h2h4z1f.js} +16 -16
- package/dist/chunks/{pty-79swe9gn.js → provider-5j6fg35e.js} +20 -20
- package/dist/chunks/{pty-5jvc5tg2.js → provider-5jvc5tg2.js} +1 -1
- package/dist/chunks/{pty-edj46y5c.js → provider-5mm0tfy6.js} +4 -4
- package/dist/chunks/{pty-qq0tkz6q.js → provider-5p910kp8.js} +3 -3
- package/dist/chunks/{pty-xgdp3zrt.js → provider-641qsbhy.js} +9 -9
- package/dist/chunks/{pty-ja7ysnjt.js → provider-659fgswj.js} +11 -11
- package/dist/chunks/{pty-g0nz2j4g.js → provider-671zgf57.js} +5 -5
- package/dist/chunks/{pty-7w74e5nf.js → provider-69j7xj95.js} +9 -9
- package/dist/chunks/{pty-mtcjf44p.js → provider-6e958v7x.js} +4 -4
- package/dist/chunks/{pty-3vk4r4y0.js → provider-6eedbjdx.js} +20 -20
- package/dist/chunks/{pty-mevw1mz1.js → provider-6g7pxxrt.js} +35 -35
- package/dist/chunks/{pty-f0v448q8.js → provider-6h5wf9jw.js} +5 -5
- package/dist/chunks/{pty-84hk3ncg.js → provider-6khe0rk5.js} +11 -11
- package/dist/chunks/{pty-72nftnjy.js → provider-72nftnjy.js} +2 -2
- package/dist/chunks/{pty-znvcphkc.js → provider-73nqhwcr.js} +4 -4
- package/dist/chunks/{pty-xqsy6kp0.js → provider-79xc10f4.js} +1 -1
- package/dist/chunks/{pty-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-0jwsre1p.js → provider-7dqw4kz8.js} +5 -5
- package/dist/chunks/{pty-6kqyta9q.js → provider-7e69hvtd.js} +46 -46
- package/dist/chunks/{pty-r59d39z4.js → provider-7ewed3mq.js} +15 -15
- package/dist/chunks/{pty-efcf8wyf.js → provider-7gaxprrm.js} +8 -8
- package/dist/chunks/{pty-hdjt7769.js → provider-7jjxgj4q.js} +28 -28
- package/dist/chunks/{pty-x8sc7ayy.js → provider-7jypvd16.js} +14 -14
- package/dist/chunks/{pty-rakype68.js → provider-7kpptg10.js} +1 -1
- package/dist/chunks/{pty-g41n1fn3.js → provider-7tfg2zmn.js} +5 -5
- package/dist/chunks/{pty-3z7ymfy8.js → provider-7tqf86yy.js} +7 -7
- package/dist/chunks/provider-7zk4hah4.js +4 -0
- package/dist/chunks/{pty-t2fc4mz5.js → provider-806j49yq.js} +4 -4
- package/dist/chunks/{pty-kk59jywv.js → provider-818qf5z9.js} +11 -11
- package/dist/chunks/{pty-96t26a3p.js → provider-853kgd97.js} +11 -11
- package/dist/chunks/{pty-vvqvsvmp.js → provider-87687fkt.js} +8 -8
- package/dist/chunks/{pty-9d4efts8.js → provider-892hb7ze.js} +5 -5
- package/dist/chunks/{pty-r6sc6mvs.js → provider-8g54fgwv.js} +282 -282
- package/dist/chunks/{pty-f3wdts17.js → provider-8gq481r1.js} +4 -4
- package/dist/chunks/{pty-w53v2v29.js → provider-8ztds29y.js} +81 -81
- package/dist/chunks/{pty-zt0ezf4m.js → provider-9be6zmap.js} +23 -23
- package/dist/chunks/{pty-424y433t.js → provider-9ety662n.js} +24 -24
- package/dist/chunks/{pty-emveyfrq.js → provider-9rrsjx5v.js} +21 -21
- package/dist/chunks/{pty-cd07jt91.js → provider-9zy34hsg.js} +12 -12
- package/dist/chunks/{pty-dr4sghex.js → provider-a2z678qc.js} +11 -11
- package/dist/chunks/{pty-4q10ewvh.js → provider-a4mp6cfj.js} +44 -44
- package/dist/chunks/{pty-aaet6srn.js → provider-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-18m7380n.js → provider-affy9bjp.js} +10 -10
- package/dist/chunks/{pty-ry0tsm5j.js → provider-apngs9tj.js} +7 -7
- package/dist/chunks/{pty-v2yjmh4r.js → provider-b0hcp35g.js} +9 -9
- package/dist/chunks/{pty-mcxg6pmm.js → provider-b0z70ywn.js} +1 -1
- package/dist/chunks/{pty-95andwzg.js → provider-b13177gh.js} +34 -34
- package/dist/chunks/{pty-gm79ndkw.js → provider-b60kwn70.js} +47 -47
- package/dist/chunks/{pty-b6gygkdw.js → provider-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-np8tmzys.js → provider-b9rr2wfs.js} +15 -15
- package/dist/chunks/{pty-b9wsbatv.js → provider-b9wsbatv.js} +1 -1
- package/dist/chunks/{pty-14hw9dzz.js → provider-bd3tpn96.js} +25 -25
- package/dist/chunks/{pty-qkzfms5c.js → provider-bfhprby2.js} +4 -4
- package/dist/chunks/{pty-ps7vy79j.js → provider-bh14fpxk.js} +11 -11
- package/dist/chunks/{pty-bsvvsrn1.js → provider-bphmvjfp.js} +5 -5
- package/dist/chunks/{pty-rjszc2zh.js → provider-bq9d524y.js} +26 -26
- package/dist/chunks/{pty-yrzsrb4b.js → provider-cb182ger.js} +7 -7
- package/dist/chunks/{pty-c9xamxgt.js → provider-cgmv5ttt.js} +8 -8
- package/dist/chunks/{pty-x97dk724.js → provider-d3hfvarq.js} +20 -20
- package/dist/chunks/{pty-y0p5t1h8.js → provider-d8ecvvew.js} +17 -17
- package/dist/chunks/{pty-0ez61b8c.js → provider-de8s0qqs.js} +4 -2
- package/dist/chunks/{pty-bhg5kqfm.js → provider-dpfrdvp5.js} +14 -14
- package/dist/chunks/{pty-kmm37hgd.js → provider-dqarh4b4.js} +24 -24
- package/dist/chunks/{pty-xykes5tk.js → provider-dv4b3fh8.js} +64 -64
- package/dist/chunks/provider-dxj72tfx.js +18 -0
- package/dist/chunks/{pty-ysg26a53.js → provider-dy4ht7ys.js} +167 -167
- package/dist/chunks/{pty-zv0yd62f.js → provider-dzwkm0n0.js} +11 -11
- package/dist/chunks/{pty-rhmzvdhw.js → provider-e76cs59w.js} +8 -8
- package/dist/chunks/{pty-vknt59z3.js → provider-efwdxecf.js} +15 -15
- package/dist/chunks/{pty-czdk2zk8.js → provider-encf5598.js} +24 -24
- package/dist/chunks/{pty-wfk53g9c.js → provider-epazzsys.js} +11 -11
- package/dist/chunks/{pty-rkj48kta.js → provider-ess3gj99.js} +24 -24
- package/dist/chunks/{pty-7xskqjj7.js → provider-esv8q2ns.js} +29 -29
- package/dist/chunks/{pty-h7ywdgbk.js → provider-ey5akwsf.js} +33 -33
- package/dist/chunks/{pty-8f4vc4xx.js → provider-f4g7wt00.js} +12 -12
- package/dist/chunks/{pty-m98c39mt.js → provider-fdht7pma.js} +22 -22
- package/dist/chunks/{pty-gs214jzb.js → provider-ff9ttd4n.js} +26 -26
- package/dist/chunks/{pty-hspkxs5s.js → provider-fhmdyj6b.js} +2 -2
- package/dist/chunks/{pty-86s3977f.js → provider-fhvjqr7f.js} +1 -1
- package/dist/chunks/{pty-a8ez5wrk.js → provider-fryhykgw.js} +21 -21
- package/dist/chunks/{pty-fxbjtjnd.js → provider-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-fxypknc8.js → provider-fxypknc8.js} +1 -1
- package/dist/chunks/{pty-1n116cmy.js → provider-g0ysksx1.js} +9 -9
- package/dist/chunks/{pty-4z6b0fg6.js → provider-g19vc6v7.js} +6 -6
- package/dist/chunks/{pty-hrvm11jt.js → provider-g2dy4bvs.js} +3 -3
- package/dist/chunks/{pty-d72308c8.js → provider-g2gt0w0k.js} +2 -2
- package/dist/chunks/{pty-s34rn1a3.js → provider-g91mrpv7.js} +31 -31
- package/dist/chunks/{pty-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-q6yya7b3.js → provider-gfhhve88.js} +5 -5
- package/dist/chunks/{pty-d2degc6b.js → provider-ggnnjyyr.js} +33 -33
- package/dist/chunks/{pty-fkjvn1ms.js → provider-gm2nd0w6.js} +8 -8
- package/dist/chunks/{pty-yjkzbzhw.js → provider-gpyn4hbp.js} +49 -49
- package/dist/chunks/{pty-2b4wwmr0.js → provider-h182avfb.js} +9 -9
- package/dist/chunks/{pty-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-13bwbegs.js → provider-h7e5g0tn.js} +6 -6
- package/dist/chunks/{pty-dh8qxndx.js → provider-hcbz9q61.js} +4 -4
- package/dist/chunks/{pty-wb7d89zp.js → provider-hcg81cqs.js} +10 -10
- package/dist/chunks/{pty-v8qpgep3.js → provider-hdt492b8.js} +16 -16
- package/dist/chunks/{pty-heyhwy2w.js → provider-heyhwy2w.js} +1 -1
- package/dist/chunks/{pty-93a8yfjt.js → provider-hhpzk61m.js} +2 -2
- package/dist/chunks/{pty-mj1y46es.js → provider-hqdatdk6.js} +15 -15
- package/dist/chunks/{pty-r23rhjn4.js → provider-hvpcewnc.js} +17 -17
- package/dist/chunks/{pty-23eh64wy.js → provider-hz02q9m3.js} +18 -18
- package/dist/chunks/{pty-mhkvc446.js → provider-j028xdjb.js} +3 -3
- package/dist/chunks/{pty-10jtetaj.js → provider-j5208yae.js} +4 -4
- package/dist/chunks/{pty-kmmek74m.js → provider-j78wwk7e.js} +35 -35
- package/dist/chunks/{pty-paphc93g.js → provider-j935v87r.js} +2 -2
- package/dist/chunks/{pty-zrtmz43p.js → provider-j9qb87cx.js} +24 -24
- package/dist/chunks/{pty-330abkrs.js → provider-jb91wb7s.js} +8 -8
- package/dist/chunks/{pty-cqdg1gmd.js → provider-jdneq8r1.js} +15 -15
- package/dist/chunks/{pty-e5b0qn1c.js → provider-jp5dra8g.js} +1 -1
- package/dist/chunks/{pty-6hjfxebm.js → provider-jvaeg9cc.js} +18 -18
- package/dist/chunks/{pty-k4bwy1x5.js → provider-k4bwy1x5.js} +1 -1
- package/dist/chunks/{pty-jzd86gch.js → provider-kdngb1xv.js} +20 -20
- package/dist/chunks/{pty-bdzxech8.js → provider-kfsq4zjw.js} +9 -9
- package/dist/chunks/{pty-kg06axw8.js → provider-kg06axw8.js} +1 -1
- package/dist/chunks/{pty-7d25qaph.js → provider-ksd37v8k.js} +12 -12
- package/dist/chunks/{pty-hw4pv20g.js → provider-kvsjn1dr.js} +2 -2
- package/dist/chunks/{pty-9cb708z9.js → provider-kwdr293w.js} +10 -10
- package/dist/chunks/{pty-ttmf2k06.js → provider-m1nyv0n4.js} +8 -8
- package/dist/chunks/{pty-7vdhmnjr.js → provider-m3g36xn6.js} +14 -14
- package/dist/chunks/{pty-b3cmtr1b.js → provider-m53hvte5.js} +9 -9
- package/dist/chunks/{pty-3dxrpf6g.js → provider-m54g5aqe.js} +23 -23
- package/dist/chunks/{pty-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-h9yys4qj.js → provider-m9zrzv44.js} +43 -43
- package/dist/chunks/{pty-m1wfp3t7.js → provider-me1jjq5a.js} +9 -9
- package/dist/chunks/{pty-ja1egbcz.js → provider-mnne67dr.js} +23 -23
- package/dist/chunks/{pty-z78tg67p.js → provider-n4z1ma14.js} +5 -5
- package/dist/chunks/{pty-jpg38yrs.js → provider-n9mr47st.js} +6 -6
- package/dist/chunks/{pty-e2xsqmtw.js → provider-nbw8mv70.js} +13 -13
- package/dist/chunks/{pty-mqfwwqaz.js → provider-nc3b1wgh.js} +15 -15
- package/dist/chunks/{pty-vy6rh34j.js → provider-nfcew73a.js} +56 -56
- package/dist/chunks/{pty-hj3nn2ka.js → provider-nj1fe1jb.js} +20 -20
- package/dist/chunks/{pty-jhr1c1vq.js → provider-ns2ynd12.js} +31 -31
- package/dist/chunks/{pty-2pgk7vty.js → provider-nw5vcmzd.js} +2 -2
- package/dist/chunks/{pty-4ga1afgc.js → provider-nyz6bxeq.js} +27 -27
- package/dist/chunks/{pty-9c013v9n.js → provider-p166mkhm.js} +29 -29
- package/dist/chunks/{pty-pae9v2p1.js → provider-pae9v2p1.js} +1 -1
- package/dist/chunks/{pty-d09xjcdz.js → provider-pdsr7cn0.js} +13 -13
- package/dist/chunks/{pty-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → provider-pknna89w.js} +1 -1
- package/dist/chunks/{pty-y7gew26p.js → provider-pnhc5zr1.js} +3 -3
- package/dist/chunks/{pty-qv548fbc.js → provider-pnk3f66d.js} +41 -41
- package/dist/chunks/{pty-st4exd81.js → provider-psvzf7ga.js} +2 -2
- package/dist/chunks/provider-pv1faaae.js +247 -0
- package/dist/chunks/{pty-j2w5jyet.js → provider-pvwgdgnb.js} +28 -28
- package/dist/chunks/{pty-a65r260q.js → provider-qey6vfz4.js} +15 -15
- package/dist/chunks/{pty-wcx5mfjt.js → provider-qfzsxjsm.js} +25 -25
- package/dist/chunks/provider-qgmahjq5.js +51 -0
- package/dist/chunks/{pty-qsdy395h.js → provider-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-qyhcknjv.js → provider-qte5mmnh.js} +4 -4
- package/dist/chunks/{pty-9qm9egsn.js → provider-qvbcabdc.js} +2 -2
- package/dist/chunks/{pty-stxyg5sw.js → provider-qwz28wt1.js} +13 -13
- package/dist/chunks/{pty-pytss4s1.js → provider-qxd9wqy8.js} +14 -14
- package/dist/chunks/{pty-edfr7fce.js → provider-qyjj80vx.js} +10 -10
- package/dist/chunks/{pty-74hz777x.js → provider-r29jw8yz.js} +17 -17
- package/dist/chunks/{pty-ab9238g2.js → provider-r33ff4dw.js} +4 -4
- package/dist/chunks/{pty-r8dhm0tv.js → provider-r8dhm0tv.js} +1 -1
- package/dist/chunks/{pty-ebavfnsr.js → provider-rxyedsv0.js} +6 -6
- package/dist/chunks/{pty-ggk3wd08.js → provider-s0eq18p3.js} +7 -7
- package/dist/chunks/{pty-xkc3e3r9.js → provider-s7m5rr3e.js} +20 -20
- package/dist/chunks/{pty-sba4qhjf.js → provider-sba4qhjf.js} +1 -1
- package/dist/chunks/{pty-vcdr3jqb.js → provider-sm99xz24.js} +3 -3
- package/dist/chunks/provider-stfyv1aw.js +22 -0
- package/dist/chunks/{pty-kw39nwz6.js → provider-sz27z7nv.js} +26 -26
- package/dist/chunks/{pty-cd5w3ehc.js → provider-t1hbjjff.js} +46 -46
- package/dist/chunks/{pty-mvw1ngtk.js → provider-t22pecrr.js} +37 -37
- package/dist/chunks/{pty-n8qe30xq.js → provider-t4es3k9e.js} +9 -9
- package/dist/chunks/{pty-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
- package/dist/chunks/{pty-tjykrgmx.js → provider-tjykrgmx.js} +1 -1
- package/dist/chunks/{pty-cjw2t2ym.js → provider-tsbgh63p.js} +6 -6
- package/dist/chunks/{pty-evgernt9.js → provider-ttvaqn65.js} +9 -9
- package/dist/chunks/{pty-hh9b9ghc.js → provider-txfvyzt9.js} +5 -5
- package/dist/chunks/{pty-46e97tr7.js → provider-v08zexc0.js} +10 -10
- package/dist/chunks/{pty-8wktkxzr.js → provider-v33hnsqv.js} +10 -10
- package/dist/chunks/{pty-hp466exx.js → provider-v44x7myj.js} +10 -10
- package/dist/chunks/{pty-kc9eqfnd.js → provider-v4e1m8df.js} +27 -27
- package/dist/chunks/{pty-7afcqx0a.js → provider-vhbtg5gj.js} +25 -25
- package/dist/chunks/{pty-2g2ws9me.js → provider-vhct9xs4.js} +9 -9
- package/dist/chunks/{pty-0v53mg2y.js → provider-vncycja5.js} +4 -4
- package/dist/chunks/{pty-7egpt7q5.js → provider-vqk7jqfs.js} +43 -43
- package/dist/chunks/{pty-xb34m1tb.js → provider-vwna6rrk.js} +16 -16
- package/dist/chunks/{pty-14hmenm3.js → provider-vwwkt776.js} +3 -3
- package/dist/chunks/{pty-b742egg5.js → provider-vzcqb4ye.js} +27 -27
- package/dist/chunks/{pty-6z5bwd8g.js → provider-w3jym6ha.js} +6 -6
- package/dist/chunks/{pty-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-vdjb0chr.js → provider-w8e4nwz3.js} +4 -4
- package/dist/chunks/{pty-wd87259q.js → provider-wd87259q.js} +1 -1
- package/dist/chunks/{pty-92c2hcx4.js → provider-wkfd3kg3.js} +16 -16
- package/dist/chunks/{pty-sm7swcp1.js → provider-wrwb82ns.js} +18 -18
- package/dist/chunks/{pty-jj3qxa52.js → provider-wsfy2223.js} +4 -4
- package/dist/chunks/{pty-x1ezjp6w.js → provider-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-f8jgm434.js → provider-xc5kj15j.js} +6 -6
- package/dist/chunks/{pty-71528wd2.js → provider-xchn1187.js} +7 -7
- package/dist/chunks/{pty-g3m9axkp.js → provider-xg9wzphz.js} +4 -4
- package/dist/chunks/{pty-1v32g1wv.js → provider-xjn6wd3a.js} +24 -24
- package/dist/chunks/{pty-rnswsqfz.js → provider-xp0tb8fr.js} +9 -9
- package/dist/chunks/{pty-4vefptct.js → provider-xpfgzvr8.js} +7 -7
- package/dist/chunks/{pty-ap3jkc54.js → provider-xqywgcz5.js} +14 -14
- package/dist/chunks/{pty-bp916t1p.js → provider-xtddbfj7.js} +6 -6
- package/dist/chunks/{pty-19sjfhb0.js → provider-y0v6q609.js} +11 -11
- package/dist/chunks/{pty-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-y71avatq.js → provider-y71avatq.js} +1 -1
- package/dist/chunks/{pty-kx2gvdct.js → provider-yd25cjpk.js} +4 -4
- package/dist/chunks/{pty-yfbd16n1.js → provider-yfbd16n1.js} +2 -2
- package/dist/chunks/{pty-tdrv38f9.js → provider-yfvv8zpt.js} +9 -9
- package/dist/chunks/{pty-ajtjthsy.js → provider-yg7sb877.js} +2 -2
- package/dist/chunks/{pty-k3ed8yxa.js → provider-yzgp7g2d.js} +8 -8
- package/dist/chunks/{pty-z1k01bn4.js → provider-z1k01bn4.js} +2 -2
- package/dist/chunks/{pty-vep9yay1.js → provider-z3xgatyd.js} +4 -4
- package/dist/chunks/{pty-bgjnmd4j.js → provider-z7y4prgk.js} +18 -18
- package/dist/chunks/{pty-fh5krs60.js → provider-zhj1bw0n.js} +24 -24
- package/dist/chunks/{pty-39cxv2jc.js → provider-zjam9g86.js} +6 -6
- package/dist/chunks/{pty-2xe3bfbr.js → provider-zm4j8yda.js} +41 -41
- package/dist/chunks/{pty-p3wf1qr1.js → provider-zshmhtvs.js} +20 -20
- package/dist/chunks/{pty-yzx76hw4.js → provider-ztade2sn.js} +15 -15
- package/dist/chunks/{pty-mz3gf8c0.js → provider-zwcjdryk.js} +83 -83
- package/dist/chunks/{pty-hv2h1j34.js → provider-zxkgzhhn.js} +19 -19
- package/dist/chunks/{pty-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-mutation.js +85 -85
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +89 -89
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +90 -90
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +78 -78
- package/dist/generate.js +88 -88
- package/dist/git.js +7 -7
- 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 +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +77 -77
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +346 -346
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +83 -83
- package/dist/model.js +8 -8
- package/dist/models-dev.js +74 -74
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +337 -337
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +87 -87
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +145 -145
- 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 +214 -214
- package/dist/session/execution.js +118 -118
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +78 -78
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +82 -82
- 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 +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +84 -84
- 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 +117 -117
- package/dist/tool/plugin/edit.js +112 -112
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +113 -113
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +102 -102
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -9
- package/dist/chunks/pty-1x11rq2a.js +0 -18
- package/dist/chunks/pty-4y7bcn0g.js +0 -4
- package/dist/chunks/pty-580rqf4t.js +0 -247
- package/dist/chunks/pty-rmy3e5eg.js +0 -103
- package/dist/chunks/pty-tek6fqmc.js +0 -22
- /package/dist/chunks/{pty-0fabt78z.js → provider-0fabt78z.js} +0 -0
- /package/dist/chunks/{pty-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → provider-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → provider-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → provider-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3t738kvx.js → provider-3t738kvx.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-41nvscxy.js → provider-41nvscxy.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → provider-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → provider-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → provider-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → provider-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → provider-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → provider-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-982e01ww.js → provider-982e01ww.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a1tpkmh4.js → provider-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → provider-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → provider-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → provider-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → provider-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → provider-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → provider-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → provider-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → provider-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → provider-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → provider-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → provider-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → provider-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mntxs535.js → provider-mntxs535.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → provider-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → provider-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-p8qxwesx.js → provider-p8qxwesx.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → provider-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-se0s1eqw.js → provider-se0s1eqw.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → provider-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → provider-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → provider-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → provider-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x1b8g1yb.js → provider-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → provider-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → provider-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → provider-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → provider-z9919s4g.js} +0 -0
- /package/dist/chunks/{pty-zbjnn3ac.js → provider-zbjnn3ac.js} +0 -0
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node83
|
|
7
|
+
} from "./provider-v08zexc0.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
ID18
|
|
10
|
+
} from "./provider-xp0tb8fr.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./provider-2x63360j.js";
|
|
18
18
|
import {
|
|
19
19
|
Service79,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./provider-qte5mmnh.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./provider-qvbcabdc.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./provider-yg7sb877.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service76,
|
|
30
|
+
node81
|
|
31
|
+
} from "./provider-wkfd3kg3.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
34
|
canonical2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./provider-hhpzk61m.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make17
|
|
38
|
+
} from "./provider-m1nyv0n4.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./provider-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./provider-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event6,
|
|
53
|
+
Info: () => Info6,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service40,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node43
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -76,17 +76,17 @@ import { AppProcess } from "@opencode-ai/util/process";
|
|
|
76
76
|
import { ChildProcess } from "effect/unstable/process";
|
|
77
77
|
import { OperationError as OperationError2 } from "@opencode-ai/schema/worktree";
|
|
78
78
|
var StrategyID2 = Worktree.StrategyID;
|
|
79
|
-
var
|
|
79
|
+
var CreateInput3 = Worktree.CreateInput;
|
|
80
80
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
81
81
|
var RefreshResult2 = Schema.Struct({
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info6 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
89
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
89
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event6 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service40 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
109
|
const database = yield* Service80;
|
|
110
110
|
const db = database.db;
|
|
111
111
|
const bus = yield* Service79;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service76;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
117
|
-
const gitStrategy = yield*
|
|
117
|
+
const gitStrategy = yield* make17;
|
|
118
118
|
const state = create3({
|
|
119
119
|
name: "worktree",
|
|
120
120
|
initial: () => ({
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event6.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -259,7 +259,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
259
259
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
260
260
|
return changes;
|
|
261
261
|
});
|
|
262
|
-
return
|
|
262
|
+
return Service40.of({
|
|
263
263
|
transform: state.transform,
|
|
264
264
|
reload: state.reload,
|
|
265
265
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -271,10 +271,10 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
271
271
|
refresh
|
|
272
272
|
});
|
|
273
273
|
}));
|
|
274
|
-
var
|
|
275
|
-
service:
|
|
274
|
+
var node43 = makeLocationNode({
|
|
275
|
+
service: Service40,
|
|
276
276
|
layer,
|
|
277
|
-
deps: [FSUtil.node,
|
|
277
|
+
deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
|
|
278
278
|
});
|
|
279
279
|
function operationError(strategy, operation, error) {
|
|
280
280
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -284,4 +284,4 @@ function operationError(strategy, operation, error) {
|
|
|
284
284
|
});
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
export { StrategyID2,
|
|
287
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info6, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event6, Service40, node43, exports_worktree2, OperationError2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service6,
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode-ai/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service6 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service6.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node8 = makeGlobalNode({ service: Service6, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service6, node8, exports_update };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-epazzsys.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID15
|
|
6
|
+
} from "./provider-g19vc6v7.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-apngs9tj.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode-ai/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID15.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-g19vc6v7.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service62
|
|
8
|
+
} from "./provider-vqk7jqfs.js";
|
|
9
9
|
import {
|
|
10
10
|
observe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-qsdy395h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/config/plugin/provider.ts
|
|
17
17
|
var exports_provider = {};
|
|
18
18
|
__export(exports_provider, {
|
|
19
19
|
ConfigProviderPlugin: () => exports_provider,
|
|
20
|
-
Plugin: () =>
|
|
20
|
+
Plugin: () => Plugin17
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
23
23
|
import { Money } from "@opencode-ai/schema/money";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin17 = define({
|
|
26
26
|
id: "opencode.config.provider",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
28
|
+
const config = yield* Service62;
|
|
29
29
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
30
30
|
yield* ctx.integration.transform((integrations) => {
|
|
31
31
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -151,4 +151,4 @@ function configuredProviders(entries) {
|
|
|
151
151
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
export {
|
|
154
|
+
export { Plugin17, exports_provider };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-g19vc6v7.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/variant.ts
|
|
10
10
|
var exports_variant = {};
|
|
11
11
|
__export(exports_variant, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin29,
|
|
13
13
|
VariantPlugin: () => exports_variant,
|
|
14
14
|
generate: () => generate2
|
|
15
15
|
});
|
|
16
16
|
import { Effect } from "effect";
|
|
17
17
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
18
18
|
import { Model } from "@opencode-ai/schema/model";
|
|
19
|
-
var
|
|
19
|
+
var Plugin29 = define({
|
|
20
20
|
id: "opencode.variant",
|
|
21
21
|
effect: Effect.fn(function* (ctx) {
|
|
22
22
|
yield* ctx.catalog.transform((catalog) => {
|
|
@@ -52,4 +52,4 @@ function generate2(model, provider) {
|
|
|
52
52
|
}));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Plugin29, generate2, exports_variant };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/git.ts
|
|
13
13
|
var exports_git3 = {};
|
|
@@ -15,11 +15,11 @@ __export(exports_git3, {
|
|
|
15
15
|
Git: () => exports_git3,
|
|
16
16
|
OperationError: () => OperationError3,
|
|
17
17
|
Repository: () => Repository2,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service78,
|
|
19
19
|
TreeID: () => TreeID2,
|
|
20
20
|
Worktree: () => Worktree2,
|
|
21
21
|
WorktreeError: () => WorktreeError2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node83
|
|
23
23
|
});
|
|
24
24
|
import path from "path";
|
|
25
25
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
class
|
|
88
|
+
class Service78 extends Context.Service()("@opencode/Git") {
|
|
89
89
|
}
|
|
90
|
-
var layer = Layer.effect(
|
|
90
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
91
91
|
const fs = yield* FSUtil.Service;
|
|
92
92
|
const proc = yield* AppProcess.Service;
|
|
93
93
|
const locks = makeUnsafe2();
|
|
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
409
409
|
kind: index === 0 ? "main" : "linked"
|
|
410
410
|
}));
|
|
411
411
|
});
|
|
412
|
-
return
|
|
412
|
+
return Service78.of({
|
|
413
413
|
repo: { discover, clone, create },
|
|
414
414
|
remote: { get: remote },
|
|
415
415
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
}));
|
|
428
|
-
var
|
|
428
|
+
var node83 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
429
429
|
function run(cwd, proc, args) {
|
|
430
430
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
431
431
|
}
|
|
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
|
|
|
450
450
|
return path.resolve(cwd, normalized);
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
453
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node83, exports_git3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID14
|
|
3
|
+
} from "./provider-f4g7wt00.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./provider-vqk7jqfs.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-apngs9tj.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service62;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
catalog.model.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID14.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make5();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make5, VLLMPlugin2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service46,
|
|
3
|
+
node49,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./provider-gm2nd0w6.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service32,
|
|
8
|
+
node35
|
|
9
|
+
} from "./provider-n9mr47st.js";
|
|
10
10
|
import {
|
|
11
11
|
layer2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-pv1faaae.js";
|
|
13
13
|
|
|
14
14
|
// src/location-services.ts
|
|
15
15
|
import { Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
16
16
|
function buildLocationServiceMap2(replacements = []) {
|
|
17
|
-
return Layer.effect(
|
|
17
|
+
return Layer.effect(Service46, Effect.gen(function* () {
|
|
18
18
|
const owner = yield* Effect.scope;
|
|
19
19
|
const booting = MutableHashMap.empty();
|
|
20
20
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -42,11 +42,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
42
42
|
})
|
|
43
43
|
};
|
|
44
44
|
const bindings = [
|
|
45
|
-
|
|
45
|
+
node35.replace(Layer.succeed(Service32, {
|
|
46
46
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
47
47
|
})),
|
|
48
48
|
...replacements,
|
|
49
|
-
|
|
49
|
+
node49.replace(Layer.succeed(Service46, map))
|
|
50
50
|
];
|
|
51
51
|
return map;
|
|
52
52
|
}));
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./provider-ess3gj99.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./provider-wkfd3kg3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service62
|
|
12
|
+
} from "./provider-vqk7jqfs.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./provider-dqarh4b4.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service10
|
|
20
|
+
} from "./provider-2rcn8zjb.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-zjam9g86.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./provider-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill = {};
|
|
30
|
+
__export(exports_skill, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
+
Plugin: () => Plugin14
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode-ai/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin14 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service62;
|
|
43
|
+
const discovery = yield* Service10;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service76;
|
|
47
|
+
const watcher = yield* Service63;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin38 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -117,7 +117,7 @@ var Plugin38 = define({
|
|
|
117
117
|
};
|
|
118
118
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
119
119
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
120
|
-
source:
|
|
120
|
+
source: Source4.key(source),
|
|
121
121
|
cause
|
|
122
122
|
}).pipe(Effect.as([]))));
|
|
123
123
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -146,7 +146,7 @@ var Plugin38 = define({
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
yield* Effect.logDebug("skill source loaded", {
|
|
149
|
-
source:
|
|
149
|
+
source: Source4.key(source),
|
|
150
150
|
type: source.type,
|
|
151
151
|
directories,
|
|
152
152
|
skills: skills.map((skill) => skill.id)
|
|
@@ -165,7 +165,7 @@ var Plugin38 = define({
|
|
|
165
165
|
if (file) {
|
|
166
166
|
yield* Effect.logInfo("skills rescanned", {
|
|
167
167
|
file,
|
|
168
|
-
sources: current.map(
|
|
168
|
+
sources: current.map(Source4.key),
|
|
169
169
|
skills: loaded.skills.map((skill) => skill.id)
|
|
170
170
|
});
|
|
171
171
|
}
|
|
@@ -181,4 +181,4 @@ var Plugin38 = define({
|
|
|
181
181
|
})
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Plugin14, exports_skill };
|