@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,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-6tb60k4h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service43
|
|
6
|
+
} from "./repository-cache-pp6ma3n4.js";
|
|
7
7
|
import {
|
|
8
8
|
Error3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-kf2m36k8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./repository-cache-08cc3crx.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-32ymn5e1.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-xk59rbx9.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-cache-ecfe7b91.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-cache-g5agzp2h.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service43;
|
|
58
|
+
const toolOutput = yield* Service53;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-gs7k0xe7.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service69,
|
|
17
|
+
node: () => node72
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service69 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service69.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node72 = makeGlobalNode({ service: Service69, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service69, node72, exports_kv };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service5 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service5.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node7 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service5, node7, exports_update };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-gs7k0xe7.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-z07pqspn.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-hz6g7x4z.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-nng2ktcm.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
24
|
-
Service: () =>
|
|
23
|
+
ListInput: () => ListInput4,
|
|
24
|
+
Service: () => Service63,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node66
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
|
|
|
50
50
|
subpath: RelativePath.pipe(Schema.optional)
|
|
51
51
|
});
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
|
-
var
|
|
53
|
+
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service63 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service84;
|
|
59
|
-
return
|
|
59
|
+
return Service63.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node66 = makeGlobalNode({ service: Service63, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { ListInput4, Service63, node66, exports_store };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-6tb60k4h.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-w1eejvng.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service54,
|
|
17
|
+
node58
|
|
18
|
+
} from "./repository-cache-0sbc344g.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event12,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info18,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service50,
|
|
35
|
+
Source: () => Source4,
|
|
36
|
+
node: () => node53
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event12 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source4 = Reference.Source;
|
|
46
|
+
var Info18 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service50 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service83;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service54;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info18.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse5(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info18.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service50.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node53 = makeLocationNode({
|
|
116
|
+
service: Service50,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node87,
|
|
118
|
+
deps: [Global.node, node87, node58]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info18, Service50, node53, exports_reference2, Event12 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigFormatterV1: () =>
|
|
9
|
-
Entry: () =>
|
|
10
|
-
Info: () =>
|
|
6
|
+
var exports_formatter2 = {};
|
|
7
|
+
__export(exports_formatter2, {
|
|
8
|
+
ConfigFormatterV1: () => exports_formatter2,
|
|
9
|
+
Entry: () => Entry3,
|
|
10
|
+
Info: () => Info15
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry3 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info15 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry3, Info15, exports_formatter2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-6tb60k4h.js";
|
|
5
5
|
import {
|
|
6
6
|
Event19,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service75,
|
|
8
|
+
node78
|
|
9
|
+
} from "./repository-cache-dvkyzkrt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service48,
|
|
12
|
+
node51
|
|
13
|
+
} from "./repository-cache-z45tr6e4.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-922hggd3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service80,
|
|
19
19
|
node84
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-cache-wtrdp2zm.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-cache-cex2j2jp.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-cache-rkf60bj6.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-cache-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service49,
|
|
36
|
+
Event11,
|
|
37
|
+
node52
|
|
38
|
+
} from "./repository-cache-m8cyjv6r.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options7,
|
|
48
|
+
Service: () => Service47,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured7,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer18,
|
|
53
|
+
node: () => node50,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options7 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service47 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service47, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer18 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
96
|
const location = yield* Service80;
|
|
97
|
-
const watcher = yield*
|
|
97
|
+
const watcher = yield* Service48;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service75;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service49;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -222,7 +222,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
224
|
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
-
yield* bus.subscribe(
|
|
225
|
+
yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service47.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured7(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service47,
|
|
268
|
+
layer: layer18(options),
|
|
269
|
+
deps: [node51, node87, FSUtil.node, Global.node, node84, node78, node52]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node50 = configured7();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options7, Service47, Test2, testLayer2, layer18, configured7, node50, exports_config };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make15(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./repository-cache-z45tr6e4.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service42
|
|
13
|
+
} from "./repository-cache-gejnakz3.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-wtrdp2zm.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin44
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin44 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service42;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
41
|
const location = yield* Service80;
|
|
42
|
-
const watcher = yield*
|
|
42
|
+
const watcher = yield* Service48;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin44, exports_instruction };
|