@opencode-ai/core 0.0.0-beta-19151 → 0.0.0-beta-19187
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 +82 -82
- package/dist/chunks/{bus-wgz7hchk.js → snapshot-020j3mp2.js} +6 -6
- package/dist/chunks/{bus-w08r0s8v.js → snapshot-024d3rq7.js} +16 -16
- package/dist/chunks/{bus-0e0xafbb.js → snapshot-0e0xafbb.js} +2 -2
- package/dist/chunks/{bus-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-0s9ayhjt.js → snapshot-0s9ayhjt.js} +1 -1
- package/dist/chunks/{bus-88ev9a66.js → snapshot-1372cpk1.js} +5 -5
- package/dist/chunks/{bus-9d4wfkp0.js → snapshot-15m9k394.js} +24 -24
- package/dist/chunks/{bus-8q4mgm57.js → snapshot-16r38w9g.js} +4 -4
- package/dist/chunks/{bus-t9zs3egg.js → snapshot-1a6p2twq.js} +4 -4
- package/dist/chunks/{bus-cfrqkav1.js → snapshot-1apakymg.js} +44 -44
- package/dist/chunks/{bus-669mtdgb.js → snapshot-1c8x35y2.js} +52 -52
- package/dist/chunks/{bus-1ct4r87x.js → snapshot-1ct4r87x.js} +1 -1
- package/dist/chunks/{bus-rzsjt7my.js → snapshot-1e7rwcw0.js} +18 -18
- package/dist/chunks/{bus-arsbtf4n.js → snapshot-1hj0ecw2.js} +27 -27
- package/dist/chunks/{bus-14hmenm3.js → snapshot-1hy241bm.js} +3 -3
- package/dist/chunks/{bus-637qq8n2.js → snapshot-1n116cmy.js} +9 -9
- package/dist/chunks/{bus-qkzfms5c.js → snapshot-1p8bnmch.js} +4 -4
- package/dist/chunks/{bus-0ez61b8c.js → snapshot-1rm0drdm.js} +4 -2
- package/dist/chunks/{bus-h9vk3x5a.js → snapshot-1tbefb4e.js} +13 -13
- package/dist/chunks/{bus-m3fm0fm8.js → snapshot-1ydgq2r4.js} +5 -5
- package/dist/chunks/{bus-psy76y9c.js → snapshot-21kgjbv4.js} +6 -6
- package/dist/chunks/{bus-21r38tys.js → snapshot-21r38tys.js} +1 -1
- package/dist/chunks/{bus-nb0eyw3j.js → snapshot-23dqznfd.js} +50 -50
- package/dist/chunks/{bus-5g33tj6b.js → snapshot-23vtnxct.js} +14 -14
- package/dist/chunks/{bus-tqqej2s1.js → snapshot-24hkfxm1.js} +8 -8
- package/dist/chunks/{bus-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-r33ff4dw.js → snapshot-2d57kztd.js} +5 -5
- package/dist/chunks/{bus-2ht70gj7.js → snapshot-2ht70gj7.js} +1 -1
- package/dist/chunks/{bus-y7pta2mg.js → snapshot-2j3vet75.js} +33 -32
- package/dist/chunks/{bus-n3rn9b9d.js → snapshot-2m3ere56.js} +46 -46
- package/dist/chunks/{bus-wgxn7ww3.js → snapshot-2n9af97f.js} +4 -4
- package/dist/chunks/{bus-mcxg6pmm.js → snapshot-2w6bfmvf.js} +1 -1
- package/dist/chunks/{bus-ds0rx3zk.js → snapshot-30gfay9h.js} +8 -8
- package/dist/chunks/{bus-hen36v2j.js → snapshot-38dpc6qc.js} +24 -24
- package/dist/chunks/{bus-0mccjmkq.js → snapshot-3ew6g826.js} +37 -37
- package/dist/chunks/{bus-exbytbx3.js → snapshot-3f2705k6.js} +9 -9
- package/dist/chunks/{bus-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{bus-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-3qzbfqsy.js → snapshot-3qzbfqsy.js} +2 -2
- package/dist/chunks/{bus-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-wed177g1.js → snapshot-3szn5xn9.js} +6 -6
- package/dist/chunks/{bus-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-mn4d6yy8.js → snapshot-40t5htn2.js} +28 -28
- package/dist/chunks/{bus-famd3pv6.js → snapshot-41mncz27.js} +5 -5
- package/dist/chunks/{bus-454k5vzh.js → snapshot-454k5vzh.js} +1 -1
- package/dist/chunks/{bus-yyebksmm.js → snapshot-4c61nftm.js} +2 -2
- package/dist/chunks/{bus-9r4cyneb.js → snapshot-4d2pz62c.js} +7 -7
- package/dist/chunks/{bus-vxp066d4.js → snapshot-4gc90xj1.js} +17 -17
- package/dist/chunks/{bus-4r2nyarf.js → snapshot-4r2nyarf.js} +1 -1
- package/dist/chunks/{bus-y01np14z.js → snapshot-4vch2zdd.js} +17 -17
- package/dist/chunks/{bus-jy1b6ewz.js → snapshot-55snk687.js} +8 -8
- package/dist/chunks/{bus-xpj7ktyz.js → snapshot-5725naen.js} +30 -30
- package/dist/chunks/{bus-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-5fmxt4p5.js → snapshot-5fmxt4p5.js} +1 -1
- package/dist/chunks/{bus-x7mven0m.js → snapshot-5gkgjc9e.js} +10 -10
- package/dist/chunks/{bus-0vdrg7q8.js → snapshot-5hk7d8ve.js} +9 -9
- package/dist/chunks/{bus-5jvc5tg2.js → snapshot-5jvc5tg2.js} +1 -1
- package/dist/chunks/{bus-ar6r26gf.js → snapshot-5pbfg4es.js} +27 -27
- package/dist/chunks/{bus-x1nkgr2s.js → snapshot-5s5s3mdf.js} +41 -41
- package/dist/chunks/{bus-94vsv0sa.js → snapshot-5vbsxe1b.js} +22 -22
- package/dist/chunks/{bus-qcc87r2a.js → snapshot-67dbm4zp.js} +6 -6
- package/dist/chunks/{bus-nhp7y9q2.js → snapshot-6ggr1646.js} +25 -25
- package/dist/chunks/{bus-2402vzrj.js → snapshot-6h73sxmp.js} +5 -5
- package/dist/chunks/{bus-hd7305av.js → snapshot-6m616b53.js} +32 -32
- package/dist/chunks/{bus-4ttn3f9n.js → snapshot-6wsw2by1.js} +18 -18
- package/dist/chunks/{bus-mx2vryrr.js → snapshot-6y030jv9.js} +25 -25
- package/dist/chunks/{bus-6z5bwd8g.js → snapshot-6z5bwd8g.js} +2 -2
- package/dist/chunks/{bus-k2ahb10n.js → snapshot-703t54qh.js} +28 -28
- package/dist/chunks/{bus-711hfp6y.js → snapshot-711hfp6y.js} +2 -2
- package/dist/chunks/{bus-72nftnjy.js → snapshot-72nftnjy.js} +2 -2
- package/dist/chunks/{bus-1z80kc63.js → snapshot-75yf2d83.js} +4 -4
- package/dist/chunks/{bus-e5b0qn1c.js → snapshot-768z0hjh.js} +1 -1
- package/dist/chunks/{bus-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-nbf26ms9.js → snapshot-7re8x0er.js} +17 -17
- package/dist/chunks/{bus-7httqr41.js → snapshot-7ts527p8.js} +23 -23
- package/dist/chunks/snapshot-7wsg6hf8.js +247 -0
- package/dist/chunks/snapshot-7zk4hah4.js +4 -0
- package/dist/chunks/{bus-ymy83g1g.js → snapshot-880d1yvd.js} +11 -11
- package/dist/chunks/{bus-37h71zvm.js → snapshot-8cwz8zkd.js} +28 -28
- package/dist/chunks/{bus-k2x2knng.js → snapshot-8cxqnk20.js} +22 -22
- package/dist/chunks/{bus-901gzjjm.js → snapshot-8n7pcwmv.js} +32 -32
- package/dist/chunks/{bus-rk0dvaye.js → snapshot-8rfm27zh.js} +8 -8
- package/dist/chunks/{bus-ecj1d35v.js → snapshot-8z5rgnjd.js} +8 -8
- package/dist/chunks/{bus-sdk1rkft.js → snapshot-909grfy1.js} +11 -11
- package/dist/chunks/{bus-dqe3fw1x.js → snapshot-91ze4v0n.js} +7 -7
- package/dist/chunks/{bus-93a8yfjt.js → snapshot-93a8yfjt.js} +2 -2
- package/dist/chunks/{bus-xp26bn8e.js → snapshot-96yjb8st.js} +15 -15
- package/dist/chunks/{bus-rjjem9h6.js → snapshot-988pjtx7.js} +7 -7
- package/dist/chunks/{bus-w1jjwhhz.js → snapshot-9cm69fc1.js} +24 -24
- package/dist/chunks/{bus-yzwjgzk2.js → snapshot-9kbsf2gn.js} +11 -11
- package/dist/chunks/{bus-qvbcabdc.js → snapshot-9qm9egsn.js} +2 -2
- package/dist/chunks/{bus-j1pn5v0m.js → snapshot-9vsg5cp7.js} +17 -17
- package/dist/chunks/{bus-y00kh1j2.js → snapshot-a16zj9be.js} +87 -87
- package/dist/chunks/{bus-vfxn8x23.js → snapshot-a1earc5n.js} +38 -38
- package/dist/chunks/{bus-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-0dv7911r.js → snapshot-ag4rn41e.js} +4 -4
- package/dist/chunks/{bus-rae26gbb.js → snapshot-ajphwd6y.js} +8 -8
- package/dist/chunks/{bus-yg7sb877.js → snapshot-ajtjthsy.js} +2 -2
- package/dist/chunks/{bus-t8am0cpd.js → snapshot-ar56ndp2.js} +4 -4
- package/dist/chunks/{bus-azaycewg.js → snapshot-arf90xej.js} +23 -23
- package/dist/chunks/{bus-p83qt40j.js → snapshot-avc0zheg.js} +8 -8
- package/dist/chunks/{bus-9d4efts8.js → snapshot-awqyf91x.js} +5 -5
- package/dist/chunks/{bus-ez5b8bq3.js → snapshot-b3n2eqtx.js} +110 -87
- package/dist/chunks/{bus-2jqmte8w.js → snapshot-b3vyfvjr.js} +43 -12
- package/dist/chunks/{bus-6m5hv89w.js → snapshot-b4dzx2gd.js} +11 -11
- package/dist/chunks/{bus-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-b9wsbatv.js → snapshot-b9wsbatv.js} +1 -1
- package/dist/chunks/{bus-bcezcar3.js → snapshot-bcezcar3.js} +2 -2
- package/dist/chunks/{bus-rfgs2k4e.js → snapshot-bgn4bef1.js} +28 -28
- package/dist/chunks/{bus-ygw7vpbc.js → snapshot-bgw31bhk.js} +9 -9
- package/dist/chunks/{bus-wgc2mr3y.js → snapshot-bpnz08mb.js} +2 -2
- package/dist/chunks/{bus-dc4554sh.js → snapshot-c92n51tt.js} +11 -11
- package/dist/chunks/{bus-zp7etnvg.js → snapshot-cb49kykp.js} +13 -13
- package/dist/chunks/{bus-p4spce3w.js → snapshot-cfgww4x1.js} +9 -9
- package/dist/chunks/{bus-y8jjghfg.js → snapshot-cjr8pdvn.js} +40 -40
- package/dist/chunks/{bus-g41n1fn3.js → snapshot-d1a1bt21.js} +5 -5
- package/dist/chunks/{bus-br62jje5.js → snapshot-d6n0x6yy.js} +40 -40
- package/dist/chunks/{bus-g2gt0w0k.js → snapshot-d72308c8.js} +2 -2
- package/dist/chunks/{bus-v4xjjhvg.js → snapshot-d7z6y9ja.js} +24 -24
- package/dist/chunks/{bus-8ryk0bb9.js → snapshot-d9wzmzc3.js} +5 -5
- package/dist/chunks/{bus-b8nbcbsg.js → snapshot-dcxt3b0h.js} +11 -11
- package/dist/chunks/{bus-ers0pt04.js → snapshot-dext7g0m.js} +24 -24
- package/dist/chunks/{bus-jwcy2c2z.js → snapshot-dpkg50ah.js} +4 -4
- package/dist/chunks/snapshot-dxj72tfx.js +18 -0
- package/dist/chunks/{bus-jnq64gng.js → snapshot-e0h0gh3e.js} +32 -32
- package/dist/chunks/{bus-s45j2666.js → snapshot-e81fpqd0.js} +26 -26
- package/dist/chunks/{bus-m909ryej.js → snapshot-en9d43be.js} +31 -31
- package/dist/chunks/{bus-n9mr47st.js → snapshot-enw72f67.js} +6 -6
- package/dist/chunks/{bus-708bhwm5.js → snapshot-etzd0975.js} +10 -10
- package/dist/chunks/{bus-6p81611h.js → snapshot-f0zn10rw.js} +171 -171
- package/dist/chunks/{bus-p1xeps0x.js → snapshot-f52kkt2b.js} +23 -23
- package/dist/chunks/{bus-8yq59nhy.js → snapshot-fc9k9wz0.js} +15 -15
- package/dist/chunks/{bus-qgn6gcr1.js → snapshot-fcrkznn8.js} +5 -5
- package/dist/chunks/{bus-bgjx49te.js → snapshot-fnvew4yj.js} +20 -20
- package/dist/chunks/{bus-fxbjtjnd.js → snapshot-fxbjtjnd.js} +1 -1
- package/dist/chunks/{bus-fxypknc8.js → snapshot-fxypknc8.js} +1 -1
- package/dist/chunks/{bus-mzgjcdh7.js → snapshot-g8e0epaw.js} +27 -27
- package/dist/chunks/{bus-0x9msrqt.js → snapshot-g9wx1hct.js} +19 -19
- package/dist/chunks/{bus-kkxjn8gg.js → snapshot-gafyc7gz.js} +7 -7
- package/dist/chunks/{bus-cyn6trz2.js → snapshot-ganjyh73.js} +6 -6
- package/dist/chunks/{bus-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-nysebb6s.js → snapshot-gfym1ca3.js} +18 -18
- package/dist/chunks/{bus-gyrty9a0.js → snapshot-gmj1gppr.js} +12 -12
- package/dist/chunks/{bus-e2sc323g.js → snapshot-gndhbexs.js} +10 -10
- package/dist/chunks/{bus-jwcs8hd7.js → snapshot-gxc000b8.js} +9 -9
- package/dist/chunks/{bus-gdyavges.js → snapshot-gya8cf0v.js} +47 -41
- package/dist/chunks/{bus-x3ex91pf.js → snapshot-h5vhzp21.js} +35 -35
- package/dist/chunks/{bus-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-q71jbywg.js → snapshot-h8xjeven.js} +298 -298
- package/dist/chunks/{bus-48186013.js → snapshot-haknmdce.js} +18 -18
- package/dist/chunks/{bus-b2wj7kwr.js → snapshot-hcfyj39r.js} +13 -13
- package/dist/chunks/{bus-heyhwy2w.js → snapshot-heyhwy2w.js} +1 -1
- package/dist/chunks/{bus-4cb9c786.js → snapshot-hf8ns2dd.js} +4 -4
- package/dist/chunks/{bus-45njm9q3.js → snapshot-hg6q2aep.js} +13 -13
- package/dist/chunks/{bus-kvk9z22h.js → snapshot-hh1d3sxx.js} +36 -36
- package/dist/chunks/{bus-bseqm2ca.js → snapshot-hkfxbmge.js} +19 -19
- package/dist/chunks/{bus-g2dy4bvs.js → snapshot-hrvm11jt.js} +3 -3
- package/dist/chunks/{bus-x5ga9etc.js → snapshot-ht2crakh.js} +24 -24
- package/dist/chunks/{bus-mkf7z2fx.js → snapshot-hvey9wt0.js} +32 -32
- package/dist/chunks/{bus-hw4pv20g.js → snapshot-hw4pv20g.js} +2 -2
- package/dist/chunks/{bus-5jmn74tv.js → snapshot-hwvag5jb.js} +12 -12
- package/dist/chunks/{bus-e8ja81sx.js → snapshot-hzhsscf8.js} +25 -25
- package/dist/chunks/{bus-593bc3zc.js → snapshot-hzymbmey.js} +5 -5
- package/dist/chunks/snapshot-j1vjmznv.js +22 -0
- package/dist/chunks/{bus-d2rwh673.js → snapshot-j58zjd36.js} +19 -19
- package/dist/chunks/{bus-j6p1aehr.js → snapshot-jd3azxa6.js} +85 -85
- package/dist/chunks/{bus-nhet2z82.js → snapshot-jdk5bzr4.js} +29 -29
- package/dist/chunks/{bus-xqsy6kp0.js → snapshot-jnmmvqjs.js} +1 -1
- package/dist/chunks/{bus-v3bjms6p.js → snapshot-jsrm0jes.js} +53 -53
- package/dist/chunks/{bus-53gb87fg.js → snapshot-jxzd6v7d.js} +46 -46
- package/dist/chunks/{bus-dn6skpfz.js → snapshot-k2r69zh9.js} +14 -14
- package/dist/chunks/{bus-k4bwy1x5.js → snapshot-k4bwy1x5.js} +1 -1
- package/dist/chunks/{bus-m7vkk1dw.js → snapshot-ka43tmws.js} +28 -28
- package/dist/chunks/{bus-xx52rexs.js → snapshot-ka5snxjp.js} +4 -4
- package/dist/chunks/{bus-wp43gv37.js → snapshot-kahjggx0.js} +10 -10
- package/dist/chunks/{bus-v210efr7.js → snapshot-kfs2vgth.js} +19 -19
- package/dist/chunks/{bus-kg06axw8.js → snapshot-kg06axw8.js} +1 -1
- package/dist/chunks/{bus-6qpq0xzz.js → snapshot-kk60f5rs.js} +16 -16
- package/dist/chunks/{bus-mnj85pt4.js → snapshot-kp5z882f.js} +12 -12
- package/dist/chunks/{bus-qqxx9c59.js → snapshot-kvqvfjxg.js} +10 -10
- package/dist/chunks/{bus-mr8a2cts.js → snapshot-kx5cpq08.js} +4 -4
- package/dist/chunks/{bus-0njd92bg.js → snapshot-m2j9w2q8.js} +10 -10
- package/dist/chunks/{bus-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-1bbkgx8g.js → snapshot-mhkvc446.js} +3 -3
- package/dist/chunks/{bus-g4pn5evg.js → snapshot-mkeycc06.js} +11 -11
- package/dist/chunks/{bus-007dvjm0.js → snapshot-mp5abn5e.js} +23 -23
- package/dist/chunks/{bus-6s48shje.js → snapshot-mq9r6drf.js} +2 -2
- package/dist/chunks/{bus-mngcm6jy.js → snapshot-mycvpxn8.js} +10 -10
- package/dist/chunks/{bus-v1p1x004.js → snapshot-n6wnzfnt.js} +6 -6
- package/dist/chunks/{bus-v8nrt0nt.js → snapshot-nexs1z18.js} +6 -6
- package/dist/chunks/{bus-9ezmfr4d.js → snapshot-nmycpjj8.js} +3 -3
- package/dist/chunks/{bus-36mzbjn4.js → snapshot-p6yzb5ay.js} +13 -9
- package/dist/chunks/{bus-862r0hmq.js → snapshot-p81w81mb.js} +60 -60
- package/dist/chunks/{bus-6zyntcx9.js → snapshot-p8tabr57.js} +3 -3
- package/dist/chunks/{bus-j6f8vpjn.js → snapshot-pa6mt9gp.js} +20 -20
- package/dist/chunks/{bus-tkptkkba.js → snapshot-pan7s928.js} +23 -23
- package/dist/chunks/{bus-j935v87r.js → snapshot-paphc93g.js} +2 -2
- package/dist/chunks/{bus-74k3x0m5.js → snapshot-pawcwqnj.js} +24 -24
- package/dist/chunks/{bus-mxevvyah.js → snapshot-pdv7zmmj.js} +11 -11
- package/dist/chunks/{bus-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{bus-7prj1563.js → snapshot-pp0xeafz.js} +16 -16
- package/dist/chunks/{bus-6tygk997.js → snapshot-pqy10p6r.js} +10 -10
- package/dist/chunks/{bus-s3eqpch7.js → snapshot-pt7wq7x0.js} +1 -1
- package/dist/chunks/{bus-v9vvq96z.js → snapshot-q8vzjd10.js} +39 -39
- package/dist/chunks/{bus-crh3pn7j.js → snapshot-qqk5wyw8.js} +9 -9
- package/dist/chunks/{bus-86s3977f.js → snapshot-qs4avvkb.js} +1 -1
- package/dist/chunks/{bus-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-8xr8g0dt.js → snapshot-qw2p7f7e.js} +9 -9
- package/dist/chunks/{bus-hhaz7as1.js → snapshot-qyahze0k.js} +15 -15
- package/dist/chunks/{bus-8ye04jk8.js → snapshot-r2aw8hfz.js} +20 -20
- package/dist/chunks/{bus-a494ggh4.js → snapshot-r38jmka9.js} +16 -16
- package/dist/chunks/{bus-xr5vwsd4.js → snapshot-r5w2ssxe.js} +9 -9
- package/dist/chunks/{bus-r8dhm0tv.js → snapshot-r8dhm0tv.js} +1 -1
- package/dist/chunks/{bus-jfqtm2ew.js → snapshot-ratrq7cm.js} +4 -4
- package/dist/chunks/{bus-3dj32zjz.js → snapshot-re6cjhs8.js} +23 -23
- package/dist/chunks/{bus-tta5943s.js → snapshot-rnzmhn3n.js} +14 -14
- package/dist/chunks/{bus-4z6b0fg6.js → snapshot-rvb2zp0m.js} +6 -6
- package/dist/chunks/{bus-pchw21vv.js → snapshot-rwszmxta.js} +14 -14
- package/dist/chunks/{bus-r9gjvh9g.js → snapshot-rxez074z.js} +8 -8
- package/dist/chunks/{bus-e5pxfhgv.js → snapshot-rz7hn0qq.js} +4 -4
- package/dist/chunks/{bus-2cryvejd.js → snapshot-rzbakfyr.js} +1 -1
- package/dist/chunks/{bus-570hbvwx.js → snapshot-s3f6t33f.js} +11 -11
- package/dist/chunks/{bus-sba4qhjf.js → snapshot-sba4qhjf.js} +1 -1
- package/dist/chunks/{bus-099ksjr7.js → snapshot-skd000tr.js} +2 -2
- package/dist/chunks/{bus-g1w7kbk3.js → snapshot-swmjfjpy.js} +17 -17
- package/dist/chunks/{bus-ca0hpr7t.js → snapshot-t3ba3m2z.js} +11 -11
- package/dist/chunks/{bus-3wfq9j39.js → snapshot-t50egam6.js} +14 -14
- package/dist/chunks/{bus-0kkm17qb.js → snapshot-t840r6y8.js} +32 -32
- package/dist/chunks/{bus-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
- package/dist/chunks/{bus-19ghveyz.js → snapshot-te6rn4e4.js} +11 -11
- package/dist/chunks/{bus-5rj9yf9k.js → snapshot-thf49529.js} +13 -13
- package/dist/chunks/{bus-tjykrgmx.js → snapshot-tjykrgmx.js} +1 -1
- package/dist/chunks/{bus-nep1jn7g.js → snapshot-tnbsa9ys.js} +23 -23
- package/dist/chunks/{bus-b0m1y6mq.js → snapshot-tppvcy65.js} +9 -9
- package/dist/chunks/{bus-65vwahm5.js → snapshot-tt4wv3c1.js} +3 -3
- package/dist/chunks/{bus-vffa83p2.js → snapshot-txc69p28.js} +31 -31
- package/dist/chunks/{bus-ccgr98mz.js → snapshot-veapvh03.js} +9 -9
- package/dist/chunks/{bus-a3x9xvd8.js → snapshot-vep9yay1.js} +4 -4
- package/dist/chunks/{bus-gpxh8apv.js → snapshot-vky4d6kn.js} +15 -15
- package/dist/chunks/{bus-3hf4cecm.js → snapshot-vprecwf5.js} +23 -23
- package/dist/chunks/{bus-hv52frfs.js → snapshot-w10c8kxq.js} +19 -19
- package/dist/chunks/{bus-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-8kg6mr26.js → snapshot-wcwzqypc.js} +22 -22
- package/dist/chunks/{bus-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{bus-g7fn2nxc.js → snapshot-wn4t0eg6.js} +34 -34
- package/dist/chunks/{bus-2y34zzjz.js → snapshot-wnmqtqbz.js} +9 -9
- package/dist/chunks/{bus-3dpaf6yv.js → snapshot-wqnpacsy.js} +60 -60
- package/dist/chunks/{bus-hha4zry8.js → snapshot-wtm3m4mv.js} +4 -4
- package/dist/chunks/{bus-fnxzs0zj.js → snapshot-wzs3fvsw.js} +28 -28
- package/dist/chunks/{bus-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-kw84e4xy.js → snapshot-xgm6gat2.js} +6 -6
- package/dist/chunks/{bus-tn3hnqfz.js → snapshot-xyz60e6p.js} +12 -12
- package/dist/chunks/{bus-qphg5mmy.js → snapshot-xzpf9br7.js} +41 -41
- package/dist/chunks/{bus-ykcesz1b.js → snapshot-y08fmh3j.js} +4 -4
- package/dist/chunks/{bus-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/snapshot-y86ghdgz.js +51 -0
- package/dist/chunks/{bus-hfr11a94.js → snapshot-ycv9gdpt.js} +9 -9
- package/dist/chunks/{bus-p4990n7g.js → snapshot-ydp0xqxw.js} +3 -3
- package/dist/chunks/{bus-pyzvmhjt.js → snapshot-yenvjmh1.js} +10 -10
- package/dist/chunks/{bus-yfbd16n1.js → snapshot-yfbd16n1.js} +2 -2
- package/dist/chunks/{bus-5k3f87xj.js → snapshot-yj3e99fm.js} +1 -1
- package/dist/chunks/{bus-36j5nzcr.js → snapshot-ymaccxa6.js} +17 -17
- package/dist/chunks/{bus-c8afrcwz.js → snapshot-z1ggamk1.js} +15 -15
- package/dist/chunks/{bus-z1k01bn4.js → snapshot-z1k01bn4.js} +2 -2
- package/dist/chunks/{bus-5dbnxb1n.js → snapshot-z5f26pen.js} +7 -7
- package/dist/chunks/{bus-z63w68vq.js → snapshot-z63w68vq.js} +2 -2
- package/dist/chunks/{bus-zn2pq4p8.js → snapshot-zajwd6at.js} +5 -5
- package/dist/chunks/{bus-pbxwk0py.js → snapshot-zazfhf2t.js} +27 -27
- package/dist/chunks/{bus-pem2nq6m.js → snapshot-zdagzmws.js} +4 -4
- package/dist/chunks/{bus-cqdj2zee.js → snapshot-zejwj74g.js} +16 -16
- package/dist/chunks/{bus-93131cf0.js → snapshot-zh1vshbg.js} +2 -2
- package/dist/chunks/{bus-at9x16kw.js → snapshot-zhn53cwh.js} +31 -31
- package/dist/chunks/{bus-xjf0nspg.js → snapshot-zsa9p6rj.js} +9 -9
- package/dist/chunks/{bus-hzfc5e89.js → snapshot-zvz3f5e8.js} +15 -15
- package/dist/chunks/{bus-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- 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 +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +358 -358
- 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 +72 -72
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +94 -94
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +82 -82
- 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 +7 -7
- 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 +349 -349
- 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 +83 -83
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +346 -346
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +10 -10
- package/dist/models-dev.js +78 -78
- 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 +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +93 -93
- 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 +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -4
- package/dist/plugin/optimize.js +21 -0
- package/dist/plugin/plan.js +94 -94
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +114 -114
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +337 -337
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +2 -2
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- 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 +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- 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 +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +117 -117
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +7 -5
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- 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 +110 -110
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +104 -104
- package/dist/tool/plugin/write.js +114 -114
- 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 +13 -13
- package/dist/types/plugin/module.d.ts +36 -34
- package/dist/types/plugin/{system-prompt.d.ts → optimize.d.ts} +4 -3
- package/dist/types/session/system-prompt.d.ts +1 -0
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +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 +82 -82
- 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 +74 -74
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -9
- package/dist/chunks/bus-4v7qdvcn.js +0 -18
- package/dist/chunks/bus-anw4cmh3.js +0 -4
- package/dist/chunks/bus-ex6w7h60.js +0 -22
- package/dist/chunks/bus-gzzxkm3c.js +0 -247
- package/dist/chunks/bus-rmy3e5eg.js +0 -103
- package/dist/plugin/system-prompt.js +0 -18
- /package/dist/chunks/{bus-0fabt78z.js → snapshot-0fabt78z.js} +0 -0
- /package/dist/chunks/{bus-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3t738kvx.js → snapshot-3t738kvx.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-41nvscxy.js → snapshot-41nvscxy.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-982e01ww.js → snapshot-982e01ww.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a1tpkmh4.js → snapshot-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mntxs535.js → snapshot-mntxs535.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-p8qxwesx.js → snapshot-p8qxwesx.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-se0s1eqw.js → snapshot-se0s1eqw.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-twg0f83k.js → snapshot-twg0f83k.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x1b8g1yb.js → snapshot-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
- /package/dist/chunks/{bus-zbjnn3ac.js → snapshot-zbjnn3ac.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Ref4
|
|
3
|
+
} from "./snapshot-9vsg5cp7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service75,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node80
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode-ai/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode-ai/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service75 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service75, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node80 = LayerNode.unbound(Service75, Node.tags.values.global);
|
|
27
27
|
function canonical3(ref) {
|
|
28
|
-
return
|
|
28
|
+
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
30
30
|
workspaceID: ref.workspaceID
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service75, node80, canonical3, exports_location_service_map };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
loadPackage2,
|
|
6
6
|
mergeOverlay2,
|
|
7
7
|
mergeHeaders2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-rvb2zp0m.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service51,
|
|
11
|
+
node55
|
|
12
|
+
} from "./snapshot-880d1yvd.js";
|
|
13
13
|
import {
|
|
14
14
|
map2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-1rm0drdm.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID9,
|
|
18
18
|
VariantID2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Ref3
|
|
20
|
+
} from "./snapshot-t50egam6.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID6,
|
|
23
|
+
Service53,
|
|
24
|
+
node57
|
|
25
|
+
} from "./snapshot-5pbfg4es.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service52,
|
|
28
|
+
node56
|
|
29
|
+
} from "./snapshot-703t54qh.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/model-resolver.ts
|
|
35
35
|
var exports_model_resolver = {};
|
|
36
36
|
__export(exports_model_resolver, {
|
|
37
37
|
ModelResolver: () => exports_model_resolver,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service50,
|
|
39
39
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
40
40
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
41
41
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
42
42
|
fromCatalogModel: () => fromCatalogModel2,
|
|
43
43
|
hasPackage: () => hasPackage2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer22,
|
|
45
|
+
node: () => node54,
|
|
46
46
|
resolveModel: () => resolveModel2,
|
|
47
47
|
withVariant: () => withVariant2
|
|
48
48
|
});
|
|
@@ -52,8 +52,8 @@ import { Auth } from "@opencode-ai/ai/route";
|
|
|
52
52
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
53
53
|
import { Npm } from "@opencode-ai/util/npm";
|
|
54
54
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
55
|
-
providerID:
|
|
56
|
-
modelID:
|
|
55
|
+
providerID: ID16,
|
|
56
|
+
modelID: ID9,
|
|
57
57
|
variant: VariantID2
|
|
58
58
|
}) {
|
|
59
59
|
get message() {
|
|
@@ -62,8 +62,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
65
|
-
providerID:
|
|
66
|
-
modelID:
|
|
65
|
+
providerID: ID16,
|
|
66
|
+
modelID: ID9,
|
|
67
67
|
package: Schema.String
|
|
68
68
|
}) {
|
|
69
69
|
get message() {
|
|
@@ -72,8 +72,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
75
|
-
providerID:
|
|
76
|
-
modelID:
|
|
75
|
+
providerID: ID16,
|
|
76
|
+
modelID: ID9,
|
|
77
77
|
variables: Schema.Array(Schema.String)
|
|
78
78
|
}) {
|
|
79
79
|
get message() {
|
|
@@ -81,7 +81,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service50 extends Context.Service()("@opencode/ModelResolver") {
|
|
85
85
|
}
|
|
86
86
|
var withVariant2 = (model, variantID) => {
|
|
87
87
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -203,14 +203,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
|
|
|
203
203
|
});
|
|
204
204
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
205
205
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
206
|
-
var
|
|
207
|
-
const catalog = yield*
|
|
208
|
-
const integrations = yield*
|
|
206
|
+
var layer22 = Layer.effect(Service50, Effect.gen(function* () {
|
|
207
|
+
const catalog = yield* Service52;
|
|
208
|
+
const integrations = yield* Service53;
|
|
209
209
|
const npm = yield* Npm.Service;
|
|
210
|
-
const aisdk = yield*
|
|
210
|
+
const aisdk = yield* Service51;
|
|
211
211
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
212
212
|
const provider = yield* catalog.provider.get(selected.providerID);
|
|
213
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
213
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID6.make(selected.providerID));
|
|
214
214
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
215
215
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
216
216
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -220,7 +220,7 @@ var layer18 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
220
220
|
const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
|
|
221
221
|
return {
|
|
222
222
|
model: runtime,
|
|
223
|
-
ref:
|
|
223
|
+
ref: Ref3.make({
|
|
224
224
|
id: selected.id,
|
|
225
225
|
providerID: selected.providerID,
|
|
226
226
|
...variant === undefined ? {} : { variant }
|
|
@@ -230,7 +230,7 @@ var layer18 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
230
230
|
limit: selected.limit
|
|
231
231
|
};
|
|
232
232
|
});
|
|
233
|
-
return
|
|
233
|
+
return Service50.of({
|
|
234
234
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
235
235
|
const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
|
|
236
236
|
if (!selected)
|
|
@@ -247,10 +247,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
247
247
|
const name = packageName2(packageName);
|
|
248
248
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode-ai/ai/providers/openai" || name?.startsWith("@opencode-ai/ai/providers/openai/") === true || name === "@opencode-ai/ai/providers/anthropic" || name === "@opencode-ai/ai/providers/anthropic-compatible" || name === "@opencode-ai/ai/providers/cerebras" || name === "@opencode-ai/ai/providers/deepinfra" || name === "@opencode-ai/ai/providers/openai-compatible" || name === "@opencode-ai/ai/providers/google" || name === "@opencode-ai/ai/providers/groq" || name === "@opencode-ai/ai/providers/mistral" || name === "@opencode-ai/ai/providers/togetherai" || name === "@opencode-ai/ai/providers/xai" || name === "@opencode-ai/ai/providers/openrouter" || name === "@opencode-ai/ai/providers/azure" || name?.startsWith("@opencode-ai/ai/providers/azure/") === true;
|
|
249
249
|
}
|
|
250
|
-
var
|
|
251
|
-
service:
|
|
252
|
-
layer:
|
|
253
|
-
deps: [
|
|
250
|
+
var node54 = makeLocationNode({
|
|
251
|
+
service: Service50,
|
|
252
|
+
layer: layer22,
|
|
253
|
+
deps: [node56, node57, Npm.node, node55]
|
|
254
254
|
});
|
|
255
255
|
|
|
256
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3,
|
|
256
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, Service50, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node54, exports_model_resolver };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service49,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node53
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service49 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service49.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node53 = makeLocationNode({ service: Service49, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service49, node53, exports_image2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./snapshot-9vsg5cp7.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 "./snapshot-tazgh4e4.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-mp5abn5e.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-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: () => Plugin3,
|
|
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-ai/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin3 = 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 { Plugin3, exports_hg };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-k4bwy1x5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service73,
|
|
6
|
+
node78
|
|
7
|
+
} from "./snapshot-kvqvfjxg.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-982e01ww.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-mq9r6drf.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service47,
|
|
23
23
|
make: () => make19,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node51
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
|
|
|
50
50
|
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service47 extends Context.Service()("@opencode/Job") {
|
|
54
54
|
}
|
|
55
55
|
function snapshot(job) {
|
|
56
56
|
return {
|
|
@@ -78,7 +78,7 @@ function decrementSession(input, sessionID) {
|
|
|
78
78
|
return next;
|
|
79
79
|
}
|
|
80
80
|
var make19 = Effect.gen(function* () {
|
|
81
|
-
const kv = yield*
|
|
81
|
+
const kv = yield* Service73;
|
|
82
82
|
const state = {
|
|
83
83
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
84
84
|
scope: yield* Scope.Scope
|
|
@@ -307,7 +307,7 @@ var make19 = Effect.gen(function* () {
|
|
|
307
307
|
return recovered;
|
|
308
308
|
}).pipe(Effect.withSpan("Job.pendingBackground"));
|
|
309
309
|
const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
|
|
310
|
-
return
|
|
310
|
+
return Service47.of({
|
|
311
311
|
get,
|
|
312
312
|
start,
|
|
313
313
|
wait,
|
|
@@ -319,7 +319,7 @@ var make19 = Effect.gen(function* () {
|
|
|
319
319
|
completeBackground
|
|
320
320
|
});
|
|
321
321
|
});
|
|
322
|
-
var layer = Layer.effect(
|
|
323
|
-
var
|
|
322
|
+
var layer = Layer.effect(Service47, make19);
|
|
323
|
+
var node51 = makeGlobalNode({ service: Service47, layer, deps: [node78] });
|
|
324
324
|
|
|
325
|
-
export {
|
|
325
|
+
export { Service47, make19, node51, exports_job };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./snapshot-gmj1gppr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID16
|
|
6
|
+
} from "./snapshot-rvb2zp0m.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID9
|
|
9
|
+
} from "./snapshot-t50egam6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Event17
|
|
12
|
+
} from "./snapshot-5725naen.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
ID6
|
|
15
|
+
} from "./snapshot-5pbfg4es.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service52
|
|
18
|
+
} from "./snapshot-703t54qh.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
get3
|
|
21
|
+
} from "./snapshot-1e7rwcw0.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/modal.ts
|
|
24
24
|
import { Effect, Semaphore, Stream } from "effect";
|
|
25
25
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID16.make("modal");
|
|
27
27
|
var ModalPlugin2 = define({
|
|
28
28
|
id: "opencode.provider.modal",
|
|
29
29
|
effect: Effect.fn(function* (ctx) {
|
|
30
|
-
const catalog = yield*
|
|
31
|
-
const bus = yield*
|
|
30
|
+
const catalog = yield* Service52;
|
|
31
|
+
const bus = yield* Service78;
|
|
32
32
|
const loading = Semaphore.makeUnsafe(1);
|
|
33
33
|
const loaded = {};
|
|
34
34
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -47,7 +47,7 @@ var ModalPlugin2 = define({
|
|
|
47
47
|
loaded.baseURL = baseURL;
|
|
48
48
|
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === providerID);
|
|
49
49
|
loaded.models = yield* Effect.tryPromise({
|
|
50
|
-
try: () =>
|
|
50
|
+
try: () => get3(baseURL, apiKey, existing),
|
|
51
51
|
catch: (cause) => cause
|
|
52
52
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
53
53
|
});
|
|
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
|
|
|
58
58
|
if (!loaded.models)
|
|
59
59
|
return;
|
|
60
60
|
for (const id of item.models.keys()) {
|
|
61
|
-
if (!loaded.models.has(
|
|
61
|
+
if (!loaded.models.has(ID9.make(id)))
|
|
62
62
|
evt.model.remove(item.provider.id, id);
|
|
63
63
|
}
|
|
64
64
|
for (const [id, model] of loaded.models) {
|
|
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
yield* refresh().pipe(Effect.forkScoped);
|
|
71
71
|
})
|
|
72
72
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-p8tabr57.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-hrvm11jt.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load3
|
|
12
|
+
} from "./snapshot-yenvjmh1.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-bpnz08mb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
24
|
-
Service: () =>
|
|
23
|
+
ListInput: () => ListInput5,
|
|
24
|
+
Service: () => Service69,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node74
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
|
|
|
50
50
|
subpath: RelativePath.pipe(Schema.optional)
|
|
51
51
|
});
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
|
-
var
|
|
53
|
+
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service69 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service80;
|
|
59
|
-
return
|
|
59
|
+
return Service69.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -99,7 +99,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
99
99
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
100
100
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
101
101
|
}),
|
|
102
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
102
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load3(db, sessionID)),
|
|
103
103
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
104
104
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
105
105
|
return row ? {
|
|
@@ -126,6 +126,6 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
126
126
|
})
|
|
127
127
|
});
|
|
128
128
|
}));
|
|
129
|
-
var
|
|
129
|
+
var node74 = makeGlobalNode({ service: Service69, layer, deps: [node85] });
|
|
130
130
|
|
|
131
|
-
export {
|
|
131
|
+
export { ListInput5, Service69, node74, exports_store };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service8,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service8.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node11 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service8, node11, exports_discovery };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info15
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info15 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info19 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info15, exports_command5 };
|