@opencode/core 0.0.0-dev-19306 → 0.0.0-dev-19309

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.
Files changed (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{file-retention-p06n4w0k.js → catalog-0e1sw8g7.js} +18 -18
  9. package/dist/chunks/{file-retention-d7y1ze3m.js → catalog-0evts91x.js} +18 -18
  10. package/dist/chunks/{file-retention-1dfhrqqs.js → catalog-0hpxrkyb.js} +5 -5
  11. package/dist/chunks/catalog-0kwcw7fy.js +4 -0
  12. package/dist/chunks/{file-retention-7hat9k3a.js → catalog-0n9gyfew.js} +4 -4
  13. package/dist/chunks/{file-retention-0paq2nw3.js → catalog-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{file-retention-p3he229h.js → catalog-0pcfrhz7.js} +9 -9
  15. package/dist/chunks/{file-retention-0q0f95c6.js → catalog-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{file-retention-gvrrxk8n.js → catalog-0zgh7kk5.js} +62 -62
  17. package/dist/chunks/{file-retention-bvzpqjkv.js → catalog-181agvn4.js} +13 -13
  18. package/dist/chunks/{file-retention-b27vhd2z.js → catalog-19vf66h0.js} +4 -4
  19. package/dist/chunks/{file-retention-r8xr0va3.js → catalog-1acjjqhc.js} +4 -4
  20. package/dist/chunks/{file-retention-mhkvc446.js → catalog-1bbkgx8g.js} +3 -3
  21. package/dist/chunks/catalog-1ce0xttj.js +247 -0
  22. package/dist/chunks/{file-retention-1dazxqgg.js → catalog-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{file-retention-1h5gp861.js → catalog-1nqyn2md.js} +18 -18
  24. package/dist/chunks/{file-retention-9vs0xtad.js → catalog-1w9a9pv3.js} +3 -3
  25. package/dist/chunks/{file-retention-r9babyk8.js → catalog-1wxb385z.js} +1 -1
  26. package/dist/chunks/{file-retention-mfqp6xfm.js → catalog-1ygqh575.js} +6 -6
  27. package/dist/chunks/{file-retention-21r38tys.js → catalog-21r38tys.js} +1 -1
  28. package/dist/chunks/{file-retention-84ajknms.js → catalog-21s79zm0.js} +32 -32
  29. package/dist/chunks/{file-retention-7tpxex51.js → catalog-2336b01z.js} +8 -8
  30. package/dist/chunks/{file-retention-2402vzrj.js → catalog-2402vzrj.js} +1 -1
  31. package/dist/chunks/{file-retention-m7ty3jyf.js → catalog-277t2eea.js} +17 -17
  32. package/dist/chunks/{file-retention-z63w68vq.js → catalog-29x78va6.js} +6 -6
  33. package/dist/chunks/{file-retention-2a5m3afh.js → catalog-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{file-retention-yzn9e0gg.js → catalog-2j0cq4hw.js} +11 -11
  35. package/dist/chunks/{file-retention-tqaee6jy.js → catalog-2t8xysc7.js} +11 -11
  36. package/dist/chunks/{file-retention-fhjm97q2.js → catalog-2twcyph9.js} +10 -10
  37. package/dist/chunks/{file-retention-bcvm2kkr.js → catalog-324g3shg.js} +15 -15
  38. package/dist/chunks/{file-retention-ffprybq0.js → catalog-3518rj0x.js} +20 -20
  39. package/dist/chunks/{file-retention-3fc6dm20.js → catalog-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{file-retention-3hepkmqq.js → catalog-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{file-retention-27cjzptm.js → catalog-3m0hcevc.js} +42 -42
  42. package/dist/chunks/{file-retention-5kmyd2yp.js → catalog-3mfye48b.js} +20 -20
  43. package/dist/chunks/{file-retention-5n3vgq58.js → catalog-3mp8tw93.js} +2 -2
  44. package/dist/chunks/{file-retention-jfmshy3a.js → catalog-3n15d110.js} +35 -35
  45. package/dist/chunks/{file-retention-n4pj3cng.js → catalog-3p5n9sjf.js} +10 -10
  46. package/dist/chunks/{file-retention-3smtnn6g.js → catalog-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{file-retention-70y17xeh.js → catalog-3tt1qkhr.js} +5 -5
  48. package/dist/chunks/{file-retention-3tvqynh2.js → catalog-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{file-retention-evbgk2k8.js → catalog-3w2b2yj4.js} +5 -5
  50. package/dist/chunks/{file-retention-63h173xj.js → catalog-3yjx2qxr.js} +40 -40
  51. package/dist/chunks/{file-retention-v7k7pv50.js → catalog-3ypbmvbe.js} +4 -4
  52. package/dist/chunks/{file-retention-mkw2wvv0.js → catalog-439dx3w9.js} +12 -12
  53. package/dist/chunks/{file-retention-5ejrhezz.js → catalog-43ptgj31.js} +7 -7
  54. package/dist/chunks/{file-retention-8t01676a.js → catalog-493f7437.js} +11 -11
  55. package/dist/chunks/{file-retention-w899n6rm.js → catalog-4as1skcx.js} +92 -92
  56. package/dist/chunks/{file-retention-9kze6ep1.js → catalog-4ck6zdkc.js} +20 -20
  57. package/dist/chunks/{file-retention-zznwmpd0.js → catalog-4fq0az5r.js} +5 -5
  58. package/dist/chunks/{file-retention-wct24b0s.js → catalog-4h427kqb.js} +51 -51
  59. package/dist/chunks/{file-retention-n76fdqym.js → catalog-4mkcvr19.js} +5 -5
  60. package/dist/chunks/{file-retention-hgtjkr46.js → catalog-4rt9mjng.js} +9 -9
  61. package/dist/chunks/{file-retention-a6ycgxr6.js → catalog-4sqgnae3.js} +30 -30
  62. package/dist/chunks/catalog-4v7qdvcn.js +18 -0
  63. package/dist/chunks/{file-retention-5yf98bmk.js → catalog-4xjg4q2t.js} +18 -18
  64. package/dist/chunks/{file-retention-a8npxwp2.js → catalog-4zbwj09h.js} +11 -11
  65. package/dist/chunks/{file-retention-1xwk6ww1.js → catalog-509mfy7b.js} +4 -4
  66. package/dist/chunks/{file-retention-2f9mkkej.js → catalog-51mnv1qp.js} +15 -15
  67. package/dist/chunks/{file-retention-5daktx2q.js → catalog-5daktx2q.js} +1 -1
  68. package/dist/chunks/{file-retention-d2f1arkd.js → catalog-5mphm999.js} +24 -24
  69. package/dist/chunks/{file-retention-k16ay38w.js → catalog-5nsrms9d.js} +1 -1
  70. package/dist/chunks/{file-retention-5t3nmthw.js → catalog-5t3nmthw.js} +2 -2
  71. package/dist/chunks/{file-retention-w9tpqwqq.js → catalog-5tfj1zwh.js} +20 -20
  72. package/dist/chunks/{file-retention-t9yc267w.js → catalog-63ypb7gw.js} +24 -24
  73. package/dist/chunks/{file-retention-669tq793.js → catalog-669tq793.js} +1 -1
  74. package/dist/chunks/{file-retention-p1wf2k30.js → catalog-6ck2t1rv.js} +9 -9
  75. package/dist/chunks/{file-retention-m73qne7a.js → catalog-6kdk6nqh.js} +3 -3
  76. package/dist/chunks/{file-retention-me5vgs2m.js → catalog-6mav0crw.js} +34 -34
  77. package/dist/chunks/{file-retention-6msgmcgs.js → catalog-6msgmcgs.js} +1 -1
  78. package/dist/chunks/{file-retention-bha4atvq.js → catalog-6tt5evqq.js} +4 -4
  79. package/dist/chunks/{file-retention-c85sskq6.js → catalog-6ymtcdfp.js} +8 -8
  80. package/dist/chunks/{file-retention-71q4at8m.js → catalog-71q4at8m.js} +1 -1
  81. package/dist/chunks/{file-retention-7bmhse3q.js → catalog-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{file-retention-cspft70r.js → catalog-7g3sek8k.js} +9 -9
  83. package/dist/chunks/{file-retention-dr20mx92.js → catalog-7nzmz6w9.js} +28 -28
  84. package/dist/chunks/catalog-7sh2c558.js +462 -0
  85. package/dist/chunks/{file-retention-gtb749hc.js → catalog-82a5wx02.js} +15 -15
  86. package/dist/chunks/{file-retention-96yt6zt0.js → catalog-83x6p9kd.js} +1 -1
  87. package/dist/chunks/{file-retention-cd428q19.js → catalog-85eqaws9.js} +9 -9
  88. package/dist/chunks/{file-retention-rc9898mc.js → catalog-86vv7gh8.js} +11 -11
  89. package/dist/chunks/{file-retention-q7s3pq4a.js → catalog-887bxmqj.js} +9 -9
  90. package/dist/chunks/{file-retention-1hc11dc4.js → catalog-88sz8qcd.js} +4 -4
  91. package/dist/chunks/{file-retention-8d7r5vzw.js → catalog-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{file-retention-pp615gng.js → catalog-8f447577.js} +22 -22
  93. package/dist/chunks/{file-retention-mypwhdkk.js → catalog-8k4hkv5d.js} +6 -6
  94. package/dist/chunks/{file-retention-8p4f9s12.js → catalog-8p4f9s12.js} +2 -2
  95. package/dist/chunks/{file-retention-jnsa8b46.js → catalog-91brfrwq.js} +1 -1
  96. package/dist/chunks/{file-retention-mdgez6a3.js → catalog-96qecsp7.js} +20 -20
  97. package/dist/chunks/{file-retention-r1c48803.js → catalog-9d82n428.js} +70 -70
  98. package/dist/chunks/{file-retention-fvt1yp66.js → catalog-9hxjxzzj.js} +35 -35
  99. package/dist/chunks/{file-retention-8w2h3xst.js → catalog-9yzgp4j1.js} +26 -26
  100. package/dist/chunks/{file-retention-a1bz86dw.js → catalog-a1bz86dw.js} +3 -3
  101. package/dist/chunks/{file-retention-tx1bbn1t.js → catalog-a8j8hhs2.js} +2 -2
  102. package/dist/chunks/{file-retention-aaet6srn.js → catalog-aaet6srn.js} +2 -2
  103. package/dist/chunks/{file-retention-e042tyrs.js → catalog-agqtpwbj.js} +5 -5
  104. package/dist/chunks/{file-retention-ymxag59m.js → catalog-annfvqzd.js} +60 -60
  105. package/dist/chunks/{file-retention-0rn2bysh.js → catalog-ap7992nw.js} +12 -12
  106. package/dist/chunks/catalog-atswkcm9.js +22 -0
  107. package/dist/chunks/{file-retention-t4w73mrs.js → catalog-avf8efec.js} +46 -46
  108. package/dist/chunks/{file-retention-3q1jyqhd.js → catalog-b3wkxfg9.js} +1 -1
  109. package/dist/chunks/{file-retention-8rxc0pzs.js → catalog-b5n790m1.js} +20 -20
  110. package/dist/chunks/{file-retention-wxqxce1x.js → catalog-b5x3zw73.js} +9 -9
  111. package/dist/chunks/{file-retention-b6gygkdw.js → catalog-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{file-retention-b62r6jkh.js → catalog-bbjrxcfr.js} +23 -23
  113. package/dist/chunks/{file-retention-eppr9y53.js → catalog-bfg6wmvt.js} +3 -3
  114. package/dist/chunks/{file-retention-v6jrwn5c.js → catalog-bjfdh5sq.js} +28 -28
  115. package/dist/chunks/{file-retention-jn37jswd.js → catalog-bpggscz5.js} +22 -22
  116. package/dist/chunks/{file-retention-gj9xpvv3.js → catalog-bv56xrks.js} +6 -6
  117. package/dist/chunks/{file-retention-r4s8w3sh.js → catalog-bxphq6yf.js} +35 -35
  118. package/dist/chunks/{file-retention-mbq90t60.js → catalog-c0gpyqcs.js} +43 -43
  119. package/dist/chunks/{file-retention-e5rkeknp.js → catalog-c3d70zs9.js} +7 -7
  120. package/dist/chunks/{file-retention-pqrzdjtx.js → catalog-c64pkv7q.js} +18 -18
  121. package/dist/chunks/{file-retention-m27pyyd3.js → catalog-c7ecgrk6.js} +6 -6
  122. package/dist/chunks/{file-retention-v51hrxtf.js → catalog-c8kn0e1j.js} +7 -7
  123. package/dist/chunks/{file-retention-th1rzrqw.js → catalog-c9whyjqe.js} +10 -10
  124. package/dist/chunks/{file-retention-qth1fxpg.js → catalog-cavm9het.js} +23 -23
  125. package/dist/chunks/{file-retention-228st694.js → catalog-cd3kn8g3.js} +11 -11
  126. package/dist/chunks/{file-retention-cfpkc3c9.js → catalog-cfpkc3c9.js} +2 -2
  127. package/dist/chunks/{file-retention-jj63jgrn.js → catalog-cpsw9aga.js} +8 -8
  128. package/dist/chunks/{file-retention-11fxjgwx.js → catalog-crn2g2j7.js} +25 -25
  129. package/dist/chunks/{file-retention-nn8g4bnz.js → catalog-cye7csfb.js} +11 -11
  130. package/dist/chunks/{file-retention-8xgh37q2.js → catalog-d3zdjdg4.js} +39 -39
  131. package/dist/chunks/{file-retention-afdssyjb.js → catalog-ddt2bs9e.js} +4 -4
  132. package/dist/chunks/{file-retention-j83byb14.js → catalog-dfe8djrf.js} +4 -4
  133. package/dist/chunks/{file-retention-mb5m7hjx.js → catalog-dkr6v1jj.js} +6 -6
  134. package/dist/chunks/{file-retention-dpkg50ah.js → catalog-dpkg50ah.js} +1 -1
  135. package/dist/chunks/{file-retention-844ef7ks.js → catalog-dv1qgsyq.js} +8 -8
  136. package/dist/chunks/{file-retention-rccdk6ga.js → catalog-dwgyz8t6.js} +3 -3
  137. package/dist/chunks/{file-retention-fp1hhbvz.js → catalog-e34b6n40.js} +30 -30
  138. package/dist/chunks/{file-retention-0b96kjwf.js → catalog-e3t7z67s.js} +8 -8
  139. package/dist/chunks/{file-retention-frhqnhmj.js → catalog-ea4szbf4.js} +15 -15
  140. package/dist/chunks/{file-retention-b963bmgr.js → catalog-eks9y43h.js} +13 -13
  141. package/dist/chunks/{file-retention-mqgfyy2s.js → catalog-ekxqnygj.js} +20 -20
  142. package/dist/chunks/{file-retention-z69s9t6b.js → catalog-en74w496.js} +5 -5
  143. package/dist/chunks/{file-retention-v0ak0tys.js → catalog-en89ywvk.js} +19 -19
  144. package/dist/chunks/{file-retention-etq0c3wd.js → catalog-etq0c3wd.js} +1 -1
  145. package/dist/chunks/{file-retention-0thxwbsq.js → catalog-ezewvdhd.js} +11 -11
  146. package/dist/chunks/{file-retention-pkxxvzx1.js → catalog-f20xgh69.js} +29 -29
  147. package/dist/chunks/{file-retention-f828m53h.js → catalog-f828m53h.js} +2 -2
  148. package/dist/chunks/{file-retention-qgn6gcr1.js → catalog-fcrkznn8.js} +5 -5
  149. package/dist/chunks/{file-retention-tmw9t85a.js → catalog-fe83msa9.js} +13 -13
  150. package/dist/chunks/{file-retention-jf6dr2d9.js → catalog-fppsb3b5.js} +36 -36
  151. package/dist/chunks/{file-retention-79v6krhr.js → catalog-fq51289s.js} +35 -35
  152. package/dist/chunks/{file-retention-fxbjtjnd.js → catalog-fxbjtjnd.js} +1 -1
  153. package/dist/chunks/{file-retention-r4cndbqv.js → catalog-g07620wm.js} +20 -20
  154. package/dist/chunks/{file-retention-nfkc2kma.js → catalog-g0mr4btt.js} +8 -8
  155. package/dist/chunks/{file-retention-ykjy0bm0.js → catalog-g85prm42.js} +8 -8
  156. package/dist/chunks/{file-retention-wndheb9r.js → catalog-gc7xqtvn.js} +6 -6
  157. package/dist/chunks/{file-retention-gd4qta3r.js → catalog-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{file-retention-y3xzpef0.js → catalog-gda9nas2.js} +15 -15
  159. package/dist/chunks/{file-retention-43eky7fv.js → catalog-gg87hdr1.js} +85 -85
  160. package/dist/chunks/{file-retention-ebah8r6x.js → catalog-ghk9cxjs.js} +6 -6
  161. package/dist/chunks/{file-retention-fgh0kbhd.js → catalog-gt0cxfk7.js} +1 -1
  162. package/dist/chunks/{file-retention-gv6a8nnw.js → catalog-gv6a8nnw.js} +2 -2
  163. package/dist/chunks/{file-retention-7hhdtzm1.js → catalog-gw93046e.js} +10 -10
  164. package/dist/chunks/{file-retention-h03wrkyp.js → catalog-h03wrkyp.js} +2 -2
  165. package/dist/chunks/{file-retention-h6vf3j39.js → catalog-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{file-retention-9c22vnh3.js → catalog-h9v53t8b.js} +28 -28
  167. package/dist/chunks/{file-retention-5h2ak588.js → catalog-hccqy9de.js} +25 -25
  168. package/dist/chunks/{file-retention-rkbztq4a.js → catalog-hfe15vta.js} +27 -27
  169. package/dist/chunks/{file-retention-nhy5jxhy.js → catalog-hjt4xg1x.js} +4 -4
  170. package/dist/chunks/{file-retention-zwph3s3x.js → catalog-hjyq8txy.js} +19 -19
  171. package/dist/chunks/{file-retention-beqz24q2.js → catalog-hs0dft44.js} +43 -43
  172. package/dist/chunks/{file-retention-ta89s5je.js → catalog-j22ne1jm.js} +33 -33
  173. package/dist/chunks/{file-retention-j56e64zr.js → catalog-j56e64zr.js} +1 -1
  174. package/dist/chunks/{file-retention-aks9j4w4.js → catalog-j58tsep0.js} +15 -15
  175. package/dist/chunks/{file-retention-paphc93g.js → catalog-j935v87r.js} +2 -2
  176. package/dist/chunks/{file-retention-fg50ch7r.js → catalog-jfw7ranw.js} +4 -4
  177. package/dist/chunks/{file-retention-fygdb7h7.js → catalog-jhetwysa.js} +3 -3
  178. package/dist/chunks/{file-retention-t2y34ej4.js → catalog-jsckaant.js} +13 -13
  179. package/dist/chunks/{file-retention-cmx0cyjn.js → catalog-jt93vp5f.js} +9 -9
  180. package/dist/chunks/{file-retention-0r7yqxbf.js → catalog-jv01nqvq.js} +5 -5
  181. package/dist/chunks/{file-retention-f2fvptgs.js → catalog-jvgf59s5.js} +46 -46
  182. package/dist/chunks/{file-retention-dhgj89qr.js → catalog-jz7qjw6y.js} +9 -9
  183. package/dist/chunks/{file-retention-sf0yp864.js → catalog-k0nnq3t9.js} +6 -6
  184. package/dist/chunks/{file-retention-cjsb4aez.js → catalog-k52252t7.js} +4 -4
  185. package/dist/chunks/{file-retention-eenpnbqj.js → catalog-kcj2091p.js} +10 -10
  186. package/dist/chunks/{file-retention-kg06axw8.js → catalog-kg06axw8.js} +1 -1
  187. package/dist/chunks/{file-retention-f3ngv102.js → catalog-kk00bynn.js} +21 -21
  188. package/dist/chunks/{file-retention-wgvs8t5x.js → catalog-kmzz9pas.js} +25 -25
  189. package/dist/chunks/{file-retention-1x4qabqm.js → catalog-kqnty0aw.js} +17 -17
  190. package/dist/chunks/{file-retention-164jdkrd.js → catalog-kxfy9v2j.js} +21 -21
  191. package/dist/chunks/{file-retention-h7ygw6q4.js → catalog-m2d0j7c0.js} +9 -9
  192. package/dist/chunks/{file-retention-r0yk3wys.js → catalog-m5ehmq0h.js} +21 -21
  193. package/dist/chunks/{file-retention-t4y4c1va.js → catalog-m74w19w0.js} +171 -171
  194. package/dist/chunks/{file-retention-m9w0rfyh.js → catalog-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{file-retention-j8zzr2am.js → catalog-mjncxbbh.js} +4 -4
  196. package/dist/chunks/{file-retention-mkcjrzeh.js → catalog-mkcjrzeh.js} +1 -1
  197. package/dist/chunks/{file-retention-5qkbsren.js → catalog-mncc4vzv.js} +15 -15
  198. package/dist/chunks/{file-retention-8gjywk27.js → catalog-mp02gzc9.js} +26 -26
  199. package/dist/chunks/{file-retention-g1xb33sa.js → catalog-n2w5zf4y.js} +30 -30
  200. package/dist/chunks/{file-retention-d09006c3.js → catalog-n37c4crj.js} +9 -9
  201. package/dist/chunks/{file-retention-mb6jxekh.js → catalog-n41t07j9.js} +32 -32
  202. package/dist/chunks/{file-retention-26nm669z.js → catalog-n4ejk7vt.js} +37 -37
  203. package/dist/chunks/{file-retention-tmmaw7dm.js → catalog-n68ab1tc.js} +15 -15
  204. package/dist/chunks/{file-retention-j4jqbx4j.js → catalog-n71y3dbp.js} +11 -11
  205. package/dist/chunks/{file-retention-9edcvf27.js → catalog-ncmz7v5j.js} +10 -10
  206. package/dist/chunks/{file-retention-hces5vk3.js → catalog-ne6jr7py.js} +8 -8
  207. package/dist/chunks/{file-retention-5w90zcr2.js → catalog-nfj734wy.js} +43 -43
  208. package/dist/chunks/{file-retention-085p4wzr.js → catalog-nh5sasdk.js} +22 -22
  209. package/dist/chunks/{file-retention-0e552dan.js → catalog-p17pfsmd.js} +22 -22
  210. package/dist/chunks/{file-retention-4e4kessa.js → catalog-p6sy7vrx.js} +11 -11
  211. package/dist/chunks/{file-retention-pgpxt5ny.js → catalog-pdcqshfj.js} +30 -30
  212. package/dist/chunks/{file-retention-pjvnvgmy.js → catalog-pjvnvgmy.js} +1 -1
  213. package/dist/chunks/{file-retention-pknna89w.js → catalog-pknna89w.js} +1 -1
  214. package/dist/chunks/{file-retention-p0r3vkqq.js → catalog-pv83a8g9.js} +5 -5
  215. package/dist/chunks/{file-retention-p1gkab00.js → catalog-pygrm44j.js} +24 -24
  216. package/dist/chunks/{file-retention-vr7f0f2w.js → catalog-qgxradse.js} +24 -24
  217. package/dist/chunks/{file-retention-3ad4b8jh.js → catalog-qjq8d7da.js} +14 -14
  218. package/dist/chunks/{file-retention-e6hd9jay.js → catalog-qqtwvk4z.js} +4 -4
  219. package/dist/chunks/{file-retention-qsdy395h.js → catalog-qsdy395h.js} +1 -1
  220. package/dist/chunks/{file-retention-x35m90n0.js → catalog-qx9naz5h.js} +27 -27
  221. package/dist/chunks/{file-retention-atnf5533.js → catalog-r441rk8t.js} +14 -14
  222. package/dist/chunks/{file-retention-v4cx5xjq.js → catalog-rade8k7x.js} +6 -6
  223. package/dist/chunks/{file-retention-mhd0t4xv.js → catalog-rkqame75.js} +23 -23
  224. package/dist/chunks/{file-retention-c5hwayjq.js → catalog-rpz3wezz.js} +4 -4
  225. package/dist/chunks/{file-retention-4t92r5y5.js → catalog-rxjrk2nw.js} +16 -16
  226. package/dist/chunks/{file-retention-9fjt8dzc.js → catalog-s3na88hc.js} +16 -16
  227. package/dist/chunks/{file-retention-yrznvahk.js → catalog-s4enseaf.js} +2 -2
  228. package/dist/chunks/{file-retention-3fk22zg7.js → catalog-s7sd9pj0.js} +18 -18
  229. package/dist/chunks/{file-retention-eaj1djv9.js → catalog-s8d7rejh.js} +6 -6
  230. package/dist/chunks/{file-retention-m3800wpb.js → catalog-sg6ndnsg.js} +24 -24
  231. package/dist/chunks/{file-retention-vrgc17vv.js → catalog-sgfkh1bp.js} +4 -4
  232. package/dist/chunks/{file-retention-fyymr9xg.js → catalog-shh6fz4q.js} +4 -4
  233. package/dist/chunks/{file-retention-pecb0brz.js → catalog-sra9araw.js} +5 -5
  234. package/dist/chunks/{file-retention-638rxdhc.js → catalog-ssd64hap.js} +22 -22
  235. package/dist/chunks/{file-retention-401vwfxe.js → catalog-sse12fwf.js} +8 -8
  236. package/dist/chunks/{file-retention-xdvgyr5e.js → catalog-styqsms2.js} +17 -17
  237. package/dist/chunks/{file-retention-p5jcd3cr.js → catalog-sv2dresp.js} +11 -11
  238. package/dist/chunks/{file-retention-yn2w03ty.js → catalog-sx4z2wkx.js} +4 -4
  239. package/dist/chunks/{file-retention-nwht2get.js → catalog-t41sh3fy.js} +12 -12
  240. package/dist/chunks/{file-retention-rc2324vf.js → catalog-t89hfesc.js} +9 -9
  241. package/dist/chunks/{file-retention-f8q7mv7a.js → catalog-t8mcaem5.js} +1 -1
  242. package/dist/chunks/{file-retention-znx0z9vv.js → catalog-takea01j.js} +30 -30
  243. package/dist/chunks/{file-retention-tazgh4e4.js → catalog-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{file-retention-tcezcvh9.js → catalog-tcezcvh9.js} +1 -1
  245. package/dist/chunks/{file-retention-tdstcens.js → catalog-tdstcens.js} +1 -1
  246. package/dist/chunks/{file-retention-s841er54.js → catalog-te5wzfm2.js} +35 -35
  247. package/dist/chunks/{file-retention-6xyaxxp3.js → catalog-trdmtmn1.js} +33 -33
  248. package/dist/chunks/{file-retention-tvtrv512.js → catalog-tvtrv512.js} +1 -1
  249. package/dist/chunks/{file-retention-qp4pmkb7.js → catalog-v01artfa.js} +16 -16
  250. package/dist/chunks/{file-retention-vf4s9505.js → catalog-v1sz7r3a.js} +16 -16
  251. package/dist/chunks/{file-retention-rsym84ch.js → catalog-v33xfvcj.js} +9 -9
  252. package/dist/chunks/{file-retention-ha1ky52e.js → catalog-v4v7wqz2.js} +25 -25
  253. package/dist/chunks/{file-retention-8rcbgw1c.js → catalog-v9nb272c.js} +6 -6
  254. package/dist/chunks/{file-retention-veqvce7d.js → catalog-veqvce7d.js} +1 -1
  255. package/dist/chunks/{file-retention-fhp7qqsj.js → catalog-vk7myt1t.js} +24 -24
  256. package/dist/chunks/{file-retention-4jxr6rzv.js → catalog-vtss28jw.js} +7 -7
  257. package/dist/chunks/{file-retention-3pbjq009.js → catalog-vyrd71eq.js} +11 -11
  258. package/dist/chunks/{file-retention-vzcthcp8.js → catalog-vzcthcp8.js} +1 -1
  259. package/dist/chunks/{file-retention-4xr7dxah.js → catalog-vzr1015d.js} +31 -31
  260. package/dist/chunks/{file-retention-089z8d2q.js → catalog-w17639j7.js} +4 -4
  261. package/dist/chunks/{file-retention-zxrs8q2n.js → catalog-w2f3tag7.js} +46 -46
  262. package/dist/chunks/{file-retention-w3wsvvr9.js → catalog-w3wsvvr9.js} +1 -1
  263. package/dist/chunks/{file-retention-q8k5va6t.js → catalog-w6dsm74z.js} +13 -13
  264. package/dist/chunks/{file-retention-4a8afqtg.js → catalog-w7t7hmp4.js} +11 -11
  265. package/dist/chunks/{file-retention-afqe321m.js → catalog-w834zwzr.js} +46 -46
  266. package/dist/chunks/{file-retention-wd87259q.js → catalog-wd87259q.js} +1 -1
  267. package/dist/chunks/{file-retention-yygg97b6.js → catalog-wdg8v3k8.js} +30 -30
  268. package/dist/chunks/{file-retention-jwws7wxw.js → catalog-wmhr3c7y.js} +7 -7
  269. package/dist/chunks/{file-retention-g8nf464k.js → catalog-wr9en1my.js} +39 -39
  270. package/dist/chunks/{file-retention-x1ezjp6w.js → catalog-x1ezjp6w.js} +1 -1
  271. package/dist/chunks/{file-retention-m7hd4rhs.js → catalog-x24zbaxc.js} +24 -24
  272. package/dist/chunks/{file-retention-2xcd4pkq.js → catalog-x36451fn.js} +9 -9
  273. package/dist/chunks/{file-retention-x43y2vfs.js → catalog-x43y2vfs.js} +2 -2
  274. package/dist/chunks/{file-retention-m821g7ez.js → catalog-xdh98823.js} +17 -17
  275. package/dist/chunks/{file-retention-4c8bw516.js → catalog-xn5rvdk3.js} +8 -8
  276. package/dist/chunks/{file-retention-4rcz7n1w.js → catalog-xrdn9kgh.js} +13 -13
  277. package/dist/chunks/{file-retention-zhxw6mnd.js → catalog-xycjtdwc.js} +2 -2
  278. package/dist/chunks/{file-retention-y1fvbwt7.js → catalog-y1fvbwt7.js} +1 -1
  279. package/dist/chunks/{file-retention-mwsztzac.js → catalog-ynj9sc9b.js} +14 -14
  280. package/dist/chunks/{file-retention-yrhqyw5v.js → catalog-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{file-retention-nk32hk52.js → catalog-yvmq8qxx.js} +12 -12
  282. package/dist/chunks/{file-retention-xa4djcz0.js → catalog-yvz2amb9.js} +8 -8
  283. package/dist/chunks/{file-retention-z0bkrqjs.js → catalog-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{file-retention-b4s1xj5x.js → catalog-z4rzbvzf.js} +9 -9
  285. package/dist/chunks/{file-retention-zeh9ct20.js → catalog-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{file-retention-zr2ceqn5.js → catalog-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{file-retention-zxq2ej10.js → catalog-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{file-retention-ksz0h0wp.js → catalog-zxwpk2nb.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +81 -81
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +117 -117
  297. package/dist/config/plugin/command.js +209 -209
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +115 -115
  304. package/dist/config/plugin/mcp.js +126 -126
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +115 -115
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +113 -113
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +119 -119
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +83 -83
  321. package/dist/database/database.js +68 -68
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +77 -77
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +361 -361
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +72 -72
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +85 -85
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +95 -95
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +96 -96
  425. package/dist/form.js +82 -82
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +93 -93
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +352 -352
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +86 -86
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +81 -81
  465. package/dist/location-services.js +349 -349
  466. package/dist/location.js +84 -84
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +97 -97
  469. package/dist/mcp/instructions.js +118 -118
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +84 -84
  475. package/dist/model.js +8 -8
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +80 -80
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +110 -110
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +86 -86
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +99 -99
  487. package/dist/plugin/command.js +96 -96
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +323 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +80 -80
  523. package/dist/plugin/provider/opencode.js +76 -76
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +156 -156
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +133 -133
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +342 -342
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +220 -220
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +85 -85
  555. package/dist/provider.js +5 -5
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +92 -92
  560. package/dist/reference/instructions.js +82 -82
  561. package/dist/reference.js +84 -84
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +91 -91
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +127 -127
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +219 -219
  575. package/dist/session/execution.js +124 -124
  576. package/dist/session/generate.js +148 -148
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +88 -88
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +113 -113
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -86
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +121 -121
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +169 -169
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +85 -85
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +151 -151
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +218 -218
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +15 -15
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +100 -100
  623. package/dist/skill.js +103 -103
  624. package/dist/snapshot.js +84 -84
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +121 -121
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +120 -120
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +117 -117
  635. package/dist/tool/plugin/question.js +100 -100
  636. package/dist/tool/plugin/read.js +119 -119
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +104 -104
  639. package/dist/tool/plugin/subagent.js +214 -214
  640. package/dist/tool/plugin/webfetch.js +105 -105
  641. package/dist/tool/plugin/websearch.js +107 -107
  642. package/dist/tool/plugin/write.js +117 -117
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +6 -6
  646. package/dist/tool.js +11 -11
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +7 -7
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/formatter.js +3 -3
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +3 -3
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +7 -7
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +80 -80
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +79 -79
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +341 -341
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +89 -89
  685. package/package.json +8 -8
  686. package/dist/chunks/file-retention-a5hbfrzd.js +0 -247
  687. package/dist/chunks/file-retention-f37dn1ey.js +0 -462
  688. package/dist/chunks/file-retention-hxa7m5za.js +0 -4
  689. package/dist/chunks/file-retention-jch0v1y2.js +0 -22
  690. package/dist/chunks/file-retention-q509s3k3.js +0 -18
  691. /package/dist/chunks/{file-retention-0qkdqm5v.js → catalog-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{file-retention-0zkw76rk.js → catalog-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{file-retention-17cy0kzp.js → catalog-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{file-retention-1cnp2v09.js → catalog-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{file-retention-1kg9ymc8.js → catalog-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{file-retention-2710q6r3.js → catalog-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{file-retention-2axfhc9x.js → catalog-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{file-retention-2c3vjs8z.js → catalog-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{file-retention-359p4xyc.js → catalog-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{file-retention-3asan66x.js → catalog-3asan66x.js} +0 -0
  701. /package/dist/chunks/{file-retention-3v8g72cx.js → catalog-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{file-retention-3w5fmr99.js → catalog-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{file-retention-3wcehsnq.js → catalog-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{file-retention-43n2bw4t.js → catalog-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{file-retention-4knz6hnm.js → catalog-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{file-retention-4y7fprxs.js → catalog-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{file-retention-53557ph1.js → catalog-53557ph1.js} +0 -0
  708. /package/dist/chunks/{file-retention-550bvhaj.js → catalog-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{file-retention-6prwharc.js → catalog-6prwharc.js} +0 -0
  710. /package/dist/chunks/{file-retention-7akdwqpd.js → catalog-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{file-retention-7m9af43g.js → catalog-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{file-retention-822emrt2.js → catalog-822emrt2.js} +0 -0
  713. /package/dist/chunks/{file-retention-88xbtdfr.js → catalog-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{file-retention-8n3pysct.js → catalog-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{file-retention-922hggd3.js → catalog-922hggd3.js} +0 -0
  716. /package/dist/chunks/{file-retention-9a4afbnw.js → catalog-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{file-retention-9rqn6x4v.js → catalog-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{file-retention-a1tpkmh4.js → catalog-a1tpkmh4.js} +0 -0
  719. /package/dist/chunks/{file-retention-a6k6eb26.js → catalog-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{file-retention-af5trqkr.js → catalog-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{file-retention-afrmfg78.js → catalog-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{file-retention-aqzs7mqg.js → catalog-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{file-retention-atq7p7m5.js → catalog-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{file-retention-bkyjaxrp.js → catalog-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{file-retention-bmr6ed5q.js → catalog-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{file-retention-cf4snx6d.js → catalog-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{file-retention-cvy3z8tj.js → catalog-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{file-retention-d9fn303g.js → catalog-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{file-retention-d9jj8t3e.js → catalog-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{file-retention-dajrwvna.js → catalog-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{file-retention-dap0rakb.js → catalog-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{file-retention-df08tz66.js → catalog-df08tz66.js} +0 -0
  733. /package/dist/chunks/{file-retention-dy18nga0.js → catalog-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{file-retention-e5kj55wp.js → catalog-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{file-retention-e73j6tqm.js → catalog-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{file-retention-ec1grn59.js → catalog-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{file-retention-eh3zwz77.js → catalog-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{file-retention-emrn6kk6.js → catalog-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{file-retention-f0mxakyp.js → catalog-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{file-retention-f6n9ztr4.js → catalog-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{file-retention-faypxj3z.js → catalog-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{file-retention-fd410y7t.js → catalog-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{file-retention-fxgpk5d8.js → catalog-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{file-retention-g4wezp1m.js → catalog-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{file-retention-g86h250q.js → catalog-g86h250q.js} +0 -0
  746. /package/dist/chunks/{file-retention-gebd4c9n.js → catalog-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{file-retention-gftt206x.js → catalog-gftt206x.js} +0 -0
  748. /package/dist/chunks/{file-retention-hjbc5kem.js → catalog-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{file-retention-hk9envan.js → catalog-hk9envan.js} +0 -0
  750. /package/dist/chunks/{file-retention-hrnqkpcd.js → catalog-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{file-retention-j2ntwpah.js → catalog-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{file-retention-j5zkgpj8.js → catalog-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{file-retention-jr7sbwjy.js → catalog-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{file-retention-jwfs4k6c.js → catalog-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{file-retention-jzg6c2d5.js → catalog-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{file-retention-mp448xyj.js → catalog-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{file-retention-msx8hqn2.js → catalog-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{file-retention-n05xt0ee.js → catalog-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{file-retention-n3j8tn72.js → catalog-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{file-retention-njntx4h6.js → catalog-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{file-retention-q3sfg36h.js → catalog-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{file-retention-q74kybfr.js → catalog-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{file-retention-qaymkmh1.js → catalog-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{file-retention-qb87gjwd.js → catalog-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{file-retention-qfa1cgps.js → catalog-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{file-retention-qrg20bc0.js → catalog-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{file-retention-rcb2kzg1.js → catalog-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{file-retention-sdp7kfr6.js → catalog-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{file-retention-sk3qaz4a.js → catalog-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{file-retention-ssg3fenm.js → catalog-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{file-retention-twg0f83k.js → catalog-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{file-retention-w803qqfp.js → catalog-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{file-retention-wer8tq1h.js → catalog-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{file-retention-wtztk69x.js → catalog-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{file-retention-x0ckcb58.js → catalog-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{file-retention-x61499pn.js → catalog-x61499pn.js} +0 -0
  777. /package/dist/chunks/{file-retention-y44na4kk.js → catalog-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{file-retention-y8cydn3q.js → catalog-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{file-retention-ygaqb7jw.js → catalog-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{file-retention-ym463w8f.js → catalog-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{file-retention-z9919s4g.js → catalog-z9919s4g.js} +0 -0
@@ -1,61 +1,61 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./file-retention-tqaee6jy.js";
2
+ Service80,
3
+ node85
4
+ } from "./catalog-2t8xysc7.js";
5
5
  import {
6
6
  reserveSequence2,
7
- Service78,
8
- node83
9
- } from "./file-retention-qp4pmkb7.js";
7
+ Service79,
8
+ node84
9
+ } from "./catalog-v01artfa.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./file-retention-ec1grn59.js";
12
+ } from "./catalog-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./file-retention-gftt206x.js";
15
+ } from "./catalog-gftt206x.js";
16
16
  import {
17
- update2
18
- } from "./file-retention-1dfhrqqs.js";
17
+ update3
18
+ } from "./catalog-0hpxrkyb.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./file-retention-922hggd3.js";
22
+ } from "./catalog-922hggd3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./file-retention-8p4f9s12.js";
25
+ } from "./catalog-8p4f9s12.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./file-retention-a1bz86dw.js";
30
+ } from "./catalog-a1bz86dw.js";
31
31
  import {
32
32
  projectAdmitted2,
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./file-retention-fp1hhbvz.js";
36
+ } from "./catalog-e34b6n40.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./file-retention-bha4atvq.js";
42
+ } from "./catalog-6tt5evqq.js";
43
43
  import {
44
44
  initialize2
45
- } from "./file-retention-p06n4w0k.js";
45
+ } from "./catalog-0e1sw8g7.js";
46
46
  import {
47
47
  Slug2
48
- } from "./file-retention-gebd4c9n.js";
48
+ } from "./catalog-gebd4c9n.js";
49
49
  import {
50
50
  __export
51
- } from "./file-retention-9rqn6x4v.js";
51
+ } from "./catalog-9rqn6x4v.js";
52
52
 
53
53
  // src/session/projector.ts
54
54
  var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node24
58
+ node: () => node31
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -245,7 +245,7 @@ function run(db, event) {
245
245
  updateCompaction: updateMessage,
246
246
  appendMessage
247
247
  };
248
- yield* update2(adapter, event);
248
+ yield* update3(adapter, event);
249
249
  });
250
250
  }
251
251
  function insertMessage(db, event, message) {
@@ -275,8 +275,8 @@ function projectIdle(db, event) {
275
275
  });
276
276
  }
277
277
  var layer = Layer.effectDiscard(Effect.gen(function* () {
278
- const bus = yield* Service78;
279
- const db = (yield* Service79).db;
278
+ const bus = yield* Service79;
279
+ const db = (yield* Service80).db;
280
280
  yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
281
281
  const stored = yield* db.insert(SessionTable2).values({
282
282
  id: event.data.sessionID,
@@ -455,6 +455,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
455
455
  return publishSessionUsage(db, bus, event.data.sessionID);
456
456
  }), Effect.forkScoped({ startImmediately: true }));
457
457
  }));
458
- var node24 = makeGlobalNode({ name: "session-projector", layer, deps: [node83, node84] });
458
+ var node31 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
459
459
 
460
- export { SessionAlreadyProjected2, node24, exports_projector };
460
+ export { SessionAlreadyProjected2, node31, exports_projector };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  mergeOverlay2
3
- } from "./file-retention-m27pyyd3.js";
3
+ } from "./catalog-c7ecgrk6.js";
4
4
  import {
5
- Service66
6
- } from "./file-retention-9c22vnh3.js";
5
+ Service73
6
+ } from "./catalog-h9v53t8b.js";
7
7
  import {
8
- Service44
9
- } from "./file-retention-f2fvptgs.js";
8
+ Service66
9
+ } from "./catalog-jvgf59s5.js";
10
10
 
11
11
  // src/plugin/provider/configured.ts
12
12
  import { Effect, Option } from "effect";
13
13
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
14
- const catalog = yield* Service66;
14
+ const catalog = yield* Service73;
15
15
  const current = (yield* catalog.provider.get(id))?.settings;
16
- const service = yield* Effect.serviceOption(Service44);
16
+ const service = yield* Effect.serviceOption(Service66);
17
17
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
18
18
  return foldSettings2(entries, id, current);
19
19
  });
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-retention-922hggd3.js";
3
+ } from "./catalog-922hggd3.js";
4
4
  import {
5
- Info18
6
- } from "./file-retention-f3ngv102.js";
5
+ Info24
6
+ } from "./catalog-kk00bynn.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./catalog-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
- var exports_agent3 = {};
13
- __export(exports_agent3, {
14
- ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info17
12
+ var exports_agent4 = {};
13
+ __export(exports_agent4, {
14
+ ConfigAgentV1: () => exports_agent4,
15
+ Info: () => Info23
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info18)
47
+ permission: Schema.optional(Info24)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info17 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info23 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info17, exports_agent3 };
74
+ export { Info23, exports_agent4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./file-retention-hjbc5kem.js";
3
+ } from "./catalog-hjbc5kem.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service78,
3
- node83
4
- } from "./file-retention-qp4pmkb7.js";
2
+ Service79,
3
+ node84
4
+ } from "./catalog-v01artfa.js";
5
5
  import {
6
6
  environment2
7
- } from "./file-retention-164jdkrd.js";
7
+ } from "./catalog-kxfy9v2j.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./file-retention-sk3qaz4a.js";
10
+ } from "./catalog-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./catalog-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError3,
20
- Options: () => Options4,
19
+ NotFoundError: () => NotFoundError7,
20
+ Options: () => Options5,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service29,
23
- UnavailableError: () => UnavailableError2,
24
- configured: () => configured4,
25
- layer: () => layer14,
26
- node: () => node33
22
+ Service: () => Service56,
23
+ UnavailableError: () => UnavailableError3,
24
+ configured: () => configured6,
25
+ layer: () => layer19,
26
+ node: () => node60
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options5 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError7 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service29 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service56 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service29, Effect.gen(function* () {
53
- const bus = yield* Service78;
52
+ var makeLayer = (options = {}) => Layer.effect(Service56, Effect.gen(function* () {
53
+ const bus = yield* Service79;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
56
56
  const runFork = Effect.runForkWith(context);
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service29, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError3({ ptyID: id });
75
+ return yield* new NotFoundError7({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service29, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service29, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service29.of({
242
+ return Service56.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service29, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer14 = makeLayer();
259
- var configured4 = (options) => makeGlobalNode({
260
- service: Service29,
261
- layer: options === undefined ? layer14 : makeLayer(options),
262
- deps: [node83, Global.node]
258
+ var layer19 = makeLayer();
259
+ var configured6 = (options) => makeGlobalNode({
260
+ service: Service56,
261
+ layer: options === undefined ? layer19 : makeLayer(options),
262
+ deps: [node84, Global.node]
263
263
  });
264
- var node33 = configured4();
264
+ var node60 = configured6();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options4, UnavailableError2, NotFoundError3, Service29, layer14, configured4, node33, exports_persistent_pty, Handoff2 };
304
+ export { Options5, UnavailableError3, NotFoundError7, Service56, layer19, configured6, node60, exports_persistent_pty, Handoff2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./file-retention-164jdkrd.js";
3
+ } from "./catalog-kxfy9v2j.js";
4
4
  import {
5
5
  lazy2
6
- } from "./file-retention-88xbtdfr.js";
6
+ } from "./catalog-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./file-retention-y1fvbwt7.js";
9
+ } from "./catalog-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./file-retention-9rqn6x4v.js";
12
+ } from "./catalog-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./file-retention-dpkg50ah.js";
3
+ } from "./catalog-dpkg50ah.js";
4
4
  import {
5
- Service78,
6
- node83
7
- } from "./file-retention-qp4pmkb7.js";
5
+ Service79,
6
+ node84
7
+ } from "./catalog-v01artfa.js";
8
8
  import {
9
- Event17,
10
- Service69,
11
- node74
12
- } from "./file-retention-fvt1yp66.js";
9
+ Event19,
10
+ Service76,
11
+ node81
12
+ } from "./catalog-9hxjxzzj.js";
13
13
  import {
14
- Service75,
15
- node80
16
- } from "./file-retention-m7ty3jyf.js";
17
- import {
18
- Service55,
19
- node60
20
- } from "./file-retention-m3800wpb.js";
21
- import {
22
- ID9,
23
14
  Service68,
24
15
  node73
25
- } from "./file-retention-dr20mx92.js";
16
+ } from "./catalog-277t2eea.js";
17
+ import {
18
+ Service59,
19
+ node63
20
+ } from "./catalog-sg6ndnsg.js";
21
+ import {
22
+ ID15,
23
+ Service75,
24
+ node80
25
+ } from "./catalog-7nzmz6w9.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./file-retention-kg06axw8.js";
29
+ } from "./catalog-kg06axw8.js";
30
30
  import {
31
- ID8,
31
+ ID14,
32
32
  MethodID2,
33
- Service67,
34
- node72
35
- } from "./file-retention-6xyaxxp3.js";
33
+ Service74,
34
+ node79
35
+ } from "./catalog-trdmtmn1.js";
36
36
  import {
37
37
  __export
38
- } from "./file-retention-9rqn6x4v.js";
38
+ } from "./catalog-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
56
56
  ServerInfo: () => ServerInfo2,
57
57
  ServerInstructions: () => ServerInstructions2,
58
58
  ServerName: () => ServerName2,
59
- Service: () => Service27,
59
+ Service: () => Service32,
60
60
  Status: () => Status2,
61
61
  Tool: () => Tool3,
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
65
  configured: () => configured3,
66
- layer: () => layer13,
67
- node: () => node31
66
+ layer: () => layer14,
67
+ node: () => node36
68
68
  });
69
69
  import { Mcp } from "@opencode/schema/mcp";
70
70
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
81
81
  class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
82
82
  name: ServerName2,
83
83
  status: Status2,
84
- integrationID: ID8.pipe(Schema.optional)
84
+ integrationID: ID14.pipe(Schema.optional)
85
85
  }) {
86
86
  }
87
87
 
@@ -165,7 +165,7 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
165
165
  var URL_ELICITATION_FIELD_KEY = "elicitation";
166
166
  var cloneConfig = (config) => structuredClone(config);
167
167
 
168
- class Service27 extends Context.Service()("@opencode/MCP") {
168
+ class Service32 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
170
  var Options3 = Schema.Struct({
171
171
  clientInfo: Schema.optional(Schema.Struct({
@@ -173,13 +173,13 @@ var Options3 = Schema.Struct({
173
173
  version: Schema.String
174
174
  }))
175
175
  });
176
- var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
177
- const location = yield* Service75;
178
- const environment = yield* Service55;
179
- const bus = yield* Service78;
180
- const forms = yield* Service68;
181
- const integration = yield* Service67;
182
- const credentials = yield* Service69;
176
+ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
177
+ const location = yield* Service68;
178
+ const environment = yield* Service59;
179
+ const bus = yield* Service79;
180
+ const forms = yield* Service75;
181
+ const integration = yield* Service74;
182
+ const credentials = yield* Service76;
183
183
  const root = yield* Effect.scope;
184
184
  const fork = yield* FiberSet.makeRuntime();
185
185
  const entries = new Map;
@@ -191,7 +191,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
191
191
  return;
192
192
  const remote = entry.config;
193
193
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
194
- const integrationID = ID8.make(suffix);
194
+ const integrationID = ID14.make(suffix);
195
195
  entry.integrationID = integrationID;
196
196
  owned.add(integrationID);
197
197
  const methodID = MethodID2.make(suffix);
@@ -315,7 +315,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
315
315
  const elicitation = {
316
316
  create: (input) => Effect.gen(function* () {
317
317
  if (input.params.mode === "url") {
318
- const formID = ID9.create();
318
+ const formID = ID15.create();
319
319
  const key = input.server + "\x00" + input.params.elicitationId;
320
320
  urlElicitations.set(key, formID);
321
321
  return yield* forms.ask({
@@ -433,7 +433,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
433
433
  entry.scope = scope;
434
434
  const authProvider = yield* connectProvider(entry);
435
435
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
436
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service55, environment), Scope.provide(scope), Effect.exit);
436
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service59, environment), Scope.provide(scope), Effect.exit);
437
437
  if (Exit.isSuccess(result)) {
438
438
  entry.client = result.value.connection;
439
439
  entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
@@ -557,7 +557,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
557
557
  yield* startServer(name, entry);
558
558
  }).pipe(locks.withLock(name));
559
559
  });
560
- fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
560
+ fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
561
561
  const state = create3({
562
562
  name: "mcp",
563
563
  initial: () => ({
@@ -587,7 +587,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
587
587
  concurrency: "unbounded",
588
588
  discard: true
589
589
  }));
590
- return Service27.of({
590
+ return Service32.of({
591
591
  transform: state.transform,
592
592
  reload: state.reload,
593
593
  servers: Effect.fn("MCP.servers")(function* () {
@@ -709,12 +709,12 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
709
709
  }));
710
710
  function configured3(options) {
711
711
  return makeLocationNode({
712
- service: Service27,
713
- layer: layer13(options),
714
- deps: [node80, node60, node83, node73, node72, node74]
712
+ service: Service32,
713
+ layer: layer14(options),
714
+ deps: [node73, node63, node84, node80, node79, node81]
715
715
  });
716
716
  }
717
- var node31 = configured3();
717
+ var node36 = configured3();
718
718
  function toElicitationField(key, property, required) {
719
719
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
720
720
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
765
765
  }
766
766
  }
767
767
 
768
- export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service27, Options3, layer13, configured3, node31, exports_mcp4 };
768
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service32, Options3, layer14, configured3, node36, exports_mcp4 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./file-retention-emrn6kk6.js";
4
+ } from "./catalog-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service78,
4
- node83
5
- } from "./file-retention-qp4pmkb7.js";
3
+ Service79,
4
+ node84
5
+ } from "./catalog-v01artfa.js";
6
6
  import {
7
7
  __export
8
- } from "./file-retention-9rqn6x4v.js";
8
+ } from "./catalog-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service6,
14
+ Service: () => Service5,
15
15
  Updated: () => Updated2,
16
- layer: () => layer6,
17
- node: () => node9
16
+ layer: () => layer4,
17
+ node: () => node7
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service6 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service5 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer6 = Layer.effect(Service6, Effect.gen(function* () {
26
- const bus = yield* Service78;
25
+ var layer4 = Layer.effect(Service5, Effect.gen(function* () {
26
+ const bus = yield* Service79;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service6.of({
29
+ return Service5.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node9 = makeGlobalNode({ service: Service6, layer: layer6, deps: [node83] });
36
+ var node7 = makeGlobalNode({ service: Service5, layer: layer4, deps: [node84] });
37
37
 
38
- export { Updated2, Service6, layer6, node9, exports_sdk };
38
+ export { Updated2, Service5, layer4, node7, exports_sdk };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service44
4
- } from "./file-retention-f2fvptgs.js";
3
+ Service66
4
+ } from "./catalog-jvgf59s5.js";
5
5
  import {
6
- Service52
7
- } from "./file-retention-mhd0t4xv.js";
6
+ Service54
7
+ } from "./catalog-rkqame75.js";
8
8
  import {
9
9
  observe2
10
- } from "./file-retention-qsdy395h.js";
10
+ } from "./catalog-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./catalog-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin18
19
+ Plugin: () => Plugin31
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin18 = define({
23
+ var Plugin31 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service44;
27
- const snapshot = yield* Service52;
26
+ const config = yield* Service66;
27
+ const snapshot = yield* Service54;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin18 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin18, exports_snapshot };
38
+ export { Plugin31, exports_snapshot };