@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,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-4sshptwq.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service79
|
|
7
|
+
} from "./repository-z1g44n9p.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID17,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-pek8xmkz.js";
|
|
12
12
|
import {
|
|
13
13
|
ID16,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-5hrgbkyt.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID17.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service79;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID17.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node89
|
|
4
|
+
} from "./repository-j0a3xxs6.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info30,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref5,
|
|
15
|
+
Service: () => Service85,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node88,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info30, Ref as Ref5, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service85 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node88 = LayerNode.unbound(Service85, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service85, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service86;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service85.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service85,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node89]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info30, Ref5, response2, Service85, node88, boundNode2, exports_location };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service85,
|
|
6
|
+
node88
|
|
7
|
+
} from "./repository-q1ybpa6r.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service82,
|
|
10
|
+
node84
|
|
11
|
+
} from "./repository-8ns5k15t.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./repository-w8qtt4th.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Service: () =>
|
|
25
|
-
configured: () =>
|
|
24
|
+
Service: () => Service81,
|
|
25
|
+
configured: () => configured10,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
27
|
makeFffLayer: () => makeFffLayer2,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node83
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import path from "path";
|
|
@@ -33,7 +33,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
33
33
|
import { Fff } from "#fff";
|
|
34
34
|
import fuzzysort from "fuzzysort";
|
|
35
35
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
36
|
-
class
|
|
36
|
+
class Service81 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
37
37
|
}
|
|
38
38
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
39
39
|
function emptyIndex() {
|
|
@@ -52,9 +52,9 @@ function search(index, input) {
|
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
var ripgrepLayer = Layer.effect(
|
|
56
|
-
const location = yield*
|
|
57
|
-
const ripgrep = yield*
|
|
55
|
+
var ripgrepLayer = Layer.effect(Service81, Effect.gen(function* () {
|
|
56
|
+
const location = yield* Service85;
|
|
57
|
+
const ripgrep = yield* Service82;
|
|
58
58
|
const scope = yield* Scope.Scope;
|
|
59
59
|
const clock = yield* Clock.Clock;
|
|
60
60
|
const home = isHome2(location.directory);
|
|
@@ -71,7 +71,7 @@ var ripgrepLayer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
71
71
|
cwd: location.directory,
|
|
72
72
|
pattern: "*",
|
|
73
73
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
74
|
-
exclude: home ? [...
|
|
74
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
75
75
|
onEntry: (entry) => Effect.sync(() => {
|
|
76
76
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
77
77
|
const parts = entry.path.split("/");
|
|
@@ -99,7 +99,7 @@ var ripgrepLayer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
99
99
|
Deferred.doneUnsafe(attempt, exit);
|
|
100
100
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
101
101
|
});
|
|
102
|
-
return
|
|
102
|
+
return Service81.of({
|
|
103
103
|
find: (input) => Effect.gen(function* () {
|
|
104
104
|
yield* refresh;
|
|
105
105
|
return search(index, input);
|
|
@@ -119,8 +119,8 @@ function createPicker(create, directory) {
|
|
|
119
119
|
return { ok: false, error };
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
var makeFffLayer2 = (create) => Layer.effect(
|
|
123
|
-
const location = yield*
|
|
122
|
+
var makeFffLayer2 = (create) => Layer.effect(Service81, Effect.gen(function* () {
|
|
123
|
+
const location = yield* Service85;
|
|
124
124
|
let state;
|
|
125
125
|
yield* Effect.addFinalizer(() => Effect.sync(() => {
|
|
126
126
|
if (typeof state === "object" && state.result.ok)
|
|
@@ -152,7 +152,7 @@ var makeFffLayer2 = (create) => Layer.effect(Service45, Effect.gen(function* ()
|
|
|
152
152
|
}
|
|
153
153
|
return current.result.value;
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service81.of({
|
|
156
156
|
find: (input) => Effect.gen(function* () {
|
|
157
157
|
const finder = yield* picker;
|
|
158
158
|
if (!finder)
|
|
@@ -200,16 +200,16 @@ var makeFffLayer2 = (create) => Layer.effect(Service45, Effect.gen(function* ()
|
|
|
200
200
|
}));
|
|
201
201
|
var fffLayer2 = makeFffLayer2(Fff.create);
|
|
202
202
|
var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
203
|
-
const location = yield*
|
|
203
|
+
const location = yield* Service85;
|
|
204
204
|
if (location.workspaceID)
|
|
205
205
|
return ripgrepLayer;
|
|
206
206
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
207
207
|
return ripgrepLayer;
|
|
208
208
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
209
209
|
}));
|
|
210
|
-
function
|
|
211
|
-
return makeLocationNode({ service:
|
|
210
|
+
function configured10(options) {
|
|
211
|
+
return makeLocationNode({ service: Service81, layer: layer(options), deps: [node88, node84] });
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var node83 = configured10();
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Service81, makeFffLayer2, fffLayer2, configured10, node83, exports_search };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Ref5
|
|
3
|
+
} from "./repository-q1ybpa6r.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service64,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node66,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service64 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service64, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node66 = LayerNode.unbound(Service64, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service64;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -42,10 +42,10 @@ function canonical3(ref) {
|
|
|
42
42
|
const flavor = process.platform === "win32" && !ref.directory.startsWith("/") ? path.win32 : path.posix;
|
|
43
43
|
const normalized = flavor.normalize(ref.directory);
|
|
44
44
|
const trailing = normalized.endsWith(flavor.sep) && normalized.length > flavor.parse(normalized).root.length;
|
|
45
|
-
return
|
|
45
|
+
return Ref5.make({
|
|
46
46
|
directory: AbsolutePath.make(trailing ? normalized.slice(0, -1) : normalized),
|
|
47
47
|
workspaceID: ref.workspaceID
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Service64, node66, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service88
|
|
3
|
+
} from "./repository-rnpdff07.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID19,
|
|
6
|
+
Event19,
|
|
7
|
+
Service79
|
|
8
|
+
} from "./repository-z1g44n9p.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/credential-settings.ts
|
|
11
11
|
import { Effect, Stream } from "effect";
|
|
12
12
|
var credentialSettings2 = Effect.fn("ProviderPlugin.credentialSettings")(function* (ctx, integrationID, select) {
|
|
13
|
-
const credentials = yield*
|
|
14
|
-
const bus = yield*
|
|
13
|
+
const credentials = yield* Service79;
|
|
14
|
+
const bus = yield* Service88;
|
|
15
15
|
const load = Effect.fn("ProviderPlugin.credentialSettings.load")(function* () {
|
|
16
16
|
const connection = yield* ctx.integration.connection.active(integrationID);
|
|
17
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
17
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID19.make(connection.id)) : undefined;
|
|
18
18
|
return stored ? select(stored.value) : {};
|
|
19
19
|
});
|
|
20
20
|
const current = { settings: yield* load() };
|
|
21
|
-
yield* bus.subscribe([
|
|
21
|
+
yield* bus.subscribe([Event19.Updated, Event19.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
22
22
|
const next = yield* load();
|
|
23
23
|
if (JSON.stringify(next) === JSON.stringify(current.settings))
|
|
24
24
|
return;
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./repository-7n810yga.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service75
|
|
7
|
+
} from "./repository-x6sm40hj.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service71
|
|
11
|
+
} from "./repository-s8e2nyv7.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-vnjc296t.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service51
|
|
17
|
+
} from "./repository-t48dq7pj.js";
|
|
18
18
|
import {
|
|
19
19
|
evaluate3,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service66
|
|
21
|
+
} from "./repository-b2c1mvj5.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service26
|
|
24
|
+
} from "./repository-x01ndw86.js";
|
|
25
25
|
import {
|
|
26
26
|
NO_TEXT2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-0j7gp832.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service6
|
|
30
|
+
} from "./repository-9skas3fk.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/subagent.ts
|
|
36
36
|
var exports_subagent = {};
|
|
37
37
|
__export(exports_subagent, {
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
38
|
+
Input: () => Input13,
|
|
39
|
+
Output: () => Output10,
|
|
40
|
+
Plugin: () => Plugin17,
|
|
41
41
|
SubagentTool: () => exports_subagent,
|
|
42
|
-
description: () =>
|
|
43
|
-
name: () =>
|
|
42
|
+
description: () => description5,
|
|
43
|
+
name: () => name13
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
46
46
|
import { Effect, Predicate, Schema } from "effect";
|
|
47
|
-
var
|
|
47
|
+
var name13 = "subagent";
|
|
48
48
|
var backgroundResult = (sessionID) => ({
|
|
49
49
|
sessionID,
|
|
50
50
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input13 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input3 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output10 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description5 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin17 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service26;
|
|
93
|
+
const jobs = yield* Service51;
|
|
94
|
+
const agents = yield* Service69;
|
|
95
|
+
const config = yield* Service71;
|
|
96
|
+
const permission = yield* Service66;
|
|
97
|
+
const models = yield* Service75;
|
|
98
|
+
const subagents = yield* Service6;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref3.parse(input),
|
|
@@ -117,11 +117,11 @@ var Plugin39 = {
|
|
|
117
117
|
return ref;
|
|
118
118
|
});
|
|
119
119
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
120
|
-
name:
|
|
120
|
+
name: name13,
|
|
121
121
|
options: { codemode: false },
|
|
122
|
-
description:
|
|
123
|
-
input:
|
|
124
|
-
output:
|
|
122
|
+
description: description5,
|
|
123
|
+
input: Input13,
|
|
124
|
+
output: Output10,
|
|
125
125
|
execute: (input, context) => Effect.gen(function* () {
|
|
126
126
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
127
127
|
let current = parent;
|
|
@@ -141,7 +141,7 @@ var Plugin39 = {
|
|
|
141
141
|
if (agent.mode === "primary")
|
|
142
142
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
143
143
|
yield* permission.assert({
|
|
144
|
-
action:
|
|
144
|
+
action: name13,
|
|
145
145
|
resources: [agent.id],
|
|
146
146
|
save: [agent.id],
|
|
147
147
|
sessionID: context.sessionID,
|
|
@@ -220,7 +220,7 @@ ${output.output}
|
|
|
220
220
|
})))
|
|
221
221
|
})).pipe(Effect.orDie);
|
|
222
222
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
223
|
-
if (event.tool !==
|
|
223
|
+
if (event.tool !== name13 || !Predicate.isObject(event.input))
|
|
224
224
|
return;
|
|
225
225
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
226
226
|
return;
|
|
@@ -232,13 +232,13 @@ ${output.output}
|
|
|
232
232
|
event.input = input;
|
|
233
233
|
}));
|
|
234
234
|
const hook = (event) => Effect.gen(function* () {
|
|
235
|
-
const tool = event.tools[
|
|
235
|
+
const tool = event.tools[name13];
|
|
236
236
|
if (!tool)
|
|
237
237
|
return;
|
|
238
238
|
const selected = yield* agents.resolve(event.agent);
|
|
239
239
|
if (!selected)
|
|
240
240
|
return;
|
|
241
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
241
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name13, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
242
242
|
if (available.length === 0)
|
|
243
243
|
return;
|
|
244
244
|
tool.description = [
|
|
@@ -255,4 +255,4 @@ ${output.output}
|
|
|
255
255
|
})
|
|
256
256
|
};
|
|
257
257
|
|
|
258
|
-
export {
|
|
258
|
+
export { name13, Input13, Output10, description5, Plugin17, exports_subagent };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./repository-b2c1mvj5.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_MARKDOWN_BYTES2,
|
|
9
9
|
convertHTMLToMarkdown2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-4vcrnpx2.js";
|
|
11
11
|
import {
|
|
12
12
|
collectBoundedResponseBody2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-3v8g72cx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/webfetch.ts
|
|
19
19
|
var exports_webfetch = {};
|
|
20
20
|
__export(exports_webfetch, {
|
|
21
21
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
24
|
-
MAX_RESPONSE_BYTES: () =>
|
|
24
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
25
25
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin19,
|
|
27
27
|
WebFetchTool: () => exports_webfetch,
|
|
28
28
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
29
29
|
description: () => description6,
|
|
30
30
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
31
|
-
name: () =>
|
|
31
|
+
name: () => name14
|
|
32
32
|
});
|
|
33
33
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
34
34
|
import { Duration, Effect, Schema } from "effect";
|
|
35
35
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
36
36
|
import { Parser } from "htmlparser2";
|
|
37
|
-
var
|
|
38
|
-
var
|
|
37
|
+
var name14 = "webfetch";
|
|
38
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
39
39
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
40
40
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
41
41
|
var description6 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
42
42
|
|
|
43
43
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
44
44
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
45
|
-
var
|
|
45
|
+
var Input14 = Schema.Struct({
|
|
46
46
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
47
47
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
48
48
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -52,7 +52,7 @@ var Input13 = Schema.Struct({
|
|
|
52
52
|
var Output = Schema.Struct({
|
|
53
53
|
url: Schema.String,
|
|
54
54
|
contentType: Schema.String,
|
|
55
|
-
format:
|
|
55
|
+
format: Input14.fields.format,
|
|
56
56
|
output: Schema.String
|
|
57
57
|
});
|
|
58
58
|
var acceptHeader = (format) => {
|
|
@@ -103,7 +103,7 @@ var execute = (http, check, url, format, userAgent = openCodeUserAgent, redirect
|
|
|
103
103
|
return yield* execute(http, check, next, format, userAgent, redirects + 1);
|
|
104
104
|
});
|
|
105
105
|
}));
|
|
106
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
106
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
107
107
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
108
108
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
109
109
|
var convert = (content, contentType, format) => {
|
|
@@ -115,16 +115,16 @@ var convert = (content, contentType, format) => {
|
|
|
115
115
|
return extractTextFromHTML2(content);
|
|
116
116
|
return content;
|
|
117
117
|
};
|
|
118
|
-
var
|
|
118
|
+
var Plugin19 = {
|
|
119
119
|
id: "opencode.tool.webfetch",
|
|
120
120
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
121
121
|
const http = yield* HttpClient.HttpClient;
|
|
122
|
-
const permission = yield*
|
|
122
|
+
const permission = yield* Service66;
|
|
123
123
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
124
|
-
name:
|
|
124
|
+
name: name14,
|
|
125
125
|
options: { codemode: false },
|
|
126
126
|
description: description6,
|
|
127
|
-
input:
|
|
127
|
+
input: Input14,
|
|
128
128
|
output: Output,
|
|
129
129
|
execute: (input, context) => Effect.gen(function* () {
|
|
130
130
|
yield* Effect.try({
|
|
@@ -132,7 +132,7 @@ var Plugin52 = {
|
|
|
132
132
|
catch: (error) => error
|
|
133
133
|
});
|
|
134
134
|
yield* permission.assert({
|
|
135
|
-
action:
|
|
135
|
+
action: name14,
|
|
136
136
|
resources: [input.url],
|
|
137
137
|
save: ["*"],
|
|
138
138
|
metadata: input,
|
|
@@ -142,7 +142,7 @@ var Plugin52 = {
|
|
|
142
142
|
});
|
|
143
143
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
144
144
|
const check = (url) => permission.assertNotDenied({
|
|
145
|
-
action:
|
|
145
|
+
action: name14,
|
|
146
146
|
resources: [url],
|
|
147
147
|
metadata: { ...input, url },
|
|
148
148
|
sessionID: context.sessionID,
|
|
@@ -198,4 +198,4 @@ function extractTextFromHTML2(html) {
|
|
|
198
198
|
parser.end();
|
|
199
199
|
return text.trim();
|
|
200
200
|
}
|
|
201
|
-
export {
|
|
201
|
+
export { name14, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description6, Input14, MAX_REDIRECTS2, Plugin19, extractTextFromHTML2, exports_webfetch };
|