@opencode/core 0.0.0-dev-1293 → 0.0.0-dev-1295
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 +92 -92
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +258 -258
- package/dist/bus.js +84 -84
- package/dist/chunks/{command-gx76kxxn.js → repository-00awaz76.js} +9 -9
- package/dist/chunks/{command-05qmkqxc.js → repository-02aqb0hw.js} +13 -13
- package/dist/chunks/{command-pdn7768w.js → repository-02mvxpmz.js} +6 -6
- package/dist/chunks/{command-034tev2y.js → repository-034tev2y.js} +2 -2
- package/dist/chunks/{command-vxcqyea6.js → repository-036t2kfc.js} +12 -12
- package/dist/chunks/{command-a84cszaf.js → repository-075tnmpp.js} +39 -39
- package/dist/chunks/{command-b1bejxds.js → repository-08kgq63a.js} +13 -13
- package/dist/chunks/{command-s9kd1pfb.js → repository-0cw2pp5w.js} +25 -25
- package/dist/chunks/{command-0fvxehme.js → repository-0fvxehme.js} +2 -2
- package/dist/chunks/repository-0gdrrj59.js +16 -0
- package/dist/chunks/{command-kvq9h0sm.js → repository-0kjnhnat.js} +10 -10
- package/dist/chunks/{command-vw17p9nj.js → repository-0kphx6m0.js} +66 -66
- package/dist/chunks/{command-a84t9kh6.js → repository-0q9em7pe.js} +29 -29
- package/dist/chunks/{command-741va2xm.js → repository-0rzkqjqm.js} +22 -22
- package/dist/chunks/{command-ywwk2jyx.js → repository-0syj7h06.js} +10 -10
- package/dist/chunks/{command-3y4zhc2n.js → repository-0y16qpbq.js} +20 -20
- package/dist/chunks/{command-g5bf500w.js → repository-19db04m1.js} +4 -4
- package/dist/chunks/{command-6bhge99a.js → repository-1aes4e9d.js} +22 -22
- package/dist/chunks/{command-1aqsckx4.js → repository-1aqsckx4.js} +1 -1
- package/dist/chunks/{command-gab8rwnv.js → repository-1cwf02y7.js} +16 -16
- package/dist/chunks/{command-1ep2p91f.js → repository-1ep2p91f.js} +2 -2
- package/dist/chunks/{command-npte79n3.js → repository-1h6n0ysm.js} +28 -28
- package/dist/chunks/{command-dt6tsz7x.js → repository-1hzyh15y.js} +31 -31
- package/dist/chunks/{command-e4b4cbc2.js → repository-1q7tn8wg.js} +21 -21
- package/dist/chunks/{command-4dwjnmct.js → repository-1t7x0sp9.js} +11 -11
- package/dist/chunks/{command-1x2knyw4.js → repository-1x2knyw4.js} +1 -1
- package/dist/chunks/{command-p7vhpwh8.js → repository-1yq9hg58.js} +5 -5
- package/dist/chunks/{command-1wmzbjb1.js → repository-22726xzj.js} +21 -21
- package/dist/chunks/{command-3zfajawq.js → repository-22m1t7j6.js} +16 -16
- package/dist/chunks/{command-4d1f1c7e.js → repository-2bzjnwzn.js} +11 -11
- package/dist/chunks/{command-c51p6570.js → repository-2c6sxtb9.js} +2 -2
- package/dist/chunks/{command-p1ea0emk.js → repository-2cks5jyr.js} +8 -8
- package/dist/chunks/{command-7hyftc6b.js → repository-2cnj5468.js} +4 -4
- package/dist/chunks/{command-qy94z0q3.js → repository-2dq8jpdd.js} +11 -11
- package/dist/chunks/{command-2fc7eemy.js → repository-2fc7eemy.js} +1 -1
- package/dist/chunks/{command-nkzb5f1v.js → repository-2hc2yyeh.js} +8 -8
- package/dist/chunks/{command-h7d4rbrg.js → repository-2kg89srt.js} +4 -4
- package/dist/chunks/{command-2prt43t7.js → repository-2prt43t7.js} +1 -1
- package/dist/chunks/{command-6nw0se4n.js → repository-2sm5ch0r.js} +28 -28
- package/dist/chunks/{command-mrc8gdh0.js → repository-2x334bmq.js} +29 -29
- package/dist/chunks/{command-4e22apbf.js → repository-34dqnfkc.js} +3 -3
- package/dist/chunks/{command-7y2jw3ee.js → repository-3a8968hy.js} +14 -14
- package/dist/chunks/{command-88vr49vm.js → repository-3beq3wdw.js} +3 -3
- package/dist/chunks/{command-r2rgtba5.js → repository-3btmr5ck.js} +6 -6
- package/dist/chunks/{command-evjv4h7n.js → repository-3by0w2ax.js} +14 -14
- package/dist/chunks/{command-kc4ez2ea.js → repository-3c7qpzd7.js} +8 -8
- package/dist/chunks/{command-zk1cryvj.js → repository-3cm6sehk.js} +23 -23
- package/dist/chunks/{command-chgkwb0j.js → repository-3crjv7w7.js} +12 -12
- package/dist/chunks/{command-m6b1y2sf.js → repository-3d3k30ev.js} +9 -9
- package/dist/chunks/{command-4p9g6gya.js → repository-3ddecqpa.js} +12 -12
- package/dist/chunks/{command-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-gxnp7ekr.js → repository-3kh5eq90.js} +14 -14
- package/dist/chunks/{command-hdsvjrkq.js → repository-3knw41x0.js} +9 -9
- package/dist/chunks/{command-0k0e3yqn.js → repository-3mcdazc4.js} +8 -8
- package/dist/chunks/{command-3nnrz6f6.js → repository-3nnrz6f6.js} +1 -1
- package/dist/chunks/{command-hkf8spj2.js → repository-3qgwywyc.js} +7 -7
- package/dist/chunks/{command-nvnvd5wa.js → repository-3s23b7nf.js} +9 -9
- package/dist/chunks/{command-40y6dtc2.js → repository-40y6dtc2.js} +1 -1
- package/dist/chunks/{command-w2eysc6j.js → repository-40za9wsf.js} +9 -9
- package/dist/chunks/{command-zfjmf10w.js → repository-440d70yp.js} +14 -14
- package/dist/chunks/{command-xvn8mnch.js → repository-44w9n9s7.js} +4 -4
- package/dist/chunks/{command-m4p4r8nc.js → repository-4dfqsw0d.js} +4 -4
- package/dist/chunks/{command-4dx1dgte.js → repository-4dx1dgte.js} +1 -1
- package/dist/chunks/{command-jvc6ajf5.js → repository-4erzfp4b.js} +7 -7
- package/dist/chunks/{command-grmaj3s8.js → repository-4ez88w3t.js} +19 -19
- package/dist/chunks/{command-4f25tdd0.js → repository-4f25tdd0.js} +1 -1
- package/dist/chunks/{command-trs7a2qk.js → repository-4gv8hekr.js} +31 -31
- package/dist/chunks/{command-2m935wwe.js → repository-4tc7e79j.js} +27 -27
- package/dist/chunks/{command-4v008n1t.js → repository-4v008n1t.js} +1 -1
- package/dist/chunks/{command-ntyam5cy.js → repository-4y6h7701.js} +29 -29
- package/dist/chunks/{command-maqcfgk7.js → repository-52840mb9.js} +22 -22
- package/dist/chunks/{command-fhgvdm1j.js → repository-52a0vpb2.js} +44 -44
- package/dist/chunks/{command-gx70bdw1.js → repository-57mvpke6.js} +20 -20
- package/dist/chunks/{command-5m9w47nd.js → repository-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-hdr5hne2.js → repository-5mcs1phj.js} +6 -6
- package/dist/chunks/{command-xrayc9jg.js → repository-5n3vkvkg.js} +24 -24
- package/dist/chunks/{command-66jzz31a.js → repository-5r6kmg8r.js} +60 -60
- package/dist/chunks/{command-s47rahr7.js → repository-5whx36p1.js} +4 -4
- package/dist/chunks/{command-38hffzgp.js → repository-5zjvj63j.js} +43 -43
- package/dist/chunks/{command-z8mdwd44.js → repository-60ey6p5f.js} +12 -12
- package/dist/chunks/{command-xksw6ev0.js → repository-67wwskyb.js} +4 -4
- package/dist/chunks/{command-48t0pb5g.js → repository-6d623jwb.js} +52 -52
- package/dist/chunks/{command-72n513kv.js → repository-6fvhexbh.js} +6 -6
- package/dist/chunks/{command-8k2mn50d.js → repository-6tw2hsz8.js} +10 -10
- package/dist/chunks/{command-d4qb2rc3.js → repository-6xtjqz2m.js} +4 -4
- package/dist/chunks/{command-mb36n99k.js → repository-72fnktma.js} +47 -47
- package/dist/chunks/{command-ad3ej1v4.js → repository-731rr466.js} +5 -5
- package/dist/chunks/{command-mvp1qzcv.js → repository-74m4g95v.js} +9 -9
- package/dist/chunks/{command-qe6954ph.js → repository-77bcp5wq.js} +16 -16
- package/dist/chunks/{command-wfpw9855.js → repository-78shhwap.js} +26 -26
- package/dist/chunks/{command-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-hs4st8jg.js → repository-7de1jspm.js} +5 -5
- package/dist/chunks/{command-v4gq67p5.js → repository-7f6kc9pt.js} +5 -5
- package/dist/chunks/{command-6fp9hgrk.js → repository-7s8ymmn3.js} +6 -6
- package/dist/chunks/{command-7tx5zndv.js → repository-7tx5zndv.js} +2 -2
- package/dist/chunks/{command-7w2ypzdf.js → repository-7w2ypzdf.js} +1 -1
- package/dist/chunks/{command-7weczvnd.js → repository-7weczvnd.js} +1 -1
- package/dist/chunks/{command-6tdwsadc.js → repository-80ej5eef.js} +25 -25
- package/dist/chunks/{command-775hqbnd.js → repository-80mg3ag8.js} +3 -3
- package/dist/chunks/{command-80pdk984.js → repository-80pdk984.js} +1 -1
- package/dist/chunks/{command-br85n61x.js → repository-859w1rtj.js} +9 -9
- package/dist/chunks/{command-85jq8dht.js → repository-85jq8dht.js} +1 -1
- package/dist/chunks/{command-n2ah2rkn.js → repository-86rqf3w8.js} +12 -12
- package/dist/chunks/{command-rjdz0je4.js → repository-86yjpch2.js} +17 -17
- package/dist/chunks/{command-s2rmzza2.js → repository-883s1ske.js} +28 -28
- package/dist/chunks/{command-8b3vzgkx.js → repository-8b3vzgkx.js} +1 -1
- package/dist/chunks/{command-8kjyvwy5.js → repository-8kjyvwy5.js} +1 -1
- package/dist/chunks/{command-ptqtsqsq.js → repository-8pefwsjs.js} +7 -7
- package/dist/chunks/{command-gs317ewe.js → repository-8qrf03x0.js} +12 -12
- package/dist/chunks/{command-9ahpzkmc.js → repository-8rn80sq6.js} +4 -4
- package/dist/chunks/{command-8sxe6kv8.js → repository-8sxe6kv8.js} +2 -2
- package/dist/chunks/{command-pmxhedey.js → repository-8t14wrn8.js} +7 -7
- package/dist/chunks/{command-4gatbntd.js → repository-8tjj9rtv.js} +12 -12
- package/dist/chunks/{command-ymh2zpye.js → repository-8w92qacv.js} +18 -18
- package/dist/chunks/{command-8wtp7s3z.js → repository-8wtp7s3z.js} +1 -1
- package/dist/chunks/{command-1f32vgp3.js → repository-8wx5ae1x.js} +18 -17
- package/dist/chunks/repository-8x060fmy.js +18 -0
- package/dist/chunks/{command-8zv0xmg5.js → repository-8zv0xmg5.js} +1 -1
- package/dist/chunks/{command-1p4vhnrh.js → repository-933032vd.js} +3 -3
- package/dist/chunks/{command-z4z67x7v.js → repository-93fptvw0.js} +35 -35
- package/dist/chunks/{command-c9v165g9.js → repository-94kg4pr2.js} +45 -45
- package/dist/chunks/{command-vspq6nrc.js → repository-97243vbs.js} +88 -88
- package/dist/chunks/{command-9tg5000s.js → repository-9bqhtztk.js} +25 -25
- package/dist/chunks/{command-avrmj142.js → repository-9d072b6q.js} +12 -12
- package/dist/chunks/{command-x7de2wha.js → repository-9f3jsh1d.js} +9 -9
- package/dist/chunks/{command-fmbhv8wq.js → repository-9hnkp272.js} +11 -11
- package/dist/chunks/{command-1byp4d39.js → repository-9j7f5x07.js} +26 -26
- package/dist/chunks/{command-99x81fn2.js → repository-9jmkx442.js} +18 -23
- package/dist/chunks/{command-dbatw319.js → repository-9rqfe4ad.js} +3 -3
- package/dist/chunks/{command-scmk72rv.js → repository-9zwexsxs.js} +5 -5
- package/dist/chunks/{command-5c8k4hxw.js → repository-9zx7r65b.js} +23 -23
- package/dist/chunks/{command-963hk181.js → repository-a0fq0pbv.js} +9 -9
- package/dist/chunks/{command-ed2rhd70.js → repository-a5w0t351.js} +22 -22
- package/dist/chunks/{command-q99548g1.js → repository-a6qcwttn.js} +12 -12
- package/dist/chunks/{command-vntcsxyj.js → repository-a6vptk3v.js} +14 -14
- package/dist/chunks/{command-hbjxspw9.js → repository-a75y8c3w.js} +12 -12
- package/dist/chunks/repository-aczc0e5b.js +35 -0
- package/dist/chunks/{command-b9qgv8m5.js → repository-adpq3e4w.js} +6 -6
- package/dist/chunks/{command-8ar0836h.js → repository-adwsp3br.js} +11 -11
- package/dist/chunks/{command-s349q7p5.js → repository-afzp9kbc.js} +9 -9
- package/dist/chunks/{command-vwcz1f45.js → repository-agje4kmn.js} +7 -7
- package/dist/chunks/{command-mnj5jjmx.js → repository-amv5w5q7.js} +11 -11
- package/dist/chunks/{command-djcm10vk.js → repository-as8prksk.js} +29 -29
- package/dist/chunks/{command-ayjs7tqn.js → repository-ayjs7tqn.js} +2 -2
- package/dist/chunks/{command-7a35fjb6.js → repository-b4wh2b3v.js} +8 -8
- package/dist/chunks/{command-gzkxc65a.js → repository-bd7bren2.js} +16 -16
- package/dist/chunks/{command-dc4t5msd.js → repository-bekg9j7j.js} +25 -25
- package/dist/chunks/{command-nrvnrvd9.js → repository-bkxm042y.js} +9 -9
- package/dist/chunks/{command-bsycervj.js → repository-bs1g9tnx.js} +24 -24
- package/dist/chunks/{command-bstexjd6.js → repository-bstexjd6.js} +1 -1
- package/dist/chunks/{command-br0kkpnn.js → repository-c6x7d2ts.js} +7 -7
- package/dist/chunks/{command-3kcm45zc.js → repository-cea6hd02.js} +12 -12
- package/dist/chunks/{command-cwrgdav8.js → repository-cwrgdav8.js} +2 -2
- package/dist/chunks/{command-8esf06c6.js → repository-d390zwf3.js} +8 -8
- package/dist/chunks/{command-d4v9tmah.js → repository-d4v9tmah.js} +2 -2
- package/dist/chunks/{command-29avq3cp.js → repository-d7ghtrxv.js} +8 -8
- package/dist/chunks/{command-4xzzce0f.js → repository-dekwarse.js} +24 -24
- package/dist/chunks/{command-rj7j5fvs.js → repository-dg5naf6e.js} +4 -4
- package/dist/chunks/{command-jgvrj005.js → repository-dna90dc9.js} +5 -5
- package/dist/chunks/{command-d44wfkmg.js → repository-ds3x2h8w.js} +15 -15
- package/dist/chunks/{command-vhjhcx68.js → repository-dsd5wyar.js} +3 -3
- package/dist/chunks/{command-dt77769w.js → repository-dt77769w.js} +1 -1
- package/dist/chunks/{command-3scav9bn.js → repository-dwsh12fh.js} +29 -29
- package/dist/chunks/{command-qxvrvs93.js → repository-e0zepttq.js} +18 -18
- package/dist/chunks/{command-xn4a5x1q.js → repository-e7hkgzd9.js} +34 -34
- package/dist/chunks/{command-epnvf3pb.js → repository-e9e1fhjv.js} +22 -22
- package/dist/chunks/{command-2km60gbx.js → repository-e9h2qsxa.js} +11 -11
- package/dist/chunks/{command-q5db7jz2.js → repository-ecncedhr.js} +11 -11
- package/dist/chunks/{command-v12yjajt.js → repository-ef93qkt9.js} +10 -10
- package/dist/chunks/{command-7gqnzgav.js → repository-ejgm7w4x.js} +24 -24
- package/dist/chunks/{command-eqw4pqj1.js → repository-eqw4pqj1.js} +2 -2
- package/dist/chunks/repository-erw3q77e.js +26 -0
- package/dist/chunks/{command-61dc3kjz.js → repository-f2xmw0q9.js} +27 -27
- package/dist/chunks/{command-b7tcf9j8.js → repository-fb4dw218.js} +20 -20
- package/dist/chunks/{command-n1r126yv.js → repository-ff4xqyp0.js} +26 -26
- package/dist/chunks/{command-3dygp556.js → repository-fgarm31a.js} +33 -33
- package/dist/chunks/{command-fnrhryqq.js → repository-fnrhryqq.js} +1 -1
- package/dist/chunks/{command-wdn6va0d.js → repository-fx32ndrh.js} +6 -6
- package/dist/chunks/{command-b26ddj6h.js → repository-g4txs7zc.js} +4 -4
- package/dist/chunks/{command-90ct6wq4.js → repository-g5ajqn12.js} +4 -4
- package/dist/chunks/{command-gbjdnr5j.js → repository-gbjdnr5j.js} +2 -2
- package/dist/chunks/{command-wf5xbgyh.js → repository-gg524fet.js} +5 -5
- package/dist/chunks/{command-w75qynz4.js → repository-ggx84v7x.js} +6 -6
- package/dist/chunks/{command-ghrv1g9c.js → repository-ghrv1g9c.js} +1 -1
- package/dist/chunks/{command-fyfcjg2j.js → repository-gkx18e3k.js} +11 -11
- package/dist/chunks/{command-qq8nxmq8.js → repository-gq39yebw.js} +12 -12
- package/dist/chunks/{command-jd3pkr7r.js → repository-gw350h34.js} +16 -16
- package/dist/chunks/{command-69b8verm.js → repository-gxch3nm8.js} +27 -27
- package/dist/chunks/{command-tg7s7b5t.js → repository-gxs71cxp.js} +4 -4
- package/dist/chunks/{command-x4pvyz3p.js → repository-gzm6fcqq.js} +20 -20
- package/dist/chunks/{command-0ht5pcpg.js → repository-h5j1t2ft.js} +27 -27
- package/dist/chunks/{command-8kxf49yw.js → repository-h6emrs48.js} +4 -4
- package/dist/chunks/{command-hgzwgvze.js → repository-hgzwgvze.js} +2 -2
- package/dist/chunks/{command-qa4hpnzm.js → repository-hh7dvhm4.js} +4 -4
- package/dist/chunks/{command-hj0xet7m.js → repository-hj0xet7m.js} +2 -2
- package/dist/chunks/{command-4kmavamd.js → repository-hj3r42js.js} +31 -31
- package/dist/chunks/repository-hm90a926.js +273 -0
- package/dist/chunks/{command-zxd2y8y4.js → repository-hswcgjnv.js} +3 -3
- package/dist/chunks/{command-b15xysde.js → repository-hwgpdvjp.js} +7 -7
- package/dist/chunks/{command-jb6z6a30.js → repository-hym86aeq.js} +6 -6
- package/dist/chunks/{command-d7dn0zx2.js → repository-j372c61n.js} +11 -11
- package/dist/chunks/{command-tr8x705m.js → repository-j376ae4e.js} +5 -5
- package/dist/chunks/{command-fh8am5dj.js → repository-j7d5jxht.js} +14 -14
- package/dist/chunks/{command-wbwc7xrx.js → repository-jev05t8t.js} +25 -25
- package/dist/chunks/{command-psy9mywm.js → repository-jgr611bs.js} +2 -2
- package/dist/chunks/{command-njb58ya1.js → repository-jhaw84mg.js} +30 -30
- package/dist/chunks/{command-h83e0t1m.js → repository-jm1xng1y.js} +55 -55
- package/dist/chunks/{command-jm70asfg.js → repository-jm70asfg.js} +1 -1
- package/dist/chunks/{command-jhbk36e1.js → repository-jnpx970n.js} +23 -23
- package/dist/chunks/{command-e9actfxe.js → repository-jp9d3jyy.js} +15 -15
- package/dist/chunks/{command-9ajzb2kh.js → repository-jt3wcppe.js} +8 -8
- package/dist/chunks/{command-k62xrt9q.js → repository-jvdg4s4q.js} +86 -86
- package/dist/chunks/{command-kw06wevc.js → repository-jvtd2tv8.js} +3 -3
- package/dist/chunks/{command-mk9nde4r.js → repository-jwf2mwjn.js} +13 -13
- package/dist/chunks/{command-44pmzq9c.js → repository-jxd6f16v.js} +2 -2
- package/dist/chunks/{command-j7hqze2t.js → repository-jy8sxj26.js} +10 -10
- package/dist/chunks/{command-88n83f38.js → repository-jz2mpads.js} +6 -6
- package/dist/chunks/{command-6g985hjc.js → repository-k9rwbxer.js} +17 -17
- package/dist/chunks/{command-9cbnrx2n.js → repository-kgmdm1mc.js} +6 -6
- package/dist/chunks/{command-jb4gpq25.js → repository-khn3h0zf.js} +6 -6
- package/dist/chunks/{command-4z0vtj0c.js → repository-kkq7zywd.js} +23 -23
- package/dist/chunks/{command-tg1vr1qt.js → repository-kmzgegqq.js} +8 -8
- package/dist/chunks/{command-atz1w742.js → repository-kn4zqwcq.js} +3 -3
- package/dist/chunks/{command-vz7cb8rc.js → repository-ksqm0fh2.js} +5 -5
- package/dist/chunks/{command-kt3bjfbg.js → repository-kt3bjfbg.js} +1 -1
- package/dist/chunks/{command-kzczzf4v.js → repository-kzczzf4v.js} +1 -1
- package/dist/chunks/{command-qk5sk9d1.js → repository-kzdam8c6.js} +7 -7
- package/dist/chunks/{command-m1714858.js → repository-m1714858.js} +1 -1
- package/dist/chunks/{command-shs0bj48.js → repository-m5mzeqng.js} +20 -20
- package/dist/chunks/{command-m90tx7mw.js → repository-m90tx7mw.js} +1 -1
- package/dist/chunks/{command-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-mb7mbhnz.js → repository-mb7mbhnz.js} +3 -3
- package/dist/chunks/{command-545mfvbm.js → repository-md0yj4wk.js} +30 -30
- package/dist/chunks/{command-7a2bwsmz.js → repository-mgcsgjq4.js} +4 -4
- package/dist/chunks/{command-gjqpkb49.js → repository-mjwhre59.js} +7 -7
- package/dist/chunks/{command-9fbvv04g.js → repository-mkvkcrcf.js} +42 -42
- package/dist/chunks/{command-mwnxvxbk.js → repository-mwnxvxbk.js} +1 -1
- package/dist/chunks/{command-z2kxm34f.js → repository-mxx8515c.js} +367 -367
- package/dist/chunks/{command-vkz3ha21.js → repository-mym403hh.js} +1 -1
- package/dist/chunks/{command-d5z7929f.js → repository-n2jwyyf2.js} +21 -21
- package/dist/chunks/{command-vdcc3vzr.js → repository-n99tbm1k.js} +21 -21
- package/dist/chunks/{command-c65w1jkd.js → repository-nde04cgd.js} +9 -9
- package/dist/chunks/{command-1mfn2wbd.js → repository-ndpn1932.js} +16 -16
- package/dist/chunks/{command-anetphez.js → repository-nen4dd64.js} +24 -24
- package/dist/chunks/{command-2z6qaazc.js → repository-nhp7k6g9.js} +35 -35
- package/dist/chunks/{command-x713kxbr.js → repository-nmqks962.js} +13 -13
- package/dist/chunks/{command-prnegb22.js → repository-nq82rmey.js} +11 -11
- package/dist/chunks/{command-kj9n5bvh.js → repository-nr915jn7.js} +4 -4
- package/dist/chunks/{command-angwvatz.js → repository-nwkfswnm.js} +11 -11
- package/dist/chunks/{command-e8fm7yqv.js → repository-nzazpc8g.js} +46 -46
- package/dist/chunks/{command-amjjh717.js → repository-p5jwrm42.js} +7 -7
- package/dist/chunks/{command-sch203vp.js → repository-pcqz0mdk.js} +6 -6
- package/dist/chunks/{command-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{command-5m3xrn1j.js → repository-pn1g3a6b.js} +9 -9
- package/dist/chunks/{command-6rwp9k3d.js → repository-pqk22v3f.js} +40 -40
- package/dist/chunks/{command-fg9p65nk.js → repository-prq7xxp2.js} +6 -6
- package/dist/chunks/{command-wqeff9d1.js → repository-q2z2msfx.js} +4 -4
- package/dist/chunks/{command-epap8xr2.js → repository-q5v60jsn.js} +49 -49
- package/dist/chunks/{command-c5vx1zac.js → repository-qa5v9vbm.js} +5 -5
- package/dist/chunks/{command-rcxa3fp6.js → repository-qa8wq1bx.js} +9 -9
- package/dist/chunks/{command-4yw3xa9p.js → repository-qgv3bwcw.js} +1 -1
- package/dist/chunks/{command-emq6awqh.js → repository-qkc3z5ds.js} +4 -4
- package/dist/chunks/{command-qp7r0hxv.js → repository-qp7r0hxv.js} +1 -1
- package/dist/chunks/{command-t1xbeg12.js → repository-qxb7dfc7.js} +87 -65
- package/dist/chunks/{command-akvkwv3r.js → repository-r279jrjw.js} +100 -100
- package/dist/chunks/{command-32kdnsac.js → repository-r6g0pp9s.js} +7 -7
- package/dist/chunks/{command-dfz60nj9.js → repository-ra5f49x0.js} +11 -11
- package/dist/chunks/{command-rb9dy4dg.js → repository-rb9dy4dg.js} +1 -1
- package/dist/chunks/{command-yrt2j6wb.js → repository-rdrzgfkv.js} +4 -4
- package/dist/chunks/{command-rgc9cx3e.js → repository-rgc9cx3e.js} +2 -2
- package/dist/chunks/{command-00vb7kby.js → repository-rgq5xsj8.js} +46 -46
- package/dist/chunks/{command-p7xq7ysq.js → repository-rjdsgaq2.js} +15 -15
- package/dist/chunks/{command-ee2b5eh8.js → repository-rkq6y9xm.js} +195 -195
- package/dist/chunks/{command-hyq0mm5d.js → repository-rpx37cdg.js} +20 -20
- package/dist/chunks/{command-nc5gqs0z.js → repository-rre0hjx2.js} +2 -2
- package/dist/chunks/{command-03vgrdy6.js → repository-rsbnpsp6.js} +4 -4
- package/dist/chunks/{command-2vqjzyt6.js → repository-rsp3mteq.js} +20 -20
- package/dist/chunks/{command-s0z62q3x.js → repository-rxmw0rhb.js} +11 -11
- package/dist/chunks/{command-2p60zmnr.js → repository-s1ba0vj0.js} +2 -2
- package/dist/chunks/{command-9zc2sd1y.js → repository-s6zk46kh.js} +26 -26
- package/dist/chunks/{command-x443n8rt.js → repository-sazfq51k.js} +3 -3
- package/dist/chunks/{command-sbya78hr.js → repository-sbya78hr.js} +1 -1
- package/dist/chunks/{command-9mg2j4gp.js → repository-sjdm6j9a.js} +15 -15
- package/dist/chunks/{command-n9tv4x9v.js → repository-srcf351v.js} +8 -8
- package/dist/chunks/{command-svcy3p9a.js → repository-svcy3p9a.js} +1 -1
- package/dist/chunks/{command-561wfhxt.js → repository-tagr13r7.js} +23 -23
- package/dist/chunks/{command-tb2mrvc9.js → repository-tb2mrvc9.js} +1 -1
- package/dist/chunks/{command-tbpn7jtk.js → repository-tbpn7jtk.js} +1 -1
- package/dist/chunks/{command-73gcsqdp.js → repository-tcxn00q3.js} +17 -17
- package/dist/chunks/{command-tczq8hjw.js → repository-tczq8hjw.js} +1 -1
- package/dist/chunks/{command-bf0m000r.js → repository-tg4p7551.js} +22 -22
- package/dist/chunks/{command-7wkcwtpg.js → repository-tvfb4cnx.js} +18 -18
- package/dist/chunks/{command-k9ev0kgm.js → repository-tvstap8v.js} +8 -8
- package/dist/chunks/{command-tvtps2q9.js → repository-tvtps2q9.js} +1 -1
- package/dist/chunks/{command-rxp2smpj.js → repository-twbzdyjv.js} +6 -6
- package/dist/chunks/{command-twssxy5n.js → repository-twssxy5n.js} +2 -2
- package/dist/chunks/{command-v2r1d0zg.js → repository-v2r1d0zg.js} +1 -1
- package/dist/chunks/{command-ez7z3q9e.js → repository-vc5wyrht.js} +35 -35
- package/dist/chunks/{command-vjf35v1f.js → repository-vjf35v1f.js} +1 -1
- package/dist/chunks/{command-2bjvbgsm.js → repository-vk792x7x.js} +24 -24
- package/dist/chunks/{command-bhfd478d.js → repository-vmxsyvj6.js} +4 -4
- package/dist/chunks/{command-g3k34n04.js → repository-vn5ba1v3.js} +12 -12
- package/dist/chunks/{command-pxszmvbt.js → repository-vszek5yb.js} +16 -16
- package/dist/chunks/{command-s6q3xz50.js → repository-vzyp2xnz.js} +2 -2
- package/dist/chunks/{command-55bcys5k.js → repository-w0drzbgw.js} +21 -21
- package/dist/chunks/{command-kxrn7gky.js → repository-w0nrctbj.js} +15 -15
- package/dist/chunks/{command-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-kmekj7m2.js → repository-w4xw9ac5.js} +4 -4
- package/dist/chunks/{command-w687dnns.js → repository-w687dnns.js} +1 -1
- package/dist/chunks/{command-j5c22pgh.js → repository-w6s4w6nr.js} +3 -3
- package/dist/chunks/{command-wakvkjy4.js → repository-wakvkjy4.js} +1 -1
- package/dist/chunks/{command-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{command-j63q17en.js → repository-wds6xyh6.js} +35 -35
- package/dist/chunks/{command-wegkxhrn.js → repository-wegkxhrn.js} +2 -2
- package/dist/chunks/{command-29xnk67d.js → repository-wm9tjz56.js} +24 -24
- package/dist/chunks/{command-wsqqgvdy.js → repository-wqqvsnnx.js} +7 -7
- package/dist/chunks/{command-3em2z4he.js → repository-wrr9v7mg.js} +5 -5
- package/dist/chunks/{command-491c9q92.js → repository-wtft8ef2.js} +4 -4
- package/dist/chunks/{command-j76kcwy4.js → repository-wvh4mmya.js} +33 -32
- package/dist/chunks/{command-0jgcgtm3.js → repository-wvvnzt41.js} +16 -16
- package/dist/chunks/{command-xxschbft.js → repository-xjr6c8m4.js} +4 -4
- package/dist/chunks/{command-5tf32vej.js → repository-xpjxmhsa.js} +5 -5
- package/dist/chunks/{command-5ej7n8k1.js → repository-xqesnw9t.js} +2 -2
- package/dist/chunks/{command-g6cytcga.js → repository-xvk67q7t.js} +14 -14
- package/dist/chunks/{command-w69q6psg.js → repository-y0rznfn7.js} +23 -23
- package/dist/chunks/{command-ybxm74q5.js → repository-y4gksshd.js} +59 -59
- package/dist/chunks/{command-45gvefkm.js → repository-y7a06hmq.js} +9 -9
- package/dist/chunks/{command-gam3p8fy.js → repository-y8nypnxs.js} +34 -34
- package/dist/chunks/{command-yb20nhc3.js → repository-yb20nhc3.js} +1 -1
- package/dist/chunks/{command-msd2a3qm.js → repository-ybws1qgk.js} +4 -4
- package/dist/chunks/{command-z2wzp662.js → repository-yhx5bx5z.js} +39 -39
- package/dist/chunks/{command-yr705xyq.js → repository-yr705xyq.js} +1 -1
- package/dist/chunks/{command-yvtc2x31.js → repository-yvtc2x31.js} +1 -1
- package/dist/chunks/{command-z0wbgq7s.js → repository-z0wbgq7s.js} +1 -1
- package/dist/chunks/{command-6w30sr0w.js → repository-z262y3bk.js} +19 -19
- package/dist/chunks/{command-3nxcgjv6.js → repository-z4w3231s.js} +35 -35
- package/dist/chunks/{command-wnqev3np.js → repository-z7r7vmcc.js} +17 -17
- package/dist/chunks/{command-j9nxzz3g.js → repository-ze75qvmd.js} +3 -3
- package/dist/chunks/{command-bs7vr8qa.js → repository-zph6xvvn.js} +50 -50
- package/dist/chunks/{command-6zxqzzmm.js → repository-zqjd7nbm.js} +6 -6
- package/dist/chunks/{command-1kresdfv.js → repository-zqjk3b05.js} +29 -29
- package/dist/chunks/{command-8xd8xvh0.js → repository-zqm9n0j1.js} +30 -30
- package/dist/chunks/{command-exkmrkyq.js → repository-zqnv9fqk.js} +39 -39
- package/dist/chunks/{command-jz1q4zsd.js → repository-zs3nra86.js} +30 -30
- package/dist/chunks/{command-mcabtfgp.js → repository-zy4b93eg.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +150 -150
- package/dist/codemode/instructions.js +10 -10
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +134 -134
- package/dist/config/plugin/command.js +249 -249
- package/dist/config/plugin/compaction.js +175 -175
- package/dist/config/plugin/compatibility.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -132
- package/dist/config/plugin/location-watcher.js +133 -133
- package/dist/config/plugin/mcp.js +148 -148
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +132 -132
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +105 -105
- package/dist/effect/app-node-builder.js +450 -450
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/client-tls/client-tls.bun.js +1 -1
- package/dist/effect/client-tls/client-tls.node.js +1 -1
- package/dist/effect/client-tls/client-tls.workerd.js +1 -1
- 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 +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +105 -105
- 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 +85 -85
- package/dist/file-access.js +162 -162
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +166 -166
- 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/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +260 -260
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +136 -136
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +96 -96
- package/dist/generate.js +117 -117
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +113 -113
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +441 -441
- package/dist/instruction-discovery.js +98 -98
- package/dist/instructions/builtins.js +101 -101
- package/dist/instructions/index.js +6 -6
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +102 -102
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +190 -190
- package/dist/location-lifecycle.js +155 -155
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +155 -155
- package/dist/mcp/instructions.js +192 -192
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +161 -161
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +113 -113
- package/dist/model-resolver.js +113 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +114 -114
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +122 -122
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +160 -160
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +95 -95
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +148 -148
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +251 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +418 -418
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +151 -151
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +113 -113
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
- package/dist/plugin/provider/claude-agent/provider.js +111 -111
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +163 -163
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +242 -242
- package/dist/plugin/sdk.js +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +154 -154
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +428 -428
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +262 -262
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +102 -102
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +270 -270
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +135 -135
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +177 -177
- package/dist/session/context.js +208 -208
- package/dist/session/diff.js +101 -101
- 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 +273 -273
- package/dist/session/execution/subagent-report.js +147 -147
- package/dist/session/execution.js +174 -174
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +154 -154
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +91 -91
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +142 -142
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +173 -173
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +176 -176
- package/dist/session/projector.js +148 -148
- package/dist/session/prompt.js +153 -153
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +144 -144
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +261 -261
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +155 -155
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +168 -168
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +196 -196
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +147 -147
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +173 -173
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +212 -212
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +260 -260
- package/dist/session/usage.js +1 -1
- package/dist/session.js +253 -253
- package/dist/shared-cache.js +5 -5
- 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 +15 -15
- package/dist/shell.js +149 -149
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +156 -156
- package/dist/skill.js +157 -157
- package/dist/snapshot.js +102 -102
- 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 +189 -189
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +172 -172
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +175 -175
- package/dist/tool/plugin/image-generate.js +257 -257
- package/dist/tool/plugin/mcp-events.js +168 -168
- package/dist/tool/plugin/mcp-resource.js +172 -172
- package/dist/tool/plugin/opencode.js +168 -168
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +177 -177
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +245 -245
- package/dist/tool/plugin/skill.js +162 -162
- package/dist/tool/plugin/subagent.js +253 -253
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +162 -162
- package/dist/tool/plugin/websearch.js +160 -160
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- package/dist/usage-limits.js +100 -100
- package/dist/util/canonical-json.js +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- 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 +2 -2
- package/dist/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +89 -89
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/command-4spk3jf8.js +0 -273
- package/dist/chunks/command-69588b63.js +0 -35
- package/dist/chunks/command-ezna1kdx.js +0 -18
- package/dist/chunks/command-f2dgq8fn.js +0 -26
- package/dist/chunks/command-xtyr0vxr.js +0 -16
- /package/dist/chunks/{command-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kah00gy.js → repository-1kah00gy.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4qk9sjk2.js → repository-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{command-5w3e23ze.js → repository-5w3e23ze.js} +0 -0
- /package/dist/chunks/{command-6agm2x70.js → repository-6agm2x70.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → repository-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-7rvsyqjv.js → repository-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → repository-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9ceax7yg.js → repository-9ceax7yg.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-ade8csyh.js → repository-ade8csyh.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-beh6qq61.js → repository-beh6qq61.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cqv5kn06.js → repository-cqv5kn06.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-ean2d8b5.js → repository-ean2d8b5.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fkpq3x5p.js → repository-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hcxmzztb.js → repository-hcxmzztb.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jwr30sdr.js → repository-jwr30sdr.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → repository-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-nh4v3znn.js → repository-nh4v3znn.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-p71gwv9c.js → repository-p71gwv9c.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-syrav9an.js → repository-syrav9an.js} +0 -0
- /package/dist/chunks/{command-t03h4f5z.js → repository-t03h4f5z.js} +0 -0
- /package/dist/chunks/{command-ty7weeps.js → repository-ty7weeps.js} +0 -0
- /package/dist/chunks/{command-v2dnd5dt.js → repository-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → repository-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-vtarvj67.js → repository-vtarvj67.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x4th4bpe.js → repository-x4th4bpe.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → repository-z9919s4g.js} +0 -0
- /package/dist/chunks/{command-zxpyjp51.js → repository-zxpyjp51.js} +0 -0
- /package/dist/chunks/{command-zz5vv3aq.js → repository-zz5vv3aq.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./repository-1aes4e9d.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info20
|
|
9
|
+
} from "./repository-d390zwf3.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-2cnj5468.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service79
|
|
16
|
+
} from "./repository-jm1xng1y.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-80pdk984.js";
|
|
20
20
|
import {
|
|
21
21
|
observeSources2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./repository-tvtps2q9.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/config/plugin/agent.ts
|
|
28
|
-
var
|
|
29
|
-
__export(
|
|
30
|
-
ConfigAgentPlugin: () =>
|
|
31
|
-
Plugin: () =>
|
|
28
|
+
var exports_agent2 = {};
|
|
29
|
+
__export(exports_agent2, {
|
|
30
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
31
|
+
Plugin: () => Plugin26
|
|
32
32
|
});
|
|
33
33
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
34
34
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -43,15 +43,15 @@ var legacySources = [
|
|
|
43
43
|
];
|
|
44
44
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
45
45
|
var decodeAgent = SchemaParser.decodeUnknownResult(ConfigAgent.Info);
|
|
46
|
-
var decodeLegacyAgent = SchemaParser.decodeUnknownResult(
|
|
46
|
+
var decodeLegacyAgent = SchemaParser.decodeUnknownResult(Info20);
|
|
47
47
|
var formatIssue = SchemaIssue.makeFormatterDefault();
|
|
48
48
|
var pathActions = ["external_directory", "read", "edit"];
|
|
49
49
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
50
50
|
var nativeKeys = ["permissions", "request", "system", "disabled"];
|
|
51
|
-
var
|
|
51
|
+
var Plugin26 = define({
|
|
52
52
|
id: "opencode.config.agent",
|
|
53
53
|
effect: Effect.fn(function* (ctx) {
|
|
54
|
-
const config = yield*
|
|
54
|
+
const config = yield* Service79;
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
57
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -78,13 +78,13 @@ var Plugin22 = define({
|
|
|
78
78
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
79
79
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
80
80
|
if (configuredDefault !== undefined)
|
|
81
|
-
editor.default(
|
|
81
|
+
editor.default(ID13.make(configuredDefault));
|
|
82
82
|
for (const current of editor.list()) {
|
|
83
83
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
84
84
|
}
|
|
85
85
|
for (const document of loaded.documents) {
|
|
86
86
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
87
|
-
const agentID =
|
|
87
|
+
const agentID = ID13.make(id);
|
|
88
88
|
if (item.disabled) {
|
|
89
89
|
editor.remove(agentID);
|
|
90
90
|
continue;
|
|
@@ -171,4 +171,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
|
|
|
171
171
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
172
172
|
});
|
|
173
173
|
|
|
174
|
-
export {
|
|
174
|
+
export { Plugin26, exports_agent2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node93
|
|
6
|
+
} from "./repository-gq39yebw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service85,
|
|
9
|
+
node87
|
|
10
|
+
} from "./repository-k9rwbxer.js";
|
|
11
11
|
import {
|
|
12
12
|
create4
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-40y6dtc2.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make23
|
|
16
|
+
} from "./repository-2cks5jyr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service24,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node27
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service24 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service85;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make23;
|
|
40
40
|
const state = create4({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service24.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node27 = makeLocationNode({
|
|
61
|
+
service: Service24,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node87, Global.node, node93, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service24, node27, exports_strategies };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service92
|
|
3
|
+
} from "./repository-a6qcwttn.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-zqjk3b05.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service19,
|
|
9
|
+
Event3
|
|
10
|
+
} from "./repository-zqnv9fqk.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,8 +38,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
42
|
-
const bus = yield*
|
|
41
|
+
const modelsDev = yield* Service19;
|
|
42
|
+
const bus = yield* Service92;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
45
45
|
for (const provider of loaded.data) {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-7rvsyqjv.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-gq39yebw.js";
|
|
7
7
|
import {
|
|
8
8
|
invocation2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service64
|
|
10
|
+
} from "./repository-q5v60jsn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service63,
|
|
13
13
|
resolvePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-tg4p7551.js";
|
|
15
15
|
import {
|
|
16
16
|
DirectoryUnavailableError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-d4v9tmah.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Info8,
|
|
20
20
|
List2,
|
|
21
21
|
InvalidDirectoryError2,
|
|
22
22
|
StrategyUnavailableError2,
|
|
23
23
|
OperationError2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-5zjvj63j.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/opencode.ts
|
|
30
30
|
var exports_opencode = {};
|
|
@@ -32,7 +32,7 @@ __export(exports_opencode, {
|
|
|
32
32
|
ModelsInput: () => ModelsInput2,
|
|
33
33
|
MoveInput: () => MoveInput2,
|
|
34
34
|
OpenCodeTools: () => exports_opencode,
|
|
35
|
-
Plugin: () =>
|
|
35
|
+
Plugin: () => Plugin40,
|
|
36
36
|
RenameInput: () => RenameInput2,
|
|
37
37
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
38
38
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -111,11 +111,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
111
111
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
112
112
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
113
113
|
});
|
|
114
|
-
var
|
|
114
|
+
var Plugin40 = {
|
|
115
115
|
id: "opencode.tools",
|
|
116
116
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
117
|
-
const access = yield*
|
|
118
|
-
const permission = yield*
|
|
117
|
+
const access = yield* Service63;
|
|
118
|
+
const permission = yield* Service64;
|
|
119
119
|
const hook = (event) => Effect.sync(() => {
|
|
120
120
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
121
121
|
});
|
|
@@ -173,7 +173,7 @@ var Plugin12 = {
|
|
|
173
173
|
name: "worktree_create",
|
|
174
174
|
description: "Create a named worktree. Returns its directory.",
|
|
175
175
|
input: WorktreeCreateInput2,
|
|
176
|
-
output:
|
|
176
|
+
output: Info8,
|
|
177
177
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
178
178
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
179
179
|
});
|
|
@@ -268,4 +268,4 @@ function removeFailure(directory, error) {
|
|
|
268
268
|
return `Unable to remove worktree ${directory}.`;
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
271
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin40, exports_opencode };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service92,
|
|
3
|
+
node94
|
|
4
|
+
} from "./repository-a6qcwttn.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-44w9n9s7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID19,
|
|
14
|
+
Service87,
|
|
15
|
+
node89,
|
|
16
|
+
Event19
|
|
17
|
+
} from "./repository-e7hkgzd9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service85,
|
|
20
|
+
node87
|
|
21
|
+
} from "./repository-k9rwbxer.js";
|
|
22
22
|
import {
|
|
23
23
|
AISDK_PREFIX2,
|
|
24
24
|
isAISDK2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
mergeOverlay2,
|
|
28
28
|
mergeHeaders2,
|
|
29
29
|
rewrite2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-m90tx7mw.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/provider.ts
|
|
36
36
|
var exports_provider5 = {};
|
|
@@ -40,7 +40,7 @@ __export(exports_provider5, {
|
|
|
40
40
|
Compaction: () => Compaction3,
|
|
41
41
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
42
42
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
43
|
-
Event: () =>
|
|
43
|
+
Event: () => Event17,
|
|
44
44
|
ID: () => ID16,
|
|
45
45
|
Info: () => Info24,
|
|
46
46
|
LoadError: () => LoadError3,
|
|
@@ -72,7 +72,7 @@ import { HttpTimeout } from "@opencode/ai/effect";
|
|
|
72
72
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
73
73
|
import { Credential } from "@opencode/schema/credential";
|
|
74
74
|
import { freeze } from "immer";
|
|
75
|
-
import { Event as
|
|
75
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
76
76
|
var ID16 = Provider.ID;
|
|
77
77
|
|
|
78
78
|
class LoadError3 extends Schema.TaggedError()("Provider.LoadError", {
|
|
@@ -328,9 +328,9 @@ function index(providerID, models) {
|
|
|
328
328
|
return result;
|
|
329
329
|
}
|
|
330
330
|
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
331
|
-
const bus = yield*
|
|
332
|
-
const integrations = yield*
|
|
333
|
-
const location = yield*
|
|
331
|
+
const bus = yield* Service92;
|
|
332
|
+
const integrations = yield* Service87;
|
|
333
|
+
const location = yield* Service85;
|
|
334
334
|
const state = create4({
|
|
335
335
|
name: "provider",
|
|
336
336
|
initial: () => new Map,
|
|
@@ -424,7 +424,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
424
424
|
const available = Array.from(records.values()).filter((record) => {
|
|
425
425
|
if (record.provider.activation === "disabled")
|
|
426
426
|
return false;
|
|
427
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
427
|
+
const integration = byID.get(record.provider.integrationID ?? ID19.make(record.provider.id));
|
|
428
428
|
if (record.sourceConnection && key3(record.sourceConnection) !== key3(integration?.connections[0]))
|
|
429
429
|
return false;
|
|
430
430
|
if (record.provider.activation === "enabled")
|
|
@@ -450,7 +450,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
450
450
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
451
451
|
});
|
|
452
452
|
});
|
|
453
|
-
yield* bus.subscribe([
|
|
453
|
+
yield* bus.subscribe([Event19.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
454
454
|
return Service84.of({
|
|
455
455
|
transform: state.transform,
|
|
456
456
|
reload: state.reload,
|
|
@@ -460,7 +460,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
460
460
|
snapshot
|
|
461
461
|
});
|
|
462
462
|
}));
|
|
463
|
-
var node86 = makeLocationNode({ service: Service84, layer, deps: [
|
|
463
|
+
var node86 = makeLocationNode({ service: Service84, layer, deps: [node94, node89, node87] });
|
|
464
464
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
465
465
|
const module = yield* Effect.tryPromise({
|
|
466
466
|
try: () => {
|
|
@@ -482,4 +482,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
482
482
|
return module;
|
|
483
483
|
});
|
|
484
484
|
|
|
485
|
-
export { ID16, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, tls2, Request4, Compaction3, Cache2, Transport2, Settings2, Info24, Service84, node86, exports_provider5,
|
|
485
|
+
export { ID16, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, tls2, Request4, Compaction3, Cache2, Transport2, Settings2, Info24, Service84, node86, exports_provider5, Event17 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID19,
|
|
3
|
+
Service87,
|
|
4
|
+
node89
|
|
5
|
+
} from "./repository-e7hkgzd9.js";
|
|
6
6
|
import {
|
|
7
7
|
isAISDK2,
|
|
8
8
|
packageName2,
|
|
9
9
|
mergeOverlay2,
|
|
10
10
|
mergeHeaders2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-m90tx7mw.js";
|
|
12
12
|
import {
|
|
13
13
|
ID16,
|
|
14
14
|
loadPackage2,
|
|
@@ -20,22 +20,22 @@ import {
|
|
|
20
20
|
tls2,
|
|
21
21
|
Service84,
|
|
22
22
|
node86
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-nen4dd64.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service74,
|
|
26
|
+
node76
|
|
27
|
+
} from "./repository-amv5w5q7.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
ID15,
|
|
30
30
|
VariantID2,
|
|
31
31
|
Ref3,
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
Service83,
|
|
33
|
+
node85,
|
|
34
34
|
supportsText2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./repository-zqjk3b05.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./repository-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/model-resolver.ts
|
|
41
41
|
var exports_model_resolver = {};
|
|
@@ -44,15 +44,15 @@ __export(exports_model_resolver, {
|
|
|
44
44
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
45
45
|
ModelInitializationError: () => ModelInitializationError2,
|
|
46
46
|
ModelResolver: () => exports_model_resolver,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service73,
|
|
48
48
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
49
49
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
50
50
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
51
51
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
52
52
|
fromCatalogModel: () => fromCatalogModel2,
|
|
53
53
|
hasPackage: () => hasPackage2,
|
|
54
|
-
layer: () =>
|
|
55
|
-
node: () =>
|
|
54
|
+
layer: () => layer24,
|
|
55
|
+
node: () => node75,
|
|
56
56
|
resolveModel: () => resolveModel3,
|
|
57
57
|
withVariant: () => withVariant2
|
|
58
58
|
});
|
|
@@ -71,7 +71,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
|
71
71
|
import { Npm } from "@opencode/util/npm";
|
|
72
72
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
73
73
|
providerID: ID16,
|
|
74
|
-
modelID:
|
|
74
|
+
modelID: ID15,
|
|
75
75
|
variant: VariantID2
|
|
76
76
|
}) {
|
|
77
77
|
get message() {
|
|
@@ -81,7 +81,7 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
81
81
|
|
|
82
82
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
83
83
|
providerID: ID16,
|
|
84
|
-
modelID:
|
|
84
|
+
modelID: ID15,
|
|
85
85
|
package: Schema.String
|
|
86
86
|
}) {
|
|
87
87
|
get message() {
|
|
@@ -92,7 +92,7 @@ var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
|
92
92
|
|
|
93
93
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
94
94
|
providerID: ID16,
|
|
95
|
-
modelID:
|
|
95
|
+
modelID: ID15,
|
|
96
96
|
package: Schema.String,
|
|
97
97
|
detail: Schema.String
|
|
98
98
|
}) {
|
|
@@ -103,7 +103,7 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
103
103
|
|
|
104
104
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
105
105
|
providerID: ID16,
|
|
106
|
-
modelID:
|
|
106
|
+
modelID: ID15,
|
|
107
107
|
package: Schema.String,
|
|
108
108
|
phase: InitializationPhase2,
|
|
109
109
|
detail: Schema.String
|
|
@@ -115,7 +115,7 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
115
115
|
|
|
116
116
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
117
117
|
providerID: ID16,
|
|
118
|
-
modelID:
|
|
118
|
+
modelID: ID15,
|
|
119
119
|
variables: Schema.Array(Schema.String)
|
|
120
120
|
}) {
|
|
121
121
|
get message() {
|
|
@@ -125,7 +125,7 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
125
125
|
|
|
126
126
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
127
127
|
providerID: ID16,
|
|
128
|
-
modelID:
|
|
128
|
+
modelID: ID15,
|
|
129
129
|
route: Schema.String
|
|
130
130
|
}) {
|
|
131
131
|
get message() {
|
|
@@ -133,7 +133,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
class
|
|
136
|
+
class Service73 extends Context.Service()("@opencode/ModelResolver") {
|
|
137
137
|
}
|
|
138
138
|
var withVariant2 = (model, variantID) => {
|
|
139
139
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -318,19 +318,19 @@ var causeMessage = (cause) => {
|
|
|
318
318
|
};
|
|
319
319
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
320
320
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
321
|
-
var
|
|
321
|
+
var layer24 = Layer.effect(Service73, Effect.gen(function* () {
|
|
322
322
|
const providers = yield* Service84;
|
|
323
|
-
const models = yield*
|
|
324
|
-
const integrations = yield*
|
|
323
|
+
const models = yield* Service83;
|
|
324
|
+
const integrations = yield* Service87;
|
|
325
325
|
const npm = yield* Npm.Service;
|
|
326
|
-
const aisdk = yield*
|
|
326
|
+
const aisdk = yield* Service74;
|
|
327
327
|
const dependencies = {
|
|
328
328
|
loadPackage: (specifier) => loadPackage2(specifier, npm),
|
|
329
329
|
loadAISDK: (model) => aisdk.model(model)
|
|
330
330
|
};
|
|
331
331
|
const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
|
|
332
332
|
const provider = yield* providers.get(selected.providerID);
|
|
333
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
333
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID19.make(selected.providerID));
|
|
334
334
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
335
335
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
336
336
|
const runtimeInfo = {
|
|
@@ -373,7 +373,7 @@ var layer29 = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
373
373
|
return model;
|
|
374
374
|
return (yield* models.available()).find((model) => hasPackage2(model) && supportsText2(model));
|
|
375
375
|
});
|
|
376
|
-
return
|
|
376
|
+
return Service73.of({
|
|
377
377
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
378
378
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* fallback();
|
|
379
379
|
if (!selected)
|
|
@@ -439,10 +439,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
439
439
|
return false;
|
|
440
440
|
return API_KEY_AUTH_PACKAGES.has(name) || name.startsWith("@opencode/ai/providers/openai/") || name.startsWith("@opencode/ai/providers/azure/");
|
|
441
441
|
}
|
|
442
|
-
var
|
|
443
|
-
service:
|
|
444
|
-
layer:
|
|
445
|
-
deps: [node86,
|
|
442
|
+
var node75 = makeLocationNode({
|
|
443
|
+
service: Service73,
|
|
444
|
+
layer: layer24,
|
|
445
|
+
deps: [node86, node85, node89, Npm.node, node76]
|
|
446
446
|
});
|
|
447
447
|
|
|
448
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
448
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service73, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer24, node75, exports_model_resolver };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
enabled3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-h5j1t2ft.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionMessage2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-gftt206x.js";
|
|
7
7
|
import {
|
|
8
8
|
invocation2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service64
|
|
10
|
+
} from "./repository-q5v60jsn.js";
|
|
11
11
|
import {
|
|
12
12
|
EventStreamTerminatedError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9ceax7yg.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service34
|
|
16
|
+
} from "./repository-0kphx6m0.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/plugin/mcp-events.ts
|
|
22
22
|
var exports_mcp_events = {};
|
|
23
23
|
__export(exports_mcp_events, {
|
|
24
24
|
McpEventTools: () => exports_mcp_events,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin47
|
|
26
26
|
});
|
|
27
27
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
28
28
|
import { Hash } from "@opencode/util/hash";
|
|
@@ -35,13 +35,13 @@ var EventType = Schema.Struct({
|
|
|
35
35
|
inputSchema: Schema.optional(Schema.Record(Schema.String, Schema.Unknown))
|
|
36
36
|
});
|
|
37
37
|
var reopen = Schedule.max([Schedule.exponential("1 second"), Schedule.recurs(3)]).pipe(Schedule.setInputType(), Schedule.while(({ input }) => !(input instanceof EventStreamTerminatedError2)));
|
|
38
|
-
var
|
|
38
|
+
var Plugin47 = {
|
|
39
39
|
id: "opencode.tools.mcp-events",
|
|
40
40
|
effect: Effect.fn("McpEventTools.Plugin")(function* (ctx) {
|
|
41
41
|
if (!(yield* enabled3("mcp_events")))
|
|
42
42
|
return;
|
|
43
|
-
const mcp = yield*
|
|
44
|
-
const permission = yield*
|
|
43
|
+
const mcp = yield* Service34;
|
|
44
|
+
const permission = yield* Service64;
|
|
45
45
|
const scope = yield* Scope.Scope;
|
|
46
46
|
yield* ctx.tool.transform((editor) => {
|
|
47
47
|
editor.add({
|
|
@@ -142,4 +142,4 @@ ${text}
|
|
|
142
142
|
${ticks}`;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { Plugin47, exports_mcp_events };
|