@opencode/core 0.0.0-dev-20367 → 0.0.0-dev-20369
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 +77 -77
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/repository-cache-031k76aj.js +252 -0
- package/dist/chunks/{job-9c3zczec.js → repository-cache-08cc3crx.js} +12 -12
- package/dist/chunks/{job-2gavhfkn.js → repository-cache-0a0hvk85.js} +16 -16
- package/dist/chunks/{job-xtmqq4e3.js → repository-cache-0bkd3x0g.js} +37 -37
- package/dist/chunks/{job-0paq2nw3.js → repository-cache-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-r1trvvnh.js → repository-cache-0sbc344g.js} +20 -20
- package/dist/chunks/{job-g0knnnvb.js → repository-cache-0thxwbsq.js} +11 -11
- package/dist/chunks/{job-awg97q1x.js → repository-cache-0wdkc2wa.js} +8 -8
- package/dist/chunks/{job-da7kmwxg.js → repository-cache-1667m5cp.js} +8 -8
- package/dist/chunks/{job-1dazxqgg.js → repository-cache-1dazxqgg.js} +2 -2
- package/dist/chunks/{job-zc5jecpb.js → repository-cache-1kgp9mnr.js} +23 -23
- package/dist/chunks/{job-q2src7z2.js → repository-cache-1sp2eg82.js} +11 -11
- package/dist/chunks/{job-rgajyaf8.js → repository-cache-1vxqmaxs.js} +6 -6
- package/dist/chunks/{job-21r38tys.js → repository-cache-21r38tys.js} +1 -1
- package/dist/chunks/{job-8v7ffv8d.js → repository-cache-21x0kyec.js} +29 -29
- package/dist/chunks/{job-rrqs6dcd.js → repository-cache-231d6nsc.js} +7 -7
- package/dist/chunks/{job-0m0bz9f8.js → repository-cache-291xmebt.js} +13 -13
- package/dist/chunks/{job-2a5m3afh.js → repository-cache-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-1cfb3ja4.js → repository-cache-2cmv458r.js} +5 -5
- package/dist/chunks/{job-sh5w4k31.js → repository-cache-2h357dj2.js} +11 -11
- package/dist/chunks/{job-r790xmfm.js → repository-cache-2hh6b730.js} +24 -24
- package/dist/chunks/{job-0jwsre1p.js → repository-cache-2k8khapm.js} +5 -5
- package/dist/chunks/{job-36p0cvtp.js → repository-cache-2kc95tmw.js} +11 -11
- package/dist/chunks/{job-g64a4xw1.js → repository-cache-2n1w6jqq.js} +26 -26
- package/dist/chunks/{job-76xremav.js → repository-cache-2p22eq26.js} +18 -18
- package/dist/chunks/{job-43dc367v.js → repository-cache-2q54vq3t.js} +11 -11
- package/dist/chunks/{job-8b98verr.js → repository-cache-2q8xkfgn.js} +10 -10
- package/dist/chunks/{job-r2mmdhen.js → repository-cache-2stw3wyk.js} +1 -1
- package/dist/chunks/{job-4r8dtk29.js → repository-cache-3011g7h6.js} +3 -3
- package/dist/chunks/{job-bq2zwxzx.js → repository-cache-32ymn5e1.js} +6 -6
- package/dist/chunks/{job-56gdpj1q.js → repository-cache-33w4ejhs.js} +6 -6
- package/dist/chunks/{job-yyrw5ybt.js → repository-cache-3ddydpdy.js} +11 -11
- package/dist/chunks/{job-3fc6dm20.js → repository-cache-3fc6dm20.js} +1 -1
- package/dist/chunks/{job-vexv4ykq.js → repository-cache-3gme9a8b.js} +7 -7
- package/dist/chunks/{job-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-dhpaedsx.js → repository-cache-3ky3469x.js} +4 -4
- package/dist/chunks/{job-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
- package/dist/chunks/{job-427t97hr.js → repository-cache-427t97hr.js} +1 -1
- package/dist/chunks/{job-6vr4frws.js → repository-cache-45h82h9y.js} +21 -21
- package/dist/chunks/{job-zz2t2kk4.js → repository-cache-47m3nr6v.js} +7 -7
- package/dist/chunks/{job-j0axf2jn.js → repository-cache-4bcse622.js} +81 -81
- package/dist/chunks/{job-231fkzn9.js → repository-cache-50zetvfx.js} +9 -9
- package/dist/chunks/{job-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
- package/dist/chunks/{job-57ez7d0k.js → repository-cache-57ez7d0k.js} +2 -2
- package/dist/chunks/{job-nyfjheeq.js → repository-cache-5cvf39ct.js} +9 -9
- package/dist/chunks/{job-5daktx2q.js → repository-cache-5daktx2q.js} +1 -1
- package/dist/chunks/{job-d4c4qgdk.js → repository-cache-5gm763qm.js} +11 -11
- package/dist/chunks/{job-5t3nmthw.js → repository-cache-5t3nmthw.js} +2 -2
- package/dist/chunks/{job-kvyy1gjj.js → repository-cache-5yrkbczz.js} +26 -26
- package/dist/chunks/{job-ssx059rb.js → repository-cache-64gr48sc.js} +11 -11
- package/dist/chunks/{job-669tq793.js → repository-cache-669tq793.js} +1 -1
- package/dist/chunks/{job-4qart0q5.js → repository-cache-6f36mv2g.js} +20 -20
- package/dist/chunks/{job-6msgmcgs.js → repository-cache-6msgmcgs.js} +1 -1
- package/dist/chunks/{job-j8m1p4p1.js → repository-cache-6rm5yzkt.js} +4 -4
- package/dist/chunks/{job-8gf1193z.js → repository-cache-6tb60k4h.js} +4 -4
- package/dist/chunks/{job-p0y4fdzp.js → repository-cache-6zc7rmqw.js} +18 -18
- package/dist/chunks/{job-73tb2d7t.js → repository-cache-73tb2d7t.js} +1 -1
- package/dist/chunks/{job-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-dst4ms2e.js → repository-cache-7jkezq9t.js} +12 -12
- package/dist/chunks/{job-d82nvbjp.js → repository-cache-7psgveam.js} +8 -8
- package/dist/chunks/{job-k4t1mtpb.js → repository-cache-80sa0j8b.js} +41 -41
- package/dist/chunks/{job-8d7r5vzw.js → repository-cache-8d7r5vzw.js} +1 -1
- package/dist/chunks/{job-yy4jce8h.js → repository-cache-8grkf0eh.js} +24 -24
- package/dist/chunks/{job-94ek1h2f.js → repository-cache-94ek1h2f.js} +2 -2
- package/dist/chunks/{job-ptg8ydkv.js → repository-cache-9mrmz292.js} +27 -27
- package/dist/chunks/repository-cache-9sh4wc5j.js +18 -0
- package/dist/chunks/{job-s82h7tsb.js → repository-cache-a23pvya7.js} +3 -3
- package/dist/chunks/{job-p0rf9kvp.js → repository-cache-a2654jmr.js} +10 -10
- package/dist/chunks/{job-bzyjzekh.js → repository-cache-a2crq8zj.js} +20 -20
- package/dist/chunks/{job-zjtz4r8b.js → repository-cache-a37k8rrq.js} +12 -12
- package/dist/chunks/{job-aaet6srn.js → repository-cache-aaet6srn.js} +2 -2
- package/dist/chunks/{job-vy4zg7qh.js → repository-cache-afed7ext.js} +5 -5
- package/dist/chunks/{job-m9yq670e.js → repository-cache-agsg4cpk.js} +8 -8
- package/dist/chunks/{job-k525kqyh.js → repository-cache-ap2206v9.js} +3 -3
- package/dist/chunks/{job-70dyee8s.js → repository-cache-asmhed6t.js} +8 -8
- package/dist/chunks/{job-x14d71ge.js → repository-cache-aw9cnddb.js} +9 -9
- package/dist/chunks/{job-b6gygkdw.js → repository-cache-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-skh0f8k6.js → repository-cache-bbkf9pcq.js} +15 -15
- package/dist/chunks/{job-6rf44sa9.js → repository-cache-be6nvhda.js} +3 -3
- package/dist/chunks/{job-e6hmchc5.js → repository-cache-bgxcxs0p.js} +5 -5
- package/dist/chunks/{job-es0c2gra.js → repository-cache-bgz93gp7.js} +39 -39
- package/dist/chunks/{job-rrpxvh8q.js → repository-cache-bwhecd05.js} +38 -38
- package/dist/chunks/{job-tx92n959.js → repository-cache-c651xxjb.js} +4 -4
- package/dist/chunks/{job-ep21a2k1.js → repository-cache-c8mkc70c.js} +13 -13
- package/dist/chunks/{job-r8b1k8ga.js → repository-cache-c965vwdg.js} +4 -4
- package/dist/chunks/{job-2bmjkj4c.js → repository-cache-c9sa8xnx.js} +20 -20
- package/dist/chunks/{job-a5rgpd9n.js → repository-cache-cd0j2xk9.js} +9 -9
- package/dist/chunks/{job-z5zeqmdz.js → repository-cache-cex2j2jp.js} +22 -22
- package/dist/chunks/{job-h75mtxy7.js → repository-cache-cgg1386b.js} +18 -18
- package/dist/chunks/{job-1x60rae4.js → repository-cache-ckc7wkyg.js} +27 -27
- package/dist/chunks/{job-ckecvw8r.js → repository-cache-ckecvw8r.js} +2 -2
- package/dist/chunks/{job-6e7sacjg.js → repository-cache-cvjg7bv4.js} +81 -81
- package/dist/chunks/{job-djszqvmq.js → repository-cache-cwa6csj7.js} +9 -9
- package/dist/chunks/{job-vq2m4hzd.js → repository-cache-d91rdxge.js} +22 -22
- package/dist/chunks/{job-f4m9nz49.js → repository-cache-dat3r6mv.js} +15 -15
- package/dist/chunks/{job-ey36844v.js → repository-cache-djgvgpsy.js} +10 -10
- package/dist/chunks/{job-pa8pe2x7.js → repository-cache-dv1qgsyq.js} +8 -8
- package/dist/chunks/{job-ervfjr3g.js → repository-cache-dvh99x22.js} +24 -24
- package/dist/chunks/{job-q01t0nhq.js → repository-cache-dvkyzkrt.js} +20 -20
- package/dist/chunks/{job-eddp1xyx.js → repository-cache-dvs6yr4k.js} +20 -20
- package/dist/chunks/{job-rpg9c19m.js → repository-cache-e2hjzebn.js} +4 -4
- package/dist/chunks/{job-fbkspamq.js → repository-cache-e38jm44f.js} +11 -11
- package/dist/chunks/{job-ecfe7b91.js → repository-cache-ecfe7b91.js} +2 -2
- package/dist/chunks/{job-sm965ndy.js → repository-cache-eeaf82dq.js} +8 -8
- package/dist/chunks/{job-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
- package/dist/chunks/{job-gjjcw6rp.js → repository-cache-eksppc5n.js} +45 -45
- package/dist/chunks/{job-0jkw1j53.js → repository-cache-eqkxs06z.js} +6 -6
- package/dist/chunks/{job-etq0c3wd.js → repository-cache-etq0c3wd.js} +1 -1
- package/dist/chunks/{job-qr8csav2.js → repository-cache-evbgk2k8.js} +5 -5
- package/dist/chunks/{job-vawyqd0x.js → repository-cache-ew2yn983.js} +3 -3
- package/dist/chunks/{job-t4f1bpyy.js → repository-cache-ewgkfh1g.js} +2 -2
- package/dist/chunks/{job-stn5vj2c.js → repository-cache-ewtw6aeq.js} +12 -12
- package/dist/chunks/{job-hz0q9sdq.js → repository-cache-f7rj482f.js} +8 -8
- package/dist/chunks/{job-8vesgk6h.js → repository-cache-fknpd3nq.js} +11 -11
- package/dist/chunks/{job-za2wxfsn.js → repository-cache-fqf5xbzx.js} +16 -16
- package/dist/chunks/{job-4f9vnbjh.js → repository-cache-fzvt39wb.js} +3 -3
- package/dist/chunks/{job-r1cbmm5y.js → repository-cache-g13d9vgq.js} +24 -24
- package/dist/chunks/{job-magykp64.js → repository-cache-g190xswt.js} +4 -4
- package/dist/chunks/{job-5m26qgtd.js → repository-cache-g1wy4zv9.js} +13 -13
- package/dist/chunks/{job-vh0p5v0t.js → repository-cache-g24mhrgs.js} +14 -14
- package/dist/chunks/{job-7pr2hkwv.js → repository-cache-g5agzp2h.js} +5 -5
- package/dist/chunks/{job-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-gayv5g80.js → repository-cache-ge53arp8.js} +48 -48
- package/dist/chunks/{job-165xc91v.js → repository-cache-gejnakz3.js} +24 -24
- package/dist/chunks/{job-g2zryj83.js → repository-cache-gs7k0xe7.js} +3 -3
- package/dist/chunks/{job-gv6a8nnw.js → repository-cache-gv6a8nnw.js} +2 -2
- package/dist/chunks/{job-9ss7kw18.js → repository-cache-gx2j0qm7.js} +10 -10
- package/dist/chunks/{job-j82ypg12.js → repository-cache-h6df3pyv.js} +21 -21
- package/dist/chunks/{job-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-gdg5jmgt.js → repository-cache-hdpxa6fd.js} +2 -2
- package/dist/chunks/{job-ksdjh0p5.js → repository-cache-hg4kcybh.js} +28 -28
- package/dist/chunks/{job-vhfkbtqs.js → repository-cache-hv8yjb44.js} +1 -1
- package/dist/chunks/{job-fa6fex3m.js → repository-cache-hw7qarbm.js} +4 -4
- package/dist/chunks/{job-tghe7e42.js → repository-cache-hz6g7x4z.js} +8 -8
- package/dist/chunks/{job-j56e64zr.js → repository-cache-j56e64zr.js} +1 -1
- package/dist/chunks/{job-2j95z75a.js → repository-cache-j6k053yf.js} +4 -4
- package/dist/chunks/{job-t15nrndc.js → repository-cache-j7yag5py.js} +23 -23
- package/dist/chunks/{job-xehc972q.js → repository-cache-j9c63wzn.js} +6 -6
- package/dist/chunks/{job-5nq0nea2.js → repository-cache-jbkekqyw.js} +6 -6
- package/dist/chunks/{job-39c9j40n.js → repository-cache-jdgxkak0.js} +35 -35
- package/dist/chunks/{job-12sfj3yb.js → repository-cache-jp80hny8.js} +33 -33
- package/dist/chunks/{job-j83z9j2w.js → repository-cache-jysawejs.js} +29 -29
- package/dist/chunks/{job-wv91mkn5.js → repository-cache-jzcedyre.js} +13 -13
- package/dist/chunks/{job-crtzgn9t.js → repository-cache-k6rvtcby.js} +27 -27
- package/dist/chunks/{job-59p0880v.js → repository-cache-k7bkg04e.js} +9 -9
- package/dist/chunks/{job-kbqjp078.js → repository-cache-k8hpw67k.js} +5 -5
- package/dist/chunks/{job-epcpjtmm.js → repository-cache-kcmnest9.js} +15 -15
- package/dist/chunks/{job-6x9kp8ex.js → repository-cache-keyj6cah.js} +17 -17
- package/dist/chunks/{job-t0xd0egn.js → repository-cache-kf2m36k8.js} +22 -22
- package/dist/chunks/{job-54wnwdwm.js → repository-cache-kj9cewpz.js} +19 -19
- package/dist/chunks/{job-4f1k543z.js → repository-cache-kt7sr4py.js} +5 -5
- package/dist/chunks/{job-za88e651.js → repository-cache-kxdk9anj.js} +17 -17
- package/dist/chunks/{job-m3fdjcah.js → repository-cache-m3fdjcah.js} +1 -1
- package/dist/chunks/{job-a8vb6yp3.js → repository-cache-m6yr2gq6.js} +11 -11
- package/dist/chunks/{job-gsn75v2a.js → repository-cache-m8cyjv6r.js} +20 -20
- package/dist/chunks/{job-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-k8j1cw5c.js → repository-cache-maeqbeqr.js} +10 -10
- package/dist/chunks/{job-wkhb7dks.js → repository-cache-mb9ashqs.js} +7 -7
- package/dist/chunks/{job-rsc9fyh1.js → repository-cache-mgmaefw5.js} +6 -6
- package/dist/chunks/{job-mpk0rfs5.js → repository-cache-mpk0rfs5.js} +1 -1
- package/dist/chunks/{job-tazp3vs0.js → repository-cache-n1ka8r9d.js} +4 -4
- package/dist/chunks/{job-882jhm7b.js → repository-cache-n20df6db.js} +34 -34
- package/dist/chunks/{job-8kgw4qrf.js → repository-cache-n8zdancj.js} +1 -1
- package/dist/chunks/{job-mxkgvy0a.js → repository-cache-nceekcwx.js} +15 -15
- package/dist/chunks/{job-pb1eahw5.js → repository-cache-nfcr1yw4.js} +8 -8
- package/dist/chunks/repository-cache-njf7bbrt.js +507 -0
- package/dist/chunks/{job-nng2ktcm.js → repository-cache-nng2ktcm.js} +2 -2
- package/dist/chunks/{job-k3c624dm.js → repository-cache-nzks3jc8.js} +3 -3
- package/dist/chunks/{job-s8zy8myc.js → repository-cache-p44d8wdy.js} +5 -5
- package/dist/chunks/{job-cvhge4xv.js → repository-cache-p53sd9ee.js} +25 -25
- package/dist/chunks/{job-4fjf8yxx.js → repository-cache-p6x3ebhz.js} +12 -12
- package/dist/chunks/{job-kbcv0s8h.js → repository-cache-pfmwbpnc.js} +5 -5
- package/dist/chunks/{job-tp98q2hz.js → repository-cache-pfqe37c4.js} +25 -25
- package/dist/chunks/{job-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{job-p0cqgnhb.js → repository-cache-pmxw3e6e.js} +1 -1
- package/dist/chunks/{job-g6sz4tq5.js → repository-cache-pp6ma3n4.js} +17 -17
- package/dist/chunks/{job-5vvk8sqy.js → repository-cache-pwxxk091.js} +9 -9
- package/dist/chunks/{job-6pc27hjz.js → repository-cache-py3kkmfq.js} +6 -6
- package/dist/chunks/{job-w5bt4mtb.js → repository-cache-pywavm7z.js} +31 -31
- package/dist/chunks/{job-232hvyf5.js → repository-cache-q2jytm9w.js} +14 -14
- package/dist/chunks/{job-a8wt8y1z.js → repository-cache-q68wa7tn.js} +1 -1
- package/dist/chunks/{job-e26zydd5.js → repository-cache-qbvmjyzb.js} +9 -9
- package/dist/chunks/{job-428ep8fh.js → repository-cache-qby9dwvd.js} +8 -8
- package/dist/chunks/{job-pnv527nz.js → repository-cache-qg0jgkcp.js} +9 -9
- package/dist/chunks/{job-zx3b154r.js → repository-cache-qj10ksrk.js} +2 -2
- package/dist/chunks/{job-d75ppx60.js → repository-cache-qjsj8s2h.js} +26 -26
- package/dist/chunks/{job-9m0czbyn.js → repository-cache-qp7ve9d0.js} +16 -16
- package/dist/chunks/{job-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
- package/dist/chunks/{job-jdcnnskf.js → repository-cache-qst67tj6.js} +9 -9
- package/dist/chunks/{job-2ae0w1q6.js → repository-cache-qt26wktx.js} +20 -20
- package/dist/chunks/{job-w4arg62q.js → repository-cache-r33ff4dw.js} +6 -6
- package/dist/chunks/{job-wdgz3xr4.js → repository-cache-r4nnjac8.js} +36 -36
- package/dist/chunks/{job-6ptmhvxc.js → repository-cache-r5gzwt7x.js} +16 -16
- package/dist/chunks/{job-yp2x3t23.js → repository-cache-r8xr0va3.js} +4 -4
- package/dist/chunks/{job-3fcw9sbf.js → repository-cache-ras1rzfd.js} +2 -2
- package/dist/chunks/{job-jm9m13na.js → repository-cache-rbg03t47.js} +13 -13
- package/dist/chunks/{job-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
- package/dist/chunks/{job-3kvemn9y.js → repository-cache-rf54a7zr.js} +11 -11
- package/dist/chunks/{job-0gtfmam4.js → repository-cache-rfpzg1kb.js} +8 -8
- package/dist/chunks/{job-mwb00zv6.js → repository-cache-rkf60bj6.js} +3 -3
- package/dist/chunks/{job-bdvsjrfp.js → repository-cache-rpnv56mn.js} +8 -8
- package/dist/chunks/{job-xc87ya66.js → repository-cache-s06stbnd.js} +12 -12
- package/dist/chunks/{job-7td7z3fp.js → repository-cache-s0xttw3k.js} +22 -22
- package/dist/chunks/{job-8qqrm4zt.js → repository-cache-sc5pc2yp.js} +5 -5
- package/dist/chunks/{job-pse44q0r.js → repository-cache-scakzs5b.js} +3 -3
- package/dist/chunks/{job-hafpg71j.js → repository-cache-smya4g4s.js} +20 -20
- package/dist/chunks/{job-v0spscbj.js → repository-cache-sntmbee3.js} +3 -3
- package/dist/chunks/{job-vb0abph4.js → repository-cache-stpnd7xz.js} +26 -26
- package/dist/chunks/{job-syf57q56.js → repository-cache-syf57q56.js} +1 -1
- package/dist/chunks/{job-5tbemrdz.js → repository-cache-syxkcnbr.js} +69 -69
- package/dist/chunks/{job-mn3s1fwv.js → repository-cache-t07jxw78.js} +14 -14
- package/dist/chunks/{job-0gdmqesm.js → repository-cache-t550f9t1.js} +4 -4
- package/dist/chunks/{job-q2b1ymqp.js → repository-cache-t9zs3egg.js} +4 -4
- package/dist/chunks/{job-skgkzd64.js → repository-cache-tap5zb78.js} +12 -12
- package/dist/chunks/{job-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-tcezcvh9.js → repository-cache-tcezcvh9.js} +1 -1
- package/dist/chunks/{job-tdstcens.js → repository-cache-tdstcens.js} +1 -1
- package/dist/chunks/{job-q80xae8x.js → repository-cache-thtyfg4s.js} +41 -41
- package/dist/chunks/{job-tvtrv512.js → repository-cache-tvtrv512.js} +1 -1
- package/dist/chunks/{job-tkmwgdpd.js → repository-cache-v5dkyp31.js} +5 -5
- package/dist/chunks/repository-cache-vbty6caj.js +26 -0
- package/dist/chunks/{job-r96zx2xa.js → repository-cache-vca4nb65.js} +30 -30
- package/dist/chunks/{job-bzzhr3zj.js → repository-cache-ve9ds9se.js} +14 -14
- package/dist/chunks/{job-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/{job-05y342xm.js → repository-cache-vqk8nwkc.js} +43 -43
- package/dist/chunks/{job-st9cattx.js → repository-cache-vsacqhcb.js} +13 -13
- package/dist/chunks/{job-8s4zmq6r.js → repository-cache-vwm97rz7.js} +6 -6
- package/dist/chunks/{job-vzcthcp8.js → repository-cache-vzcthcp8.js} +1 -1
- package/dist/chunks/{job-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
- package/dist/chunks/{job-84txncab.js → repository-cache-w1eejvng.js} +5 -5
- package/dist/chunks/{job-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-38gz42ha.js → repository-cache-w7mpr4xf.js} +34 -34
- package/dist/chunks/{job-dy6g6r1x.js → repository-cache-wb7w4rth.js} +11 -11
- package/dist/chunks/{job-c9p2pga3.js → repository-cache-wd2p6tkx.js} +9 -9
- package/dist/chunks/{job-wd3x2cqz.js → repository-cache-wd3x2cqz.js} +2 -2
- package/dist/chunks/{job-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{job-qpbc7zwf.js → repository-cache-wewgh3cc.js} +8 -8
- package/dist/chunks/{job-358np968.js → repository-cache-wht100tr.js} +15 -15
- package/dist/chunks/{job-q0djyqnm.js → repository-cache-wjqqpmpn.js} +10 -10
- package/dist/chunks/{job-s1kvmffy.js → repository-cache-wk5z6jzv.js} +9 -9
- package/dist/chunks/{job-bpy3snnk.js → repository-cache-wr4ecj30.js} +14 -14
- package/dist/chunks/{job-zd1qw503.js → repository-cache-wrs9pw8e.js} +28 -28
- package/dist/chunks/{job-eg9d22mh.js → repository-cache-wtrdp2zm.js} +2 -2
- package/dist/chunks/{job-jz5sxy2v.js → repository-cache-wzz0kxab.js} +9 -9
- package/dist/chunks/{job-x1ezjp6w.js → repository-cache-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-pna42hr7.js → repository-cache-x8xh44zn.js} +38 -38
- package/dist/chunks/{job-drwq78ky.js → repository-cache-xfkkasph.js} +4 -4
- package/dist/chunks/{job-4a37hdt9.js → repository-cache-xj33k3cs.js} +13 -13
- package/dist/chunks/{job-qrwm1nmb.js → repository-cache-xjt7eya3.js} +17 -17
- package/dist/chunks/{job-3vdv0ks5.js → repository-cache-xk59rbx9.js} +5 -5
- package/dist/chunks/{job-dmqcgk4z.js → repository-cache-xkntkrq7.js} +5 -5
- package/dist/chunks/{job-tc2ag5qj.js → repository-cache-xqk27j46.js} +6 -6
- package/dist/chunks/{job-h46arez0.js → repository-cache-xw2wg1y5.js} +10 -10
- package/dist/chunks/{job-5rnnm2b5.js → repository-cache-y16p1w2y.js} +9 -9
- package/dist/chunks/{job-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-0jbb0jam.js → repository-cache-y3sv3n32.js} +13 -13
- package/dist/chunks/{job-11h6rw47.js → repository-cache-y55db347.js} +31 -31
- package/dist/chunks/{job-y71avatq.js → repository-cache-y71avatq.js} +1 -1
- package/dist/chunks/{job-bfn9bqya.js → repository-cache-yakvhztc.js} +36 -36
- package/dist/chunks/{job-ydgy0jv4.js → repository-cache-ydgy0jv4.js} +1 -1
- package/dist/chunks/{job-dyggpwm1.js → repository-cache-yrennevv.js} +17 -17
- package/dist/chunks/{job-yrhqyw5v.js → repository-cache-yrhqyw5v.js} +1 -1
- package/dist/chunks/{job-yrznvahk.js → repository-cache-yrznvahk.js} +2 -2
- package/dist/chunks/{job-ew0q6k30.js → repository-cache-ytbkfms3.js} +140 -140
- package/dist/chunks/{job-hr433y7c.js → repository-cache-yyhxvm28.js} +49 -49
- package/dist/chunks/{job-z07pqspn.js → repository-cache-z07pqspn.js} +3 -3
- package/dist/chunks/{job-tbmac1c7.js → repository-cache-z0aj456m.js} +4 -4
- package/dist/chunks/{job-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-yz3qhr3r.js → repository-cache-z34ds6ds.js} +22 -22
- package/dist/chunks/{job-mg69qb51.js → repository-cache-z42hbx87.js} +8 -8
- package/dist/chunks/{job-69srdcjj.js → repository-cache-z45tr6e4.js} +22 -22
- package/dist/chunks/{job-7kvpsc06.js → repository-cache-z5crsmww.js} +11 -11
- package/dist/chunks/{job-z63w68vq.js → repository-cache-z63w68vq.js} +2 -2
- package/dist/chunks/{job-vbcswfa9.js → repository-cache-z69xn9rw.js} +20 -20
- package/dist/chunks/{job-cf8g1z1e.js → repository-cache-za7gw4wk.js} +6 -6
- package/dist/chunks/{job-dyw1x60t.js → repository-cache-zeg8wypa.js} +22 -22
- package/dist/chunks/{job-zeh9ct20.js → repository-cache-zeh9ct20.js} +2 -2
- package/dist/chunks/{job-9mczkx7c.js → repository-cache-zmkzffe7.js} +19 -19
- package/dist/chunks/{job-rkw5xhpp.js → repository-cache-zqq2pk5b.js} +19 -19
- package/dist/chunks/{job-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
- package/dist/chunks/{job-gbra0ncn.js → repository-cache-zv4kd1sh.js} +9 -9
- package/dist/chunks/{job-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- 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 +161 -161
- 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 +125 -125
- 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 +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- 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 +81 -81
- 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 +372 -372
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +90 -90
- 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 +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- 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 +2 -2
- package/dist/formatter.js +89 -89
- 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 +85 -85
- package/dist/instructions/builtins.js +87 -87
- 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 +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- 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 +105 -105
- 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 +102 -102
- 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 +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +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 +95 -95
- 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 +76 -76
- 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 +352 -352
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +95 -95
- 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 +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +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 +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- 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 +1 -1
- 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 +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- 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 +103 -103
- 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 +3 -3
- package/dist/session/title.js +155 -155
- 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 +215 -215
- 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 +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- 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 +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- 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 +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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- 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 +1 -1
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +70 -70
- 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/job-2mnyaw3v.js +0 -507
- package/dist/chunks/job-9mag1gb4.js +0 -26
- package/dist/chunks/job-dxj72tfx.js +0 -18
- package/dist/chunks/job-gnj94y4s.js +0 -252
- /package/dist/chunks/{job-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-34c7v6d4.js → repository-cache-34c7v6d4.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3w5fmr99.js → repository-cache-3w5fmr99.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-7w99qc9d.js → repository-cache-7w99qc9d.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{job-922hggd3.js → repository-cache-922hggd3.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → repository-cache-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hjbc5kem.js → repository-cache-hjbc5kem.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-sk3qaz4a.js → repository-cache-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → repository-cache-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-6tb60k4h.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service33,
|
|
7
|
+
node36
|
|
8
|
+
} from "./repository-cache-r4nnjac8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service62,
|
|
11
|
+
node65
|
|
12
|
+
} from "./repository-cache-eksppc5n.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service44,
|
|
15
|
+
node47
|
|
16
|
+
} from "./repository-cache-kf2m36k8.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service30,
|
|
26
|
+
layer: () => layer12,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node34
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service30 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer12 = Layer.effect(Service30, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service33;
|
|
42
|
+
const tools = yield* Service44;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service62;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer14 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer14 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer14 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service30.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node34 = makeLocationNode({
|
|
124
|
+
service: Service30,
|
|
125
|
+
layer: layer12,
|
|
126
|
+
deps: [node47, node36, node87, node65]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service30, layer12, node34, exports_mcp3 };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-wtrdp2zm.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-qp7ve9d0.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-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: () => Plugin21,
|
|
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 Plugin21 = 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 { Plugin21, exports_hg };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service67,
|
|
3
|
+
node70,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-cache-zv4kd1sh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service57,
|
|
8
|
+
node60
|
|
9
|
+
} from "./repository-cache-eqkxs06z.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service20
|
|
12
|
+
} from "./repository-cache-9mrmz292.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-031k76aj.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service67, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service20);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node60.replace(Layer.succeed(Service57, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node70.replace(Layer.succeed(Service67, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./repository-cache-x8xh44zn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./repository-cache-y16p1w2y.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin36
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin36 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service47;
|
|
26
|
+
const image = yield* Service45;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin23 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin36, exports_image };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID9,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service65
|
|
4
|
+
} from "./repository-cache-tap5zb78.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-wtrdp2zm.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service47
|
|
10
|
+
} from "./repository-cache-x8xh44zn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service46,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-s0xttw3k.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service25
|
|
17
|
+
} from "./repository-cache-cvjg7bv4.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make8
|
|
20
|
+
} from "./repository-cache-wb7w4rth.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin32
|
|
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 Plugin32 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service47;
|
|
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 Plugin22 = 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* Service46;
|
|
60
|
+
const sessions = yield* Service25;
|
|
61
|
+
const agents = yield* Service65;
|
|
62
|
+
const subagents = yield* make8;
|
|
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
|
});
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin32, exports_command2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options8,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options8 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options8, Spec2, exports_plugin3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service47
|
|
4
|
+
} from "./repository-cache-x8xh44zn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service43
|
|
7
|
+
} from "./repository-cache-pp6ma3n4.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin37
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin37 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service47;
|
|
27
|
+
const snapshot = yield* Service43;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin27 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin37, exports_snapshot };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-wtrdp2zm.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-47m3nr6v.js";
|
|
7
7
|
import {
|
|
8
8
|
Service13,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-scakzs5b.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service71
|
|
14
|
+
} from "./repository-cache-t07jxw78.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service62
|
|
17
|
+
} from "./repository-cache-eksppc5n.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service17,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-kcmnest9.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input7,
|
|
34
|
+
Output: () => Output5,
|
|
35
|
+
Plugin: () => Plugin8,
|
|
36
|
+
name: () => name7
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name7 = "edit";
|
|
43
|
+
var Input7 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input12 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output5 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin8 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
109
|
+
const access = yield* Service17;
|
|
110
110
|
const fileMutation = yield* Service13;
|
|
111
111
|
const environment = yield* Service78;
|
|
112
|
-
const formatter = yield*
|
|
112
|
+
const formatter = yield* Service71;
|
|
113
113
|
const location = yield* Service80;
|
|
114
|
-
const permission = yield*
|
|
114
|
+
const permission = yield* Service62;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name7,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input7,
|
|
120
|
+
output: Output5,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin14 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name7, Input7, Output5, Plugin8, exports_edit };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service50,
|
|
3
|
+
node53
|
|
4
|
+
} from "./repository-cache-wrs9pw8e.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions5 = {};
|
|
17
|
+
__export(exports_instructions5, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
+
Service: () => Service37,
|
|
20
|
+
node: () => node40
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service37 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service50;
|
|
64
|
+
return Service37.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make19({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node40 = makeLocationNode({ service: Service37, layer, deps: [node53] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service37, node40, exports_instructions5 };
|