@opencode/core 0.0.0-dev-20183 → 0.0.0-dev-20187

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 (804) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{app-hbaf146g.js → file-access-09p5dswj.js} +30 -30
  8. package/dist/chunks/{app-wsvzkehx.js → file-access-0ban4q7j.js} +20 -20
  9. package/dist/chunks/{app-m8e7ztd5.js → file-access-0bp4e21p.js} +3 -3
  10. package/dist/chunks/{app-tb3b9sw6.js → file-access-0egx9fcg.js} +12 -12
  11. package/dist/chunks/{app-30dn86p1.js → file-access-0gtypekj.js} +87 -20
  12. package/dist/chunks/{app-j6c2947d.js → file-access-0h3wrvqa.js} +1 -1
  13. package/dist/chunks/{app-kp8q1t60.js → file-access-0jq9fyba.js} +9 -9
  14. package/dist/chunks/{app-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{app-pf9pgydg.js → file-access-0pr3hkd7.js} +4 -4
  16. package/dist/chunks/{app-6df1s2zp.js → file-access-0trjvgwz.js} +16 -16
  17. package/dist/chunks/{app-jzm3dw47.js → file-access-118e1mbr.js} +3 -3
  18. package/dist/chunks/{app-5kr47n8m.js → file-access-1258x4qk.js} +17 -17
  19. package/dist/chunks/{app-rks7y0xb.js → file-access-154cngd0.js} +11 -11
  20. package/dist/chunks/{app-zsv6wfhn.js → file-access-18yef4q6.js} +25 -25
  21. package/dist/chunks/{app-3j8sdtpz.js → file-access-1a6p2twq.js} +4 -4
  22. package/dist/chunks/{app-yp2x3t23.js → file-access-1acjjqhc.js} +4 -4
  23. package/dist/chunks/{app-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{app-h3beccv2.js → file-access-1gd8g1kd.js} +21 -21
  25. package/dist/chunks/{app-8prskhzj.js → file-access-1mk6sdbt.js} +9 -9
  26. package/dist/chunks/{app-2krf6z0f.js → file-access-1q0j3phs.js} +14 -14
  27. package/dist/chunks/{app-jjh1kqak.js → file-access-1sbn9mmf.js} +15 -15
  28. package/dist/chunks/{app-21r38tys.js → file-access-21r38tys.js} +1 -1
  29. package/dist/chunks/{app-q20b9c35.js → file-access-21z43ch8.js} +11 -11
  30. package/dist/chunks/{app-772x3yj2.js → file-access-23a4zp69.js} +7 -7
  31. package/dist/chunks/{app-6h73sxmp.js → file-access-2402vzrj.js} +5 -5
  32. package/dist/chunks/{app-4w6pnabk.js → file-access-27f0zk48.js} +45 -45
  33. package/dist/chunks/{app-29x78va6.js → file-access-29x78va6.js} +2 -2
  34. package/dist/chunks/{app-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{app-qgn6gcr1.js → file-access-2k8khapm.js} +5 -5
  36. package/dist/chunks/{app-a5gqm4c9.js → file-access-2qq7qy34.js} +6 -6
  37. package/dist/chunks/{app-tmg40ghk.js → file-access-2rb43g2j.js} +1 -1
  38. package/dist/chunks/{app-a72gbv29.js → file-access-2yf0aazv.js} +6 -6
  39. package/dist/chunks/{app-c9e7vqn3.js → file-access-31sqvd3m.js} +6 -6
  40. package/dist/chunks/{app-jq4a9y4s.js → file-access-3334155c.js} +8 -8
  41. package/dist/chunks/{app-vc7vckp8.js → file-access-337y9ajx.js} +9 -9
  42. package/dist/chunks/{app-myd3b094.js → file-access-34d8h93h.js} +13 -13
  43. package/dist/chunks/file-access-37gbyejr.js +26 -0
  44. package/dist/chunks/{app-dppfft2v.js → file-access-3cbqyyyx.js} +13 -13
  45. package/dist/chunks/{app-d87ppnb3.js → file-access-3cfzdc8e.js} +5 -5
  46. package/dist/chunks/{app-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
  47. package/dist/chunks/{app-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{app-ahsg504y.js → file-access-3r09dpjk.js} +4 -4
  49. package/dist/chunks/{app-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{app-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{app-3zsf4n22.js → file-access-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{app-qrds72pd.js → file-access-49exe669.js} +5 -5
  53. package/dist/chunks/{app-ccs41bz9.js → file-access-4acqjqp7.js} +14 -14
  54. package/dist/chunks/{app-x2cmdckx.js → file-access-4aq4ypfe.js} +27 -27
  55. package/dist/chunks/{app-fgktf29t.js → file-access-4e8vs6eh.js} +8 -8
  56. package/dist/chunks/{app-r7qvzhps.js → file-access-4p4fv3qj.js} +14 -14
  57. package/dist/chunks/{app-dy5f8vtz.js → file-access-4sjwj7n7.js} +12 -12
  58. package/dist/chunks/{app-azmax92t.js → file-access-4w5bpbdf.js} +8 -8
  59. package/dist/chunks/{app-ckj0j7na.js → file-access-4x8kksgb.js} +9 -9
  60. package/dist/chunks/{app-57ez7d0k.js → file-access-57ez7d0k.js} +2 -2
  61. package/dist/chunks/{app-pa5fajgc.js → file-access-5982ss3w.js} +8 -8
  62. package/dist/chunks/{app-zfeqee33.js → file-access-5btey1ak.js} +12 -12
  63. package/dist/chunks/{app-x5vahk43.js → file-access-5cb5swh5.js} +8 -8
  64. package/dist/chunks/{app-5daktx2q.js → file-access-5daktx2q.js} +1 -1
  65. package/dist/chunks/{app-k0vfxb4k.js → file-access-5h27d9rq.js} +23 -23
  66. package/dist/chunks/{app-b7b9y31v.js → file-access-5jmp07yj.js} +21 -21
  67. package/dist/chunks/{app-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{app-f11fm5rt.js → file-access-5vrnswt1.js} +8 -8
  69. package/dist/chunks/{app-f7a7fxkf.js → file-access-5zarf4w6.js} +14 -14
  70. package/dist/chunks/{app-5n4zza11.js → file-access-65p03r80.js} +15 -15
  71. package/dist/chunks/{app-669tq793.js → file-access-669tq793.js} +1 -1
  72. package/dist/chunks/{app-ktc86f7m.js → file-access-6ba3re5s.js} +23 -23
  73. package/dist/chunks/{app-f4821swv.js → file-access-6jq3w683.js} +58 -58
  74. package/dist/chunks/file-access-6kdq0pjd.js +4 -0
  75. package/dist/chunks/{app-6msgmcgs.js → file-access-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{app-wcda6taw.js → file-access-6mvtq6c7.js} +18 -18
  77. package/dist/chunks/{app-6r17xzga.js → file-access-75gb3hq5.js} +5 -5
  78. package/dist/chunks/{app-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{app-a26qxgdt.js → file-access-7f2vjcwv.js} +14 -14
  80. package/dist/chunks/file-access-7fj5dwt0.js +18 -0
  81. package/dist/chunks/{app-xtnpp68a.js → file-access-7gy1ktzc.js} +8 -8
  82. package/dist/chunks/{app-j34tctwe.js → file-access-7nn57yq6.js} +4 -4
  83. package/dist/chunks/{app-rzs3gq0x.js → file-access-7rwqf82v.js} +8 -8
  84. package/dist/chunks/{app-g0mqs9ke.js → file-access-7z82321y.js} +7 -7
  85. package/dist/chunks/file-access-8bx98dp2.js +252 -0
  86. package/dist/chunks/{app-qhfx9m4p.js → file-access-8d0p2m37.js} +8 -8
  87. package/dist/chunks/{app-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{app-06x8he3q.js → file-access-8gxqpgph.js} +4 -4
  89. package/dist/chunks/{app-xy4s0ftx.js → file-access-8jjtxg0s.js} +28 -28
  90. package/dist/chunks/{app-msede844.js → file-access-8skxcr47.js} +16 -16
  91. package/dist/chunks/{app-rkprpv83.js → file-access-8sze2n9a.js} +6 -6
  92. package/dist/chunks/{app-s7y4804s.js → file-access-8txb2b8x.js} +9 -9
  93. package/dist/chunks/{app-jfgzrkfd.js → file-access-906a7jx9.js} +3 -3
  94. package/dist/chunks/{app-pax4wwbn.js → file-access-93g208q1.js} +26 -26
  95. package/dist/chunks/{app-94ek1h2f.js → file-access-94ek1h2f.js} +2 -2
  96. package/dist/chunks/{app-fp8f3fwd.js → file-access-95ep91d8.js} +18 -18
  97. package/dist/chunks/{app-x37dysgs.js → file-access-962mx99c.js} +27 -27
  98. package/dist/chunks/{app-p6m2jw0c.js → file-access-98zr84gz.js} +30 -30
  99. package/dist/chunks/{app-d1v55qp5.js → file-access-9924wf9r.js} +10 -10
  100. package/dist/chunks/{app-g6kd9wnb.js → file-access-9as0zx85.js} +11 -11
  101. package/dist/chunks/{app-2rqb0n2e.js → file-access-9jcbxg0k.js} +16 -16
  102. package/dist/chunks/{app-y4egsfsk.js → file-access-9syxb0r3.js} +11 -11
  103. package/dist/chunks/{app-4s9c1cby.js → file-access-9xe9qmj9.js} +36 -36
  104. package/dist/chunks/{app-zjx5ttkw.js → file-access-a3r4dcrj.js} +2 -2
  105. package/dist/chunks/{app-aaet6srn.js → file-access-aaet6srn.js} +2 -2
  106. package/dist/chunks/{app-ktmxpr9b.js → file-access-ahj96hsx.js} +3 -3
  107. package/dist/chunks/{app-wx4a3jh4.js → file-access-akhdm1q5.js} +28 -28
  108. package/dist/chunks/file-access-az20cacd.js +511 -0
  109. package/dist/chunks/{app-vb4g9dae.js → file-access-b5jzj1yj.js} +4 -4
  110. package/dist/chunks/{app-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{app-bh8ke73z.js → file-access-b8me5nm1.js} +9 -9
  112. package/dist/chunks/{app-jvhw5feb.js → file-access-bdy3xwvm.js} +9 -9
  113. package/dist/chunks/{app-381tf59s.js → file-access-bep57vhd.js} +18 -18
  114. package/dist/chunks/{app-a7cargxb.js → file-access-bfpeh5ef.js} +35 -35
  115. package/dist/chunks/{app-f6fxmw8k.js → file-access-bm9d9rgc.js} +9 -9
  116. package/dist/chunks/{app-kpz2hpxg.js → file-access-c3jkddnq.js} +3 -3
  117. package/dist/chunks/{app-3rmaeae4.js → file-access-c9mjmcgp.js} +3 -3
  118. package/dist/chunks/{app-jmafhyzf.js → file-access-cfgmghb0.js} +20 -20
  119. package/dist/chunks/{app-ckecvw8r.js → file-access-ckecvw8r.js} +2 -2
  120. package/dist/chunks/{app-g751tqet.js → file-access-cnmnpfzq.js} +41 -41
  121. package/dist/chunks/{app-6e60b89z.js → file-access-ctsbw3ys.js} +20 -20
  122. package/dist/chunks/{app-ead3g9p8.js → file-access-d2aac7k2.js} +5 -5
  123. package/dist/chunks/{app-dwae9e5x.js → file-access-d5ggx3gj.js} +3 -3
  124. package/dist/chunks/{app-adk9my66.js → file-access-dq0v80fr.js} +12 -12
  125. package/dist/chunks/{app-0zs2jmpx.js → file-access-drq6bgth.js} +41 -41
  126. package/dist/chunks/{app-8vmhfmbz.js → file-access-dwgwpymj.js} +9 -9
  127. package/dist/chunks/{app-y0sv1x8h.js → file-access-e12qqq59.js} +35 -35
  128. package/dist/chunks/{app-q7ar3ry6.js → file-access-e7b5xck2.js} +18 -18
  129. package/dist/chunks/{app-cw2mjhhm.js → file-access-e9j2rb6f.js} +10 -10
  130. package/dist/chunks/{app-0t3s8gwj.js → file-access-eb4gdybs.js} +20 -20
  131. package/dist/chunks/{app-tbcsea09.js → file-access-ec0abva6.js} +95 -95
  132. package/dist/chunks/{app-ecfe7b91.js → file-access-ecfe7b91.js} +2 -2
  133. package/dist/chunks/{app-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{app-1wapx8hq.js → file-access-efd5z8ny.js} +11 -11
  135. package/dist/chunks/{app-zy8mqy84.js → file-access-efq6bxpk.js} +1 -1
  136. package/dist/chunks/{app-jewzahs7.js → file-access-ermxvwhp.js} +4 -4
  137. package/dist/chunks/{app-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{app-9skm3yw2.js → file-access-f4mxeny4.js} +7 -7
  139. package/dist/chunks/{app-pa6tn4dn.js → file-access-f7zky7ve.js} +17 -17
  140. package/dist/chunks/{app-jwmy08gh.js → file-access-fdth3mr3.js} +10 -10
  141. package/dist/chunks/{app-ss7gbv6r.js → file-access-fhwwmt3w.js} +25 -25
  142. package/dist/chunks/{app-fjvydvzm.js → file-access-fjvydvzm.js} +1 -1
  143. package/dist/chunks/{app-ws59qfe7.js → file-access-frvysw6e.js} +13 -13
  144. package/dist/chunks/{app-r2bcgb1d.js → file-access-gas93twd.js} +35 -35
  145. package/dist/chunks/{app-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{app-41wzkj33.js → file-access-gpk600j1.js} +5 -5
  147. package/dist/chunks/{app-pany3nnr.js → file-access-gtecn56v.js} +9 -9
  148. package/dist/chunks/{app-gv6a8nnw.js → file-access-gv6a8nnw.js} +2 -2
  149. package/dist/chunks/{app-j8m1p4p1.js → file-access-gzq5apsj.js} +4 -4
  150. package/dist/chunks/{app-7t177gfd.js → file-access-h6gdmyf8.js} +25 -25
  151. package/dist/chunks/{app-h6r3nrb9.js → file-access-h6r3nrb9.js} +1 -1
  152. package/dist/chunks/{app-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{app-5ha5de5a.js → file-access-hb9qvk7n.js} +37 -37
  154. package/dist/chunks/{app-p1nm93x7.js → file-access-hcz3zddy.js} +5 -5
  155. package/dist/chunks/{app-z895wpav.js → file-access-hg429xeg.js} +8 -8
  156. package/dist/chunks/{app-ya9fx2vp.js → file-access-hnwbm56y.js} +6 -6
  157. package/dist/chunks/{app-0y8j0jwb.js → file-access-hr1w2mm6.js} +33 -33
  158. package/dist/chunks/{app-z5a3g3fm.js → file-access-hrehjthg.js} +8 -8
  159. package/dist/chunks/{app-vhe5gjfh.js → file-access-hzmns3wg.js} +1 -1
  160. package/dist/chunks/{app-pb4k0zyb.js → file-access-j07veqf6.js} +30 -30
  161. package/dist/chunks/{app-vbxncmzn.js → file-access-j34awfj4.js} +8 -8
  162. package/dist/chunks/{app-j56e64zr.js → file-access-j56e64zr.js} +1 -1
  163. package/dist/chunks/{app-dcngajy7.js → file-access-j83wewfm.js} +23 -23
  164. package/dist/chunks/{app-cqh4n8r9.js → file-access-jahf9mby.js} +35 -35
  165. package/dist/chunks/{app-tdhfktd2.js → file-access-jexxy024.js} +3 -3
  166. package/dist/chunks/{app-qk25y3ed.js → file-access-k1s0srkb.js} +10 -10
  167. package/dist/chunks/{app-qatg2v12.js → file-access-k2w2e4qt.js} +3 -3
  168. package/dist/chunks/{app-k3c624dm.js → file-access-k3c624dm.js} +3 -3
  169. package/dist/chunks/{app-qjkadte7.js → file-access-k88pt7np.js} +18 -18
  170. package/dist/chunks/{app-0k7rzmkv.js → file-access-ksear8pa.js} +28 -28
  171. package/dist/chunks/{app-4gvbb2mg.js → file-access-ksxfp18t.js} +26 -26
  172. package/dist/chunks/{app-m3fdjcah.js → file-access-m3fdjcah.js} +1 -1
  173. package/dist/chunks/{app-gwtnskww.js → file-access-m6yz57p5.js} +16 -16
  174. package/dist/chunks/{app-rxmg1584.js → file-access-m7ygnyv0.js} +65 -65
  175. package/dist/chunks/{app-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{app-nc7x9c24.js → file-access-mce70z9k.js} +2 -2
  177. package/dist/chunks/{app-ax56929r.js → file-access-mcg4cdmb.js} +35 -35
  178. package/dist/chunks/{app-4y1a8kv7.js → file-access-me78x99w.js} +41 -41
  179. package/dist/chunks/{app-zbc4823q.js → file-access-me9yfmm8.js} +2 -2
  180. package/dist/chunks/{app-56gdpj1q.js → file-access-mfqp6xfm.js} +6 -6
  181. package/dist/chunks/{app-8hr617rk.js → file-access-mkd90k1k.js} +13 -13
  182. package/dist/chunks/{app-8nz49acp.js → file-access-mktjswcw.js} +34 -34
  183. package/dist/chunks/{app-yxwncw5d.js → file-access-mts3tp2a.js} +23 -23
  184. package/dist/chunks/{app-k18ytf7m.js → file-access-mvfdckk2.js} +6 -6
  185. package/dist/chunks/{app-1bbkgx8g.js → file-access-mvfsc1pv.js} +3 -3
  186. package/dist/chunks/{app-5xpznt2d.js → file-access-mvksx64m.js} +4 -4
  187. package/dist/chunks/{app-3ms0g86c.js → file-access-mxr1v1s0.js} +8 -8
  188. package/dist/chunks/{app-dn5wevn0.js → file-access-nb97snw5.js} +10 -10
  189. package/dist/chunks/{app-2ewsd7dz.js → file-access-nddt17wd.js} +13 -13
  190. package/dist/chunks/{app-jpn3snb8.js → file-access-negvxphk.js} +38 -38
  191. package/dist/chunks/{app-g3fwpptv.js → file-access-nen0t6m1.js} +19 -19
  192. package/dist/chunks/{app-v1gkvhxg.js → file-access-nfhxq8kb.js} +21 -21
  193. package/dist/chunks/{app-1tq060df.js → file-access-p0b4ytnr.js} +4 -4
  194. package/dist/chunks/{app-qz2fsytq.js → file-access-p2drbkg5.js} +23 -23
  195. package/dist/chunks/{app-g0445xdp.js → file-access-p37cw4rj.js} +8 -8
  196. package/dist/chunks/{app-zgq7793f.js → file-access-p9p4b71m.js} +15 -15
  197. package/dist/chunks/{app-60z9p1zw.js → file-access-pcmh8n4s.js} +22 -22
  198. package/dist/chunks/{app-fx7nf9wq.js → file-access-pdh0wy3m.js} +12 -12
  199. package/dist/chunks/{app-cbtv2dmn.js → file-access-pekdjahx.js} +9 -9
  200. package/dist/chunks/{app-jnjzrgfb.js → file-access-pgwpntn4.js} +4 -4
  201. package/dist/chunks/{app-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{app-pknna89w.js → file-access-pknna89w.js} +1 -1
  203. package/dist/chunks/{app-37mwd34b.js → file-access-pnqe9gv0.js} +1 -1
  204. package/dist/chunks/{app-qj0e4t2j.js → file-access-q98mvgyg.js} +11 -11
  205. package/dist/chunks/{app-eb1vd11r.js → file-access-q9nke688.js} +13 -13
  206. package/dist/chunks/{app-04mwcks8.js → file-access-qfwq9sf6.js} +16 -16
  207. package/dist/chunks/{app-n35d2xk4.js → file-access-qg0jgkcp.js} +9 -9
  208. package/dist/chunks/{app-21qee8pd.js → file-access-qje44bf3.js} +3 -3
  209. package/dist/chunks/{app-bjd689ev.js → file-access-qnshbhpz.js} +3 -3
  210. package/dist/chunks/{app-qsdy395h.js → file-access-qsdy395h.js} +1 -1
  211. package/dist/chunks/{app-5nr495b5.js → file-access-qvrs9pm7.js} +38 -38
  212. package/dist/chunks/{app-cwa6csj7.js → file-access-r2m716tb.js} +9 -9
  213. package/dist/chunks/{app-bd9pgsph.js → file-access-r4k1wyhr.js} +3 -3
  214. package/dist/chunks/{app-806j49yq.js → file-access-ratrq7cm.js} +4 -4
  215. package/dist/chunks/{app-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{app-s8d7rejh.js → file-access-rhjbct0v.js} +4 -4
  217. package/dist/chunks/{app-a76g130h.js → file-access-rjq7qqfa.js} +33 -33
  218. package/dist/chunks/{app-y4jwevgg.js → file-access-rjsh0779.js} +5 -5
  219. package/dist/chunks/{app-4nmwwe2n.js → file-access-rw4r7gj7.js} +9 -9
  220. package/dist/chunks/{app-yb8taw9s.js → file-access-rxpah76v.js} +31 -31
  221. package/dist/chunks/{app-s4enseaf.js → file-access-s4enseaf.js} +2 -2
  222. package/dist/chunks/{app-vnqd9frj.js → file-access-s6cz2hhw.js} +22 -22
  223. package/dist/chunks/{app-een8gttx.js → file-access-s9q1cvsk.js} +30 -30
  224. package/dist/chunks/{app-4bjnnp4e.js → file-access-sb2mhttb.js} +15 -15
  225. package/dist/chunks/{app-762k0108.js → file-access-sd5ayyvb.js} +7 -7
  226. package/dist/chunks/{app-17j9h1rv.js → file-access-sea28k5q.js} +8 -8
  227. package/dist/chunks/{app-a2xk245q.js → file-access-shcbc0mr.js} +48 -48
  228. package/dist/chunks/{app-cvgzt2jg.js → file-access-skrn7tyk.js} +10 -10
  229. package/dist/chunks/{app-rczr7grn.js → file-access-ssfqen5b.js} +24 -24
  230. package/dist/chunks/{app-6sr3ve8g.js → file-access-t51qk8jz.js} +4 -4
  231. package/dist/chunks/{app-3cc30kq4.js → file-access-t638vh07.js} +15 -15
  232. package/dist/chunks/{app-g6y5eke2.js → file-access-t8ssh1sh.js} +16 -16
  233. package/dist/chunks/{app-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{app-tcezcvh9.js → file-access-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{app-a9rzk6y3.js → file-access-tdhdvv51.js} +9 -9
  236. package/dist/chunks/{app-tdstcens.js → file-access-tdstcens.js} +1 -1
  237. package/dist/chunks/{app-tvtrv512.js → file-access-tvtrv512.js} +1 -1
  238. package/dist/chunks/{app-qersht4q.js → file-access-tvve5xjy.js} +4 -4
  239. package/dist/chunks/{app-spgs379g.js → file-access-v4jzz8kz.js} +11 -11
  240. package/dist/chunks/{app-q132mq55.js → file-access-v9pkbxww.js} +24 -24
  241. package/dist/chunks/{app-veqvce7d.js → file-access-veqvce7d.js} +1 -1
  242. package/dist/chunks/{app-d3ybp0kx.js → file-access-vfn0gt82.js} +5 -5
  243. package/dist/chunks/{app-6vq97qmv.js → file-access-vrpz8t5t.js} +5 -5
  244. package/dist/chunks/{app-fvvvn3xt.js → file-access-vsx3errm.js} +10 -10
  245. package/dist/chunks/{app-ed0vge4d.js → file-access-vttwzxbr.js} +6 -6
  246. package/dist/chunks/{app-w97pdczc.js → file-access-vx9wnsws.js} +9 -9
  247. package/dist/chunks/{app-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{app-vzs5sf6e.js → file-access-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{app-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{app-t9tb71he.js → file-access-w5fm9rj9.js} +14 -14
  251. package/dist/chunks/{app-9n26hfc3.js → file-access-w7kk730q.js} +33 -33
  252. package/dist/chunks/{app-17j7xjjx.js → file-access-w9xbefsq.js} +11 -11
  253. package/dist/chunks/{app-rqr024yb.js → file-access-wd1jg618.js} +11 -11
  254. package/dist/chunks/{app-wd3x2cqz.js → file-access-wd3x2cqz.js} +2 -2
  255. package/dist/chunks/{app-wd87259q.js → file-access-wd87259q.js} +1 -1
  256. package/dist/chunks/{app-81vvm6at.js → file-access-wefk1wqt.js} +34 -34
  257. package/dist/chunks/{app-xw0zhdsg.js → file-access-wkwjecr6.js} +17 -17
  258. package/dist/chunks/{app-v4tbcz23.js → file-access-ww2xgyza.js} +30 -30
  259. package/dist/chunks/{app-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{app-d60vjyrj.js → file-access-x3avqwht.js} +12 -12
  261. package/dist/chunks/{app-07m27n2f.js → file-access-x4sthz2w.js} +31 -31
  262. package/dist/chunks/{app-r8wf6j98.js → file-access-x8b8vvbw.js} +13 -13
  263. package/dist/chunks/{app-vqfzq50h.js → file-access-xcd0eash.js} +6 -6
  264. package/dist/chunks/{app-drwq78ky.js → file-access-xfkkasph.js} +4 -4
  265. package/dist/chunks/{app-xkntkrq7.js → file-access-xkntkrq7.js} +2 -2
  266. package/dist/chunks/{app-0bncb0zr.js → file-access-xsxds6qn.js} +142 -142
  267. package/dist/chunks/{app-mwwxnxty.js → file-access-xxndcd6m.js} +4 -4
  268. package/dist/chunks/{app-t2w908bg.js → file-access-xz29hvcb.js} +6 -6
  269. package/dist/chunks/{app-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{app-3bwzg9n3.js → file-access-y4w844dc.js} +83 -83
  271. package/dist/chunks/{app-y71avatq.js → file-access-y71avatq.js} +1 -1
  272. package/dist/chunks/{app-xq5ct9qr.js → file-access-yjgdj1z3.js} +4 -4
  273. package/dist/chunks/{app-am9m0s2t.js → file-access-ynz8wf59.js} +23 -23
  274. package/dist/chunks/{app-v96s264c.js → file-access-yp1ke19a.js} +18 -18
  275. package/dist/chunks/{app-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{app-9jcr10np.js → file-access-yw2ajja7.js} +1 -1
  277. package/dist/chunks/{app-z07pqspn.js → file-access-z07pqspn.js} +3 -3
  278. package/dist/chunks/{app-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{app-2sfcmm48.js → file-access-z19z2vt9.js} +13 -13
  280. package/dist/chunks/{app-w3nq1sqw.js → file-access-z3nay82g.js} +9 -9
  281. package/dist/chunks/{app-wd8qy4jf.js → file-access-z6p2s66k.js} +9 -9
  282. package/dist/chunks/{app-5qtwg0c9.js → file-access-z8ckggf1.js} +22 -22
  283. package/dist/chunks/{app-6kzbhvf9.js → file-access-z9mg39zm.js} +28 -28
  284. package/dist/chunks/{app-phjaars8.js → file-access-za77p82n.js} +6 -6
  285. package/dist/chunks/{app-2q7knkvv.js → file-access-zcdn9qkv.js} +48 -48
  286. package/dist/chunks/{app-zeh9ct20.js → file-access-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{app-qpbc7zwf.js → file-access-zq6stcrg.js} +8 -8
  288. package/dist/chunks/{app-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{app-b4nhm8bs.js → file-access-zr4a2xz6.js} +48 -48
  290. package/dist/chunks/{app-hsfpjhe3.js → file-access-zrfdpbnq.js} +22 -22
  291. package/dist/chunks/{app-g9k4z160.js → file-access-zsycvhqj.js} +5 -5
  292. package/dist/chunks/{app-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +3 -3
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +212 -212
  303. package/dist/config/plugin/compaction.js +160 -160
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +142 -142
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +120 -120
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +124 -124
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +77 -77
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +93 -93
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/file.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +225 -225
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +1 -1
  431. package/dist/filesystem/watcher.js +11 -11
  432. package/dist/filesystem.js +104 -104
  433. package/dist/form.js +74 -74
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +85 -85
  436. package/dist/generate.js +105 -105
  437. package/dist/git.js +10 -10
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +1 -1
  466. package/dist/integration.js +80 -80
  467. package/dist/job.js +77 -77
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +135 -135
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-mutation.js +104 -104
  473. package/dist/location-service-map.js +86 -86
  474. package/dist/location-services.js +360 -360
  475. package/dist/location.js +85 -85
  476. package/dist/managed-policy.js +5 -5
  477. package/dist/mcp/client.js +91 -91
  478. package/dist/mcp/index.js +108 -108
  479. package/dist/mcp/instructions.js +128 -128
  480. package/dist/mcp/oauth.js +78 -78
  481. package/dist/mcp/stdio.js +90 -90
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +99 -99
  484. package/dist/model-resolver.js +98 -98
  485. package/dist/model.js +100 -100
  486. package/dist/models-dev.js +107 -107
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +80 -80
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +109 -109
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +88 -88
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -75
  496. package/dist/plugin/agent.js +102 -102
  497. package/dist/plugin/command.js +99 -99
  498. package/dist/plugin/compaction.js +131 -131
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +218 -218
  501. package/dist/plugin/identity.js +3 -3
  502. package/dist/plugin/instance.js +5 -5
  503. package/dist/plugin/internal.js +334 -334
  504. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  505. package/dist/plugin/models-dev.js +96 -96
  506. package/dist/plugin/module.js +5 -5
  507. package/dist/plugin/optimize.js +4 -4
  508. package/dist/plugin/plan.js +102 -102
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  511. package/dist/plugin/provider/azure.js +122 -122
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -119
  517. package/dist/plugin/provider/digitalocean.js +93 -93
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +99 -94
  522. package/dist/plugin/provider/gitlab.js +93 -93
  523. package/dist/plugin/provider/google-vertex.js +90 -90
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +77 -77
  526. package/dist/plugin/provider/lmstudio.js +122 -122
  527. package/dist/plugin/provider/modal.js +92 -92
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +122 -122
  530. package/dist/plugin/provider/openai.js +94 -94
  531. package/dist/plugin/provider/opencode.js +95 -95
  532. package/dist/plugin/provider/openrouter.js +91 -91
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +78 -78
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  536. package/dist/plugin/provider/sap-ai-core.js +91 -91
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -90
  541. package/dist/plugin/provider/vllm.js +122 -122
  542. package/dist/plugin/provider/xai.js +91 -91
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +161 -160
  545. package/dist/plugin/sdk.js +74 -74
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +141 -141
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +349 -349
  550. package/dist/plugin/tool-input-repair.js +4 -4
  551. package/dist/plugin/update.js +6 -6
  552. package/dist/plugin/vcs/git.js +86 -86
  553. package/dist/plugin/vcs/hg.js +86 -86
  554. package/dist/plugin/verbosity.js +93 -93
  555. package/dist/plugin/warming.js +121 -121
  556. package/dist/plugin/websearch/exa.js +7 -7
  557. package/dist/plugin/websearch/firecrawl.js +8 -8
  558. package/dist/plugin/websearch/index.js +9 -9
  559. package/dist/plugin/websearch/mcp.js +4 -4
  560. package/dist/plugin/websearch/parallel.js +8 -8
  561. package/dist/plugin/websearch/tavily.js +4 -4
  562. package/dist/plugin/websearch/tinyfish.js +8 -8
  563. package/dist/plugin.js +229 -229
  564. package/dist/project/schema.js +2 -2
  565. package/dist/project/sql.js +4 -4
  566. package/dist/project.js +84 -84
  567. package/dist/provider.js +93 -93
  568. package/dist/pty/protocol.js +1 -1
  569. package/dist/pty/schema.js +3 -3
  570. package/dist/pty/ticket.js +1 -1
  571. package/dist/pty.js +98 -98
  572. package/dist/reference/instructions.js +89 -89
  573. package/dist/reference.js +91 -91
  574. package/dist/repository-cache.js +81 -81
  575. package/dist/repository.js +3 -3
  576. package/dist/ripgrep/binary.js +2 -2
  577. package/dist/ripgrep.js +97 -97
  578. package/dist/rpc.js +86 -86
  579. package/dist/schema.js +1 -1
  580. package/dist/session/command.js +74 -74
  581. package/dist/session/compaction.js +134 -134
  582. package/dist/session/context.js +152 -152
  583. package/dist/session/diff.js +88 -88
  584. package/dist/session/environment.js +5 -5
  585. package/dist/session/error.js +5 -5
  586. package/dist/session/event.js +1 -1
  587. package/dist/session/execution/restart.js +224 -224
  588. package/dist/session/execution.js +128 -128
  589. package/dist/session/generate.js +153 -153
  590. package/dist/session/history.js +13 -13
  591. package/dist/session/inbox.js +88 -88
  592. package/dist/session/info.js +3 -3
  593. package/dist/session/instruction-entry.js +79 -79
  594. package/dist/session/instruction-state.js +8 -8
  595. package/dist/session/instructions.js +97 -97
  596. package/dist/session/message-updater.js +2 -2
  597. package/dist/session/message.js +1 -1
  598. package/dist/session/model-request.js +119 -119
  599. package/dist/session/model-transport.js +9 -9
  600. package/dist/session/move.js +130 -130
  601. package/dist/session/projector.js +86 -86
  602. package/dist/session/prompt.js +105 -105
  603. package/dist/session/provider-context.js +3 -3
  604. package/dist/session/revert.js +90 -90
  605. package/dist/session/run-coordinator.js +3 -3
  606. package/dist/session/runner/index.js +3 -3
  607. package/dist/session/runner/llm.js +229 -229
  608. package/dist/session/runner/max-steps.js +1 -1
  609. package/dist/session/runner/model.js +98 -98
  610. package/dist/session/runner/publish-llm-event.js +3 -3
  611. package/dist/session/runner/retry.js +114 -114
  612. package/dist/session/runner/step.js +124 -124
  613. package/dist/session/runner/to-llm-message.js +2 -2
  614. package/dist/session/schema.js +5 -5
  615. package/dist/session/session.js +172 -172
  616. package/dist/session/shell.js +138 -138
  617. package/dist/session/skill.js +103 -103
  618. package/dist/session/sql.js +5 -5
  619. package/dist/session/stats.js +73 -73
  620. package/dist/session/store.js +87 -87
  621. package/dist/session/subagent-completion.js +1 -1
  622. package/dist/session/subagent-job.js +210 -210
  623. package/dist/session/system-prompt.js +3 -3
  624. package/dist/session/title.js +152 -152
  625. package/dist/session/to-session-error.js +111 -111
  626. package/dist/session/transfer.js +220 -220
  627. package/dist/session/usage.js +1 -1
  628. package/dist/session.js +220 -220
  629. package/dist/shell/parse.js +6 -6
  630. package/dist/shell/result.js +1 -1
  631. package/dist/shell/scan.js +1 -1
  632. package/dist/shell/select.js +7 -7
  633. package/dist/shell.js +140 -140
  634. package/dist/skill/discovery.js +6 -6
  635. package/dist/skill/instructions.js +107 -107
  636. package/dist/skill.js +110 -110
  637. package/dist/snapshot.js +93 -93
  638. package/dist/state.js +1 -1
  639. package/dist/tool/html-markdown.js +1 -1
  640. package/dist/tool/http-body.js +1 -1
  641. package/dist/tool/mcp.js +125 -125
  642. package/dist/tool/plugin/edit.js +120 -120
  643. package/dist/tool/plugin/file-diff.js +1 -1
  644. package/dist/tool/plugin/glob.js +124 -124
  645. package/dist/tool/plugin/grep.js +124 -124
  646. package/dist/tool/plugin/mcp-resource.js +116 -116
  647. package/dist/tool/plugin/opencode.js +3 -3
  648. package/dist/tool/plugin/patch.js +122 -122
  649. package/dist/tool/plugin/question.js +103 -103
  650. package/dist/tool/plugin/read.js +125 -125
  651. package/dist/tool/plugin/shell.js +215 -215
  652. package/dist/tool/plugin/skill.js +111 -111
  653. package/dist/tool/plugin/subagent.js +217 -217
  654. package/dist/tool/plugin/webfetch.js +110 -110
  655. package/dist/tool/plugin/websearch.js +110 -110
  656. package/dist/tool/plugin/write.js +122 -122
  657. package/dist/tool/read-filesystem.js +100 -100
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +8 -8
  660. package/dist/tool.js +10 -10
  661. package/dist/types/plugin/provider/github-copilot.d.ts +10 -1
  662. package/dist/util/error-summary.js +1 -1
  663. package/dist/util/error.js +1 -1
  664. package/dist/util/git-executable.js +2 -2
  665. package/dist/util/iife.js +1 -1
  666. package/dist/util/lazy.js +1 -1
  667. package/dist/util/slug.js +1 -1
  668. package/dist/util/token.js +1 -1
  669. package/dist/util/which.js +1 -1
  670. package/dist/util/wildcard.js +1 -1
  671. package/dist/v1/config/agent.js +5 -5
  672. package/dist/v1/config/attachment.js +4 -4
  673. package/dist/v1/config/command.js +3 -3
  674. package/dist/v1/config/config.js +16 -16
  675. package/dist/v1/config/error.js +2 -2
  676. package/dist/v1/config/formatter.js +1 -1
  677. package/dist/v1/config/layout.js +1 -1
  678. package/dist/v1/config/lsp.js +3 -3
  679. package/dist/v1/config/mcp.js +4 -4
  680. package/dist/v1/config/migrate.js +92 -92
  681. package/dist/v1/config/permission.js +3 -3
  682. package/dist/v1/config/plugin.js +3 -3
  683. package/dist/v1/config/provider-options.js +1 -1
  684. package/dist/v1/config/provider.js +4 -4
  685. package/dist/v1/config/server.js +2 -2
  686. package/dist/v1/config/skills.js +3 -3
  687. package/dist/v1/permission.js +1 -1
  688. package/dist/variant.js +91 -91
  689. package/dist/vcs/patch.js +1 -1
  690. package/dist/vcs.js +89 -89
  691. package/dist/websearch.js +84 -84
  692. package/dist/wellknown/plugin.js +74 -74
  693. package/dist/wellknown.js +77 -77
  694. package/dist/workspace/driver.js +5 -5
  695. package/dist/workspace/sql.js +1 -1
  696. package/dist/workspace.js +78 -78
  697. package/dist/worktree/directory.js +2 -2
  698. package/dist/worktree/git.js +10 -10
  699. package/dist/worktree/sql.js +5 -5
  700. package/dist/worktree/strategies.js +89 -89
  701. package/dist/worktree.js +96 -96
  702. package/package.json +8 -8
  703. package/dist/chunks/app-0mesazry.js +0 -4
  704. package/dist/chunks/app-82yqp303.js +0 -252
  705. package/dist/chunks/app-bwd0y37m.js +0 -26
  706. package/dist/chunks/app-gyce5qg1.js +0 -18
  707. package/dist/chunks/app-rs4pcg3z.js +0 -511
  708. /package/dist/chunks/{app-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
  709. /package/dist/chunks/{app-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
  710. /package/dist/chunks/{app-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
  711. /package/dist/chunks/{app-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
  712. /package/dist/chunks/{app-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
  713. /package/dist/chunks/{app-24dcb14g.js → file-access-24dcb14g.js} +0 -0
  714. /package/dist/chunks/{app-2710q6r3.js → file-access-2710q6r3.js} +0 -0
  715. /package/dist/chunks/{app-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
  716. /package/dist/chunks/{app-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
  717. /package/dist/chunks/{app-34c7v6d4.js → file-access-34c7v6d4.js} +0 -0
  718. /package/dist/chunks/{app-359p4xyc.js → file-access-359p4xyc.js} +0 -0
  719. /package/dist/chunks/{app-3asan66x.js → file-access-3asan66x.js} +0 -0
  720. /package/dist/chunks/{app-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
  721. /package/dist/chunks/{app-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
  722. /package/dist/chunks/{app-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
  723. /package/dist/chunks/{app-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
  724. /package/dist/chunks/{app-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
  725. /package/dist/chunks/{app-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
  726. /package/dist/chunks/{app-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
  727. /package/dist/chunks/{app-53557ph1.js → file-access-53557ph1.js} +0 -0
  728. /package/dist/chunks/{app-550bvhaj.js → file-access-550bvhaj.js} +0 -0
  729. /package/dist/chunks/{app-6prwharc.js → file-access-6prwharc.js} +0 -0
  730. /package/dist/chunks/{app-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
  731. /package/dist/chunks/{app-7m9af43g.js → file-access-7m9af43g.js} +0 -0
  732. /package/dist/chunks/{app-822emrt2.js → file-access-822emrt2.js} +0 -0
  733. /package/dist/chunks/{app-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
  734. /package/dist/chunks/{app-8n3pysct.js → file-access-8n3pysct.js} +0 -0
  735. /package/dist/chunks/{app-8wj87zfr.js → file-access-8wj87zfr.js} +0 -0
  736. /package/dist/chunks/{app-922hggd3.js → file-access-922hggd3.js} +0 -0
  737. /package/dist/chunks/{app-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
  738. /package/dist/chunks/{app-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
  739. /package/dist/chunks/{app-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
  740. /package/dist/chunks/{app-af5trqkr.js → file-access-af5trqkr.js} +0 -0
  741. /package/dist/chunks/{app-afrmfg78.js → file-access-afrmfg78.js} +0 -0
  742. /package/dist/chunks/{app-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
  743. /package/dist/chunks/{app-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
  744. /package/dist/chunks/{app-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
  745. /package/dist/chunks/{app-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
  746. /package/dist/chunks/{app-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
  747. /package/dist/chunks/{app-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
  748. /package/dist/chunks/{app-d9fn303g.js → file-access-d9fn303g.js} +0 -0
  749. /package/dist/chunks/{app-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
  750. /package/dist/chunks/{app-dajrwvna.js → file-access-dajrwvna.js} +0 -0
  751. /package/dist/chunks/{app-dap0rakb.js → file-access-dap0rakb.js} +0 -0
  752. /package/dist/chunks/{app-df08tz66.js → file-access-df08tz66.js} +0 -0
  753. /package/dist/chunks/{app-dy18nga0.js → file-access-dy18nga0.js} +0 -0
  754. /package/dist/chunks/{app-e3qxr5gk.js → file-access-e3qxr5gk.js} +0 -0
  755. /package/dist/chunks/{app-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
  756. /package/dist/chunks/{app-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
  757. /package/dist/chunks/{app-ec1grn59.js → file-access-ec1grn59.js} +0 -0
  758. /package/dist/chunks/{app-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
  759. /package/dist/chunks/{app-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
  760. /package/dist/chunks/{app-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
  761. /package/dist/chunks/{app-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
  762. /package/dist/chunks/{app-faypxj3z.js → file-access-faypxj3z.js} +0 -0
  763. /package/dist/chunks/{app-fd410y7t.js → file-access-fd410y7t.js} +0 -0
  764. /package/dist/chunks/{app-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
  765. /package/dist/chunks/{app-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
  766. /package/dist/chunks/{app-g86h250q.js → file-access-g86h250q.js} +0 -0
  767. /package/dist/chunks/{app-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
  768. /package/dist/chunks/{app-gftt206x.js → file-access-gftt206x.js} +0 -0
  769. /package/dist/chunks/{app-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
  770. /package/dist/chunks/{app-hk9envan.js → file-access-hk9envan.js} +0 -0
  771. /package/dist/chunks/{app-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
  772. /package/dist/chunks/{app-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
  773. /package/dist/chunks/{app-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
  774. /package/dist/chunks/{app-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
  775. /package/dist/chunks/{app-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
  776. /package/dist/chunks/{app-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
  777. /package/dist/chunks/{app-mp448xyj.js → file-access-mp448xyj.js} +0 -0
  778. /package/dist/chunks/{app-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
  779. /package/dist/chunks/{app-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
  780. /package/dist/chunks/{app-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
  781. /package/dist/chunks/{app-njntx4h6.js → file-access-njntx4h6.js} +0 -0
  782. /package/dist/chunks/{app-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
  783. /package/dist/chunks/{app-q74kybfr.js → file-access-q74kybfr.js} +0 -0
  784. /package/dist/chunks/{app-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
  785. /package/dist/chunks/{app-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
  786. /package/dist/chunks/{app-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
  787. /package/dist/chunks/{app-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
  788. /package/dist/chunks/{app-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
  789. /package/dist/chunks/{app-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
  790. /package/dist/chunks/{app-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
  791. /package/dist/chunks/{app-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
  792. /package/dist/chunks/{app-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
  793. /package/dist/chunks/{app-w803qqfp.js → file-access-w803qqfp.js} +0 -0
  794. /package/dist/chunks/{app-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
  795. /package/dist/chunks/{app-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
  796. /package/dist/chunks/{app-wtztk69x.js → file-access-wtztk69x.js} +0 -0
  797. /package/dist/chunks/{app-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
  798. /package/dist/chunks/{app-x61499pn.js → file-access-x61499pn.js} +0 -0
  799. /package/dist/chunks/{app-y44na4kk.js → file-access-y44na4kk.js} +0 -0
  800. /package/dist/chunks/{app-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
  801. /package/dist/chunks/{app-y8f7s663.js → file-access-y8f7s663.js} +0 -0
  802. /package/dist/chunks/{app-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
  803. /package/dist/chunks/{app-ym463w8f.js → file-access-ym463w8f.js} +0 -0
  804. /package/dist/chunks/{app-z9919s4g.js → file-access-z9919s4g.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
3
  Service67
4
- } from "./app-a76g130h.js";
4
+ } from "./file-access-rjq7qqfa.js";
5
5
  import {
6
- Service73
7
- } from "./app-17j7xjjx.js";
6
+ Service72
7
+ } from "./file-access-w9xbefsq.js";
8
8
  import {
9
9
  observe2
10
- } from "./app-qsdy395h.js";
10
+ } from "./file-access-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./app-9rqn6x4v.js";
13
+ } from "./file-access-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
16
  var exports_shell = {};
17
17
  __export(exports_shell, {
18
18
  ConfigShellPlugin: () => exports_shell,
19
- Plugin: () => Plugin7
19
+ Plugin: () => Plugin16
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin7 = define({
23
+ var Plugin16 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
26
  const config = yield* Service67;
27
- const shell = yield* Service73;
27
+ const shell = yield* Service72;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "shell");
@@ -34,4 +34,4 @@ var Plugin7 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin7, exports_shell };
37
+ export { Plugin16, exports_shell };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service78
3
- } from "./app-f7a7fxkf.js";
2
+ Service79
3
+ } from "./file-access-5zarf4w6.js";
4
4
  import {
5
5
  latest2,
6
6
  Service67
7
- } from "./app-a76g130h.js";
7
+ } from "./file-access-rjq7qqfa.js";
8
8
  import {
9
9
  Service14
10
- } from "./app-dn5wevn0.js";
10
+ } from "./file-access-nb97snw5.js";
11
11
  import {
12
- make7
13
- } from "./app-1bbkgx8g.js";
12
+ make4
13
+ } from "./file-access-mvfsc1pv.js";
14
14
  import {
15
15
  observe2
16
- } from "./app-qsdy395h.js";
16
+ } from "./file-access-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./app-9rqn6x4v.js";
19
+ } from "./file-access-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/formatter.ts
22
22
  var exports_formatter = {};
23
23
  __export(exports_formatter, {
24
24
  ConfigFormatterPlugin: () => exports_formatter,
25
- Plugin: () => Plugin2
25
+ Plugin: () => Plugin14
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -30,14 +30,14 @@ import { Global } from "@opencode/util/global";
30
30
  import { Npm } from "@opencode/util/npm";
31
31
  import { AppProcess } from "@opencode/util/process";
32
32
  import { Effect } from "effect";
33
- var Plugin2 = define({
33
+ var Plugin14 = define({
34
34
  id: "opencode.config.formatter",
35
35
  effect: Effect.fn(function* (ctx) {
36
36
  const config = yield* Service67;
37
37
  const formatter = yield* Service14;
38
38
  const fs = yield* FSUtil.Service;
39
39
  const global = yield* Global.Service;
40
- const location = yield* Service78;
40
+ const location = yield* Service79;
41
41
  const npm = yield* Npm.Service;
42
42
  const processes = yield* AppProcess.Service;
43
43
  const loaded = yield* observe2(config, ctx.event, formatter.reload());
@@ -45,7 +45,7 @@ var Plugin2 = define({
45
45
  const configured = latest2(loaded.entries, "formatter");
46
46
  if (!configured)
47
47
  return;
48
- const builtIns = make7({
48
+ const builtIns = make4({
49
49
  directory: location.directory,
50
50
  worktree: location.project.directory,
51
51
  fs,
@@ -74,4 +74,4 @@ var Plugin2 = define({
74
74
  })
75
75
  });
76
76
 
77
- export { Plugin2, exports_formatter };
77
+ export { Plugin14, exports_formatter };
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin26
3
+ } from "./file-access-zq6stcrg.js";
4
+ import {
5
+ Plugin27
6
+ } from "./file-access-tdhdvv51.js";
7
+ import {
8
+ Plugin24
9
+ } from "./file-access-bdy3xwvm.js";
10
+ import {
11
+ Plugin23
12
+ } from "./file-access-rjsh0779.js";
13
+ import {
14
+ Plugin25
15
+ } from "./file-access-b8me5nm1.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin26,
20
+ Plugin27,
21
+ Plugin24,
22
+ Plugin23,
23
+ Plugin25
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./app-y71avatq.js";
3
+ } from "./file-access-y71avatq.js";
4
4
  import {
5
- Service59,
6
- node61
7
- } from "./app-rczr7grn.js";
5
+ Service70,
6
+ node73
7
+ } from "./file-access-ssfqen5b.js";
8
8
  import {
9
9
  __export
10
- } from "./app-9rqn6x4v.js";
10
+ } from "./file-access-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service50,
17
- node: () => node52,
16
+ Service: () => Service22,
17
+ node: () => node25,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service50 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service22 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service50, Effect.gen(function* () {
38
- const environment = yield* Service59;
37
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
38
+ const environment = yield* Service70;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service50.of({ withLock, write, writeTextPreservingBom });
59
+ return Service22.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node52 = makeLocationNode({ service: Service50, layer, deps: [node61] });
61
+ var node25 = makeLocationNode({ service: Service22, layer, deps: [node73] });
62
62
 
63
- export { Service50, readText2, syncTextBom2, node52, exports_file_mutation };
63
+ export { Service22, readText2, syncTextBom2, node25, exports_file_mutation };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./app-922hggd3.js";
3
+ } from "./file-access-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./app-9rqn6x4v.js";
6
+ } from "./file-access-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info24
13
+ Info: () => Info16
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info24 = Schema.Struct({
30
+ var Info16 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info24, exports_attachment };
34
+ export { Image2, Info16, exports_attachment };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./file-access-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./app-qfa1cgps.js";
3
+ } from "./file-access-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -2,13 +2,13 @@ import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2,
4
4
  UserInterruptedError2
5
- } from "./app-a5gqm4c9.js";
5
+ } from "./file-access-2qq7qy34.js";
6
6
  import {
7
7
  BlockedError2
8
- } from "./app-4w6pnabk.js";
8
+ } from "./file-access-27f0zk48.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./app-6e60b89z.js";
11
+ } from "./file-access-ctsbw3ys.js";
12
12
  import {
13
13
  ModelNotSelectedError2,
14
14
  ModelUnavailableError2,
@@ -18,7 +18,7 @@ import {
18
18
  ModelInitializationError2,
19
19
  UnresolvedProviderVariablesError2,
20
20
  UnsupportedCompactionError2
21
- } from "./app-r8wf6j98.js";
21
+ } from "./file-access-x8b8vvbw.js";
22
22
 
23
23
  // src/session/to-session-error.ts
24
24
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./file-access-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./file-access-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./file-access-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./app-3w5fmr99.js";
3
+ } from "./file-access-3w5fmr99.js";
4
4
  import {
5
5
  __export
6
- } from "./app-9rqn6x4v.js";
6
+ } from "./file-access-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin50,
11
+ Plugin: () => Plugin36,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin50 = define({
18
+ var Plugin36 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin50, exports_tool_input_repair };
123
+ export { Plugin36, exports_tool_input_repair };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./app-88xbtdfr.js";
3
+ } from "./file-access-88xbtdfr.js";
4
4
  import {
5
5
  load5
6
- } from "./app-e3qxr5gk.js";
6
+ } from "./file-access-e3qxr5gk.js";
7
7
  import {
8
8
  __export
9
- } from "./app-9rqn6x4v.js";
9
+ } from "./file-access-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event13,
14
+ Event: () => Event14,
15
15
  Native: () => Native3,
16
- Options: () => Options8,
16
+ Options: () => Options9,
17
17
  Service: () => Service68,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
20
  configured: () => configured9,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer23,
22
+ layer: () => layer24,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node72,
25
+ node: () => node71,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event13 = { Updated: FileSystem.Event.Changed };
36
+ var Event14 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load5());
@@ -53,7 +53,7 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options8 = Schema.Struct({
56
+ var Options9 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
@@ -62,7 +62,7 @@ class Service68 extends Context.Service()("@opencode/Watcher") {
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer23 = (options) => Layer.effect(Service68, Effect.gen(function* () {
65
+ var layer24 = (options) => Layer.effect(Service68, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
67
  return Service68.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
@@ -129,7 +129,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
134
  subscribe: Context.get(context, Service68).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
167
  function configured9(options) {
168
- return makeGlobalNode({ service: Service68, layer: layer23(options), deps: [nativeNode2] });
168
+ return makeGlobalNode({ service: Service68, layer: layer24(options), deps: [nativeNode2] });
169
169
  }
170
- var node72 = configured9();
170
+ var node71 = configured9();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event13, hasNativeBinding2, Native3, Options8, Service68, Test3, layer23, testLayer3, nativeLayer2, nativeNode2, configured9, node72, exports_watcher };
190
+ export { Event14, hasNativeBinding2, Native3, Options9, Service68, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured9, node71, exports_watcher };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./app-922hggd3.js";
3
+ } from "./file-access-922hggd3.js";
4
4
  import {
5
- Service78
6
- } from "./app-f7a7fxkf.js";
5
+ Service79
6
+ } from "./file-access-5zarf4w6.js";
7
7
  import {
8
- Service30
9
- } from "./app-381tf59s.js";
8
+ Service29
9
+ } from "./file-access-bep57vhd.js";
10
10
  import {
11
- Service8
12
- } from "./app-vnqd9frj.js";
11
+ Service11
12
+ } from "./file-access-s6cz2hhw.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./app-2a5m3afh.js";
15
+ } from "./file-access-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service3
27
- } from "./app-4bjnnp4e.js";
26
+ Service12
27
+ } from "./file-access-sb2mhttb.js";
28
28
  import {
29
29
  __export
30
- } from "./app-9rqn6x4v.js";
30
+ } from "./file-access-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input9,
36
- Plugin: () => Plugin30,
35
+ Input: () => Input4,
36
+ Plugin: () => Plugin41,
37
37
  ReadTool: () => exports_read,
38
- name: () => name9,
39
- toModelContent: () => toModelContent6
38
+ name: () => name4,
39
+ toModelContent: () => toModelContent3
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name9 = "read";
45
+ var name4 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
54
54
  })
55
55
  });
56
- var Input9 = LocationInput;
56
+ var Input4 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin30 = {
58
+ var Plugin41 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service3;
62
- const access = yield* Service30;
63
- const sessionInstructions = yield* Service8;
61
+ const reader = yield* Service12;
62
+ const access = yield* Service29;
63
+ const sessionInstructions = yield* Service11;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service78;
65
+ const location = yield* Service79;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name9,
67
+ name: name4,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input9,
70
+ input: Input4,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin30 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent6(result.path, input.offset, result.output),
115
+ content: toModelContent3(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -145,7 +145,7 @@ ${suggestions.join(`
145
145
  });
146
146
  })
147
147
  };
148
- var toModelContent6 = (path, offset, output) => {
148
+ var toModelContent3 = (path, offset, output) => {
149
149
  if (output.type === "file" && output.encoding === "base64")
150
150
  return [
151
151
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -181,4 +181,4 @@ var toModelContent6 = (path, offset, output) => {
181
181
  `);
182
182
  };
183
183
 
184
- export { name9, Input9, Plugin30, toModelContent6, exports_read };
184
+ export { name4, Input4, Plugin41, toModelContent3, exports_read };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./file-access-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service55,
10
- node: () => node57
9
+ Service: () => Service73,
10
+ node: () => node77
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service55 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service73 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service55, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service55.of({ has, register, trigger });
57
+ return Service73.of({ has, register, trigger });
58
58
  }));
59
- var node57 = makeLocationNode({ service: Service55, layer, deps: [] });
59
+ var node77 = makeLocationNode({ service: Service73, layer, deps: [] });
60
60
 
61
- export { Service55, node57, exports_hooks };
61
+ export { Service73, node77, exports_hooks };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service80
3
- } from "./app-d60vjyrj.js";
2
+ Service83
3
+ } from "./file-access-x3avqwht.js";
4
4
  import {
5
5
  key2
6
- } from "./app-h6r3nrb9.js";
6
+ } from "./file-access-h6r3nrb9.js";
7
7
  import {
8
8
  Event19
9
- } from "./app-5n4zza11.js";
9
+ } from "./file-access-65p03r80.js";
10
10
  import {
11
11
  ID14
12
- } from "./app-6e60b89z.js";
12
+ } from "./file-access-ctsbw3ys.js";
13
13
  import {
14
14
  ID13,
15
- Service74
16
- } from "./app-hsfpjhe3.js";
15
+ Service75
16
+ } from "./file-access-zrfdpbnq.js";
17
17
  import {
18
- load3,
19
- derive3
20
- } from "./app-qjkadte7.js";
18
+ load2,
19
+ derive2
20
+ } from "./file-access-k88pt7np.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
@@ -26,8 +26,8 @@ var providerID = ID13.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service74;
30
- const bus = yield* Service80;
29
+ const providers = yield* Service75;
30
+ const bus = yield* Service83;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
33
33
  const load = Effect.fn("ModalPlugin.load")(function* () {
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
45
45
  return;
46
46
  }
47
47
  const remote = yield* Effect.tryPromise({
48
- try: () => load3(baseURL, apiKey),
48
+ try: () => load2(baseURL, apiKey),
49
49
  catch: (cause) => cause
50
50
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
51
51
  if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
@@ -62,7 +62,7 @@ var ModalPlugin2 = define({
62
62
  return;
63
63
  evt.add({
64
64
  info: item.provider,
65
- models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
65
+ models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
66
66
  sourceConnection: loaded.connection
67
67
  });
68
68
  });