@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,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-zfdtt056.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID13
|
|
8
|
+
} from "./image-nzmvpftv.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-pvjg77yk.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event18
|
|
15
|
+
} from "./image-75bx6y3z.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID11,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-hgrms83d.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service68
|
|
22
|
+
} from "./image-jwy076d6.js";
|
|
23
23
|
import {
|
|
24
24
|
get2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./image-qm4x1tv3.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./image-ae8v5dmx.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID11.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,7 +155,7 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
158
|
+
const catalog = yield* Service68;
|
|
159
159
|
const bus = yield* Service79;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
@@ -170,8 +170,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID14.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID14.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
176
|
try: () => get2(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID14.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID13.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID13.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID13.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID14.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,18 +226,19 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID14.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
233
233
|
}));
|
|
234
234
|
const interaction = interactionType2(evt.kind, session?.parentID !== undefined);
|
|
235
235
|
evt.headers["X-Interaction-Type"] = interaction;
|
|
236
|
+
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
236
237
|
if (interaction !== "conversation-agent")
|
|
237
238
|
evt.headers["x-initiator"] = "agent";
|
|
238
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID14.githubCopilot });
|
|
239
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
240
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID14.githubCopilot)
|
|
241
242
|
return;
|
|
242
243
|
const token = evt.request.headers.get("x-api-key");
|
|
243
244
|
if (!token)
|
|
@@ -245,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
245
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
246
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
247
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
248
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID14.githubCopilot });
|
|
249
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
250
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID14.githubCopilot)
|
|
251
252
|
return;
|
|
252
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
253
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service46,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node49
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service46 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service46, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service46.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service44, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node49 = makeGlobalNode({ service: Service46, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service46, node49, exports_environment };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-pvjg77yk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node82
|
|
8
|
+
} from "./image-jasnfvjs.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service75,
|
|
11
|
+
node80
|
|
12
|
+
} from "./image-xyxexyrh.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-wqqnj2ff.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service48,
|
|
18
|
+
node51
|
|
19
|
+
} from "./image-xr5by3j4.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node20
|
|
22
|
+
} from "./image-n1kbsmd5.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service12,
|
|
25
|
+
node15
|
|
26
|
+
} from "./image-1n116cmy.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./image-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher2 = {};
|
|
33
|
+
__export(exports_location_watcher2, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
+
Service: () => Service11,
|
|
36
|
+
node: () => node14
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode-ai/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service11 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service75;
|
|
47
|
+
const watcher = yield* Service48;
|
|
48
48
|
const bus = yield* Service79;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service77;
|
|
51
|
+
const policy = yield* Service12;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service11.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node14 = makeLocationNode({
|
|
106
|
+
service: Service11,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node51, FSUtil.node, node80, node82, node84, node20, node15]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service11, node14, exports_location_watcher2 };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ID14,
|
|
3
|
+
packageName2
|
|
4
|
+
} from "./image-zfdtt056.js";
|
|
5
|
+
|
|
6
|
+
// src/plugin/provider/amazon-bedrock.ts
|
|
7
|
+
import { Effect } from "effect";
|
|
8
|
+
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
9
|
+
var CHAIN_ENV = [
|
|
10
|
+
"AWS_PROFILE",
|
|
11
|
+
"AWS_ACCESS_KEY_ID",
|
|
12
|
+
"AWS_WEB_IDENTITY_TOKEN_FILE",
|
|
13
|
+
"AWS_CONTAINER_CREDENTIALS_RELATIVE_URI",
|
|
14
|
+
"AWS_CONTAINER_CREDENTIALS_FULL_URI"
|
|
15
|
+
];
|
|
16
|
+
var isBedrock = (item) => {
|
|
17
|
+
const name = packageName2(item.package);
|
|
18
|
+
return name.startsWith("@ai-sdk/amazon-bedrock") || name.startsWith("@opencode-ai/ai/providers/amazon-bedrock");
|
|
19
|
+
};
|
|
20
|
+
var AmazonBedrockPlugin2 = define({
|
|
21
|
+
id: "opencode.provider.amazon.bedrock",
|
|
22
|
+
effect: Effect.fn(function* (ctx) {
|
|
23
|
+
yield* ctx.integration.transform((editor) => {
|
|
24
|
+
editor.method.update({
|
|
25
|
+
integrationID: ID14.amazonBedrock,
|
|
26
|
+
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
yield* ctx.catalog.transform((evt) => {
|
|
30
|
+
for (const item of evt.provider.list()) {
|
|
31
|
+
if (!isBedrock(item.provider))
|
|
32
|
+
continue;
|
|
33
|
+
evt.provider.update(item.provider.id, (provider) => {
|
|
34
|
+
const settings = provider.settings ?? {};
|
|
35
|
+
const chain = typeof settings.profile === "string" || CHAIN_ENV.some((name) => process.env[name]);
|
|
36
|
+
if (chain && provider.activation === "auto")
|
|
37
|
+
provider.activation = "enabled";
|
|
38
|
+
const region = process.env.AWS_REGION ?? process.env.AWS_DEFAULT_REGION ?? "us-east-1";
|
|
39
|
+
provider.settings = {
|
|
40
|
+
...settings,
|
|
41
|
+
...typeof settings.region !== "string" ? { region } : {},
|
|
42
|
+
...typeof settings.baseURL !== "string" && typeof settings.endpoint === "string" ? { baseURL: settings.endpoint } : {}
|
|
43
|
+
};
|
|
44
|
+
delete provider.settings.endpoint;
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
})
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
export { AmazonBedrockPlugin2 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node75
|
|
5
|
+
} from "./image-ae8v5dmx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service63,
|
|
8
|
+
node66
|
|
9
|
+
} from "./image-r9gjvh9g.js";
|
|
10
10
|
import {
|
|
11
11
|
DeclinedError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-2y3ph1yz.js";
|
|
13
13
|
import {
|
|
14
14
|
CancelledError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-1jcnaza9.js";
|
|
16
16
|
import {
|
|
17
17
|
Error3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./image-48my4t0a.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service40,
|
|
21
|
+
node43
|
|
22
|
+
} from "./image-hvpnsy1s.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
make17
|
|
25
|
+
} from "./image-p6yzb5ay.js";
|
|
26
26
|
import {
|
|
27
27
|
toLLMMessages2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./image-zbjnn3ac.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./image-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/model-request.ts
|
|
34
34
|
var exports_model_request = {};
|
|
35
35
|
__export(exports_model_request, {
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service39,
|
|
37
37
|
SessionModelRequest: () => exports_model_request,
|
|
38
38
|
baseTranscript: () => baseTranscript2,
|
|
39
39
|
boundImages: () => boundImages2,
|
|
40
|
-
layer: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
layer: () => layer15,
|
|
41
|
+
node: () => node42,
|
|
42
42
|
unsupportedParts: () => unsupportedParts2
|
|
43
43
|
});
|
|
44
44
|
import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode-ai/ai";
|
|
@@ -58,7 +58,7 @@ var baseTranscript2 = (input) => {
|
|
|
58
58
|
return {
|
|
59
59
|
providerMetadataKey,
|
|
60
60
|
system: [
|
|
61
|
-
input.agent.system ? input.agent.system :
|
|
61
|
+
input.agent.system ? input.agent.system : make17(input.tools.definitions.map((tool) => tool.name)),
|
|
62
62
|
input.initial
|
|
63
63
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
64
64
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -185,11 +185,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
|
|
|
185
185
|
return HttpClientResponse.fromWeb(sent, after.response);
|
|
186
186
|
}).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
|
|
187
187
|
|
|
188
|
-
class
|
|
188
|
+
class Service39 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
189
189
|
}
|
|
190
|
-
var
|
|
191
|
-
const hooks = yield*
|
|
192
|
-
const transport = yield*
|
|
190
|
+
var layer15 = Layer.effect(Service39, Effect.gen(function* () {
|
|
191
|
+
const hooks = yield* Service63;
|
|
192
|
+
const transport = yield* Service40;
|
|
193
193
|
const app = yield* Metadata2;
|
|
194
194
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
|
|
195
195
|
const session = input.scope.session;
|
|
@@ -254,12 +254,12 @@ var layer11 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
254
254
|
executeTool
|
|
255
255
|
};
|
|
256
256
|
});
|
|
257
|
-
return
|
|
257
|
+
return Service39.of({ prepare });
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer:
|
|
262
|
-
deps: [
|
|
259
|
+
var node42 = makeLocationNode({
|
|
260
|
+
service: Service39,
|
|
261
|
+
layer: layer15,
|
|
262
|
+
deps: [node66, node43, node75]
|
|
263
263
|
});
|
|
264
264
|
|
|
265
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
265
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service39, layer15, node42, exports_model_request };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-sscgwwvp.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service2 = {};
|
|
7
|
+
__export(exports_service2, {
|
|
8
|
+
Plugin: () => exports_service2,
|
|
9
|
+
Service: () => Service35,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service35 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service35.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service35, awaitActivation2, exports_service2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-pvjg77yk.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-2y3ph1yz.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event11,
|
|
21
21
|
ID: () => ID5,
|
|
22
|
-
Info: () =>
|
|
22
|
+
Info: () => Info19,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service52,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node55,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,12 +34,12 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode-ai/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event11 } from "@opencode-ai/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
42
|
+
var Info19 = Skill.Info;
|
|
43
43
|
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
@@ -71,9 +71,9 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service52 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service79;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service52.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node55 = makeLocationNode({
|
|
112
|
+
service: Service52,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info19, ID5, Name2, available2, toModelOutput3, prepare3, Service52, node55, exports_skill5, Event11 };
|