@opencode-ai/core 0.0.0-beta-19157 → 0.0.0-beta-19192
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{wellknown-q7805caa.js → image-075hqz1p.js} +4 -4
- package/dist/chunks/{wellknown-aaf6tv83.js → image-0ayszzbx.js} +4 -4
- package/dist/chunks/{wellknown-nqmxhx1w.js → image-0b64gfhy.js} +21 -21
- package/dist/chunks/{wellknown-0e0xafbb.js → image-0e0xafbb.js} +2 -2
- package/dist/chunks/{wellknown-1a0y61fc.js → image-0j8b5gw6.js} +18 -18
- package/dist/chunks/{wellknown-0paq2nw3.js → image-0paq2nw3.js} +1 -1
- package/dist/chunks/{wellknown-0s9ayhjt.js → image-0s9ayhjt.js} +1 -1
- package/dist/chunks/{wellknown-sx1n432n.js → image-0v53mg2y.js} +4 -4
- package/dist/chunks/{wellknown-tmfnh1q5.js → image-1226r2df.js} +79 -79
- package/dist/chunks/{wellknown-1ct4r87x.js → image-1ct4r87x.js} +1 -1
- package/dist/chunks/{wellknown-v5dkyp31.js → image-1g7epwpd.js} +7 -7
- package/dist/chunks/{wellknown-663b6dh9.js → image-1jcnaza9.js} +9 -9
- package/dist/chunks/{wellknown-3d43f50e.js → image-1jmsknjd.js} +4 -4
- package/dist/chunks/{wellknown-m5045k8y.js → image-1n116cmy.js} +9 -9
- package/dist/chunks/{wellknown-c7s9k239.js → image-1p8bnmch.js} +4 -4
- package/dist/chunks/{wellknown-bskj9zs2.js → image-1qw2s0et.js} +9 -9
- package/dist/chunks/{wellknown-frb89zj9.js → image-1rms16wb.js} +12 -12
- package/dist/chunks/{wellknown-2d57kztd.js → image-1s3p39g4.js} +6 -6
- package/dist/chunks/{wellknown-gbmaq3ra.js → image-1tjjswnh.js} +46 -46
- package/dist/chunks/{wellknown-0nk2sz5z.js → image-1wne4z4q.js} +24 -24
- package/dist/chunks/{wellknown-e9z9h9yy.js → image-200tvc8g.js} +23 -23
- package/dist/chunks/{wellknown-21r38tys.js → image-21r38tys.js} +1 -1
- package/dist/chunks/{wellknown-2402vzrj.js → image-2402vzrj.js} +1 -1
- package/dist/chunks/{wellknown-9ttajpzr.js → image-243q2zkz.js} +14 -14
- package/dist/chunks/{wellknown-6w9g96bv.js → image-27t0qrmd.js} +22 -22
- package/dist/chunks/{wellknown-9e966tng.js → image-285h785p.js} +24 -24
- package/dist/chunks/{wellknown-2a5m3afh.js → image-2a5m3afh.js} +1 -1
- package/dist/chunks/{wellknown-6ba29tk2.js → image-2gbqcpts.js} +19 -19
- package/dist/chunks/{wellknown-2ht70gj7.js → image-2ht70gj7.js} +1 -1
- package/dist/chunks/{wellknown-4hh0p0ng.js → image-2kykh1mj.js} +5 -5
- package/dist/chunks/{wellknown-hha4zry8.js → image-2m4g9ewj.js} +4 -4
- package/dist/chunks/{wellknown-xnxegkmr.js → image-2y3ph1yz.js} +47 -47
- package/dist/chunks/{wellknown-c2j3fvxb.js → image-30gfay9h.js} +16 -16
- package/dist/chunks/image-35zwc601.js +247 -0
- package/dist/chunks/{wellknown-r8w8bq91.js → image-373aghza.js} +26 -26
- package/dist/chunks/{wellknown-r6cgjeqn.js → image-37ekrbj5.js} +10 -10
- package/dist/chunks/{wellknown-3fc6dm20.js → image-3fc6dm20.js} +1 -1
- package/dist/chunks/{wellknown-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-3qzbfqsy.js → image-3qzbfqsy.js} +2 -2
- package/dist/chunks/{wellknown-3smtnn6g.js → image-3smtnn6g.js} +1 -1
- package/dist/chunks/{wellknown-3tvqynh2.js → image-3tvqynh2.js} +1 -1
- package/dist/chunks/{wellknown-454k5vzh.js → image-454k5vzh.js} +1 -1
- package/dist/chunks/{wellknown-p7eywz5b.js → image-48my4t0a.js} +22 -22
- package/dist/chunks/{wellknown-h5xdhsym.js → image-49z4sxtc.js} +4 -2
- package/dist/chunks/{wellknown-99m4pprq.js → image-4apz7g8v.js} +10 -10
- package/dist/chunks/{wellknown-n149779n.js → image-4d04p2vw.js} +20 -20
- package/dist/chunks/{wellknown-6ta01fq9.js → image-4ehv4ads.js} +1 -1
- package/dist/chunks/{wellknown-8a3y5q1n.js → image-4m7v3r37.js} +32 -32
- package/dist/chunks/{wellknown-4r2nyarf.js → image-4r2nyarf.js} +1 -1
- package/dist/chunks/{wellknown-nykyeqwq.js → image-5a0p3v26.js} +7 -7
- package/dist/chunks/{wellknown-5daktx2q.js → image-5daktx2q.js} +1 -1
- package/dist/chunks/{wellknown-5d17xbav.js → image-5e15319b.js} +5 -5
- package/dist/chunks/{wellknown-5fmxt4p5.js → image-5fmxt4p5.js} +1 -1
- package/dist/chunks/{wellknown-vj82my2s.js → image-5g186b3w.js} +1 -1
- package/dist/chunks/{wellknown-5jvc5tg2.js → image-5jvc5tg2.js} +1 -1
- package/dist/chunks/{wellknown-93wzm26s.js → image-5mm5wtvx.js} +5 -5
- package/dist/chunks/{wellknown-917dq7d6.js → image-5pn8t89y.js} +5 -5
- package/dist/chunks/{wellknown-apn8f15b.js → image-5qkxfyep.js} +9 -9
- package/dist/chunks/{wellknown-2j3d2w2t.js → image-5tacz69j.js} +13 -13
- package/dist/chunks/{wellknown-nz7wfeq1.js → image-5zx8vqtq.js} +35 -35
- package/dist/chunks/{wellknown-n52mxx0b.js → image-6bkgre9x.js} +15 -15
- package/dist/chunks/{wellknown-vk9s0zr3.js → image-6eew7fj7.js} +21 -21
- package/dist/chunks/{wellknown-3g2y1byn.js → image-6h414ywr.js} +5 -5
- package/dist/chunks/{wellknown-z3njjm07.js → image-6m3crmzc.js} +24 -24
- package/dist/chunks/{wellknown-rhbe1v15.js → image-6wee0njb.js} +16 -16
- package/dist/chunks/{wellknown-tph2mkjf.js → image-6wsskzzx.js} +9 -9
- package/dist/chunks/{wellknown-hhvbpypa.js → image-6xyvfjmy.js} +10 -10
- package/dist/chunks/{wellknown-6abnk40k.js → image-6z5bwd8g.js} +9 -9
- package/dist/chunks/{wellknown-174menj9.js → image-6zjvkj2h.js} +32 -32
- package/dist/chunks/{wellknown-711hfp6y.js → image-711hfp6y.js} +2 -2
- package/dist/chunks/{wellknown-72nftnjy.js → image-72nftnjy.js} +2 -2
- package/dist/chunks/{wellknown-7wp9r7ba.js → image-75bx6y3z.js} +29 -29
- package/dist/chunks/{wellknown-28pcbh69.js → image-75yf2d83.js} +8 -8
- package/dist/chunks/{wellknown-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-xkxektkz.js → image-7dntkcaf.js} +15 -15
- package/dist/chunks/{wellknown-4br8j3xe.js → image-7hj53tkn.js} +36 -36
- package/dist/chunks/{wellknown-mhyp03ce.js → image-7n2tcerd.js} +8 -8
- package/dist/chunks/{wellknown-mfmy0k16.js → image-7skcpgmc.js} +5 -5
- package/dist/chunks/{wellknown-kjm195mv.js → image-7x53jcvj.js} +20 -20
- package/dist/chunks/{wellknown-mp00anfa.js → image-80c43yza.js} +6 -6
- package/dist/chunks/{wellknown-041mrh4x.js → image-8n0gk8bj.js} +18 -18
- package/dist/chunks/{wellknown-dapwfvd2.js → image-8weygxvf.js} +37 -37
- package/dist/chunks/{wellknown-y2cqme3r.js → image-93a8yfjt.js} +5 -5
- package/dist/chunks/{wellknown-sba2xw4p.js → image-9dknczgv.js} +11 -11
- package/dist/chunks/{wellknown-2jqmte8w.js → image-9e975f95.js} +43 -12
- package/dist/chunks/{wellknown-rsvs0vjg.js → image-9ka0zpp0.js} +9 -9
- package/dist/chunks/{wellknown-na7k47ng.js → image-9nrx719g.js} +6 -6
- package/dist/chunks/{wellknown-zywh7q6e.js → image-9pdz2n87.js} +18 -18
- package/dist/chunks/{wellknown-vy9axbw1.js → image-9r22tjds.js} +11 -11
- package/dist/chunks/{wellknown-vhg4wxph.js → image-9tpbkn8j.js} +35 -35
- package/dist/chunks/{wellknown-aaet6srn.js → image-aaet6srn.js} +2 -2
- package/dist/chunks/{wellknown-gqy8qs28.js → image-ae8v5dmx.js} +6 -6
- package/dist/chunks/{wellknown-wa6q3vex.js → image-agvy7375.js} +38 -38
- package/dist/chunks/{wellknown-pxc9rw6c.js → image-ak4wpdp5.js} +39 -39
- package/dist/chunks/{wellknown-0krgqetd.js → image-astevrj0.js} +46 -46
- package/dist/chunks/{wellknown-dk9a5vne.js → image-b45hdq4g.js} +5 -5
- package/dist/chunks/{wellknown-b6gygkdw.js → image-b6gygkdw.js} +2 -2
- package/dist/chunks/{wellknown-b9wsbatv.js → image-b9wsbatv.js} +1 -1
- package/dist/chunks/{wellknown-hnyf01b0.js → image-bcezcar3.js} +5 -5
- package/dist/chunks/{wellknown-qqvjzcxr.js → image-bj98hyx2.js} +24 -24
- package/dist/chunks/{wellknown-nhjpgrh4.js → image-bp57azs0.js} +20 -20
- package/dist/chunks/{wellknown-z9d8dnaf.js → image-c3ffnjw8.js} +9 -9
- package/dist/chunks/{wellknown-njfaq3nk.js → image-c5fpz85k.js} +24 -24
- package/dist/chunks/{wellknown-7thqmzsc.js → image-c6hb7xc2.js} +67 -67
- package/dist/chunks/{wellknown-sxrpqsmr.js → image-c6qdtz30.js} +9 -9
- package/dist/chunks/{wellknown-jbzwckha.js → image-c7aw7383.js} +24 -24
- package/dist/chunks/{wellknown-q1md1zjj.js → image-cam0w9m9.js} +7 -7
- package/dist/chunks/{wellknown-s06xe5v4.js → image-cek3fbn3.js} +13 -13
- package/dist/chunks/{wellknown-a4cbam25.js → image-cqfmdc01.js} +20 -20
- package/dist/chunks/{wellknown-bmr4rzrd.js → image-d4fga7fm.js} +2 -2
- package/dist/chunks/{wellknown-djtdz80w.js → image-djtdz80w.js} +1 -1
- package/dist/chunks/{wellknown-dmwgd9rj.js → image-dm7yrpwm.js} +11 -11
- package/dist/chunks/{wellknown-d2x6rcjx.js → image-dvx7ppq8.js} +12 -12
- package/dist/chunks/{wellknown-q961dm7m.js → image-dwn642yz.js} +153 -153
- package/dist/chunks/{wellknown-75ws2xfr.js → image-dxnmgjbm.js} +7 -7
- package/dist/chunks/{wellknown-j3pby61b.js → image-e1rfyyrx.js} +4 -4
- package/dist/chunks/{wellknown-23ym420b.js → image-e1yg3ztk.js} +24 -24
- package/dist/chunks/{wellknown-ngabqghr.js → image-envd7176.js} +15 -15
- package/dist/chunks/{wellknown-98rh1jc3.js → image-epess5q8.js} +11 -11
- package/dist/chunks/{wellknown-yk5chycy.js → image-eq19x63z.js} +1 -1
- package/dist/chunks/{wellknown-kademwqx.js → image-esk2a4yz.js} +11 -11
- package/dist/chunks/{wellknown-zmye7hbx.js → image-ev17xj63.js} +17 -17
- package/dist/chunks/{wellknown-qxe975hr.js → image-f8fjkg66.js} +17 -17
- package/dist/chunks/{wellknown-0z4qk8xt.js → image-fdh5tbn3.js} +4 -4
- package/dist/chunks/{wellknown-2kj0pn7y.js → image-fffs3heh.js} +14 -14
- package/dist/chunks/{wellknown-ceqnmb02.js → image-fh1werz4.js} +5 -5
- package/dist/chunks/{wellknown-pwnnz8en.js → image-fv5fa0fb.js} +40 -40
- package/dist/chunks/{wellknown-hnpt5b9g.js → image-fvqftnr7.js} +33 -33
- package/dist/chunks/{wellknown-fxbjtjnd.js → image-fxbjtjnd.js} +1 -1
- package/dist/chunks/{wellknown-fxypknc8.js → image-fxypknc8.js} +1 -1
- package/dist/chunks/{wellknown-187zhppa.js → image-g18dkc9a.js} +10 -10
- package/dist/chunks/{wellknown-hrvm11jt.js → image-g2dy4bvs.js} +3 -3
- package/dist/chunks/{wellknown-d72308c8.js → image-g2gt0w0k.js} +2 -2
- package/dist/chunks/{wellknown-rszzns79.js → image-g4p50gac.js} +26 -26
- package/dist/chunks/{wellknown-wctfcgtb.js → image-gaq06wk0.js} +6 -6
- package/dist/chunks/{wellknown-gd4qta3r.js → image-gd4qta3r.js} +1 -1
- package/dist/chunks/{wellknown-adysj9cr.js → image-gnzetk2a.js} +15 -15
- package/dist/chunks/{wellknown-barxnhzp.js → image-gtcj13ca.js} +4 -4
- package/dist/chunks/{wellknown-4a5fwm7b.js → image-h0nyqvwm.js} +17 -17
- package/dist/chunks/{wellknown-gw5qc7da.js → image-h10tdy9q.js} +11 -11
- package/dist/chunks/{wellknown-6jdg21kp.js → image-h40ga2ve.js} +43 -34
- package/dist/chunks/{wellknown-h6vf3j39.js → image-h6vf3j39.js} +1 -1
- package/dist/chunks/{wellknown-heyhwy2w.js → image-heyhwy2w.js} +1 -1
- package/dist/chunks/{wellknown-m1c4gy78.js → image-hgrms83d.js} +25 -25
- package/dist/chunks/{wellknown-3n75mgw6.js → image-hh10djt1.js} +19 -19
- package/dist/chunks/{wellknown-rhwwv70e.js → image-hvpnsy1s.js} +11 -11
- package/dist/chunks/{wellknown-hw4pv20g.js → image-hw4pv20g.js} +2 -2
- package/dist/chunks/{wellknown-4afpmjwz.js → image-hzajzqrq.js} +40 -34
- package/dist/chunks/{wellknown-5zc2x0sb.js → image-hzxq4bdr.js} +3 -3
- package/dist/chunks/{wellknown-6jcrhkhg.js → image-j2rs2004.js} +14 -14
- package/dist/chunks/{wellknown-mafkkaev.js → image-j3g33syr.js} +6 -6
- package/dist/chunks/{wellknown-888k7gfv.js → image-jasnfvjs.js} +10 -10
- package/dist/chunks/{wellknown-j8fxhnqh.js → image-jpmhptrj.js} +22 -22
- package/dist/chunks/{wellknown-ny9q6q4v.js → image-jrhxhxw8.js} +23 -23
- package/dist/chunks/{wellknown-pmnt38wb.js → image-jw78s2kh.js} +14 -14
- package/dist/chunks/{wellknown-3e5q22gm.js → image-jwy076d6.js} +23 -23
- package/dist/chunks/{wellknown-k4bwy1x5.js → image-k4bwy1x5.js} +1 -1
- package/dist/chunks/{wellknown-nn46x40y.js → image-k68abf46.js} +3 -3
- package/dist/chunks/{wellknown-kg06axw8.js → image-kg06axw8.js} +1 -1
- package/dist/chunks/{wellknown-rfq7xs4d.js → image-kh6b770z.js} +7 -7
- package/dist/chunks/{wellknown-kpe4sfyz.js → image-kpe4sfyz.js} +1 -1
- package/dist/chunks/{wellknown-qbzb1j1c.js → image-kqtysscw.js} +13 -13
- package/dist/chunks/{wellknown-h7shmymb.js → image-kt9eqfxj.js} +15 -15
- package/dist/chunks/{wellknown-cmdp56dw.js → image-m207hpws.js} +1 -1
- package/dist/chunks/{wellknown-n95nq84g.js → image-m3fm0fm8.js} +5 -5
- package/dist/chunks/{wellknown-2w4chj1g.js → image-m3xe71g4.js} +4 -4
- package/dist/chunks/{wellknown-yw9364ag.js → image-m59e1w6s.js} +4 -4
- package/dist/chunks/{wellknown-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-k2kb66cj.js → image-meyfevqx.js} +5 -5
- package/dist/chunks/{wellknown-g585tkj2.js → image-mgwvmahn.js} +4 -4
- package/dist/chunks/{wellknown-mvfsc1pv.js → image-mhkvc446.js} +3 -3
- package/dist/chunks/{wellknown-h0ehx5mk.js → image-mj3zgynk.js} +11 -11
- package/dist/chunks/{wellknown-3z627vwq.js → image-mjhwcw5v.js} +9 -9
- package/dist/chunks/{wellknown-987p19s4.js → image-mrdd2gsj.js} +13 -13
- package/dist/chunks/{wellknown-x545et0z.js → image-mstkx0nw.js} +3 -3
- package/dist/chunks/{wellknown-pgnp76q4.js → image-n1kbsmd5.js} +20 -20
- package/dist/chunks/{wellknown-1zjgdmhv.js → image-n70sksgk.js} +14 -14
- package/dist/chunks/{wellknown-tppvcy65.js → image-nag7dxjf.js} +5 -5
- package/dist/chunks/{wellknown-avahfm6t.js → image-nbxe4rdy.js} +26 -26
- package/dist/chunks/{wellknown-41mncz27.js → image-ncdrabr4.js} +5 -5
- package/dist/chunks/{wellknown-bfdnm1te.js → image-nfy329at.js} +7 -7
- package/dist/chunks/{wellknown-yqzjyyxs.js → image-ngt1cn5s.js} +35 -35
- package/dist/chunks/{wellknown-rhp4699a.js → image-nha5563d.js} +9 -9
- package/dist/chunks/{wellknown-46v7nc60.js → image-nkj2jv88.js} +15 -15
- package/dist/chunks/{wellknown-zf2mdqhr.js → image-nphrg578.js} +10 -10
- package/dist/chunks/{wellknown-raycc6w1.js → image-nsrf1zd9.js} +5 -5
- package/dist/chunks/{wellknown-3n69mpxt.js → image-nwkrf4xa.js} +4 -4
- package/dist/chunks/{wellknown-kbndngdv.js → image-nwqw0f9p.js} +21 -21
- package/dist/chunks/{wellknown-7nh4ntd5.js → image-nzmvpftv.js} +12 -12
- package/dist/chunks/{wellknown-76xf8n6j.js → image-p37ez7j2.js} +16 -16
- package/dist/chunks/{wellknown-024e4rjz.js → image-p6yzb5ay.js} +7 -7
- package/dist/chunks/{wellknown-j935v87r.js → image-paphc93g.js} +2 -2
- package/dist/chunks/{wellknown-96tsfsen.js → image-pbxt2nhv.js} +1 -1
- package/dist/chunks/{wellknown-v50e20c6.js → image-pfb3hsz8.js} +36 -36
- package/dist/chunks/{wellknown-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
- package/dist/chunks/{wellknown-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{wellknown-0n6t9trj.js → image-pq15x4g3.js} +1 -1
- package/dist/chunks/{wellknown-bth0hr76.js → image-prt3w6sm.js} +17 -17
- package/dist/chunks/{wellknown-ycfbty71.js → image-pvjg77yk.js} +4 -4
- package/dist/chunks/{wellknown-t1d80fqj.js → image-pzx0zbh6.js} +6 -6
- package/dist/chunks/{wellknown-03z534ys.js → image-q2qhh3tp.js} +9 -9
- package/dist/chunks/{wellknown-8r5whp28.js → image-q3xf9qyh.js} +4 -4
- package/dist/chunks/{wellknown-wz4fbqay.js → image-q7wd5sqm.js} +32 -32
- package/dist/chunks/{wellknown-2k8khapm.js → image-qgn6gcr1.js} +5 -5
- package/dist/chunks/{wellknown-jk4n7dck.js → image-qhywa2va.js} +11 -11
- package/dist/chunks/{wellknown-kcz3kyzp.js → image-qkmcd2xy.js} +17 -17
- package/dist/chunks/{wellknown-8s80arjs.js → image-qkxs7z50.js} +12 -12
- package/dist/chunks/{wellknown-jfvmqd5d.js → image-qm4x1tv3.js} +11 -11
- package/dist/chunks/{wellknown-qsdy395h.js → image-qsdy395h.js} +1 -1
- package/dist/chunks/{wellknown-yanbnw58.js → image-qv4r87jq.js} +10 -10
- package/dist/chunks/{wellknown-9qm9egsn.js → image-qvbcabdc.js} +2 -2
- package/dist/chunks/{wellknown-sr0zn850.js → image-qy76r1wf.js} +10 -10
- package/dist/chunks/{wellknown-ry16e5g7.js → image-r2t05dft.js} +11 -11
- package/dist/chunks/{wellknown-pedw5n3n.js → image-r5vb7384.js} +57 -57
- package/dist/chunks/{wellknown-rz31k017.js → image-r5w2ssxe.js} +9 -9
- package/dist/chunks/{wellknown-9wt3tsrn.js → image-r82wxrk3.js} +29 -29
- package/dist/chunks/{wellknown-r8dhm0tv.js → image-r8dhm0tv.js} +1 -1
- package/dist/chunks/{wellknown-hwhktdy4.js → image-r8qcw76d.js} +27 -27
- package/dist/chunks/{wellknown-qm8ev4wm.js → image-r9gjvh9g.js} +8 -8
- package/dist/chunks/{wellknown-rae26gbb.js → image-rae26gbb.js} +1 -1
- package/dist/chunks/{wellknown-jbhh2rmh.js → image-rbp25qjd.js} +11 -11
- package/dist/chunks/{wellknown-qw8c6yqg.js → image-rbx8vs9s.js} +22 -22
- package/dist/chunks/{wellknown-nmdpg4hr.js → image-rkr4sv9x.js} +26 -26
- package/dist/chunks/{wellknown-bwm9kjcw.js → image-s8kvec8m.js} +43 -43
- package/dist/chunks/{wellknown-sba4qhjf.js → image-sba4qhjf.js} +1 -1
- package/dist/chunks/{wellknown-g94f0f01.js → image-sg1nqqxe.js} +14 -14
- package/dist/chunks/{wellknown-rtm4n6fb.js → image-shzqw592.js} +6 -6
- package/dist/chunks/{wellknown-g5wgwrzw.js → image-smn3ewtm.js} +2 -2
- package/dist/chunks/{wellknown-n2dzf7ax.js → image-sr6d0xpj.js} +11 -11
- package/dist/chunks/{wellknown-xtmm7gkk.js → image-srexs3pv.js} +10 -10
- package/dist/chunks/{wellknown-fkwg44rt.js → image-sscgwwvp.js} +19 -19
- package/dist/chunks/{wellknown-a4bdw771.js → image-stfc1yc9.js} +14 -14
- package/dist/chunks/{wellknown-gb89bdhv.js → image-szs3c7md.js} +15 -15
- package/dist/chunks/{wellknown-t2az9yje.js → image-t2az9yje.js} +1 -1
- package/dist/chunks/{wellknown-jxc8y161.js → image-t44ethcb.js} +29 -28
- package/dist/chunks/{wellknown-tazgh4e4.js → image-tazgh4e4.js} +1 -1
- package/dist/chunks/{wellknown-tcezcvh9.js → image-tcezcvh9.js} +1 -1
- package/dist/chunks/{wellknown-tjykrgmx.js → image-tjykrgmx.js} +1 -1
- package/dist/chunks/{wellknown-ba723ajb.js → image-tqqej2s1.js} +8 -8
- package/dist/chunks/{wellknown-mjzbwbtj.js → image-tz7j0ah5.js} +33 -33
- package/dist/chunks/image-v2tpghv8.js +51 -0
- package/dist/chunks/{wellknown-q9792xnb.js → image-v55y9sra.js} +1 -1
- package/dist/chunks/{wellknown-tz1mz783.js → image-v5rgjsm5.js} +29 -29
- package/dist/chunks/{wellknown-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{wellknown-w5a8z9r2.js → image-w97wc9k9.js} +4 -4
- package/dist/chunks/{wellknown-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/image-wqqnj2ff.js +18 -0
- package/dist/chunks/{wellknown-49hz62j1.js → image-wxhc8dy1.js} +16 -16
- package/dist/chunks/{wellknown-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
- package/dist/chunks/{wellknown-39sgaahe.js → image-x42jkk5j.js} +22 -22
- package/dist/chunks/{wellknown-y55kwzvm.js → image-x4j0zqk8.js} +6 -6
- package/dist/chunks/{wellknown-mt6mcg2h.js → image-x4vht8q3.js} +2 -2
- package/dist/chunks/image-xacb94nx.js +22 -0
- package/dist/chunks/{wellknown-hhfqndnr.js → image-xr5by3j4.js} +18 -18
- package/dist/chunks/{wellknown-wbvq8g8t.js → image-xsk66m3q.js} +12 -12
- package/dist/chunks/{wellknown-66y1b5dw.js → image-xw0wvw3m.js} +9 -9
- package/dist/chunks/{wellknown-37ct2frz.js → image-xyxexyrh.js} +14 -14
- package/dist/chunks/{wellknown-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
- package/dist/chunks/{wellknown-jwcy2c2z.js → image-y71avatq.js} +4 -4
- package/dist/chunks/{wellknown-67gs2z40.js → image-y9a9s7mp.js} +15 -15
- package/dist/chunks/{wellknown-kk3rr3qh.js → image-yfbd16n1.js} +5 -5
- package/dist/chunks/{wellknown-ajtjthsy.js → image-yg7sb877.js} +2 -2
- package/dist/chunks/{wellknown-smy8j9tb.js → image-yhngtrw1.js} +17 -17
- package/dist/chunks/{wellknown-920cr0mh.js → image-ynhf0h2x.js} +8 -8
- package/dist/chunks/{wellknown-pgt0fkwt.js → image-yqapfx1s.js} +9 -9
- package/dist/chunks/{wellknown-z1k01bn4.js → image-z1k01bn4.js} +2 -2
- package/dist/chunks/{wellknown-sfyg8jca.js → image-z1mrzrph.js} +20 -20
- package/dist/chunks/{wellknown-z63w68vq.js → image-z63w68vq.js} +2 -2
- package/dist/chunks/{wellknown-q0xzcr7f.js → image-z9dmagnb.js} +295 -295
- package/dist/chunks/{wellknown-hcx11q7e.js → image-z9hwx18z.js} +46 -46
- package/dist/chunks/{wellknown-nga86p6q.js → image-zfdtt056.js} +6 -6
- package/dist/chunks/{wellknown-jenf2w30.js → image-zjv8y9ya.js} +20 -20
- package/dist/chunks/{wellknown-w8hr26yt.js → image-zjwxsg17.js} +19 -19
- package/dist/chunks/{wellknown-r7t96r8n.js → image-zpfznfa2.js} +23 -23
- package/dist/chunks/{wellknown-s3rbnf14.js → image-zrt27vz2.js} +14 -14
- package/dist/chunks/{wellknown-zxq2ej10.js → image-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +115 -115
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +112 -112
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +352 -352
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +89 -89
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +90 -90
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +88 -88
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +345 -345
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +83 -83
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -4
- package/dist/plugin/optimize.js +21 -0
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +337 -337
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +86 -86
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- 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 +211 -211
- package/dist/session/execution.js +116 -116
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +82 -82
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +117 -117
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +84 -84
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +114 -114
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/types/plugin/module.d.ts +36 -34
- package/dist/types/plugin/{system-prompt.d.ts → optimize.d.ts} +3 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- 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 +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +336 -336
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -9
- package/dist/chunks/wellknown-5310qyg9.js +0 -18
- package/dist/chunks/wellknown-5hannepb.js +0 -103
- package/dist/chunks/wellknown-bxw8fhk8.js +0 -247
- package/dist/chunks/wellknown-te378a9x.js +0 -22
- package/dist/plugin/system-prompt.js +0 -17
- /package/dist/chunks/{wellknown-0fabt78z.js → image-0fabt78z.js} +0 -0
- /package/dist/chunks/{wellknown-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2axfhc9x.js → image-2axfhc9x.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{wellknown-3t738kvx.js → image-3t738kvx.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{wellknown-41nvscxy.js → image-41nvscxy.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-7zk4hah4.js → image-7zk4hah4.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-982e01ww.js → image-982e01ww.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-a1tpkmh4.js → image-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{wellknown-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{wellknown-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{wellknown-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{wellknown-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{wellknown-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-mntxs535.js → image-mntxs535.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-p8qxwesx.js → image-p8qxwesx.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-se0s1eqw.js → image-se0s1eqw.js} +0 -0
- /package/dist/chunks/{wellknown-sk3qaz4a.js → image-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-twg0f83k.js → image-twg0f83k.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{wellknown-x1b8g1yb.js → image-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{wellknown-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8cydn3q.js → image-y8cydn3q.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → image-z9919s4g.js} +0 -0
- /package/dist/chunks/{wellknown-zbjnn3ac.js → image-zbjnn3ac.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-pvjg77yk.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service71,
|
|
11
|
+
node74
|
|
12
|
+
} from "./image-75bx6y3z.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service75,
|
|
15
|
+
node80
|
|
16
|
+
} from "./image-xyxexyrh.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service73,
|
|
19
|
+
node77
|
|
20
|
+
} from "./image-6m3crmzc.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID12,
|
|
23
23
|
Service70,
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
node73
|
|
25
|
+
} from "./image-9pdz2n87.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./image-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID11,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service69,
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
node72
|
|
35
|
+
} from "./image-hgrms83d.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./image-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError4,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service43,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured5,
|
|
66
|
+
layer: () => layer18,
|
|
67
|
+
node: () => node46
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode-ai/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode-ai/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID11.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service43 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options5 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
176
|
+
var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service75;
|
|
178
|
+
const environment = yield* Service73;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
180
|
const forms = yield* Service70;
|
|
181
181
|
const integration = yield* Service69;
|
|
182
|
-
const credentials = yield*
|
|
182
|
+
const credentials = yield* Service71;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer17 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID11.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -285,7 +285,7 @@ var layer17 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
285
285
|
const elicitation = {
|
|
286
286
|
create: (input) => Effect.gen(function* () {
|
|
287
287
|
if (input.params.mode === "url") {
|
|
288
|
-
const formID =
|
|
288
|
+
const formID = ID12.create();
|
|
289
289
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
290
290
|
urlElicitations.set(key, formID);
|
|
291
291
|
return yield* forms.ask({
|
|
@@ -403,7 +403,7 @@ var layer17 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
403
403
|
entry.scope = scope;
|
|
404
404
|
const authProvider = yield* connectProvider(entry);
|
|
405
405
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
406
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
406
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service73, environment), Scope.provide(scope), Effect.exit);
|
|
407
407
|
if (Exit.isSuccess(result)) {
|
|
408
408
|
entry.client = result.value.connection;
|
|
409
409
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -527,7 +527,7 @@ var layer17 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
527
527
|
yield* startServer(name, entry);
|
|
528
528
|
}).pipe(locks.withLock(name));
|
|
529
529
|
});
|
|
530
|
-
fork(bus.subscribe(
|
|
530
|
+
fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
531
531
|
const state = create3({
|
|
532
532
|
name: "mcp",
|
|
533
533
|
initial: () => ({
|
|
@@ -557,7 +557,7 @@ var layer17 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
557
557
|
concurrency: "unbounded",
|
|
558
558
|
discard: true
|
|
559
559
|
}));
|
|
560
|
-
return
|
|
560
|
+
return Service43.of({
|
|
561
561
|
transform: state.transform,
|
|
562
562
|
reload: state.reload,
|
|
563
563
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -677,14 +677,14 @@ var layer17 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
677
677
|
})
|
|
678
678
|
});
|
|
679
679
|
}));
|
|
680
|
-
function
|
|
680
|
+
function configured5(options) {
|
|
681
681
|
return makeLocationNode({
|
|
682
|
-
service:
|
|
683
|
-
layer:
|
|
684
|
-
deps: [
|
|
682
|
+
service: Service43,
|
|
683
|
+
layer: layer18(options),
|
|
684
|
+
deps: [node80, node77, node84, node73, node72, node74]
|
|
685
685
|
});
|
|
686
686
|
}
|
|
687
|
-
var
|
|
687
|
+
var node46 = configured5();
|
|
688
688
|
function toElicitationField(key, property, required) {
|
|
689
689
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
690
690
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -735,4 +735,4 @@ function toElicitationField(key, property, required) {
|
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
737
|
|
|
738
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
738
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service43, Options5, layer18, configured5, node46, exports_mcp4 };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-p8qxwesx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service73,
|
|
8
|
+
node77
|
|
9
|
+
} from "./image-6m3crmzc.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-5jvc5tg2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service72,
|
|
24
|
+
node: () => node76
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service72 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service73;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service72.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -174,6 +174,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
174
174
|
}))))
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var node76 = makeLocationNode({ service: Service72, layer, deps: [node77, RipgrepBinary2.node] });
|
|
178
178
|
|
|
179
|
-
export { Error4, InvalidPatternError2,
|
|
179
|
+
export { Error4, InvalidPatternError2, Service72, node76, exports_ripgrep };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-cam0w9m9.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-v55y9sra.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
|
|
|
20
20
|
static [entityKind] = "EffectSQLiteDatabase";
|
|
21
21
|
}
|
|
22
22
|
var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
|
|
23
|
-
var
|
|
23
|
+
var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
24
24
|
const client = yield* SqlClient;
|
|
25
25
|
const cache = yield* EffectCache;
|
|
26
26
|
const logger = yield* EffectLogger;
|
|
@@ -37,6 +37,6 @@ var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
|
37
37
|
db.$cache.invalidate = cache.onMutate;
|
|
38
38
|
return db;
|
|
39
39
|
});
|
|
40
|
-
var makeWithDefaults2 = (config = {}) =>
|
|
40
|
+
var makeWithDefaults2 = (config = {}) => make23(config).pipe(Effect.provide(DefaultServices2));
|
|
41
41
|
|
|
42
|
-
export { EffectSQLiteDatabase2, DefaultServices2,
|
|
42
|
+
export { EffectSQLiteDatabase2, DefaultServices2, make23, makeWithDefaults2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-cam0w9m9.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service47
|
|
4
|
+
} from "./image-8weygxvf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service59
|
|
7
|
+
} from "./image-dvx7ppq8.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin31
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin31 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service47;
|
|
27
|
+
const output = yield* Service59;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin29 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin31, exports_tool_output };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-k68abf46.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-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: () => Service64,
|
|
17
|
+
node: () => node67
|
|
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-ai/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service64 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service80).db;
|
|
26
|
-
return
|
|
26
|
+
return Service64.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 node67 = makeGlobalNode({ service: Service64, layer, deps: [node85] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service64, node67, exports_kv };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options9,
|
|
15
|
+
Service: () => Service57,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured8,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node60,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options9 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service57 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve3(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve2(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve3.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service57.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin))
|
|
206
206
|
});
|
|
207
207
|
}));
|
|
208
|
-
function
|
|
209
|
-
return makeLocationNode({ service:
|
|
208
|
+
function configured8(options) {
|
|
209
|
+
return makeLocationNode({ service: Service57, layer: layer(options), deps: [Global.node] });
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var node60 = configured8();
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Options9, Service57, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured8, node60, exports_select };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service75,
|
|
6
|
+
node80
|
|
7
|
+
} from "./image-xyxexyrh.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service72,
|
|
10
|
+
node76
|
|
11
|
+
} from "./image-sg1nqqxe.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./image-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
@@ -59,8 +59,8 @@ function search(index, input) {
|
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
var ripgrepLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
62
|
+
const location = yield* Service75;
|
|
63
|
+
const ripgrep = yield* Service72;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -113,7 +113,7 @@ var ripgrepLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
115
|
var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
116
|
-
const location = yield*
|
|
116
|
+
const location = yield* Service75;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -175,7 +175,7 @@ var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
177
|
var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
-
const location = yield*
|
|
178
|
+
const location = yield* Service75;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
@@ -183,7 +183,7 @@ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
185
|
function configured2(options) {
|
|
186
|
-
return makeLocationNode({ service: Service14, layer: layer8(options), deps: [
|
|
186
|
+
return makeLocationNode({ service: Service14, layer: layer8(options), deps: [node80, node76] });
|
|
187
187
|
}
|
|
188
188
|
var node17 = configured2();
|
|
189
189
|
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-k68abf46.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-g2gt0w0k.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID7,
|
|
17
|
+
Info: () => Info20,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service54,
|
|
21
|
+
node: () => node57
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode-ai/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode-ai/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID7 = PermissionSaved.ID;
|
|
29
|
+
var Info20 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service54 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID7.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service54.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node57 = makeGlobalNode({ service: Service54, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID7, Info20, ListInput4, AddInput2, Service54, node57, exports_saved };
|