@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,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./provider-wkfd3kg3.js";
|
|
7
7
|
import {
|
|
8
8
|
externalDirectoryPermission2,
|
|
9
9
|
Service15
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-2f9fbt2v.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service54
|
|
13
|
+
} from "./provider-nfcew73a.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service11
|
|
16
|
+
} from "./provider-zxkgzhhn.js";
|
|
17
17
|
import {
|
|
18
18
|
NotFound2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./provider-2a5m3afh.js";
|
|
20
20
|
import {
|
|
21
21
|
MEDIA_MIMES2,
|
|
22
22
|
BinaryFileError2,
|
|
@@ -27,26 +27,26 @@ import {
|
|
|
27
27
|
FileContent2,
|
|
28
28
|
TextPage2,
|
|
29
29
|
ListPage2,
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service12
|
|
31
|
+
} from "./provider-efwdxecf.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./provider-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/read.ts
|
|
37
37
|
var exports_read = {};
|
|
38
38
|
__export(exports_read, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input10,
|
|
40
|
+
Plugin: () => Plugin41,
|
|
41
41
|
ReadTool: () => exports_read,
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
42
|
+
name: () => name10,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { basename, dirname, join } from "path";
|
|
46
46
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
48
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
49
|
-
var
|
|
49
|
+
var name10 = "read";
|
|
50
50
|
var FILENAME = "AGENTS.md";
|
|
51
51
|
var LocationInput = Schema.Struct({
|
|
52
52
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -57,22 +57,22 @@ var LocationInput = Schema.Struct({
|
|
|
57
57
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
58
58
|
})
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var Input10 = LocationInput;
|
|
61
61
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
62
|
-
var
|
|
62
|
+
var Plugin41 = {
|
|
63
63
|
id: "opencode.tool.read",
|
|
64
64
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
65
|
-
const reader = yield*
|
|
65
|
+
const reader = yield* Service12;
|
|
66
66
|
const mutation = yield* Service15;
|
|
67
|
-
const permission = yield*
|
|
68
|
-
const sessionInstructions = yield*
|
|
67
|
+
const permission = yield* Service54;
|
|
68
|
+
const sessionInstructions = yield* Service11;
|
|
69
69
|
const fs = yield* FSUtil.Service;
|
|
70
|
-
const location = yield*
|
|
70
|
+
const location = yield* Service76;
|
|
71
71
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
72
|
-
name:
|
|
72
|
+
name: name10,
|
|
73
73
|
options: { codemode: false },
|
|
74
74
|
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.",
|
|
75
|
-
input:
|
|
75
|
+
input: Input10,
|
|
76
76
|
output: Output,
|
|
77
77
|
execute: (input, context) => {
|
|
78
78
|
return Effect.gen(function* () {
|
|
@@ -90,7 +90,7 @@ var Plugin15 = {
|
|
|
90
90
|
source
|
|
91
91
|
});
|
|
92
92
|
yield* permission.assert({
|
|
93
|
-
action:
|
|
93
|
+
action: name10,
|
|
94
94
|
resources: [target.resource],
|
|
95
95
|
save: ["*"],
|
|
96
96
|
sessionID: context.sessionID,
|
|
@@ -141,7 +141,7 @@ var Plugin15 = {
|
|
|
141
141
|
return { output: result.content, path: result.path };
|
|
142
142
|
}).pipe(Effect.map((result) => ({
|
|
143
143
|
output: result.output,
|
|
144
|
-
content:
|
|
144
|
+
content: toModelContent5(result.path, input.offset, result.output),
|
|
145
145
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
146
146
|
})), Effect.mapError((error) => {
|
|
147
147
|
if (error instanceof ToolFailure)
|
|
@@ -173,7 +173,7 @@ ${suggestions.join(`
|
|
|
173
173
|
});
|
|
174
174
|
})
|
|
175
175
|
};
|
|
176
|
-
var
|
|
176
|
+
var toModelContent5 = (path, offset, output) => {
|
|
177
177
|
if (output.type === "file" && output.encoding === "base64")
|
|
178
178
|
return [
|
|
179
179
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -208,4 +208,4 @@ var toModelContent2 = (path, offset, output) => {
|
|
|
208
208
|
`);
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
-
export {
|
|
211
|
+
export { name10, Input10, Plugin41, toModelContent5, exports_read };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./provider-wkfd3kg3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./provider-vqk7jqfs.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-7jjxgj4q.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./provider-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./provider-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin16
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode-ai/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin16 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service62;
|
|
35
|
+
const location = yield* Service76;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin16, exports_reference };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-xchn1187.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-7kpptg10.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service57
|
|
4
|
+
} from "./provider-9ety662n.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service62
|
|
8
|
+
} from "./provider-vqk7jqfs.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-5p910kp8.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service45
|
|
14
|
+
} from "./provider-d8ecvvew.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service54
|
|
18
|
+
} from "./provider-nfcew73a.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service21
|
|
21
|
+
} from "./provider-8ztds29y.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./provider-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make10
|
|
27
|
+
} from "./provider-818qf5z9.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./provider-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input2,
|
|
36
|
+
Output: () => Output2,
|
|
37
|
+
Plugin: () => Plugin32,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
|
-
description: () =>
|
|
40
|
-
name: () =>
|
|
39
|
+
description: () => description2,
|
|
40
|
+
name: () => name2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name2 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input2 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -63,12 +63,12 @@ var Input11 = Schema.Struct({
|
|
|
63
63
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
|
-
var
|
|
66
|
+
var Output2 = Schema.Struct({
|
|
67
67
|
sessionID: SessionSchema2.ID,
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
70
70
|
});
|
|
71
|
-
var
|
|
71
|
+
var description2 = [
|
|
72
72
|
"Spawns an agent in a child session to work on the specified task.",
|
|
73
73
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
74
74
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -77,21 +77,21 @@ var description4 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin32 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
88
|
-
const subagents = yield*
|
|
83
|
+
const sessions = yield* Service21;
|
|
84
|
+
const jobs = yield* Service45;
|
|
85
|
+
const agents = yield* Service57;
|
|
86
|
+
const config = yield* Service62;
|
|
87
|
+
const permission = yield* Service54;
|
|
88
|
+
const subagents = yield* make10;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name2,
|
|
91
91
|
options: { codemode: false },
|
|
92
|
-
description:
|
|
93
|
-
input:
|
|
94
|
-
output:
|
|
92
|
+
description: description2,
|
|
93
|
+
input: Input2,
|
|
94
|
+
output: Output2,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
97
97
|
let current = parent;
|
|
@@ -111,7 +111,7 @@ var Plugin24 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name2,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -134,7 +134,7 @@ var Plugin24 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID8.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name2];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -204,4 +204,4 @@ ${output.output}
|
|
|
204
204
|
})
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { name2, Input2, Output2, description2, Plugin32, exports_subagent };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-qte5mmnh.js";
|
|
4
4
|
import {
|
|
5
5
|
Service16,
|
|
6
6
|
Event2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-3gqntfgq.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
import {
|
|
2
|
+
node60
|
|
3
|
+
} from "./provider-9ety662n.js";
|
|
4
|
+
import {
|
|
5
|
+
node74
|
|
6
|
+
} from "./provider-7tqf86yy.js";
|
|
7
|
+
import {
|
|
8
|
+
node73
|
|
9
|
+
} from "./provider-9be6zmap.js";
|
|
10
|
+
import {
|
|
11
|
+
node71
|
|
12
|
+
} from "./provider-encf5598.js";
|
|
13
|
+
import {
|
|
14
|
+
node70
|
|
15
|
+
} from "./provider-qfzsxjsm.js";
|
|
16
|
+
import {
|
|
17
|
+
node55
|
|
18
|
+
} from "./provider-1sjs8vrb.js";
|
|
19
|
+
import {
|
|
20
|
+
node81,
|
|
21
|
+
boundNode2
|
|
22
|
+
} from "./provider-wkfd3kg3.js";
|
|
23
|
+
import {
|
|
24
|
+
configured7,
|
|
25
|
+
node65
|
|
26
|
+
} from "./provider-vqk7jqfs.js";
|
|
27
|
+
import {
|
|
28
|
+
node77
|
|
29
|
+
} from "./provider-0an26ms7.js";
|
|
30
|
+
import {
|
|
31
|
+
node17
|
|
32
|
+
} from "./provider-1y3t3jga.js";
|
|
33
|
+
import {
|
|
34
|
+
node16
|
|
35
|
+
} from "./provider-4dj65k8e.js";
|
|
36
|
+
import {
|
|
37
|
+
node21
|
|
38
|
+
} from "./provider-13v61wc5.js";
|
|
39
|
+
import {
|
|
40
|
+
node20
|
|
41
|
+
} from "./provider-87687fkt.js";
|
|
42
|
+
import {
|
|
43
|
+
node69
|
|
44
|
+
} from "./provider-ggnnjyyr.js";
|
|
45
|
+
import {
|
|
46
|
+
node44
|
|
47
|
+
} from "./provider-r29jw8yz.js";
|
|
48
|
+
import {
|
|
49
|
+
node46
|
|
50
|
+
} from "./provider-69j7xj95.js";
|
|
51
|
+
import {
|
|
52
|
+
node41
|
|
53
|
+
} from "./provider-7e69hvtd.js";
|
|
54
|
+
import {
|
|
55
|
+
Service32,
|
|
56
|
+
node35
|
|
57
|
+
} from "./provider-n9mr47st.js";
|
|
58
|
+
import {
|
|
59
|
+
node36
|
|
60
|
+
} from "./provider-qey6vfz4.js";
|
|
61
|
+
import {
|
|
62
|
+
node68
|
|
63
|
+
} from "./provider-yzgp7g2d.js";
|
|
64
|
+
import {
|
|
65
|
+
node57
|
|
66
|
+
} from "./provider-nfcew73a.js";
|
|
67
|
+
import {
|
|
68
|
+
node34
|
|
69
|
+
} from "./provider-nbw8mv70.js";
|
|
70
|
+
import {
|
|
71
|
+
configured5,
|
|
72
|
+
node51
|
|
73
|
+
} from "./provider-zhj1bw0n.js";
|
|
74
|
+
import {
|
|
75
|
+
node38
|
|
76
|
+
} from "./provider-vwna6rrk.js";
|
|
77
|
+
import {
|
|
78
|
+
node42
|
|
79
|
+
} from "./provider-fdht7pma.js";
|
|
80
|
+
import {
|
|
81
|
+
node40
|
|
82
|
+
} from "./provider-vhbtg5gj.js";
|
|
83
|
+
import {
|
|
84
|
+
node53
|
|
85
|
+
} from "./provider-7jjxgj4q.js";
|
|
86
|
+
import {
|
|
87
|
+
node31
|
|
88
|
+
} from "./provider-z7y4prgk.js";
|
|
89
|
+
import {
|
|
90
|
+
node56
|
|
91
|
+
} from "./provider-dqarh4b4.js";
|
|
92
|
+
import {
|
|
93
|
+
node39
|
|
94
|
+
} from "./provider-zshmhtvs.js";
|
|
95
|
+
import {
|
|
96
|
+
node28
|
|
97
|
+
} from "./provider-zwcjdryk.js";
|
|
98
|
+
import {
|
|
99
|
+
node61
|
|
100
|
+
} from "./provider-xjn6wd3a.js";
|
|
101
|
+
import {
|
|
102
|
+
node80
|
|
103
|
+
} from "./provider-0e2qvb29.js";
|
|
104
|
+
import {
|
|
105
|
+
node64
|
|
106
|
+
} from "./provider-9zy34hsg.js";
|
|
107
|
+
import {
|
|
108
|
+
node62
|
|
109
|
+
} from "./provider-b60kwn70.js";
|
|
110
|
+
import {
|
|
111
|
+
node47
|
|
112
|
+
} from "./provider-nc3b1wgh.js";
|
|
113
|
+
import {
|
|
114
|
+
node45
|
|
115
|
+
} from "./provider-kdngb1xv.js";
|
|
116
|
+
import {
|
|
117
|
+
node50
|
|
118
|
+
} from "./provider-5g2e3aap.js";
|
|
119
|
+
import {
|
|
120
|
+
node43
|
|
121
|
+
} from "./provider-t22pecrr.js";
|
|
122
|
+
import {
|
|
123
|
+
node24
|
|
124
|
+
} from "./provider-5j6fg35e.js";
|
|
125
|
+
import {
|
|
126
|
+
node2
|
|
127
|
+
} from "./provider-ey5akwsf.js";
|
|
128
|
+
import {
|
|
129
|
+
node18
|
|
130
|
+
} from "./provider-2f9fbt2v.js";
|
|
131
|
+
import {
|
|
132
|
+
node6,
|
|
133
|
+
bound2
|
|
134
|
+
} from "./provider-pae9v2p1.js";
|
|
135
|
+
import {
|
|
136
|
+
node12
|
|
137
|
+
} from "./provider-4297rwmf.js";
|
|
138
|
+
import {
|
|
139
|
+
node14
|
|
140
|
+
} from "./provider-zxkgzhhn.js";
|
|
141
|
+
import {
|
|
142
|
+
node15
|
|
143
|
+
} from "./provider-efwdxecf.js";
|
|
144
|
+
import {
|
|
145
|
+
node4
|
|
146
|
+
} from "./provider-j78wwk7e.js";
|
|
147
|
+
import {
|
|
148
|
+
node3
|
|
149
|
+
} from "./provider-d3hfvarq.js";
|
|
150
|
+
import {
|
|
151
|
+
node23
|
|
152
|
+
} from "./provider-b13177gh.js";
|
|
153
|
+
import {
|
|
154
|
+
node11
|
|
155
|
+
} from "./provider-ff9ttd4n.js";
|
|
156
|
+
import {
|
|
157
|
+
node10
|
|
158
|
+
} from "./provider-dv4b3fh8.js";
|
|
159
|
+
import {
|
|
160
|
+
__export
|
|
161
|
+
} from "./provider-9rqn6x4v.js";
|
|
162
|
+
|
|
163
|
+
// src/instance.ts
|
|
164
|
+
var exports_instance = {};
|
|
165
|
+
__export(exports_instance, {
|
|
166
|
+
Instance: () => exports_instance,
|
|
167
|
+
Service: () => Service32,
|
|
168
|
+
graph: () => graph2,
|
|
169
|
+
layer: () => layer2,
|
|
170
|
+
node: () => node35
|
|
171
|
+
});
|
|
172
|
+
import { Effect, Layer } from "effect";
|
|
173
|
+
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
174
|
+
import { Node } from "@opencode-ai/util/effect/app-node";
|
|
175
|
+
var nodes = [
|
|
176
|
+
node81,
|
|
177
|
+
node77,
|
|
178
|
+
node65,
|
|
179
|
+
node60,
|
|
180
|
+
node55,
|
|
181
|
+
node53,
|
|
182
|
+
node47,
|
|
183
|
+
node50,
|
|
184
|
+
node71,
|
|
185
|
+
node70,
|
|
186
|
+
node69,
|
|
187
|
+
node74,
|
|
188
|
+
node24,
|
|
189
|
+
node68,
|
|
190
|
+
node6,
|
|
191
|
+
node4,
|
|
192
|
+
node3,
|
|
193
|
+
node43,
|
|
194
|
+
node21,
|
|
195
|
+
node20,
|
|
196
|
+
node80,
|
|
197
|
+
node23,
|
|
198
|
+
node62,
|
|
199
|
+
node56,
|
|
200
|
+
node38,
|
|
201
|
+
node51,
|
|
202
|
+
node18,
|
|
203
|
+
node17,
|
|
204
|
+
node16,
|
|
205
|
+
node41,
|
|
206
|
+
node57,
|
|
207
|
+
node42,
|
|
208
|
+
node64,
|
|
209
|
+
node46,
|
|
210
|
+
node39,
|
|
211
|
+
node31,
|
|
212
|
+
node36,
|
|
213
|
+
node73,
|
|
214
|
+
node44,
|
|
215
|
+
node15,
|
|
216
|
+
node40,
|
|
217
|
+
node14,
|
|
218
|
+
node34,
|
|
219
|
+
node12,
|
|
220
|
+
node11,
|
|
221
|
+
node28,
|
|
222
|
+
node61,
|
|
223
|
+
node10,
|
|
224
|
+
node45,
|
|
225
|
+
node2
|
|
226
|
+
];
|
|
227
|
+
var graph2 = LayerNode.group(nodes);
|
|
228
|
+
var vanillaReplacements = [
|
|
229
|
+
node65.replace(configured7({ project: false, global: false })),
|
|
230
|
+
node51.replace(configured5({ project: false, global: false }))
|
|
231
|
+
];
|
|
232
|
+
function layer2(ref, options = {}) {
|
|
233
|
+
const startedAt = performance.now();
|
|
234
|
+
const replacements = [
|
|
235
|
+
...options.discovery === false ? vanillaReplacements : [],
|
|
236
|
+
...options.replacements ?? [],
|
|
237
|
+
node81.replace(boundNode2(ref, { discovery: options.discovery })),
|
|
238
|
+
node6.replace(bound2(options.plugins ?? []))
|
|
239
|
+
];
|
|
240
|
+
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
|
|
241
|
+
directory: ref.directory,
|
|
242
|
+
workspaceID: ref.workspaceID,
|
|
243
|
+
durationMs: Math.round(performance.now() - startedAt)
|
|
244
|
+
})));
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export { graph2, layer2, exports_instance };
|