@opencode/core 0.0.0-dev-19424 → 0.0.0-dev-19426
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{kv-746ykzny.js → persistent-pty-07z0gam2.js} +2 -2
- package/dist/chunks/{kv-jpm4m4qz.js → persistent-pty-0c8kwbsp.js} +14 -14
- package/dist/chunks/{kv-nmvwhn13.js → persistent-pty-0cc4q6tf.js} +7 -7
- package/dist/chunks/{kv-00h50wdp.js → persistent-pty-0e44rvxq.js} +16 -16
- package/dist/chunks/{kv-3cwb9jzf.js → persistent-pty-0h54jqbs.js} +8 -8
- package/dist/chunks/{kv-ms115ace.js → persistent-pty-0m5hy3yw.js} +33 -33
- package/dist/chunks/persistent-pty-0mesazry.js +4 -0
- package/dist/chunks/{kv-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{kv-38e0k4m7.js → persistent-pty-159kg1rb.js} +17 -17
- package/dist/chunks/{kv-dhp9c77z.js → persistent-pty-1bvxxf6d.js} +9 -9
- package/dist/chunks/{kv-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-59np5r72.js → persistent-pty-1hxa6pzb.js} +32 -32
- package/dist/chunks/{kv-q5c44033.js → persistent-pty-1jzr98sp.js} +11 -11
- package/dist/chunks/{kv-rhx683sy.js → persistent-pty-1tq060df.js} +6 -6
- package/dist/chunks/{kv-etf02tyd.js → persistent-pty-1ybn2y83.js} +46 -46
- package/dist/chunks/{kv-4zrw1ey2.js → persistent-pty-1z0pzthf.js} +2 -2
- package/dist/chunks/{kv-2yc7gd2s.js → persistent-pty-21nf8x37.js} +5 -5
- package/dist/chunks/{kv-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{kv-ngypvr0r.js → persistent-pty-21thbrk0.js} +22 -22
- package/dist/chunks/{kv-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{kv-z63w68vq.js → persistent-pty-29x78va6.js} +6 -6
- package/dist/chunks/{kv-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-kyg1cf9a.js → persistent-pty-2hnfpkj9.js} +24 -24
- package/dist/chunks/{kv-1dxj08hj.js → persistent-pty-2j1x0myt.js} +12 -9
- package/dist/chunks/{kv-1tpb1mvh.js → persistent-pty-2sb6srdd.js} +9 -9
- package/dist/chunks/{kv-ayam5bk7.js → persistent-pty-2v34zfk0.js} +13 -13
- package/dist/chunks/{kv-3n1sqzs3.js → persistent-pty-2vgrpkws.js} +20 -20
- package/dist/chunks/{kv-a46ahx4q.js → persistent-pty-35wxgrz4.js} +8 -8
- package/dist/chunks/{kv-s1j1qc5n.js → persistent-pty-3ajmv4vc.js} +27 -27
- package/dist/chunks/{kv-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-ve4pfa0n.js → persistent-pty-3j8sdtpz.js} +4 -4
- package/dist/chunks/{kv-dfp61b4w.js → persistent-pty-3sapyj2b.js} +15 -15
- package/dist/chunks/{kv-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-gt0cxfk7.js → persistent-pty-3trbxeqx.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-3cfzdc8e.js → persistent-pty-3w2b2yj4.js} +5 -5
- package/dist/chunks/{kv-2wfv040v.js → persistent-pty-3zc5jvmt.js} +34 -34
- package/dist/chunks/{kv-qek8dtx8.js → persistent-pty-485fr60v.js} +14 -14
- package/dist/chunks/{kv-6nj48chv.js → persistent-pty-4vm0hqbg.js} +7 -7
- package/dist/chunks/{kv-g3bycevt.js → persistent-pty-55fm1b9t.js} +23 -23
- package/dist/chunks/{kv-56gdpj1q.js → persistent-pty-56gdpj1q.js} +2 -2
- package/dist/chunks/{kv-3a8br69e.js → persistent-pty-5a5hve6r.js} +20 -20
- package/dist/chunks/{kv-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-ns24c9bg.js → persistent-pty-5f411mky.js} +8 -8
- package/dist/chunks/{kv-wkz87c8f.js → persistent-pty-5r7wtzhh.js} +16 -16
- package/dist/chunks/{kv-k4xgjck9.js → persistent-pty-5t0z2mmn.js} +5 -5
- package/dist/chunks/{kv-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-zn1bmwc2.js → persistent-pty-612qpymn.js} +15 -15
- package/dist/chunks/{kv-xzwpbx9h.js → persistent-pty-64a4x0vc.js} +9 -9
- package/dist/chunks/{kv-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{kv-cze3kph1.js → persistent-pty-69najtqd.js} +20 -20
- package/dist/chunks/{kv-4da4ndpv.js → persistent-pty-6fdj6kdr.js} +4 -4
- package/dist/chunks/{kv-q3scgwqb.js → persistent-pty-6feaep00.js} +26 -26
- package/dist/chunks/{kv-jdzpss6b.js → persistent-pty-6j8myhdp.js} +4 -4
- package/dist/chunks/{kv-53kxs80e.js → persistent-pty-6kvtrg8a.js} +6 -6
- package/dist/chunks/{kv-1pzhnd6x.js → persistent-pty-6mgtcd6n.js} +26 -26
- package/dist/chunks/{kv-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{kv-cq37gk0t.js → persistent-pty-6tt5evqq.js} +4 -4
- package/dist/chunks/{kv-71q4at8m.js → persistent-pty-71q4at8m.js} +1 -1
- package/dist/chunks/{kv-mf9m2v67.js → persistent-pty-721tb84k.js} +3 -3
- package/dist/chunks/{kv-tyd3h2my.js → persistent-pty-72xz0ztc.js} +63 -63
- package/dist/chunks/{kv-tnc7m3sd.js → persistent-pty-75q7adw5.js} +16 -16
- package/dist/chunks/{kv-g7bvdrx8.js → persistent-pty-771pt6a1.js} +9 -9
- package/dist/chunks/{kv-dgj0dq1g.js → persistent-pty-7b15y959.js} +8 -8
- package/dist/chunks/{kv-ajpt9055.js → persistent-pty-7ba6wjkk.js} +13 -13
- package/dist/chunks/{kv-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-qdqjyrmg.js → persistent-pty-7cbt97qs.js} +32 -32
- package/dist/chunks/{kv-0jwsre1p.js → persistent-pty-7dqw4kz8.js} +5 -5
- package/dist/chunks/{kv-mth1p2w6.js → persistent-pty-7e7r6h4f.js} +11 -11
- package/dist/chunks/{kv-8pm72rx8.js → persistent-pty-7hpb1swa.js} +21 -21
- package/dist/chunks/{kv-ezymr09y.js → persistent-pty-7rgb98b3.js} +25 -25
- package/dist/chunks/{kv-bwtbar9r.js → persistent-pty-7vhhzrrm.js} +6 -6
- package/dist/chunks/{kv-zv3e7t68.js → persistent-pty-7wc683m2.js} +2 -2
- package/dist/chunks/{kv-fjvydvzm.js → persistent-pty-7yqnf43w.js} +4 -4
- package/dist/chunks/{kv-pysvbzwn.js → persistent-pty-7z50rzs6.js} +11 -11
- package/dist/chunks/{kv-p2dhp760.js → persistent-pty-7zkd12m7.js} +15 -15
- package/dist/chunks/{kv-rk0rec3h.js → persistent-pty-81swgkk7.js} +9 -9
- package/dist/chunks/{kv-60gwjc7b.js → persistent-pty-84gm4pzb.js} +13 -13
- package/dist/chunks/{kv-c7ecgrk6.js → persistent-pty-84tssp1s.js} +6 -6
- package/dist/chunks/{kv-cgy1wfrf.js → persistent-pty-87rksg4x.js} +18 -18
- package/dist/chunks/{kv-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-8p4f9s12.js → persistent-pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{kv-vb6rjzph.js → persistent-pty-8xbg7ftz.js} +8 -8
- package/dist/chunks/{kv-zerdtc7d.js → persistent-pty-8z17e00v.js} +7 -4
- package/dist/chunks/{kv-9cq2d911.js → persistent-pty-915t83ht.js} +5 -5
- package/dist/chunks/{kv-p33ejz0k.js → persistent-pty-9gyd2w40.js} +1 -1
- package/dist/chunks/{kv-an7jxd2g.js → persistent-pty-9h6x7gyv.js} +12 -12
- package/dist/chunks/{kv-5nsrms9d.js → persistent-pty-9k2v62xn.js} +1 -1
- package/dist/chunks/{kv-5xgjcnty.js → persistent-pty-9njfg5h4.js} +19 -19
- package/dist/chunks/persistent-pty-9r5tkcxt.js +247 -0
- package/dist/chunks/{kv-f00zmnq6.js → persistent-pty-9t9a8468.js} +19 -19
- package/dist/chunks/{kv-n0jyca30.js → persistent-pty-9vd61c30.js} +16 -16
- package/dist/chunks/{kv-92qb1g11.js → persistent-pty-9vqpghck.js} +26 -26
- package/dist/chunks/{kv-ce77yd45.js → persistent-pty-9yqcsx6m.js} +17 -17
- package/dist/chunks/{kv-a1bz86dw.js → persistent-pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{kv-ryr25ayn.js → persistent-pty-a46v4e4v.js} +4 -4
- package/dist/chunks/{kv-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-97g1ygwv.js → persistent-pty-aagvkkxy.js} +51 -24
- package/dist/chunks/{kv-pp5ngvqa.js → persistent-pty-aahnsagd.js} +15 -15
- package/dist/chunks/{kv-ddh9bq48.js → persistent-pty-aavsyw27.js} +24 -24
- package/dist/chunks/{kv-qa4rp7fn.js → persistent-pty-af4kcksd.js} +9 -9
- package/dist/chunks/{kv-xqvb89x1.js → persistent-pty-akt3csds.js} +11 -11
- package/dist/chunks/{kv-jtdqw3ym.js → persistent-pty-andaq6rh.js} +10 -10
- package/dist/chunks/{kv-1zbcv06z.js → persistent-pty-atpcpkf0.js} +14 -14
- package/dist/chunks/{kv-zawxns8p.js → persistent-pty-avr3wk77.js} +21 -21
- package/dist/chunks/{kv-8rvy672g.js → persistent-pty-axdmkq6x.js} +12 -12
- package/dist/chunks/{kv-ykczf8eq.js → persistent-pty-b0grxa7w.js} +5 -5
- package/dist/chunks/{kv-dbt9anx1.js → persistent-pty-b2v3nqsm.js} +13 -13
- package/dist/chunks/{kv-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-7n6vh58r.js → persistent-pty-b99w0g26.js} +6 -6
- package/dist/chunks/{kv-n3wdcy6w.js → persistent-pty-bby00dsd.js} +8 -8
- package/dist/chunks/{kv-37rarmry.js → persistent-pty-bf6dt9pk.js} +16 -16
- package/dist/chunks/{kv-smnhxh3e.js → persistent-pty-bgp3qmdj.js} +44 -44
- package/dist/chunks/{kv-4mak53xc.js → persistent-pty-bhydgh2x.js} +12 -12
- package/dist/chunks/{kv-eng2zwaz.js → persistent-pty-bhzctmd7.js} +18 -18
- package/dist/chunks/{kv-hv8a023p.js → persistent-pty-bkrv928p.js} +85 -85
- package/dist/chunks/{kv-n1a1eppk.js → persistent-pty-bkxbsem7.js} +24 -24
- package/dist/chunks/{kv-qm7jrdpz.js → persistent-pty-bw0vgseb.js} +5 -5
- package/dist/chunks/{kv-mtxnhkwr.js → persistent-pty-bwtw07rb.js} +4 -4
- package/dist/chunks/{kv-acj51h88.js → persistent-pty-bx134keb.js} +9 -9
- package/dist/chunks/{kv-7hf8wdfb.js → persistent-pty-c3t7yrgz.js} +6 -6
- package/dist/chunks/{kv-jtgs360h.js → persistent-pty-c6j5rb3b.js} +4 -4
- package/dist/chunks/{kv-n78ae22e.js → persistent-pty-c7m75h3c.js} +1 -1
- package/dist/chunks/{kv-cfpkc3c9.js → persistent-pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{kv-c47pmwja.js → persistent-pty-cgwhtan4.js} +18 -18
- package/dist/chunks/{kv-3tsb3grn.js → persistent-pty-cqyts73c.js} +23 -23
- package/dist/chunks/{kv-8j66fgre.js → persistent-pty-cvvekyt1.js} +15 -15
- package/dist/chunks/{kv-06x8he3q.js → persistent-pty-cxmh4q5b.js} +4 -4
- package/dist/chunks/{kv-mggvtchm.js → persistent-pty-d5yt5jwb.js} +20 -20
- package/dist/chunks/{kv-2h9fsx22.js → persistent-pty-d8qpv23y.js} +41 -41
- package/dist/chunks/{kv-y71avatq.js → persistent-pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{kv-kmp87k0b.js → persistent-pty-dxygqc36.js} +20 -20
- package/dist/chunks/{kv-8p12mb28.js → persistent-pty-e8mbapm5.js} +9 -9
- package/dist/chunks/{kv-9hkkgm6z.js → persistent-pty-e9x29tk8.js} +8 -8
- package/dist/chunks/{kv-cg111ecx.js → persistent-pty-eanp9d5s.js} +37 -37
- package/dist/chunks/{kv-htnta4fq.js → persistent-pty-emyaygjm.js} +57 -57
- package/dist/chunks/{kv-w5a5ctqr.js → persistent-pty-enc0sym2.js} +18 -18
- package/dist/chunks/{kv-1wxb385z.js → persistent-pty-esdnemd6.js} +1 -1
- package/dist/chunks/{kv-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-6cef7gxv.js → persistent-pty-exnvqzq0.js} +30 -30
- package/dist/chunks/{kv-km56xxe6.js → persistent-pty-ez87t20v.js} +41 -41
- package/dist/chunks/{kv-f828m53h.js → persistent-pty-f828m53h.js} +2 -2
- package/dist/chunks/{kv-ngxaxwdx.js → persistent-pty-f873qhwf.js} +20 -20
- package/dist/chunks/{kv-pb1eahw5.js → persistent-pty-fg7rbsd2.js} +11 -11
- package/dist/chunks/{kv-99arrvk8.js → persistent-pty-fgcgd4rw.js} +13 -13
- package/dist/chunks/{kv-z1qqaahk.js → persistent-pty-fppgezky.js} +25 -25
- package/dist/chunks/{kv-jhetwysa.js → persistent-pty-fq1h1v14.js} +3 -3
- package/dist/chunks/{kv-1sa7xwmb.js → persistent-pty-fsxrvzy1.js} +8 -8
- package/dist/chunks/{kv-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{kv-rx3d65pp.js → persistent-pty-g22feqm7.js} +9 -9
- package/dist/chunks/{kv-gs4jgv05.js → persistent-pty-g246acm2.js} +16 -16
- package/dist/chunks/{kv-vyxd7yyr.js → persistent-pty-g2rsct3h.js} +6 -6
- package/dist/chunks/{kv-j4hs6c17.js → persistent-pty-g5zzrv8s.js} +15 -15
- package/dist/chunks/{kv-gzdthbxm.js → persistent-pty-g6986w1q.js} +21 -21
- package/dist/chunks/{kv-36zdpvh2.js → persistent-pty-g7bd3bxh.js} +13 -13
- package/dist/chunks/{kv-7bpzgkas.js → persistent-pty-gcaewnb3.js} +6 -6
- package/dist/chunks/{kv-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-yq9qz7px.js → persistent-pty-ggwxhvn5.js} +22 -22
- package/dist/chunks/{kv-se034v8w.js → persistent-pty-gpw9mxzt.js} +34 -34
- package/dist/chunks/{kv-hxdev4sf.js → persistent-pty-gq9ysr8h.js} +6 -6
- package/dist/chunks/persistent-pty-gqh9qxps.js +462 -0
- package/dist/chunks/{kv-rpzdwm4k.js → persistent-pty-grfax6bg.js} +15 -15
- package/dist/chunks/{kv-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{kv-0ahe7yqf.js → persistent-pty-gvcny074.js} +11 -11
- package/dist/chunks/{kv-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{kv-pwc8zcsq.js → persistent-pty-h15vyfzd.js} +10 -10
- package/dist/chunks/{kv-a49m5b8w.js → persistent-pty-h28mzj1y.js} +43 -43
- package/dist/chunks/{kv-t8mcaem5.js → persistent-pty-h2gyv3sg.js} +1 -1
- package/dist/chunks/{kv-mxdc1gxg.js → persistent-pty-h322wpay.js} +3 -3
- package/dist/chunks/{kv-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-e3pszgz4.js → persistent-pty-hb21dksg.js} +11 -11
- package/dist/chunks/{kv-c8rs41m5.js → persistent-pty-he2978am.js} +15 -15
- package/dist/chunks/{kv-4fkjfftk.js → persistent-pty-hj2v5ffq.js} +33 -33
- package/dist/chunks/{kv-hjt4xg1x.js → persistent-pty-hjt4xg1x.js} +1 -1
- package/dist/chunks/{kv-msq0jde0.js → persistent-pty-hrndf12w.js} +4 -4
- package/dist/chunks/persistent-pty-ht5y0zrb.js +18 -0
- package/dist/chunks/{kv-r9bmhqfh.js → persistent-pty-hxh4hb0e.js} +17 -17
- package/dist/chunks/{kv-2we4m05m.js → persistent-pty-j39pwvkg.js} +6 -6
- package/dist/chunks/{kv-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-paphc93g.js → persistent-pty-j935v87r.js} +2 -2
- package/dist/chunks/{kv-faxgm9dw.js → persistent-pty-j9jre7ys.js} +169 -169
- package/dist/chunks/{kv-fdr8epc3.js → persistent-pty-jbp58yvw.js} +8 -8
- package/dist/chunks/{kv-dcxndxgt.js → persistent-pty-jer3sd0r.js} +11 -11
- package/dist/chunks/{kv-8qk5ag2a.js → persistent-pty-jk9xsz7x.js} +22 -22
- package/dist/chunks/{kv-1t0z6gp5.js → persistent-pty-jvzfedhz.js} +5 -5
- package/dist/chunks/{kv-vgzrhrbh.js → persistent-pty-jzpbgybv.js} +20 -20
- package/dist/chunks/{kv-h5b4kcx3.js → persistent-pty-k0nnq3t9.js} +6 -6
- package/dist/chunks/{kv-d7cpex39.js → persistent-pty-k8g3dj73.js} +37 -37
- package/dist/chunks/{kv-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
- package/dist/chunks/{kv-0tmd09v3.js → persistent-pty-kpgdrxya.js} +9 -9
- package/dist/chunks/{kv-fmyvj1jr.js → persistent-pty-kt5w8vxh.js} +10 -10
- package/dist/chunks/{kv-9m9mqjsp.js → persistent-pty-m18hwpd1.js} +8 -8
- package/dist/chunks/{kv-2bffqe3z.js → persistent-pty-m3s16k4y.js} +11 -11
- package/dist/chunks/{kv-5sc37rhn.js → persistent-pty-m4xc242r.js} +15 -15
- package/dist/chunks/{kv-dx63s7w1.js → persistent-pty-m5y0j72z.js} +8 -8
- package/dist/chunks/{kv-ykhxkcg8.js → persistent-pty-m7vxemcg.js} +11 -11
- package/dist/chunks/{kv-gsx0ryk4.js → persistent-pty-m86bnw2c.js} +9 -9
- package/dist/chunks/{kv-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-8nzcwr75.js → persistent-pty-mdkf98yy.js} +5 -5
- package/dist/chunks/{kv-7dz17pbv.js → persistent-pty-mge8n18z.js} +5 -5
- package/dist/chunks/{kv-mkcjrzeh.js → persistent-pty-mkcjrzeh.js} +1 -1
- package/dist/chunks/{kv-byy61sde.js → persistent-pty-mqy9bkz8.js} +4 -4
- package/dist/chunks/{kv-en74w496.js → persistent-pty-mrw4weg4.js} +5 -5
- package/dist/chunks/{kv-hkfg6fzm.js → persistent-pty-mtft99cd.js} +5 -5
- package/dist/chunks/{kv-naw5mfdv.js → persistent-pty-n52fcynn.js} +32 -32
- package/dist/chunks/{kv-d8nc1xcx.js → persistent-pty-nw2nz702.js} +4 -4
- package/dist/chunks/{kv-keyg98zt.js → persistent-pty-nx4935gj.js} +9 -9
- package/dist/chunks/{kv-jywz80j8.js → persistent-pty-nyba91e3.js} +20 -20
- package/dist/chunks/{kv-18n0ze07.js → persistent-pty-p9e7n5cp.js} +43 -43
- package/dist/chunks/{kv-sp84vggf.js → persistent-pty-pbmjghd7.js} +11 -11
- package/dist/chunks/{kv-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{kv-q8xmfjd1.js → persistent-pty-pps99k3k.js} +25 -25
- package/dist/chunks/{kv-43vkjyw7.js → persistent-pty-q34x7630.js} +4 -4
- package/dist/chunks/{kv-fypjjzpt.js → persistent-pty-qcahbspj.js} +8 -8
- package/dist/chunks/{kv-ff77dtb9.js → persistent-pty-qfd3egxj.js} +7 -7
- package/dist/chunks/{kv-g9yme2nt.js → persistent-pty-qjfza5jp.js} +23 -23
- package/dist/chunks/{kv-zh3qtny7.js → persistent-pty-qryc0yk4.js} +47 -47
- package/dist/chunks/{kv-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-teerhc17.js → persistent-pty-qshadkbd.js} +15 -15
- package/dist/chunks/{kv-gc9hrexb.js → persistent-pty-qt3ydrbb.js} +85 -85
- package/dist/chunks/{kv-s03wq4a5.js → persistent-pty-qv60t1mv.js} +6 -6
- package/dist/chunks/{kv-0w41f5b9.js → persistent-pty-qz2hjw9m.js} +4 -4
- package/dist/chunks/{kv-bpqx2qm5.js → persistent-pty-r3meafyq.js} +25 -25
- package/dist/chunks/{kv-7yh4e7ss.js → persistent-pty-r5x6zcsm.js} +3 -3
- package/dist/chunks/{kv-4mkcvr19.js → persistent-pty-rs226bz6.js} +5 -5
- package/dist/chunks/{kv-2hxyrecd.js → persistent-pty-rzn68cdd.js} +9 -9
- package/dist/chunks/{kv-88t8dw15.js → persistent-pty-s1htzk4a.js} +24 -24
- package/dist/chunks/{kv-yrznvahk.js → persistent-pty-s4enseaf.js} +2 -2
- package/dist/chunks/{kv-7ak5pxjh.js → persistent-pty-s51v67se.js} +10 -10
- package/dist/chunks/{kv-vpt86awd.js → persistent-pty-s76nk363.js} +12 -12
- package/dist/chunks/{kv-rhjbct0v.js → persistent-pty-s8d7rejh.js} +4 -4
- package/dist/chunks/{kv-h35ea8xq.js → persistent-pty-smj81yy7.js} +26 -26
- package/dist/chunks/{kv-vrbphxwj.js → persistent-pty-stesey4a.js} +4 -4
- package/dist/chunks/{kv-rjqst478.js → persistent-pty-t7fdnyc8.js} +18 -18
- package/dist/chunks/{kv-vvxf2beg.js → persistent-pty-t8wk4avw.js} +11 -11
- package/dist/chunks/persistent-pty-t9b0v4z9.js +22 -0
- package/dist/chunks/{kv-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-8jw9m7y9.js → persistent-pty-tc9rqwe8.js} +9 -9
- package/dist/chunks/{kv-89znhe33.js → persistent-pty-tcezcvh9.js} +4 -4
- package/dist/chunks/{kv-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{kv-f6ne2qfq.js → persistent-pty-tge42xv9.js} +16 -16
- package/dist/chunks/{kv-c1xvwngs.js → persistent-pty-tjfw1za4.js} +10 -10
- package/dist/chunks/{kv-rz527k5r.js → persistent-pty-ttqfmzkf.js} +2 -2
- package/dist/chunks/{kv-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{kv-p1wf2k30.js → persistent-pty-twy35tz0.js} +9 -9
- package/dist/chunks/{kv-17gmnacf.js → persistent-pty-tybgdchd.js} +36 -36
- package/dist/chunks/{kv-h20mmte8.js → persistent-pty-v8aeq3gs.js} +32 -32
- package/dist/chunks/{kv-zxwpk2nb.js → persistent-pty-vabb23s0.js} +1 -1
- package/dist/chunks/{kv-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-e6hmchc5.js → persistent-pty-vmq7ehpy.js} +5 -5
- package/dist/chunks/{kv-8vdvpqvt.js → persistent-pty-vqyjqhb3.js} +10 -10
- package/dist/chunks/{kv-83x6p9kd.js → persistent-pty-vypqtakx.js} +1 -1
- package/dist/chunks/{kv-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{kv-hv2e1k7y.js → persistent-pty-vze96k0n.js} +4 -4
- package/dist/chunks/{kv-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-hca6cb89.js → persistent-pty-warydmh4.js} +25 -25
- package/dist/chunks/{kv-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{kv-t5ct2jg2.js → persistent-pty-ws70e1ew.js} +32 -32
- package/dist/chunks/{kv-8gjcfqer.js → persistent-pty-ww3mwnc7.js} +11 -11
- package/dist/chunks/{kv-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-7575ft8m.js → persistent-pty-x30a5wep.js} +3 -3
- package/dist/chunks/{kv-x43y2vfs.js → persistent-pty-x43y2vfs.js} +2 -2
- package/dist/chunks/{kv-6xvszb1z.js → persistent-pty-xck95xk4.js} +19 -19
- package/dist/chunks/{kv-qj4qdmq9.js → persistent-pty-xrmsdwza.js} +34 -34
- package/dist/chunks/{kv-adg3jwd2.js → persistent-pty-xsgnaeym.js} +17 -17
- package/dist/chunks/{kv-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-jr2s9rt4.js → persistent-pty-y20gv630.js} +32 -32
- package/dist/chunks/{kv-7sdps93t.js → persistent-pty-yddgxcp4.js} +6 -5
- package/dist/chunks/{kv-cp8kyxng.js → persistent-pty-ynnp4yam.js} +11 -11
- package/dist/chunks/{kv-1acjjqhc.js → persistent-pty-yp2x3t23.js} +4 -4
- package/dist/chunks/{kv-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{kv-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-fgg9cgek.js → persistent-pty-zbr6jhfd.js} +24 -24
- package/dist/chunks/{kv-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{kv-magykp64.js → persistent-pty-zepncfka.js} +21 -21
- package/dist/chunks/{kv-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-ygdd69y8.js → persistent-pty-zss1wv0f.js} +56 -56
- package/dist/chunks/{kv-gd3be404.js → persistent-pty-zw5b53zw.js} +43 -43
- package/dist/chunks/{kv-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +77 -77
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +116 -116
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +92 -92
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +82 -82
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +82 -82
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/types/session/model-request.d.ts +3 -3
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/kv-1bx994hr.js +0 -22
- package/dist/chunks/kv-9sh4wc5j.js +0 -18
- package/dist/chunks/kv-hr9dp009.js +0 -4
- package/dist/chunks/kv-jjgfjw71.js +0 -247
- package/dist/chunks/kv-xgzxgv6a.js +0 -462
- /package/dist/chunks/{kv-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-hrnqkpcd.js → persistent-pty-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-tjfw1za4.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-stesey4a.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-2vgrpkws.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID7,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-smj81yy7.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID16,
|
|
17
17
|
isAISDK2,
|
|
18
18
|
packageName2,
|
|
19
19
|
mergeOverlay2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-84tssp1s.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
which2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./persistent-pty-qaymkmh1.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./persistent-pty-0cc4q6tf.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/azure.ts
|
|
32
32
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ function selectLanguage(sdk, modelID, useChat) {
|
|
|
57
57
|
var AzurePlugin2 = define({
|
|
58
58
|
id: "opencode.provider.azure",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const configured = yield* configuredSettings2(
|
|
60
|
+
const configured = yield* configuredSettings2(ID16.azure);
|
|
61
61
|
const processes = yield* AppProcess.Service;
|
|
62
62
|
const bus = yield* Service79;
|
|
63
63
|
const tokens = new Map;
|
|
@@ -93,13 +93,13 @@ var AzurePlugin2 = define({
|
|
|
93
93
|
});
|
|
94
94
|
yield* ctx.integration.transform((editor) => {
|
|
95
95
|
editor.method.update({
|
|
96
|
-
integrationID:
|
|
96
|
+
integrationID: ID16.azure,
|
|
97
97
|
method: { type: "key", label: "API key", form: form() }
|
|
98
98
|
});
|
|
99
99
|
if (!available)
|
|
100
100
|
return;
|
|
101
101
|
editor.method.update({
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID16.azure,
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
134
|
-
const connection = yield* ctx.integration.connection.active(
|
|
134
|
+
const connection = yield* ctx.integration.connection.active(ID16.azure);
|
|
135
135
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
136
136
|
return;
|
|
137
137
|
})) : undefined;
|
|
@@ -145,7 +145,7 @@ var AzurePlugin2 = define({
|
|
|
145
145
|
yield* load();
|
|
146
146
|
yield* ctx.catalog.transform((evt) => {
|
|
147
147
|
for (const item of evt.provider.list()) {
|
|
148
|
-
if (item.provider.id !==
|
|
148
|
+
if (item.provider.id !== ID16.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
149
149
|
continue;
|
|
150
150
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
151
151
|
if (resourceName)
|
|
@@ -169,11 +169,11 @@ var AzurePlugin2 = define({
|
|
|
169
169
|
}
|
|
170
170
|
});
|
|
171
171
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
172
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
172
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
173
173
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
174
|
-
if (evt.model.providerID !==
|
|
174
|
+
if (evt.model.providerID !== ID16.azure)
|
|
175
175
|
return;
|
|
176
|
-
const connection = yield* ctx.integration.connection.active(
|
|
176
|
+
const connection = yield* ctx.integration.connection.active(ID16.azure);
|
|
177
177
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
178
178
|
return;
|
|
179
179
|
})) : undefined;
|
|
@@ -186,11 +186,11 @@ var AzurePlugin2 = define({
|
|
|
186
186
|
evt.request.headers.delete("x-api-key");
|
|
187
187
|
evt.request.headers.set("authorization", `Bearer ${current.access}`);
|
|
188
188
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
189
|
-
}), { providerID:
|
|
189
|
+
}), { providerID: ID16.azure });
|
|
190
190
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
191
191
|
if (evt.package !== "@ai-sdk/azure")
|
|
192
192
|
return;
|
|
193
|
-
if (evt.model.providerID ===
|
|
193
|
+
if (evt.model.providerID === ID16.azure) {
|
|
194
194
|
if (!evt.options.resourceName && !evt.options.baseURL && (!isAISDK2(evt.model.package) || typeof evt.model.settings?.baseURL !== "string")) {
|
|
195
195
|
throw new Error("Azure resource name is missing; set AZURE_RESOURCE_NAME or configure resourceName/baseURL");
|
|
196
196
|
}
|
|
@@ -199,7 +199,7 @@ var AzurePlugin2 = define({
|
|
|
199
199
|
evt.sdk = mod.createAzure(evt.options);
|
|
200
200
|
}));
|
|
201
201
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
202
|
-
if (evt.model.providerID !==
|
|
202
|
+
if (evt.model.providerID !== ID16.azure)
|
|
203
203
|
return;
|
|
204
204
|
evt.language = selectLanguage(evt.sdk, evt.model.modelID ?? evt.model.id, Boolean(evt.options.useCompletionUrls));
|
|
205
205
|
}));
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2,
|
|
4
|
-
Info32
|
|
5
|
-
} from "./kv-c7ecgrk6.js";
|
|
6
|
-
import {
|
|
7
4
|
Info30
|
|
8
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-84tssp1s.js";
|
|
6
|
+
import {
|
|
7
|
+
Info29
|
|
8
|
+
} from "./persistent-pty-nx4935gj.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-stesey4a.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-kg06axw8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
17
|
+
ID7,
|
|
18
|
+
Service57,
|
|
19
|
+
node61
|
|
20
|
+
} from "./persistent-pty-smj81yy7.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/catalog.ts
|
|
26
26
|
var exports_catalog2 = {};
|
|
27
27
|
__export(exports_catalog2, {
|
|
28
28
|
Catalog: () => exports_catalog2,
|
|
29
|
-
Event: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
29
|
+
Event: () => Event12,
|
|
30
|
+
Service: () => Service56,
|
|
31
|
+
node: () => node60
|
|
32
32
|
});
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
34
34
|
import { Array, Context, Effect, Layer, Order, pipe } from "effect";
|
|
35
35
|
import { Catalog } from "@opencode/schema/catalog";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event12 } from "@opencode/schema/catalog";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service56 extends Context.Service()("@opencode/Catalog") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
40
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
41
41
|
const bus = yield* Service79;
|
|
42
|
-
const integrations = yield*
|
|
42
|
+
const integrations = yield* Service57;
|
|
43
43
|
const available = (provider, integration) => {
|
|
44
44
|
if (provider.activation === "disabled")
|
|
45
45
|
return false;
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
73
73
|
let current = editor.providers.get(providerID);
|
|
74
74
|
if (!current) {
|
|
75
75
|
current = {
|
|
76
|
-
provider:
|
|
76
|
+
provider: Info30.empty(providerID),
|
|
77
77
|
models: new Map
|
|
78
78
|
};
|
|
79
79
|
editor.providers.set(providerID, current);
|
|
@@ -91,12 +91,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
91
91
|
let record = editor.providers.get(providerID);
|
|
92
92
|
if (!record) {
|
|
93
93
|
record = {
|
|
94
|
-
provider:
|
|
94
|
+
provider: Info30.empty(providerID),
|
|
95
95
|
models: new Map
|
|
96
96
|
};
|
|
97
97
|
editor.providers.set(providerID, record);
|
|
98
98
|
}
|
|
99
|
-
const model = record.models.get(modelID) ??
|
|
99
|
+
const model = record.models.get(modelID) ?? Info29.default(providerID, modelID);
|
|
100
100
|
if (!record.models.has(modelID))
|
|
101
101
|
record.models.set(modelID, model);
|
|
102
102
|
fn(model);
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
130
130
|
}),
|
|
131
131
|
available: Effect.fn("Catalog.provider.available")(function* () {
|
|
132
132
|
const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
|
|
133
|
-
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ??
|
|
133
|
+
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID7.make(provider.id))));
|
|
134
134
|
})
|
|
135
135
|
},
|
|
136
136
|
model: {
|
|
@@ -185,9 +185,9 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
185
185
|
})
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
|
-
return
|
|
188
|
+
return Service56.of(result);
|
|
189
189
|
}));
|
|
190
190
|
var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
|
|
191
|
-
var
|
|
191
|
+
var node60 = makeLocationNode({ service: Service56, layer, deps: [node84, node61] });
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Service56, node60, exports_catalog2, Event12 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-4vm0hqbg.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-c7m75h3c.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
|
|
|
20
20
|
static [entityKind] = "EffectSQLiteDatabase";
|
|
21
21
|
}
|
|
22
22
|
var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
|
|
23
|
-
var
|
|
23
|
+
var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
24
24
|
const client = yield* SqlClient;
|
|
25
25
|
const cache = yield* EffectCache;
|
|
26
26
|
const logger = yield* EffectLogger;
|
|
@@ -37,6 +37,6 @@ var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
|
37
37
|
db.$cache.invalidate = cache.onMutate;
|
|
38
38
|
return db;
|
|
39
39
|
});
|
|
40
|
-
var makeWithDefaults2 = (config = {}) =>
|
|
40
|
+
var makeWithDefaults2 = (config = {}) => make22(config).pipe(Effect.provide(DefaultServices2));
|
|
41
41
|
|
|
42
|
-
export { EffectSQLiteDatabase2, DefaultServices2,
|
|
42
|
+
export { EffectSQLiteDatabase2, DefaultServices2, make22, makeWithDefaults2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-721tb84k.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-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: () => Entry3,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info24
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
13
|
var Entry3 = Schema.Struct({
|
|
@@ -16,6 +16,6 @@ var Entry3 = 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 Info24 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
|
|
20
20
|
|
|
21
|
-
export { Entry3,
|
|
21
|
+
export { Entry3, Info24, exports_formatter3 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-84tssp1s.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-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: () => Service53,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node57
|
|
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: ID16,
|
|
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 Service53 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service53, 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(Service74, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service53.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 node57 = makeLocationNode({ service: Service53, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service53, locationLayer2, node57, exports_aisdk };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-stesey4a.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
6
|
Event19
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-2vgrpkws.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID7,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-smj81yy7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID16,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-84tssp1s.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID6,
|
|
19
|
+
Input14,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-warydmh4.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID6
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID7.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
catalog.provider.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID7.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
|
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
const item = catalog.provider.get(
|
|
191
|
+
const item = catalog.provider.get(ID16.opencode);
|
|
192
192
|
if (!item)
|
|
193
193
|
return;
|
|
194
194
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -228,7 +228,7 @@ var OpencodePlugin2 = define({
|
|
|
228
228
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
229
229
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
230
230
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
231
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
231
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
232
232
|
query: input.query,
|
|
233
233
|
providerID: descriptor.providerID
|
|
234
234
|
}));
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
250
250
|
});
|
|
251
251
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
252
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
252
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
254
254
|
})
|
|
255
255
|
});
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event20,
|
|
13
|
+
ID: () => ID18,
|
|
14
|
+
Info: () => Info33,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info33 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event20 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID18, Current3, Info33, UpdateInput4, Event20, Vcs3, exports_schema };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-tjfw1za4.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-stesey4a.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-2vgrpkws.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID7,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-smj81yy7.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID16,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-84tssp1s.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID7.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID7.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID16.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -222,9 +222,9 @@ var OpenAIPlugin3 = define({
|
|
|
222
222
|
evt.baseURL = codexBaseURL;
|
|
223
223
|
evt.headers.originator = "opencode";
|
|
224
224
|
evt.headers["session-id"] = evt.sessionID;
|
|
225
|
-
}), { providerID:
|
|
225
|
+
}), { providerID: ID16.openai });
|
|
226
226
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
227
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
227
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
})
|
|
229
229
|
});
|
|
230
230
|
function headers(contentType, app) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/provider.ts
|
|
6
6
|
var exports_provider3 = {};
|
|
7
7
|
__export(exports_provider3, {
|
|
8
8
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
9
|
-
ID: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ID: () => ID16,
|
|
10
|
+
Info: () => Info30,
|
|
11
11
|
LoadError: () => LoadError3,
|
|
12
12
|
Provider: () => exports_provider3,
|
|
13
13
|
Request: () => Request3,
|
|
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
|
|
|
23
23
|
import { Provider } from "@opencode/schema/provider";
|
|
24
24
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
25
25
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
26
|
-
var
|
|
26
|
+
var ID16 = Provider.ID;
|
|
27
27
|
var AISDK_PREFIX2 = "aisdk:";
|
|
28
28
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
29
29
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -139,7 +139,7 @@ function mergeHeaders2(base, overlay) {
|
|
|
139
139
|
}
|
|
140
140
|
var Request3 = Provider.Request;
|
|
141
141
|
var Settings2 = Provider.Settings;
|
|
142
|
-
var
|
|
142
|
+
var Info30 = Provider.Info;
|
|
143
143
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
144
144
|
const module = yield* Effect.tryPromise({
|
|
145
145
|
try: () => {
|
|
@@ -161,4 +161,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
161
161
|
return module;
|
|
162
162
|
});
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { ID16, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info30, exports_provider3 };
|