@opencode/core 0.0.0-dev-19439 → 0.0.0-dev-19440
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{formatter-dh76dsr9.js → file-01x5ayvb.js} +8 -8
- package/dist/chunks/{formatter-skxg4786.js → file-0a423ajn.js} +43 -43
- package/dist/chunks/{formatter-dtqv72tr.js → file-0ccn345w.js} +16 -16
- package/dist/chunks/{formatter-gp9htv6t.js → file-0gb42mpy.js} +6 -6
- package/dist/chunks/{formatter-t550f9t1.js → file-0gdmqesm.js} +4 -4
- package/dist/chunks/{formatter-6ad8zjmg.js → file-0j7s38gp.js} +24 -24
- package/dist/chunks/{formatter-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{formatter-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{formatter-yjptyezs.js → file-0r7yqxbf.js} +5 -5
- package/dist/chunks/{formatter-j0bxhyf1.js → file-10m077g0.js} +6 -6
- package/dist/chunks/{formatter-cbf23dhs.js → file-11rr1j9z.js} +16 -16
- package/dist/chunks/{formatter-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{formatter-0vb1f5pm.js → file-1dgfjwgv.js} +24 -24
- package/dist/chunks/{formatter-9gk1gqp3.js → file-1kz1ep11.js} +9 -9
- package/dist/chunks/{formatter-00nm36c8.js → file-1nepfxaz.js} +9 -9
- package/dist/chunks/{formatter-nx7dmtbq.js → file-1qvh4tdd.js} +81 -81
- package/dist/chunks/{formatter-095yekjx.js → file-1vtz46z8.js} +8 -8
- package/dist/chunks/file-1x11rq2a.js +18 -0
- package/dist/chunks/{formatter-dv1d3m2q.js → file-1zpv7ff7.js} +39 -39
- package/dist/chunks/{formatter-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{formatter-2402vzrj.js → file-2402vzrj.js} +1 -1
- package/dist/chunks/{formatter-a4exdnt3.js → file-29vcxy2s.js} +4 -4
- package/dist/chunks/{formatter-ea17m5x7.js → file-2a02pqey.js} +28 -28
- package/dist/chunks/{formatter-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{formatter-hk4vbwmw.js → file-2dwxz9nb.js} +1 -1
- package/dist/chunks/{formatter-qmr73083.js → file-2jhvch9f.js} +1 -1
- package/dist/chunks/{formatter-18cztcj7.js → file-2w8gt3dc.js} +3 -3
- package/dist/chunks/{formatter-3pkm5zsv.js → file-31a64gx3.js} +46 -46
- package/dist/chunks/{formatter-bdhtzght.js → file-31k57cnn.js} +20 -20
- package/dist/chunks/{formatter-pf1rkfgd.js → file-34y33xw8.js} +35 -35
- package/dist/chunks/{formatter-72yrt324.js → file-39ydjj0q.js} +16 -16
- package/dist/chunks/{formatter-ndn3zy2s.js → file-3e0re2er.js} +14 -14
- package/dist/chunks/{formatter-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-y9nhn27x.js → file-3q86das3.js} +29 -29
- package/dist/chunks/{formatter-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{formatter-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{formatter-3cfzdc8e.js → file-3w0fmcng.js} +5 -5
- package/dist/chunks/{formatter-8dnxqjce.js → file-40bxqg89.js} +10 -10
- package/dist/chunks/{formatter-9bzc32ne.js → file-41nzdzyt.js} +10 -10
- package/dist/chunks/{formatter-hvdm4zjc.js → file-47rg0syt.js} +17 -17
- package/dist/chunks/{formatter-9adx019p.js → file-4gxnfwsp.js} +39 -39
- package/dist/chunks/{formatter-zc49taxq.js → file-4k1x48fq.js} +11 -11
- package/dist/chunks/{formatter-668nd1zd.js → file-4qk82zqm.js} +17 -17
- package/dist/chunks/{formatter-ctck25gh.js → file-4zqvh54v.js} +50 -50
- package/dist/chunks/{formatter-80e0yyk8.js → file-51b1p1nf.js} +10 -10
- package/dist/chunks/{formatter-j06bdbff.js → file-53kvdkfc.js} +41 -41
- package/dist/chunks/{formatter-r6mys28c.js → file-54xwtjdq.js} +44 -44
- package/dist/chunks/{formatter-33w4ejhs.js → file-56gdpj1q.js} +6 -6
- package/dist/chunks/{formatter-1trm2ftq.js → file-56pp0xdw.js} +16 -16
- package/dist/chunks/{formatter-gkx770bk.js → file-5ahbvy81.js} +10 -10
- package/dist/chunks/{formatter-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{formatter-r94jn7mf.js → file-5eep6mvg.js} +20 -20
- package/dist/chunks/{formatter-v8ch97zc.js → file-5k8nf3y0.js} +1 -1
- package/dist/chunks/{formatter-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{formatter-y0m5vzhp.js → file-5t76y6t3.js} +57 -57
- package/dist/chunks/{formatter-qr27hz8v.js → file-5tvb4m4x.js} +4 -4
- package/dist/chunks/{formatter-m4b8n7qx.js → file-5wd13403.js} +27 -27
- package/dist/chunks/{formatter-vcx64ysh.js → file-5zjhyd44.js} +43 -43
- package/dist/chunks/{formatter-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{formatter-h2zbnnby.js → file-6brzmxsm.js} +14 -14
- package/dist/chunks/{formatter-kabm8qet.js → file-6cwg1y4g.js} +16 -16
- package/dist/chunks/{formatter-0ghbvpbq.js → file-6cxvyk5r.js} +5 -5
- package/dist/chunks/{formatter-p1wf2k30.js → file-6d9mz4vp.js} +5 -5
- package/dist/chunks/{formatter-8g8qrqs2.js → file-6kaqw02d.js} +13 -13
- package/dist/chunks/{formatter-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{formatter-py4eyt8z.js → file-6tp3trja.js} +18 -18
- package/dist/chunks/{formatter-w4vfbj5y.js → file-6wbs09gh.js} +11 -11
- package/dist/chunks/{formatter-reya8m0q.js → file-6z8rkrt2.js} +22 -22
- package/dist/chunks/{formatter-71q4at8m.js → file-71q4at8m.js} +1 -1
- package/dist/chunks/{formatter-8z52dtec.js → file-75kte9jx.js} +14 -14
- package/dist/chunks/{formatter-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-e07ezkqg.js → file-7c6e5y81.js} +24 -24
- package/dist/chunks/{formatter-2k8khapm.js → file-7dqw4kz8.js} +5 -5
- package/dist/chunks/{formatter-s0esgemt.js → file-7sqxeqwy.js} +4 -4
- package/dist/chunks/{formatter-9pv0dm11.js → file-81swgkk7.js} +9 -9
- package/dist/chunks/{formatter-gmwb692f.js → file-81wjxh2j.js} +16 -16
- package/dist/chunks/{formatter-5ztyb0s9.js → file-84k0ms65.js} +13 -13
- package/dist/chunks/{formatter-6jnybvqn.js → file-84zt2byv.js} +9 -9
- package/dist/chunks/{formatter-t1vfcksq.js → file-85y38j38.js} +13 -13
- package/dist/chunks/{formatter-ve6nm2s5.js → file-8a2qdx2a.js} +6 -6
- package/dist/chunks/{formatter-9hmhmwp5.js → file-8b4f4643.js} +295 -295
- package/dist/chunks/{formatter-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{formatter-8p4f9s12.js → file-8p4f9s12.js} +2 -2
- package/dist/chunks/{formatter-6zjp47af.js → file-8st6sg7d.js} +6 -6
- package/dist/chunks/{formatter-nszmkgp8.js → file-8tf464ev.js} +35 -35
- package/dist/chunks/{formatter-gw0b7z6j.js → file-8va43b33.js} +49 -49
- package/dist/chunks/{formatter-3vd6qc07.js → file-8ygr8afe.js} +9 -9
- package/dist/chunks/{formatter-qa1nr178.js → file-90hac4w7.js} +15 -15
- package/dist/chunks/{formatter-8t5w0ytw.js → file-915t83ht.js} +5 -5
- package/dist/chunks/{formatter-gab2tx2v.js → file-92e8bh4d.js} +30 -30
- package/dist/chunks/{formatter-021h0nrt.js → file-9ev7wkx2.js} +5 -5
- package/dist/chunks/{formatter-3hf7z3yq.js → file-9khdf5s3.js} +11 -11
- package/dist/chunks/{formatter-5mbh52c5.js → file-9pazyhrx.js} +34 -34
- package/dist/chunks/{formatter-4b0yvbnv.js → file-a12ktaww.js} +9 -9
- package/dist/chunks/{formatter-a1bz86dw.js → file-a1bz86dw.js} +3 -3
- package/dist/chunks/{formatter-f1yt1w90.js → file-a1ttd06w.js} +27 -27
- package/dist/chunks/{formatter-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{formatter-fp08gjcx.js → file-ad4c86qp.js} +19 -19
- package/dist/chunks/{formatter-fghqpq1c.js → file-ah20z6ve.js} +2 -2
- package/dist/chunks/{formatter-g8jasmdt.js → file-akrnn5pm.js} +8 -8
- package/dist/chunks/{formatter-0ped3br2.js → file-apktd9aw.js} +11 -11
- package/dist/chunks/{formatter-q0b5npqy.js → file-aqnnbpn3.js} +10 -10
- package/dist/chunks/{formatter-5yjc0kdb.js → file-arsacetm.js} +11 -11
- package/dist/chunks/{formatter-9dafp5sw.js → file-avp3hhf2.js} +25 -25
- package/dist/chunks/{formatter-edrmdtr5.js → file-b27vhd2z.js} +7 -7
- package/dist/chunks/{formatter-4swyx596.js → file-b3yz7px1.js} +28 -28
- package/dist/chunks/{formatter-ttgj08hp.js → file-b5v58ftx.js} +6 -6
- package/dist/chunks/{formatter-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{formatter-285areat.js → file-bez9jb7v.js} +7 -7
- package/dist/chunks/{formatter-t3ev4bbs.js → file-bjwja24f.js} +5 -5
- package/dist/chunks/{formatter-f81hbz6h.js → file-bnd8m4xr.js} +9 -9
- package/dist/chunks/{formatter-7swy916s.js → file-bsre5g92.js} +20 -20
- package/dist/chunks/{formatter-6rdehx4s.js → file-bty97h6q.js} +11 -11
- package/dist/chunks/{formatter-krdddzze.js → file-bz5k20yh.js} +10 -10
- package/dist/chunks/{formatter-bkqv14q1.js → file-c0q0hmxn.js} +3 -3
- package/dist/chunks/{formatter-ts6jc9rr.js → file-c6090g2y.js} +40 -40
- package/dist/chunks/{formatter-mdjvh03d.js → file-c7vqgbdp.js} +6 -6
- package/dist/chunks/{formatter-7azxt0pz.js → file-caevyejh.js} +26 -26
- package/dist/chunks/{formatter-7s0w6q3c.js → file-cef1ew0c.js} +22 -22
- package/dist/chunks/{formatter-cfpkc3c9.js → file-cfpkc3c9.js} +2 -2
- package/dist/chunks/{formatter-t56rre3z.js → file-cqf55qpv.js} +13 -13
- package/dist/chunks/{formatter-85rv8zbb.js → file-ct16t8sn.js} +7 -7
- package/dist/chunks/{formatter-4jwp497k.js → file-cw20kccn.js} +9 -9
- package/dist/chunks/{formatter-mssymtw4.js → file-cxgbd94q.js} +18 -18
- package/dist/chunks/{formatter-1ah30sey.js → file-d1jmswd2.js} +5 -5
- package/dist/chunks/{formatter-vncycja5.js → file-dfe8djrf.js} +4 -4
- package/dist/chunks/{formatter-y71avatq.js → file-dpkg50ah.js} +4 -4
- package/dist/chunks/file-dqjwa780.js +22 -0
- package/dist/chunks/{formatter-5w7tckb9.js → file-dv8j6wzk.js} +15 -15
- package/dist/chunks/{formatter-j8zzr2am.js → file-dwvzh0g2.js} +4 -4
- package/dist/chunks/{formatter-2d97fjv4.js → file-e4jhm3j4.js} +26 -26
- package/dist/chunks/{formatter-w4arg62q.js → file-e6hd9jay.js} +4 -4
- package/dist/chunks/{formatter-tcgf8zsh.js → file-efd2tswm.js} +4 -4
- package/dist/chunks/{formatter-d3cg80ds.js → file-eg6tdpbh.js} +13 -13
- package/dist/chunks/{formatter-bajakh74.js → file-epd1fg1b.js} +4 -4
- package/dist/chunks/{formatter-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{formatter-0nm12y21.js → file-etq9z835.js} +2 -2
- package/dist/chunks/{formatter-w6jjpet8.js → file-f0w7qnfr.js} +12 -12
- package/dist/chunks/{formatter-dam1xtkf.js → file-f40nw3s4.js} +13 -13
- package/dist/chunks/{formatter-9rzgchqg.js → file-f7xc3wa1.js} +23 -23
- package/dist/chunks/{formatter-f828m53h.js → file-f828m53h.js} +2 -2
- package/dist/chunks/{formatter-0sz3434e.js → file-fmhfve32.js} +22 -22
- package/dist/chunks/{formatter-mmwejawh.js → file-fpm9cd7c.js} +35 -35
- package/dist/chunks/{formatter-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{formatter-4e4zhwn8.js → file-fz45jgbm.js} +26 -26
- package/dist/chunks/{formatter-f9bavhm2.js → file-g08h86t3.js} +1 -1
- package/dist/chunks/{formatter-90p59b3a.js → file-g1sb636y.js} +5 -5
- package/dist/chunks/{formatter-4mxshjsa.js → file-gctttn65.js} +21 -21
- package/dist/chunks/{formatter-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{formatter-3fc6dm20.js → file-gdvy8fx6.js} +4 -4
- package/dist/chunks/{formatter-c92gkee6.js → file-gsnb458g.js} +9 -9
- package/dist/chunks/{formatter-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
- package/dist/chunks/{formatter-8z17e00v.js → file-gz2y2193.js} +2 -2
- package/dist/chunks/{formatter-h03wrkyp.js → file-h03wrkyp.js} +2 -2
- package/dist/chunks/{formatter-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{formatter-cct3q0a5.js → file-h7nxn43q.js} +32 -32
- package/dist/chunks/{formatter-5syt3tya.js → file-ha2h0zjh.js} +27 -27
- package/dist/chunks/{formatter-wmsepf1h.js → file-heer32bb.js} +7 -7
- package/dist/chunks/{formatter-p1kh2k2v.js → file-hgyq7eg6.js} +20 -20
- package/dist/chunks/{formatter-0t42w751.js → file-hgz4ddpy.js} +18 -18
- package/dist/chunks/{formatter-5afqb7wg.js → file-hjkgy200.js} +32 -32
- package/dist/chunks/{formatter-yt0fqk68.js → file-hkfg6fzm.js} +5 -5
- package/dist/chunks/{formatter-2msj1ncg.js → file-hqt9f5hj.js} +169 -169
- package/dist/chunks/{formatter-mhkvc446.js → file-j028xdjb.js} +3 -3
- package/dist/chunks/{formatter-y5eyw352.js → file-j0hyjfyk.js} +9 -9
- package/dist/chunks/{formatter-zemgttac.js → file-j1dc1ckq.js} +25 -25
- package/dist/chunks/{formatter-2pm4epw0.js → file-j1k07czg.js} +5 -5
- package/dist/chunks/{formatter-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{formatter-2vs2nh1n.js → file-jj3qxa52.js} +4 -4
- package/dist/chunks/{formatter-vadmf725.js → file-jk47m7qg.js} +18 -18
- package/dist/chunks/{formatter-7be57pfy.js → file-jtkkm2qn.js} +20 -20
- package/dist/chunks/{formatter-nbqjn8b8.js → file-jzd3sdz4.js} +13 -13
- package/dist/chunks/{formatter-0t1gcbnc.js → file-jzd96n45.js} +14 -14
- package/dist/chunks/{formatter-9zswys26.js → file-jzzy94zk.js} +9 -9
- package/dist/chunks/{formatter-5jtdmvnp.js → file-kaaek4yc.js} +1 -1
- package/dist/chunks/{formatter-xbtmma79.js → file-kegs65m0.js} +27 -27
- package/dist/chunks/{formatter-kg06axw8.js → file-kg06axw8.js} +1 -1
- package/dist/chunks/{formatter-y74fwv73.js → file-kt5w8vxh.js} +10 -10
- package/dist/chunks/{formatter-2qnv7z47.js → file-kvext5yd.js} +81 -81
- package/dist/chunks/{formatter-esv2341e.js → file-m0f43kw2.js} +33 -33
- package/dist/chunks/{formatter-fbj83e1y.js → file-m2h2dh4q.js} +13 -13
- package/dist/chunks/{formatter-4c2c4z0k.js → file-m8nf6fh5.js} +33 -33
- package/dist/chunks/{formatter-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-ybhbtxjg.js → file-ma9yb35x.js} +6 -6
- package/dist/chunks/{formatter-jy16bfac.js → file-mb0ha6fs.js} +1 -1
- package/dist/chunks/{formatter-mkcjrzeh.js → file-mkcjrzeh.js} +1 -1
- package/dist/chunks/{formatter-rsdf2nvv.js → file-msq0jde0.js} +4 -4
- package/dist/chunks/{formatter-d7r387ef.js → file-n032fvft.js} +6 -6
- package/dist/chunks/{formatter-2dcw9sq7.js → file-n8hp42zk.js} +22 -22
- package/dist/chunks/{formatter-sv9bpgvh.js → file-nfnqdzmc.js} +5 -5
- package/dist/chunks/{formatter-8n2resjc.js → file-nnsfn4jb.js} +22 -22
- package/dist/chunks/{formatter-1acjjqhc.js → file-nxer0yad.js} +4 -4
- package/dist/chunks/{formatter-dyrkrqpz.js → file-nyj7fnw9.js} +30 -30
- package/dist/chunks/{formatter-qa5ynrpv.js → file-p2vn5raz.js} +7 -7
- package/dist/chunks/{formatter-wx9wy1qm.js → file-p33ejz0k.js} +1 -1
- package/dist/chunks/{formatter-31dz7cp4.js → file-p6mw6jzc.js} +1 -1
- package/dist/chunks/{formatter-hjt4xg1x.js → file-p6yzb5ay.js} +4 -4
- package/dist/chunks/{formatter-zkae56be.js → file-pfjkw3sm.js} +64 -64
- package/dist/chunks/{formatter-rmk2c50f.js → file-pfq1ksym.js} +5 -5
- package/dist/chunks/{formatter-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{formatter-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-jexxy024.js → file-pxt4kznk.js} +3 -3
- package/dist/chunks/{formatter-hjny2139.js → file-pydmrwq0.js} +28 -28
- package/dist/chunks/{formatter-a5mbhza4.js → file-qbrwkfs8.js} +8 -8
- package/dist/chunks/{formatter-cavr175a.js → file-qj8eh1ht.js} +4 -4
- package/dist/chunks/{formatter-x1msyfgj.js → file-qknber6z.js} +8 -8
- package/dist/chunks/{formatter-1j6vcx8p.js → file-qmj11y7g.js} +22 -22
- package/dist/chunks/{formatter-617j0ppb.js → file-qnq5akd1.js} +16 -16
- package/dist/chunks/{formatter-crc3g98t.js → file-qr42g2ex.js} +12 -12
- package/dist/chunks/{formatter-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/file-qtvmxc8s.js +4 -0
- package/dist/chunks/{formatter-7j2qha59.js → file-qvb3nf84.js} +8 -8
- package/dist/chunks/{formatter-x4hnyy7a.js → file-qz8n5g0w.js} +11 -11
- package/dist/chunks/{formatter-s54pw8rz.js → file-r0q5qwf7.js} +11 -11
- package/dist/chunks/{formatter-g9yjs11r.js → file-r6r1pz2h.js} +20 -20
- package/dist/chunks/{formatter-r9mregkx.js → file-r9mregkx.js} +2 -2
- package/dist/chunks/{formatter-68yeam9s.js → file-rj8m8qzm.js} +10 -10
- package/dist/chunks/{formatter-y88dd9am.js → file-rmnfqzky.js} +25 -25
- package/dist/chunks/{formatter-c3w3adeh.js → file-rq6a0dg0.js} +4 -4
- package/dist/chunks/{formatter-hatqt65p.js → file-rvyh1tga.js} +4 -4
- package/dist/chunks/{formatter-wmpm68aq.js → file-s8b69be9.js} +8 -8
- package/dist/chunks/{formatter-81k6gtxt.js → file-s9wkemjm.js} +16 -16
- package/dist/chunks/{formatter-s0sr0rvp.js → file-sfegc1hb.js} +11 -11
- package/dist/chunks/{formatter-wnhwz1p5.js → file-shyev4mk.js} +11 -11
- package/dist/chunks/{formatter-9z5mp38j.js → file-snsk04x3.js} +17 -17
- package/dist/chunks/{formatter-pd5ra043.js → file-stntv2hh.js} +21 -21
- package/dist/chunks/{formatter-hdbh06sf.js → file-sx8dqv37.js} +25 -25
- package/dist/chunks/{formatter-dbmntw5q.js → file-t1d7geq2.js} +11 -11
- package/dist/chunks/{formatter-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{formatter-tcezcvh9.js → file-tcezcvh9.js} +1 -1
- package/dist/chunks/{formatter-edqrezaz.js → file-td8ytyxd.js} +8 -8
- package/dist/chunks/{formatter-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{formatter-2syw43ez.js → file-tjr0drtg.js} +11 -11
- package/dist/chunks/{formatter-fbb40q07.js → file-tmrp3428.js} +4 -4
- package/dist/chunks/{formatter-0vr1v3xt.js → file-tnjzq8hh.js} +22 -22
- package/dist/chunks/{formatter-v4hmzr0r.js → file-tpw6cwsb.js} +8 -8
- package/dist/chunks/{formatter-4j6h5n25.js → file-ts8g87kd.js} +15 -15
- package/dist/chunks/{formatter-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{formatter-re8aperj.js → file-v1d6h3jw.js} +11 -11
- package/dist/chunks/{formatter-4yg7xpeb.js → file-v6krneed.js} +2 -2
- package/dist/chunks/file-v7es8fey.js +247 -0
- package/dist/chunks/{formatter-5507e9e8.js → file-v84ecj13.js} +41 -41
- package/dist/chunks/{formatter-pcfzsj1n.js → file-v9yqefes.js} +28 -28
- package/dist/chunks/{formatter-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{formatter-a7xpxmvw.js → file-vpsn8azz.js} +21 -21
- package/dist/chunks/{formatter-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{formatter-f3bjm0g3.js → file-w3tvvpzb.js} +18 -18
- package/dist/chunks/{formatter-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-w0psxf7y.js → file-w7q7v3t1.js} +15 -15
- package/dist/chunks/{formatter-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-bz38aey9.js → file-wepxzacc.js} +3 -3
- package/dist/chunks/{formatter-eq20ba7x.js → file-wpm2rk0p.js} +6 -6
- package/dist/chunks/{formatter-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{formatter-9mxd4efq.js → file-x3n8sh0p.js} +17 -17
- package/dist/chunks/{formatter-n5d2spsf.js → file-x4tsw7vb.js} +20 -20
- package/dist/chunks/{formatter-bpvz3mp1.js → file-xhhb3q2x.js} +11 -11
- package/dist/chunks/{formatter-5jgkwf9z.js → file-xw91ethm.js} +5 -5
- package/dist/chunks/{formatter-66g4p5h5.js → file-xxsgs27q.js} +9 -9
- package/dist/chunks/{formatter-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{formatter-vdnmb5h5.js → file-y2rgym3m.js} +9 -9
- package/dist/chunks/{formatter-9ht5y0bp.js → file-y3ak5rv5.js} +53 -53
- package/dist/chunks/{formatter-30txw56n.js → file-yczh3409.js} +23 -23
- package/dist/chunks/{formatter-yddgxcp4.js → file-yddgxcp4.js} +2 -2
- package/dist/chunks/{formatter-2d6j2h4j.js → file-yhks5pv3.js} +6 -6
- package/dist/chunks/{formatter-ptaftxqm.js → file-ykhkvv1t.js} +6 -6
- package/dist/chunks/{formatter-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{formatter-yrznvahk.js → file-yrznvahk.js} +2 -2
- package/dist/chunks/{formatter-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{formatter-5n6j4vsj.js → file-z0q4dsav.js} +8 -8
- package/dist/chunks/{formatter-8kpvhf1n.js → file-z0wr5a8a.js} +30 -30
- package/dist/chunks/{formatter-2jvn1219.js → file-z2fmw18c.js} +20 -20
- package/dist/chunks/{formatter-1cf11pks.js → file-z3asdwpy.js} +24 -24
- package/dist/chunks/{formatter-z63w68vq.js → file-z63w68vq.js} +2 -2
- package/dist/chunks/{formatter-zeh9ct20.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{formatter-qpxqmgt2.js → file-zfznrpx1.js} +4 -4
- package/dist/chunks/{formatter-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{formatter-3pb5g2zf.js → file-zr6kk9a2.js} +4 -4
- package/dist/chunks/{formatter-0mckgfc3.js → file-zrd73k1r.js} +32 -32
- package/dist/chunks/{formatter-s3fk1mhb.js → file-zw0jxv6w.js} +11 -11
- package/dist/chunks/{formatter-ggdbhyt9.js → file-zx6x6k27.js} +13 -13
- package/dist/chunks/{formatter-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- 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 +126 -126
- 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 +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- 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 +81 -81
- package/dist/database/database.js +70 -70
- 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 +70 -70
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- 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 +83 -83
- 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 +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +129 -129
- 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 +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- 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 +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- 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 +99 -99
- package/dist/plugin/command.js +96 -96
- 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 +117 -117
- 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 +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- 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 +92 -92
- package/dist/reference/instructions.js +80 -80
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- 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 +217 -217
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- 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 +108 -108
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- 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 +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +214 -214
- 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 +9 -9
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +98 -98
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- 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 +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +104 -104
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +105 -105
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +94 -94
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +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 +85 -85
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +74 -74
- 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/formatter-35kzsz4m.js +0 -22
- package/dist/chunks/formatter-619r8v3y.js +0 -18
- package/dist/chunks/formatter-qapv375x.js +0 -4
- package/dist/chunks/formatter-tkmn4y3s.js +0 -247
- /package/dist/chunks/{formatter-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-paphc93g.js → file-paphc93g.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-zw0jxv6w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service14,
|
|
6
|
+
Event2
|
|
7
|
+
} from "./file-b3yz7px1.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
32
|
+
const modelsDev = yield* Service14;
|
|
33
33
|
const bus = yield* Service79;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
})
|
|
71
71
|
});
|
|
72
72
|
function environmentNames(provider) {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service52
|
|
4
|
+
} from "./file-54xwtjdq.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin42,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin42 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service52;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -93,4 +93,4 @@ var Plugin26 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin42, exports_warming };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-yhks5pv3.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/variant.ts
|
|
10
10
|
var exports_variant = {};
|
|
11
11
|
__export(exports_variant, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin40,
|
|
13
13
|
VariantPlugin: () => exports_variant,
|
|
14
14
|
generate: () => generate2
|
|
15
15
|
});
|
|
16
16
|
import { Effect } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Model } from "@opencode/schema/model";
|
|
19
|
-
var
|
|
19
|
+
var Plugin40 = define({
|
|
20
20
|
id: "opencode.variant",
|
|
21
21
|
effect: Effect.fn(function* (ctx) {
|
|
22
22
|
yield* ctx.catalog.transform((catalog) => {
|
|
@@ -52,4 +52,4 @@ function generate2(model, provider) {
|
|
|
52
52
|
}));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Plugin40, generate2, exports_variant };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./file-56pp0xdw.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
deletePatch2,
|
|
11
11
|
countPatch2,
|
|
12
12
|
chunksByFile2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-tazgh4e4.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-vpsn8azz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-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: () => Plugin34,
|
|
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 Plugin34 = 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 { Plugin34, exports_hg };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service64,
|
|
6
|
+
node68
|
|
7
|
+
} from "./file-4gxnfwsp.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service63,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer23,
|
|
20
|
+
node: () => node67
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -33,11 +33,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service63 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer23 = Layer.effect(Service63, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service64;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -61,12 +61,12 @@ var layer11 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
61
61
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
62
62
|
message: "Generation credentials are unavailable"
|
|
63
63
|
})));
|
|
64
|
-
return
|
|
64
|
+
return Service63.of({ text });
|
|
65
65
|
}));
|
|
66
|
-
var
|
|
67
|
-
service:
|
|
68
|
-
layer:
|
|
69
|
-
deps: [
|
|
66
|
+
var node67 = makeLocationNode({
|
|
67
|
+
service: Service63,
|
|
68
|
+
layer: layer23,
|
|
69
|
+
deps: [node68, llmClient2]
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
72
|
+
export { ModelSelectionError2, UnavailableError3, Service63, layer23, node67, exports_generate2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-yhks5pv3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-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: () => Service67,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node71
|
|
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: ID13,
|
|
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 Service67 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service67, 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(Service64, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service67.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 node71 = makeLocationNode({ service: Service67, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service67, locationLayer2, node71, exports_aisdk };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./file-51b1p1nf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./file-54xwtjdq.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-heer32bb.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service52;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
catalog.model.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID12.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make4();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make4, VLLMPlugin2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-zr6kk9a2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node85
|
|
7
|
+
} from "./file-sfegc1hb.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
node84
|
|
11
|
+
} from "./file-zw0jxv6w.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service78,
|
|
14
|
+
node83
|
|
15
|
+
} from "./file-kt5w8vxh.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info33,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-81swgkk7.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info32,
|
|
41
41
|
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service77,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node82,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info32 = Info33;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service77 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,9 +94,9 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service78;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
107
107
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
108
108
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
109
109
|
if (row)
|
|
110
|
-
yield* bus.publish(
|
|
110
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
111
111
|
}
|
|
112
112
|
if (!project.vcs)
|
|
113
113
|
return project;
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID17.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -169,11 +169,11 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
169
169
|
if (!row)
|
|
170
170
|
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
171
171
|
const project = fromRow(row);
|
|
172
|
-
yield* bus.publish(
|
|
172
|
+
yield* bus.publish(Event20.Updated, project);
|
|
173
173
|
return project;
|
|
174
174
|
});
|
|
175
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
176
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
177
177
|
return;
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
184
184
|
const normalized = url(origin);
|
|
185
185
|
if (!normalized)
|
|
186
186
|
return;
|
|
187
|
-
return
|
|
187
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
188
188
|
});
|
|
189
189
|
function url(input) {
|
|
190
190
|
const value = input.trim();
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
209
209
|
}
|
|
210
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
211
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
212
|
-
return root ?
|
|
212
|
+
return root ? ID17.make(root) : undefined;
|
|
213
213
|
});
|
|
214
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
215
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
225
225
|
return;
|
|
226
226
|
const node = result.stdout.toString("utf8").split(`
|
|
227
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
228
|
-
return node ?
|
|
228
|
+
return node ? ID17.make(node) : undefined;
|
|
229
229
|
});
|
|
230
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
231
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
234
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
235
235
|
return {
|
|
236
236
|
previous,
|
|
237
|
-
id: id ??
|
|
237
|
+
id: id ?? ID17.global,
|
|
238
238
|
directory: worktree,
|
|
239
239
|
vcs: { type: "hg", store }
|
|
240
240
|
};
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
252
252
|
return yield* persist({
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID17.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
return yield* persist({
|
|
268
|
-
id:
|
|
268
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
269
269
|
directory,
|
|
270
270
|
canonical: directory,
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service77.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node82 = makeGlobalNode({
|
|
277
|
+
service: Service77,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node84, node85, FSUtil.node, node83, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service77, node82, exports_project };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-9khdf5s3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID13
|
|
6
|
+
} from "./file-yhks5pv3.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-heer32bb.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|