@opencode/core 0.0.0-dev-583 → 0.0.0-dev-605
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 +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +236 -236
- package/dist/bus.js +84 -84
- package/dist/chunks/{worktree-qgacq5ss.js → repository-cache-0ejkdvg9.js} +149 -149
- package/dist/chunks/{worktree-7agscg8h.js → repository-cache-0gk8k154.js} +58 -58
- package/dist/chunks/{worktree-09g9jcrz.js → repository-cache-0hq8hh55.js} +4 -4
- package/dist/chunks/{worktree-sjap4pz8.js → repository-cache-0hyhtq4c.js} +4 -4
- package/dist/chunks/{worktree-0ma9gw4f.js → repository-cache-0ma9gw4f.js} +2 -2
- package/dist/chunks/{worktree-39sgvy3e.js → repository-cache-0mgprbja.js} +4 -4
- package/dist/chunks/{worktree-ykdx9v5d.js → repository-cache-0w3jajew.js} +30 -30
- package/dist/chunks/{worktree-6535bp49.js → repository-cache-0xmsj0de.js} +6 -6
- package/dist/chunks/{worktree-bsmg59x4.js → repository-cache-0xx27840.js} +3 -3
- package/dist/chunks/{worktree-3bg3hr7j.js → repository-cache-11v5wvkn.js} +3 -3
- package/dist/chunks/{worktree-5yzx53te.js → repository-cache-12p8jfwf.js} +13 -13
- package/dist/chunks/{worktree-yhkf6q0d.js → repository-cache-14k4sggx.js} +13 -7
- package/dist/chunks/{worktree-1aqsckx4.js → repository-cache-1aqsckx4.js} +1 -1
- package/dist/chunks/{worktree-d4zhgmkx.js → repository-cache-1bhkzdch.js} +15 -15
- package/dist/chunks/{worktree-kac7mdmg.js → repository-cache-1j777bfw.js} +15 -15
- package/dist/chunks/{worktree-cct1g720.js → repository-cache-1ks5bmjz.js} +23 -23
- package/dist/chunks/{worktree-y6nnjvpa.js → repository-cache-1veh5y7b.js} +18 -18
- package/dist/chunks/{worktree-1x2knyw4.js → repository-cache-1x2knyw4.js} +1 -1
- package/dist/chunks/{worktree-d4jg59d1.js → repository-cache-24abvbg3.js} +36 -36
- package/dist/chunks/{worktree-kzf5a7tk.js → repository-cache-24n4d6cx.js} +24 -24
- package/dist/chunks/{worktree-25h84942.js → repository-cache-25h84942.js} +1 -1
- package/dist/chunks/{worktree-ygzm2mme.js → repository-cache-25x0fh9y.js} +19 -19
- package/dist/chunks/{worktree-694dpcrp.js → repository-cache-26wfx3k0.js} +7 -7
- package/dist/chunks/{worktree-8bgvxr21.js → repository-cache-26x8xhvd.js} +37 -37
- package/dist/chunks/{worktree-cbt48p4z.js → repository-cache-27hvkd05.js} +6 -6
- package/dist/chunks/{worktree-1ep2p91f.js → repository-cache-27w5k9zf.js} +2 -2
- package/dist/chunks/{worktree-mawyj6r0.js → repository-cache-27zyrpv6.js} +9 -9
- package/dist/chunks/{worktree-at8vr1jg.js → repository-cache-2bzd8xhn.js} +16 -16
- package/dist/chunks/{worktree-vg0erq9k.js → repository-cache-2cdjxzfg.js} +3 -3
- package/dist/chunks/repository-cache-2jjfs7g5.js +16 -0
- package/dist/chunks/{worktree-w79nt68w.js → repository-cache-2kg89srt.js} +4 -4
- package/dist/chunks/{worktree-d8wpb085.js → repository-cache-2n444ktb.js} +3 -3
- package/dist/chunks/{worktree-83f3tnz4.js → repository-cache-2nkkrr4x.js} +6 -6
- package/dist/chunks/{worktree-pgz0w21z.js → repository-cache-2ra1cvjf.js} +6 -6
- package/dist/chunks/{worktree-13bvw743.js → repository-cache-2zg8vxn7.js} +17 -17
- package/dist/chunks/{worktree-d36ayzjy.js → repository-cache-31hb070v.js} +25 -25
- package/dist/chunks/{worktree-59ggjee0.js → repository-cache-32hjadc8.js} +4 -4
- package/dist/chunks/{worktree-aj26m6z0.js → repository-cache-3417we6b.js} +20 -20
- package/dist/chunks/{worktree-anqtxtga.js → repository-cache-35y1ta0e.js} +4 -4
- package/dist/chunks/{worktree-ayjs7tqn.js → repository-cache-3cbjf1nt.js} +2 -2
- package/dist/chunks/{worktree-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-x5t3tk8c.js → repository-cache-3hg9251g.js} +25 -25
- package/dist/chunks/{worktree-b6mx9f7p.js → repository-cache-3n8f9t2c.js} +4 -4
- package/dist/chunks/{worktree-3qgwywyc.js → repository-cache-3qgwywyc.js} +1 -1
- package/dist/chunks/{worktree-rwww5gz5.js → repository-cache-3vnxarw0.js} +6 -6
- package/dist/chunks/{worktree-k0xgdmgp.js → repository-cache-3xvjtn27.js} +40 -40
- package/dist/chunks/{worktree-40y6dtc2.js → repository-cache-40y6dtc2.js} +1 -1
- package/dist/chunks/{worktree-w2eysc6j.js → repository-cache-40za9wsf.js} +9 -9
- package/dist/chunks/{worktree-pnmmcska.js → repository-cache-49hd1xwg.js} +8 -8
- package/dist/chunks/{worktree-w7ndkmqc.js → repository-cache-4ac5e6w9.js} +7 -7
- package/dist/chunks/{worktree-vrmm67y9.js → repository-cache-4d5w7vpt.js} +28 -28
- package/dist/chunks/{worktree-tswxjmd9.js → repository-cache-4dc9r7jw.js} +9 -9
- package/dist/chunks/{worktree-4dx1dgte.js → repository-cache-4dx1dgte.js} +1 -1
- package/dist/chunks/{worktree-r542h3bh.js → repository-cache-4f25tdd0.js} +5 -5
- package/dist/chunks/{worktree-j9015zjk.js → repository-cache-4ke1hpwn.js} +16 -16
- package/dist/chunks/{worktree-sfstx19v.js → repository-cache-4krr2nde.js} +3 -3
- package/dist/chunks/{worktree-4pyp9zr9.js → repository-cache-4pyp9zr9.js} +1 -1
- package/dist/chunks/{worktree-5sn17fpt.js → repository-cache-4tn3tan0.js} +2 -2
- package/dist/chunks/{worktree-4v008n1t.js → repository-cache-4v008n1t.js} +1 -1
- package/dist/chunks/{worktree-ht9r4qkp.js → repository-cache-530xg6vw.js} +3 -3
- package/dist/chunks/{worktree-dthn5xfm.js → repository-cache-5fn96twt.js} +16 -16
- package/dist/chunks/{worktree-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{worktree-13qmg2j7.js → repository-cache-5rrtfrnm.js} +42 -42
- package/dist/chunks/{worktree-8cg7mtm3.js → repository-cache-5whx36p1.js} +4 -4
- package/dist/chunks/{worktree-93eyz745.js → repository-cache-64c9es3a.js} +22 -22
- package/dist/chunks/{worktree-ktpxqw2h.js → repository-cache-6cv5ggqa.js} +33 -33
- package/dist/chunks/{worktree-8gsz1vrk.js → repository-cache-6g3dkt3t.js} +8 -8
- package/dist/chunks/{worktree-te2w08x9.js → repository-cache-6h8zfbw9.js} +6 -6
- package/dist/chunks/{worktree-5crjh6az.js → repository-cache-6pxkgvpn.js} +7 -7
- package/dist/chunks/{worktree-ea551tjd.js → repository-cache-6rqkmd8e.js} +2 -2
- package/dist/chunks/{worktree-wp1tr40y.js → repository-cache-6rw411p0.js} +15 -15
- package/dist/chunks/{worktree-wyznt5q3.js → repository-cache-6y9mx2ek.js} +26 -26
- package/dist/chunks/{worktree-80mg3ag8.js → repository-cache-775hqbnd.js} +3 -3
- package/dist/chunks/{worktree-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-xp2necrq.js → repository-cache-7f2htwtk.js} +8 -8
- package/dist/chunks/{worktree-b2qcjbew.js → repository-cache-7fc7hhs4.js} +29 -26
- package/dist/chunks/{worktree-7w2ypzdf.js → repository-cache-7w2ypzdf.js} +1 -1
- package/dist/chunks/{worktree-7weczvnd.js → repository-cache-7weczvnd.js} +1 -1
- package/dist/chunks/{worktree-ss4ezae1.js → repository-cache-7z4ak66b.js} +11 -11
- package/dist/chunks/{worktree-pyc3gczw.js → repository-cache-82phgae0.js} +5 -5
- package/dist/chunks/{worktree-wvdj0ybt.js → repository-cache-874wyhaa.js} +32 -32
- package/dist/chunks/{worktree-89287pr7.js → repository-cache-89287pr7.js} +1 -1
- package/dist/chunks/{worktree-69qh8env.js → repository-cache-8ef1n296.js} +25 -25
- package/dist/chunks/{worktree-g4sksxkq.js → repository-cache-8eynzsy4.js} +16 -16
- package/dist/chunks/{worktree-7ezcpw5k.js → repository-cache-8mst53cj.js} +35 -35
- package/dist/chunks/{worktree-m98mfqd1.js → repository-cache-8n065enx.js} +28 -28
- package/dist/chunks/{worktree-dqz4v4b1.js → repository-cache-8nxj1m7z.js} +5 -5
- package/dist/chunks/{worktree-98a44ep4.js → repository-cache-8phvsahy.js} +12 -12
- package/dist/chunks/{worktree-8wtp7s3z.js → repository-cache-8wtp7s3z.js} +1 -1
- package/dist/chunks/{worktree-mb7mbhnz.js → repository-cache-8z6m94af.js} +3 -3
- package/dist/chunks/{worktree-m7z4xv15.js → repository-cache-8zsy9fqe.js} +10 -10
- package/dist/chunks/{worktree-90zstvax.js → repository-cache-90zstvax.js} +1 -1
- package/dist/chunks/{worktree-2cf6rdw9.js → repository-cache-93cqz5g6.js} +28 -28
- package/dist/chunks/{worktree-fs8169v1.js → repository-cache-93ctvjtr.js} +13 -13
- package/dist/chunks/{worktree-89a739eh.js → repository-cache-94t12mdt.js} +31 -31
- package/dist/chunks/{worktree-z7881fav.js → repository-cache-963hk181.js} +7 -7
- package/dist/chunks/{worktree-n4z1q12f.js → repository-cache-96djdqw5.js} +7 -7
- package/dist/chunks/{worktree-6jc3vgm6.js → repository-cache-96w3k37w.js} +27 -27
- package/dist/chunks/{worktree-hpm8jzxe.js → repository-cache-9a7pwgbe.js} +11 -11
- package/dist/chunks/{worktree-rprtd7qs.js → repository-cache-9dwca51d.js} +38 -38
- package/dist/chunks/{worktree-011jp90z.js → repository-cache-9f3jsh1d.js} +9 -9
- package/dist/chunks/{worktree-qsvhze68.js → repository-cache-9jtk5nne.js} +9 -9
- package/dist/chunks/{worktree-hm3106mz.js → repository-cache-9mrfv1j4.js} +8 -8
- package/dist/chunks/{worktree-7dve6cz3.js → repository-cache-9qsmkj40.js} +9 -9
- package/dist/chunks/{worktree-33qwtakz.js → repository-cache-9r6t02y1.js} +11 -11
- package/dist/chunks/{worktree-n380c2qg.js → repository-cache-9v8670en.js} +10 -10
- package/dist/chunks/{worktree-jv5ccajn.js → repository-cache-9zwexsxs.js} +5 -5
- package/dist/chunks/{worktree-kx6k3fz0.js → repository-cache-a3fn0gmm.js} +2 -2
- package/dist/chunks/{worktree-9aft4c63.js → repository-cache-a4qk5w5d.js} +29 -29
- package/dist/chunks/{worktree-f6jsm0hh.js → repository-cache-a87ec6x6.js} +10 -10
- package/dist/chunks/{worktree-034tev2y.js → repository-cache-aj7mw0zk.js} +2 -2
- package/dist/chunks/{worktree-rzg6y5rp.js → repository-cache-anvcme1c.js} +4 -4
- package/dist/chunks/{worktree-b06t0j8h.js → repository-cache-axm2n1bv.js} +26 -26
- package/dist/chunks/{worktree-nfp7sj2n.js → repository-cache-ayf0r5fr.js} +12 -12
- package/dist/chunks/{worktree-n1cw8e13.js → repository-cache-b0v1b7fn.js} +20 -20
- package/dist/chunks/{worktree-b6vsg801.js → repository-cache-b6vsg801.js} +2 -2
- package/dist/chunks/{worktree-yamd53dj.js → repository-cache-barjrk5t.js} +37 -37
- package/dist/chunks/{worktree-8sxe6kv8.js → repository-cache-bb3mmwvh.js} +2 -2
- package/dist/chunks/{worktree-h5gm5jf1.js → repository-cache-bb3pv0r8.js} +7 -7
- package/dist/chunks/{worktree-bdhd9h6e.js → repository-cache-bdhd9h6e.js} +1 -1
- package/dist/chunks/{worktree-tk98v5r9.js → repository-cache-begae6zc.js} +25 -25
- package/dist/chunks/{worktree-5n0rnk8e.js → repository-cache-bhfd478d.js} +4 -4
- package/dist/chunks/{worktree-95vnrqnk.js → repository-cache-bjtg0brr.js} +9 -9
- package/dist/chunks/{worktree-g3kmxrr7.js → repository-cache-bq8k2rb4.js} +32 -32
- package/dist/chunks/{worktree-gqb1zb1g.js → repository-cache-bsjf3n8a.js} +25 -25
- package/dist/chunks/{worktree-bstexjd6.js → repository-cache-bstexjd6.js} +1 -1
- package/dist/chunks/{worktree-rqyv1z04.js → repository-cache-by7xstp6.js} +29 -29
- package/dist/chunks/{worktree-xqcc0dy1.js → repository-cache-bz0790vs.js} +18 -18
- package/dist/chunks/{worktree-229tvxdn.js → repository-cache-c5zvymhv.js} +4 -4
- package/dist/chunks/{worktree-kca3ks3m.js → repository-cache-c82xecz8.js} +2 -2
- package/dist/chunks/{worktree-07fse4w0.js → repository-cache-cb6hg470.js} +5 -5
- package/dist/chunks/{worktree-k2m8pptq.js → repository-cache-cnh7rm97.js} +5 -5
- package/dist/chunks/{worktree-q2jwrh60.js → repository-cache-cpvd08na.js} +7 -7
- package/dist/chunks/{worktree-h8v5vxey.js → repository-cache-cq64w893.js} +38 -38
- package/dist/chunks/{worktree-cwrgdav8.js → repository-cache-cwrgdav8.js} +2 -2
- package/dist/chunks/{worktree-zcg95h97.js → repository-cache-cwy0vxkf.js} +24 -24
- package/dist/chunks/{worktree-07ahnxpv.js → repository-cache-d0gzc6r9.js} +7 -7
- package/dist/chunks/{worktree-sycm2b37.js → repository-cache-d1bpbjnm.js} +32 -32
- package/dist/chunks/{worktree-d4v9tmah.js → repository-cache-d4v9tmah.js} +2 -2
- package/dist/chunks/{worktree-sf19b4c0.js → repository-cache-d557ra3j.js} +11 -11
- package/dist/chunks/{worktree-4qn569k3.js → repository-cache-d9qsesfx.js} +34 -34
- package/dist/chunks/{worktree-4tqs0jzk.js → repository-cache-ddwaa558.js} +4 -4
- package/dist/chunks/{worktree-c32zfq3f.js → repository-cache-djadtdmr.js} +8 -8
- package/dist/chunks/{worktree-pr7ytc8h.js → repository-cache-dt4jdg3a.js} +5 -5
- package/dist/chunks/{worktree-dt77769w.js → repository-cache-dt77769w.js} +1 -1
- package/dist/chunks/{worktree-d4qb2rc3.js → repository-cache-dvnqv6yn.js} +4 -4
- package/dist/chunks/{worktree-e834z07m.js → repository-cache-e834z07m.js} +1 -1
- package/dist/chunks/{worktree-sf9kdjc8.js → repository-cache-ecgv8t09.js} +14 -14
- package/dist/chunks/{worktree-cpgc0rt5.js → repository-cache-ekkxmf4g.js} +9 -9
- package/dist/chunks/{worktree-eqw4pqj1.js → repository-cache-eqw4pqj1.js} +2 -2
- package/dist/chunks/{worktree-zj2xda4y.js → repository-cache-ewan1qgf.js} +59 -59
- package/dist/chunks/{worktree-tdbd8yb5.js → repository-cache-ezxsjh08.js} +12 -12
- package/dist/chunks/{worktree-s5x95w9q.js → repository-cache-f7jx66g0.js} +19 -19
- package/dist/chunks/{worktree-w5sebgte.js → repository-cache-f7nfmysm.js} +33 -33
- package/dist/chunks/repository-cache-f8ma18fn.js +18 -0
- package/dist/chunks/{worktree-bea5kyzz.js → repository-cache-fcbvcd8w.js} +3 -3
- package/dist/chunks/{worktree-0b9xxbk4.js → repository-cache-fcepfbwx.js} +11 -11
- package/dist/chunks/{worktree-fffv3p7h.js → repository-cache-fffv3p7h.js} +1 -1
- package/dist/chunks/{worktree-hrmcrqzx.js → repository-cache-fg6qht7z.js} +21 -21
- package/dist/chunks/{worktree-prq7xxp2.js → repository-cache-fg9p65nk.js} +6 -6
- package/dist/chunks/{worktree-7c865q8t.js → repository-cache-fksnpssn.js} +39 -39
- package/dist/chunks/{worktree-r0whk7ma.js → repository-cache-fkteqegr.js} +25 -25
- package/dist/chunks/{worktree-2979j558.js → repository-cache-fy5egg00.js} +4 -4
- package/dist/chunks/{worktree-ewpafzrt.js → repository-cache-g3s7hktw.js} +4 -4
- package/dist/chunks/{worktree-4q4588ge.js → repository-cache-g4qx8njx.js} +10 -10
- package/dist/chunks/{worktree-gb9fc6j3.js → repository-cache-g84d5t96.js} +3 -3
- package/dist/chunks/{worktree-gbjdnr5j.js → repository-cache-gbjdnr5j.js} +2 -2
- package/dist/chunks/repository-cache-gf5rrebp.js +571 -0
- package/dist/chunks/{worktree-ghrv1g9c.js → repository-cache-ghrv1g9c.js} +1 -1
- package/dist/chunks/{worktree-fnk39w76.js → repository-cache-gkyhj69x.js} +28 -28
- package/dist/chunks/{worktree-tg7s7b5t.js → repository-cache-gxs71cxp.js} +4 -4
- package/dist/chunks/{worktree-1r0s506n.js → repository-cache-gyh9cr2k.js} +18 -18
- package/dist/chunks/{worktree-y5mh7vp2.js → repository-cache-h5km7rmp.js} +48 -48
- package/dist/chunks/{worktree-n281rjbk.js → repository-cache-h861acdj.js} +20 -20
- package/dist/chunks/{worktree-naw23477.js → repository-cache-h8pahg21.js} +8 -8
- package/dist/chunks/{worktree-dm0jrs5z.js → repository-cache-hnb0d39k.js} +11 -11
- package/dist/chunks/{worktree-pb0kf979.js → repository-cache-hng2z574.js} +8 -8
- package/dist/chunks/{worktree-mfx89st4.js → repository-cache-hqk2k8xj.js} +26 -26
- package/dist/chunks/{worktree-961snsdf.js → repository-cache-hxewmaf0.js} +31 -31
- package/dist/chunks/{worktree-9kg5w032.js → repository-cache-hy8c1z76.js} +8 -8
- package/dist/chunks/{worktree-8qpxm99b.js → repository-cache-j1w6jv9f.js} +1 -1
- package/dist/chunks/{worktree-x2k1ychw.js → repository-cache-j29phncd.js} +42 -42
- package/dist/chunks/{worktree-jht64jd1.js → repository-cache-j376ae4e.js} +7 -7
- package/dist/chunks/{worktree-stef8tmv.js → repository-cache-j3gab23w.js} +18 -18
- package/dist/chunks/{worktree-naa63k2q.js → repository-cache-j8sdmxac.js} +5 -5
- package/dist/chunks/{worktree-ze75qvmd.js → repository-cache-j9nxzz3g.js} +3 -3
- package/dist/chunks/{worktree-5wq388zr.js → repository-cache-jbv7by8f.js} +5 -5
- package/dist/chunks/{worktree-6dqyy18z.js → repository-cache-jhwp234h.js} +4 -4
- package/dist/chunks/{worktree-evcme5n9.js → repository-cache-jsj2kb7z.js} +30 -30
- package/dist/chunks/{worktree-ay5x4fy8.js → repository-cache-jx8bmjsr.js} +4 -4
- package/dist/chunks/{worktree-twhtcdx9.js → repository-cache-jxd6f16v.js} +4 -4
- package/dist/chunks/{worktree-hws4enq1.js → repository-cache-k4w24gzt.js} +19 -19
- package/dist/chunks/{worktree-p9gzhtz4.js → repository-cache-k53hj7rs.js} +9 -9
- package/dist/chunks/{worktree-bfnkcv8p.js → repository-cache-k55yvrq8.js} +18 -18
- package/dist/chunks/{worktree-c2sxx3q3.js → repository-cache-k9d0tmsy.js} +87 -87
- package/dist/chunks/{worktree-kh8gdsej.js → repository-cache-kh8gdsej.js} +1 -1
- package/dist/chunks/{worktree-e79zfzq8.js → repository-cache-kqfwe6fh.js} +19 -19
- package/dist/chunks/{worktree-r54rewjw.js → repository-cache-kqz76vss.js} +6 -6
- package/dist/chunks/{worktree-cnm4awrx.js → repository-cache-kt9nnfjs.js} +48 -48
- package/dist/chunks/{worktree-kzczzf4v.js → repository-cache-kzczzf4v.js} +1 -1
- package/dist/chunks/{worktree-m1714858.js → repository-cache-m1714858.js} +1 -1
- package/dist/chunks/{worktree-exx5afb5.js → repository-cache-m4kbpbwy.js} +46 -46
- package/dist/chunks/{worktree-a22re53n.js → repository-cache-m5m4mawt.js} +21 -21
- package/dist/chunks/{worktree-prpax9jh.js → repository-cache-m8b0hmkn.js} +18 -18
- package/dist/chunks/{worktree-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-cf51b305.js → repository-cache-maahcrgj.js} +16 -16
- package/dist/chunks/{worktree-e1ccxrq8.js → repository-cache-me215f18.js} +1 -1
- package/dist/chunks/{worktree-mm06edep.js → repository-cache-mm06edep.js} +1 -1
- package/dist/chunks/{worktree-ycgjzw5v.js → repository-cache-mrgb2a4m.js} +84 -84
- package/dist/chunks/{worktree-33x3jfcy.js → repository-cache-mw6xpct4.js} +22 -22
- package/dist/chunks/{worktree-01r2mdpa.js → repository-cache-n1wvmqaw.js} +10 -10
- package/dist/chunks/{worktree-8n9wgy94.js → repository-cache-n8p1a6g7.js} +29 -29
- package/dist/chunks/{worktree-qpxhges9.js → repository-cache-ncxak54a.js} +91 -91
- package/dist/chunks/{worktree-m0xtcepj.js → repository-cache-ng4tgbdz.js} +12 -12
- package/dist/chunks/{worktree-c13wcaar.js → repository-cache-nhgkss9c.js} +4 -4
- package/dist/chunks/{worktree-ep6pe98a.js → repository-cache-nn2nd58t.js} +7 -7
- package/dist/chunks/{worktree-amws027c.js → repository-cache-nw32hq9a.js} +13 -13
- package/dist/chunks/{worktree-wegkxhrn.js → repository-cache-nx4vzyjd.js} +2 -2
- package/dist/chunks/{worktree-nyxvvj5y.js → repository-cache-nyxvvj5y.js} +1 -1
- package/dist/chunks/{worktree-rdwatp9k.js → repository-cache-p07n1nra.js} +25 -25
- package/dist/chunks/{worktree-2wc8f514.js → repository-cache-p2tq4kr4.js} +4 -4
- package/dist/chunks/{worktree-7fhkpr78.js → repository-cache-p4y4gte6.js} +9 -9
- package/dist/chunks/{worktree-qfcp58yd.js → repository-cache-p5fywhk1.js} +3 -3
- package/dist/chunks/{worktree-ywv6jdkf.js → repository-cache-p5tk1xdz.js} +11 -11
- package/dist/chunks/{worktree-qrag8e5m.js → repository-cache-p911a251.js} +17 -17
- package/dist/chunks/{worktree-khtr56zv.js → repository-cache-pa6k4317.js} +9 -9
- package/dist/chunks/{worktree-cfm1yjxv.js → repository-cache-pc5xv1xx.js} +6 -6
- package/dist/chunks/{worktree-fxemjphr.js → repository-cache-phybxfj4.js} +29 -25
- package/dist/chunks/{worktree-463jnd59.js → repository-cache-pjg7v7g5.js} +11 -11
- package/dist/chunks/{worktree-tf0ezbbb.js → repository-cache-pkmmfs3s.js} +33 -33
- package/dist/chunks/{worktree-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-0et0taa6.js → repository-cache-pz0sfbj3.js} +12 -12
- package/dist/chunks/{worktree-jbjxtmqj.js → repository-cache-q2yv65ar.js} +10 -10
- package/dist/chunks/{worktree-jjn5kh7j.js → repository-cache-q5kt2txt.js} +2 -2
- package/dist/chunks/{worktree-2k6sb4h3.js → repository-cache-q5rkgeb7.js} +33 -33
- package/dist/chunks/{worktree-bjzwn0fc.js → repository-cache-q94k5xag.js} +11 -11
- package/dist/chunks/{worktree-ds78r8ez.js → repository-cache-qew61d36.js} +18 -18
- package/dist/chunks/{worktree-vmqe41cb.js → repository-cache-qfz6bxfd.js} +4 -4
- package/dist/chunks/{worktree-qj27ec1j.js → repository-cache-qj27ec1j.js} +2 -2
- package/dist/chunks/{worktree-adbhcxyp.js → repository-cache-qkc4txyr.js} +8 -8
- package/dist/chunks/{worktree-d0btwhwp.js → repository-cache-qmncx9et.js} +14 -14
- package/dist/chunks/{worktree-0gg55sk6.js → repository-cache-qp1j9gx1.js} +8 -8
- package/dist/chunks/{worktree-qp7r0hxv.js → repository-cache-qp7r0hxv.js} +1 -1
- package/dist/chunks/{worktree-k3cx6fhe.js → repository-cache-qsdghx1p.js} +4 -4
- package/dist/chunks/{worktree-av89gnzb.js → repository-cache-qvbkypgt.js} +8 -8
- package/dist/chunks/{worktree-qnqasnye.js → repository-cache-qw2t3dzn.js} +6 -6
- package/dist/chunks/{worktree-4ffhv9d7.js → repository-cache-r0m92t3y.js} +8 -8
- package/dist/chunks/{worktree-83n3qhh1.js → repository-cache-r8ne8z0s.js} +17 -17
- package/dist/chunks/{worktree-ztca8zvm.js → repository-cache-ra4eg6v2.js} +13 -13
- package/dist/chunks/{worktree-rb9dy4dg.js → repository-cache-rb9dy4dg.js} +1 -1
- package/dist/chunks/{worktree-ztf6n3de.js → repository-cache-rcbjwvze.js} +4 -4
- package/dist/chunks/{worktree-xkbnndjd.js → repository-cache-rfpd92cq.js} +9 -9
- package/dist/chunks/{worktree-rgc9cx3e.js → repository-cache-rgc9cx3e.js} +2 -2
- package/dist/chunks/{worktree-m46bs37d.js → repository-cache-rhrvxtbv.js} +5 -5
- package/dist/chunks/{worktree-rj7jtxy8.js → repository-cache-rj7jtxy8.js} +3 -3
- package/dist/chunks/{worktree-7h9z2yfj.js → repository-cache-rk0hf552.js} +24 -24
- package/dist/chunks/{worktree-rt5dr6hb.js → repository-cache-rt5dr6hb.js} +1 -1
- package/dist/chunks/{worktree-gmxj1p4q.js → repository-cache-rvc92y6q.js} +16 -16
- package/dist/chunks/{worktree-sd5wz7t0.js → repository-cache-rwk2fnkc.js} +3 -3
- package/dist/chunks/{worktree-ad21tgm2.js → repository-cache-s1ba0vj0.js} +4 -4
- package/dist/chunks/{worktree-d5cy4hj8.js → repository-cache-s1dbe4ph.js} +15 -15
- package/dist/chunks/{worktree-7q4dqg5y.js → repository-cache-s4dd1dkr.js} +13 -13
- package/dist/chunks/{worktree-1xzbtabx.js → repository-cache-s8w07hhj.js} +21 -21
- package/dist/chunks/{worktree-sa3fpqfw.js → repository-cache-sa3fpqfw.js} +2 -2
- package/dist/chunks/{worktree-sbya78hr.js → repository-cache-sbya78hr.js} +1 -1
- package/dist/chunks/{worktree-w4236kmx.js → repository-cache-shqt4tg1.js} +13 -13
- package/dist/chunks/{worktree-92j0c8pv.js → repository-cache-sm0v90f9.js} +8 -8
- package/dist/chunks/{worktree-60zd28f7.js → repository-cache-smhgbwgb.js} +15 -15
- package/dist/chunks/{worktree-sqjzf8x2.js → repository-cache-sqjzf8x2.js} +1 -1
- package/dist/chunks/{worktree-4c4em911.js → repository-cache-sqtk4kde.js} +9 -9
- package/dist/chunks/{worktree-g5xtrw43.js → repository-cache-ssbjkerf.js} +9 -9
- package/dist/chunks/{worktree-ez8h1hnq.js → repository-cache-sspakpas.js} +15 -15
- package/dist/chunks/{worktree-p1gsvzc2.js → repository-cache-str9wgcc.js} +44 -44
- package/dist/chunks/{worktree-svcy3p9a.js → repository-cache-svcy3p9a.js} +1 -1
- package/dist/chunks/{worktree-2hngz3am.js → repository-cache-t2w0276p.js} +6 -6
- package/dist/chunks/{worktree-r7zrbnjn.js → repository-cache-t62dywgn.js} +4 -4
- package/dist/chunks/{worktree-5n02ryyv.js → repository-cache-t68b6a1a.js} +43 -43
- package/dist/chunks/{worktree-er9m98qz.js → repository-cache-t9pw00nj.js} +9 -9
- package/dist/chunks/{worktree-hwc8smr1.js → repository-cache-tb0r11sh.js} +19 -19
- package/dist/chunks/{worktree-tczq8hjw.js → repository-cache-tczq8hjw.js} +1 -1
- package/dist/chunks/{worktree-5znhrc7b.js → repository-cache-tfbh0ys0.js} +31 -31
- package/dist/chunks/{worktree-3nnrz6f6.js → repository-cache-tmc7xdjs.js} +4 -4
- package/dist/chunks/{worktree-rjyw8k91.js → repository-cache-tqhrmc4d.js} +6 -6
- package/dist/chunks/{worktree-ss9p8hht.js → repository-cache-twgcqmbs.js} +29 -29
- package/dist/chunks/{worktree-twssxy5n.js → repository-cache-twssxy5n.js} +2 -2
- package/dist/chunks/{worktree-ndxv5fgk.js → repository-cache-tz8eqr11.js} +9 -9
- package/dist/chunks/{worktree-0rgj5x6r.js → repository-cache-v19wj8hw.js} +1 -1
- package/dist/chunks/{worktree-v2r1d0zg.js → repository-cache-v2r1d0zg.js} +1 -1
- package/dist/chunks/{worktree-ysqjx66q.js → repository-cache-v2x3jtqh.js} +6 -6
- package/dist/chunks/{worktree-vr16wtjc.js → repository-cache-v6nb87wz.js} +4 -4
- package/dist/chunks/{worktree-jmh1j2qr.js → repository-cache-vajcf8z8.js} +9 -9
- package/dist/chunks/{worktree-8ed3t8h5.js → repository-cache-vbegfqj5.js} +20 -20
- package/dist/chunks/{worktree-vjf35v1f.js → repository-cache-vjf35v1f.js} +1 -1
- package/dist/chunks/{worktree-ds00na2f.js → repository-cache-vmeb0awz.js} +9 -9
- package/dist/chunks/{worktree-6ryabd48.js → repository-cache-vw7tgt0x.js} +18 -18
- package/dist/chunks/{worktree-nhaepnzz.js → repository-cache-w1zmw0j0.js} +8 -8
- package/dist/chunks/{worktree-ayyfmxcr.js → repository-cache-w2sb21bb.js} +10 -10
- package/dist/chunks/{worktree-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-3pyrw5vr.js → repository-cache-w6312yaw.js} +25 -25
- package/dist/chunks/{worktree-wr3re1en.js → repository-cache-w687dnns.js} +4 -4
- package/dist/chunks/{worktree-q6bn7qw5.js → repository-cache-wa8k00xj.js} +6 -6
- package/dist/chunks/{worktree-wakvkjy4.js → repository-cache-wakvkjy4.js} +1 -1
- package/dist/chunks/{worktree-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-kbesq96w.js → repository-cache-wf1m3h04.js} +16 -16
- package/dist/chunks/{worktree-wnhgecwx.js → repository-cache-wnhgecwx.js} +1 -1
- package/dist/chunks/{worktree-3rrsm3qv.js → repository-cache-wx3jdmfq.js} +11 -11
- package/dist/chunks/{worktree-knagcy2c.js → repository-cache-wxgjsayh.js} +11 -11
- package/dist/chunks/repository-cache-x0g2yw4m.js +26 -0
- package/dist/chunks/{worktree-0r6crq0n.js → repository-cache-x3nq4fqn.js} +10 -10
- package/dist/chunks/repository-cache-x7kkwesj.js +265 -0
- package/dist/chunks/{worktree-xx3wcr8r.js → repository-cache-xhc0sbzt.js} +5 -5
- package/dist/chunks/{worktree-04whjz6n.js → repository-cache-xjbsd7zy.js} +9 -9
- package/dist/chunks/{worktree-xxschbft.js → repository-cache-xjr6c8m4.js} +4 -4
- package/dist/chunks/{worktree-pz7ryx86.js → repository-cache-xk70r0xg.js} +11 -11
- package/dist/chunks/{worktree-yts2a8qm.js → repository-cache-xksw6ev0.js} +4 -4
- package/dist/chunks/{worktree-f4jww6xy.js → repository-cache-xpsvaypt.js} +9 -9
- package/dist/chunks/{worktree-tpsybwrx.js → repository-cache-xpxrcxw7.js} +10 -10
- package/dist/chunks/{worktree-6dz3c3e9.js → repository-cache-xw5mamnk.js} +18 -18
- package/dist/chunks/{worktree-e0dfrqtx.js → repository-cache-xza8sa1q.js} +23 -23
- package/dist/chunks/{worktree-cvzc8cs9.js → repository-cache-y47xsr57.js} +18 -18
- package/dist/chunks/{worktree-9vw34fdr.js → repository-cache-y58zdc56.js} +16 -16
- package/dist/chunks/{worktree-yb20nhc3.js → repository-cache-yb20nhc3.js} +1 -1
- package/dist/chunks/{worktree-4tnarq1t.js → repository-cache-ybws1qgk.js} +6 -6
- package/dist/chunks/{worktree-ztr7xwzb.js → repository-cache-ydbbrfg1.js} +5 -5
- package/dist/chunks/{worktree-8xv4yg02.js → repository-cache-ygwvpf8d.js} +21 -21
- package/dist/chunks/{worktree-846d36hk.js → repository-cache-yp198zx3.js} +9 -9
- package/dist/chunks/{worktree-yr705xyq.js → repository-cache-yr705xyq.js} +1 -1
- package/dist/chunks/{worktree-0q4tzmn8.js → repository-cache-ysbrq79k.js} +29 -29
- package/dist/chunks/{worktree-yvtc2x31.js → repository-cache-yvtc2x31.js} +1 -1
- package/dist/chunks/{worktree-af349d2v.js → repository-cache-z0cbg25n.js} +27 -27
- package/dist/chunks/{worktree-nywnbdne.js → repository-cache-z1tseqzz.js} +38 -38
- package/dist/chunks/{worktree-bpqft4yq.js → repository-cache-z597atea.js} +16 -16
- package/dist/chunks/{worktree-23gmbq8f.js → repository-cache-zh3qqm7s.js} +19 -19
- package/dist/chunks/{worktree-0n2768ta.js → repository-cache-zjyc304t.js} +21 -21
- package/dist/chunks/{worktree-jb7jr1xx.js → repository-cache-zm7k6k12.js} +20 -20
- package/dist/chunks/{worktree-by8ty0bx.js → repository-cache-zpdbqgja.js} +4 -4
- package/dist/chunks/{worktree-jn8s1hgw.js → repository-cache-zqab1dhd.js} +14 -14
- package/dist/chunks/{worktree-7y2ake26.js → repository-cache-zr3g104n.js} +31 -31
- package/dist/chunks/{worktree-95gfcqac.js → repository-cache-zybks6b0.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +236 -236
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +143 -143
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +130 -130
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/console-access.js +7 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/database.js +81 -81
- 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/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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/v1-migration.bun.js +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +437 -437
- 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 +85 -85
- package/dist/file-access.js +157 -157
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +161 -161
- 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 +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +249 -249
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +5 -5
- package/dist/filesystem.js +114 -114
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- 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 +106 -106
- 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 +428 -428
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +96 -96
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +179 -179
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +425 -425
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +155 -155
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +179 -179
- package/dist/mcp/oauth.js +110 -92
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +154 -154
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +153 -153
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +240 -240
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +406 -406
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- 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 +5 -5
- 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 +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- 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 +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- 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 +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +157 -157
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +235 -235
- package/dist/plugin/sdk.js +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +416 -416
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +247 -247
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +245 -245
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +251 -251
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +200 -200
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +246 -246
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +202 -202
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +147 -147
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +167 -167
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +254 -254
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +182 -182
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +149 -149
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +86 -86
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +233 -233
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +204 -204
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +247 -247
- package/dist/session/usage.js +3 -3
- package/dist/session.js +237 -237
- package/dist/shared-cache.js +5 -5
- 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 +11 -11
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +154 -154
- package/dist/snapshot.js +102 -102
- 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 +180 -180
- package/dist/tool/plugin/artifact.js +232 -232
- package/dist/tool/plugin/edit.js +167 -167
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +165 -165
- package/dist/tool/plugin/grep.js +170 -170
- package/dist/tool/plugin/image-generate.js +241 -241
- package/dist/tool/plugin/mcp-resource.js +164 -164
- package/dist/tool/plugin/opencode.js +163 -163
- package/dist/tool/plugin/patch.js +168 -168
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +172 -172
- package/dist/tool/plugin/schedule.js +251 -251
- package/dist/tool/plugin/shell.js +237 -237
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +234 -234
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +168 -168
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -159
- package/dist/types/integration.d.ts +2 -0
- package/dist/types/mcp/oauth.d.ts +1 -0
- package/dist/usage-limits.js +98 -98
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- 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 +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +84 -84
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- 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 +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/worktree-0sx8rwxa.js +0 -16
- package/dist/chunks/worktree-11a0j3ac.js +0 -571
- package/dist/chunks/worktree-653b6b81.js +0 -26
- package/dist/chunks/worktree-8cxynj88.js +0 -265
- package/dist/chunks/worktree-z355x5yr.js +0 -18
- /package/dist/chunks/{worktree-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-108x4f4w.js → repository-cache-108x4f4w.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kah00gy.js → repository-cache-1kah00gy.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3af0jn4w.js → repository-cache-3af0jn4w.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4qk9sjk2.js → repository-cache-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5w3e23ze.js → repository-cache-5w3e23ze.js} +0 -0
- /package/dist/chunks/{worktree-6agm2x70.js → repository-cache-6agm2x70.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-beh6qq61.js → repository-cache-beh6qq61.js} +0 -0
- /package/dist/chunks/{worktree-bhmrqjy3.js → repository-cache-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cqv5kn06.js → repository-cache-cqv5kn06.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-ean2d8b5.js → repository-cache-ean2d8b5.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fkpq3x5p.js → repository-cache-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jwr30sdr.js → repository-cache-jwr30sdr.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-m18g726c.js → repository-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-nh4v3znn.js → repository-cache-nh4v3znn.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-p71gwv9c.js → repository-cache-p71gwv9c.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-syrav9an.js → repository-cache-syrav9an.js} +0 -0
- /package/dist/chunks/{worktree-t03h4f5z.js → repository-cache-t03h4f5z.js} +0 -0
- /package/dist/chunks/{worktree-ty7weeps.js → repository-cache-ty7weeps.js} +0 -0
- /package/dist/chunks/{worktree-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{worktree-vtarvj67.js → repository-cache-vtarvj67.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-z0h12gs8.js → repository-cache-z0h12gs8.js} +0 -0
- /package/dist/chunks/{worktree-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
- /package/dist/chunks/{worktree-zxpyjp51.js → repository-cache-zxpyjp51.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service89,
|
|
3
|
+
node93
|
|
4
|
+
} from "./repository-cache-2bzd8xhn.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service85,
|
|
9
|
+
node89
|
|
10
|
+
} from "./repository-cache-by7xstp6.js";
|
|
11
11
|
import {
|
|
12
12
|
changes2,
|
|
13
13
|
create4
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-40y6dtc2.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cache-jhwp234h.js";
|
|
18
18
|
import {
|
|
19
19
|
validateAnswer2,
|
|
20
20
|
validateFields2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-zm7k6k12.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/integration.ts
|
|
27
27
|
var exports_integration3 = {};
|
|
@@ -36,18 +36,18 @@ __export(exports_integration3, {
|
|
|
36
36
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
37
37
|
CommandMethod: () => CommandMethod2,
|
|
38
38
|
EnvMethod: () => EnvMethod2,
|
|
39
|
-
Event: () =>
|
|
39
|
+
Event: () => Event18,
|
|
40
40
|
ExternalMethod: () => ExternalMethod2,
|
|
41
41
|
ID: () => ID18,
|
|
42
|
-
Info: () =>
|
|
42
|
+
Info: () => Info26,
|
|
43
43
|
Integration: () => exports_integration3,
|
|
44
44
|
KeyMethod: () => KeyMethod2,
|
|
45
45
|
Method: () => Method2,
|
|
46
46
|
MethodID: () => MethodID2,
|
|
47
47
|
OAuthMethod: () => OAuthMethod2,
|
|
48
48
|
Ref: () => Ref4,
|
|
49
|
-
Service: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
Service: () => Service83,
|
|
50
|
+
node: () => node87
|
|
51
51
|
});
|
|
52
52
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
53
53
|
import {
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
import { Integration } from "@opencode/schema/integration";
|
|
70
70
|
import { AppProcess } from "@opencode/util/process";
|
|
71
71
|
import { ChildProcess } from "effect/process";
|
|
72
|
-
import { Event as
|
|
72
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
73
73
|
var ID18 = Integration.ID;
|
|
74
74
|
var MethodID2 = Integration.MethodID;
|
|
75
75
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -79,7 +79,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
79
79
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
80
80
|
var EnvMethod2 = Integration.EnvMethod;
|
|
81
81
|
var Method2 = Integration.Method;
|
|
82
|
-
var
|
|
82
|
+
var Info26 = Integration.Info;
|
|
83
83
|
var Attempt2 = Integration.Attempt;
|
|
84
84
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
85
85
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -108,14 +108,14 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
|
|
|
108
108
|
}
|
|
109
109
|
var Ref4 = Integration.Ref;
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service83 extends Context.Service()("@opencode/Integration") {
|
|
112
112
|
}
|
|
113
113
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
114
114
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
115
115
|
var scrubInterval = Duration.seconds(30);
|
|
116
|
-
var layer = Layer.effect(
|
|
117
|
-
const credentials = yield*
|
|
118
|
-
const bus = yield*
|
|
116
|
+
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
117
|
+
const credentials = yield* Service85;
|
|
118
|
+
const bus = yield* Service89;
|
|
119
119
|
const processes = yield* AppProcess.Service;
|
|
120
120
|
const scope = yield* Scope.Scope;
|
|
121
121
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
201
201
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
202
202
|
return [...credentials, ...env];
|
|
203
203
|
};
|
|
204
|
-
const project = (entry, connections) =>
|
|
204
|
+
const project = (entry, connections) => Info26.make({
|
|
205
205
|
id: entry.ref.id,
|
|
206
206
|
name: entry.ref.name,
|
|
207
207
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -357,6 +357,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
357
357
|
url: authorization.url,
|
|
358
358
|
instructions: authorization.instructions,
|
|
359
359
|
mode: authorization.mode,
|
|
360
|
+
...authorization.mode === "auto" && authorization.submit ? { paste: true } : {},
|
|
360
361
|
time
|
|
361
362
|
});
|
|
362
363
|
});
|
|
@@ -402,7 +403,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
402
403
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
403
404
|
return CommandAttempt2.make({ attemptID, time });
|
|
404
405
|
});
|
|
405
|
-
return
|
|
406
|
+
return Service83.of({
|
|
406
407
|
transform: state.transform,
|
|
407
408
|
reload: state.reload,
|
|
408
409
|
revision: state.revision,
|
|
@@ -522,6 +523,8 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
522
523
|
return yield* new AttemptNotFoundError2(input);
|
|
523
524
|
if (attempt.status !== "pending")
|
|
524
525
|
return;
|
|
526
|
+
if (attempt.authorization.mode === "auto" && attempt.authorization.submit && input.code !== undefined)
|
|
527
|
+
return yield* authorize(attempt.authorization.submit(input.code));
|
|
525
528
|
if (attempt.authorization.mode === "code" && input.code === undefined) {
|
|
526
529
|
return yield* new CodeRequiredError2({ attemptID: input.attemptID });
|
|
527
530
|
}
|
|
@@ -568,10 +571,10 @@ var answerError = (form, answer, method) => {
|
|
|
568
571
|
if (method && Object.keys(answer).length > 0)
|
|
569
572
|
return `${method} method does not accept a form answer`;
|
|
570
573
|
};
|
|
571
|
-
var
|
|
572
|
-
service:
|
|
574
|
+
var node87 = makeLocationNode({
|
|
575
|
+
service: Service83,
|
|
573
576
|
layer,
|
|
574
|
-
deps: [
|
|
577
|
+
deps: [node89, node93, AppProcess.node]
|
|
575
578
|
});
|
|
576
579
|
|
|
577
|
-
export { ID18, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2,
|
|
580
|
+
export { ID18, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info26, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref4, Service83, node87, exports_integration3, Event18 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info21
|
|
7
|
+
} from "./repository-cache-2kg89srt.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigAgentV1: () =>
|
|
16
|
-
Info: () =>
|
|
13
|
+
var exports_agent3 = {};
|
|
14
|
+
__export(exports_agent3, {
|
|
15
|
+
ConfigAgentV1: () => exports_agent3,
|
|
16
|
+
Info: () => Info19
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info21)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info19 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info19, exports_agent3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider4 = {};
|
|
10
10
|
__export(exports_provider4, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider4,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info20,
|
|
13
13
|
Model: () => Model3,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model3 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info20 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -91,4 +91,4 @@ var Info19 = Schema.Struct({
|
|
|
91
91
|
models: Schema.optional(Schema.Record(Schema.String, Model3))
|
|
92
92
|
}).annotate({ identifier: "ProviderConfig" });
|
|
93
93
|
|
|
94
|
-
export { ModelStatus2, Model3,
|
|
94
|
+
export { ModelStatus2, Model3, Info20, exports_provider4 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Service91,
|
|
3
|
-
node95
|
|
4
|
-
} from "./worktree-pz7ryx86.js";
|
|
5
|
-
import {
|
|
6
|
-
latestSequence2,
|
|
7
2
|
Service90,
|
|
8
3
|
node94
|
|
9
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-xk70r0xg.js";
|
|
5
|
+
import {
|
|
6
|
+
latestSequence2,
|
|
7
|
+
Service89,
|
|
8
|
+
node93
|
|
9
|
+
} from "./repository-cache-2bzd8xhn.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-0ma9gw4f.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-t9pw00nj.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service74,
|
|
21
|
+
node78
|
|
22
|
+
} from "./repository-cache-smhgbwgb.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service24,
|
|
25
|
+
node29
|
|
26
|
+
} from "./repository-cache-mrgb2a4m.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-cache-4f25tdd0.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service9,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer8,
|
|
42
|
+
node: () => node11
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
|
|
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service9 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var messagePrompt = (text) => `Here is the first message of the conversation:
|
|
@@ -72,12 +72,12 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
72
72
|
title: session.title,
|
|
73
73
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
74
74
|
});
|
|
75
|
-
var
|
|
76
|
-
const bus = yield*
|
|
75
|
+
var layer8 = Layer.effect(Service9, Effect.gen(function* () {
|
|
76
|
+
const bus = yield* Service89;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
80
|
-
const db = (yield*
|
|
78
|
+
const context = yield* Service24;
|
|
79
|
+
const store = yield* Service74;
|
|
80
|
+
const db = (yield* Service90).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
83
83
|
let failed = false;
|
|
@@ -158,12 +158,12 @@ Recent conversation:
|
|
|
158
158
|
title: truncate(title)
|
|
159
159
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
160
160
|
});
|
|
161
|
-
return
|
|
161
|
+
return Service9.of({ generate });
|
|
162
162
|
}));
|
|
163
|
-
var
|
|
164
|
-
service:
|
|
165
|
-
layer:
|
|
166
|
-
deps: [
|
|
163
|
+
var node11 = makeLocationNode({
|
|
164
|
+
service: Service9,
|
|
165
|
+
layer: layer8,
|
|
166
|
+
deps: [node93, llmClient2, node29, node78, node94]
|
|
167
167
|
});
|
|
168
168
|
|
|
169
|
-
export {
|
|
169
|
+
export { Service9, isUntitled2, layer8, node11, exports_title };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service89,
|
|
3
|
+
node93
|
|
4
|
+
} from "./repository-cache-2bzd8xhn.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
Agent: () =>
|
|
14
|
+
var exports_agent4 = {};
|
|
15
|
+
__export(exports_agent4, {
|
|
16
|
+
Agent: () => exports_agent4,
|
|
17
17
|
Color: () => Color2,
|
|
18
|
-
Event: () =>
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
18
|
+
Event: () => Event15,
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info23,
|
|
21
21
|
Name: () => Name3,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service80,
|
|
23
23
|
defaultID: () => defaultID2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node84
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
|
-
import { Event as
|
|
30
|
-
var
|
|
29
|
+
import { Event as Event15 } from "@opencode/schema/agent";
|
|
30
|
+
var ID15 = Agent.ID;
|
|
31
31
|
var Name3 = Agent.Name;
|
|
32
|
-
var defaultID2 =
|
|
32
|
+
var defaultID2 = ID15.make("build");
|
|
33
33
|
var Color2 = Agent.Color;
|
|
34
|
-
var
|
|
34
|
+
var Info23 = Agent.Info;
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service80 extends Context.Service()("@opencode/Agent") {
|
|
37
37
|
}
|
|
38
|
-
var layer = Layer.effect(
|
|
39
|
-
const bus = yield*
|
|
38
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
39
|
+
const bus = yield* Service89;
|
|
40
40
|
const selectable = (agent) => agent && agent.mode !== "subagent" && !agent.hidden ? agent : undefined;
|
|
41
41
|
const selectedDefault = (data) => {
|
|
42
42
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
68
68
|
editor.default = id;
|
|
69
69
|
},
|
|
70
70
|
update: (id, fn) => {
|
|
71
|
-
const current = editor.agents.get(id) ??
|
|
71
|
+
const current = editor.agents.get(id) ?? Info23.default(id);
|
|
72
72
|
if (!editor.agents.has(id))
|
|
73
73
|
editor.agents.set(id, current);
|
|
74
74
|
fn(current);
|
|
@@ -80,7 +80,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
80
80
|
}),
|
|
81
81
|
notify: changes2(list, () => bus.publish(Agent.Event.Updated, {}).pipe(Effect.asVoid))
|
|
82
82
|
});
|
|
83
|
-
return
|
|
83
|
+
return Service80.of({
|
|
84
84
|
transform: state.transform,
|
|
85
85
|
reload: state.reload,
|
|
86
86
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
88
88
|
}),
|
|
89
89
|
resolve: Effect.fnUntraced(function* (id) {
|
|
90
90
|
if (id !== undefined)
|
|
91
|
-
return state.get().agents.get(
|
|
91
|
+
return state.get().agents.get(ID15.make(id));
|
|
92
92
|
return selectedDefault(state.get());
|
|
93
93
|
}),
|
|
94
94
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
@@ -102,6 +102,6 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
102
102
|
})
|
|
103
103
|
});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
105
|
+
var node84 = makeLocationNode({ service: Service80, layer, deps: [node93] });
|
|
106
106
|
|
|
107
|
-
export {
|
|
107
|
+
export { ID15, Name3, defaultID2, Color2, Info23, Service80, node84, exports_agent4, Event15 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service88,
|
|
3
|
+
node92
|
|
4
|
+
} from "./repository-cache-3xvjtn27.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info30,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref5,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service87,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node91,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info30, Ref as Ref5, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
23
23
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
24
24
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
25
|
-
class
|
|
25
|
+
class Service87 extends Context.Service()("@opencode/Location") {
|
|
26
26
|
}
|
|
27
|
-
var
|
|
28
|
-
var layer = (ref) => Layer.effect(
|
|
27
|
+
var node91 = LayerNode.unbound(Service87, tags.values.location);
|
|
28
|
+
var layer = (ref) => Layer.effect(Service87, Effect.gen(function* () {
|
|
29
29
|
const fs = yield* FSUtil.Service;
|
|
30
|
-
const project = yield*
|
|
30
|
+
const project = yield* Service88;
|
|
31
31
|
const persist = ref.workspaceID !== undefined || (yield* fs.isDir(ref.directory));
|
|
32
32
|
const resolved = yield* project.resolve(ref.directory, { persist });
|
|
33
|
-
return
|
|
33
|
+
return Service87.of({
|
|
34
34
|
directory: ref.directory,
|
|
35
35
|
workspaceID: ref.workspaceID,
|
|
36
36
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -38,9 +38,9 @@ var layer = (ref) => Layer.effect(Service86, Effect.gen(function* () {
|
|
|
38
38
|
});
|
|
39
39
|
}));
|
|
40
40
|
var boundNode2 = (ref) => makeLocationNode({
|
|
41
|
-
service:
|
|
41
|
+
service: Service87,
|
|
42
42
|
layer: layer(ref),
|
|
43
|
-
deps: [FSUtil.node,
|
|
43
|
+
deps: [FSUtil.node, node92]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Info30, Ref5, response2, Service87, node91, boundNode2, exports_location };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service87
|
|
6
|
+
} from "./repository-cache-8eynzsy4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service69
|
|
9
|
+
} from "./repository-cache-b0v1b7fn.js";
|
|
10
10
|
import {
|
|
11
11
|
InvalidPatternError2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service61
|
|
13
|
+
} from "./repository-cache-xw5mamnk.js";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_SEARCH_LIMIT2,
|
|
16
16
|
GrepInput2,
|
|
17
17
|
Entry2,
|
|
18
18
|
Match2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-m5m4mawt.js";
|
|
20
20
|
import {
|
|
21
21
|
invocation2,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service73
|
|
23
|
+
} from "./repository-cache-m4kbpbwy.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service68
|
|
26
|
+
} from "./repository-cache-p07n1nra.js";
|
|
27
27
|
import {
|
|
28
28
|
pathType2,
|
|
29
29
|
bounded2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-cache-rwk2fnkc.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/grep.ts
|
|
36
36
|
var exports_grep = {};
|
|
37
37
|
__export(exports_grep, {
|
|
38
38
|
GrepTool: () => exports_grep,
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
39
|
+
Input: () => Input3,
|
|
40
|
+
Output: () => Output2,
|
|
41
|
+
Plugin: () => Plugin41,
|
|
42
|
+
name: () => name3,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
46
46
|
import { Effect, Schema } from "effect";
|
|
47
47
|
import path from "path";
|
|
48
|
-
var
|
|
49
|
-
var
|
|
48
|
+
var name3 = "grep";
|
|
49
|
+
var Input3 = Schema.Struct({
|
|
50
50
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
51
51
|
description: "Regular expression or literal text to match in file contents."
|
|
52
52
|
}),
|
|
@@ -66,8 +66,8 @@ var Input14 = Schema.Struct({
|
|
|
66
66
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
67
67
|
})
|
|
68
68
|
});
|
|
69
|
-
var
|
|
70
|
-
var
|
|
69
|
+
var Output2 = Schema.Array(Match2);
|
|
70
|
+
var toModelContent2 = (matches, truncated = false) => {
|
|
71
71
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
72
72
|
let current = "";
|
|
73
73
|
for (const match of matches) {
|
|
@@ -84,25 +84,25 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
84
84
|
return lines.join(`
|
|
85
85
|
`);
|
|
86
86
|
};
|
|
87
|
-
var
|
|
87
|
+
var Plugin41 = {
|
|
88
88
|
id: "opencode.tool.grep",
|
|
89
89
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
90
|
-
const environment = yield*
|
|
91
|
-
const ripgrep = yield*
|
|
92
|
-
const location = yield*
|
|
93
|
-
const access = yield*
|
|
94
|
-
const permission = yield*
|
|
90
|
+
const environment = yield* Service69;
|
|
91
|
+
const ripgrep = yield* Service61;
|
|
92
|
+
const location = yield* Service87;
|
|
93
|
+
const access = yield* Service68;
|
|
94
|
+
const permission = yield* Service73;
|
|
95
95
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
96
|
-
name:
|
|
96
|
+
name: name3,
|
|
97
97
|
options: { codemode: false },
|
|
98
98
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
99
|
-
input:
|
|
100
|
-
output:
|
|
99
|
+
input: Input3,
|
|
100
|
+
output: Output2,
|
|
101
101
|
execute: (input, context) => Effect.gen(function* () {
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name3,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -139,7 +139,7 @@ var Plugin32 = {
|
|
|
139
139
|
};
|
|
140
140
|
}).pipe(Effect.map((result) => ({
|
|
141
141
|
output: result.matches,
|
|
142
|
-
content:
|
|
142
|
+
content: toModelContent2(result.matches.map((match) => ({
|
|
143
143
|
...match,
|
|
144
144
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
145
145
|
})), result.truncated),
|
|
@@ -149,4 +149,4 @@ var Plugin32 = {
|
|
|
149
149
|
})
|
|
150
150
|
};
|
|
151
151
|
|
|
152
|
-
export {
|
|
152
|
+
export { name3, Input3, Output2, toModelContent2, Plugin41, exports_grep };
|