@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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service89,
|
|
3
|
+
node92
|
|
4
|
+
} from "./repository-kp2tkdrb.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-4d2dtj2f.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service88,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node91,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -78,13 +78,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
78
78
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
79
79
|
var isDefinition = (input) => !Array.isArray(input);
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service88 extends Context.Service()("@opencode/Bus") {
|
|
82
82
|
}
|
|
83
83
|
function configured12(options) {
|
|
84
84
|
return makeGlobalNode({
|
|
85
|
-
service:
|
|
86
|
-
deps: [
|
|
87
|
-
layer: Layer.effect(
|
|
85
|
+
service: Service88,
|
|
86
|
+
deps: [node92],
|
|
87
|
+
layer: Layer.effect(Service88, Effect.gen(function* () {
|
|
88
88
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
89
89
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
90
90
|
const pubsub = {
|
|
@@ -95,7 +95,7 @@ function configured12(options) {
|
|
|
95
95
|
const projectors = new Map;
|
|
96
96
|
const listeners = new Array;
|
|
97
97
|
const durableLocks = makeUnsafe2();
|
|
98
|
-
const { db } = yield*
|
|
98
|
+
const { db } = yield* Service89;
|
|
99
99
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
100
100
|
const persist = options?.persist ?? false;
|
|
101
101
|
const sessions = new Map;
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service88.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node91 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service88, configured12, node91, exports_bus };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service69,
|
|
3
|
+
node71
|
|
4
|
+
} from "./repository-7n810yga.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service55,
|
|
7
|
+
node57
|
|
8
|
+
} from "./repository-trgewt4a.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-vnjc296t.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/session/runner/model.ts
|
|
17
17
|
var exports_model = {};
|
|
18
18
|
__export(exports_model, {
|
|
19
19
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
20
20
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service48,
|
|
22
22
|
SessionRunnerModel: () => exports_model,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node49,
|
|
24
24
|
resolved: () => resolved2
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service48 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
47
47
|
}
|
|
48
48
|
var resolved2 = (model, options) => ({
|
|
49
49
|
model,
|
|
@@ -58,10 +58,10 @@ var resolved2 = (model, options) => ({
|
|
|
58
58
|
compaction: options.compaction,
|
|
59
59
|
transport: options.transport
|
|
60
60
|
});
|
|
61
|
-
var layer = Layer.effect(
|
|
62
|
-
const resolver = yield*
|
|
63
|
-
const agents = yield*
|
|
64
|
-
return
|
|
61
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
62
|
+
const resolver = yield* Service55;
|
|
63
|
+
const agents = yield* Service69;
|
|
64
|
+
return Service48.of({
|
|
65
65
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
66
66
|
if (!session.model) {
|
|
67
67
|
const agent = (yield* agents.select(session.agent)).info?.model;
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node49 = makeLocationNode({ service: Service48, layer, deps: [node57, node71] });
|
|
85
85
|
|
|
86
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
86
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service48, resolved2, node49, exports_model };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
load3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-j376ae4e.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/claude-agent/claude/probe.ts
|
|
9
9
|
var exports_probe = {};
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service88
|
|
3
|
+
} from "./repository-rnpdff07.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./repository-z7m42cav.js";
|
|
7
7
|
import {
|
|
8
8
|
StepFailedError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-20hgg5jf.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
toSessionError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-4e4y46vz.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Error2
|
|
18
|
+
} from "./repository-wefmxetv.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service61
|
|
21
|
+
} from "./repository-35gq0sf5.js";
|
|
22
22
|
import {
|
|
23
23
|
record2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-r542h3bh.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-ggk8302d.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-vzppetdn.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service88;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service49;
|
|
58
|
+
const toolOutput = yield* Service61;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make19 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -223,4 +223,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
223
223
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
224
224
|
};
|
|
225
225
|
|
|
226
|
-
export { Outcome2,
|
|
226
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service88,
|
|
3
|
+
node91
|
|
4
|
+
} from "./repository-rnpdff07.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
6
|
+
ID19,
|
|
7
|
+
Event19,
|
|
8
|
+
Service79,
|
|
9
|
+
node81
|
|
10
|
+
} from "./repository-z1g44n9p.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service72,
|
|
13
|
+
node74
|
|
14
|
+
} from "./repository-29pkxvwt.js";
|
|
15
15
|
import {
|
|
16
16
|
AbsolutePath2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-z5v4ffb3.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service85,
|
|
20
|
+
node88
|
|
21
|
+
} from "./repository-q1ybpa6r.js";
|
|
22
22
|
import {
|
|
23
23
|
substitute2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-7w2ypzdf.js";
|
|
25
25
|
import {
|
|
26
26
|
normalize3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-v2kb3w8t.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
names3,
|
|
30
30
|
stripPreferenceMetadata2,
|
|
31
31
|
discover3
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-05qq9bxb.js";
|
|
33
33
|
import {
|
|
34
34
|
plan2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./repository-1x2knyw4.js";
|
|
36
36
|
import {
|
|
37
37
|
Document3,
|
|
38
38
|
WellKnownDocument2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./repository-8t99kr38.js";
|
|
40
40
|
import {
|
|
41
41
|
Document2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./repository-4dx1dgte.js";
|
|
43
43
|
import {
|
|
44
44
|
statements2,
|
|
45
45
|
decision2,
|
|
46
46
|
integrationResource2,
|
|
47
47
|
account2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./repository-f341sazs.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
50
|
+
Service73,
|
|
51
51
|
Event14,
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
52
|
+
node75
|
|
53
|
+
} from "./repository-45sn5fkz.js";
|
|
54
54
|
import {
|
|
55
55
|
__export
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./repository-9rqn6x4v.js";
|
|
57
57
|
|
|
58
58
|
// src/config.ts
|
|
59
59
|
var exports_config = {};
|
|
60
60
|
__export(exports_config, {
|
|
61
61
|
Config: () => exports_config,
|
|
62
62
|
Options: () => Options7,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service71,
|
|
64
64
|
Test: () => Test2,
|
|
65
|
-
configured: () =>
|
|
65
|
+
configured: () => configured8,
|
|
66
66
|
latest: () => latest2,
|
|
67
67
|
layer: () => layer25,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node73,
|
|
69
69
|
testLayer: () => testLayer2
|
|
70
70
|
});
|
|
71
71
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -90,7 +90,7 @@ var Options7 = Schema.Struct({
|
|
|
90
90
|
content: Schema.optional(Schema.String)
|
|
91
91
|
});
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service71 extends Context.Service()("@opencode/Config") {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -114,16 +114,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
114
114
|
return document ? next.set(integrationID, document) : next;
|
|
115
115
|
})
|
|
116
116
|
});
|
|
117
|
-
return Context.empty().pipe(Context.add(
|
|
117
|
+
return Context.empty().pipe(Context.add(Service71, service), Context.add(Test2, service));
|
|
118
118
|
}));
|
|
119
|
-
var layer25 = (options) => Layer.effect(
|
|
119
|
+
var layer25 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
120
120
|
const fs = yield* FSUtil.Service;
|
|
121
|
-
const location = yield*
|
|
122
|
-
const watcher = yield*
|
|
123
|
-
const bus = yield*
|
|
124
|
-
const credentials = yield*
|
|
121
|
+
const location = yield* Service85;
|
|
122
|
+
const watcher = yield* Service72;
|
|
123
|
+
const bus = yield* Service88;
|
|
124
|
+
const credentials = yield* Service79;
|
|
125
125
|
const globalService = yield* Global.Service;
|
|
126
|
-
const wellknown = yield*
|
|
126
|
+
const wellknown = yield* Service73;
|
|
127
127
|
const processes = yield* AppProcess.Service;
|
|
128
128
|
const integrations = new Map;
|
|
129
129
|
const context = yield* Effect.context();
|
|
@@ -194,7 +194,7 @@ var layer25 = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
194
194
|
return yield* Effect.forEach(entries, (entry) => loadWellknownEntry(entry).pipe(Effect.map((documents) => ({ integrationID: entry.integrationID, documents }))));
|
|
195
195
|
});
|
|
196
196
|
const supplies = Effect.fnUntraced(function* (lockdown, integrationID, connection) {
|
|
197
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
197
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID19.make(connection.id)) : undefined;
|
|
198
198
|
const resource = integrationResource2(integrationID, stored ? account2(stored.value) : undefined);
|
|
199
199
|
return decision2(lockdown, "integration.use", resource) !== "deny";
|
|
200
200
|
});
|
|
@@ -217,7 +217,7 @@ var layer25 = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
217
217
|
});
|
|
218
218
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
219
219
|
return [
|
|
220
|
-
...yield* Effect.forEach(
|
|
220
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
221
221
|
new Directory({ type: "directory", path: directory })
|
|
222
222
|
];
|
|
223
223
|
});
|
|
@@ -292,7 +292,7 @@ var layer25 = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
292
292
|
}, (effect) => reloadLock.withPermit(effect));
|
|
293
293
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
294
294
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
295
|
-
yield* bus.subscribe(
|
|
295
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
296
296
|
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
297
297
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
298
298
|
if (!wellknown.snapshot().length)
|
|
@@ -306,7 +306,7 @@ var layer25 = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
306
306
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
307
307
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
308
308
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
309
|
-
const candidates =
|
|
309
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
310
310
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
311
311
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
312
312
|
`;
|
|
@@ -321,7 +321,7 @@ var layer25 = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
321
321
|
`);
|
|
322
322
|
yield* requestReload;
|
|
323
323
|
}, (effect) => updateLock.withPermit(effect));
|
|
324
|
-
return
|
|
324
|
+
return Service71.of({
|
|
325
325
|
entries: Effect.fnUntraced(function* () {
|
|
326
326
|
return configs;
|
|
327
327
|
}),
|
|
@@ -341,22 +341,22 @@ var layer25 = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
341
341
|
})
|
|
342
342
|
});
|
|
343
343
|
}));
|
|
344
|
-
function
|
|
344
|
+
function configured8(options) {
|
|
345
345
|
return makeLocationNode({
|
|
346
|
-
service:
|
|
346
|
+
service: Service71,
|
|
347
347
|
layer: layer25(options),
|
|
348
348
|
deps: [
|
|
349
|
-
|
|
350
|
-
|
|
349
|
+
node74,
|
|
350
|
+
node91,
|
|
351
351
|
FSUtil.node,
|
|
352
352
|
Global.node,
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
353
|
+
node88,
|
|
354
|
+
node81,
|
|
355
|
+
node75,
|
|
356
356
|
AppProcess.node
|
|
357
357
|
]
|
|
358
358
|
});
|
|
359
359
|
}
|
|
360
|
-
var
|
|
360
|
+
var node73 = configured8();
|
|
361
361
|
|
|
362
|
-
export { latest2, Options7,
|
|
362
|
+
export { latest2, Options7, Service71, Test2, testLayer2, layer25, configured8, node73, exports_config };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-qaymkmh1.js";
|
|
7
7
|
|
|
8
8
|
// src/util/git-executable.ts
|
|
9
9
|
import { existsSync, realpathSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service88,
|
|
3
|
+
node91
|
|
4
|
+
} from "./repository-rnpdff07.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event18,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID18,
|
|
20
|
+
Info: () => Info27,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError12,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service78,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When3,
|
|
28
28
|
layer: () => layer27,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node80,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event18 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID18 = Form.ID;
|
|
39
|
+
var Info27 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When3 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID18
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID18
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID18
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID18,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service78 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer27 = Layer.effect(
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer27 = Layer.effect(Service78, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service88;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError12({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID18.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service78.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node80 = makeLocationNode({ service: Service78, layer: layer27, deps: [node91] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID18, Info27, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer27, node80, validateAnswer2, validateFields2, exports_form, Event18 };
|