@opencode/core 0.0.0-dev-19587 → 0.0.0-dev-19589
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{aisdk-native-12zzk1x1.js → generate-00rza3cb.js} +20 -20
- package/dist/chunks/{aisdk-native-vcmavarf.js → generate-02b4kzbq.js} +4 -4
- package/dist/chunks/{aisdk-native-4y910e9x.js → generate-08xvefmx.js} +5 -5
- package/dist/chunks/{aisdk-native-8wzfhrcc.js → generate-0bes2rj4.js} +19 -19
- package/dist/chunks/{aisdk-native-afcey384.js → generate-0n8ns8gx.js} +10 -10
- package/dist/chunks/{aisdk-native-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-native-0q0f95c6.js → generate-0q0f95c6.js} +1 -1
- package/dist/chunks/{aisdk-native-h0vxvrcv.js → generate-0zzb6e4a.js} +43 -43
- package/dist/chunks/{aisdk-native-rs64jzc9.js → generate-10sykk4e.js} +24 -24
- package/dist/chunks/{aisdk-native-xtrzjk7e.js → generate-12v0qx6f.js} +6 -6
- package/dist/chunks/{aisdk-native-k8tj7ker.js → generate-16c77kcq.js} +20 -20
- package/dist/chunks/{aisdk-native-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-native-cjg4xdhd.js → generate-1msf33w2.js} +8 -8
- package/dist/chunks/{aisdk-native-1z24fpan.js → generate-1qezbnxe.js} +7 -7
- package/dist/chunks/{aisdk-native-96bqv5va.js → generate-1wys6wms.js} +23 -23
- package/dist/chunks/{aisdk-native-jm425462.js → generate-20h7pzdp.js} +33 -33
- package/dist/chunks/{aisdk-native-21r38tys.js → generate-21r38tys.js} +1 -1
- package/dist/chunks/{aisdk-native-2402vzrj.js → generate-2402vzrj.js} +1 -1
- package/dist/chunks/{aisdk-native-ft5xsh3g.js → generate-24j5m5j2.js} +37 -37
- package/dist/chunks/{aisdk-native-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-native-y6f0p4jw.js → generate-2f04pwep.js} +3 -3
- package/dist/chunks/{aisdk-native-x3et2xth.js → generate-2hyh68ab.js} +8 -8
- package/dist/chunks/{aisdk-native-607tc6va.js → generate-2k8khapm.js} +5 -5
- package/dist/chunks/{aisdk-native-qm6d722f.js → generate-2kqh0ztw.js} +17 -17
- package/dist/chunks/{aisdk-native-pded2qbh.js → generate-2xfe5qwb.js} +10 -10
- package/dist/chunks/{aisdk-native-5e6hx92c.js → generate-32nvexxh.js} +35 -35
- package/dist/chunks/{aisdk-native-dgs0k0pe.js → generate-37qnb1a0.js} +20 -20
- package/dist/chunks/{aisdk-native-c2hgjq9y.js → generate-3avmt772.js} +10 -10
- package/dist/chunks/{aisdk-native-m5n1efj3.js → generate-3dd05w7p.js} +12 -12
- package/dist/chunks/{aisdk-native-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{aisdk-native-ez39whr3.js → generate-3fqwgmhf.js} +13 -13
- package/dist/chunks/{aisdk-native-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-native-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-native-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-native-1313y6az.js → generate-3w8fp492.js} +35 -35
- package/dist/chunks/{aisdk-native-exs5x9p4.js → generate-3x5jgmm4.js} +22 -22
- package/dist/chunks/{aisdk-native-qjwa214h.js → generate-45tnwva7.js} +11 -11
- package/dist/chunks/{aisdk-native-8764jjnd.js → generate-4d8bqxce.js} +18 -18
- package/dist/chunks/{aisdk-native-47v7jqjw.js → generate-4dpyenvm.js} +39 -39
- package/dist/chunks/{aisdk-native-gcavn3wx.js → generate-4drgpw32.js} +5 -5
- package/dist/chunks/{aisdk-native-3sppp1ax.js → generate-4nyc7g3g.js} +39 -39
- package/dist/chunks/generate-4v7qdvcn.js +18 -0
- package/dist/chunks/{aisdk-native-4ba3v9yg.js → generate-50kfk4rp.js} +32 -32
- package/dist/chunks/{aisdk-native-mfqp6xfm.js → generate-56gdpj1q.js} +6 -6
- package/dist/chunks/{aisdk-native-mz6ae2yf.js → generate-56mz75yv.js} +1 -1
- package/dist/chunks/{aisdk-native-5daktx2q.js → generate-5daktx2q.js} +1 -1
- package/dist/chunks/{aisdk-native-1bykzgew.js → generate-5nayf2hz.js} +20 -20
- package/dist/chunks/{aisdk-native-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-native-ry3zdq1e.js → generate-5xyazqxs.js} +13 -13
- package/dist/chunks/{aisdk-native-r7by1z8b.js → generate-6275my5r.js} +14 -14
- package/dist/chunks/{aisdk-native-v9kk4whf.js → generate-62en8r1m.js} +16 -16
- package/dist/chunks/{aisdk-native-qfzde7bh.js → generate-63xctefh.js} +6 -6
- package/dist/chunks/{aisdk-native-669tq793.js → generate-669tq793.js} +1 -1
- package/dist/chunks/{aisdk-native-a6v99qxw.js → generate-6anwy9fs.js} +4 -4
- package/dist/chunks/{aisdk-native-b2hqgwse.js → generate-6f9y8hff.js} +1 -1
- package/dist/chunks/{aisdk-native-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
- package/dist/chunks/{aisdk-native-s8d2x3ew.js → generate-6q78kr02.js} +36 -36
- package/dist/chunks/{aisdk-native-yppnjwr8.js → generate-6qqtbadc.js} +12 -12
- package/dist/chunks/{aisdk-native-1x3znp50.js → generate-6t8hmcr4.js} +11 -11
- package/dist/chunks/{aisdk-native-71q4at8m.js → generate-71q4at8m.js} +1 -1
- package/dist/chunks/{aisdk-native-23279rje.js → generate-73t188jy.js} +8 -8
- package/dist/chunks/{aisdk-native-e0gy8g4h.js → generate-76awjvz1.js} +46 -46
- package/dist/chunks/{aisdk-native-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-native-xbh8dx30.js → generate-7g5fcwbq.js} +34 -34
- package/dist/chunks/{aisdk-native-0f9afca0.js → generate-7gvwkz6m.js} +5 -5
- package/dist/chunks/{aisdk-native-e5xpd6yj.js → generate-7p797550.js} +6 -6
- package/dist/chunks/{aisdk-native-0pb75hch.js → generate-7pvxdgd3.js} +5 -5
- package/dist/chunks/{aisdk-native-ckhhmwpb.js → generate-7r6j96x8.js} +17 -17
- package/dist/chunks/{aisdk-native-dps54153.js → generate-7wce90dj.js} +4 -4
- package/dist/chunks/{aisdk-native-jxyew9fw.js → generate-7ybm1f9d.js} +4 -4
- package/dist/chunks/{aisdk-native-rsym84ch.js → generate-81swgkk7.js} +7 -7
- package/dist/chunks/{aisdk-native-4ns3h2re.js → generate-87deq66t.js} +6 -6
- package/dist/chunks/{aisdk-native-9p3mq0sv.js → generate-87pnyk16.js} +38 -38
- package/dist/chunks/{aisdk-native-rdt0v5r4.js → generate-8ak0x4nb.js} +13 -13
- package/dist/chunks/{aisdk-native-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-native-1jzc9t6q.js → generate-8n3jwev3.js} +11 -11
- package/dist/chunks/{aisdk-native-8p4f9s12.js → generate-8p4f9s12.js} +2 -2
- package/dist/chunks/{aisdk-native-265kqrgy.js → generate-8vhgkqm3.js} +1 -1
- package/dist/chunks/{aisdk-native-877fs4kk.js → generate-91nn3y69.js} +9 -9
- package/dist/chunks/{aisdk-native-33n3bzdy.js → generate-938z9950.js} +8 -8
- package/dist/chunks/{aisdk-native-87j3jmrh.js → generate-9ag79664.js} +11 -11
- package/dist/chunks/{aisdk-native-3v2fsnmc.js → generate-9crdg4t6.js} +20 -20
- package/dist/chunks/{aisdk-native-6z8ng6g9.js → generate-9ffm2vsk.js} +20 -20
- package/dist/chunks/{aisdk-native-z4fsc67a.js → generate-9n2nj1bj.js} +13 -13
- package/dist/chunks/{aisdk-native-jxnsayze.js → generate-9wewr7va.js} +13 -13
- package/dist/chunks/{aisdk-native-a1bz86dw.js → generate-a1bz86dw.js} +3 -3
- package/dist/chunks/{aisdk-native-4ff8ce17.js → generate-a1z932ek.js} +12 -12
- package/dist/chunks/{aisdk-native-0efqgjpv.js → generate-a77201cw.js} +9 -9
- package/dist/chunks/{aisdk-native-q4s82tbp.js → generate-a9q879s9.js} +24 -24
- package/dist/chunks/{aisdk-native-aaet6srn.js → generate-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-native-r92yfjvg.js → generate-am3ejsbr.js} +16 -16
- package/dist/chunks/{aisdk-native-z87g79ds.js → generate-aqfcjpct.js} +4 -4
- package/dist/chunks/{aisdk-native-1kzvh1r6.js → generate-b0j5wwjs.js} +18 -18
- package/dist/chunks/{aisdk-native-wavq5vqb.js → generate-b36s3smy.js} +1 -1
- package/dist/chunks/{aisdk-native-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-native-558gpyz0.js → generate-bd774qr3.js} +63 -63
- package/dist/chunks/{aisdk-native-ww9ntz46.js → generate-bfaa1j0f.js} +8 -8
- package/dist/chunks/{aisdk-native-cq37gk0t.js → generate-bha4atvq.js} +4 -4
- package/dist/chunks/{aisdk-native-cvtmmhw6.js → generate-bjkv1hdp.js} +1 -1
- package/dist/chunks/{aisdk-native-fyymr9xg.js → generate-bjn91642.js} +4 -4
- package/dist/chunks/{aisdk-native-kxgkddgm.js → generate-bkmwhnwd.js} +7 -7
- package/dist/chunks/{aisdk-native-4knrs4xe.js → generate-bn8ndby6.js} +15 -15
- package/dist/chunks/{aisdk-native-e5nv3ght.js → generate-bndc73cn.js} +5 -5
- package/dist/chunks/{aisdk-native-0d65gp2j.js → generate-bp49gp0s.js} +14 -14
- package/dist/chunks/{aisdk-native-89sq04rc.js → generate-btvmhe1w.js} +17 -17
- package/dist/chunks/{aisdk-native-732en32p.js → generate-bw5dejcj.js} +30 -30
- package/dist/chunks/{aisdk-native-expn7grm.js → generate-c4he4ws2.js} +3 -3
- package/dist/chunks/{aisdk-native-4087s44y.js → generate-c7y10hhw.js} +11 -11
- package/dist/chunks/{aisdk-native-nw4bp5ek.js → generate-c7y5nz0h.js} +22 -22
- package/dist/chunks/{aisdk-native-9jdakqgh.js → generate-cd6ptskk.js} +12 -12
- package/dist/chunks/{aisdk-native-cfpkc3c9.js → generate-cfpkc3c9.js} +2 -2
- package/dist/chunks/{aisdk-native-8798nsf2.js → generate-cjq82wfa.js} +5 -5
- package/dist/chunks/{aisdk-native-jg1wx3s5.js → generate-cknds85b.js} +20 -20
- package/dist/chunks/{aisdk-native-pt1wzm9p.js → generate-cwkg32z7.js} +4 -4
- package/dist/chunks/{aisdk-native-0artwwxx.js → generate-cyaz419g.js} +3 -3
- package/dist/chunks/{aisdk-native-jx8g4evx.js → generate-d2t1ewjp.js} +9 -9
- package/dist/chunks/{aisdk-native-q29qt9dw.js → generate-d4pcbfc2.js} +2 -2
- package/dist/chunks/{aisdk-native-tpw7nhda.js → generate-d8jj1mc6.js} +8 -8
- package/dist/chunks/{aisdk-native-enw7m7xp.js → generate-dg5bcj4q.js} +4 -4
- package/dist/chunks/{aisdk-native-37s12vcn.js → generate-dj9sq318.js} +5 -5
- package/dist/chunks/{aisdk-native-70d2s7af.js → generate-dq61m4ak.js} +1 -1
- package/dist/chunks/{aisdk-native-k8rh8kbe.js → generate-dvmmef1m.js} +15 -15
- package/dist/chunks/{aisdk-native-pscvwjzk.js → generate-e1ffenq0.js} +26 -26
- package/dist/chunks/{aisdk-native-yjptyezs.js → generate-e6hmchc5.js} +5 -5
- package/dist/chunks/{aisdk-native-msp5pacb.js → generate-e9bv773h.js} +43 -43
- package/dist/chunks/{aisdk-native-rhjbct0v.js → generate-eaj1djv9.js} +8 -8
- package/dist/chunks/{aisdk-native-qy9vy1f4.js → generate-eex2agwy.js} +6 -6
- package/dist/chunks/{aisdk-native-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{aisdk-native-acxdgsqj.js → generate-efy70ew4.js} +9 -9
- package/dist/chunks/{aisdk-native-jvdd4w81.js → generate-ep6z9mt6.js} +8 -8
- package/dist/chunks/{aisdk-native-wvmhx4nb.js → generate-eraanh1f.js} +4 -4
- package/dist/chunks/{aisdk-native-9zswys26.js → generate-esj243wz.js} +9 -9
- package/dist/chunks/{aisdk-native-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-native-yp2x3t23.js → generate-f2n192rq.js} +4 -4
- package/dist/chunks/{aisdk-native-1sk4t3bw.js → generate-f5k1bfnh.js} +92 -291
- package/dist/chunks/{aisdk-native-f828m53h.js → generate-f828m53h.js} +2 -2
- package/dist/chunks/{aisdk-native-77240dtv.js → generate-f8epy2bg.js} +8 -8
- package/dist/chunks/{aisdk-native-x6qm3ve3.js → generate-fbbsfk4x.js} +21 -21
- package/dist/chunks/{aisdk-native-0dyhjbwy.js → generate-fbv7bwdr.js} +12 -12
- package/dist/chunks/{aisdk-native-jbr3crdn.js → generate-fg4htv37.js} +20 -20
- package/dist/chunks/{aisdk-native-tkmwgdpd.js → generate-fm2qvscf.js} +7 -7
- package/dist/chunks/{aisdk-native-bbea3drv.js → generate-fmc8few3.js} +30 -30
- package/dist/chunks/{aisdk-native-9v25y94j.js → generate-fntg193g.js} +54 -54
- package/dist/chunks/{aisdk-native-1n48fvpd.js → generate-fq9xr2c7.js} +15 -15
- package/dist/chunks/{aisdk-native-fxbjtjnd.js → generate-fxbjtjnd.js} +1 -1
- package/dist/chunks/{aisdk-native-t0x5rdq8.js → generate-g3n6es57.js} +9 -9
- package/dist/chunks/{aisdk-native-hpbqdbh7.js → generate-g5hnschj.js} +24 -24
- package/dist/chunks/{aisdk-native-cq2eqyzg.js → generate-g8cc633c.js} +41 -41
- package/dist/chunks/{aisdk-native-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-native-7ct7dy8g.js → generate-ggtqa3p1.js} +15 -15
- package/dist/chunks/{aisdk-native-vtjpe2v7.js → generate-gxyd59xe.js} +11 -11
- package/dist/chunks/{aisdk-native-73rvebw6.js → generate-gynya4d5.js} +24 -24
- package/dist/chunks/{aisdk-native-h03wrkyp.js → generate-h03wrkyp.js} +2 -2
- package/dist/chunks/{aisdk-native-njg0nnyy.js → generate-h0rjc7hp.js} +10 -10
- package/dist/chunks/{aisdk-native-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-native-cweffwkq.js → generate-h8bvkk4n.js} +20 -20
- package/dist/chunks/{aisdk-native-raxattbk.js → generate-h8c9t6tg.js} +11 -11
- package/dist/chunks/{aisdk-native-zs6mkee1.js → generate-hatn0rtw.js} +5 -5
- package/dist/chunks/{aisdk-native-sjp111s2.js → generate-hb0vn0db.js} +25 -25
- package/dist/chunks/{aisdk-native-6jw7qbdc.js → generate-hf0cb6zs.js} +26 -32
- package/dist/chunks/{aisdk-native-n2kah95r.js → generate-hr5bc81f.js} +8 -8
- package/dist/chunks/{aisdk-native-vfjw4etf.js → generate-hsh8wwzp.js} +18 -18
- package/dist/chunks/{aisdk-native-jghsd1wz.js → generate-htd8zck5.js} +10 -10
- package/dist/chunks/generate-hxyh9mjp.js +247 -0
- package/dist/chunks/{aisdk-native-83t0mtbr.js → generate-hy86y6ky.js} +33 -33
- package/dist/chunks/{aisdk-native-fp838efq.js → generate-j1k42z14.js} +3 -3
- package/dist/chunks/{aisdk-native-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-native-0b65cpzw.js → generate-j8k25my2.js} +19 -19
- package/dist/chunks/{aisdk-native-hceg7q13.js → generate-jcww1zet.js} +4 -4
- package/dist/chunks/{aisdk-native-b84cfsc8.js → generate-jz915pxj.js} +9 -9
- package/dist/chunks/{aisdk-native-2nb9akgd.js → generate-k5qasypg.js} +32 -32
- package/dist/chunks/{aisdk-native-etpa6mg3.js → generate-k6yvpnmg.js} +17 -17
- package/dist/chunks/{aisdk-native-jt6t2dx0.js → generate-k94sgdxv.js} +17 -17
- package/dist/chunks/{aisdk-native-kg06axw8.js → generate-kg06axw8.js} +1 -1
- package/dist/chunks/{aisdk-native-j07mcewt.js → generate-knzt4y7a.js} +9 -9
- package/dist/chunks/{aisdk-native-9f8bm3tt.js → generate-kpq4kzcn.js} +24 -24
- package/dist/chunks/{aisdk-native-a7zawp2b.js → generate-kx9vnwq1.js} +3 -3
- package/dist/chunks/{aisdk-native-wqrrwyse.js → generate-kz8df0x3.js} +169 -169
- package/dist/chunks/{aisdk-native-ehh6ph8c.js → generate-m2b5h28j.js} +7 -7
- package/dist/chunks/{aisdk-native-z65s34ts.js → generate-m37xfvad.js} +29 -29
- package/dist/chunks/{aisdk-native-06x8he3q.js → generate-m70sbz6t.js} +4 -4
- package/dist/chunks/{aisdk-native-hrswm3w7.js → generate-m97kazgs.js} +30 -30
- package/dist/chunks/{aisdk-native-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-native-50mzsvk4.js → generate-magykp64.js} +4 -4
- package/dist/chunks/{aisdk-native-1aw4vz7v.js → generate-mb8sdv6y.js} +32 -32
- package/dist/chunks/{aisdk-native-219neeqh.js → generate-mgkvz3hx.js} +5 -5
- package/dist/chunks/{aisdk-native-h3zz7w3j.js → generate-mnxb74j9.js} +85 -85
- package/dist/chunks/{aisdk-native-mhkvc446.js → generate-mvfsc1pv.js} +3 -3
- package/dist/chunks/{aisdk-native-efj89ke9.js → generate-mznknh9a.js} +10 -10
- package/dist/chunks/{aisdk-native-t1dawjzh.js → generate-n66sm98c.js} +8 -8
- package/dist/chunks/{aisdk-native-sysvp9tr.js → generate-n84h1qjv.js} +20 -20
- package/dist/chunks/{aisdk-native-y8ve9161.js → generate-n9a29wxm.js} +14 -14
- package/dist/chunks/{aisdk-native-3e8p36t5.js → generate-ngr3dbwj.js} +9 -9
- package/dist/chunks/{aisdk-native-vbeq5p7h.js → generate-nhpb30s9.js} +53 -53
- package/dist/chunks/{aisdk-native-e82z9tr0.js → generate-nhy5jxhy.js} +7 -7
- package/dist/chunks/{aisdk-native-7tfjhc0x.js → generate-nrcfyptd.js} +17 -17
- package/dist/chunks/{aisdk-native-2f4q0qv2.js → generate-nss8rsah.js} +5 -5
- package/dist/chunks/{aisdk-native-rfnf90hr.js → generate-p37avawd.js} +28 -28
- package/dist/chunks/{aisdk-native-bqz616gy.js → generate-p4we2g2j.js} +8 -8
- package/dist/chunks/{aisdk-native-t0hp8g0z.js → generate-p6bpmqk9.js} +11 -11
- package/dist/chunks/{aisdk-native-msq0jde0.js → generate-paegk39x.js} +4 -4
- package/dist/chunks/{aisdk-native-0pae2qra.js → generate-pgc5v9v9.js} +289 -289
- package/dist/chunks/{aisdk-native-b12e5c9w.js → generate-pj4yccrm.js} +18 -18
- package/dist/chunks/{aisdk-native-8r3crzsj.js → generate-pjr7ywh7.js} +9 -9
- package/dist/chunks/{aisdk-native-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-native-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-native-vdp162ys.js → generate-ps1wcy89.js} +25 -25
- package/dist/chunks/{aisdk-native-mvrepv4q.js → generate-psckrajw.js} +25 -25
- package/dist/chunks/{aisdk-native-f2jyds91.js → generate-q178qezn.js} +6 -6
- package/dist/chunks/{aisdk-native-w8r3hzxb.js → generate-q6wdy971.js} +6 -6
- package/dist/chunks/generate-qapv375x.js +4 -0
- package/dist/chunks/{aisdk-native-3snae86b.js → generate-qfcza57d.js} +9 -9
- package/dist/chunks/{aisdk-native-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-native-5nhasct8.js → generate-r51729b7.js} +6 -6
- package/dist/chunks/{aisdk-native-kss69rth.js → generate-r7w3sbwp.js} +47 -47
- package/dist/chunks/{aisdk-native-wt3f654q.js → generate-r9jh7s6f.js} +14 -14
- package/dist/chunks/{aisdk-native-r9mregkx.js → generate-r9mregkx.js} +2 -2
- package/dist/chunks/{aisdk-native-39dcxt5x.js → generate-rcap56wv.js} +22 -22
- package/dist/chunks/{aisdk-native-tamfydwv.js → generate-rfbpjv35.js} +16 -16
- package/dist/chunks/{aisdk-native-975vv60r.js → generate-rkq934e2.js} +18 -18
- package/dist/chunks/{aisdk-native-txvev1mj.js → generate-rmapgh8g.js} +26 -26
- package/dist/chunks/{aisdk-native-ep6bb0y2.js → generate-s45b13rg.js} +88 -88
- package/dist/chunks/{aisdk-native-1hstdxwt.js → generate-s539y83q.js} +29 -29
- package/dist/chunks/{aisdk-native-kj81w035.js → generate-s5p5f75z.js} +11 -11
- package/dist/chunks/{aisdk-native-b09hzw3k.js → generate-s8610hey.js} +2 -2
- package/dist/chunks/{aisdk-native-2zphh7x8.js → generate-sdvhpjr9.js} +8 -8
- package/dist/chunks/{aisdk-native-96dvff6g.js → generate-sjmtbwe8.js} +15 -15
- package/dist/chunks/{aisdk-native-92n9kp68.js → generate-snxqqawc.js} +11 -11
- package/dist/chunks/{aisdk-native-5tc8t3sp.js → generate-sqvy6n39.js} +25 -25
- package/dist/chunks/{aisdk-native-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-native-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
- package/dist/chunks/{aisdk-native-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-native-th5km1p3.js → generate-th5km1p3.js} +2 -2
- package/dist/chunks/{aisdk-native-tvtrv512.js → generate-tvtrv512.js} +1 -1
- package/dist/chunks/{aisdk-native-r3rhgkxa.js → generate-tx792pd3.js} +5 -5
- package/dist/chunks/{aisdk-native-baeegw7z.js → generate-v26dmcdy.js} +7 -7
- package/dist/chunks/{aisdk-native-5b7vf1m4.js → generate-v7e79jg1.js} +22 -22
- package/dist/chunks/{aisdk-native-v6yxqhem.js → generate-v7qghhq8.js} +8 -8
- package/dist/chunks/{aisdk-native-4zxxnnpk.js → generate-vch9w268.js} +3 -3
- package/dist/chunks/{aisdk-native-b5vcnazb.js → generate-vej037r9.js} +4 -4
- package/dist/chunks/{aisdk-native-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-native-8k4hkv5d.js → generate-vfnexndp.js} +6 -6
- package/dist/chunks/{aisdk-native-q2b1ymqp.js → generate-vncycja5.js} +4 -4
- package/dist/chunks/{aisdk-native-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
- package/dist/chunks/{aisdk-native-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/generate-w4wj1qng.js +26 -0
- package/dist/chunks/{aisdk-native-mj5qpa52.js → generate-w6904abx.js} +17 -17
- package/dist/chunks/{aisdk-native-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-native-f0f4ttvk.js → generate-whrq6171.js} +47 -47
- package/dist/chunks/{aisdk-native-st8p8d2e.js → generate-wtnysg9m.js} +5 -5
- package/dist/chunks/{aisdk-native-rn79xn25.js → generate-x0e6qwje.js} +20 -20
- package/dist/chunks/{aisdk-native-wjeb65nc.js → generate-x10gc1af.js} +6 -6
- package/dist/chunks/{aisdk-native-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
- package/dist/chunks/{aisdk-native-k2dherqe.js → generate-x569bdqa.js} +1 -1
- package/dist/chunks/{aisdk-native-dwh3xqh5.js → generate-xa31kddj.js} +13 -13
- package/dist/chunks/{aisdk-native-xdk7gfvz.js → generate-xcpgzh2v.js} +35 -35
- package/dist/chunks/{aisdk-native-xekzrwwc.js → generate-xekzrwwc.js} +2 -2
- package/dist/chunks/{aisdk-native-h42r5qa0.js → generate-xmwtbrer.js} +4 -4
- package/dist/chunks/{aisdk-native-2eykfrat.js → generate-xrv51t12.js} +15 -15
- package/dist/chunks/{aisdk-native-7n1bsde3.js → generate-xx7xr3bh.js} +11 -11
- package/dist/chunks/{aisdk-native-t2tfq0sa.js → generate-y0h0ync2.js} +15 -15
- package/dist/chunks/{aisdk-native-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-native-61q379j8.js → generate-y33ajj4x.js} +9 -9
- package/dist/chunks/{aisdk-native-g9h27qxy.js → generate-y587sa4j.js} +7 -7
- package/dist/chunks/{aisdk-native-y71avatq.js → generate-y71avatq.js} +1 -1
- package/dist/chunks/{aisdk-native-35wynegs.js → generate-y7wana11.js} +2 -2
- package/dist/chunks/{aisdk-native-6136p1w5.js → generate-ye75azwm.js} +14 -14
- package/dist/chunks/{aisdk-native-95bxmfq6.js → generate-yg4n1b3c.js} +17 -17
- package/dist/chunks/{aisdk-native-c9sxab00.js → generate-yg8tzxp7.js} +10 -10
- package/dist/chunks/{aisdk-native-5mdd6pyz.js → generate-yqar7kj7.js} +11 -11
- package/dist/chunks/{aisdk-native-shrtfrh2.js → generate-yqfnpkff.js} +32 -32
- package/dist/chunks/{aisdk-native-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
- package/dist/chunks/{aisdk-native-yrznvahk.js → generate-yrznvahk.js} +2 -2
- package/dist/chunks/{aisdk-native-dc7kgzha.js → generate-yy0bersf.js} +20 -20
- package/dist/chunks/{aisdk-native-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-native-z63w68vq.js → generate-z63w68vq.js} +2 -2
- package/dist/chunks/{aisdk-native-f901ejzv.js → generate-z7m2s2v7.js} +20 -20
- package/dist/chunks/{aisdk-native-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
- package/dist/chunks/{aisdk-native-ewnjf4j9.js → generate-zhnshq9c.js} +27 -27
- package/dist/chunks/{aisdk-native-5j9m80r0.js → generate-znk0r93t.js} +8 -8
- package/dist/chunks/{aisdk-native-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-native-ryck9khc.js → generate-zwf0y1k1.js} +14 -14
- package/dist/chunks/{aisdk-native-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -120
- package/dist/config/plugin/image.js +119 -119
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +121 -121
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +119 -119
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +121 -121
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +122 -122
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +92 -92
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +93 -93
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +90 -90
- package/dist/git.js +10 -10
- 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 +5 -5
- package/dist/instance.js +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +202 -260
- package/dist/mcp/index.js +103 -121
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +259 -38
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +6 -6
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- 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/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- 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 +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -137
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +220 -220
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +134 -134
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +9 -9
- package/dist/shell.js +136 -136
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +123 -123
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/types/mcp/client.d.ts +220 -124
- package/dist/types/mcp/index.d.ts +23 -87
- package/dist/types/mcp/oauth.d.ts +26 -51
- package/dist/types/mcp/stdio.d.ts +1 -1
- package/dist/types/v1/config/migrate.d.ts +2 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- 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 +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +95 -95
- package/package.json +17 -16
- package/dist/chunks/aisdk-native-0mesazry.js +0 -4
- package/dist/chunks/aisdk-native-45th5jwr.js +0 -18
- package/dist/chunks/aisdk-native-681gxtn0.js +0 -247
- package/dist/chunks/aisdk-native-6m8sxegb.js +0 -26
- /package/dist/chunks/{aisdk-native-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-native-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-native-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-native-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-native-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-native-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-native-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-native-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-native-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-native-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-native-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-native-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-native-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-native-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-native-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-native-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-native-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-native-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-native-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-native-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-native-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-native-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-native-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-native-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-native-922hggd3.js → generate-922hggd3.js} +0 -0
- /package/dist/chunks/{aisdk-native-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-native-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-native-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-native-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-native-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-native-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-native-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-native-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-native-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-native-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-native-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-native-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-native-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-native-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-native-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-native-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-native-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-native-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-native-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-native-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-native-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-native-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-native-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-native-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-native-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-native-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-native-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-native-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-native-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-native-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
- /package/dist/chunks/{aisdk-native-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-native-hrnqkpcd.js → generate-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{aisdk-native-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-native-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-native-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-native-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-native-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-native-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-native-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-native-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-native-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-native-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-native-paphc93g.js → generate-paphc93g.js} +0 -0
- /package/dist/chunks/{aisdk-native-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-native-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-native-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-native-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-native-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-native-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-native-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-native-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{aisdk-native-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-native-twg0f83k.js → generate-twg0f83k.js} +0 -0
- /package/dist/chunks/{aisdk-native-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-native-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-native-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-native-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-native-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-native-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-native-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-native-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-native-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-htd8zck5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service53
|
|
7
|
+
} from "./generate-e9bv773h.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-m2b5h28j.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service53;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
catalog.model.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID7.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make6();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make6, OllamaPlugin2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service78,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node83
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service78 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service78.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node83 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node83, exports_git3 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./generate-62en8r1m.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service53
|
|
9
|
+
} from "./generate-e9bv773h.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-a9q879s9.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin25
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin25 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service53;
|
|
35
|
+
const location = yield* Service76;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin25, exports_reference };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./generate-62en8r1m.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service67
|
|
12
|
+
} from "./generate-gynya4d5.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service66
|
|
16
|
+
} from "./generate-b0j5wwjs.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-sdvhpjr9.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service71
|
|
26
|
+
} from "./generate-fntg193g.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service16
|
|
29
|
+
} from "./generate-hsh8wwzp.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./generate-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input3,
|
|
39
|
+
Output: () => Output3,
|
|
40
|
+
Plugin: () => Plugin4,
|
|
41
|
+
name: () => name3,
|
|
42
|
+
toModelContent: () => toModelContent3
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name3 = "grep";
|
|
48
|
+
var Input3 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input7 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output3 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent3 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin4 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service67;
|
|
90
|
+
const ripgrep = yield* Service66;
|
|
91
|
+
const location = yield* Service76;
|
|
92
|
+
const access = yield* Service16;
|
|
93
|
+
const permission = yield* Service71;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name3,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input3,
|
|
99
|
+
output: Output3,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name3,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin41 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent3(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin41 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name3, Input3, Output3, toModelContent3, Plugin4, exports_grep };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-jcww1zet.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-fntg193g.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-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: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event17,
|
|
21
|
+
ID: () => ID12,
|
|
22
|
+
Info: () => Info26,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service70,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node75,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event17 } from "@opencode/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
|
|
43
|
-
var
|
|
42
|
+
var Info26 = Skill.Info;
|
|
43
|
+
var ID12 = 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");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service70 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service79;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID12.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID12.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID12.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID12.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service70.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(Service50, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node75 = makeLocationNode({
|
|
112
|
+
service: Service70,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info26, ID12, Name2, available2, toModelOutput3, prepare3, Service70, node75, exports_skill5, Event17 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-938z9950.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service59,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node63
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID8,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service59 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service59, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service59.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node63 = makeLocationNode({ service: Service59, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service59, locationLayer2, node63, exports_aisdk };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info26,
|
|
6
|
+
ID12,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-3x5jgmm4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service53
|
|
11
|
+
} from "./generate-e9bv773h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin41,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -421,20 +421,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
421
421
|
var ReportContent2 = report_default;
|
|
422
422
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
423
423
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
424
|
-
var
|
|
424
|
+
var Plugin41 = define({
|
|
425
425
|
id: "opencode.skill",
|
|
426
426
|
effect: Effect.fn(function* (ctx) {
|
|
427
427
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
428
428
|
yield* ctx.skill.transform((editor) => {
|
|
429
|
-
editor.add(
|
|
430
|
-
id:
|
|
429
|
+
editor.add(Info26.make({
|
|
430
|
+
id: ID12.make("opencode"),
|
|
431
431
|
name: Name2.make("OpenCode"),
|
|
432
432
|
description: OpencodeDescription2,
|
|
433
433
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
434
434
|
content: OpencodeContent2
|
|
435
435
|
}));
|
|
436
|
-
editor.add(
|
|
437
|
-
id:
|
|
436
|
+
editor.add(Info26.make({
|
|
437
|
+
id: ID12.make("report"),
|
|
438
438
|
name: Name2.make("Report"),
|
|
439
439
|
description: REPORT_DESCRIPTION,
|
|
440
440
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -462,7 +462,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
462
462
|
`);
|
|
463
463
|
});
|
|
464
464
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
465
|
-
const config = yield*
|
|
465
|
+
const config = yield* Service53;
|
|
466
466
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
467
467
|
});
|
|
468
468
|
function terminal() {
|
|
@@ -476,4 +476,4 @@ function shell() {
|
|
|
476
476
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
477
477
|
}
|
|
478
478
|
|
|
479
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
479
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin41, exports_skill3 };
|