@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
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2,
|
|
6
6
|
exists2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-svcy3p9a.js";
|
|
8
8
|
import {
|
|
9
9
|
execDefaults2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-jtnps1zs.js";
|
|
11
11
|
import {
|
|
12
12
|
makeLocalDriver2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cwrgdav8.js";
|
|
14
14
|
import {
|
|
15
15
|
makeMemoryDriver2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-twssxy5n.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service85,
|
|
19
|
+
node88
|
|
20
|
+
} from "./repository-q1ybpa6r.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service84,
|
|
23
|
+
node86
|
|
24
|
+
} from "./repository-bvafq468.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/environment/environment.ts
|
|
30
30
|
var exports_environment2 = {};
|
|
31
31
|
__export(exports_environment2, {
|
|
32
32
|
EnvironmentService: () => exports_environment2,
|
|
33
|
-
Service: () =>
|
|
34
|
-
node: () =>
|
|
33
|
+
Service: () => Service83,
|
|
34
|
+
node: () => node85
|
|
35
35
|
});
|
|
36
36
|
|
|
37
37
|
// src/environment/index.ts
|
|
@@ -40,14 +40,14 @@ __export(exports_environment3, {
|
|
|
40
40
|
Environment: () => exports_environment3,
|
|
41
41
|
Failed: () => Failed2,
|
|
42
42
|
NotFound: () => NotFound3,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service83,
|
|
44
44
|
WrongKind: () => WrongKind2,
|
|
45
45
|
execDefaults: () => execDefaults2,
|
|
46
46
|
exists: () => exists2,
|
|
47
47
|
makeFiles: () => makeFiles2,
|
|
48
48
|
makeLocalDriver: () => makeLocalDriver2,
|
|
49
49
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
50
|
-
node: () =>
|
|
50
|
+
node: () => node85,
|
|
51
51
|
typeFollowing: () => typeFollowing2
|
|
52
52
|
});
|
|
53
53
|
|
|
@@ -63,19 +63,19 @@ var makeFiles2 = (driver) => ({
|
|
|
63
63
|
});
|
|
64
64
|
|
|
65
65
|
// src/environment/environment.ts
|
|
66
|
-
class
|
|
66
|
+
class Service83 extends Context.Service()("@opencode/Environment") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
69
69
|
const spawner = yield* ChildProcessSpawner;
|
|
70
|
-
const location = yield*
|
|
71
|
-
const workspace = yield*
|
|
70
|
+
const location = yield* Service85;
|
|
71
|
+
const workspace = yield* Service84;
|
|
72
72
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
73
|
-
return
|
|
73
|
+
return Service83.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
74
74
|
}));
|
|
75
|
-
var
|
|
76
|
-
service:
|
|
75
|
+
var node85 = makeLocationNode({
|
|
76
|
+
service: Service83,
|
|
77
77
|
layer,
|
|
78
|
-
deps: [CrossSpawnSpawner.node,
|
|
78
|
+
deps: [CrossSpawnSpawner.node, node88, node86]
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
export {
|
|
81
|
+
export { Service83, node85, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./repository-q1ybpa6r.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service71
|
|
9
|
+
} from "./repository-s8e2nyv7.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-acnapkdx.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-hpg1pkwy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin29
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin29 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service71;
|
|
35
|
+
const location = yield* Service85;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin29, exports_reference };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service71
|
|
4
|
+
} from "./repository-s8e2nyv7.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-hpg1pkwy.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch2 = {};
|
|
14
|
+
__export(exports_websearch2, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
+
Plugin: () => Plugin25
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin25 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service71;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin10 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin25, exports_websearch2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./repository-29pkxvwt.js";
|
|
7
7
|
import {
|
|
8
8
|
statements2,
|
|
9
9
|
decision2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-f341sazs.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service71
|
|
13
|
+
} from "./repository-s8e2nyv7.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/module.ts
|
|
19
19
|
var exports_module = {};
|
|
20
20
|
__export(exports_module, {
|
|
21
21
|
LoadError: () => LoadError2,
|
|
22
22
|
PluginModule: () => exports_module,
|
|
23
|
-
make: () =>
|
|
23
|
+
make: () => make20
|
|
24
24
|
});
|
|
25
25
|
import { Host } from "@opencode/plugin/host";
|
|
26
26
|
import { GuiBundle } from "@opencode/schema/plugin";
|
|
@@ -31,9 +31,9 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
31
31
|
import path from "path";
|
|
32
32
|
import { readFile, stat } from "node:fs/promises";
|
|
33
33
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
34
|
-
var
|
|
35
|
-
const config = yield*
|
|
36
|
-
const watcher = yield*
|
|
34
|
+
var make20 = Effect.fn("PluginModule.make")(function* () {
|
|
35
|
+
const config = yield* Service71;
|
|
36
|
+
const watcher = yield* Service72;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -136,4 +136,4 @@ var loadServer = Effect.fn("PluginModule.loadServer")(function* (entrypoint, sou
|
|
|
136
136
|
return { plugin: "effect" in value ? value : fromPromise2(value), version: loaded.version };
|
|
137
137
|
});
|
|
138
138
|
|
|
139
|
-
export {
|
|
139
|
+
export { make20, LoadError2, exports_module };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make30,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-dv96216k.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-b2c1mvj5.js";
|
|
10
10
|
import {
|
|
11
11
|
Service38,
|
|
12
12
|
node42
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-qgv0hrxy.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name15
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-r67ym705.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions3 = {};
|
|
24
|
+
__export(exports_instructions3, {
|
|
25
|
+
McpInstructions: () => exports_instructions3,
|
|
26
|
+
Service: () => Service30,
|
|
27
|
+
layer: () => layer12,
|
|
28
|
+
node: () => node34
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -65,13 +65,13 @@ var update = (previous, current) => {
|
|
|
65
65
|
`);
|
|
66
66
|
};
|
|
67
67
|
|
|
68
|
-
class
|
|
68
|
+
class Service30 extends Context.Service()("@opencode/McpInstructions") {
|
|
69
69
|
}
|
|
70
|
-
var
|
|
70
|
+
var layer12 = Layer.effect(Service30, Effect.gen(function* () {
|
|
71
71
|
const mcp = yield* Service38;
|
|
72
|
-
return
|
|
72
|
+
return Service30.of({
|
|
73
73
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make30({
|
|
75
75
|
key: Key3.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -98,6 +98,6 @@ var layer14 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
98
98
|
})
|
|
99
99
|
});
|
|
100
100
|
}));
|
|
101
|
-
var
|
|
101
|
+
var node34 = makeLocationNode({ service: Service30, layer: layer12, deps: [node42] });
|
|
102
102
|
|
|
103
|
-
export {
|
|
103
|
+
export { Service30, layer12, node34, exports_instructions3 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service83,
|
|
8
|
+
node85
|
|
9
|
+
} from "./repository-0zf8fpw9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content4
|
|
12
|
+
} from "./repository-jzqxvfnq.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-4pyp9zr9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service32,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node36,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content4.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service32 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service83;
|
|
335
|
+
return Service32.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node36 = makeLocationNode({ service: Service32, layer, deps: [node85] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service32, read2, node36, exports_read_filesystem };
|
|
@@ -16,6 +16,7 @@ var WireTerminal2 = Schema.Struct({
|
|
|
16
16
|
id: Schema.Number,
|
|
17
17
|
pid: Schema.NullOr(Schema.Number),
|
|
18
18
|
title: Schema.String,
|
|
19
|
+
user_title: Schema.optional(Schema.NullOr(Schema.String)),
|
|
19
20
|
foreground_process: Schema.NullOr(Schema.String),
|
|
20
21
|
group_id: Session.ID,
|
|
21
22
|
command: Schema.Array(Schema.String),
|
|
@@ -31,14 +32,16 @@ var Registration = Schema.Struct({
|
|
|
31
32
|
pid: Schema.Number,
|
|
32
33
|
protocol: Schema.Number,
|
|
33
34
|
socket: Schema.String,
|
|
34
|
-
token: Schema.String
|
|
35
|
+
token: Schema.String,
|
|
36
|
+
features: Schema.optional(Schema.Array(Schema.String))
|
|
35
37
|
});
|
|
36
38
|
var WireResponse2 = Schema.Union([
|
|
37
39
|
Schema.Struct({
|
|
38
40
|
type: Schema.Literal("pong"),
|
|
39
41
|
instance_id: Schema.String,
|
|
40
42
|
pid: Schema.Number,
|
|
41
|
-
protocol: Schema.Number
|
|
43
|
+
protocol: Schema.Number,
|
|
44
|
+
features: Schema.optional(Schema.Array(Schema.String))
|
|
42
45
|
}),
|
|
43
46
|
Schema.Struct({ type: Schema.Literal("created"), terminal: WireTerminal2 }),
|
|
44
47
|
Schema.Struct({ type: Schema.Literal("terminals"), terminals: Schema.Array(WireTerminal2) }),
|
|
@@ -141,7 +144,7 @@ var makeDaemonTransport2 = Effect.fn("PersistentPty.makeDaemonTransport")(functi
|
|
|
141
144
|
const response = yield* oneShot(decoded, { op: "ping" });
|
|
142
145
|
if (response.type !== "pong" || response.instance_id !== decoded.instance_id || response.pid !== decoded.pid || response.protocol !== ProtocolVersion)
|
|
143
146
|
return yield* Effect.fail(new DaemonError2({ kind: "protocol", message: "opencode-pty registration mismatch" }));
|
|
144
|
-
return decoded;
|
|
147
|
+
return { ...decoded, features: response.features ?? [] };
|
|
145
148
|
});
|
|
146
149
|
const spawnDaemon = Effect.fn("PersistentPty.daemon.spawn")(function* () {
|
|
147
150
|
const executable = yield* Effect.tryPromise({ try: binary, catch: (cause) => failure("spawn", cause) });
|
|
@@ -226,6 +229,10 @@ var makeDaemonTransport2 = Effect.fn("PersistentPty.makeDaemonTransport")(functi
|
|
|
226
229
|
}));
|
|
227
230
|
});
|
|
228
231
|
const requestIfRunning = (value) => request(value).pipe(Effect.catch((error) => error.kind === "connect" ? Effect.succeed(undefined) : Effect.fail(error)));
|
|
232
|
+
const supports = Effect.fn("PersistentPty.daemon.supports")(function* (feature) {
|
|
233
|
+
const current = yield* connect(false);
|
|
234
|
+
return current.features?.includes(feature) ?? false;
|
|
235
|
+
});
|
|
229
236
|
const shutdown = Effect.gen(function* () {
|
|
230
237
|
const response = yield* requestIfRunning({ op: "shutdown" });
|
|
231
238
|
registration = undefined;
|
|
@@ -298,7 +305,7 @@ var makeDaemonTransport2 = Effect.fn("PersistentPty.makeDaemonTransport")(functi
|
|
|
298
305
|
abandon();
|
|
299
306
|
})));
|
|
300
307
|
}
|
|
301
|
-
return { request, requestIfRunning, shutdown, handoff, subscribe };
|
|
308
|
+
return { request, requestIfRunning, supports, shutdown, handoff, subscribe };
|
|
302
309
|
});
|
|
303
310
|
var migrate = Effect.fn("PersistentPty.daemon.migrate")(function* (directory, target) {
|
|
304
311
|
yield* Effect.tryPromise({
|
|
@@ -1,54 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service88,
|
|
3
|
+
node91
|
|
4
|
+
} from "./repository-rnpdff07.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-hfv14dtg.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-1pevy3nx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
InvalidCwdError: () => InvalidCwdError2,
|
|
20
|
-
NotFoundError: () =>
|
|
21
|
-
Options: () =>
|
|
20
|
+
NotFoundError: () => NotFoundError8,
|
|
21
|
+
Options: () => Options5,
|
|
22
22
|
PersistentPty: () => exports_persistent_pty,
|
|
23
|
-
Service: () =>
|
|
24
|
-
UnavailableError: () =>
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
Service: () => Service62,
|
|
24
|
+
UnavailableError: () => UnavailableError5,
|
|
25
|
+
UnsupportedError: () => UnsupportedError2,
|
|
26
|
+
available: () => available4,
|
|
27
|
+
configured: () => configured6,
|
|
28
|
+
layer: () => layer24,
|
|
29
|
+
node: () => node64
|
|
29
30
|
});
|
|
30
31
|
import { stat } from "node:fs/promises";
|
|
31
32
|
import path from "node:path";
|
|
32
33
|
import { Context, Effect, Layer, Schema, Stream } from "effect";
|
|
33
34
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
34
|
-
import {
|
|
35
|
+
import {
|
|
36
|
+
Added,
|
|
37
|
+
Handoff,
|
|
38
|
+
ReadLines,
|
|
39
|
+
Removed,
|
|
40
|
+
Updated
|
|
41
|
+
} from "@opencode/schema/persistent-pty";
|
|
35
42
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
36
43
|
import { Pty } from "@opencode/schema/pty";
|
|
37
44
|
import { Global } from "@opencode/util/global";
|
|
38
45
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
39
46
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
40
|
-
import { available as
|
|
41
|
-
var
|
|
47
|
+
import { available as available4 } from "#persistent-pty-binary";
|
|
48
|
+
var Options5 = Schema.Struct({
|
|
42
49
|
handoff: Schema.optional(Handoff),
|
|
43
50
|
root: Schema.optional(Schema.String)
|
|
44
51
|
});
|
|
45
52
|
|
|
46
|
-
class
|
|
53
|
+
class UnavailableError5 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
47
54
|
message: Schema.String
|
|
48
55
|
}) {
|
|
49
56
|
}
|
|
50
57
|
|
|
51
|
-
class
|
|
58
|
+
class NotFoundError8 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
52
59
|
ptyID: Pty.ID
|
|
53
60
|
}) {
|
|
54
61
|
}
|
|
@@ -59,10 +66,15 @@ class InvalidCwdError2 extends Schema.TaggedError()("PersistentPty.InvalidCwdErr
|
|
|
59
66
|
}) {
|
|
60
67
|
}
|
|
61
68
|
|
|
62
|
-
class
|
|
69
|
+
class UnsupportedError2 extends Schema.TaggedError()("PersistentPty.UnsupportedError", {
|
|
70
|
+
feature: Schema.String
|
|
71
|
+
}) {
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
class Service62 extends Context.Service()("@opencode/PersistentPty") {
|
|
63
75
|
}
|
|
64
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
65
|
-
const bus = yield*
|
|
76
|
+
var makeLayer = (options = {}) => Layer.effect(Service62, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service88;
|
|
66
78
|
const global = yield* Global.Service;
|
|
67
79
|
const context = yield* Effect.context();
|
|
68
80
|
const runFork = Effect.runForkWith(context);
|
|
@@ -84,7 +96,7 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
|
|
|
84
96
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
85
97
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
86
98
|
if (!found)
|
|
87
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError8({ ptyID: id });
|
|
88
100
|
return found;
|
|
89
101
|
});
|
|
90
102
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -164,6 +176,17 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
|
|
|
164
176
|
current.set(terminal.sessionID, id);
|
|
165
177
|
return;
|
|
166
178
|
});
|
|
179
|
+
const rename = Effect.fn("PersistentPty.rename")(function* (id, title) {
|
|
180
|
+
const terminal = yield* get(id);
|
|
181
|
+
if (!(yield* daemon.supports("rename").pipe(Effect.mapError(unavailable))))
|
|
182
|
+
return yield* new UnsupportedError2({ feature: "rename" });
|
|
183
|
+
const response = yield* request(daemon, { op: "rename", id: fromID(id), title });
|
|
184
|
+
if (response.type !== "ok")
|
|
185
|
+
return yield* unexpected(response);
|
|
186
|
+
const renamed = yield* get(id);
|
|
187
|
+
yield* bus.publish(Updated, { sessionID: terminal.sessionID, terminal: renamed });
|
|
188
|
+
return renamed;
|
|
189
|
+
});
|
|
167
190
|
const snapshot = Effect.fn("PersistentPty.snapshot")(function* (id) {
|
|
168
191
|
yield* get(id);
|
|
169
192
|
const response = yield* request(daemon, { op: "snapshot", id: fromID(id) });
|
|
@@ -178,7 +201,7 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
|
|
|
178
201
|
});
|
|
179
202
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
180
203
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
181
|
-
return yield* new
|
|
204
|
+
return yield* new UnavailableError5({ message: "lines must be an integer between 1 and 65535" });
|
|
182
205
|
const id = current.get(sessionID);
|
|
183
206
|
if (!id)
|
|
184
207
|
return null;
|
|
@@ -264,7 +287,7 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
|
|
|
264
287
|
detach: attachment.detach
|
|
265
288
|
};
|
|
266
289
|
});
|
|
267
|
-
return
|
|
290
|
+
return Service62.of({
|
|
268
291
|
list,
|
|
269
292
|
get,
|
|
270
293
|
create,
|
|
@@ -272,6 +295,7 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
|
|
|
272
295
|
resize,
|
|
273
296
|
control,
|
|
274
297
|
input,
|
|
298
|
+
rename,
|
|
275
299
|
snapshot,
|
|
276
300
|
read,
|
|
277
301
|
remove,
|
|
@@ -280,17 +304,17 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
|
|
|
280
304
|
attach
|
|
281
305
|
});
|
|
282
306
|
}));
|
|
283
|
-
var
|
|
284
|
-
var
|
|
285
|
-
service:
|
|
286
|
-
layer: options === undefined ?
|
|
287
|
-
deps: [
|
|
307
|
+
var layer24 = makeLayer();
|
|
308
|
+
var configured6 = (options) => makeGlobalNode({
|
|
309
|
+
service: Service62,
|
|
310
|
+
layer: options === undefined ? layer24 : makeLayer(options),
|
|
311
|
+
deps: [node91, Global.node]
|
|
288
312
|
});
|
|
289
|
-
var
|
|
313
|
+
var node64 = configured6();
|
|
290
314
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
291
315
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
292
|
-
var unexpected = (response) => Effect.fail(new
|
|
293
|
-
var unavailable = (error) => new
|
|
316
|
+
var unexpected = (response) => Effect.fail(new UnavailableError5({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
317
|
+
var unavailable = (error) => new UnavailableError5({ message: error instanceof Error ? error.message : String(error) });
|
|
294
318
|
function toInfo(value) {
|
|
295
319
|
const status = value.lifecycle.status;
|
|
296
320
|
return {
|
|
@@ -305,6 +329,7 @@ function toInfo(value) {
|
|
|
305
329
|
...status === "exited" ? { exitCode: value.lifecycle.exit_code ?? undefined } : {}
|
|
306
330
|
}),
|
|
307
331
|
sessionID: value.group_id,
|
|
332
|
+
userTitle: value.user_title ?? null,
|
|
308
333
|
foregroundProcess: value.foreground_process,
|
|
309
334
|
size: { cols: value.cols, rows: value.rows },
|
|
310
335
|
output: { head: value.output_head, tail: value.output_tail }
|
|
@@ -322,4 +347,4 @@ function fromID(value) {
|
|
|
322
347
|
return parsed;
|
|
323
348
|
}
|
|
324
349
|
|
|
325
|
-
export {
|
|
350
|
+
export { Options5, UnavailableError5, NotFoundError8, InvalidCwdError2, UnsupportedError2, Service62, layer24, configured6, node64, exports_persistent_pty, Handoff2, available4 };
|