@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,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service12,
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service12.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service12, node14, exports_location_watcher_policy };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-gs7k0xe7.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-6tb60k4h.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cache-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-cache-7w99qc9d.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-z07pqspn.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info20,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service58,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
48
|
+
layer: () => layer23,
|
|
49
|
+
list: () => list4,
|
|
50
50
|
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node61,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info20,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,7 +151,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service58 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
156
|
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info20.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -193,7 +193,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list4(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer23 = Layer.effect(Service58, make17());
|
|
231
|
+
var node61 = makeGlobalNode({ service: Service58, layer: layer23, deps: [node88, node87] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info20, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service58, make17, layer23, node61, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service69,
|
|
6
|
+
node72
|
|
7
|
+
} from "./repository-cache-wjqqpmpn.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-7w99qc9d.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service68,
|
|
23
23
|
make: () => make20,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node71
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service68 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -87,7 +87,7 @@ function decrementSession(input, sessionID) {
|
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
89
|
var make20 = Effect.gen(function* () {
|
|
90
|
-
const kv = yield*
|
|
90
|
+
const kv = yield* Service69;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make20 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service68.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make20 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service68, make20);
|
|
362
|
+
var node71 = makeGlobalNode({ service: Service68, layer, deps: [node72] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service68, make20, node71, exports_job };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-ckc7wkyg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service47
|
|
7
|
+
} from "./repository-cache-x8xh44zn.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-vwm97rz7.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service47;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID11.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make7();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make7, LMStudioPlugin2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node5
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node5 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node5, bound2, exports_instance2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service48,
|
|
3
|
+
node51
|
|
4
|
+
} from "./repository-cache-z45tr6e4.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-wtrdp2zm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service47,
|
|
11
|
+
node50
|
|
12
|
+
} from "./repository-cache-x8xh44zn.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service8,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer6,
|
|
28
|
+
node: () => node10
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service8 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service47;
|
|
40
|
+
const watcher = yield* Service48;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service80;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service8.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node10 = makeLocationNode({
|
|
74
|
+
service: Service8,
|
|
75
|
+
layer: layer6,
|
|
76
|
+
deps: [node50, FSUtil.node, node51, node84]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service8,
|
|
80
|
+
layer: Layer.succeed(Service8, Service8.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service8, layer6, node10, empty2, exports_source };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-gs7k0xe7.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-6tb60k4h.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
23
|
Event: () => Event19,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID14,
|
|
25
|
+
Info: () => Info29,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service75,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node78
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID14 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
41
|
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info29 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID14,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service75 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info29({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service75.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id: input.id ??
|
|
79
|
+
const credential = new Info29({
|
|
80
|
+
id: input.id ?? ID14.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -201,6 +201,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
}));
|
|
204
|
-
var
|
|
204
|
+
var node78 = makeGlobalNode({ service: Service75, layer, deps: [node88, node87] });
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { ID14, OAuth3, Key4, Value2, Event19, Info29, Service75, node78, exports_credential };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-6tb60k4h.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service75,
|
|
8
|
+
node78
|
|
9
|
+
} from "./repository-cache-dvkyzkrt.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-mpk0rfs5.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-6f36mv2g.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -34,7 +34,7 @@ __export(exports_integration, {
|
|
|
34
34
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
35
35
|
CommandMethod: () => CommandMethod2,
|
|
36
36
|
EnvMethod: () => EnvMethod2,
|
|
37
|
-
Event: () =>
|
|
37
|
+
Event: () => Event18,
|
|
38
38
|
ID: () => ID13,
|
|
39
39
|
Info: () => Info27,
|
|
40
40
|
Integration: () => exports_integration,
|
|
@@ -43,8 +43,8 @@ __export(exports_integration, {
|
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
45
|
Ref: () => Ref3,
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
Service: () => Service74,
|
|
47
|
+
node: () => node77
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
import { Integration } from "@opencode/schema/integration";
|
|
67
67
|
import { AppProcess } from "@opencode/util/process";
|
|
68
68
|
import { ChildProcess } from "effect/unstable/process";
|
|
69
|
-
import { Event as
|
|
69
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
70
70
|
var ID13 = Integration.ID;
|
|
71
71
|
var MethodID2 = Integration.MethodID;
|
|
72
72
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -104,13 +104,13 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
|
|
|
104
104
|
}
|
|
105
105
|
var Ref3 = Integration.Ref;
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service74 extends Context.Service()("@opencode/Integration") {
|
|
108
108
|
}
|
|
109
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
110
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
111
111
|
var scrubInterval = Duration.seconds(30);
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const credentials = yield*
|
|
112
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service75;
|
|
114
114
|
const bus = yield* Service83;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
440
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
441
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
442
442
|
});
|
|
443
|
-
return
|
|
443
|
+
return Service74.of({
|
|
444
444
|
transform: state.transform,
|
|
445
445
|
reload: state.reload,
|
|
446
446
|
revision: state.revision,
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}));
|
|
602
|
-
var
|
|
603
|
-
service:
|
|
602
|
+
var node77 = makeLocationNode({
|
|
603
|
+
service: Service74,
|
|
604
604
|
layer,
|
|
605
|
-
deps: [
|
|
605
|
+
deps: [node78, node87, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info27, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3,
|
|
608
|
+
export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info27, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service74, node77, exports_integration, Event18 };
|