@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
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
6
|
var exports_formatter3 = {};
|
|
7
7
|
__export(exports_formatter3, {
|
|
8
8
|
ConfigFormatterV1: () => exports_formatter3,
|
|
9
9
|
Entry: () => Entry4,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info18
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
13
|
var Entry4 = Schema.Struct({
|
|
@@ -16,6 +16,6 @@ var Entry4 = Schema.Struct({
|
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info18 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
|
|
20
20
|
|
|
21
|
-
export { Entry4,
|
|
21
|
+
export { Entry4, Info18, exports_formatter3 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info11
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info11 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info11, exports_attachment };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-jcww1zet.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service76,
|
|
12
|
+
node81
|
|
13
|
+
} from "./generate-62en8r1m.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service43,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node46
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service43 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service79;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service76;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service76, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service43.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node46 = makeLocationNode({ service: Service43, layer, deps: [node84, node81] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service43, node46, exports_rpc, define2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-j1k42z14.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node74
|
|
12
|
+
} from "./generate-87deq66t.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID11,
|
|
25
|
+
Info: () => Info25,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service69,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured11,
|
|
30
|
+
node: () => node73
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID11 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info25 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID11,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info29 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID11 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID11,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service69 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service69,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node85,
|
|
64
|
+
deps: [node85, node74]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service80).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info25({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service69.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID11.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node73 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID11, Info25, NotFound3, CreateConflict2, Service69, configured11, node73, exports_workspace };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info13,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info13 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info11 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info13, exports_provider2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-jcww1zet.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event16,
|
|
7
|
+
Service63,
|
|
8
|
+
node67
|
|
9
|
+
} from "./generate-bw5dejcj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service54,
|
|
12
|
+
node58
|
|
13
|
+
} from "./generate-rcap56wv.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node81
|
|
20
|
+
} from "./generate-62en8r1m.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-10sykk4e.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-nss8rsah.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./generate-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service55,
|
|
36
|
+
Event12,
|
|
37
|
+
node59
|
|
38
|
+
} from "./generate-pj4yccrm.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./generate-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options6,
|
|
48
|
+
Service: () => Service53,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured7,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer20,
|
|
53
|
+
node: () => node57,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options6 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service53 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service53, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer20 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service76;
|
|
97
|
+
const watcher = yield* Service54;
|
|
98
98
|
const bus = yield* Service79;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service63;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service55;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,8 +221,8 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service53.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured7(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service53,
|
|
268
|
+
layer: layer20(options),
|
|
269
|
+
deps: [node58, node84, FSUtil.node, Global.node, node81, node67, node59]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node57 = configured7();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options6, Service53, Test2, testLayer2, layer20, configured7, node57, exports_config };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key4,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make21,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key4 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key4
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make21(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID5,
|
|
3
|
+
Service61
|
|
4
|
+
} from "./generate-s539y83q.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-938z9950.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -13,7 +13,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
13
13
|
var LLMGatewayPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.llmgateway",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
16
|
-
const integrations = yield*
|
|
16
|
+
const integrations = yield* Service61;
|
|
17
17
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
18
18
|
yield* ctx.catalog.transform((evt) => {
|
|
19
19
|
for (const item of evt.provider.list()) {
|
|
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
25
25
|
continue;
|
|
26
26
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
27
27
|
continue;
|
|
28
|
-
if (!configured.has(
|
|
28
|
+
if (!configured.has(ID5.make(item.provider.id)))
|
|
29
29
|
continue;
|
|
30
30
|
evt.provider.update(item.provider.id, (provider) => {
|
|
31
31
|
provider.headers = {
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service76
|
|
13
|
+
} from "./generate-62en8r1m.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-5nayf2hz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin32,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin32 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service76;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin32, exports_hg };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info15
|
|
6
|
+
} from "./generate-magykp64.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info12
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info15)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info12 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info12, exports_agent3 };
|