@opencode/core 0.0.0-dev-1266 → 0.0.0-dev-1275
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 +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +9 -9
- package/dist/artifact.js +250 -250
- package/dist/bus.js +80 -80
- package/dist/chunks/{credential-034tev2y.js → file-retention-034tev2y.js} +2 -2
- package/dist/chunks/{credential-zesaewyn.js → file-retention-04tv7frf.js} +9 -9
- package/dist/chunks/{credential-h26mtg3g.js → file-retention-06v46bpq.js} +17 -17
- package/dist/chunks/{credential-n2a04dsk.js → file-retention-09exjb9z.js} +93 -93
- package/dist/chunks/{credential-47pjmyws.js → file-retention-09xx3e9d.js} +21 -21
- package/dist/chunks/{credential-2azy8kv6.js → file-retention-0ahs07zn.js} +4 -4
- package/dist/chunks/{credential-2aq4mjey.js → file-retention-0cm2734h.js} +23 -23
- package/dist/chunks/{credential-p45cj9je.js → file-retention-0d10ewvx.js} +4 -4
- package/dist/chunks/{credential-2pg7vmjx.js → file-retention-0efy3j82.js} +59 -59
- package/dist/chunks/{credential-ttz31trp.js → file-retention-0fvxehme.js} +5 -5
- package/dist/chunks/{credential-jd2k76th.js → file-retention-0gtpsn3x.js} +3 -3
- package/dist/chunks/{credential-7h0xs0hp.js → file-retention-0ja1snzm.js} +5 -5
- package/dist/chunks/{credential-2ejmkwxb.js → file-retention-0kbsc3bc.js} +10 -10
- package/dist/chunks/{credential-0ma9gw4f.js → file-retention-0ma9gw4f.js} +2 -2
- package/dist/chunks/{credential-16b1vswp.js → file-retention-0rsmmchx.js} +4 -4
- package/dist/chunks/{credential-k2b8fd82.js → file-retention-0vp45jwm.js} +18 -18
- package/dist/chunks/{credential-5k437nf0.js → file-retention-150b7jmw.js} +25 -25
- package/dist/chunks/{credential-1aqsckx4.js → file-retention-1aqsckx4.js} +1 -1
- package/dist/chunks/{credential-1aryjtsy.js → file-retention-1aryjtsy.js} +1 -1
- package/dist/chunks/{credential-1ep2p91f.js → file-retention-1ep2p91f.js} +2 -2
- package/dist/chunks/{credential-msd2a3qm.js → file-retention-1v2g13eq.js} +4 -4
- package/dist/chunks/{credential-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
- package/dist/chunks/{credential-qzz1xg45.js → file-retention-1x3dkayz.js} +34 -34
- package/dist/chunks/{credential-w687dnns.js → file-retention-1yped5qa.js} +4 -4
- package/dist/chunks/{credential-2vaagxfs.js → file-retention-1ytda9fg.js} +186 -186
- package/dist/chunks/{credential-9x0sbzbr.js → file-retention-22qctdeq.js} +10 -10
- package/dist/chunks/file-retention-2dkjcnxp.js +18 -0
- package/dist/chunks/file-retention-2ev4mpw4.js +26 -0
- package/dist/chunks/{credential-2fc7eemy.js → file-retention-2fc7eemy.js} +1 -1
- package/dist/chunks/{credential-2p60zmnr.js → file-retention-2p60zmnr.js} +2 -2
- package/dist/chunks/{credential-gbeepg6c.js → file-retention-2p8k2s7w.js} +12 -12
- package/dist/chunks/{credential-2prt43t7.js → file-retention-2prt43t7.js} +1 -1
- package/dist/chunks/{credential-erz96mch.js → file-retention-3cq3byd1.js} +26 -26
- package/dist/chunks/{credential-mg9811wm.js → file-retention-3czc66q2.js} +11 -11
- package/dist/chunks/{credential-nkpvg6fm.js → file-retention-3gfdscm4.js} +23 -23
- package/dist/chunks/{credential-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-pq1zgjhw.js → file-retention-3j14174f.js} +7 -7
- package/dist/chunks/{credential-55jns0y6.js → file-retention-3j87ya0s.js} +56 -56
- package/dist/chunks/{credential-fssek1qm.js → file-retention-3jchp7r6.js} +19 -19
- package/dist/chunks/{credential-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
- package/dist/chunks/{credential-r17fbvme.js → file-retention-3qgwywyc.js} +4 -4
- package/dist/chunks/{credential-nwd067wd.js → file-retention-3qh97n76.js} +4 -4
- package/dist/chunks/{credential-pjswj2se.js → file-retention-3r9gxn8p.js} +11 -11
- package/dist/chunks/{credential-48m9x6qm.js → file-retention-3ra5990g.js} +3 -3
- package/dist/chunks/{credential-40y6dtc2.js → file-retention-40y6dtc2.js} +1 -1
- package/dist/chunks/{credential-zh2sgnz7.js → file-retention-42f9g7sr.js} +28 -28
- package/dist/chunks/{credential-vstw9esd.js → file-retention-44pa0r3g.js} +10 -10
- package/dist/chunks/{credential-44pmzq9c.js → file-retention-44pmzq9c.js} +2 -2
- package/dist/chunks/{credential-ky55b5b1.js → file-retention-4aq2cbca.js} +4 -4
- package/dist/chunks/{credential-7215dbqr.js → file-retention-4bwthz3m.js} +6 -6
- package/dist/chunks/{credential-d9b35bsm.js → file-retention-4d7zxp2a.js} +18 -18
- package/dist/chunks/{credential-pd7cqnhq.js → file-retention-4dfqsw0d.js} +4 -4
- package/dist/chunks/{credential-4dx1dgte.js → file-retention-4dx1dgte.js} +1 -1
- package/dist/chunks/{credential-4f25tdd0.js → file-retention-4f25tdd0.js} +1 -1
- package/dist/chunks/{credential-w99w1ysk.js → file-retention-4kkdjnw8.js} +5 -5
- package/dist/chunks/{credential-1dr9rxn2.js → file-retention-4nrkag3r.js} +33 -33
- package/dist/chunks/{credential-4pyp9zr9.js → file-retention-4pyp9zr9.js} +1 -1
- package/dist/chunks/{credential-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
- package/dist/chunks/{credential-pp6tj5nn.js → file-retention-50dkjas4.js} +12 -12
- package/dist/chunks/{credential-5cw7hx5n.js → file-retention-52je48kk.js} +5 -5
- package/dist/chunks/{credential-44qjfwz8.js → file-retention-52rc22q8.js} +8 -8
- package/dist/chunks/{credential-dxfardcv.js → file-retention-560dfe2w.js} +16 -16
- package/dist/chunks/{credential-6y22pqa5.js → file-retention-56xt8ks8.js} +28 -28
- package/dist/chunks/{credential-755j803s.js → file-retention-5cjcvxnn.js} +19 -19
- package/dist/chunks/{credential-v0j23fj0.js → file-retention-5d3y61h0.js} +8 -8
- package/dist/chunks/{credential-w2eysc6j.js → file-retention-5enarcya.js} +6 -6
- package/dist/chunks/{credential-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
- package/dist/chunks/{credential-v6z75vyy.js → file-retention-5nsh16xn.js} +7 -7
- package/dist/chunks/{credential-f1b4f75h.js → file-retention-5pa1dgs1.js} +14 -14
- package/dist/chunks/{credential-pq0hd913.js → file-retention-5qd2gt0z.js} +4 -4
- package/dist/chunks/{credential-a0njj5td.js → file-retention-5xdgvpxd.js} +3 -3
- package/dist/chunks/{credential-ead5v0mw.js → file-retention-5yzck44w.js} +24 -24
- package/dist/chunks/{credential-eegta8rz.js → file-retention-60ppm0h1.js} +31 -31
- package/dist/chunks/{credential-8fzjn2mz.js → file-retention-62gb4g00.js} +11 -11
- package/dist/chunks/{credential-z0gmqx6j.js → file-retention-667z2zx1.js} +39 -39
- package/dist/chunks/{credential-0n8hhfa1.js → file-retention-66yzdfmc.js} +3 -3
- package/dist/chunks/{credential-hmqmja9x.js → file-retention-68ffpfcm.js} +9 -9
- package/dist/chunks/{credential-hw1wavdn.js → file-retention-69mw4eyz.js} +17 -17
- package/dist/chunks/{credential-t8t4hh39.js → file-retention-6d420gkt.js} +2 -2
- package/dist/chunks/{credential-7mgf1y04.js → file-retention-6fnvvkcf.js} +9 -9
- package/dist/chunks/{credential-bj026bf1.js → file-retention-6jbb2aeh.js} +11 -11
- package/dist/chunks/{credential-7n9cxsfy.js → file-retention-6jnjjsb4.js} +3 -3
- package/dist/chunks/{credential-8a4y06xp.js → file-retention-6pntshe6.js} +14 -14
- package/dist/chunks/{credential-ra3z9b2f.js → file-retention-77yjsakq.js} +3 -3
- package/dist/chunks/{credential-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-f5xy1qn8.js → file-retention-7mcabm6m.js} +6 -6
- package/dist/chunks/{credential-vjhrddsw.js → file-retention-7nb8tm12.js} +5 -5
- package/dist/chunks/{credential-w4xw9ac5.js → file-retention-7nqkf5r1.js} +2 -2
- package/dist/chunks/{credential-0bv4xa50.js → file-retention-7pts1ak4.js} +20 -20
- package/dist/chunks/{credential-fygfs8gq.js → file-retention-7qk7973a.js} +21 -21
- package/dist/chunks/{credential-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
- package/dist/chunks/{credential-7weczvnd.js → file-retention-7weczvnd.js} +1 -1
- package/dist/chunks/{credential-fhbz4jre.js → file-retention-7ww0j6wb.js} +28 -28
- package/dist/chunks/{credential-170v4zn2.js → file-retention-7zwayxc3.js} +9 -9
- package/dist/chunks/{credential-80mg3ag8.js → file-retention-80mg3ag8.js} +3 -3
- package/dist/chunks/{credential-80pdk984.js → file-retention-80pdk984.js} +1 -1
- package/dist/chunks/{credential-r1q9g2m1.js → file-retention-85b3prs0.js} +33 -33
- package/dist/chunks/{credential-85jq8dht.js → file-retention-85jq8dht.js} +1 -1
- package/dist/chunks/{credential-fcmxqga5.js → file-retention-86kd7kzh.js} +4 -4
- package/dist/chunks/{credential-4brve7m4.js → file-retention-89ebr2vf.js} +23 -23
- package/dist/chunks/{credential-8b3vzgkx.js → file-retention-8b3vzgkx.js} +1 -1
- package/dist/chunks/{credential-xvpaagpx.js → file-retention-8ek76eqy.js} +10 -10
- package/dist/chunks/{credential-gx76kxxn.js → file-retention-8es3pha2.js} +9 -9
- package/dist/chunks/{credential-8vmsfhyj.js → file-retention-8fd4mn1c.js} +12 -12
- package/dist/chunks/{credential-8kjyvwy5.js → file-retention-8kjyvwy5.js} +1 -1
- package/dist/chunks/{credential-qk70ddp3.js → file-retention-8njq14s6.js} +25 -25
- package/dist/chunks/{credential-h7yfjjyr.js → file-retention-8pan14bd.js} +6 -6
- package/dist/chunks/{credential-zv2g9xcb.js → file-retention-8q1q12k3.js} +10 -10
- package/dist/chunks/{credential-8sxe6kv8.js → file-retention-8sxe6kv8.js} +2 -2
- package/dist/chunks/{credential-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
- package/dist/chunks/{credential-8rgb2cvr.js → file-retention-8ykqf5wm.js} +7 -7
- package/dist/chunks/{credential-8zv0xmg5.js → file-retention-8zv0xmg5.js} +1 -1
- package/dist/chunks/{credential-m6hyr5tc.js → file-retention-94k3x7fw.js} +9 -9
- package/dist/chunks/{credential-1qhqc27h.js → file-retention-95m5nm6t.js} +23 -23
- package/dist/chunks/{credential-rn6817b0.js → file-retention-963hk181.js} +9 -9
- package/dist/chunks/{credential-9yw73g0b.js → file-retention-9c7qz02m.js} +42 -42
- package/dist/chunks/{credential-j68k2dd2.js → file-retention-a75rh4gh.js} +46 -46
- package/dist/chunks/{credential-pas0ngh7.js → file-retention-ab317q8b.js} +7 -7
- package/dist/chunks/{credential-p9291rxh.js → file-retention-ahpgc8cc.js} +19 -19
- package/dist/chunks/{credential-fkd994t1.js → file-retention-amzpgvrk.js} +21 -21
- package/dist/chunks/{credential-g098wjz0.js → file-retention-axztvgqb.js} +34 -35
- package/dist/chunks/{credential-ayjs7tqn.js → file-retention-ayjs7tqn.js} +2 -2
- package/dist/chunks/{credential-6537r86n.js → file-retention-aytg7816.js} +4 -4
- package/dist/chunks/{credential-b26ddj6h.js → file-retention-b26ddj6h.js} +4 -4
- package/dist/chunks/{credential-b0fy1v2h.js → file-retention-bdv8sqrq.js} +1 -1
- package/dist/chunks/{credential-297gyf9e.js → file-retention-bdwbwdha.js} +4 -4
- package/dist/chunks/{credential-pf46waa6.js → file-retention-bhm679s9.js} +16 -16
- package/dist/chunks/{credential-q1xyrh11.js → file-retention-bmhe4rg7.js} +13 -13
- package/dist/chunks/{credential-t5ngt2e6.js → file-retention-bqp6xy8k.js} +47 -60
- package/dist/chunks/{credential-xd9cc171.js → file-retention-bstexjd6.js} +5 -5
- package/dist/chunks/{credential-mczeabwm.js → file-retention-bxhjfq4f.js} +10 -10
- package/dist/chunks/{credential-asm9vz9z.js → file-retention-by0d0avf.js} +38 -35
- package/dist/chunks/{credential-7t325v9v.js → file-retention-c1vk4cgc.js} +13 -13
- package/dist/chunks/{credential-6ndwemk5.js → file-retention-c63tvp3g.js} +32 -32
- package/dist/chunks/{credential-nzrnzpf0.js → file-retention-c726nvqq.js} +21 -21
- package/dist/chunks/{credential-esc72zzd.js → file-retention-c9xapkpf.js} +36 -36
- package/dist/chunks/{credential-w6nmzeby.js → file-retention-cfh4jfjc.js} +16 -16
- package/dist/chunks/{credential-92waa1rm.js → file-retention-cmn8rvxz.js} +7 -7
- package/dist/chunks/{credential-t7ns9v9m.js → file-retention-cs73jd0s.js} +11 -11
- package/dist/chunks/{credential-y9x9m3cp.js → file-retention-ctmpqb7w.js} +9 -9
- package/dist/chunks/{credential-cwrgdav8.js → file-retention-cwrgdav8.js} +2 -2
- package/dist/chunks/{credential-2bswbpgz.js → file-retention-cxab28sr.js} +4 -4
- package/dist/chunks/{credential-d4v9tmah.js → file-retention-d4v9tmah.js} +2 -2
- package/dist/chunks/{credential-zg3a0ws0.js → file-retention-d5pat9xm.js} +15 -15
- package/dist/chunks/{credential-bm62pr2s.js → file-retention-d9fan7x9.js} +10 -10
- package/dist/chunks/{credential-gw4haqx5.js → file-retention-dq4qq6ky.js} +8 -8
- package/dist/chunks/{credential-ksmsp0en.js → file-retention-drd1heem.js} +7 -7
- package/dist/chunks/{credential-dt77769w.js → file-retention-dt77769w.js} +1 -1
- package/dist/chunks/{credential-rnjyc0x3.js → file-retention-dv3b9r4y.js} +17 -17
- package/dist/chunks/{credential-548t6f90.js → file-retention-dvq2ad43.js} +18 -18
- package/dist/chunks/{credential-evg6t15x.js → file-retention-e0j5ff10.js} +5 -5
- package/dist/chunks/file-retention-e4vg19md.js +273 -0
- package/dist/chunks/{credential-05p04pxs.js → file-retention-e9v8rvcx.js} +25 -25
- package/dist/chunks/{credential-f8qcf1g3.js → file-retention-ea9gdnjh.js} +26 -26
- package/dist/chunks/{credential-4mqfjmg2.js → file-retention-ejbss7k5.js} +3 -3
- package/dist/chunks/{credential-0pmkfzvq.js → file-retention-eq4sfy6p.js} +11 -11
- package/dist/chunks/{credential-eqw4pqj1.js → file-retention-eqw4pqj1.js} +2 -2
- package/dist/chunks/{credential-3zcve5r9.js → file-retention-ev31077d.js} +16 -16
- package/dist/chunks/{credential-1at1r0z7.js → file-retention-evzwwyk8.js} +30 -30
- package/dist/chunks/{credential-7kdah1f2.js → file-retention-ewcb59am.js} +9 -9
- package/dist/chunks/{credential-284atmfe.js → file-retention-exvyxjzm.js} +16 -16
- package/dist/chunks/{credential-s516hjqf.js → file-retention-f49b5jkw.js} +25 -25
- package/dist/chunks/{credential-mz2z015j.js → file-retention-feyxv19c.js} +14 -14
- package/dist/chunks/{credential-ea76zaj4.js → file-retention-ffhnscww.js} +7 -7
- package/dist/chunks/{credential-66930yf4.js → file-retention-fgvpvm77.js} +25 -25
- package/dist/chunks/{credential-1nvhvshq.js → file-retention-fh0fq9b5.js} +2 -2
- package/dist/chunks/{credential-5e55b4vg.js → file-retention-fjfy99sp.js} +16 -16
- package/dist/chunks/{credential-tmekpwey.js → file-retention-frmf8ahe.js} +15 -15
- package/dist/chunks/{credential-h7b3bxr7.js → file-retention-ft9k8fee.js} +4 -4
- package/dist/chunks/{credential-h5kxrezk.js → file-retention-fww0ckjz.js} +27 -27
- package/dist/chunks/{credential-v6062tn6.js → file-retention-fyfz6y7c.js} +38 -38
- package/dist/chunks/{credential-tw9f37sx.js → file-retention-g0spxtp6.js} +22 -22
- package/dist/chunks/{credential-bctkw1y7.js → file-retention-g7av7xrx.js} +25 -25
- package/dist/chunks/{credential-gbjdnr5j.js → file-retention-gbjdnr5j.js} +2 -2
- package/dist/chunks/{credential-tykbxjwp.js → file-retention-gc6rk9wr.js} +4 -4
- package/dist/chunks/{credential-qh0sybr2.js → file-retention-ge5br79w.js} +27 -27
- package/dist/chunks/{credential-ghrv1g9c.js → file-retention-ghrv1g9c.js} +1 -1
- package/dist/chunks/{credential-vdmajd6q.js → file-retention-gpgwkesj.js} +18 -18
- package/dist/chunks/{credential-3rd5m6vm.js → file-retention-gvxv930q.js} +21 -21
- package/dist/chunks/{credential-tg7s7b5t.js → file-retention-gxs71cxp.js} +4 -4
- package/dist/chunks/{credential-81avqzmv.js → file-retention-gy9f922q.js} +10 -10
- package/dist/chunks/{credential-g42b6ca9.js → file-retention-h0rg6s60.js} +4 -4
- package/dist/chunks/{credential-y9x812en.js → file-retention-h2wrp3yj.js} +77 -77
- package/dist/chunks/{credential-kzrp6a9e.js → file-retention-h7ezd2nn.js} +5 -5
- package/dist/chunks/{credential-haz0swaw.js → file-retention-h8jbka20.js} +22 -22
- package/dist/chunks/{credential-c1wm9w65.js → file-retention-heemzf90.js} +3 -3
- package/dist/chunks/{credential-hgzwgvze.js → file-retention-hgzwgvze.js} +2 -2
- package/dist/chunks/{credential-2s42xwzj.js → file-retention-hhqkzs30.js} +8 -8
- package/dist/chunks/{credential-jtj80tfk.js → file-retention-hm2477qa.js} +24 -41
- package/dist/chunks/{credential-jh9q4qkg.js → file-retention-hretfjjx.js} +2 -2
- package/dist/chunks/{credential-z658waa6.js → file-retention-hvdaxvp6.js} +19 -19
- package/dist/chunks/{credential-5wfjk0m2.js → file-retention-j06rjn1j.js} +22 -22
- package/dist/chunks/{credential-qq9c9g32.js → file-retention-j0pb0h51.js} +6 -6
- package/dist/chunks/{credential-6f8g2psv.js → file-retention-j1xv4v49.js} +12 -12
- package/dist/chunks/{credential-kb5p7079.js → file-retention-j2f88nx3.js} +37 -37
- package/dist/chunks/{credential-x5fke988.js → file-retention-j4rt9t5q.js} +2 -2
- package/dist/chunks/{credential-89hc1rzn.js → file-retention-jj536981.js} +8 -8
- package/dist/chunks/{credential-jkdcm5hg.js → file-retention-jkdcm5hg.js} +1 -1
- package/dist/chunks/{credential-jm70asfg.js → file-retention-jm70asfg.js} +1 -1
- package/dist/chunks/{credential-cwmw1m7p.js → file-retention-jnq57at3.js} +26 -26
- package/dist/chunks/{credential-rjyjacaf.js → file-retention-jw36j8wc.js} +15 -15
- package/dist/chunks/{credential-ab3scrh1.js → file-retention-jz0mx6tr.js} +11 -11
- package/dist/chunks/{credential-kj9n5bvh.js → file-retention-k46dd5bg.js} +4 -4
- package/dist/chunks/{credential-f9t22jxr.js → file-retention-k4cv2hms.js} +6 -6
- package/dist/chunks/{credential-gykwdayw.js → file-retention-kbdxrbcm.js} +42 -42
- package/dist/chunks/{credential-67wwskyb.js → file-retention-kbgs7tyr.js} +4 -4
- package/dist/chunks/{credential-8hfmqq8w.js → file-retention-kc4ez2ea.js} +8 -8
- package/dist/chunks/file-retention-kd251xf9.js +587 -0
- package/dist/chunks/{credential-083bb7kr.js → file-retention-khj9x6xc.js} +1 -1
- package/dist/chunks/{credential-1r670a2x.js → file-retention-kjsepkch.js} +14 -14
- package/dist/chunks/{credential-3ztt38fd.js → file-retention-kkf7ngzn.js} +13 -13
- package/dist/chunks/{credential-84vrmdvh.js → file-retention-kmcen3k3.js} +14 -14
- package/dist/chunks/{credential-kt3bjfbg.js → file-retention-kt3bjfbg.js} +1 -1
- package/dist/chunks/{credential-epr7hfg3.js → file-retention-kxkhg3zq.js} +10 -10
- package/dist/chunks/{credential-kzczzf4v.js → file-retention-kzczzf4v.js} +1 -1
- package/dist/chunks/{credential-m1714858.js → file-retention-m1714858.js} +1 -1
- package/dist/chunks/{credential-m90tx7mw.js → file-retention-m90tx7mw.js} +1 -1
- package/dist/chunks/{credential-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-mb7mbhnz.js → file-retention-mb7mbhnz.js} +3 -3
- package/dist/chunks/{credential-pxbvf64t.js → file-retention-mbhm97dq.js} +5 -5
- package/dist/chunks/{credential-bq1e659v.js → file-retention-mfj4zn8r.js} +29 -29
- package/dist/chunks/{credential-2qv5ter1.js → file-retention-mhc0p716.js} +7 -7
- package/dist/chunks/{credential-reebcp87.js → file-retention-mhd9r07a.js} +15 -15
- package/dist/chunks/{credential-mk3p57ba.js → file-retention-mk3p57ba.js} +2 -2
- package/dist/chunks/{credential-2cn0txnp.js → file-retention-mkcfyg48.js} +11 -11
- package/dist/chunks/{credential-jrn9m81j.js → file-retention-mnhjkgm7.js} +31 -31
- package/dist/chunks/{credential-8bpryfcs.js → file-retention-mnyx5pgk.js} +28 -28
- package/dist/chunks/{credential-g7h89rq2.js → file-retention-mqfpt9za.js} +42 -42
- package/dist/chunks/{credential-pgvvr17p.js → file-retention-mxgx47vh.js} +3 -3
- package/dist/chunks/{credential-ysbtdz6z.js → file-retention-mywchkag.js} +36 -36
- package/dist/chunks/{credential-tswdvt6j.js → file-retention-n185pfet.js} +20 -20
- package/dist/chunks/{credential-x50jzt61.js → file-retention-n1zsgr9w.js} +47 -47
- package/dist/chunks/{credential-6vwjxhgq.js → file-retention-n6qtc6gw.js} +8 -8
- package/dist/chunks/{credential-dtrrxc61.js → file-retention-nv2c5e9q.js} +3 -3
- package/dist/chunks/{credential-2v6ndzyx.js → file-retention-nwrmc6eh.js} +13 -13
- package/dist/chunks/{credential-9ajzb2kh.js → file-retention-p3vyqzsr.js} +8 -8
- package/dist/chunks/{credential-1p2mzk0s.js → file-retention-p4ejt6rk.js} +4 -4
- package/dist/chunks/{credential-7yyd0evv.js → file-retention-p4rtjgzz.js} +13 -13
- package/dist/chunks/{credential-p7vhpwh8.js → file-retention-p7vhpwh8.js} +1 -1
- package/dist/chunks/{credential-v6prs5bd.js → file-retention-pbqaqhra.js} +4 -4
- package/dist/chunks/{credential-05ag6pk8.js → file-retention-pcdy99rr.js} +15 -15
- package/dist/chunks/{credential-2w9hcewk.js → file-retention-pdfrrazy.js} +6 -6
- package/dist/chunks/{credential-tfwrvc1b.js → file-retention-phm1wtvk.js} +16 -16
- package/dist/chunks/{credential-2swk70vv.js → file-retention-pk5zk8y9.js} +9 -9
- package/dist/chunks/{credential-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{credential-prq7xxp2.js → file-retention-prq7xxp2.js} +2 -2
- package/dist/chunks/{credential-k8atft3w.js → file-retention-pv5h712h.js} +10 -10
- package/dist/chunks/{credential-d5arxgh9.js → file-retention-q6mj5sb5.js} +16 -16
- package/dist/chunks/{credential-j8argnn7.js → file-retention-qd3x4hec.js} +66 -66
- package/dist/chunks/{credential-mj6ctt7b.js → file-retention-qek3cncy.js} +3 -3
- package/dist/chunks/{credential-bqbrpb0z.js → file-retention-qj0z1s3r.js} +29 -29
- package/dist/chunks/{credential-xwq0gncp.js → file-retention-qjda8ra2.js} +86 -86
- package/dist/chunks/{credential-p2pbjxkj.js → file-retention-qmak0sqy.js} +5 -5
- package/dist/chunks/{credential-qp7r0hxv.js → file-retention-qp7r0hxv.js} +1 -1
- package/dist/chunks/{credential-5mmnhktp.js → file-retention-qvb43d5p.js} +11 -11
- package/dist/chunks/{credential-04f94dax.js → file-retention-qwbqpk8k.js} +43 -43
- package/dist/chunks/{credential-nm3ssbj1.js → file-retention-qzpac2v2.js} +23 -23
- package/dist/chunks/{credential-0gzv1ss9.js → file-retention-r3mdxadk.js} +37 -37
- package/dist/chunks/{credential-1j27xach.js → file-retention-r700gx2d.js} +17 -17
- package/dist/chunks/{credential-nck04nh4.js → file-retention-r7szk8ev.js} +12 -12
- package/dist/chunks/{credential-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
- package/dist/chunks/{credential-nbtpjsg4.js → file-retention-rbxfq0qh.js} +14 -14
- package/dist/chunks/{credential-rgc9cx3e.js → file-retention-rgc9cx3e.js} +2 -2
- package/dist/chunks/{credential-pnh89ay0.js → file-retention-rgt3k6v8.js} +41 -41
- package/dist/chunks/{credential-rj7j5fvs.js → file-retention-rj7j5fvs.js} +1 -1
- package/dist/chunks/{credential-94e33dpz.js → file-retention-rj7jtxy8.js} +3 -3
- package/dist/chunks/{credential-w75qynz4.js → file-retention-rkd48pdt.js} +6 -6
- package/dist/chunks/{credential-es0xdxx4.js → file-retention-s3v49wnk.js} +11 -11
- package/dist/chunks/{credential-s47rahr7.js → file-retention-s47rahr7.js} +1 -1
- package/dist/chunks/{credential-8zw7n6f9.js → file-retention-s4dm6e30.js} +17 -17
- package/dist/chunks/{credential-s7kyse9r.js → file-retention-s7kyse9r.js} +1 -1
- package/dist/chunks/{credential-nvx1pt8f.js → file-retention-s9fd3xwq.js} +14 -14
- package/dist/chunks/{credential-sbya78hr.js → file-retention-sbya78hr.js} +1 -1
- package/dist/chunks/{credential-ccrtc4jm.js → file-retention-sc9hyn7r.js} +6 -6
- package/dist/chunks/{credential-m11dydqq.js → file-retention-scs9p2da.js} +4 -4
- package/dist/chunks/{credential-75p4zwqn.js → file-retention-sdxq25xx.js} +10 -10
- package/dist/chunks/{credential-94nm4njz.js → file-retention-sgt041th.js} +15 -15
- package/dist/chunks/{credential-6qpf3bcy.js → file-retention-ssxfv6ww.js} +30 -30
- package/dist/chunks/{credential-svcy3p9a.js → file-retention-svcy3p9a.js} +1 -1
- package/dist/chunks/{credential-7m3261e6.js → file-retention-swh6q862.js} +11 -11
- package/dist/chunks/{credential-emh57nvb.js → file-retention-t12h4yen.js} +8 -8
- package/dist/chunks/{credential-y1n277rb.js → file-retention-t48jrnqq.js} +3 -3
- package/dist/chunks/{credential-t8erkws8.js → file-retention-t8erkws8.js} +2 -2
- package/dist/chunks/{credential-tb2mrvc9.js → file-retention-tb2mrvc9.js} +1 -1
- package/dist/chunks/{credential-tbpn7jtk.js → file-retention-tbpn7jtk.js} +1 -1
- package/dist/chunks/{credential-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
- package/dist/chunks/{credential-2t9xf391.js → file-retention-td2m5beg.js} +34 -34
- package/dist/chunks/{credential-tr8x705m.js → file-retention-tr8x705m.js} +1 -1
- package/dist/chunks/{credential-tvtps2q9.js → file-retention-tvtps2q9.js} +1 -1
- package/dist/chunks/{credential-twssxy5n.js → file-retention-twssxy5n.js} +2 -2
- package/dist/chunks/{credential-emzckfwf.js → file-retention-tz1vm39h.js} +49 -49
- package/dist/chunks/{credential-f68vxh6q.js → file-retention-v21gy18w.js} +7 -7
- package/dist/chunks/{credential-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
- package/dist/chunks/{credential-ykvsfm8k.js → file-retention-v5hpj9dd.js} +8 -8
- package/dist/chunks/{credential-a5gtmh0t.js → file-retention-v5wv1gmb.js} +5 -5
- package/dist/chunks/{credential-hxyt6xjy.js → file-retention-v7p9rwhb.js} +14 -14
- package/dist/chunks/{credential-v5gjxnwy.js → file-retention-va4jfsd2.js} +11 -11
- package/dist/chunks/{credential-hm3thh9r.js → file-retention-vcg7bpvq.js} +12 -12
- package/dist/chunks/file-retention-vcys6qhd.js +48 -0
- package/dist/chunks/{credential-a2fmjrw5.js → file-retention-vf2r618n.js} +20 -20
- package/dist/chunks/{credential-2f5h4exa.js → file-retention-vh41eekb.js} +50 -50
- package/dist/chunks/{credential-vjf35v1f.js → file-retention-vjf35v1f.js} +1 -1
- package/dist/chunks/{credential-j228j2n8.js → file-retention-vnqd166h.js} +2 -2
- package/dist/chunks/{credential-hz0tdhxc.js → file-retention-vp6f3r4t.js} +36 -36
- package/dist/chunks/{credential-1c1zg5kd.js → file-retention-vsk6pjy9.js} +21 -21
- package/dist/chunks/{credential-crvzxc72.js → file-retention-w18pj85q.js} +32 -32
- package/dist/chunks/{credential-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
- package/dist/chunks/{credential-b588tj1k.js → file-retention-wb0b7yq0.js} +23 -23
- package/dist/chunks/{credential-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{credential-yx8xd4nc.js → file-retention-we5qfhj5.js} +16 -16
- package/dist/chunks/{credential-wegkxhrn.js → file-retention-wegkxhrn.js} +2 -2
- package/dist/chunks/{credential-h6wxadm3.js → file-retention-whpxj07g.js} +6 -6
- package/dist/chunks/{credential-9be3praa.js → file-retention-wj07hs0y.js} +7 -7
- package/dist/chunks/{credential-j0xx1eam.js → file-retention-wk43x6sn.js} +9 -9
- package/dist/chunks/{credential-agje4kmn.js → file-retention-wvr8xscb.js} +4 -4
- package/dist/chunks/{credential-4pw98qd4.js → file-retention-x26wqd07.js} +4 -4
- package/dist/chunks/{credential-7dxs97e8.js → file-retention-x9rvnbpf.js} +7 -7
- package/dist/chunks/{credential-r17j3nh0.js → file-retention-xb99jcsv.js} +16 -16
- package/dist/chunks/{credential-neqamc1y.js → file-retention-xdw1z05c.js} +9 -9
- package/dist/chunks/{credential-br85n61x.js → file-retention-xjbsd7zy.js} +9 -9
- package/dist/chunks/{credential-jxxxy27w.js → file-retention-xnapnxbk.js} +8 -8
- package/dist/chunks/{credential-azqdag7d.js → file-retention-xvn8mnch.js} +4 -4
- package/dist/chunks/{credential-xxschbft.js → file-retention-xxschbft.js} +1 -1
- package/dist/chunks/{credential-s640psbm.js → file-retention-xzrej5mb.js} +14 -14
- package/dist/chunks/{credential-h79y8tf0.js → file-retention-y1wz0kre.js} +3 -3
- package/dist/chunks/{credential-jd64w3eg.js → file-retention-y36pttez.js} +24 -24
- package/dist/chunks/{credential-wq2zrtad.js → file-retention-y8hpy02j.js} +3 -3
- package/dist/chunks/{credential-pcgy6jah.js → file-retention-yat07sy7.js} +6 -6
- package/dist/chunks/{credential-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
- package/dist/chunks/{credential-yr705xyq.js → file-retention-yr705xyq.js} +1 -1
- package/dist/chunks/{credential-yvtc2x31.js → file-retention-yvtc2x31.js} +1 -1
- package/dist/chunks/{credential-0d0009t3.js → file-retention-yx4a6ynz.js} +11 -11
- package/dist/chunks/{credential-e8xb975w.js → file-retention-yxb8rzbt.js} +9 -9
- package/dist/chunks/{credential-90ct6wq4.js → file-retention-z080rjh6.js} +4 -4
- package/dist/chunks/{credential-z0wbgq7s.js → file-retention-z0wbgq7s.js} +1 -1
- package/dist/chunks/{credential-g3wj12x4.js → file-retention-z6g4szpb.js} +8 -8
- package/dist/chunks/{credential-ep1m3t1v.js → file-retention-z9aj34kn.js} +26 -26
- package/dist/chunks/{credential-ze75qvmd.js → file-retention-ze75qvmd.js} +3 -3
- package/dist/chunks/{credential-8sgwsd6w.js → file-retention-zftx71qr.js} +33 -33
- package/dist/chunks/{credential-a2f34hqa.js → file-retention-zmek7bxz.js} +17 -17
- package/dist/chunks/{credential-8nvb8nf8.js → file-retention-znt68fg9.js} +22 -22
- package/dist/chunks/{credential-rwfczecq.js → file-retention-znwh7a4t.js} +54 -54
- package/dist/chunks/{credential-19cwwhz9.js → file-retention-zs3fp1wz.js} +8 -8
- package/dist/chunks/{credential-j3dzraeh.js → file-retention-ztpwyc0h.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +150 -150
- package/dist/codemode/instructions.js +8 -8
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +247 -247
- package/dist/config/plugin/compaction.js +175 -175
- package/dist/config/plugin/compatibility.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -132
- package/dist/config/plugin/location-watcher.js +133 -133
- package/dist/config/plugin/mcp.js +146 -146
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +158 -158
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +132 -132
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +132 -132
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- 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/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 +76 -76
- 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 +105 -105
- package/dist/effect/app-node-builder.js +450 -450
- 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 +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 +81 -81
- package/dist/file-access.js +162 -162
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +166 -166
- 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 +260 -260
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +134 -134
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +115 -115
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +113 -113
- 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 +441 -441
- package/dist/instruction-discovery.js +92 -92
- package/dist/instructions/builtins.js +97 -97
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- 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 +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +187 -187
- package/dist/location-lifecycle.js +155 -155
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +153 -153
- package/dist/mcp/instructions.js +190 -190
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +161 -161
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +113 -113
- package/dist/model-resolver.js +113 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +114 -114
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +122 -122
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -152
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +93 -93
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +146 -146
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +251 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +418 -418
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +151 -151
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +113 -113
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/provider.js +109 -109
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +163 -163
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- 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 +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +242 -242
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +154 -154
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +430 -430
- 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 +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +262 -262
- 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 +105 -105
- package/dist/provider.js +109 -109
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -111
- package/dist/reference/instructions.js +98 -98
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +270 -270
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +133 -133
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +177 -177
- package/dist/session/context.js +208 -208
- 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 +272 -272
- package/dist/session/execution/subagent-report.js +147 -147
- package/dist/session/execution.js +174 -174
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +154 -154
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +89 -89
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +142 -142
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +173 -173
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +176 -176
- package/dist/session/projector.js +148 -148
- package/dist/session/prompt.js +153 -153
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +144 -144
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +263 -263
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +155 -155
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +168 -168
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +196 -196
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +147 -147
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +171 -171
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +212 -212
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +257 -257
- package/dist/session/usage.js +1 -1
- package/dist/session.js +251 -251
- 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 +9 -9
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +156 -156
- package/dist/skill.js +155 -155
- 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 +191 -191
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +172 -172
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +176 -176
- package/dist/tool/plugin/grep.js +169 -169
- package/dist/tool/plugin/image-generate.js +257 -257
- package/dist/tool/plugin/mcp-events.js +168 -168
- package/dist/tool/plugin/mcp-resource.js +172 -172
- package/dist/tool/plugin/opencode.js +168 -168
- package/dist/tool/plugin/patch.js +171 -175
- package/dist/tool/plugin/question.js +153 -153
- package/dist/tool/plugin/read.js +177 -177
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +251 -251
- package/dist/tool/plugin/skill.js +162 -162
- package/dist/tool/plugin/subagent.js +251 -251
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +162 -162
- package/dist/tool/plugin/websearch.js +160 -160
- package/dist/tool/plugin/write.js +171 -173
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +165 -165
- package/dist/types/codemode/execution.d.ts +3 -1
- package/dist/types/codemode/fetch.d.ts +1 -15
- package/dist/types/session/model-request.d.ts +3 -3
- package/dist/types/tool/plugin/patch.d.ts +1 -22
- package/dist/types/tool/plugin/skill.d.ts +1 -2
- package/dist/types/tool/plugin/write.d.ts +1 -7
- package/dist/usage-limits.js +100 -100
- package/dist/util/canonical-json.js +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +1 -1
- 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 +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +91 -91
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- 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 +113 -113
- package/package.json +9 -9
- package/dist/chunks/credential-2868d8r5.js +0 -26
- package/dist/chunks/credential-2nnhn429.js +0 -273
- package/dist/chunks/credential-6bshxcsx.js +0 -18
- package/dist/chunks/credential-9ekzv16x.js +0 -61
- package/dist/chunks/credential-ywgtvdty.js +0 -587
- /package/dist/chunks/{credential-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kah00gy.js → file-retention-1kah00gy.js} +0 -0
- /package/dist/chunks/{credential-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4qk9sjk2.js → file-retention-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-5w3e23ze.js → file-retention-5w3e23ze.js} +0 -0
- /package/dist/chunks/{credential-6agm2x70.js → file-retention-6agm2x70.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-7rvsyqjv.js → file-retention-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9ceax7yg.js → file-retention-9ceax7yg.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-ade8csyh.js → file-retention-ade8csyh.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-beh6qq61.js → file-retention-beh6qq61.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cqv5kn06.js → file-retention-cqv5kn06.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-ean2d8b5.js → file-retention-ean2d8b5.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-fkpq3x5p.js → file-retention-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jwr30sdr.js → file-retention-jwr30sdr.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-m18g726c.js → file-retention-m18g726c.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-nh4v3znn.js → file-retention-nh4v3znn.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-p71gwv9c.js → file-retention-p71gwv9c.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-syrav9an.js → file-retention-syrav9an.js} +0 -0
- /package/dist/chunks/{credential-t03h4f5z.js → file-retention-t03h4f5z.js} +0 -0
- /package/dist/chunks/{credential-ty7weeps.js → file-retention-ty7weeps.js} +0 -0
- /package/dist/chunks/{credential-v2dnd5dt.js → file-retention-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{credential-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
- /package/dist/chunks/{credential-vtarvj67.js → file-retention-vtarvj67.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x4th4bpe.js → file-retention-x4th4bpe.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
- /package/dist/chunks/{credential-zxpyjp51.js → file-retention-zxpyjp51.js} +0 -0
- /package/dist/chunks/{credential-zz5vv3aq.js → file-retention-zz5vv3aq.js} +0 -0
|
@@ -1,53 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-7rvsyqjv.js";
|
|
4
4
|
import {
|
|
5
5
|
NotFound3,
|
|
6
6
|
WrongKind2,
|
|
7
7
|
Failed2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-svcy3p9a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service88
|
|
11
|
+
} from "./file-retention-69mw4eyz.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service71
|
|
14
|
+
} from "./file-retention-n185pfet.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service68
|
|
17
|
+
} from "./file-retention-sgt041th.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service70,
|
|
20
20
|
readText2,
|
|
21
21
|
syncTextBom2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-retention-kkf7ngzn.js";
|
|
23
23
|
import {
|
|
24
24
|
invocation2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service72
|
|
26
|
+
} from "./file-retention-4nrkag3r.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
Service69,
|
|
29
29
|
resolvePath2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-g7av7xrx.js";
|
|
31
31
|
import {
|
|
32
32
|
fileDiff2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-6prwharc.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/tool/plugin/patch.ts
|
|
39
39
|
var exports_patch = {};
|
|
40
40
|
__export(exports_patch, {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
Output: () => Output6,
|
|
41
|
+
Input: () => Input9,
|
|
42
|
+
Output: () => Output5,
|
|
44
43
|
PatchTool: () => exports_patch,
|
|
45
|
-
Plugin: () =>
|
|
46
|
-
name: () =>
|
|
47
|
-
toModelContent: () => toModelContent5
|
|
44
|
+
Plugin: () => Plugin48,
|
|
45
|
+
name: () => name9
|
|
48
46
|
});
|
|
49
47
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
50
|
-
import { FileDiff } from "@opencode/schema/file-diff";
|
|
51
48
|
import { Effect, Result, Schema } from "effect";
|
|
52
49
|
import { Bom } from "@opencode/util/bom";
|
|
53
50
|
import { Patch } from "@opencode/util/patch";
|
|
@@ -111,53 +108,39 @@ eof_line: "*** End of File" LF
|
|
|
111
108
|
`;
|
|
112
109
|
|
|
113
110
|
// src/tool/plugin/patch.ts
|
|
114
|
-
var
|
|
115
|
-
var
|
|
111
|
+
var name9 = "patch";
|
|
112
|
+
var Input9 = Schema.Struct({
|
|
116
113
|
patchText: Schema.String.annotate({
|
|
117
114
|
description: "The full patch text describing add, update, and delete operations"
|
|
118
115
|
})
|
|
119
116
|
});
|
|
120
|
-
var
|
|
121
|
-
|
|
122
|
-
resource: Schema.String,
|
|
123
|
-
target: Schema.String
|
|
124
|
-
});
|
|
125
|
-
var Output6 = Schema.Struct({
|
|
126
|
-
applied: Schema.Array(Applied2),
|
|
127
|
-
files: Schema.Array(FileDiff.Info)
|
|
128
|
-
});
|
|
129
|
-
var toModelContent5 = (output) => [
|
|
130
|
-
"Success. Updated the following files:",
|
|
131
|
-
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
132
|
-
].join(`
|
|
133
|
-
`);
|
|
134
|
-
var Plugin11 = {
|
|
117
|
+
var Output5 = Schema.Record(Schema.String, Schema.Never);
|
|
118
|
+
var Plugin48 = {
|
|
135
119
|
id: "opencode.tool.patch",
|
|
136
120
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
137
|
-
const environment = yield*
|
|
138
|
-
const access = yield*
|
|
139
|
-
const fileMutation = yield*
|
|
140
|
-
const formatter = yield*
|
|
141
|
-
const location = yield*
|
|
142
|
-
const permission = yield*
|
|
121
|
+
const environment = yield* Service71;
|
|
122
|
+
const access = yield* Service69;
|
|
123
|
+
const fileMutation = yield* Service70;
|
|
124
|
+
const formatter = yield* Service68;
|
|
125
|
+
const location = yield* Service88;
|
|
126
|
+
const permission = yield* Service72;
|
|
143
127
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
144
|
-
name:
|
|
128
|
+
name: name9,
|
|
145
129
|
options: { codemode: false, permission: "edit" },
|
|
146
130
|
description: patch_default,
|
|
147
|
-
input:
|
|
131
|
+
input: Input9,
|
|
148
132
|
freeform: { type: "lark", grammar: patch_grammar_default },
|
|
149
|
-
output:
|
|
133
|
+
output: Output5,
|
|
150
134
|
execute: (input, context) => {
|
|
151
|
-
const
|
|
135
|
+
const completed = [];
|
|
152
136
|
const parsed = Patch.parse(input.patchText);
|
|
153
137
|
const lockTargets = Result.isSuccess(parsed) ? parsed.success.flatMap((hunk) => [
|
|
154
138
|
resolvePath2(location.directory, hunk.path),
|
|
155
139
|
...hunk.type === "update" && hunk.movePath ? [resolvePath2(location.directory, hunk.movePath)] : []
|
|
156
140
|
]) : [];
|
|
157
141
|
const fail = (operation, error) => {
|
|
158
|
-
const completed = applied.map((item) => item.resource).join(", ");
|
|
159
142
|
return new ToolFailure({
|
|
160
|
-
message: `${operation}: ${errorMessage(error)}${completed ? `. Completed before failure: ${completed}` : ""}`
|
|
143
|
+
message: `${operation}: ${errorMessage(error)}${completed.length ? `. Completed before failure: ${completed.join(", ")}` : ""}`
|
|
161
144
|
});
|
|
162
145
|
};
|
|
163
146
|
return Effect.gen(function* () {
|
|
@@ -272,7 +255,7 @@ var Plugin11 = {
|
|
|
272
255
|
yield* environment.files.write(target.absolute, new TextEncoder().encode(change.content)).pipe(Effect.mapError((error) => fail(`Failed to write ${target.resource}`, error)));
|
|
273
256
|
if (moveTarget)
|
|
274
257
|
yield* environment.files.remove(change.target.absolute).pipe(Effect.mapError((error) => fail(`Wrote ${moveTarget.resource} but failed to remove ${change.target.resource}`, error)));
|
|
275
|
-
|
|
258
|
+
completed.push(target.resource);
|
|
276
259
|
}), { discard: true });
|
|
277
260
|
const formatted = new Map;
|
|
278
261
|
yield* Effect.forEach([...updates.entries()].flatMap(([target, value]) => value === null ? [] : [target]), (target) => Effect.gen(function* () {
|
|
@@ -285,12 +268,16 @@ var Plugin11 = {
|
|
|
285
268
|
const target = change.type === "update" && change.moveTarget ? change.moveTarget : change.target;
|
|
286
269
|
return patchFile(change, formatted.get(target.absolute));
|
|
287
270
|
});
|
|
288
|
-
return {
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
271
|
+
return {
|
|
272
|
+
output: {},
|
|
273
|
+
content: [
|
|
274
|
+
"Success. Updated the following files:",
|
|
275
|
+
...files.map((file) => `${file.status === "added" ? "A" : file.status === "deleted" ? "D" : "M"} ${file.file}`)
|
|
276
|
+
].join(`
|
|
277
|
+
`),
|
|
278
|
+
metadata: { files }
|
|
279
|
+
};
|
|
280
|
+
}).pipe(fileMutation.withLock(lockTargets), Effect.mapError(toolFailure2("Unable to apply patch")));
|
|
294
281
|
}
|
|
295
282
|
})).pipe(Effect.orDie);
|
|
296
283
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -348,4 +335,4 @@ function trimDiff(diff) {
|
|
|
348
335
|
`);
|
|
349
336
|
}
|
|
350
337
|
|
|
351
|
-
export {
|
|
338
|
+
export { name9, Input9, Output5, Plugin48, exports_patch };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse4,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse4(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse5(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse4(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -3,25 +3,25 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make35,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-mk3p57ba.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
lookup2,
|
|
11
11
|
namespaceLine2,
|
|
12
12
|
cost2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-85jq8dht.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/codemode/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
CodeModeInstructions: () =>
|
|
19
|
+
var exports_instructions3 = {};
|
|
20
|
+
__export(exports_instructions3, {
|
|
21
|
+
CodeModeInstructions: () => exports_instructions3,
|
|
22
22
|
make: () => make24,
|
|
23
23
|
render: () => render2,
|
|
24
|
-
update: () =>
|
|
24
|
+
update: () => update3
|
|
25
25
|
});
|
|
26
26
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
@@ -49,7 +49,7 @@ function render2(catalog) {
|
|
|
49
49
|
${tools.join(`
|
|
50
50
|
`)}`;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function update3(previous, current, lookup) {
|
|
53
53
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
54
54
|
|
|
55
55
|
${render2(current)}`;
|
|
@@ -131,7 +131,7 @@ var make24 = (inventory) => {
|
|
|
131
131
|
read: Effect.succeed(catalog),
|
|
132
132
|
render: {
|
|
133
133
|
initial: render2,
|
|
134
|
-
changed: (previous, current) =>
|
|
134
|
+
changed: (previous, current) => update3(previous, current, inventory === undefined ? () => {
|
|
135
135
|
return;
|
|
136
136
|
} : lookup2(inventory)),
|
|
137
137
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
@@ -139,4 +139,4 @@ var make24 = (inventory) => {
|
|
|
139
139
|
});
|
|
140
140
|
};
|
|
141
141
|
|
|
142
|
-
export { render2,
|
|
142
|
+
export { render2, update3, make24, exports_instructions3 };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service81,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node82
|
|
5
|
+
} from "./file-retention-va4jfsd2.js";
|
|
6
6
|
import {
|
|
7
7
|
join2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-mk3p57ba.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service75,
|
|
11
|
+
node76
|
|
12
|
+
} from "./file-retention-z6g4szpb.js";
|
|
13
13
|
import {
|
|
14
14
|
DeclinedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-4nrkag3r.js";
|
|
16
16
|
import {
|
|
17
17
|
CancelledError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-v7p9rwhb.js";
|
|
19
19
|
import {
|
|
20
20
|
Error3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-42f9g7sr.js";
|
|
22
22
|
import {
|
|
23
23
|
get5
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-retention-3nnrz6f6.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service27,
|
|
27
|
+
node31
|
|
28
|
+
} from "./file-retention-eq4sfy6p.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make25
|
|
31
|
+
} from "./file-retention-wvr8xscb.js";
|
|
32
32
|
import {
|
|
33
33
|
toLLMMessages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-retention-6d420gkt.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
38
38
|
|
|
39
39
|
// src/session/model-request.ts
|
|
40
40
|
var exports_model_request = {};
|
|
41
41
|
__export(exports_model_request, {
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service26,
|
|
43
43
|
SessionModelRequest: () => exports_model_request,
|
|
44
44
|
baseTranscript: () => baseTranscript2,
|
|
45
45
|
boundImages: () => boundImages2,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer13,
|
|
47
|
+
node: () => node30,
|
|
48
48
|
outputLimit: () => outputLimit2,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
@@ -81,13 +81,13 @@ var baseTranscript2 = (input) => {
|
|
|
81
81
|
return {
|
|
82
82
|
providerMetadataKey,
|
|
83
83
|
system: [
|
|
84
|
-
SystemPart.make(input.agent.system ? input.agent.system :
|
|
84
|
+
SystemPart.make(input.agent.system ? input.agent.system : make25(input.tools.definitions.map((tool) => tool.name))),
|
|
85
85
|
{
|
|
86
86
|
...SystemPart.make(join2(input.initial)),
|
|
87
87
|
metadata: { experimental: { instructions: input.initial } }
|
|
88
88
|
}
|
|
89
89
|
].filter((part) => part.text.length > 0),
|
|
90
|
-
messages:
|
|
90
|
+
messages: input.messages.flatMap((message) => toLLMMessages2([message], input.model.ref, providerMetadataKey).map((item) => message.metadata === undefined || item.id !== message.id ? item : { ...item, metadata: message.metadata }))
|
|
91
91
|
};
|
|
92
92
|
};
|
|
93
93
|
var mimeToModality = (mime) => {
|
|
@@ -187,12 +187,12 @@ var boundImages2 = (messages) => {
|
|
|
187
187
|
});
|
|
188
188
|
};
|
|
189
189
|
|
|
190
|
-
class
|
|
190
|
+
class Service26 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
191
191
|
}
|
|
192
|
-
var
|
|
193
|
-
const hooks = yield*
|
|
194
|
-
const transport = yield*
|
|
195
|
-
const app = yield*
|
|
192
|
+
var layer13 = Layer.effect(Service26, Effect.gen(function* () {
|
|
193
|
+
const hooks = yield* Service75;
|
|
194
|
+
const transport = yield* Service27;
|
|
195
|
+
const app = yield* Service81;
|
|
196
196
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
197
197
|
const session = input.session;
|
|
198
198
|
const model = input.model;
|
|
@@ -234,7 +234,10 @@ var layer17 = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
234
234
|
promptCacheKey: /^ses_[0-9a-f]{64}$/.test(affinity) ? affinity.slice(4) : affinity,
|
|
235
235
|
cache: model.cache?.ttl === undefined ? undefined : { ttl: model.cache.ttl },
|
|
236
236
|
system: shaped.system,
|
|
237
|
-
messages: boundImages2(unsupportedParts2(shaped.messages
|
|
237
|
+
messages: boundImages2(unsupportedParts2(shaped.messages.map((message) => {
|
|
238
|
+
const { metadata, ...rest } = message;
|
|
239
|
+
return metadata === undefined ? message : Message.make(rest);
|
|
240
|
+
}), model.capabilities, model.model.provider)),
|
|
238
241
|
tools: Array.from(hooked, ([name, t]) => ({
|
|
239
242
|
...t,
|
|
240
243
|
name,
|
|
@@ -290,17 +293,17 @@ var layer17 = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
290
293
|
};
|
|
291
294
|
});
|
|
292
295
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
293
|
-
return
|
|
296
|
+
return Service26.of({
|
|
294
297
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
295
298
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
296
299
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
297
300
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
298
301
|
});
|
|
299
302
|
}));
|
|
300
|
-
var
|
|
301
|
-
service:
|
|
302
|
-
layer:
|
|
303
|
-
deps: [
|
|
303
|
+
var node30 = makeLocationNode({
|
|
304
|
+
service: Service26,
|
|
305
|
+
layer: layer13,
|
|
306
|
+
deps: [node76, node31, node82]
|
|
304
307
|
});
|
|
305
308
|
|
|
306
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
309
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service26, layer13, node30, exports_model_request };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service42,
|
|
3
|
+
node44
|
|
4
|
+
} from "./file-retention-4bwthz3m.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Service64,
|
|
7
|
+
node65,
|
|
8
8
|
canonical3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-swh6q862.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service19
|
|
12
|
+
} from "./file-retention-c9xapkpf.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-e4vg19md.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option, Scope } from "effect";
|
|
19
19
|
var HELD_WARNING_AFTER = "30 seconds";
|
|
20
20
|
function buildLocationServiceMap2(replacements = []) {
|
|
21
|
-
return Layer.effect(
|
|
21
|
+
return Layer.effect(Service64, Effect.gen(function* () {
|
|
22
22
|
const owner = yield* Effect.scope;
|
|
23
23
|
const builds = MutableHashMap.empty();
|
|
24
24
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
28
28
|
const finish = Effect.suspend(() => {
|
|
29
29
|
if (Exit.isSuccess(exit)) {
|
|
30
30
|
return Effect.gen(function* () {
|
|
31
|
-
const lifecycle = Context.get(exit.value,
|
|
31
|
+
const lifecycle = Context.get(exit.value, Service19);
|
|
32
32
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
33
33
|
return yield* lifecycle.shutdown;
|
|
34
34
|
build.close = lifecycle.shutdown;
|
|
@@ -65,11 +65,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
65
65
|
}).pipe(Effect.uninterruptible)
|
|
66
66
|
};
|
|
67
67
|
const bindings = [
|
|
68
|
-
|
|
68
|
+
node44.replace(Layer.succeed(Service42, {
|
|
69
69
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
70
70
|
})),
|
|
71
71
|
...replacements,
|
|
72
|
-
|
|
72
|
+
node65.replace(Layer.succeed(Service64, map))
|
|
73
73
|
];
|
|
74
74
|
return map;
|
|
75
75
|
}));
|
|
@@ -2,39 +2,39 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service88,
|
|
8
|
+
node89
|
|
9
|
+
} from "./file-retention-69mw4eyz.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service57,
|
|
12
|
+
node58
|
|
13
|
+
} from "./file-retention-0cm2734h.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content4,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event9,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
Match: () => Match2,
|
|
33
|
-
NotFoundError: () =>
|
|
34
|
-
Service: () =>
|
|
33
|
+
NotFoundError: () => NotFoundError8,
|
|
34
|
+
Service: () => Service56,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node57
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import path from "path";
|
|
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
44
44
|
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class NotFoundError8 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
65
65
|
return `Access denied to directory: ${this.directory}`;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
68
|
+
var Content4 = Schema.Struct({
|
|
69
69
|
uri: Schema.String,
|
|
70
70
|
name: Schema.String.pipe(Schema.optional),
|
|
71
71
|
content: Schema.String,
|
|
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
92
92
|
limit: Schema.optionalKey(PositiveInt2)
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
|
-
var
|
|
95
|
+
var Event9 = FileSystem.Event;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service56 extends Context.Service()("@opencode/FileSystem") {
|
|
98
98
|
}
|
|
99
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service56, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const search = yield*
|
|
101
|
+
const location = yield* Service88;
|
|
102
|
+
const search = yield* Service57;
|
|
103
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
104
104
|
if (cause.reason._tag === "NotFound")
|
|
105
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
109
109
|
}));
|
|
110
110
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
111
111
|
if (input.includes("\x00"))
|
|
112
|
-
return yield* Effect.fail(new
|
|
112
|
+
return yield* Effect.fail(new NotFoundError8({ path: input }));
|
|
113
113
|
const absolute = path.resolve(location.directory, input);
|
|
114
114
|
if (!FSUtil.contains(location.directory, absolute))
|
|
115
|
-
return yield* Effect.fail(new
|
|
116
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
115
|
+
return yield* Effect.fail(new NotFoundError8({ path: input }));
|
|
116
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input })), (_, error) => Effect.die(error)));
|
|
117
117
|
if (!FSUtil.contains(root, real))
|
|
118
|
-
return yield* Effect.fail(new
|
|
118
|
+
return yield* Effect.fail(new NotFoundError8({ path: input }));
|
|
119
119
|
return { absolute, real, directory: location.directory };
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return Service56.of({
|
|
122
122
|
find: search.find,
|
|
123
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
124
124
|
const target = yield* resolve(input.path);
|
|
125
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
125
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input.path })), (_, error) => Effect.die(error)));
|
|
126
126
|
if (info.type !== "File")
|
|
127
|
-
return yield* Effect.fail(new
|
|
127
|
+
return yield* Effect.fail(new NotFoundError8({ path: input.path }));
|
|
128
128
|
return {
|
|
129
129
|
mime: FSUtil.mimeType(target.real),
|
|
130
130
|
size: Number(info.size),
|
|
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
134
134
|
}),
|
|
135
135
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
136
136
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
137
|
-
const missing = new
|
|
137
|
+
const missing = new NotFoundError8({ path: RelativePath2.make(input.path ?? ".") });
|
|
138
138
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "Directory")
|
|
140
140
|
return yield* missing;
|
|
@@ -159,10 +159,10 @@ var baseLayer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
159
159
|
})
|
|
160
160
|
});
|
|
161
161
|
}));
|
|
162
|
-
var
|
|
163
|
-
service:
|
|
162
|
+
var node57 = makeLocationNode({
|
|
163
|
+
service: Service56,
|
|
164
164
|
layer: baseLayer,
|
|
165
|
-
deps: [FSUtil.node,
|
|
165
|
+
deps: [FSUtil.node, node89, node58]
|
|
166
166
|
});
|
|
167
167
|
|
|
168
|
-
export { FindInput2, Write2,
|
|
168
|
+
export { FindInput2, Write2, NotFoundError8, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content4, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event9, Service56, node57, exports_filesystem, Entry2, Match2, Submatch2 };
|