@opencode/core 0.0.0-dev-20364 → 0.0.0-dev-20367
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{websearch-0ypjagag.js → job-05y342xm.js} +45 -45
- package/dist/chunks/{websearch-s8d7rejh.js → job-0gdmqesm.js} +4 -4
- package/dist/chunks/{websearch-2av1ykjg.js → job-0gtfmam4.js} +8 -8
- package/dist/chunks/{websearch-dz3wwjp4.js → job-0jbb0jam.js} +13 -13
- package/dist/chunks/{websearch-9r15s34d.js → job-0jkw1j53.js} +6 -6
- package/dist/chunks/{websearch-fcrkznn8.js → job-0jwsre1p.js} +5 -5
- package/dist/chunks/{websearch-12zefq54.js → job-0m0bz9f8.js} +11 -11
- package/dist/chunks/{websearch-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{websearch-gsx4bp2s.js → job-11h6rw47.js} +31 -31
- package/dist/chunks/{websearch-ja2zj2c0.js → job-12sfj3yb.js} +34 -34
- package/dist/chunks/{websearch-mf1w9jz9.js → job-165xc91v.js} +22 -22
- package/dist/chunks/{websearch-sznyev98.js → job-1cfb3ja4.js} +5 -5
- package/dist/chunks/{websearch-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{websearch-3p9kjnm5.js → job-1x60rae4.js} +27 -27
- package/dist/chunks/{websearch-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{websearch-xs0f1de6.js → job-231fkzn9.js} +15 -15
- package/dist/chunks/{websearch-ypznjkd7.js → job-232hvyf5.js} +11 -11
- package/dist/chunks/{websearch-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{websearch-1xx922hh.js → job-2ae0w1q6.js} +23 -23
- package/dist/chunks/{websearch-k93z6qzn.js → job-2bmjkj4c.js} +20 -20
- package/dist/chunks/{websearch-gmw7h0g0.js → job-2gavhfkn.js} +16 -16
- package/dist/chunks/{websearch-8p5mx2as.js → job-2j95z75a.js} +4 -4
- package/dist/chunks/{websearch-4zj0d0rt.js → job-2mnyaw3v.js} +328 -328
- package/dist/chunks/{websearch-qt3x64j7.js → job-358np968.js} +18 -18
- package/dist/chunks/{websearch-hkw46htp.js → job-36p0cvtp.js} +11 -11
- package/dist/chunks/{websearch-6cs6c98e.js → job-38gz42ha.js} +32 -32
- package/dist/chunks/{websearch-fbyf8q2e.js → job-39c9j40n.js} +44 -44
- package/dist/chunks/{websearch-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-9bf5sqn1.js → job-3fcw9sbf.js} +4 -4
- package/dist/chunks/{websearch-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-jr3b2gvy.js → job-3kvemn9y.js} +14 -14
- package/dist/chunks/{websearch-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-v2tqbhv1.js → job-3vdv0ks5.js} +5 -5
- package/dist/chunks/{websearch-3zsf4n22.js → job-3zsf4n22.js} +1 -1
- package/dist/chunks/{websearch-hd8vw2pw.js → job-427t97hr.js} +1 -1
- package/dist/chunks/{websearch-4e8vs6eh.js → job-428ep8fh.js} +8 -8
- package/dist/chunks/{websearch-vfze4e7p.js → job-43dc367v.js} +11 -11
- package/dist/chunks/{websearch-qm2t0qjn.js → job-4a37hdt9.js} +13 -13
- package/dist/chunks/{websearch-m9wxg17a.js → job-4f1k543z.js} +15 -15
- package/dist/chunks/{websearch-rhpygmjn.js → job-4f9vnbjh.js} +3 -3
- package/dist/chunks/{websearch-mjrftjf4.js → job-4fjf8yxx.js} +12 -12
- package/dist/chunks/{websearch-3p2rzh20.js → job-4qart0q5.js} +20 -20
- package/dist/chunks/{websearch-rvb988rt.js → job-4r8dtk29.js} +3 -3
- package/dist/chunks/{websearch-r94pvvab.js → job-54ma36ye.js} +4 -4
- package/dist/chunks/{websearch-nhgfcksv.js → job-54wnwdwm.js} +25 -25
- package/dist/chunks/{websearch-1ygqh575.js → job-56gdpj1q.js} +9 -9
- package/dist/chunks/{websearch-57ez7d0k.js → job-57ez7d0k.js} +2 -2
- package/dist/chunks/{websearch-nbckkxgt.js → job-59p0880v.js} +9 -9
- package/dist/chunks/{websearch-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{websearch-e892khxg.js → job-5m26qgtd.js} +18 -18
- package/dist/chunks/{websearch-qnekv1ws.js → job-5nq0nea2.js} +11 -11
- package/dist/chunks/{websearch-73m34ham.js → job-5rnnm2b5.js} +9 -9
- package/dist/chunks/{websearch-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{websearch-2y3tt2xr.js → job-5tbemrdz.js} +71 -71
- package/dist/chunks/{websearch-5anqrvtz.js → job-5vvk8sqy.js} +13 -13
- package/dist/chunks/{websearch-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{websearch-5jt4heav.js → job-69srdcjj.js} +22 -22
- package/dist/chunks/{websearch-rhp1qkby.js → job-6e7sacjg.js} +81 -81
- package/dist/chunks/{websearch-6msgmcgs.js → job-6msgmcgs.js} +1 -1
- package/dist/chunks/{websearch-6pc27hjz.js → job-6pc27hjz.js} +2 -2
- package/dist/chunks/{websearch-27zn6a7k.js → job-6ptmhvxc.js} +16 -16
- package/dist/chunks/{websearch-9rq7qx54.js → job-6rf44sa9.js} +3 -3
- package/dist/chunks/{websearch-jcrrk3kb.js → job-6vr4frws.js} +24 -24
- package/dist/chunks/{websearch-ax7tp4yb.js → job-6x9kp8ex.js} +20 -20
- package/dist/chunks/{websearch-ygnr1sws.js → job-70dyee8s.js} +8 -8
- package/dist/chunks/{websearch-1bbkgx8g.js → job-73tb2d7t.js} +3 -3
- package/dist/chunks/{websearch-ca3pr54h.js → job-76xremav.js} +18 -18
- package/dist/chunks/{websearch-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-a7dpx7re.js → job-7kvpsc06.js} +9 -9
- package/dist/chunks/{websearch-g5agzp2h.js → job-7pr2hkwv.js} +5 -5
- package/dist/chunks/{websearch-p0szy2by.js → job-7td7z3fp.js} +22 -22
- package/dist/chunks/{websearch-84txncab.js → job-84txncab.js} +1 -1
- package/dist/chunks/{websearch-9a8jwsrm.js → job-882jhm7b.js} +37 -37
- package/dist/chunks/{websearch-g8pnae5e.js → job-8b98verr.js} +10 -10
- package/dist/chunks/{websearch-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{websearch-w2xqxfyd.js → job-8gf1193z.js} +4 -4
- package/dist/chunks/{websearch-1adv04an.js → job-8kgw4qrf.js} +1 -1
- package/dist/chunks/{websearch-276jgmgv.js → job-8qqrm4zt.js} +26 -26
- package/dist/chunks/{websearch-t4k7v3dt.js → job-8s4zmq6r.js} +6 -6
- package/dist/chunks/{websearch-ry88pbpy.js → job-8v7ffv8d.js} +25 -25
- package/dist/chunks/{websearch-t0tmk7bb.js → job-8vesgk6h.js} +15 -15
- package/dist/chunks/{websearch-94ek1h2f.js → job-94ek1h2f.js} +2 -2
- package/dist/chunks/{websearch-fprafx3g.js → job-9c3zczec.js} +12 -12
- package/dist/chunks/{websearch-feem3tsn.js → job-9m0czbyn.js} +16 -16
- package/dist/chunks/job-9mag1gb4.js +26 -0
- package/dist/chunks/{websearch-xywyz3br.js → job-9mczkx7c.js} +37 -37
- package/dist/chunks/{websearch-a89ymz6e.js → job-9ss7kw18.js} +10 -10
- package/dist/chunks/{websearch-7ajg12sz.js → job-a5rgpd9n.js} +12 -12
- package/dist/chunks/{websearch-db8k9zw6.js → job-a8vb6yp3.js} +11 -11
- package/dist/chunks/{websearch-j2p7y48b.js → job-a8wt8y1z.js} +1 -1
- package/dist/chunks/{websearch-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{websearch-cp5367at.js → job-awg97q1x.js} +8 -8
- package/dist/chunks/{websearch-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{websearch-cgcc68fq.js → job-bdvsjrfp.js} +8 -8
- package/dist/chunks/{websearch-tttmn9xj.js → job-bfn9bqya.js} +37 -37
- package/dist/chunks/{websearch-w04gwn7v.js → job-bpy3snnk.js} +14 -14
- package/dist/chunks/{websearch-32ymn5e1.js → job-bq2zwxzx.js} +6 -6
- package/dist/chunks/{websearch-1mxp06n2.js → job-bzyjzekh.js} +19 -19
- package/dist/chunks/{websearch-fnmd0fbf.js → job-bzzhr3zj.js} +22 -22
- package/dist/chunks/{websearch-z4gwm7ej.js → job-c9p2pga3.js} +18 -18
- package/dist/chunks/{websearch-ha607pgt.js → job-cf8g1z1e.js} +6 -6
- package/dist/chunks/{websearch-ckecvw8r.js → job-ckecvw8r.js} +2 -2
- package/dist/chunks/{websearch-2g184g7f.js → job-crtzgn9t.js} +16 -16
- package/dist/chunks/{websearch-4rt6ttzx.js → job-cvhge4xv.js} +22 -22
- package/dist/chunks/{websearch-yjybsv52.js → job-d4c4qgdk.js} +11 -11
- package/dist/chunks/{websearch-s19tbb4q.js → job-d75ppx60.js} +29 -29
- package/dist/chunks/{websearch-yqzb4qk7.js → job-d82nvbjp.js} +22 -22
- package/dist/chunks/{websearch-1y0s9zry.js → job-da7kmwxg.js} +11 -11
- package/dist/chunks/{websearch-92qr6xp8.js → job-dhpaedsx.js} +4 -4
- package/dist/chunks/{websearch-79qaa2kf.js → job-djszqvmq.js} +9 -9
- package/dist/chunks/{websearch-dmqcgk4z.js → job-dmqcgk4z.js} +2 -2
- package/dist/chunks/{websearch-drwq78ky.js → job-drwq78ky.js} +1 -1
- package/dist/chunks/{websearch-s3p9b0fg.js → job-dst4ms2e.js} +12 -12
- package/dist/chunks/job-dxj72tfx.js +18 -0
- package/dist/chunks/{websearch-8pxgk0ph.js → job-dy6g6r1x.js} +11 -11
- package/dist/chunks/{websearch-rbgspyrk.js → job-dyggpwm1.js} +20 -20
- package/dist/chunks/{websearch-c0qwn38y.js → job-dyw1x60t.js} +22 -22
- package/dist/chunks/{websearch-k3bw1sn3.js → job-e26zydd5.js} +9 -9
- package/dist/chunks/{websearch-hcz3zddy.js → job-e6hmchc5.js} +5 -5
- package/dist/chunks/{websearch-ecfe7b91.js → job-ecfe7b91.js} +2 -2
- package/dist/chunks/{websearch-cbhxcmc1.js → job-eddp1xyx.js} +26 -26
- package/dist/chunks/{websearch-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{websearch-t7mjb19w.js → job-eg9d22mh.js} +2 -2
- package/dist/chunks/{websearch-6a6qd33v.js → job-ep21a2k1.js} +13 -13
- package/dist/chunks/{websearch-pesdkjj5.js → job-epcpjtmm.js} +15 -15
- package/dist/chunks/{websearch-wk33t37p.js → job-ervfjr3g.js} +22 -22
- package/dist/chunks/{websearch-xb4vskyg.js → job-es0c2gra.js} +43 -43
- package/dist/chunks/{websearch-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{websearch-tx4rpkmp.js → job-ew0q6k30.js} +171 -171
- package/dist/chunks/{websearch-8czzn1ew.js → job-ey36844v.js} +10 -10
- package/dist/chunks/{websearch-dz6ws2fj.js → job-f4m9nz49.js} +17 -17
- package/dist/chunks/{websearch-0bjxfv7y.js → job-fa6fex3m.js} +4 -4
- package/dist/chunks/{websearch-qcgtzhhm.js → job-fbkspamq.js} +11 -11
- package/dist/chunks/{websearch-s7mc561m.js → job-g0knnnvb.js} +10 -10
- package/dist/chunks/{websearch-g6kz14de.js → job-g2zryj83.js} +3 -3
- package/dist/chunks/{websearch-4p9wqfgr.js → job-g64a4xw1.js} +30 -30
- package/dist/chunks/{websearch-7yftpyd9.js → job-g6sz4tq5.js} +26 -26
- package/dist/chunks/{websearch-5dt9rsmr.js → job-gayv5g80.js} +48 -48
- package/dist/chunks/{websearch-zbcsc03z.js → job-gbra0ncn.js} +5 -5
- package/dist/chunks/{websearch-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-2p50zhn3.js → job-gdg5jmgt.js} +4 -4
- package/dist/chunks/{websearch-67d8jfya.js → job-gjjcw6rp.js} +47 -47
- package/dist/chunks/job-gnj94y4s.js +252 -0
- package/dist/chunks/{websearch-038px63b.js → job-gsn75v2a.js} +20 -20
- package/dist/chunks/{websearch-gv6a8nnw.js → job-gv6a8nnw.js} +2 -2
- package/dist/chunks/{websearch-hzbdrxwe.js → job-h46arez0.js} +10 -10
- package/dist/chunks/{websearch-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-fgt6t0vg.js → job-h75mtxy7.js} +16 -16
- package/dist/chunks/{websearch-cbw88k9g.js → job-hafpg71j.js} +27 -27
- package/dist/chunks/{websearch-3eyay8p2.js → job-hr433y7c.js} +48 -48
- package/dist/chunks/{websearch-mxr1v1s0.js → job-hz0q9sdq.js} +8 -8
- package/dist/chunks/{websearch-zr12skm3.js → job-j0axf2jn.js} +77 -77
- package/dist/chunks/{websearch-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{websearch-353vmrjg.js → job-j82ypg12.js} +23 -23
- package/dist/chunks/{websearch-hbhenm16.js → job-j83z9j2w.js} +33 -33
- package/dist/chunks/{websearch-h9pnpq88.js → job-j8m1p4p1.js} +4 -4
- package/dist/chunks/{websearch-4frsnb5p.js → job-jdcnnskf.js} +9 -9
- package/dist/chunks/{websearch-f81r1vb3.js → job-jm9m13na.js} +9 -9
- package/dist/chunks/{websearch-ndqtf2h8.js → job-jz5sxy2v.js} +4 -4
- package/dist/chunks/{websearch-k3c624dm.js → job-k3c624dm.js} +3 -3
- package/dist/chunks/{websearch-eds2zs3s.js → job-k4t1mtpb.js} +46 -46
- package/dist/chunks/{websearch-tvcy2d8k.js → job-k525kqyh.js} +5 -5
- package/dist/chunks/{websearch-9217e98b.js → job-k8j1cw5c.js} +7 -7
- package/dist/chunks/{websearch-4nzfxfae.js → job-kbcv0s8h.js} +5 -5
- package/dist/chunks/{websearch-qdbakdjh.js → job-kbqjp078.js} +5 -5
- package/dist/chunks/{websearch-2ekw0rzc.js → job-ksdjh0p5.js} +26 -26
- package/dist/chunks/{websearch-t29c64m8.js → job-kvyy1gjj.js} +33 -33
- package/dist/chunks/{websearch-m3fdjcah.js → job-m3fdjcah.js} +1 -1
- package/dist/chunks/{websearch-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-wj97vxvf.js → job-m9yq670e.js} +8 -8
- package/dist/chunks/{websearch-jw80jp6b.js → job-magykp64.js} +4 -4
- package/dist/chunks/{websearch-zag1vqwr.js → job-mg69qb51.js} +8 -8
- package/dist/chunks/{websearch-e0eyc163.js → job-mn3s1fwv.js} +11 -11
- package/dist/chunks/{websearch-dnxkq42g.js → job-mpk0rfs5.js} +4 -4
- package/dist/chunks/{websearch-220kn1r0.js → job-mwb00zv6.js} +3 -3
- package/dist/chunks/{websearch-q68392kb.js → job-mxkgvy0a.js} +18 -18
- package/dist/chunks/{websearch-nng2ktcm.js → job-nng2ktcm.js} +2 -2
- package/dist/chunks/{websearch-g6cszjk9.js → job-nyfjheeq.js} +11 -11
- package/dist/chunks/{websearch-qk0x0sk0.js → job-p0cqgnhb.js} +5 -5
- package/dist/chunks/{websearch-0srz3rb7.js → job-p0rf9kvp.js} +10 -10
- package/dist/chunks/{websearch-c9swe8p3.js → job-p0y4fdzp.js} +18 -18
- package/dist/chunks/{websearch-9hn6k4tm.js → job-pa8pe2x7.js} +8 -8
- package/dist/chunks/{websearch-vhvgae7m.js → job-pb1eahw5.js} +8 -8
- package/dist/chunks/{websearch-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-346nngnc.js → job-pna42hr7.js} +38 -38
- package/dist/chunks/{websearch-24dd53tp.js → job-pnv527nz.js} +9 -9
- package/dist/chunks/{websearch-e71g85fj.js → job-pse44q0r.js} +13 -13
- package/dist/chunks/{websearch-dpzcxc98.js → job-ptg8ydkv.js} +27 -27
- package/dist/chunks/{websearch-yfazxzvf.js → job-q01t0nhq.js} +12 -12
- package/dist/chunks/{websearch-7d5xv1hr.js → job-q0djyqnm.js} +10 -10
- package/dist/chunks/{websearch-an7cqtb7.js → job-q2b1ymqp.js} +4 -4
- package/dist/chunks/{websearch-cywvz9br.js → job-q2src7z2.js} +8 -8
- package/dist/chunks/{websearch-6n58c19x.js → job-q80xae8x.js} +43 -43
- package/dist/chunks/{websearch-g2y161wv.js → job-qpbc7zwf.js} +8 -8
- package/dist/chunks/{websearch-3w0fmcng.js → job-qr8csav2.js} +5 -5
- package/dist/chunks/{websearch-kbp4225x.js → job-qrwm1nmb.js} +17 -17
- package/dist/chunks/{websearch-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-53p07668.js → job-r1cbmm5y.js} +26 -26
- package/dist/chunks/{websearch-mh97fagg.js → job-r1trvvnh.js} +17 -17
- package/dist/chunks/{websearch-zm89c310.js → job-r2mmdhen.js} +3 -3
- package/dist/chunks/{websearch-cq5xts3d.js → job-r790xmfm.js} +26 -26
- package/dist/chunks/{websearch-qdg7esgd.js → job-r8b1k8ga.js} +18 -18
- package/dist/chunks/{websearch-j1ekrec0.js → job-r96zx2xa.js} +34 -34
- package/dist/chunks/{websearch-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{websearch-qc8nte2e.js → job-rgajyaf8.js} +6 -6
- package/dist/chunks/{websearch-akvkypve.js → job-rkw5xhpp.js} +21 -21
- package/dist/chunks/{websearch-q5asdkn4.js → job-rpg9c19m.js} +4 -4
- package/dist/chunks/{websearch-c6zbmz56.js → job-rrpxvh8q.js} +39 -39
- package/dist/chunks/{websearch-ctj5zx4b.js → job-rrqs6dcd.js} +7 -7
- package/dist/chunks/{websearch-2p8k3371.js → job-rsc9fyh1.js} +6 -6
- package/dist/chunks/{websearch-6hjx5zpb.js → job-s1kvmffy.js} +9 -9
- package/dist/chunks/{websearch-pctwzd1v.js → job-s82h7tsb.js} +3 -3
- package/dist/chunks/{websearch-d2aac7k2.js → job-s8zy8myc.js} +5 -5
- package/dist/chunks/{websearch-t8fnexag.js → job-sh5w4k31.js} +11 -11
- package/dist/chunks/{websearch-rnn7zy7b.js → job-skgkzd64.js} +21 -21
- package/dist/chunks/{websearch-ay804b8n.js → job-skh0f8k6.js} +15 -15
- package/dist/chunks/{websearch-yvvvp4gn.js → job-sm965ndy.js} +8 -8
- package/dist/chunks/{websearch-70dm097c.js → job-ssx059rb.js} +11 -11
- package/dist/chunks/{websearch-nr5t8xf9.js → job-st9cattx.js} +15 -15
- package/dist/chunks/{websearch-rbar20vn.js → job-stn5vj2c.js} +16 -16
- package/dist/chunks/{websearch-4j4tgtq5.js → job-syf57q56.js} +4 -4
- package/dist/chunks/{websearch-s39hhjzg.js → job-t0xd0egn.js} +22 -22
- package/dist/chunks/{websearch-xj0pm4a7.js → job-t15nrndc.js} +25 -25
- package/dist/chunks/{websearch-4dyr3fmv.js → job-t4f1bpyy.js} +5 -5
- package/dist/chunks/{websearch-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-5xpznt2d.js → job-tazp3vs0.js} +4 -4
- package/dist/chunks/{websearch-vbfgae2j.js → job-tbmac1c7.js} +4 -4
- package/dist/chunks/{websearch-5vz7x68a.js → job-tc2ag5qj.js} +6 -6
- package/dist/chunks/{websearch-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{websearch-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-z4y1yx3e.js → job-tghe7e42.js} +8 -8
- package/dist/chunks/{websearch-jfqtm2ew.js → job-tkmwgdpd.js} +7 -7
- package/dist/chunks/{websearch-95hjyvtz.js → job-tp98q2hz.js} +25 -25
- package/dist/chunks/{websearch-tvtrv512.js → job-tvtrv512.js} +1 -1
- package/dist/chunks/{websearch-pcxghkgz.js → job-tx92n959.js} +4 -4
- package/dist/chunks/{websearch-t1bbtf4n.js → job-v0spscbj.js} +5 -5
- package/dist/chunks/{websearch-qxkhg7xp.js → job-vawyqd0x.js} +5 -5
- package/dist/chunks/{websearch-kz6k2e9e.js → job-vb0abph4.js} +26 -26
- package/dist/chunks/{websearch-cn8dv2v1.js → job-vbcswfa9.js} +22 -22
- package/dist/chunks/{websearch-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-6cr2frtn.js → job-vexv4ykq.js} +7 -7
- package/dist/chunks/{websearch-tjh59d1t.js → job-vh0p5v0t.js} +11 -11
- package/dist/chunks/{websearch-n7f32xww.js → job-vhfkbtqs.js} +3 -3
- package/dist/chunks/{websearch-v8vkj13s.js → job-vq2m4hzd.js} +24 -24
- package/dist/chunks/{websearch-vy4zg7qh.js → job-vy4zg7qh.js} +5 -5
- package/dist/chunks/{websearch-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{websearch-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
- package/dist/chunks/{websearch-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-23pqda6t.js → job-w4arg62q.js} +4 -4
- package/dist/chunks/{websearch-hc158ykg.js → job-w5bt4mtb.js} +31 -31
- package/dist/chunks/{websearch-wd3x2cqz.js → job-wd3x2cqz.js} +2 -2
- package/dist/chunks/{websearch-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-by247pp1.js → job-wdgz3xr4.js} +46 -46
- package/dist/chunks/{websearch-31yjpdzq.js → job-wkhb7dks.js} +7 -7
- package/dist/chunks/{websearch-a4fr3d9q.js → job-wv91mkn5.js} +13 -13
- package/dist/chunks/{websearch-0c6d2bcx.js → job-x14d71ge.js} +6 -6
- package/dist/chunks/{websearch-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{websearch-0j9wf475.js → job-xc87ya66.js} +12 -12
- package/dist/chunks/{websearch-rh0dsed9.js → job-xehc972q.js} +6 -6
- package/dist/chunks/{websearch-tfr0n87e.js → job-xtmqq4e3.js} +35 -35
- package/dist/chunks/{websearch-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-y71avatq.js → job-y71avatq.js} +1 -1
- package/dist/chunks/{websearch-hxtet8kv.js → job-ydgy0jv4.js} +8 -8
- package/dist/chunks/{websearch-1acjjqhc.js → job-yp2x3t23.js} +4 -4
- package/dist/chunks/{websearch-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{websearch-yrznvahk.js → job-yrznvahk.js} +2 -2
- package/dist/chunks/{websearch-zfpwxvs5.js → job-yy4jce8h.js} +24 -24
- package/dist/chunks/{websearch-mtwraztm.js → job-yyrw5ybt.js} +11 -11
- package/dist/chunks/{websearch-398v765q.js → job-yz3qhr3r.js} +25 -25
- package/dist/chunks/{websearch-z07pqspn.js → job-z07pqspn.js} +3 -3
- package/dist/chunks/{websearch-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-50nd1cm7.js → job-z5zeqmdz.js} +24 -24
- package/dist/chunks/{websearch-z63w68vq.js → job-z63w68vq.js} +2 -2
- package/dist/chunks/{websearch-7z58nj57.js → job-za2wxfsn.js} +16 -16
- package/dist/chunks/{websearch-zbtey4zf.js → job-za88e651.js} +17 -17
- package/dist/chunks/{websearch-2kshkexn.js → job-zc5jecpb.js} +21 -21
- package/dist/chunks/{websearch-j7x2yn3t.js → job-zd1qw503.js} +26 -26
- package/dist/chunks/{websearch-zeh9ct20.js → job-zeh9ct20.js} +2 -2
- package/dist/chunks/{websearch-bvtcxwtv.js → job-zjtz4r8b.js} +12 -12
- package/dist/chunks/{websearch-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-w0tzqy3y.js → job-zx3b154r.js} +2 -2
- package/dist/chunks/{websearch-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/chunks/{websearch-0fmckw5j.js → job-zz2t2kk4.js} +21 -21
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +130 -130
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- 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 +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +96 -96
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- 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 +92 -92
- package/dist/v1/config/permission.js +3 -3
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/websearch-7fj5dwt0.js +0 -18
- package/dist/chunks/websearch-d5jrffvq.js +0 -26
- package/dist/chunks/websearch-jj1z2dhd.js +0 -252
- /package/dist/chunks/{websearch-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-34c7v6d4.js → job-34c7v6d4.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-7w99qc9d.js → job-7w99qc9d.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{websearch-922hggd3.js → job-922hggd3.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service66
|
|
4
|
+
} from "./job-skgkzd64.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-eg9d22mh.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service39
|
|
10
|
+
} from "./job-pna42hr7.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service69,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-7td7z3fp.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service22
|
|
17
|
+
} from "./job-6e7sacjg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make4
|
|
20
|
+
} from "./job-dy6g6r1x.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin22
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin22 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service39;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -56,10 +56,10 @@ var Plugin26 = define({
|
|
|
56
56
|
});
|
|
57
57
|
const location = yield* Service80;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service69;
|
|
60
|
+
const sessions = yield* Service22;
|
|
61
|
+
const agents = yield* Service66;
|
|
62
|
+
const subagents = yield* make4;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin26 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin22, exports_command };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node81
|
|
9
|
+
} from "./job-zz2t2kk4.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service77,
|
|
24
|
+
node: () => node80
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service77 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service78;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service77.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node80 = makeLocationNode({ service: Service77, layer, deps: [node81, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service77, node80, exports_ripgrep };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-eg9d22mh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service78
|
|
11
|
+
} from "./job-zz2t2kk4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service17
|
|
14
|
+
} from "./job-mn3s1fwv.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service13,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-pse44q0r.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service57
|
|
22
|
+
} from "./job-gjjcw6rp.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service15,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-epcpjtmm.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./job-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./job-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin2,
|
|
42
|
+
name: () => name2,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name2 = "patch";
|
|
89
|
+
var Input2 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin2 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service78;
|
|
112
|
+
const access = yield* Service15;
|
|
113
|
+
const fileMutation = yield* Service13;
|
|
114
|
+
const formatter = yield* Service17;
|
|
115
115
|
const location = yield* Service80;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service57;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin40 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name2, Input2, Applied2, Output2, toModelContent2, Plugin2, exports_patch };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-8gf1193z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service18,
|
|
6
|
+
Event2
|
|
7
|
+
} from "./job-882jhm7b.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
32
|
+
const modelsDev = yield* Service18;
|
|
33
33
|
const bus = yield* Service83;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-922hggd3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80,
|
|
8
8
|
node84
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-eg9d22mh.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service20,
|
|
12
|
+
node22
|
|
13
|
+
} from "./job-54wnwdwm.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -29,13 +29,13 @@ __export(exports_filesystem, {
|
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
30
|
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError2,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service19,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node21
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
@@ -87,12 +87,12 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
87
87
|
}
|
|
88
88
|
var Event3 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service19 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service19, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
94
|
const location = yield* Service80;
|
|
95
|
-
const search = yield*
|
|
95
|
+
const search = yield* Service20;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service19.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node21 = makeLocationNode({
|
|
144
|
+
service: Service19,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node, node84,
|
|
146
|
+
deps: [FSUtil.node, node84, node22]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service19, node21, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service52,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service52 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service52, exports_runner };
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-8gf1193z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node43
|
|
7
|
+
} from "./job-69srdcjj.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service4,
|
|
10
|
+
node6
|
|
11
|
+
} from "./job-ervfjr3g.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service31
|
|
14
|
+
} from "./job-dxj72tfx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
node23,
|
|
17
|
+
ID2
|
|
18
|
+
} from "./job-bzyjzekh.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service6,
|
|
21
|
+
node8
|
|
22
|
+
} from "./job-pa8pe2x7.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./job-2mnyaw3v.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
make9,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./job-70dyee8s.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
34
|
Service5,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
node7
|
|
36
|
+
} from "./job-k8j1cw5c.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
38
|
+
Service12,
|
|
39
|
+
node14
|
|
40
|
+
} from "./job-s1kvmffy.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./job-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
47
47
|
__export(exports_supervisor, {
|
|
48
48
|
PluginSupervisor: () => exports_supervisor,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer4,
|
|
50
|
+
node: () => node5
|
|
51
51
|
});
|
|
52
52
|
import { Event } from "@opencode/schema/config";
|
|
53
53
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -116,7 +116,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
116
116
|
failures: [
|
|
117
117
|
...failures.values(),
|
|
118
118
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
119
|
-
id:
|
|
119
|
+
id: ID2.make(plugin.id),
|
|
120
120
|
source: plugin.source ?? { type: "builtin" },
|
|
121
121
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
122
122
|
features: { server: true, ...plugin.features }
|
|
@@ -125,14 +125,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
125
|
pending: [...pending]
|
|
126
126
|
};
|
|
127
127
|
});
|
|
128
|
-
var
|
|
129
|
-
const registry = yield*
|
|
128
|
+
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
129
|
+
const registry = yield* Service31;
|
|
130
130
|
const sdk = yield* Service5;
|
|
131
|
-
const instance = yield*
|
|
132
|
-
const sources = yield*
|
|
133
|
-
const modules = yield*
|
|
131
|
+
const instance = yield* Service6;
|
|
132
|
+
const sources = yield* Service4;
|
|
133
|
+
const modules = yield* make9();
|
|
134
134
|
const bus = yield* Service83;
|
|
135
|
-
const updates = yield*
|
|
135
|
+
const updates = yield* Service12;
|
|
136
136
|
const internal = yield* list2();
|
|
137
137
|
let release = yield* registry.hold();
|
|
138
138
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -207,14 +207,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
207
207
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
208
208
|
}));
|
|
209
209
|
var nodeDeps = [
|
|
210
|
-
|
|
210
|
+
node23,
|
|
211
|
+
node7,
|
|
212
|
+
node8,
|
|
211
213
|
node6,
|
|
212
|
-
|
|
213
|
-
node9,
|
|
214
|
-
node5,
|
|
214
|
+
node14,
|
|
215
215
|
node87,
|
|
216
216
|
Npm.node,
|
|
217
|
-
|
|
217
|
+
node43,
|
|
218
218
|
requirements2
|
|
219
219
|
];
|
|
220
220
|
function pluginSource(target) {
|
|
@@ -222,6 +222,6 @@ function pluginSource(target) {
|
|
|
222
222
|
return { type: "local", path: target };
|
|
223
223
|
return { type: "package", target };
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
|
|
226
226
|
|
|
227
|
-
export {
|
|
227
|
+
export { layer4, node5, exports_supervisor };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-eg9d22mh.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-9m0czbyn.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin34,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin34 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
36
|
const location = yield* Service80;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin34, exports_hg };
|