@opencode/core 0.0.0-dev-96 → 0.0.0-dev-98
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 +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +7 -7
- package/dist/bus.js +79 -79
- package/dist/chunks/{location-lifecycle-034tev2y.js → worktree-034tev2y.js} +2 -2
- package/dist/chunks/{location-lifecycle-66d52wcm.js → worktree-0a6kvvk1.js} +9 -9
- package/dist/chunks/{location-lifecycle-zh7bbm8x.js → worktree-0anyt1n6.js} +9 -9
- package/dist/chunks/{location-lifecycle-ay8at4ts.js → worktree-0f3cfs5z.js} +9 -9
- package/dist/chunks/{location-lifecycle-thnnvt7z.js → worktree-0n85nhyf.js} +21 -21
- package/dist/chunks/{location-lifecycle-mqt19jab.js → worktree-0n9fydpr.js} +10 -10
- package/dist/chunks/{location-lifecycle-by0j0h2p.js → worktree-0ngm2ts5.js} +4 -4
- package/dist/chunks/{location-lifecycle-n9j6q2yt.js → worktree-118agfgj.js} +4 -4
- package/dist/chunks/{location-lifecycle-w1dfqh86.js → worktree-16fb6946.js} +11 -11
- package/dist/chunks/{location-lifecycle-b2es2gxt.js → worktree-17ze4ean.js} +35 -35
- package/dist/chunks/{location-lifecycle-3tsagvbz.js → worktree-18z1h0b9.js} +11 -11
- package/dist/chunks/{location-lifecycle-13dfg3g1.js → worktree-1cwaa6j3.js} +90 -90
- package/dist/chunks/{location-lifecycle-hhd4jpkv.js → worktree-1d5mc1c2.js} +9 -9
- package/dist/chunks/{location-lifecycle-1ep2p91f.js → worktree-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-lifecycle-jcyy662a.js → worktree-1hraz18d.js} +24 -24
- package/dist/chunks/{location-lifecycle-ejpsjfaa.js → worktree-1tf37zww.js} +11 -11
- package/dist/chunks/{location-lifecycle-1x2knyw4.js → worktree-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-lifecycle-1yq9hg58.js → worktree-1yq9hg58.js} +1 -1
- package/dist/chunks/{location-lifecycle-204s3925.js → worktree-204s3925.js} +1 -1
- package/dist/chunks/{location-lifecycle-mrhsrvyj.js → worktree-21vhc8jx.js} +6 -6
- package/dist/chunks/{location-lifecycle-sjg9an28.js → worktree-274xa1yy.js} +41 -41
- package/dist/chunks/{location-lifecycle-cpvd08na.js → worktree-2azy8kv6.js} +4 -4
- package/dist/chunks/worktree-2bz716tq.js +511 -0
- package/dist/chunks/{location-lifecycle-da0rp3w3.js → worktree-2dhrh792.js} +7 -7
- package/dist/chunks/{location-lifecycle-wqsqce1q.js → worktree-2jr8wvhe.js} +25 -25
- package/dist/chunks/{location-lifecycle-s5rnxzx6.js → worktree-2xc47qz5.js} +65 -65
- package/dist/chunks/{location-lifecycle-2gg8p134.js → worktree-2xppje48.js} +35 -35
- package/dist/chunks/{location-lifecycle-h30qdrk4.js → worktree-2z24bsrh.js} +33 -33
- package/dist/chunks/{location-lifecycle-eg9axkz1.js → worktree-313gsj56.js} +25 -25
- package/dist/chunks/{location-lifecycle-j4fqp8bt.js → worktree-362wt1pd.js} +19 -19
- package/dist/chunks/{location-lifecycle-vxw7r75p.js → worktree-3b432v26.js} +9 -9
- package/dist/chunks/{location-lifecycle-dkqevyg4.js → worktree-3d73cf36.js} +6 -6
- package/dist/chunks/{location-lifecycle-c6p73vp9.js → worktree-3escd5af.js} +7 -7
- package/dist/chunks/{location-lifecycle-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-lifecycle-ztnvrctf.js → worktree-3jb4p7sz.js} +12 -12
- package/dist/chunks/{location-lifecycle-571c0xa8.js → worktree-3kwhg78p.js} +43 -43
- package/dist/chunks/{location-lifecycle-3nnrz6f6.js → worktree-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-lifecycle-megkghgm.js → worktree-3ptmacdb.js} +17 -17
- package/dist/chunks/{location-lifecycle-3x8v6y5r.js → worktree-3z9x6b48.js} +21 -21
- package/dist/chunks/{location-lifecycle-p8rwbenj.js → worktree-4601np8m.js} +35 -35
- package/dist/chunks/{location-lifecycle-hkttqz6k.js → worktree-46jh5j06.js} +12 -12
- package/dist/chunks/{location-lifecycle-k3b4spb7.js → worktree-48j5p4ar.js} +17 -17
- package/dist/chunks/{location-lifecycle-mxa7x819.js → worktree-4pgj6j2t.js} +38 -38
- package/dist/chunks/{location-lifecycle-d8p3t516.js → worktree-4pw98qd4.js} +4 -4
- package/dist/chunks/{location-lifecycle-4pyp9zr9.js → worktree-4pyp9zr9.js} +1 -1
- package/dist/chunks/{location-lifecycle-90hass2h.js → worktree-4s0kbtm0.js} +18 -18
- package/dist/chunks/{location-lifecycle-4v008n1t.js → worktree-4v008n1t.js} +1 -1
- package/dist/chunks/{location-lifecycle-5tsxwx1t.js → worktree-4zcty71r.js} +25 -25
- package/dist/chunks/{location-lifecycle-3m4mqfgr.js → worktree-53phj0kz.js} +12 -12
- package/dist/chunks/{location-lifecycle-qsee9sfb.js → worktree-5epte933.js} +2 -2
- package/dist/chunks/{location-lifecycle-0yceejvq.js → worktree-5fmzxywh.js} +7 -7
- package/dist/chunks/{location-lifecycle-efrs1fd0.js → worktree-5jnqyxbn.js} +23 -23
- package/dist/chunks/{location-lifecycle-h6f816q8.js → worktree-5knecm0z.js} +1 -1
- package/dist/chunks/{location-lifecycle-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-lifecycle-3n5jkvcw.js → worktree-5mm8f81r.js} +5 -5
- package/dist/chunks/{location-lifecycle-b6vsg801.js → worktree-5nnwax6m.js} +5 -5
- package/dist/chunks/{location-lifecycle-hp8bxbqk.js → worktree-66s7d1kd.js} +18 -18
- package/dist/chunks/{location-lifecycle-1mf4ycf9.js → worktree-67b952gf.js} +2 -2
- package/dist/chunks/{location-lifecycle-t8esk2gp.js → worktree-6dme9bqw.js} +25 -25
- package/dist/chunks/{location-lifecycle-6esdw8yj.js → worktree-6esdw8yj.js} +1 -1
- package/dist/chunks/{location-lifecycle-6wwc1h0y.js → worktree-6gm26dnv.js} +13 -13
- package/dist/chunks/{location-lifecycle-zh5xqnxh.js → worktree-6k87w37n.js} +5 -5
- package/dist/chunks/{location-lifecycle-mc0mf75j.js → worktree-6mfpzx4a.js} +11 -11
- package/dist/chunks/{location-lifecycle-t9qkp5rw.js → worktree-6sqa993f.js} +9 -9
- package/dist/chunks/{location-lifecycle-gcjdgkn2.js → worktree-6twykydk.js} +9 -9
- package/dist/chunks/{location-lifecycle-9bc1thgt.js → worktree-6ydy7p7m.js} +8 -8
- package/dist/chunks/{location-lifecycle-2mkh3jee.js → worktree-6z9ynqn9.js} +6 -6
- package/dist/chunks/{location-lifecycle-8k95y3xh.js → worktree-711qwxwb.js} +15 -15
- package/dist/chunks/{location-lifecycle-x7zajsph.js → worktree-797vxkjx.js} +8 -8
- package/dist/chunks/{location-lifecycle-k00xdm8z.js → worktree-7a3mcgk4.js} +4 -4
- package/dist/chunks/{location-lifecycle-v9rqbzsq.js → worktree-7a6mw2zv.js} +35 -35
- package/dist/chunks/{location-lifecycle-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-lifecycle-q6yya7b3.js → worktree-7d2a7xbs.js} +5 -5
- package/dist/chunks/worktree-7gwz4hhv.js +257 -0
- package/dist/chunks/{location-lifecycle-0zzhzcdy.js → worktree-7thfwj7f.js} +18 -18
- package/dist/chunks/{location-lifecycle-7w2ypzdf.js → worktree-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-lifecycle-m45g6xk3.js → worktree-7we5y53n.js} +59 -59
- package/dist/chunks/{location-lifecycle-ehmz4fbd.js → worktree-8aj0e00m.js} +7 -7
- package/dist/chunks/{location-lifecycle-fyfkn899.js → worktree-8eks9rwf.js} +31 -31
- package/dist/chunks/{location-lifecycle-7tahwg30.js → worktree-8f9mezn2.js} +4 -4
- package/dist/chunks/{location-lifecycle-8jztxfpf.js → worktree-8jztxfpf.js} +1 -1
- package/dist/chunks/{location-lifecycle-nh37xeqd.js → worktree-8rgcjn3a.js} +15 -15
- package/dist/chunks/{location-lifecycle-dep9axyc.js → worktree-8rjqw3ef.js} +18 -18
- package/dist/chunks/{location-lifecycle-8wtp7s3z.js → worktree-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-lifecycle-yj33kabs.js → worktree-8ys4y03d.js} +9 -9
- package/dist/chunks/{location-lifecycle-90zstvax.js → worktree-90zstvax.js} +1 -1
- package/dist/chunks/{location-lifecycle-pvk8eqah.js → worktree-9409nsbj.js} +25 -25
- package/dist/chunks/{location-lifecycle-xvsw1s9a.js → worktree-95ztg1a4.js} +16 -16
- package/dist/chunks/{location-lifecycle-c73btdhw.js → worktree-9dcysxpf.js} +8 -8
- package/dist/chunks/{location-lifecycle-77ttacwt.js → worktree-9kdv0jfc.js} +3 -3
- package/dist/chunks/{location-lifecycle-b396mz2y.js → worktree-9kf1aax8.js} +12 -12
- package/dist/chunks/{location-lifecycle-w90qadrs.js → worktree-9kynvh8b.js} +30 -30
- package/dist/chunks/{location-lifecycle-kb5vdnxs.js → worktree-9m7ybg0k.js} +24 -24
- package/dist/chunks/{location-lifecycle-d390zwf3.js → worktree-9t2khtsw.js} +8 -8
- package/dist/chunks/{location-lifecycle-3g3amc73.js → worktree-a2jfm1hx.js} +11 -11
- package/dist/chunks/{location-lifecycle-a4ww6fpm.js → worktree-a4ww6fpm.js} +1 -1
- package/dist/chunks/worktree-a610t88q.js +18 -0
- package/dist/chunks/{location-lifecycle-9mpb42pn.js → worktree-ac3qkg23.js} +17 -17
- package/dist/chunks/{location-lifecycle-drvbhkez.js → worktree-agqd6nxz.js} +2 -2
- package/dist/chunks/{location-lifecycle-krbc0w9j.js → worktree-as96ffcv.js} +18 -18
- package/dist/chunks/{location-lifecycle-ayjs7tqn.js → worktree-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-lifecycle-8m44dcfv.js → worktree-b5qegak8.js} +11 -11
- package/dist/chunks/{location-lifecycle-38zftftk.js → worktree-b77a7q8t.js} +40 -40
- package/dist/chunks/{location-lifecycle-kyjvyndz.js → worktree-b8fkm456.js} +21 -21
- package/dist/chunks/{location-lifecycle-er4j9ya8.js → worktree-bca42jyk.js} +16 -16
- package/dist/chunks/{location-lifecycle-fqh1vcta.js → worktree-bds5er22.js} +33 -33
- package/dist/chunks/{location-lifecycle-e8x13e29.js → worktree-be2e5rnf.js} +27 -27
- package/dist/chunks/{location-lifecycle-hyvndsn3.js → worktree-bgn2x603.js} +18 -18
- package/dist/chunks/{location-lifecycle-nqwjnhn2.js → worktree-bqmhzrvj.js} +29 -29
- package/dist/chunks/{location-lifecycle-ekvcbmhs.js → worktree-bym8k3a1.js} +22 -22
- package/dist/chunks/{location-lifecycle-k4jqj58p.js → worktree-bzk881f8.js} +26 -26
- package/dist/chunks/{location-lifecycle-evc6pnny.js → worktree-c7rwyadp.js} +10 -10
- package/dist/chunks/{location-lifecycle-escmp7at.js → worktree-c84tv7mg.js} +6 -6
- package/dist/chunks/{location-lifecycle-d2887f8n.js → worktree-c9t2ty9q.js} +4 -4
- package/dist/chunks/{location-lifecycle-h6gk331h.js → worktree-cewv1c6c.js} +8 -8
- package/dist/chunks/{location-lifecycle-49nvze50.js → worktree-cfg92mm1.js} +16 -16
- package/dist/chunks/{location-lifecycle-jwck18p0.js → worktree-cmextvb5.js} +2 -2
- package/dist/chunks/{location-lifecycle-cwrgdav8.js → worktree-cwrgdav8.js} +2 -2
- package/dist/chunks/{location-lifecycle-z15t4xkz.js → worktree-cy84twbn.js} +54 -54
- package/dist/chunks/{location-lifecycle-p90d1n73.js → worktree-d1dqn4r8.js} +21 -21
- package/dist/chunks/{location-lifecycle-d4v9tmah.js → worktree-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-lifecycle-c46s9eb3.js → worktree-ds7r37yp.js} +5 -5
- package/dist/chunks/{location-lifecycle-dt77769w.js → worktree-dt77769w.js} +1 -1
- package/dist/chunks/{location-lifecycle-tjqje47s.js → worktree-dxn6tk5h.js} +2 -2
- package/dist/chunks/{location-lifecycle-9egyhmwg.js → worktree-dzb2begy.js} +27 -27
- package/dist/chunks/{location-lifecycle-c89mfdye.js → worktree-e7d3gm04.js} +11 -11
- package/dist/chunks/{location-lifecycle-e834z07m.js → worktree-e834z07m.js} +1 -1
- package/dist/chunks/{location-lifecycle-m956wbx5.js → worktree-ex49bqgb.js} +11 -11
- package/dist/chunks/{location-lifecycle-fd3xj8kb.js → worktree-ey5667np.js} +17 -17
- package/dist/chunks/{location-lifecycle-kx4zfn7s.js → worktree-ez1g32xq.js} +5 -5
- package/dist/chunks/{location-lifecycle-4es0r967.js → worktree-ez2q5kwx.js} +15 -15
- package/dist/chunks/{location-lifecycle-afx5ptxw.js → worktree-f10xpbr6.js} +11 -11
- package/dist/chunks/{location-lifecycle-31dzx4sq.js → worktree-f2ajh7mh.js} +3 -3
- package/dist/chunks/{location-lifecycle-vzyfvavq.js → worktree-f5grfhzb.js} +8 -8
- package/dist/chunks/{location-lifecycle-3pg0cjjn.js → worktree-fettsp85.js} +3 -3
- package/dist/chunks/{location-lifecycle-fffv3p7h.js → worktree-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-lifecycle-rhenp69m.js → worktree-fg35kqc5.js} +5 -5
- package/dist/chunks/{location-lifecycle-fg9p65nk.js → worktree-fg9p65nk.js} +2 -2
- package/dist/chunks/{location-lifecycle-kvh94732.js → worktree-fk6tkz52.js} +25 -25
- package/dist/chunks/{location-lifecycle-g93ewfj3.js → worktree-fknb39f2.js} +21 -21
- package/dist/chunks/{location-lifecycle-a9k70j1m.js → worktree-fne0txhj.js} +54 -54
- package/dist/chunks/{location-lifecycle-yqveydy6.js → worktree-fwp9mfc9.js} +4 -4
- package/dist/chunks/{location-lifecycle-rjj7awg3.js → worktree-fxbc68d4.js} +26 -26
- package/dist/chunks/{location-lifecycle-argy1hng.js → worktree-fz81h3y8.js} +19 -19
- package/dist/chunks/{location-lifecycle-zx29snpc.js → worktree-g1ay4zd8.js} +9 -9
- package/dist/chunks/{location-lifecycle-pwfd0hqt.js → worktree-g897beg1.js} +175 -175
- package/dist/chunks/{location-lifecycle-gg8p9cgs.js → worktree-gg8p9cgs.js} +3 -3
- package/dist/chunks/{location-lifecycle-pev14w4e.js → worktree-h6qfzy2w.js} +6 -6
- package/dist/chunks/{location-lifecycle-xb71yztv.js → worktree-h8jxej25.js} +9 -9
- package/dist/chunks/{location-lifecycle-w72e71xv.js → worktree-h9mpa2cp.js} +43 -43
- package/dist/chunks/{location-lifecycle-n8r9g462.js → worktree-hcwqz2vp.js} +27 -27
- package/dist/chunks/{location-lifecycle-d3v7ftdb.js → worktree-hepvyceb.js} +18 -18
- package/dist/chunks/{location-lifecycle-hpg1pkwy.js → worktree-hpg1pkwy.js} +1 -1
- package/dist/chunks/{location-lifecycle-44e3v4ts.js → worktree-hrc5qanb.js} +15 -15
- package/dist/chunks/{location-lifecycle-x0fq6v58.js → worktree-hwa72p18.js} +25 -25
- package/dist/chunks/{location-lifecycle-g9z7txar.js → worktree-hzn7nsdm.js} +48 -48
- package/dist/chunks/{location-lifecycle-z4fv3q24.js → worktree-j6gqx17m.js} +11 -11
- package/dist/chunks/{location-lifecycle-9jq4xrcd.js → worktree-jbs867qq.js} +22 -22
- package/dist/chunks/{location-lifecycle-jfaecv01.js → worktree-jfaecv01.js} +1 -1
- package/dist/chunks/{location-lifecycle-jtnps1zs.js → worktree-jtnps1zs.js} +2 -2
- package/dist/chunks/{location-lifecycle-0txfsz7g.js → worktree-jv4aastz.js} +11 -11
- package/dist/chunks/{location-lifecycle-xw7793rd.js → worktree-jvdszxx2.js} +22 -22
- package/dist/chunks/{location-lifecycle-k814nvkf.js → worktree-k814nvkf.js} +1 -1
- package/dist/chunks/{location-lifecycle-fb6xpck4.js → worktree-k9y3d0tp.js} +11 -11
- package/dist/chunks/{location-lifecycle-k9zkdd2y.js → worktree-k9zkdd2y.js} +1 -1
- package/dist/chunks/{location-lifecycle-krv07zrz.js → worktree-kamfaf4d.js} +18 -18
- package/dist/chunks/worktree-kc53vfpk.js +26 -0
- package/dist/chunks/{location-lifecycle-4jbtddcy.js → worktree-kmsddh9w.js} +32 -32
- package/dist/chunks/{location-lifecycle-kt3bjfbg.js → worktree-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-lifecycle-m1714858.js → worktree-m1714858.js} +1 -1
- package/dist/chunks/{location-lifecycle-hfgk9wzg.js → worktree-m37sd98t.js} +4 -4
- package/dist/chunks/{location-lifecycle-6kzw03wj.js → worktree-m4ptef75.js} +10 -10
- package/dist/chunks/{location-lifecycle-pd78mrea.js → worktree-m56cjv3e.js} +23 -23
- package/dist/chunks/{location-lifecycle-zprh8kn6.js → worktree-m7fnv24s.js} +51 -51
- package/dist/chunks/{location-lifecycle-ph7d09sa.js → worktree-m7fqq1ew.js} +9 -9
- package/dist/chunks/{location-lifecycle-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-lifecycle-ncfhdpxs.js → worktree-mhc61mdg.js} +32 -32
- package/dist/chunks/{location-lifecycle-4jtw0229.js → worktree-mhr56224.js} +3 -3
- package/dist/chunks/{location-lifecycle-bff375yx.js → worktree-mjc6f1aw.js} +23 -23
- package/dist/chunks/{location-lifecycle-hdfrs5mg.js → worktree-mmkbt6v3.js} +9 -9
- package/dist/chunks/{location-lifecycle-2j1927g1.js → worktree-mny8z6gn.js} +2 -2
- package/dist/chunks/{location-lifecycle-tkejj1mv.js → worktree-mr77yge8.js} +32 -32
- package/dist/chunks/{location-lifecycle-3vtjh306.js → worktree-mwg3qc11.js} +12 -12
- package/dist/chunks/{location-lifecycle-qxmke217.js → worktree-mzt2fbnn.js} +32 -32
- package/dist/chunks/{location-lifecycle-fj1gdevc.js → worktree-n28y46dr.js} +25 -25
- package/dist/chunks/{location-lifecycle-8wc2fpae.js → worktree-n6v2b7cw.js} +5 -5
- package/dist/chunks/{location-lifecycle-hrvanjhp.js → worktree-n9qdtdvs.js} +15 -15
- package/dist/chunks/{location-lifecycle-770pw0s1.js → worktree-nah043kf.js} +4 -4
- package/dist/chunks/{location-lifecycle-kbww7t3z.js → worktree-nqp32kgw.js} +12 -12
- package/dist/chunks/{location-lifecycle-w5yxp3hw.js → worktree-ns70zq6v.js} +6 -6
- package/dist/chunks/{location-lifecycle-3y8fn22w.js → worktree-nx6hk0ja.js} +1 -1
- package/dist/chunks/{location-lifecycle-kz91psg5.js → worktree-nxbxez3p.js} +55 -55
- package/dist/chunks/{location-lifecycle-p015t6z3.js → worktree-p015t6z3.js} +2 -2
- package/dist/chunks/{location-lifecycle-r6609qgj.js → worktree-p93v64fd.js} +27 -27
- package/dist/chunks/{location-lifecycle-y3ahkf2e.js → worktree-pb04fmg7.js} +33 -33
- package/dist/chunks/{location-lifecycle-5x26af84.js → worktree-pbbktnbz.js} +4 -4
- package/dist/chunks/{location-lifecycle-tanfvfr0.js → worktree-pbq8xx0j.js} +36 -36
- package/dist/chunks/{location-lifecycle-2mjmg601.js → worktree-pf2pdych.js} +17 -17
- package/dist/chunks/{location-lifecycle-atr2mg2b.js → worktree-pf3rwkdy.js} +13 -13
- package/dist/chunks/{location-lifecycle-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{location-lifecycle-fmkz8025.js → worktree-q66cx4q6.js} +23 -23
- package/dist/chunks/{location-lifecycle-ewc6hp7k.js → worktree-q8dhc66a.js} +13 -13
- package/dist/chunks/{location-lifecycle-zmtqta5h.js → worktree-qad7dvhx.js} +87 -87
- package/dist/chunks/{location-lifecycle-zestxctz.js → worktree-qb1ewmbb.js} +34 -34
- package/dist/chunks/{location-lifecycle-qp7r0hxv.js → worktree-qp7r0hxv.js} +1 -1
- package/dist/chunks/{location-lifecycle-vzth5496.js → worktree-qtp439t2.js} +20 -20
- package/dist/chunks/{location-lifecycle-r0yr0wbs.js → worktree-r0yr0wbs.js} +1 -1
- package/dist/chunks/{location-lifecycle-fkk6zjcb.js → worktree-r18rdv8f.js} +1 -1
- package/dist/chunks/{location-lifecycle-w8tewjsp.js → worktree-r3q41g9c.js} +21 -21
- package/dist/chunks/{location-lifecycle-r542h3bh.js → worktree-r542h3bh.js} +1 -1
- package/dist/chunks/{location-lifecycle-z395qepn.js → worktree-r66xew5k.js} +8 -8
- package/dist/chunks/{location-lifecycle-v5hpj9dd.js → worktree-ra6js1h8.js} +8 -8
- package/dist/chunks/{location-lifecycle-rb9dy4dg.js → worktree-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-lifecycle-rt5dr6hb.js → worktree-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-lifecycle-0pynqpwf.js → worktree-rxgbbj8k.js} +21 -21
- package/dist/chunks/{location-lifecycle-wzagvp0p.js → worktree-s54472q3.js} +17 -17
- package/dist/chunks/{location-lifecycle-8395ab52.js → worktree-s6tqy0m8.js} +28 -28
- package/dist/chunks/{location-lifecycle-pgckvs8f.js → worktree-s99nkvx1.js} +4 -4
- package/dist/chunks/{location-lifecycle-sa3fpqfw.js → worktree-sa3fpqfw.js} +2 -2
- package/dist/chunks/{location-lifecycle-tspfbqtr.js → worktree-snmd1rw9.js} +9 -9
- package/dist/chunks/{location-lifecycle-sqjzf8x2.js → worktree-sqjzf8x2.js} +1 -1
- package/dist/chunks/{location-lifecycle-jpt0aj2d.js → worktree-sre4ebqw.js} +16 -16
- package/dist/chunks/{location-lifecycle-hyaaevkq.js → worktree-srjnrtdm.js} +13 -13
- package/dist/chunks/{location-lifecycle-svcy3p9a.js → worktree-svcy3p9a.js} +1 -1
- package/dist/chunks/{location-lifecycle-z02rg5r5.js → worktree-sy9ykmfq.js} +1 -1
- package/dist/chunks/{location-lifecycle-91wahnve.js → worktree-szxm1cp3.js} +8 -8
- package/dist/chunks/{location-lifecycle-ec8ztzxh.js → worktree-t21b4txv.js} +38 -38
- package/dist/chunks/{location-lifecycle-9vxcaz77.js → worktree-t2wdt0at.js} +7 -7
- package/dist/chunks/{location-lifecycle-nvqjkgcj.js → worktree-t5qvjzk2.js} +25 -25
- package/dist/chunks/{location-lifecycle-tczq8hjw.js → worktree-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-lifecycle-1s4qyrgd.js → worktree-tk7n563y.js} +3 -3
- package/dist/chunks/{location-lifecycle-nnx5jh0h.js → worktree-tsv2z92f.js} +16 -16
- package/dist/chunks/{location-lifecycle-3s6061p5.js → worktree-ttkktqdh.js} +13 -13
- package/dist/chunks/{location-lifecycle-twssxy5n.js → worktree-twssxy5n.js} +2 -2
- package/dist/chunks/{location-lifecycle-zevk5kpf.js → worktree-txwj3gge.js} +18 -18
- package/dist/chunks/{location-lifecycle-659kt248.js → worktree-tyv518va.js} +5 -5
- package/dist/chunks/{location-lifecycle-t5jqs5j7.js → worktree-tzyd7gqa.js} +2 -2
- package/dist/chunks/{location-lifecycle-v2r1d0zg.js → worktree-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-lifecycle-d3y6ws5r.js → worktree-v3xbt8j3.js} +5 -5
- package/dist/chunks/{location-lifecycle-e19pjn16.js → worktree-vcccw22k.js} +17 -17
- package/dist/chunks/{location-lifecycle-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{location-lifecycle-2zp5a6yg.js → worktree-vg0erq9k.js} +3 -3
- package/dist/chunks/{location-lifecycle-dssj73nn.js → worktree-vmsmp5eq.js} +16 -16
- package/dist/chunks/{location-lifecycle-rgbq3f4j.js → worktree-vpvfxw07.js} +18 -18
- package/dist/chunks/{location-lifecycle-g3e9axc6.js → worktree-vpzpgvq9.js} +45 -45
- package/dist/chunks/{location-lifecycle-c5m2a8vb.js → worktree-vq1ppevj.js} +8 -8
- package/dist/chunks/{location-lifecycle-zwa1n2at.js → worktree-vs44t7fa.js} +14 -14
- package/dist/chunks/{location-lifecycle-vaq1yek0.js → worktree-vsqvcqta.js} +6 -6
- package/dist/chunks/{location-lifecycle-jd7xkz5t.js → worktree-w0d7zwbf.js} +2 -2
- package/dist/chunks/{location-lifecycle-r41sfy63.js → worktree-w2eysc6j.js} +6 -6
- package/dist/chunks/{location-lifecycle-2kg89srt.js → worktree-w35wzz9x.js} +4 -4
- package/dist/chunks/{location-lifecycle-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-lifecycle-hjjzccew.js → worktree-w87a0wfe.js} +24 -24
- package/dist/chunks/{location-lifecycle-76cb1hcw.js → worktree-w8qtt4th.js} +4 -4
- package/dist/chunks/{location-lifecycle-8cy6yjnj.js → worktree-wa1hcjw6.js} +5 -5
- package/dist/chunks/{location-lifecycle-wakvkjy4.js → worktree-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-lifecycle-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{location-lifecycle-bysrz3s4.js → worktree-we2rejfg.js} +10 -10
- package/dist/chunks/{location-lifecycle-gzwbakhe.js → worktree-wk5m6zfg.js} +36 -36
- package/dist/chunks/{location-lifecycle-0qf3mhr8.js → worktree-wm98xywf.js} +15 -15
- package/dist/chunks/{location-lifecycle-wnhgecwx.js → worktree-wnhgecwx.js} +1 -1
- package/dist/chunks/{location-lifecycle-4s5pdsz9.js → worktree-wqtd6dn9.js} +6 -6
- package/dist/chunks/{location-lifecycle-fznmdakp.js → worktree-wr3re1en.js} +4 -4
- package/dist/chunks/{location-lifecycle-ybj0t81k.js → worktree-wsp5yfww.js} +31 -31
- package/dist/chunks/{location-lifecycle-2tt341e3.js → worktree-wsr9qs6j.js} +22 -22
- package/dist/chunks/{location-lifecycle-9csarjst.js → worktree-x16bhr4k.js} +29 -29
- package/dist/chunks/{location-lifecycle-bnbdtabc.js → worktree-x6ys6dqa.js} +17 -17
- package/dist/chunks/{location-lifecycle-bstexjd6.js → worktree-xd9cc171.js} +5 -5
- package/dist/chunks/{location-lifecycle-k1y2t7va.js → worktree-xn6gceck.js} +6 -6
- package/dist/chunks/{location-lifecycle-1kn6jdkn.js → worktree-xt0z8zst.js} +4 -4
- package/dist/chunks/{location-lifecycle-8c9h179s.js → worktree-xyq0rax3.js} +12 -12
- package/dist/chunks/{location-lifecycle-nzmqqmhf.js → worktree-xyrxtpny.js} +19 -19
- package/dist/chunks/{location-lifecycle-wse1pq25.js → worktree-y6396az8.js} +32 -32
- package/dist/chunks/{location-lifecycle-1h498w7a.js → worktree-y8spwn8e.js} +10 -10
- package/dist/chunks/{location-lifecycle-yara3q77.js → worktree-yara3q77.js} +2 -2
- package/dist/chunks/{location-lifecycle-yb20nhc3.js → worktree-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-lifecycle-7apps605.js → worktree-yezzex3p.js} +17 -17
- package/dist/chunks/{location-lifecycle-89658q1h.js → worktree-yfwf0v7j.js} +8 -8
- package/dist/chunks/{location-lifecycle-wp3582yg.js → worktree-yjbxb6qy.js} +4 -4
- package/dist/chunks/{location-lifecycle-m3vdhvvx.js → worktree-ymw70ds8.js} +40 -40
- package/dist/chunks/{location-lifecycle-ymz7p2c9.js → worktree-ymz7p2c9.js} +3 -3
- package/dist/chunks/{location-lifecycle-hc06g2dd.js → worktree-ysbey0jp.js} +27 -27
- package/dist/chunks/{location-lifecycle-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-lifecycle-z38nccrw.js → worktree-z38nccrw.js} +1 -1
- package/dist/chunks/{location-lifecycle-1s5emn35.js → worktree-z6j3zz1h.js} +7 -7
- package/dist/chunks/{location-lifecycle-zgkm4kzm.js → worktree-zgkm4kzm.js} +3 -3
- package/dist/chunks/{location-lifecycle-593m5q2k.js → worktree-zmbtf289.js} +21 -21
- package/dist/chunks/{location-lifecycle-61ennm6n.js → worktree-zzdv5d93.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +92 -92
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +76 -76
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +375 -375
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- 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 +80 -80
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- 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 +86 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -112
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- 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 +107 -107
- 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/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 +1 -1
- package/dist/instance.js +368 -368
- package/dist/instruction-discovery.js +90 -90
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +369 -369
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +143 -143
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +342 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +357 -357
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +234 -234
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +98 -98
- package/dist/provider.js +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +158 -158
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- 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 +231 -231
- package/dist/session/execution.js +154 -154
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +128 -128
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +236 -236
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +81 -81
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +186 -186
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +228 -228
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +146 -146
- package/dist/snapshot.js +99 -99
- 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 +167 -167
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +145 -145
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +143 -143
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +95 -95
- 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 +4 -4
- package/dist/v1/config/migrate.js +100 -100
- 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 +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +94 -94
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +108 -108
- package/package.json +8 -8
- package/dist/chunks/location-lifecycle-e54pjyq4.js +0 -257
- package/dist/chunks/location-lifecycle-ffr2ff94.js +0 -26
- package/dist/chunks/location-lifecycle-tzjp6t9r.js +0 -511
- package/dist/chunks/location-lifecycle-z7bdqmx5.js +0 -18
- /package/dist/chunks/{location-lifecycle-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1jakw16s.js → worktree-1jakw16s.js} +0 -0
- /package/dist/chunks/{location-lifecycle-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2bv980vf.js → worktree-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-lifecycle-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4m86bj6y.js → worktree-4m86bj6y.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-lifecycle-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-5w3e23ze.js → worktree-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-84wd9syh.js → worktree-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-lifecycle-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-a058387c.js → worktree-a058387c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-lifecycle-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-lifecycle-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-lifecycle-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-beh6qq61.js → worktree-beh6qq61.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cqv5kn06.js → worktree-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-lifecycle-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-lifecycle-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-lifecycle-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-lifecycle-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fkpq3x5p.js → worktree-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jwr30sdr.js → worktree-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jze0r7bz.js → worktree-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-m18g726c.js → worktree-m18g726c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ncqqe42p.js → worktree-ncqqe42p.js} +0 -0
- /package/dist/chunks/{location-lifecycle-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-p71gwv9c.js → worktree-p71gwv9c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-lifecycle-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service86,
|
|
6
|
+
node90
|
|
7
|
+
} from "./worktree-16fb6946.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service85,
|
|
10
|
+
node89
|
|
11
|
+
} from "./worktree-sre4ebqw.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service80,
|
|
14
|
+
node84
|
|
15
|
+
} from "./worktree-mwg3qc11.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID15,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info25,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event17,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-mmkbt6v3.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./worktree-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-yara3q77.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./worktree-ayjs7tqn.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./worktree-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
Current: () => Current2,
|
|
42
|
-
ID: () =>
|
|
43
|
-
Info: () =>
|
|
44
|
-
NotFoundError: () =>
|
|
42
|
+
ID: () => ID14,
|
|
43
|
+
Info: () => Info24,
|
|
44
|
+
NotFoundError: () => NotFoundError11,
|
|
45
45
|
Project: () => exports_project,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service77,
|
|
47
47
|
UpdateInput: () => UpdateInput3,
|
|
48
48
|
Vcs: () => Vcs2,
|
|
49
|
-
node: () =>
|
|
49
|
+
node: () => node81,
|
|
50
50
|
root: () => root2,
|
|
51
51
|
sweepNode: () => sweepNode2
|
|
52
52
|
});
|
|
@@ -59,14 +59,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
59
59
|
import { AppProcess } from "@opencode/util/process";
|
|
60
60
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Hash } from "@opencode/util/hash";
|
|
62
|
-
var
|
|
62
|
+
var ID14 = ID15;
|
|
63
63
|
var Vcs2 = Vcs3;
|
|
64
64
|
var Current2 = Current3;
|
|
65
|
-
var
|
|
65
|
+
var Info24 = Info25;
|
|
66
66
|
var UpdateInput3 = UpdateInput4;
|
|
67
67
|
|
|
68
|
-
class
|
|
69
|
-
projectID:
|
|
68
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
69
|
+
projectID: ID14
|
|
70
70
|
}) {
|
|
71
71
|
}
|
|
72
72
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -84,7 +84,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
84
84
|
var ACTIVATE_INTERVAL = 60000;
|
|
85
85
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
86
86
|
|
|
87
|
-
class
|
|
87
|
+
class Service77 extends Context.Service()("@opencode/Project") {
|
|
88
88
|
}
|
|
89
89
|
function fromRow(row) {
|
|
90
90
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -108,12 +108,12 @@ function fromRow(row) {
|
|
|
108
108
|
sandboxes: row.sandboxes
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
|
-
var layer = Layer.effect(
|
|
111
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
112
112
|
const fs = yield* FSUtil.Service;
|
|
113
|
-
const git = yield*
|
|
113
|
+
const git = yield* Service80;
|
|
114
114
|
const proc = yield* AppProcess.Service;
|
|
115
|
-
const bus = yield*
|
|
116
|
-
const db = (yield*
|
|
115
|
+
const bus = yield* Service85;
|
|
116
|
+
const db = (yield* Service86).db;
|
|
117
117
|
const scope = yield* Scope.Scope;
|
|
118
118
|
const announcing = new Set;
|
|
119
119
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -123,8 +123,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
123
123
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
124
124
|
const changed = replaced ?? unarchived;
|
|
125
125
|
if (changed)
|
|
126
|
-
yield* bus.publish(
|
|
127
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
126
|
+
yield* bus.publish(Event17.Updated, fromRow(changed));
|
|
127
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event17.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
128
128
|
if (!project.vcs)
|
|
129
129
|
return project;
|
|
130
130
|
const directories = [
|
|
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
160
160
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
161
161
|
projectID: item.projectID,
|
|
162
162
|
directory: item.directory,
|
|
163
|
-
previous: project.previous ??
|
|
163
|
+
previous: project.previous ?? ID14.global,
|
|
164
164
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
165
165
|
}, {
|
|
166
166
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -183,9 +183,9 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
183
183
|
time_updated: Date.now()
|
|
184
184
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
185
185
|
if (!row)
|
|
186
|
-
return yield* new
|
|
186
|
+
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
187
187
|
const project = fromRow(row);
|
|
188
|
-
yield* bus.publish(
|
|
188
|
+
yield* bus.publish(Event17.Updated, project);
|
|
189
189
|
return project;
|
|
190
190
|
});
|
|
191
191
|
const activated = new Map;
|
|
@@ -196,10 +196,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
196
196
|
activated.set(projectID, now);
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event17.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
202
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
202
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
203
203
|
return;
|
|
204
204
|
}));
|
|
205
205
|
});
|
|
@@ -210,7 +210,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
210
210
|
const normalized = url(origin);
|
|
211
211
|
if (!normalized)
|
|
212
212
|
return;
|
|
213
|
-
return
|
|
213
|
+
return ID14.make(Hash.fast(`git-remote:${normalized}`));
|
|
214
214
|
});
|
|
215
215
|
function url(input) {
|
|
216
216
|
const value = input.trim();
|
|
@@ -235,7 +235,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
235
235
|
}
|
|
236
236
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
237
237
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
238
|
-
return root ?
|
|
238
|
+
return root ? ID14.make(root) : undefined;
|
|
239
239
|
});
|
|
240
240
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
241
241
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
252
252
|
const resolved = {
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID14.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,7 +276,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
276
276
|
return;
|
|
277
277
|
const node = result.stdout.toString("utf8").split(`
|
|
278
278
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
279
|
-
return node ?
|
|
279
|
+
return node ? ID14.make(node) : undefined;
|
|
280
280
|
});
|
|
281
281
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
282
282
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -284,7 +284,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
284
284
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
285
285
|
return {
|
|
286
286
|
previous,
|
|
287
|
-
id: id ??
|
|
287
|
+
id: id ?? ID14.global,
|
|
288
288
|
directory: worktree,
|
|
289
289
|
vcs: { type: "hg", store: dotHg }
|
|
290
290
|
};
|
|
@@ -311,7 +311,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
311
311
|
});
|
|
312
312
|
}
|
|
313
313
|
return yield* save({
|
|
314
|
-
id:
|
|
314
|
+
id: ID14.make(Hash.fast(`directory:${directory}`)),
|
|
315
315
|
directory,
|
|
316
316
|
canonical: directory,
|
|
317
317
|
vcs: undefined
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
320
320
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
321
321
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
322
322
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
323
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
323
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID14.global))).all().pipe(Effect.orDie);
|
|
324
324
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
325
325
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
326
326
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -333,23 +333,23 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
333
333
|
return;
|
|
334
334
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
335
335
|
if (row)
|
|
336
|
-
yield* bus.publish(
|
|
336
|
+
yield* bus.publish(Event17.Updated, fromRow(row));
|
|
337
337
|
}), { concurrency: 8, discard: true });
|
|
338
338
|
});
|
|
339
|
-
return
|
|
339
|
+
return Service77.of({ list, update, activate, resolve, sweep });
|
|
340
340
|
}));
|
|
341
|
-
var
|
|
342
|
-
service:
|
|
341
|
+
var node81 = makeGlobalNode({
|
|
342
|
+
service: Service77,
|
|
343
343
|
layer,
|
|
344
|
-
deps: [
|
|
344
|
+
deps: [node89, node90, FSUtil.node, node84, AppProcess.node]
|
|
345
345
|
});
|
|
346
346
|
var sweepNode2 = makeGlobalNode({
|
|
347
347
|
name: "project-archive-sweep",
|
|
348
348
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
349
|
-
const project = yield*
|
|
349
|
+
const project = yield* Service77;
|
|
350
350
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
351
351
|
})),
|
|
352
|
-
deps: [
|
|
352
|
+
deps: [node81]
|
|
353
353
|
});
|
|
354
354
|
|
|
355
|
-
export {
|
|
355
|
+
export { ID14, Vcs2, Current2, Info24, UpdateInput3, NotFoundError11, root2, Service77, node81, sweepNode2, exports_project };
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node72
|
|
9
|
+
} from "./worktree-w87a0wfe.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content3
|
|
12
|
+
} from "./worktree-mhc61mdg.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-4pyp9zr9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
22
22
|
__export(exports_read_filesystem, {
|
|
23
23
|
BinaryFileError: () => BinaryFileError2,
|
|
24
24
|
FileContent: () => FileContent2,
|
|
25
|
-
ListEntry: () =>
|
|
25
|
+
ListEntry: () => ListEntry2,
|
|
26
26
|
ListPage: () => ListPage2,
|
|
27
27
|
MAX_MEDIA_INGEST_BYTES: () => MAX_MEDIA_INGEST_BYTES2,
|
|
28
28
|
MAX_READ_BYTES: () => MAX_READ_BYTES2,
|
|
@@ -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: () => Service28,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node32,
|
|
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
|
+
...Content3.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -101,20 +101,20 @@ class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
|
101
101
|
next: Schema.optionalKey(PositiveInt2)
|
|
102
102
|
}) {
|
|
103
103
|
}
|
|
104
|
-
var
|
|
104
|
+
var ListEntry2 = Schema.Struct({
|
|
105
105
|
path: RelativePath2,
|
|
106
106
|
type: Schema.Literals(["file", "directory", "symlink"])
|
|
107
107
|
}).annotate({ identifier: "ReadTool.ListEntry" });
|
|
108
108
|
|
|
109
109
|
class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
110
110
|
type: Schema.Literal("list-page"),
|
|
111
|
-
entries: Schema.Array(
|
|
111
|
+
entries: Schema.Array(ListEntry2),
|
|
112
112
|
truncated: Schema.Boolean,
|
|
113
113
|
next: Schema.optionalKey(PositiveInt2)
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service28 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 = {}) {
|
|
@@ -227,7 +227,7 @@ var list = (items, page) => {
|
|
|
227
227
|
const offset = page.offset || 1;
|
|
228
228
|
const limit = Math.min(page.limit || MAX_READ_LINES2, MAX_READ_LINES2);
|
|
229
229
|
const visible = items.flatMap((item) => item.type === "other" ? [] : [
|
|
230
|
-
|
|
230
|
+
ListEntry2.make({
|
|
231
231
|
path: RelativePath2.make(item.name + (item.type === "directory" ? path.sep : "")),
|
|
232
232
|
type: item.type
|
|
233
233
|
})
|
|
@@ -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(Service28, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service69;
|
|
335
|
+
return Service28.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 node32 = makeLocationNode({ service: Service28, layer, deps: [node72] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service28, read2, node32, exports_read_filesystem };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/directory.ts
|
|
9
9
|
var exports_directory = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info18,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote3
|
|
@@ -70,6 +70,6 @@ var Remote3 = Schema.Struct({
|
|
|
70
70
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
71
71
|
})
|
|
72
72
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
73
|
-
var
|
|
73
|
+
var Info18 = Schema.Union([Local2, Remote3]).annotate({ discriminator: "type" });
|
|
74
74
|
|
|
75
|
-
export { Local2, OAuth2, Remote3,
|
|
75
|
+
export { Local2, OAuth2, Remote3, Info18, exports_mcp5 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-wsp5yfww.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node80
|
|
7
|
+
} from "./worktree-yezzex3p.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service68,
|
|
10
|
+
node71
|
|
11
|
+
} from "./worktree-4s0kbtm0.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./worktree-w8qtt4th.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Service: () =>
|
|
25
|
-
configured: () =>
|
|
24
|
+
Service: () => Service67,
|
|
25
|
+
configured: () => configured10,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
27
|
makeFffLayer: () => makeFffLayer2,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node70
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import path from "path";
|
|
@@ -33,7 +33,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
33
33
|
import { Fff } from "#fff";
|
|
34
34
|
import fuzzysort from "fuzzysort";
|
|
35
35
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
36
|
-
class
|
|
36
|
+
class Service67 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
37
37
|
}
|
|
38
38
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
39
39
|
function emptyIndex() {
|
|
@@ -52,9 +52,9 @@ function search(index, input) {
|
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
var ripgrepLayer = Layer.effect(
|
|
56
|
-
const location = yield*
|
|
57
|
-
const ripgrep = yield*
|
|
55
|
+
var ripgrepLayer = Layer.effect(Service67, Effect.gen(function* () {
|
|
56
|
+
const location = yield* Service76;
|
|
57
|
+
const ripgrep = yield* Service68;
|
|
58
58
|
const scope = yield* Scope.Scope;
|
|
59
59
|
const clock = yield* Clock.Clock;
|
|
60
60
|
const home = isHome2(location.directory);
|
|
@@ -71,7 +71,7 @@ var ripgrepLayer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
71
71
|
cwd: location.directory,
|
|
72
72
|
pattern: "*",
|
|
73
73
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
74
|
-
exclude: home ? [...
|
|
74
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
75
75
|
onEntry: (entry) => Effect.sync(() => {
|
|
76
76
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
77
77
|
const parts = entry.path.split("/");
|
|
@@ -99,7 +99,7 @@ var ripgrepLayer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
99
99
|
Deferred.doneUnsafe(attempt, exit);
|
|
100
100
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
101
101
|
});
|
|
102
|
-
return
|
|
102
|
+
return Service67.of({
|
|
103
103
|
find: (input) => Effect.gen(function* () {
|
|
104
104
|
yield* refresh;
|
|
105
105
|
return search(index, input);
|
|
@@ -119,8 +119,8 @@ function createPicker(create, directory) {
|
|
|
119
119
|
return { ok: false, error };
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
var makeFffLayer2 = (create) => Layer.effect(
|
|
123
|
-
const location = yield*
|
|
122
|
+
var makeFffLayer2 = (create) => Layer.effect(Service67, Effect.gen(function* () {
|
|
123
|
+
const location = yield* Service76;
|
|
124
124
|
let state;
|
|
125
125
|
yield* Effect.addFinalizer(() => Effect.sync(() => {
|
|
126
126
|
if (typeof state === "object" && state.result.ok)
|
|
@@ -152,7 +152,7 @@ var makeFffLayer2 = (create) => Layer.effect(Service57, Effect.gen(function* ()
|
|
|
152
152
|
}
|
|
153
153
|
return current.result.value;
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service67.of({
|
|
156
156
|
find: (input) => Effect.gen(function* () {
|
|
157
157
|
const finder = yield* picker;
|
|
158
158
|
if (!finder)
|
|
@@ -200,16 +200,16 @@ var makeFffLayer2 = (create) => Layer.effect(Service57, Effect.gen(function* ()
|
|
|
200
200
|
}));
|
|
201
201
|
var fffLayer2 = makeFffLayer2(Fff.create);
|
|
202
202
|
var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
203
|
-
const location = yield*
|
|
203
|
+
const location = yield* Service76;
|
|
204
204
|
if (location.workspaceID)
|
|
205
205
|
return ripgrepLayer;
|
|
206
206
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
207
207
|
return ripgrepLayer;
|
|
208
208
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
209
209
|
}));
|
|
210
|
-
function
|
|
211
|
-
return makeLocationNode({ service:
|
|
210
|
+
function configured10(options) {
|
|
211
|
+
return makeLocationNode({ service: Service67, layer: layer(options), deps: [node80, node71] });
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var node70 = configured10();
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Service67, makeFffLayer2, fffLayer2, configured10, node70, exports_search };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Ref4
|
|
3
|
+
} from "./worktree-yezzex3p.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service65,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node68,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service65 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service65, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node68 = LayerNode.unbound(Service65, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service65;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -42,10 +42,10 @@ function canonical3(ref) {
|
|
|
42
42
|
const flavor = process.platform === "win32" && !ref.directory.startsWith("/") ? path.win32 : path.posix;
|
|
43
43
|
const normalized = flavor.normalize(ref.directory);
|
|
44
44
|
const trailing = normalized.endsWith(flavor.sep) && normalized.length > flavor.parse(normalized).root.length;
|
|
45
|
-
return
|
|
45
|
+
return Ref4.make({
|
|
46
46
|
directory: AbsolutePath.make(trailing ? normalized.slice(0, -1) : normalized),
|
|
47
47
|
workspaceID: ref.workspaceID
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Service65, node68, reload2, canonical3, exports_location_service_map };
|