@opencode/core 0.0.0-dev-367 → 0.0.0-dev-372
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 +85 -85
- package/dist/aisdk-native.js +101 -101
- package/dist/aisdk.js +107 -107
- package/dist/app.js +9 -9
- package/dist/artifact.js +265 -0
- package/dist/bus.js +83 -83
- package/dist/chunks/{location-lifecycle-d7bxxawq.js → repository-01f58weh.js} +3 -3
- package/dist/chunks/{location-lifecycle-81bq4h1s.js → repository-05qq9bxb.js} +10 -10
- package/dist/chunks/{location-lifecycle-63m9y1zf.js → repository-05s84c9e.js} +28 -28
- package/dist/chunks/{location-lifecycle-w9e1gm05.js → repository-062cscqh.js} +30 -30
- package/dist/chunks/{location-lifecycle-bd1jb5z2.js → repository-09kn1hvj.js} +18 -18
- package/dist/chunks/{location-lifecycle-ybws1qgk.js → repository-0h86f0az.js} +4 -4
- package/dist/chunks/{location-lifecycle-fznmdakp.js → repository-0h8y3ex8.js} +4 -4
- package/dist/chunks/{location-lifecycle-0j7gp832.js → repository-0j7gp832.js} +1 -1
- package/dist/chunks/{location-lifecycle-gnvpvbe6.js → repository-0pkedc33.js} +38 -38
- package/dist/chunks/{location-lifecycle-j4y3f06j.js → repository-0q74zvx8.js} +5 -5
- package/dist/chunks/{location-lifecycle-1qx3whsx.js → repository-0rscem4b.js} +5 -5
- package/dist/chunks/{location-lifecycle-5ty8fv2m.js → repository-0t21jw6h.js} +12 -12
- package/dist/chunks/{location-lifecycle-xejrfrbz.js → repository-0vh0ztag.js} +30 -30
- package/dist/chunks/{location-lifecycle-fwb3ezbk.js → repository-0zf8fpw9.js} +24 -24
- package/dist/chunks/{location-lifecycle-bcyg3vhe.js → repository-10rfqpb9.js} +13 -13
- package/dist/chunks/{location-lifecycle-yznjhe2r.js → repository-128hmwhq.js} +11 -11
- package/dist/chunks/{location-lifecycle-s84e8ggs.js → repository-19g9fh03.js} +12 -12
- package/dist/chunks/{location-lifecycle-1aqsckx4.js → repository-1aqsckx4.js} +1 -1
- package/dist/chunks/{location-lifecycle-rsnagt9d.js → repository-1bn0y5tn.js} +18 -18
- package/dist/chunks/{location-lifecycle-vhcnjsm1.js → repository-1c417wd5.js} +17 -17
- package/dist/chunks/{location-lifecycle-a058387c.js → repository-1pevy3nx.js} +11 -4
- package/dist/chunks/{location-lifecycle-3dtsw47h.js → repository-1qt7sfqe.js} +59 -34
- package/dist/chunks/{location-lifecycle-1x2knyw4.js → repository-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-lifecycle-rn5qct79.js → repository-1y7drcmg.js} +9 -9
- package/dist/chunks/{location-lifecycle-1yq9hg58.js → repository-1yq9hg58.js} +1 -1
- package/dist/chunks/{location-lifecycle-530xg6vw.js → repository-20hgg5jf.js} +6 -6
- package/dist/chunks/{location-lifecycle-m4yf5w44.js → repository-22322d3s.js} +4 -4
- package/dist/chunks/{location-lifecycle-843dmn7w.js → repository-23zggm3m.js} +14 -14
- package/dist/chunks/{location-lifecycle-anr0vv3x.js → repository-27q9sh4d.js} +11 -11
- package/dist/chunks/{location-lifecycle-1ep2p91f.js → repository-27w5k9zf.js} +2 -2
- package/dist/chunks/{location-lifecycle-5yd4kgkj.js → repository-29pkxvwt.js} +16 -16
- package/dist/chunks/{location-lifecycle-g34xrvj6.js → repository-2fpkg984.js} +24 -24
- package/dist/chunks/{location-lifecycle-x79ghvf2.js → repository-2gk79xxr.js} +9 -9
- package/dist/chunks/{location-lifecycle-xva2mcct.js → repository-2gyf2v4k.js} +36 -36
- package/dist/chunks/{location-lifecycle-xsact9zs.js → repository-2mbjfaxd.js} +4 -4
- package/dist/chunks/{location-lifecycle-8j98apff.js → repository-2md5m33k.js} +1 -1
- package/dist/chunks/{location-lifecycle-6qqarppr.js → repository-349sqrbt.js} +31 -31
- package/dist/chunks/{location-lifecycle-1n2wt30b.js → repository-35gq0sf5.js} +11 -11
- package/dist/chunks/{location-lifecycle-d87wwgp3.js → repository-35ya7az0.js} +9 -9
- package/dist/chunks/{location-lifecycle-vmjndagx.js → repository-3bbxymw0.js} +36 -36
- package/dist/chunks/{location-lifecycle-38atze3s.js → repository-3bgf9gas.js} +4 -4
- package/dist/chunks/{location-lifecycle-ayjs7tqn.js → repository-3cbjf1nt.js} +2 -2
- package/dist/chunks/{location-lifecycle-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-lifecycle-tmc7xdjs.js → repository-3nnrz6f6.js} +4 -4
- package/dist/chunks/{location-lifecycle-c6x7d2ts.js → repository-3ryz99p0.js} +4 -4
- package/dist/chunks/{location-lifecycle-stkknw48.js → repository-3v50s0nm.js} +4 -4
- package/dist/chunks/{location-lifecycle-cycjj1y0.js → repository-3vyp6j4y.js} +20 -20
- package/dist/chunks/{location-lifecycle-t72xd960.js → repository-3x7atde9.js} +25 -25
- package/dist/chunks/{location-lifecycle-40y6dtc2.js → repository-40y6dtc2.js} +1 -1
- package/dist/chunks/{location-lifecycle-drte4qvg.js → repository-43tmkezd.js} +15 -15
- package/dist/chunks/{location-lifecycle-9z7eq7wn.js → repository-45sn5fkz.js} +16 -16
- package/dist/chunks/{location-lifecycle-8cg7mtm3.js → repository-4d2dtj2f.js} +4 -4
- package/dist/chunks/{location-lifecycle-4dx1dgte.js → repository-4dx1dgte.js} +1 -1
- package/dist/chunks/{location-lifecycle-9dn6w71y.js → repository-4e4y46vz.js} +5 -5
- package/dist/chunks/{location-lifecycle-hj2ahw1s.js → repository-4esnxtst.js} +6 -6
- package/dist/chunks/{location-lifecycle-1ms0nqff.js → repository-4h9x2q52.js} +58 -58
- package/dist/chunks/{location-lifecycle-b7avzda6.js → repository-4knj1y15.js} +11 -11
- package/dist/chunks/{location-lifecycle-yfftpesd.js → repository-4n2bf6zf.js} +9 -9
- package/dist/chunks/{location-lifecycle-4pyp9zr9.js → repository-4pyp9zr9.js} +1 -1
- package/dist/chunks/{location-lifecycle-pef5e46n.js → repository-4sshptwq.js} +11 -11
- package/dist/chunks/{location-lifecycle-4v008n1t.js → repository-4v008n1t.js} +1 -1
- package/dist/chunks/{location-lifecycle-kzg6s88f.js → repository-4x4a4djr.js} +7 -7
- package/dist/chunks/{location-lifecycle-cr81kxgg.js → repository-4xpt6t8e.js} +15 -15
- package/dist/chunks/{location-lifecycle-x4k7msxs.js → repository-526g40ts.js} +2 -2
- package/dist/chunks/{location-lifecycle-5zexrza4.js → repository-55qjdesv.js} +13 -13
- package/dist/chunks/{location-lifecycle-etapyzjt.js → repository-56q51v0r.js} +8 -8
- package/dist/chunks/{location-lifecycle-590fncev.js → repository-57fxnk3e.js} +12 -12
- package/dist/chunks/{location-lifecycle-0jssrn31.js → repository-593mzzr4.js} +2 -2
- package/dist/chunks/{location-lifecycle-6vj2fw2g.js → repository-5hrgbkyt.js} +26 -26
- package/dist/chunks/{location-lifecycle-5m9w47nd.js → repository-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-lifecycle-aqfqn1zh.js → repository-5pbade4g.js} +8 -8
- package/dist/chunks/{location-lifecycle-x23wd618.js → repository-5pmtkemt.js} +20 -20
- package/dist/chunks/{location-lifecycle-1q55ah4h.js → repository-5xvv6snx.js} +21 -21
- package/dist/chunks/{location-lifecycle-61qraad9.js → repository-61qraad9.js} +2 -2
- package/dist/chunks/{location-lifecycle-26wfx3k0.js → repository-62zd5tzk.js} +7 -7
- package/dist/chunks/{location-lifecycle-5marpz7d.js → repository-65sg5ez6.js} +12 -12
- package/dist/chunks/{location-lifecycle-e6gv5n26.js → repository-68zsf5nd.js} +16 -16
- package/dist/chunks/repository-6bshxcsx.js +18 -0
- package/dist/chunks/repository-6d7ar4jq.js +152 -0
- package/dist/chunks/{location-lifecycle-6esdw8yj.js → repository-6esdw8yj.js} +1 -1
- package/dist/chunks/{location-lifecycle-c2qy0506.js → repository-6k31ra67.js} +86 -86
- package/dist/chunks/{location-lifecycle-v6ghzfeb.js → repository-6xw3seg4.js} +5 -5
- package/dist/chunks/{location-lifecycle-x45vfxqa.js → repository-77cd4dah.js} +18 -18
- package/dist/chunks/{location-lifecycle-v3vtwm3k.js → repository-783vkagc.js} +8 -8
- package/dist/chunks/repository-79nv3791.js +261 -0
- package/dist/chunks/{location-lifecycle-0b9p1w57.js → repository-7a2kvczc.js} +23 -23
- package/dist/chunks/{location-lifecycle-x7qpzy2n.js → repository-7afjxmym.js} +8 -8
- package/dist/chunks/{location-lifecycle-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-lifecycle-hn82nnv7.js → repository-7cs1fm83.js} +17 -17
- package/dist/chunks/{location-lifecycle-ac61hc9j.js → repository-7fdj7k1k.js} +17 -17
- package/dist/chunks/{location-lifecycle-t3z1vt8c.js → repository-7hx80dab.js} +41 -41
- package/dist/chunks/{location-lifecycle-7kr66rt3.js → repository-7kr66rt3.js} +1 -1
- package/dist/chunks/{location-lifecycle-54x02qvv.js → repository-7n810yga.js} +13 -13
- package/dist/chunks/{location-lifecycle-mrpnjyvf.js → repository-7nqkf5r1.js} +6 -6
- package/dist/chunks/{location-lifecycle-k7j8ta0q.js → repository-7qkfad8a.js} +3 -3
- package/dist/chunks/{location-lifecycle-7w2ypzdf.js → repository-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-lifecycle-physa0h7.js → repository-7w8btzrz.js} +6 -6
- package/dist/chunks/{location-lifecycle-775hqbnd.js → repository-80mg3ag8.js} +3 -3
- package/dist/chunks/{location-lifecycle-4az1a8cs.js → repository-81vzgppv.js} +6 -6
- package/dist/chunks/{location-lifecycle-2n0gzjy1.js → repository-86ng5cw0.js} +6 -6
- package/dist/chunks/{location-lifecycle-yh2pfthe.js → repository-888nng90.js} +11 -11
- package/dist/chunks/{location-lifecycle-89287pr7.js → repository-89287pr7.js} +1 -1
- package/dist/chunks/{location-lifecycle-8b3vzgkx.js → repository-8b3vzgkx.js} +1 -1
- package/dist/chunks/{location-lifecycle-tpgns2k8.js → repository-8d2bw64f.js} +13 -13
- package/dist/chunks/{location-lifecycle-ksq8v9q8.js → repository-8n9m5z10.js} +22 -22
- package/dist/chunks/{location-lifecycle-7gyg9k8b.js → repository-8nftj1yp.js} +8 -8
- package/dist/chunks/{location-lifecycle-740ekhr9.js → repository-8ns5k15t.js} +14 -14
- package/dist/chunks/{location-lifecycle-zp74q1zm.js → repository-8nxpa0mz.js} +32 -32
- package/dist/chunks/{location-lifecycle-gy52bta7.js → repository-8rwpp194.js} +10 -10
- package/dist/chunks/{location-lifecycle-r17fbvme.js → repository-8t99kr38.js} +4 -4
- package/dist/chunks/{location-lifecycle-8wtp7s3z.js → repository-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-lifecycle-n7bnkb3p.js → repository-8x9y3wj0.js} +9 -9
- package/dist/chunks/{location-lifecycle-mb7mbhnz.js → repository-8z6m94af.js} +3 -3
- package/dist/chunks/{location-lifecycle-90zstvax.js → repository-90zstvax.js} +1 -1
- package/dist/chunks/{location-lifecycle-xk2zn0cv.js → repository-95sp4hdf.js} +4 -4
- package/dist/chunks/{location-lifecycle-dz4x1ap9.js → repository-963hk181.js} +11 -11
- package/dist/chunks/{location-lifecycle-96djdqw5.js → repository-96djdqw5.js} +4 -4
- package/dist/chunks/{location-lifecycle-n667x9db.js → repository-9bjq5xf8.js} +62 -62
- package/dist/chunks/{location-lifecycle-47pqg65j.js → repository-9hm7p4mp.js} +25 -25
- package/dist/chunks/{location-lifecycle-hw621kav.js → repository-9kg5w032.js} +8 -8
- package/dist/chunks/{location-lifecycle-w79nt68w.js → repository-9q8g9sv8.js} +4 -4
- package/dist/chunks/{location-lifecycle-gnm7wfx5.js → repository-9skas3fk.js} +19 -19
- package/dist/chunks/{location-lifecycle-cbzxq0az.js → repository-9vb9hd08.js} +17 -17
- package/dist/chunks/{location-lifecycle-8aqz02hm.js → repository-9vyktpg8.js} +19 -19
- package/dist/chunks/{location-lifecycle-yngvyh0w.js → repository-a1qwck5h.js} +8 -8
- package/dist/chunks/{location-lifecycle-g9kapk4a.js → repository-a7dted3c.js} +4 -4
- package/dist/chunks/{location-lifecycle-mg9thdmt.js → repository-a7m7r1wt.js} +9 -9
- package/dist/chunks/{location-lifecycle-zbbhhjay.js → repository-acnapkdx.js} +29 -29
- package/dist/chunks/{location-lifecycle-8ndrzmt3.js → repository-ae3bbkjz.js} +3 -3
- package/dist/chunks/{location-lifecycle-sy8vd0m2.js → repository-aejnhepz.js} +8 -8
- package/dist/chunks/{location-lifecycle-034tev2y.js → repository-aj7mw0zk.js} +2 -2
- package/dist/chunks/{location-lifecycle-r2090g84.js → repository-akg67h4m.js} +17 -17
- package/dist/chunks/{location-lifecycle-28721bnc.js → repository-anh26fwf.js} +4 -4
- package/dist/chunks/{location-lifecycle-panzxscc.js → repository-awr3zj91.js} +13 -13
- package/dist/chunks/{location-lifecycle-vbdyryf8.js → repository-awrz1b32.js} +17 -17
- package/dist/chunks/{location-lifecycle-dtm2rd94.js → repository-b2c1mvj5.js} +38 -38
- package/dist/chunks/{location-lifecycle-b6vsg801.js → repository-b6vsg801.js} +2 -2
- package/dist/chunks/{location-lifecycle-m53yvr8y.js → repository-b9jmvddr.js} +11 -11
- package/dist/chunks/{location-lifecycle-ze496185.js → repository-b9wfzyf7.js} +47 -47
- package/dist/chunks/{location-lifecycle-za3cvkqq.js → repository-bakhbh47.js} +6 -6
- package/dist/chunks/{location-lifecycle-fzqc38jz.js → repository-bh54cvah.js} +14 -14
- package/dist/chunks/{location-lifecycle-7cd3pjj6.js → repository-bk2kp955.js} +35 -35
- package/dist/chunks/repository-bnp18vzy.js +26 -0
- package/dist/chunks/{location-lifecycle-bstexjd6.js → repository-bstexjd6.js} +1 -1
- package/dist/chunks/{location-lifecycle-tadmzz22.js → repository-bvafq468.js} +31 -31
- package/dist/chunks/{location-lifecycle-wvzzbx7w.js → repository-cfzy73q7.js} +45 -45
- package/dist/chunks/{location-lifecycle-fzz1exw6.js → repository-cg0ajkg6.js} +8 -8
- package/dist/chunks/{location-lifecycle-jkdcm5hg.js → repository-cr4rfj9z.js} +4 -4
- package/dist/chunks/{location-lifecycle-fdstczec.js → repository-crnga6rk.js} +15 -15
- package/dist/chunks/{location-lifecycle-51hfqndg.js → repository-ct3v1yt3.js} +210 -181
- package/dist/chunks/{location-lifecycle-h91vm5r2.js → repository-ctmpqb7w.js} +9 -9
- package/dist/chunks/{location-lifecycle-bjym4gqm.js → repository-cvfsgrs7.js} +6 -6
- package/dist/chunks/{location-lifecycle-cwrgdav8.js → repository-cwrgdav8.js} +2 -2
- package/dist/chunks/{location-lifecycle-fd9e4rvp.js → repository-cy1pdnrn.js} +36 -36
- package/dist/chunks/{location-lifecycle-d4v9tmah.js → repository-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-lifecycle-cf3kp6ja.js → repository-d4ww958s.js} +4 -4
- package/dist/chunks/{location-lifecycle-1sn4bk8a.js → repository-dcwabf9x.js} +13 -13
- package/dist/chunks/{location-lifecycle-dd5pbnsd.js → repository-df4j3dme.js} +2 -2
- package/dist/chunks/{location-lifecycle-px7qpgcn.js → repository-dg5naf6e.js} +4 -4
- package/dist/chunks/{location-lifecycle-vwzgpct2.js → repository-djvpvna9.js} +5 -5
- package/dist/chunks/{location-lifecycle-569f77t5.js → repository-dkn9eszv.js} +32 -32
- package/dist/chunks/{location-lifecycle-dt77769w.js → repository-dt77769w.js} +1 -1
- package/dist/chunks/{location-lifecycle-9sy1j1hj.js → repository-dv96216k.js} +4 -4
- package/dist/chunks/{location-lifecycle-87zyv5f5.js → repository-dyczxt3a.js} +27 -27
- package/dist/chunks/{location-lifecycle-0z1nq4bm.js → repository-e5c0k95c.js} +3 -3
- package/dist/chunks/{location-lifecycle-e834z07m.js → repository-e834z07m.js} +1 -1
- package/dist/chunks/{location-lifecycle-a3fn0gmm.js → repository-eavcrtrz.js} +2 -2
- package/dist/chunks/{location-lifecycle-xs5fbjba.js → repository-edf5jh0e.js} +4 -4
- package/dist/chunks/{location-lifecycle-xm2874vd.js → repository-ees6xmtq.js} +14 -14
- package/dist/chunks/{location-lifecycle-a6ww10xh.js → repository-egabpkp4.js} +4 -4
- package/dist/chunks/{location-lifecycle-eqw4pqj1.js → repository-eqw4pqj1.js} +2 -2
- package/dist/chunks/repository-eqy0zkf5.js +549 -0
- package/dist/chunks/{location-lifecycle-4xwsx55q.js → repository-ew0azyk8.js} +23 -23
- package/dist/chunks/{location-lifecycle-94e33dpz.js → repository-f341sazs.js} +3 -3
- package/dist/chunks/{location-lifecycle-9qa86pp8.js → repository-fbp89s9v.js} +7 -7
- package/dist/chunks/{location-lifecycle-am8wh8f7.js → repository-fdfqcyn8.js} +28 -28
- package/dist/chunks/{location-lifecycle-fffv3p7h.js → repository-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-lifecycle-fg9p65nk.js → repository-fg9p65nk.js} +2 -2
- package/dist/chunks/{location-lifecycle-ar90s87c.js → repository-fpqm7851.js} +38 -38
- package/dist/chunks/{location-lifecycle-x95k7qwf.js → repository-fzf2sxt5.js} +5 -5
- package/dist/chunks/{location-lifecycle-3s4h3e1k.js → repository-g00r64yf.js} +10 -10
- package/dist/chunks/{location-lifecycle-hg0t6c2z.js → repository-g6fcj31y.js} +13 -13
- package/dist/chunks/{location-lifecycle-gbjdnr5j.js → repository-gbjdnr5j.js} +2 -2
- package/dist/chunks/{location-lifecycle-m8hhcq1f.js → repository-gc4t6v4h.js} +21 -21
- package/dist/chunks/{location-lifecycle-dtdcr5qf.js → repository-gcpxngxx.js} +7 -7
- package/dist/chunks/{location-lifecycle-q98q2sza.js → repository-ggem1gnx.js} +4 -4
- package/dist/chunks/{location-lifecycle-t3qveq7d.js → repository-ggk8302d.js} +3 -3
- package/dist/chunks/{location-lifecycle-17qkbqjx.js → repository-gsn6ff7q.js} +35 -35
- package/dist/chunks/{location-lifecycle-zdyxed1v.js → repository-gvs8gaq9.js} +18 -18
- package/dist/chunks/{location-lifecycle-fsz16w92.js → repository-hcneb2c8.js} +24 -24
- package/dist/chunks/{location-lifecycle-nv5r9pge.js → repository-hfv14dtg.js} +13 -13
- package/dist/chunks/{location-lifecycle-hh7kjqtw.js → repository-hh7kjqtw.js} +1 -1
- package/dist/chunks/{location-lifecycle-3gb8268n.js → repository-hmnqfn4v.js} +5 -5
- package/dist/chunks/{location-lifecycle-hpg1pkwy.js → repository-hpg1pkwy.js} +1 -1
- package/dist/chunks/{location-lifecycle-bnzx9dwt.js → repository-hsnq1va6.js} +5 -5
- package/dist/chunks/{location-lifecycle-bnxgvb8e.js → repository-j0a3xxs6.js} +54 -54
- package/dist/chunks/{location-lifecycle-y81077qw.js → repository-j0cnhtw8.js} +5 -5
- package/dist/chunks/{location-lifecycle-j376ae4e.js → repository-j376ae4e.js} +1 -1
- package/dist/chunks/{location-lifecycle-p0cvbzhe.js → repository-ja5h2ebt.js} +17 -17
- package/dist/chunks/{location-lifecycle-hbtznkty.js → repository-jcw9q93v.js} +11 -11
- package/dist/chunks/{location-lifecycle-c57shnj4.js → repository-jgd4e8e6.js} +7 -8
- package/dist/chunks/{location-lifecycle-4cqst6fr.js → repository-jhhtxfg3.js} +7 -7
- package/dist/chunks/{location-lifecycle-jtnps1zs.js → repository-jtnps1zs.js} +2 -2
- package/dist/chunks/{location-lifecycle-jxd6f16v.js → repository-jxd6f16v.js} +2 -2
- package/dist/chunks/{location-lifecycle-d9mb7vcn.js → repository-jzqxvfnq.js} +32 -32
- package/dist/chunks/{location-lifecycle-vw8191gw.js → repository-k1c2s8ns.js} +7 -7
- package/dist/chunks/{location-lifecycle-kj9n5bvh.js → repository-k46dd5bg.js} +4 -4
- package/dist/chunks/{location-lifecycle-babktaw3.js → repository-kbgs7tyr.js} +4 -4
- package/dist/chunks/{location-lifecycle-v6d0rpy4.js → repository-kk1ky6ne.js} +45 -45
- package/dist/chunks/{location-lifecycle-gs4sptc9.js → repository-kkn8km6v.js} +25 -25
- package/dist/chunks/{location-lifecycle-kge96s42.js → repository-kp2tkdrb.js} +11 -11
- package/dist/chunks/{location-lifecycle-kt3bjfbg.js → repository-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-lifecycle-m1714858.js → repository-m1714858.js} +1 -1
- package/dist/chunks/{location-lifecycle-cgzq5k3k.js → repository-m7f5x9f3.js} +88 -88
- package/dist/chunks/{location-lifecycle-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-lifecycle-r32k2vx2.js → repository-mamxj3ye.js} +1 -1
- package/dist/chunks/{location-lifecycle-yjjyz0e3.js → repository-mqe7nf5n.js} +3 -3
- package/dist/chunks/{location-lifecycle-n5s722db.js → repository-msn6cp5h.js} +19 -19
- package/dist/chunks/{location-lifecycle-k5v3pn2n.js → repository-mtpyhzaw.js} +35 -35
- package/dist/chunks/{location-lifecycle-nah043kf.js → repository-nah043kf.js} +1 -1
- package/dist/chunks/{location-lifecycle-ytxp9m2j.js → repository-nkaf1g71.js} +9 -9
- package/dist/chunks/{location-lifecycle-r0tp8gp1.js → repository-nkgn593q.js} +6 -6
- package/dist/chunks/{location-lifecycle-v5vt8j6s.js → repository-nmhjkwy5.js} +15 -15
- package/dist/chunks/{location-lifecycle-r806webk.js → repository-nrghxvsp.js} +11 -11
- package/dist/chunks/{location-lifecycle-wegkxhrn.js → repository-nx4vzyjd.js} +2 -2
- package/dist/chunks/{location-lifecycle-p015t6z3.js → repository-p015t6z3.js} +2 -2
- package/dist/chunks/{location-lifecycle-nv9tsjma.js → repository-p3g3b7x5.js} +6 -6
- package/dist/chunks/{location-lifecycle-nnhy59ky.js → repository-p553nwyy.js} +9 -9
- package/dist/chunks/{location-lifecycle-shnpfh5t.js → repository-p5jsydzp.js} +13 -13
- package/dist/chunks/{location-lifecycle-9ayv109q.js → repository-pek8xmkz.js} +31 -31
- package/dist/chunks/{location-lifecycle-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{location-lifecycle-704a0bd3.js → repository-pnjvkgxk.js} +27 -27
- package/dist/chunks/{location-lifecycle-233argac.js → repository-pnwsrq7c.js} +8 -8
- package/dist/chunks/{location-lifecycle-xewk668j.js → repository-pny0hvca.js} +11 -11
- package/dist/chunks/{location-lifecycle-ye6127aq.js → repository-ppjsjmvn.js} +9 -9
- package/dist/chunks/{location-lifecycle-csh6jqny.js → repository-q1ybpa6r.js} +17 -17
- package/dist/chunks/{location-lifecycle-zb3dg74j.js → repository-q2xtnwk4.js} +27 -27
- package/dist/chunks/{location-lifecycle-jg9n80bn.js → repository-q318mmxc.js} +11 -11
- package/dist/chunks/{location-lifecycle-zm40y35g.js → repository-q3y5wvej.js} +10 -10
- package/dist/chunks/{location-lifecycle-k8fdhbvv.js → repository-qd7wbecs.js} +43 -43
- package/dist/chunks/{location-lifecycle-3yb94czr.js → repository-qfqmsygf.js} +22 -22
- package/dist/chunks/{location-lifecycle-3er1499f.js → repository-qgv0hrxy.js} +44 -44
- package/dist/chunks/{location-lifecycle-7dyv7vvf.js → repository-qjmmxvsx.js} +7 -7
- package/dist/chunks/{location-lifecycle-cxab28sr.js → repository-qk5sk9d1.js} +7 -7
- package/dist/chunks/{location-lifecycle-e1mxegf5.js → repository-qkd3x3nb.js} +4 -4
- package/dist/chunks/{location-lifecycle-yara3q77.js → repository-qkw2jr9b.js} +2 -2
- package/dist/chunks/{location-lifecycle-qp7r0hxv.js → repository-qp7r0hxv.js} +1 -1
- package/dist/chunks/{location-lifecycle-qqvy8y24.js → repository-qqvy8y24.js} +1 -1
- package/dist/chunks/{location-lifecycle-k3cx6fhe.js → repository-qsdghx1p.js} +4 -4
- package/dist/chunks/{location-lifecycle-jp753ps7.js → repository-qtee3wnm.js} +3 -3
- package/dist/chunks/{location-lifecycle-4f25tdd0.js → repository-r542h3bh.js} +5 -5
- package/dist/chunks/{location-lifecycle-5v3503g6.js → repository-r5dj3ay3.js} +14 -14
- package/dist/chunks/{location-lifecycle-9rjgg7dt.js → repository-r67ym705.js} +31 -31
- package/dist/chunks/{location-lifecycle-y2fyprkx.js → repository-r9haahrh.js} +13 -13
- package/dist/chunks/{location-lifecycle-rb9dy4dg.js → repository-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-lifecycle-qk6vrkcy.js → repository-rnpdff07.js} +16 -16
- package/dist/chunks/{location-lifecycle-rt5dr6hb.js → repository-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-lifecycle-15kkxs8d.js → repository-rxcfmx0a.js} +17 -17
- package/dist/chunks/{location-lifecycle-s1ba0vj0.js → repository-s1ba0vj0.js} +2 -2
- package/dist/chunks/{location-lifecycle-nkw96n0b.js → repository-s1f1w4yj.js} +22 -22
- package/dist/chunks/{location-lifecycle-v42bbhrc.js → repository-s8e2nyv7.js} +52 -52
- package/dist/chunks/{location-lifecycle-sa3fpqfw.js → repository-sa3fpqfw.js} +2 -2
- package/dist/chunks/{location-lifecycle-sbya78hr.js → repository-sbya78hr.js} +1 -1
- package/dist/chunks/{location-lifecycle-esa2gnyq.js → repository-sf6bpkgk.js} +26 -26
- package/dist/chunks/repository-sn1gkk9y.js +494 -0
- package/dist/chunks/{location-lifecycle-svcy3p9a.js → repository-svcy3p9a.js} +1 -1
- package/dist/chunks/{location-lifecycle-wptg4vs8.js → repository-svt5zkkd.js} +28 -28
- package/dist/chunks/{location-lifecycle-431zt7vf.js → repository-t0ekvtpp.js} +11 -11
- package/dist/chunks/{location-lifecycle-8sq2961v.js → repository-t2853657.js} +9 -9
- package/dist/chunks/{location-lifecycle-zqs9b1z0.js → repository-t48dq7pj.js} +14 -14
- package/dist/chunks/{location-lifecycle-ccp6j38y.js → repository-t4vf48t8.js} +8 -8
- package/dist/chunks/{location-lifecycle-e64dkc6m.js → repository-t97kwyt7.js} +17 -17
- package/dist/chunks/{location-lifecycle-cwn11z4x.js → repository-tc9nb9a0.js} +9 -9
- package/dist/chunks/{location-lifecycle-chgcvgaa.js → repository-tcwqkgek.js} +4 -4
- package/dist/chunks/{location-lifecycle-tczq8hjw.js → repository-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-lifecycle-p6fcbsc0.js → repository-teyt2nzc.js} +44 -44
- package/dist/chunks/{location-lifecycle-zmxhy6j5.js → repository-tf05bass.js} +46 -46
- package/dist/chunks/{location-lifecycle-gxs71cxp.js → repository-tg7s7b5t.js} +4 -4
- package/dist/chunks/{location-lifecycle-15ft1v7p.js → repository-tmyps9a8.js} +35 -35
- package/dist/chunks/{location-lifecycle-mf1d1q46.js → repository-trgewt4a.js} +30 -30
- package/dist/chunks/{location-lifecycle-6xcp79ef.js → repository-tway3w7r.js} +25 -25
- package/dist/chunks/{location-lifecycle-twssxy5n.js → repository-twssxy5n.js} +2 -2
- package/dist/chunks/{location-lifecycle-q7b7qeaz.js → repository-tzxp984n.js} +25 -25
- package/dist/chunks/{location-lifecycle-wjs84q2d.js → repository-v2kb3w8t.js} +21 -16
- package/dist/chunks/{location-lifecycle-fqstpm9t.js → repository-v2psmyxx.js} +5 -5
- package/dist/chunks/{location-lifecycle-v2r1d0zg.js → repository-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-lifecycle-vjf35v1f.js → repository-vjf35v1f.js} +1 -1
- package/dist/chunks/{location-lifecycle-2n444ktb.js → repository-vnjc296t.js} +2 -2
- package/dist/chunks/{location-lifecycle-2s9akrt7.js → repository-vzj9tmwp.js} +32 -32
- package/dist/chunks/{location-lifecycle-qw2t3dzn.js → repository-vzppetdn.js} +6 -6
- package/dist/chunks/{location-lifecycle-5enarcya.js → repository-w2eysc6j.js} +6 -6
- package/dist/chunks/{location-lifecycle-26c2sh8t.js → repository-w2h55x57.js} +10 -10
- package/dist/chunks/{location-lifecycle-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-lifecycle-76cb1hcw.js → repository-w8qtt4th.js} +4 -4
- package/dist/chunks/{location-lifecycle-wakvkjy4.js → repository-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-lifecycle-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{location-lifecycle-rpta9hr7.js → repository-wefmxetv.js} +28 -28
- package/dist/chunks/{location-lifecycle-wnhgecwx.js → repository-wnhgecwx.js} +1 -1
- package/dist/chunks/{location-lifecycle-zes6dc12.js → repository-wttgcv7s.js} +23 -23
- package/dist/chunks/{location-lifecycle-nyxvvj5y.js → repository-wvr8xscb.js} +4 -4
- package/dist/chunks/{location-lifecycle-q8v4hk5r.js → repository-x01ndw86.js} +95 -95
- package/dist/chunks/repository-x3c9tvtc.js +16 -0
- package/dist/chunks/{location-lifecycle-6bv6805f.js → repository-x6sm40hj.js} +21 -21
- package/dist/chunks/{location-lifecycle-33vv1cfk.js → repository-x7arxcmm.js} +23 -23
- package/dist/chunks/{location-lifecycle-c9cdamfv.js → repository-x9vm5pcw.js} +27 -27
- package/dist/chunks/{location-lifecycle-sp87d2ef.js → repository-xar188fb.js} +2 -2
- package/dist/chunks/{location-lifecycle-718r3p8j.js → repository-y4wxtq6w.js} +12 -12
- package/dist/chunks/{location-lifecycle-qbm2z9yk.js → repository-yabh6y4a.js} +48 -48
- package/dist/chunks/{location-lifecycle-yb20nhc3.js → repository-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-lifecycle-520e0f2k.js → repository-yd895q0a.js} +23 -23
- package/dist/chunks/{location-lifecycle-yr705xyq.js → repository-yr705xyq.js} +1 -1
- package/dist/chunks/{location-lifecycle-dnx8af70.js → repository-ytb3906e.js} +11 -11
- package/dist/chunks/{location-lifecycle-dyzkpd80.js → repository-ytebkfn0.js} +9 -9
- package/dist/chunks/{location-lifecycle-cj5qwfje.js → repository-z1g44n9p.js} +33 -33
- package/dist/chunks/{location-lifecycle-aw8gee7q.js → repository-z7m42cav.js} +30 -30
- package/dist/chunks/{location-lifecycle-pxk3y689.js → repository-z7p88xxg.js} +21 -21
- package/dist/chunks/{location-lifecycle-qzt30z8m.js → repository-zaf43er9.js} +21 -21
- package/dist/chunks/{location-lifecycle-2pje24zm.js → repository-ze1p7jqp.js} +15 -15
- package/dist/chunks/{location-lifecycle-j9nxzz3g.js → repository-ze75qvmd.js} +3 -3
- package/dist/chunks/{location-lifecycle-j68nh044.js → repository-zemg0r8q.js} +9 -9
- package/dist/chunks/{location-lifecycle-yqjv7w07.js → repository-zesyj9kh.js} +15 -15
- package/dist/chunks/{location-lifecycle-n2xzp3a2.js → repository-zf1yrpm1.js} +5 -5
- package/dist/chunks/{location-lifecycle-eaacydcv.js → repository-zhhyazj6.js} +14 -14
- package/dist/chunks/{location-lifecycle-pq9cwvxg.js → repository-zjmn475w.js} +12 -12
- package/dist/chunks/{location-lifecycle-qat23r5d.js → repository-zkerd49f.js} +11 -11
- package/dist/chunks/{location-lifecycle-d10ay63x.js → repository-zmdhjf1v.js} +14 -14
- package/dist/chunks/{location-lifecycle-t655cns0.js → repository-zmesx4nb.js} +26 -26
- package/dist/chunks/{location-lifecycle-27nkpqs3.js → repository-zmwfj6xw.js} +14 -14
- package/dist/chunks/{location-lifecycle-xd9fwfwa.js → repository-znj3gbds.js} +27 -27
- package/dist/chunks/{location-lifecycle-9mfwwdc8.js → repository-ztw1sh5h.js} +32 -32
- package/dist/chunks/{location-lifecycle-d1zthfrq.js → repository-zzfr1xvn.js} +27 -27
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +144 -144
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +150 -150
- package/dist/command.js +93 -93
- package/dist/config/discovery.js +96 -96
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +111 -111
- package/dist/config/plugin/agent.js +129 -129
- package/dist/config/plugin/command.js +227 -227
- package/dist/config/plugin/compaction.js +170 -170
- package/dist/config/plugin/compatibility.js +149 -149
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +130 -130
- package/dist/config/plugin/image.js +129 -129
- package/dist/config/plugin/instruction.js +129 -129
- package/dist/config/plugin/location-watcher.js +129 -129
- package/dist/config/plugin/mcp.js +136 -136
- package/dist/config/plugin/policy.js +129 -129
- package/dist/config/plugin/provider.js +129 -129
- package/dist/config/plugin/reference.js +131 -131
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +145 -145
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +152 -152
- package/dist/config/plugin/snapshot.js +129 -129
- package/dist/config/plugin/source.js +132 -132
- package/dist/config/plugin/tool-output.js +130 -130
- package/dist/config/plugin/websearch.js +130 -130
- package/dist/config/plugin/worktree.js +131 -131
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +130 -130
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +93 -93
- package/dist/database/database.js +80 -80
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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.gen.js +59 -59
- package/dist/database/migration.js +61 -61
- 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 +107 -107
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +427 -425
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +84 -84
- package/dist/file-access.js +155 -155
- package/dist/file-mutation.js +106 -106
- package/dist/file-retention.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/file-watch.js +90 -90
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +241 -240
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +116 -116
- package/dist/form.js +92 -92
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +99 -99
- package/dist/generate.js +117 -117
- package/dist/git.js +11 -11
- 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 +111 -111
- 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/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 +417 -415
- package/dist/instruction-discovery.js +94 -94
- package/dist/instructions/builtins.js +99 -99
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +99 -99
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +83 -83
- package/dist/location-activity.js +173 -173
- package/dist/location-lifecycle.js +149 -149
- package/dist/location-service-map.js +98 -98
- package/dist/location-services.js +414 -412
- package/dist/location.js +101 -101
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +103 -103
- package/dist/mcp/index.js +113 -113
- package/dist/mcp/instructions.js +180 -180
- package/dist/mcp/oauth.js +88 -88
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +102 -102
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +111 -111
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +106 -106
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +118 -118
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +146 -146
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +102 -100
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +85 -85
- package/dist/plugin/agent.js +84 -84
- package/dist/plugin/command.js +112 -112
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +234 -233
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +393 -391
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +109 -109
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +145 -145
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +103 -103
- package/dist/plugin/provider/azure.js +129 -129
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +129 -129
- package/dist/plugin/provider/claude-agent/aisdk.js +116 -116
- 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 +1 -1
- 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 +7 -7
- package/dist/plugin/provider/claude-agent/index.js +144 -144
- package/dist/plugin/provider/claude-agent/instructions.js +113 -113
- package/dist/plugin/provider/claude-agent/integration.js +112 -112
- 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 +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +107 -107
- package/dist/plugin/provider/claude-agent/session.js +111 -111
- 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 +127 -127
- package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
- package/dist/plugin/provider/configured.js +125 -125
- package/dist/plugin/provider/credential-settings.js +84 -84
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +105 -105
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +107 -107
- package/dist/plugin/provider/gitlab.js +106 -106
- package/dist/plugin/provider/google-vertex.js +126 -126
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +88 -88
- package/dist/plugin/provider/lmstudio.js +138 -138
- package/dist/plugin/provider/local.js +135 -135
- package/dist/plugin/provider/modal.js +104 -104
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +102 -102
- package/dist/plugin/provider/openai.js +131 -131
- package/dist/plugin/provider/opencode.js +131 -131
- package/dist/plugin/provider/openrouter.js +103 -103
- package/dist/plugin/provider/poe.js +89 -89
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +103 -103
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +128 -128
- package/dist/plugin/provider/vllm.js +138 -138
- package/dist/plugin/provider/xai.js +103 -103
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +209 -209
- package/dist/plugin/sdk.js +86 -86
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +148 -148
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +405 -403
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +98 -98
- package/dist/plugin/vcs/hg.js +98 -98
- package/dist/plugin/verbosity.js +105 -105
- package/dist/plugin/warming.js +127 -127
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +243 -242
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +10 -10
- package/dist/project/sql.js +4 -4
- package/dist/project.js +104 -104
- package/dist/provider.js +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +102 -102
- package/dist/repository-cache.js +92 -92
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +107 -107
- package/dist/rpc.js +98 -98
- package/dist/schedule/check.js +239 -238
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +247 -246
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +128 -128
- package/dist/session/command.js +84 -84
- package/dist/session/compaction.js +172 -172
- package/dist/session/context.js +197 -197
- package/dist/session/diff.js +100 -100
- 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 +240 -240
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +199 -199
- package/dist/session/history.js +135 -135
- package/dist/session/inbox.js +146 -146
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +89 -89
- package/dist/session/instruction-state.js +8 -8
- 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 +167 -167
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +163 -163
- package/dist/session/projector.js +142 -142
- package/dist/session/prompt.js +147 -147
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +138 -138
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +248 -247
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +112 -112
- package/dist/session/runner/publish-llm-event.js +148 -148
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +162 -162
- package/dist/session/runner/to-llm-message.js +136 -136
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +143 -143
- package/dist/session/skill.js +148 -148
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +141 -141
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +227 -227
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +201 -201
- package/dist/session/to-session-error.js +147 -147
- package/dist/session/transfer.js +239 -239
- package/dist/session/usage.js +3 -3
- package/dist/session.js +231 -231
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +143 -143
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +150 -150
- package/dist/skill.js +155 -155
- package/dist/snapshot.js +103 -103
- 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 +177 -177
- package/dist/tool/plugin/artifact.js +239 -0
- package/dist/tool/plugin/edit.js +157 -157
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +167 -167
- package/dist/tool/plugin/grep.js +167 -167
- package/dist/tool/plugin/image-generate.js +237 -237
- package/dist/tool/plugin/mcp-resource.js +161 -161
- package/dist/tool/plugin/opencode.js +160 -160
- package/dist/tool/plugin/patch.js +165 -165
- package/dist/tool/plugin/question.js +147 -147
- package/dist/tool/plugin/read.js +168 -168
- package/dist/tool/plugin/schedule.js +245 -244
- package/dist/tool/plugin/shell.js +233 -233
- package/dist/tool/plugin/skill.js +156 -156
- package/dist/tool/plugin/subagent.js +234 -234
- package/dist/tool/plugin/todo.js +152 -152
- package/dist/tool/plugin/webfetch.js +154 -154
- package/dist/tool/plugin/websearch.js +154 -154
- package/dist/tool/plugin/write.js +165 -165
- package/dist/tool/read-filesystem.js +112 -112
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +158 -158
- package/dist/types/artifact.d.ts +123 -0
- package/dist/types/instance.d.ts +2 -1
- package/dist/types/location-activity.d.ts +1 -1
- package/dist/types/persistent-pty/daemon.d.ts +38 -11
- package/dist/types/persistent-pty/index.d.ts +6 -0
- package/dist/types/plugin/host.d.ts +3 -2
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/schedule/check.d.ts +2 -2
- package/dist/types/session/prompt.d.ts +1 -1
- package/dist/types/tool/mcp.d.ts +1 -1
- package/dist/types/tool/plugin/artifact.d.ts +27 -0
- package/dist/types/tool/plugin/glob.d.ts +1 -1
- package/dist/types/tool/plugin/grep.d.ts +1 -1
- package/dist/types/tool/plugin/image-generate.d.ts +1 -1
- package/dist/types/tool/plugin/read.d.ts +1 -1
- package/dist/types/tool/plugin/shell.d.ts +1 -1
- package/dist/types/tool/plugin/subagent.d.ts +1 -1
- package/dist/usage-limits.js +99 -99
- 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 +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +104 -104
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +103 -103
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +101 -101
- package/dist/voice.js +94 -94
- package/dist/websearch.js +100 -100
- package/dist/wellknown/plugin.js +84 -84
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +92 -92
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +101 -101
- package/dist/worktree.js +110 -110
- package/package.json +8 -8
- package/dist/chunks/location-lifecycle-47mgcevd.js +0 -18
- package/dist/chunks/location-lifecycle-7c11rzwc.js +0 -539
- package/dist/chunks/location-lifecycle-9sjwfh6e.js +0 -26
- package/dist/chunks/location-lifecycle-wy2ncnjq.js +0 -257
- package/dist/chunks/location-lifecycle-xn7cqzsq.js +0 -16
- /package/dist/chunks/{location-lifecycle-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1kah00gy.js → repository-1kah00gy.js} +0 -0
- /package/dist/chunks/{location-lifecycle-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2bv980vf.js → repository-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-lifecycle-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4qk9sjk2.js → repository-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-lifecycle-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-5w3e23ze.js → repository-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6q2bdcd1.js → repository-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7stb81gk.js → repository-7stb81gk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-84wd9syh.js → repository-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-lifecycle-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-lifecycle-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-lifecycle-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-lifecycle-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-beh6qq61.js → repository-beh6qq61.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cqv5kn06.js → repository-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-lifecycle-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ean2d8b5.js → repository-ean2d8b5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-lifecycle-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-lifecycle-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-lifecycle-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fkpq3x5p.js → repository-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hcxmzztb.js → repository-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jwr30sdr.js → repository-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jze0r7bz.js → repository-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-m18g726c.js → repository-m18g726c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-lifecycle-nh4v3znn.js → repository-nh4v3znn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-p71gwv9c.js → repository-p71gwv9c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-stkk57rt.js → repository-stkk57rt.js} +0 -0
- /package/dist/chunks/{location-lifecycle-t03h4f5z.js → repository-t03h4f5z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ty7weeps.js → repository-ty7weeps.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ve7vex1e.js → repository-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-lifecycle-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-4d2dtj2f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service88,
|
|
6
|
+
node91
|
|
7
|
+
} from "./repository-rnpdff07.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service79,
|
|
11
|
+
node81
|
|
12
|
+
} from "./repository-z1g44n9p.js";
|
|
13
13
|
import {
|
|
14
|
-
Service80,
|
|
15
|
-
node83
|
|
16
|
-
} from "./location-lifecycle-csh6jqny.js";
|
|
17
|
-
import {
|
|
18
|
-
Service62,
|
|
19
|
-
node63
|
|
20
|
-
} from "./location-lifecycle-fwb3ezbk.js";
|
|
21
|
-
import {
|
|
22
|
-
ID20,
|
|
23
14
|
Service85,
|
|
24
15
|
node88
|
|
25
|
-
} from "./
|
|
16
|
+
} from "./repository-q1ybpa6r.js";
|
|
17
|
+
import {
|
|
18
|
+
Service83,
|
|
19
|
+
node85
|
|
20
|
+
} from "./repository-0zf8fpw9.js";
|
|
21
|
+
import {
|
|
22
|
+
ID18,
|
|
23
|
+
Service78,
|
|
24
|
+
node80
|
|
25
|
+
} from "./repository-sf6bpkgk.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create4
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-40y6dtc2.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID17,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service77,
|
|
34
|
+
node79
|
|
35
|
+
} from "./repository-pek8xmkz.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./repository-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError5,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -52,7 +52,7 @@ __export(exports_mcp4, {
|
|
|
52
52
|
Service: () => Service38,
|
|
53
53
|
Status: () => Status3,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
56
|
layer: () => layer16,
|
|
57
57
|
node: () => node42
|
|
58
58
|
});
|
|
@@ -106,19 +106,19 @@ var cloneConfig = (config) => structuredClone(config);
|
|
|
106
106
|
|
|
107
107
|
class Service38 extends Context.Service()("@opencode/MCP") {
|
|
108
108
|
}
|
|
109
|
-
var
|
|
109
|
+
var Options3 = Schema.Struct({
|
|
110
110
|
clientInfo: Schema.optional(Schema.Struct({
|
|
111
111
|
name: Schema.String,
|
|
112
112
|
version: Schema.String
|
|
113
113
|
}))
|
|
114
114
|
});
|
|
115
115
|
var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
116
|
-
const location = yield*
|
|
117
|
-
const environment = yield*
|
|
118
|
-
const bus = yield*
|
|
119
|
-
const forms = yield*
|
|
120
|
-
const integration = yield*
|
|
121
|
-
const credentials = yield*
|
|
116
|
+
const location = yield* Service85;
|
|
117
|
+
const environment = yield* Service83;
|
|
118
|
+
const bus = yield* Service88;
|
|
119
|
+
const forms = yield* Service78;
|
|
120
|
+
const integration = yield* Service77;
|
|
121
|
+
const credentials = yield* Service79;
|
|
122
122
|
const root = yield* Effect.scope;
|
|
123
123
|
const fork = yield* FiberSet.makeRuntime();
|
|
124
124
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -133,7 +133,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
133
133
|
return;
|
|
134
134
|
const remote = entry.config;
|
|
135
135
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
136
|
-
const integrationID =
|
|
136
|
+
const integrationID = ID17.make(suffix);
|
|
137
137
|
entry.integrationID = integrationID;
|
|
138
138
|
owned.add(integrationID);
|
|
139
139
|
const methodID = MethodID2.make(suffix);
|
|
@@ -149,7 +149,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
149
149
|
method: { id: methodID, type: "oauth", label: name },
|
|
150
150
|
authorize: () => Effect.gen(function* () {
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service79, credentials));
|
|
153
153
|
})
|
|
154
154
|
});
|
|
155
155
|
}).pipe(Scope.provide(scope));
|
|
@@ -164,12 +164,12 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
164
164
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
165
165
|
return;
|
|
166
166
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
167
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
167
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service79, credentials));
|
|
168
168
|
});
|
|
169
169
|
const elicitation = {
|
|
170
170
|
create: (input) => Effect.gen(function* () {
|
|
171
171
|
if (input.params.mode === "url") {
|
|
172
|
-
const formID =
|
|
172
|
+
const formID = ID18.create();
|
|
173
173
|
const elicitationID = input.params.elicitationId;
|
|
174
174
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
175
175
|
if (key)
|
|
@@ -272,7 +272,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
272
272
|
entry.scope = scope;
|
|
273
273
|
const authProvider = yield* connectProvider(entry);
|
|
274
274
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
275
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
275
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service83, environment), Scope.provide(scope));
|
|
276
276
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
277
277
|
if (Exit.isSuccess(result)) {
|
|
278
278
|
entry.client = result.value.connection;
|
|
@@ -373,7 +373,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
373
373
|
let closed = false;
|
|
374
374
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
375
375
|
closed = true;
|
|
376
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
376
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service83, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
377
377
|
const register = Effect.gen(function* () {
|
|
378
378
|
if (closed) {
|
|
379
379
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -452,7 +452,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
452
452
|
yield* startServer(name, entry);
|
|
453
453
|
}).pipe(locks.withLock(name));
|
|
454
454
|
});
|
|
455
|
-
fork(bus.subscribe(
|
|
455
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
456
456
|
const state = create4({
|
|
457
457
|
name: "mcp",
|
|
458
458
|
initial: () => ({
|
|
@@ -611,14 +611,14 @@ function mergeCatalogs(catalogs) {
|
|
|
611
611
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
612
612
|
});
|
|
613
613
|
}
|
|
614
|
-
function
|
|
614
|
+
function configured3(options) {
|
|
615
615
|
return makeLocationNode({
|
|
616
616
|
service: Service38,
|
|
617
617
|
layer: layer16(options),
|
|
618
|
-
deps: [
|
|
618
|
+
deps: [node88, node85, node91, node80, node79, node81]
|
|
619
619
|
});
|
|
620
620
|
}
|
|
621
|
-
var node42 =
|
|
621
|
+
var node42 = configured3();
|
|
622
622
|
function toElicitationField(key, property, required) {
|
|
623
623
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
624
624
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -669,4 +669,4 @@ function toElicitationField(key, property, required) {
|
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
|
|
672
|
-
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service38,
|
|
672
|
+
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service38, Options3, layer16, configured3, node42, exports_mcp4 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
connectionEnv2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-jhhtxfg3.js";
|
|
4
4
|
import {
|
|
5
5
|
Model2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-56q51v0r.js";
|
|
7
7
|
import {
|
|
8
8
|
ID3,
|
|
9
9
|
PACKAGE2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-edf5jh0e.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/claude-agent/aisdk.ts
|
|
16
16
|
var exports_aisdk = {};
|
|
17
17
|
__export(exports_aisdk, {
|
|
18
18
|
ClaudeAISDK: () => exports_aisdk,
|
|
19
|
-
register: () =>
|
|
19
|
+
register: () => register6
|
|
20
20
|
});
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var register6 = Effect.fn("ClaudeAISDK.register")(function* (ctx, sessions) {
|
|
23
23
|
const context = yield* Effect.context();
|
|
24
24
|
const run = Effect.runPromiseWith(context);
|
|
25
25
|
const dependencies = {
|
|
@@ -39,4 +39,4 @@ var register5 = Effect.fn("ClaudeAISDK.register")(function* (ctx, sessions) {
|
|
|
39
39
|
}), { providerID: ID3 });
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { register6, exports_aisdk };
|
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
PREFIX2,
|
|
3
3
|
short2,
|
|
4
4
|
original2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
description7
|
|
6
|
+
} from "./repository-tg7s7b5t.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/tools/server.ts
|
|
12
12
|
var exports_server = {};
|
|
13
13
|
__export(exports_server, {
|
|
14
14
|
ToolServer: () => exports_server,
|
|
15
|
-
make: () =>
|
|
15
|
+
make: () => make13
|
|
16
16
|
});
|
|
17
|
-
async function
|
|
17
|
+
async function make13(tools, pending) {
|
|
18
18
|
const { Server } = await import("@modelcontextprotocol/server");
|
|
19
19
|
const server = new Server({ name: "opencode", version: "1.0.0" }, { capabilities: { tools: {} } });
|
|
20
20
|
const definitions = tools.map((tool) => ({
|
|
21
21
|
name: short2(tool.name),
|
|
22
|
-
description:
|
|
22
|
+
description: description7(tool),
|
|
23
23
|
inputSchema: tool.inputSchema,
|
|
24
24
|
annotations: { readOnlyHint: false },
|
|
25
25
|
_meta: { "anthropic/alwaysLoad": true, "anthropic/maxResultSizeChars": 500000 }
|
|
@@ -34,4 +34,4 @@ async function make14(tools, pending) {
|
|
|
34
34
|
return { type: "sdk", name: "opencode", instance: server };
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { make13, exports_server };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-dt77769w.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-5hrgbkyt.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-x6sm40hj.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProjectTable2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-aj7mw0zk.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/icon.ts
|
|
9
9
|
var exports_icon = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make27
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make27 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -79,4 +79,4 @@ var make26 = (options) => Effect.gen(function* () {
|
|
|
79
79
|
return { active: Effect.sync(() => new Set(executions.keys())), isActive, run, wake, interrupt, awaitIdle };
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { make27, exports_run_coordinator };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID16
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-5hrgbkyt.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cvfsgrs7.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialSettings2,
|
|
9
9
|
metadataSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-q3y5wvej.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
13
13
|
import { Effect } from "effect";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/usage.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
SessionUsage: () =>
|
|
6
|
+
var exports_usage = {};
|
|
7
|
+
__export(exports_usage, {
|
|
8
|
+
SessionUsage: () => exports_usage,
|
|
9
9
|
add: () => add2,
|
|
10
10
|
calculateCost: () => calculateCost2,
|
|
11
11
|
record: () => record2,
|
|
@@ -51,4 +51,4 @@ var add2 = (a, b) => ({
|
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
export { tokens2, calculateCost2, record2, add2,
|
|
54
|
+
export { tokens2, calculateCost2, record2, add2, exports_usage };
|
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
ID16,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-5hrgbkyt.js";
|
|
6
6
|
import {
|
|
7
7
|
ID15,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
10
|
Info23
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-x6sm40hj.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load4
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load4(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load4(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load5(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load4, derive2, exports_models };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service88,
|
|
3
|
+
node91
|
|
4
|
+
} from "./repository-rnpdff07.js";
|
|
5
5
|
import {
|
|
6
6
|
Service38,
|
|
7
7
|
node42
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-qgv0hrxy.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-4pyp9zr9.js";
|
|
12
12
|
import {
|
|
13
13
|
CorrectedError2,
|
|
14
14
|
BlockedError2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service66,
|
|
16
|
+
node68
|
|
17
|
+
} from "./repository-b2c1mvj5.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service41,
|
|
20
|
+
node44
|
|
21
|
+
} from "./repository-wefmxetv.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service61,
|
|
24
|
+
node63
|
|
25
|
+
} from "./repository-35gq0sf5.js";
|
|
26
26
|
import {
|
|
27
27
|
MEDIA_MIMES2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./repository-1c417wd5.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./repository-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/tool/mcp.ts
|
|
34
34
|
var exports_mcp3 = {};
|
|
35
35
|
__export(exports_mcp3, {
|
|
36
36
|
McpTool: () => exports_mcp3,
|
|
37
|
-
Service: () =>
|
|
38
|
-
layer: () =>
|
|
37
|
+
Service: () => Service31,
|
|
38
|
+
layer: () => layer13,
|
|
39
39
|
name: () => name15,
|
|
40
40
|
namespace: () => namespace2,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node35
|
|
42
42
|
});
|
|
43
43
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
44
44
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -49,14 +49,14 @@ var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown
|
|
|
49
49
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
50
50
|
var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
51
51
|
|
|
52
|
-
class
|
|
52
|
+
class Service31 extends Context.Service()("@opencode/McpTool") {
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
55
55
|
const mcp = yield* Service38;
|
|
56
|
-
const tools = yield*
|
|
57
|
-
const bus = yield*
|
|
58
|
-
const permission = yield*
|
|
59
|
-
const toolOutput = yield*
|
|
56
|
+
const tools = yield* Service41;
|
|
57
|
+
const bus = yield* Service88;
|
|
58
|
+
const permission = yield* Service66;
|
|
59
|
+
const toolOutput = yield* Service61;
|
|
60
60
|
const lock = Semaphore.makeUnsafe(1);
|
|
61
61
|
let discovered = [];
|
|
62
62
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -134,7 +134,7 @@ var layer15 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
134
134
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
135
135
|
const updates = yield* PubSub.subscribe(changes);
|
|
136
136
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
137
|
-
return
|
|
137
|
+
return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
138
138
|
}));
|
|
139
139
|
var toContent = Effect.fnUntraced(function* (part, toolOutput) {
|
|
140
140
|
if (part.type === "text")
|
|
@@ -154,10 +154,10 @@ ${bytes.toString("utf8")}` };
|
|
|
154
154
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
155
155
|
};
|
|
156
156
|
});
|
|
157
|
-
var
|
|
158
|
-
service:
|
|
159
|
-
layer:
|
|
160
|
-
deps: [
|
|
157
|
+
var node35 = makeLocationNode({
|
|
158
|
+
service: Service31,
|
|
159
|
+
layer: layer13,
|
|
160
|
+
deps: [node44, node42, node91, node68, node63]
|
|
161
161
|
});
|
|
162
162
|
|
|
163
|
-
export { namespace2, name15,
|
|
163
|
+
export { namespace2, name15, Service31, layer13, node35, exports_mcp3 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-5hrgbkyt.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-x6sm40hj.js";
|
|
8
8
|
import {
|
|
9
9
|
Document3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-8t99kr38.js";
|
|
11
11
|
import {
|
|
12
12
|
Document2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-4dx1dgte.js";
|
|
14
14
|
import {
|
|
15
15
|
latest2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service71
|
|
17
|
+
} from "./repository-s8e2nyv7.js";
|
|
18
18
|
import {
|
|
19
19
|
supports2,
|
|
20
20
|
resolve2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-e5c0k95c.js";
|
|
22
22
|
import {
|
|
23
23
|
observe2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-hpg1pkwy.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/config/plugin/provider.ts
|
|
30
30
|
var exports_provider2 = {};
|
|
31
31
|
__export(exports_provider2, {
|
|
32
32
|
ConfigProviderPlugin: () => exports_provider2,
|
|
33
|
-
Plugin: () =>
|
|
33
|
+
Plugin: () => Plugin39,
|
|
34
34
|
integrate: () => integrate2
|
|
35
35
|
});
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Money } from "@opencode/schema/money";
|
|
38
38
|
import { Effect } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin39 = define({
|
|
40
40
|
id: "opencode.config.provider",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
42
|
+
const config = yield* Service71;
|
|
43
43
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
45
45
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -255,4 +255,4 @@ function overlay(models, providerPackage, item, providerID, id, config, inherit)
|
|
|
255
255
|
});
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
-
export {
|
|
258
|
+
export { Plugin39, integrate2, exports_provider2 };
|