@opencode/core 0.0.0-dev-19686 → 0.0.0-dev-19688

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +74 -74
  7. package/dist/chunks/{location-pmr4s4kc.js → git-00z3vp5f.js} +4 -4
  8. package/dist/chunks/{location-hejvrh0f.js → git-0afwd2h8.js} +9 -9
  9. package/dist/chunks/{location-wjyt06sc.js → git-0aqy2nda.js} +26 -26
  10. package/dist/chunks/{location-5yernesq.js → git-0brq1vgj.js} +32 -32
  11. package/dist/chunks/{location-wp64hyeq.js → git-0dm9emf0.js} +15 -15
  12. package/dist/chunks/{location-q7qrw62a.js → git-0gwebd6g.js} +8 -8
  13. package/dist/chunks/{location-0jq9fyba.js → git-0jq9fyba.js} +2 -2
  14. package/dist/chunks/{location-0paq2nw3.js → git-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{location-0q0f95c6.js → git-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{location-0g6jym90.js → git-15kvcrwf.js} +15 -15
  17. package/dist/chunks/{location-5wpyz990.js → git-199hz2pa.js} +13 -13
  18. package/dist/chunks/{location-1dazxqgg.js → git-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{location-t1dawjzh.js → git-1gfgk62c.js} +8 -8
  20. package/dist/chunks/{location-py33a53q.js → git-1hhj0vvf.js} +22 -22
  21. package/dist/chunks/{location-x3v0mxye.js → git-1mthm0sm.js} +3 -3
  22. package/dist/chunks/{location-8kx0bg8y.js → git-1njp4b6c.js} +6 -6
  23. package/dist/chunks/{location-pf2hb43r.js → git-1s3p39g4.js} +5 -5
  24. package/dist/chunks/{location-a2m2wc9b.js → git-1y1dts9t.js} +11 -11
  25. package/dist/chunks/{location-1ygqh575.js → git-1ygqh575.js} +2 -2
  26. package/dist/chunks/{location-21r38tys.js → git-21r38tys.js} +1 -1
  27. package/dist/chunks/{location-2402vzrj.js → git-2402vzrj.js} +1 -1
  28. package/dist/chunks/{location-h6y219ca.js → git-2459z54m.js} +25 -25
  29. package/dist/chunks/{location-cfr0h88y.js → git-272sk219.js} +25 -25
  30. package/dist/chunks/{location-2a5m3afh.js → git-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{location-pr3rc07j.js → git-2brx2yvj.js} +17 -17
  32. package/dist/chunks/{location-xrfrhdks.js → git-2g991z4q.js} +26 -26
  33. package/dist/chunks/{location-cpneeje0.js → git-2sejkfem.js} +9 -9
  34. package/dist/chunks/{location-cyfsp3wv.js → git-30480sdz.js} +13 -13
  35. package/dist/chunks/{location-gwfhg9zv.js → git-34edgddw.js} +18 -18
  36. package/dist/chunks/{location-35tmvh3j.js → git-35tmvh3j.js} +3 -3
  37. package/dist/chunks/{location-81qfgkv2.js → git-394bsjx6.js} +22 -22
  38. package/dist/chunks/{location-fwm1wfch.js → git-3f75t934.js} +15 -15
  39. package/dist/chunks/{location-3fc6dm20.js → git-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{location-3hepkmqq.js → git-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{location-5v4p7pyv.js → git-3hhky1y1.js} +22 -22
  42. package/dist/chunks/{location-64q882h2.js → git-3jstf9t0.js} +23 -23
  43. package/dist/chunks/{location-3smtnn6g.js → git-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{location-3tvqynh2.js → git-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{location-eqzt0dae.js → git-40h9q514.js} +5 -5
  46. package/dist/chunks/{location-yar33tf7.js → git-44jrjrja.js} +31 -31
  47. package/dist/chunks/{location-44ke2mar.js → git-44ke2mar.js} +2 -2
  48. package/dist/chunks/{location-gty5atak.js → git-48m2d39a.js} +8 -8
  49. package/dist/chunks/{location-z1e15hfs.js → git-49p1g939.js} +11 -11
  50. package/dist/chunks/{location-msyhx82m.js → git-4a836rf9.js} +13 -13
  51. package/dist/chunks/{location-4dgbcxzg.js → git-4dgbcxzg.js} +1 -1
  52. package/dist/chunks/{location-bx37qhk3.js → git-4n5vra8a.js} +19 -19
  53. package/dist/chunks/{location-af04s6ss.js → git-4phm5153.js} +5 -5
  54. package/dist/chunks/{location-b279e66f.js → git-4qhq8vrx.js} +7 -7
  55. package/dist/chunks/{location-57ez7d0k.js → git-4sn99hha.js} +7 -7
  56. package/dist/chunks/{location-fp4mk58e.js → git-5958kjg8.js} +27 -27
  57. package/dist/chunks/{location-a1bz86dw.js → git-5c4hm403.js} +3 -3
  58. package/dist/chunks/{location-5daktx2q.js → git-5daktx2q.js} +1 -1
  59. package/dist/chunks/{location-gc70bhff.js → git-5hzjfa47.js} +18 -18
  60. package/dist/chunks/{location-5t3nmthw.js → git-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{location-dsp2whwc.js → git-5tke6q81.js} +33 -33
  62. package/dist/chunks/{location-tjsv0jpk.js → git-61ckr634.js} +18 -18
  63. package/dist/chunks/{location-d2h9na68.js → git-63x5kykb.js} +6 -6
  64. package/dist/chunks/{location-669tq793.js → git-669tq793.js} +1 -1
  65. package/dist/chunks/{location-acm2cd52.js → git-6hknjp7s.js} +31 -31
  66. package/dist/chunks/{location-fpbsfvc3.js → git-6htvnf4m.js} +26 -26
  67. package/dist/chunks/git-6kdq0pjd.js +4 -0
  68. package/dist/chunks/{location-6msgmcgs.js → git-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{location-c8jj867k.js → git-6n4b0dsb.js} +5 -5
  70. package/dist/chunks/{location-tfr1qeh3.js → git-6rtfy69a.js} +11 -11
  71. package/dist/chunks/{location-74azehs1.js → git-6xwg4nmq.js} +12 -12
  72. package/dist/chunks/{location-1bbkgx8g.js → git-73tb2d7t.js} +3 -3
  73. package/dist/chunks/{location-h6fk7gxt.js → git-7a5pcgfq.js} +9 -9
  74. package/dist/chunks/{location-vsc8sj6t.js → git-7ax8pd7e.js} +13 -13
  75. package/dist/chunks/{location-7bmhse3q.js → git-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{location-7dqw4kz8.js → git-7dqw4kz8.js} +1 -1
  77. package/dist/chunks/{location-dqygf0fb.js → git-7hdsxj1z.js} +2 -2
  78. package/dist/chunks/{location-j3rsss4t.js → git-7hyt9mtw.js} +23 -23
  79. package/dist/chunks/{location-rsa3r8e2.js → git-7hzkr1ps.js} +33 -33
  80. package/dist/chunks/{location-fx80e2z0.js → git-7nkrf797.js} +18 -18
  81. package/dist/chunks/{location-rs311by5.js → git-7prb58xv.js} +273 -273
  82. package/dist/chunks/{location-cw4sea0t.js → git-7smbwa27.js} +3 -3
  83. package/dist/chunks/{location-setb4p7q.js → git-7w8wyhxv.js} +7 -7
  84. package/dist/chunks/{location-eav5nksb.js → git-86gz9rn9.js} +36 -36
  85. package/dist/chunks/{location-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{location-ar825hn2.js → git-8esggbej.js} +22 -22
  87. package/dist/chunks/{location-ke78d0tt.js → git-8fwcj92t.js} +6 -6
  88. package/dist/chunks/{location-r685v1fg.js → git-8j88jbyt.js} +6 -6
  89. package/dist/chunks/{location-4b7rnnqb.js → git-8m9jqnpz.js} +86 -86
  90. package/dist/chunks/git-8mgf2t6a.js +26 -0
  91. package/dist/chunks/{location-qvb3nf84.js → git-9c3np669.js} +8 -8
  92. package/dist/chunks/{location-4jxd50ct.js → git-9h1nnr9t.js} +37 -37
  93. package/dist/chunks/{location-383bdqn6.js → git-9xp198kc.js} +12 -12
  94. package/dist/chunks/{location-atjpx8bb.js → git-a1j8dc6z.js} +24 -24
  95. package/dist/chunks/{location-6d8421km.js → git-a75jqzxp.js} +22 -22
  96. package/dist/chunks/{location-aaet6srn.js → git-aaet6srn.js} +2 -2
  97. package/dist/chunks/{location-8q9myf25.js → git-acd4vkpt.js} +4 -4
  98. package/dist/chunks/{location-frj49c8h.js → git-aexx1a4j.js} +7 -7
  99. package/dist/chunks/{location-4pfyybdp.js → git-ah8yzjey.js} +11 -11
  100. package/dist/chunks/{location-54s6wecj.js → git-ahcdffg7.js} +5 -5
  101. package/dist/chunks/{location-t67yxjf3.js → git-ar27zvmg.js} +26 -26
  102. package/dist/chunks/{location-9tnhk3sw.js → git-ateq7ehh.js} +25 -25
  103. package/dist/chunks/{location-k3faz1zp.js → git-aww827kb.js} +15 -15
  104. package/dist/chunks/git-ax8fkkcf.js +247 -0
  105. package/dist/chunks/{location-0bvasyrh.js → git-azgsnsww.js} +6 -6
  106. package/dist/chunks/{location-20zwj74y.js → git-b3ybp4zh.js} +7 -7
  107. package/dist/chunks/{location-wfj6d4tq.js → git-b44e3v9r.js} +3 -3
  108. package/dist/chunks/{location-b6gygkdw.js → git-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{location-9sw7694m.js → git-batgxsmv.js} +30 -30
  110. package/dist/chunks/{location-vrz5rpz8.js → git-bayqcesh.js} +24 -24
  111. package/dist/chunks/{location-7j7qd4de.js → git-be9rpv02.js} +21 -21
  112. package/dist/chunks/{location-qjnxxf51.js → git-bgxcxs0p.js} +5 -5
  113. package/dist/chunks/{location-0m0tvs7x.js → git-bp02r99k.js} +4 -4
  114. package/dist/chunks/{location-kaqg86x3.js → git-brr2q5yt.js} +21 -21
  115. package/dist/chunks/{location-249fq4hk.js → git-bwt763qk.js} +8 -8
  116. package/dist/chunks/{location-kwk1sjzt.js → git-c80bgpwy.js} +14 -14
  117. package/dist/chunks/{location-6r1js6vv.js → git-c84z0q4x.js} +21 -21
  118. package/dist/chunks/{location-ckf8nxjz.js → git-ckf8nxjz.js} +1 -1
  119. package/dist/chunks/{location-fsgveznc.js → git-d4csp169.js} +5 -5
  120. package/dist/chunks/{location-f5bgqzgb.js → git-d87r4pgk.js} +12 -12
  121. package/dist/chunks/{location-2w1s74yj.js → git-ddqxtkhn.js} +19 -19
  122. package/dist/chunks/{location-z1cbwd81.js → git-dg7a6m6t.js} +42 -42
  123. package/dist/chunks/{location-8p4f9s12.js → git-dj2t23y0.js} +2 -2
  124. package/dist/chunks/{location-9xvq3m7s.js → git-dj9sq318.js} +5 -5
  125. package/dist/chunks/{location-jn0ng521.js → git-dnftwyww.js} +41 -41
  126. package/dist/chunks/{location-bdjrcx3c.js → git-dz07z7ns.js} +6 -6
  127. package/dist/chunks/{location-znxkka7s.js → git-e0x13gky.js} +23 -23
  128. package/dist/chunks/{location-tnb3g43e.js → git-e1m7z51d.js} +1 -1
  129. package/dist/chunks/{location-vsv60gqs.js → git-e4n75zk9.js} +6 -6
  130. package/dist/chunks/{location-9eg4jjgq.js → git-e870zrf0.js} +5 -5
  131. package/dist/chunks/{location-2evyaa68.js → git-ec87kc5z.js} +4 -4
  132. package/dist/chunks/{location-mmggakvt.js → git-edtsms1g.js} +4 -4
  133. package/dist/chunks/{location-ef5x83kb.js → git-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{location-ycx81gtv.js → git-egy25ryw.js} +12 -12
  135. package/dist/chunks/{location-afy1jmxr.js → git-ekh6p2eh.js} +2 -2
  136. package/dist/chunks/{location-8vgbp9kc.js → git-emf92cnb.js} +9 -9
  137. package/dist/chunks/{location-6k70ak8m.js → git-en98q301.js} +5 -5
  138. package/dist/chunks/{location-q34kr2rc.js → git-endx7msf.js} +10 -10
  139. package/dist/chunks/{location-x6p4d2c5.js → git-es6vvgdb.js} +16 -16
  140. package/dist/chunks/{location-etq0c3wd.js → git-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{location-mqvxd9y4.js → git-ev2k3srp.js} +34 -34
  142. package/dist/chunks/{location-we3en8w2.js → git-evf56c6f.js} +12 -12
  143. package/dist/chunks/{location-fetws26q.js → git-f0mn3z3c.js} +1 -1
  144. package/dist/chunks/{location-hhztpha1.js → git-f559ga5b.js} +16 -16
  145. package/dist/chunks/{location-bz85s9hh.js → git-fch79rh9.js} +1 -1
  146. package/dist/chunks/{location-nqjse9n6.js → git-fs3q1v3z.js} +9 -9
  147. package/dist/chunks/{location-qh5wzrdr.js → git-ftgekngx.js} +15 -15
  148. package/dist/chunks/{location-fxbjtjnd.js → git-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{location-4zxt70vg.js → git-g9sspw56.js} +28 -28
  150. package/dist/chunks/{location-gd4qta3r.js → git-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{location-rx3k5raz.js → git-ge88nhgh.js} +26 -26
  152. package/dist/chunks/{location-gv6a8nnw.js → git-gv6a8nnw.js} +2 -2
  153. package/dist/chunks/{location-h03wrkyp.js → git-h03wrkyp.js} +2 -2
  154. package/dist/chunks/{location-k9anmv7q.js → git-h5s36vhp.js} +24 -24
  155. package/dist/chunks/{location-h6vf3j39.js → git-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{location-f828m53h.js → git-hdnk95c8.js} +2 -2
  157. package/dist/chunks/{location-6r6s2m1q.js → git-hnxpv5p7.js} +45 -45
  158. package/dist/chunks/{location-d4sp9rf7.js → git-hrmdcqyf.js} +14 -14
  159. package/dist/chunks/{location-j56e64zr.js → git-j56e64zr.js} +1 -1
  160. package/dist/chunks/{location-p4fngkfm.js → git-j7ch2sdk.js} +6 -6
  161. package/dist/chunks/{location-3f9g2x3f.js → git-jbqg4cgc.js} +48 -48
  162. package/dist/chunks/{location-008kyx1w.js → git-jdhbqgq5.js} +4 -4
  163. package/dist/chunks/{location-pk2vfkre.js → git-jj57btzv.js} +12 -12
  164. package/dist/chunks/{location-cq37gk0t.js → git-jmphe03k.js} +4 -4
  165. package/dist/chunks/{location-vn7byakt.js → git-jnbjc8km.js} +10 -10
  166. package/dist/chunks/{location-xcehmcv4.js → git-jngk8s4y.js} +11 -11
  167. package/dist/chunks/{location-676zts7t.js → git-jqg9rab3.js} +33 -33
  168. package/dist/chunks/{location-2sark3gv.js → git-jv2s6zs8.js} +14 -14
  169. package/dist/chunks/{location-184488cr.js → git-k31qzyqw.js} +20 -20
  170. package/dist/chunks/{location-nzks3jc8.js → git-k3c624dm.js} +3 -3
  171. package/dist/chunks/{location-jppvw2tx.js → git-k3gnzxs0.js} +5 -5
  172. package/dist/chunks/{location-4thtkfjm.js → git-kh9er4nr.js} +144 -144
  173. package/dist/chunks/{location-633s5get.js → git-kpjrwsj3.js} +12 -12
  174. package/dist/chunks/{location-cfpkc3c9.js → git-m0jqrx5p.js} +2 -2
  175. package/dist/chunks/{location-7znvkeks.js → git-m29mzpwc.js} +22 -22
  176. package/dist/chunks/{location-m3fdjcah.js → git-m3fdjcah.js} +1 -1
  177. package/dist/chunks/{location-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{location-mjymc32g.js → git-magykp64.js} +4 -4
  179. package/dist/chunks/{location-9q89dbhk.js → git-mav8hzat.js} +41 -41
  180. package/dist/chunks/{location-06dxphr1.js → git-mfhfdr54.js} +4 -4
  181. package/dist/chunks/{location-k9avtbwf.js → git-mgqxb6b1.js} +6 -6
  182. package/dist/chunks/{location-4q3bx44t.js → git-mhkh0xea.js} +9 -9
  183. package/dist/chunks/{location-9w4ppqge.js → git-mjagy123.js} +5 -5
  184. package/dist/chunks/{location-dqmenwa9.js → git-mqhtvztx.js} +3 -3
  185. package/dist/chunks/{location-p7gte5gn.js → git-mqz104rg.js} +30 -30
  186. package/dist/chunks/{location-4pjc1ph3.js → git-msbbmz00.js} +47 -47
  187. package/dist/chunks/{location-s42fsk39.js → git-mtv12gxd.js} +31 -31
  188. package/dist/chunks/{location-4ekfwt2e.js → git-mvk278pt.js} +16 -16
  189. package/dist/chunks/{location-mc2w0rmh.js → git-mvpmgt96.js} +10 -10
  190. package/dist/chunks/{location-j0f29qwa.js → git-mw3qqj8g.js} +3 -3
  191. package/dist/chunks/{location-3zffk7df.js → git-nggnyz50.js} +28 -28
  192. package/dist/chunks/{location-dnp5f34d.js → git-njww08sa.js} +19 -19
  193. package/dist/chunks/{location-0a2xtww1.js → git-nkr6vmt6.js} +3 -3
  194. package/dist/chunks/{location-78e6np4t.js → git-npmzsvgm.js} +3 -3
  195. package/dist/chunks/{location-gb2rmtkw.js → git-nq152q77.js} +16 -16
  196. package/dist/chunks/{location-xk747vep.js → git-nq7qbqzc.js} +9 -9
  197. package/dist/chunks/{location-cfj703js.js → git-nscy7z1f.js} +60 -60
  198. package/dist/chunks/{location-5h3qddj0.js → git-p17938vj.js} +11 -11
  199. package/dist/chunks/{location-dvxgyqr5.js → git-p1f7pd7a.js} +11 -11
  200. package/dist/chunks/{location-5yzzbxa7.js → git-p37cw4rj.js} +8 -8
  201. package/dist/chunks/{location-tdhe5xga.js → git-pb1eahw5.js} +8 -8
  202. package/dist/chunks/{location-7w99qc9d.js → git-pg3x4kqe.js} +3 -3
  203. package/dist/chunks/{location-r9q77sm8.js → git-phjaars8.js} +6 -6
  204. package/dist/chunks/{location-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{location-pknna89w.js → git-pknna89w.js} +1 -1
  206. package/dist/chunks/{location-ze5v0a14.js → git-pw9v3g6d.js} +5 -5
  207. package/dist/chunks/{location-9sbs8jya.js → git-pwmksjqr.js} +2 -2
  208. package/dist/chunks/{location-bdsn0hg4.js → git-pzt9ey7q.js} +30 -30
  209. package/dist/chunks/{location-48wwg9sw.js → git-qfrjc8h3.js} +11 -11
  210. package/dist/chunks/{location-1a99h9dp.js → git-qnmxneha.js} +9 -9
  211. package/dist/chunks/{location-rfpa0h4r.js → git-qnmy9757.js} +29 -29
  212. package/dist/chunks/{location-qsdy395h.js → git-qsdy395h.js} +1 -1
  213. package/dist/chunks/{location-e0kn3hfv.js → git-r1m0wred.js} +4 -4
  214. package/dist/chunks/{location-7g9bvtff.js → git-r3hv5v0g.js} +12 -12
  215. package/dist/chunks/{location-f33b9p90.js → git-r9q1pb8v.js} +19 -19
  216. package/dist/chunks/git-rap9a73h.js +18 -0
  217. package/dist/chunks/{location-a9at85v6.js → git-rb96jarx.js} +6 -6
  218. package/dist/chunks/{location-ar3rf71y.js → git-rd0szf9f.js} +4 -4
  219. package/dist/chunks/{location-rdw6cm16.js → git-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{location-rgrenpz7.js → git-re793hzx.js} +11 -11
  221. package/dist/chunks/{location-yj50hhw4.js → git-rfshdbx4.js} +1 -1
  222. package/dist/chunks/{location-neyqvzdr.js → git-rhw3s2gk.js} +41 -41
  223. package/dist/chunks/{location-agrejx4p.js → git-rq5m0cbv.js} +24 -24
  224. package/dist/chunks/{location-6vk930va.js → git-rqyhz3pj.js} +27 -27
  225. package/dist/chunks/{location-ywsdzc9e.js → git-s9pw04c8.js} +7 -7
  226. package/dist/chunks/{location-ac3fkhra.js → git-smfazwb0.js} +13 -13
  227. package/dist/chunks/{location-ymnhf11g.js → git-sn5sfsc9.js} +8 -8
  228. package/dist/chunks/{location-fdv30zvt.js → git-sxz6gkc3.js} +4 -4
  229. package/dist/chunks/{location-rhjbct0v.js → git-t550f9t1.js} +4 -4
  230. package/dist/chunks/{location-tazgh4e4.js → git-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{location-tcezcvh9.js → git-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{location-tdstcens.js → git-tdstcens.js} +1 -1
  233. package/dist/chunks/{location-n9zez4wf.js → git-tg4h8n6c.js} +1 -1
  234. package/dist/chunks/{location-nng2ktcm.js → git-tgpa0z63.js} +2 -2
  235. package/dist/chunks/{location-ghf1akwt.js → git-thsc5d2e.js} +6 -6
  236. package/dist/chunks/{location-y1taq29h.js → git-tjq74dy7.js} +3 -3
  237. package/dist/chunks/{location-12s3v6mp.js → git-ttjz52p2.js} +1 -1
  238. package/dist/chunks/{location-tvtrv512.js → git-tvtrv512.js} +1 -1
  239. package/dist/chunks/{location-dfby5msv.js → git-txyptwf2.js} +30 -30
  240. package/dist/chunks/{location-yq2cczkq.js → git-va5qff5x.js} +9 -9
  241. package/dist/chunks/{location-277eer69.js → git-vbfgae2j.js} +4 -4
  242. package/dist/chunks/{location-e97qct74.js → git-vdtvthcs.js} +3 -3
  243. package/dist/chunks/{location-veqvce7d.js → git-veqvce7d.js} +1 -1
  244. package/dist/chunks/{location-pyxx3fcm.js → git-vph80azg.js} +1 -1
  245. package/dist/chunks/{location-h8s9z3z5.js → git-vxe9q46s.js} +5 -5
  246. package/dist/chunks/{location-vzcthcp8.js → git-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{location-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{location-c0c130gm.js → git-w6p3gqyc.js} +2 -2
  249. package/dist/chunks/{location-4q1v9c1t.js → git-w83jn78s.js} +17 -17
  250. package/dist/chunks/{location-76mz653q.js → git-wb6hsfck.js} +4 -4
  251. package/dist/chunks/{location-wd87259q.js → git-wd87259q.js} +1 -1
  252. package/dist/chunks/{location-4rjyk3c7.js → git-whhj8d0j.js} +18 -18
  253. package/dist/chunks/{location-p0jpxftg.js → git-wnngper4.js} +7 -7
  254. package/dist/chunks/{location-pc8bba18.js → git-wr8xqqe1.js} +20 -20
  255. package/dist/chunks/{location-v8q6jw7g.js → git-wspv94s9.js} +26 -26
  256. package/dist/chunks/{location-jjmgaw8t.js → git-wwegwsad.js} +25 -25
  257. package/dist/chunks/{location-qkra8k3h.js → git-wxadz7y9.js} +23 -23
  258. package/dist/chunks/{location-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{location-t60ccsm1.js → git-x64dbq5b.js} +7 -7
  260. package/dist/chunks/{location-ss8k8k84.js → git-x8xzcv8y.js} +10 -10
  261. package/dist/chunks/{location-t2s8k3h0.js → git-x9ty1f0y.js} +11 -11
  262. package/dist/chunks/{location-xfkkasph.js → git-xfkkasph.js} +1 -1
  263. package/dist/chunks/{location-b470x9gv.js → git-xkdewt67.js} +4 -4
  264. package/dist/chunks/{location-pp3dp5ad.js → git-xkgjtwvv.js} +6 -6
  265. package/dist/chunks/{location-mhsaa535.js → git-xw3m6y1d.js} +2 -2
  266. package/dist/chunks/{location-tq42g4mv.js → git-xw736607.js} +7 -7
  267. package/dist/chunks/{location-hdt8t46w.js → git-y0nb3a38.js} +9 -9
  268. package/dist/chunks/{location-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{location-pkjkgdks.js → git-y235y40c.js} +82 -82
  270. package/dist/chunks/{location-g17w5wg1.js → git-y3wpwyaa.js} +6 -6
  271. package/dist/chunks/{location-y71avatq.js → git-y71avatq.js} +1 -1
  272. package/dist/chunks/{location-ryv4b98b.js → git-yb4fkh4h.js} +39 -39
  273. package/dist/chunks/{location-y3gk2rae.js → git-yhed11z9.js} +9 -9
  274. package/dist/chunks/{location-rhraev7y.js → git-yp2x3t23.js} +4 -4
  275. package/dist/chunks/{location-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{location-yrznvahk.js → git-yrznvahk.js} +2 -2
  277. package/dist/chunks/{location-73xc2593.js → git-ys29gpg0.js} +13 -13
  278. package/dist/chunks/{location-9g3kc011.js → git-yvhffnst.js} +12 -12
  279. package/dist/chunks/{location-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{location-j3ff95xa.js → git-z11gs965.js} +25 -25
  281. package/dist/chunks/{location-z63w68vq.js → git-z63w68vq.js} +2 -2
  282. package/dist/chunks/{location-jnn1pg4s.js → git-zdtfb6p9.js} +29 -29
  283. package/dist/chunks/{location-zeh9ct20.js → git-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{location-hzchk1pk.js → git-zev0ek28.js} +13 -13
  285. package/dist/chunks/{location-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{location-zxq2ej10.js → git-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +82 -82
  292. package/dist/config/discovery.js +81 -81
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +105 -105
  295. package/dist/config/plugin/agent.js +122 -122
  296. package/dist/config/plugin/command.js +211 -211
  297. package/dist/config/plugin/compaction.js +159 -159
  298. package/dist/config/plugin/compatibility.js +140 -140
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +123 -123
  301. package/dist/config/plugin/image.js +122 -122
  302. package/dist/config/plugin/instruction.js +89 -89
  303. package/dist/config/plugin/location-watcher.js +120 -120
  304. package/dist/config/plugin/mcp.js +129 -129
  305. package/dist/config/plugin/policy.js +120 -120
  306. package/dist/config/plugin/provider.js +122 -122
  307. package/dist/config/plugin/reference.js +124 -124
  308. package/dist/config/plugin/shell.js +122 -122
  309. package/dist/config/plugin/skill-file.js +101 -101
  310. package/dist/config/plugin/skill.js +141 -141
  311. package/dist/config/plugin/snapshot.js +122 -122
  312. package/dist/config/plugin/source.js +125 -125
  313. package/dist/config/plugin/tool-output.js +122 -122
  314. package/dist/config/plugin/websearch.js +121 -121
  315. package/dist/config/plugin/worktree.js +124 -124
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +117 -117
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +80 -80
  321. package/dist/database/database.js +71 -71
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration.gen.js +48 -48
  386. package/dist/database/migration.js +50 -50
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +75 -75
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +359 -359
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +90 -90
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +92 -92
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +73 -73
  410. package/dist/file-access.js +103 -103
  411. package/dist/file-mutation.js +93 -93
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +224 -224
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +98 -98
  423. package/dist/filesystem/watcher-binding.js +1 -1
  424. package/dist/filesystem/watcher.js +3 -3
  425. package/dist/filesystem.js +97 -97
  426. package/dist/form.js +81 -81
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +88 -88
  429. package/dist/generate.js +102 -102
  430. package/dist/git.js +10 -10
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +90 -90
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +4 -4
  453. package/dist/instance/service.js +3 -3
  454. package/dist/instance.js +354 -354
  455. package/dist/instruction-discovery.js +76 -76
  456. package/dist/instructions/builtins.js +86 -86
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +81 -81
  460. package/dist/job.js +78 -78
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +72 -72
  463. package/dist/location-activity.js +130 -130
  464. package/dist/location-mutation.js +103 -103
  465. package/dist/location-service-map.js +83 -83
  466. package/dist/location-services.js +353 -353
  467. package/dist/location.js +86 -86
  468. package/dist/mcp/client.js +90 -90
  469. package/dist/mcp/index.js +101 -101
  470. package/dist/mcp/instructions.js +123 -123
  471. package/dist/mcp/oauth.js +77 -77
  472. package/dist/mcp/stdio.js +89 -89
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +90 -90
  475. package/dist/model-resolver.js +97 -97
  476. package/dist/model.js +95 -95
  477. package/dist/models-dev.js +100 -100
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +77 -77
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +106 -106
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +87 -87
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +74 -74
  487. package/dist/plugin/agent.js +101 -101
  488. package/dist/plugin/command.js +98 -98
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +217 -217
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +328 -328
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +95 -95
  496. package/dist/plugin/module.js +7 -7
  497. package/dist/plugin/optimize.js +2 -2
  498. package/dist/plugin/plan.js +101 -101
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  501. package/dist/plugin/provider/azure.js +121 -121
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +118 -118
  507. package/dist/plugin/provider/digitalocean.js +92 -92
  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 +92 -92
  512. package/dist/plugin/provider/gitlab.js +90 -90
  513. package/dist/plugin/provider/google-vertex.js +89 -89
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +119 -119
  517. package/dist/plugin/provider/modal.js +91 -91
  518. package/dist/plugin/provider/nvidia.js +1 -1
  519. package/dist/plugin/provider/ollama.js +121 -121
  520. package/dist/plugin/provider/openai.js +91 -91
  521. package/dist/plugin/provider/opencode.js +92 -92
  522. package/dist/plugin/provider/openrouter.js +90 -90
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  526. package/dist/plugin/provider/sap-ai-core.js +90 -90
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +89 -89
  531. package/dist/plugin/provider/vllm.js +121 -121
  532. package/dist/plugin/provider/xai.js +90 -90
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +73 -73
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +136 -136
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +343 -343
  540. package/dist/plugin/update.js +2 -2
  541. package/dist/plugin/vcs/git.js +83 -83
  542. package/dist/plugin/vcs/hg.js +85 -85
  543. package/dist/plugin/warming.js +118 -118
  544. package/dist/plugin/websearch/exa.js +5 -5
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +2 -2
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +220 -220
  552. package/dist/project/schema.js +6 -6
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +87 -87
  555. package/dist/provider.js +94 -94
  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 +93 -93
  560. package/dist/reference/instructions.js +88 -88
  561. package/dist/reference.js +86 -86
  562. package/dist/repository-cache.js +80 -80
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +94 -94
  566. package/dist/rpc.js +85 -85
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +73 -73
  569. package/dist/session/compaction.js +129 -129
  570. package/dist/session/context.js +151 -151
  571. package/dist/session/diff.js +87 -87
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +221 -221
  576. package/dist/session/execution.js +123 -123
  577. package/dist/session/generate.js +150 -150
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +85 -85
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +76 -76
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +96 -96
  584. package/dist/session/message-updater.js +4 -4
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +116 -116
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +129 -129
  589. package/dist/session/projector.js +85 -85
  590. package/dist/session/prompt.js +104 -104
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +89 -89
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +1 -1
  595. package/dist/session/runner/llm.js +229 -229
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +95 -95
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +113 -113
  600. package/dist/session/runner/step.js +125 -125
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +171 -171
  604. package/dist/session/shell.js +137 -137
  605. package/dist/session/skill.js +102 -102
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +72 -72
  608. package/dist/session/store.js +84 -84
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +209 -209
  611. package/dist/session/system-prompt.js +1 -1
  612. package/dist/session/title.js +155 -155
  613. package/dist/session/to-session-error.js +110 -110
  614. package/dist/session/transfer.js +220 -220
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +215 -215
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +7 -7
  621. package/dist/shell.js +137 -137
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +104 -104
  624. package/dist/skill.js +109 -109
  625. package/dist/snapshot.js +88 -88
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +120 -120
  630. package/dist/tool/plugin/edit.js +119 -119
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +123 -123
  633. package/dist/tool/plugin/grep.js +123 -123
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +121 -121
  636. package/dist/tool/plugin/question.js +102 -102
  637. package/dist/tool/plugin/read.js +124 -124
  638. package/dist/tool/plugin/shell.js +214 -214
  639. package/dist/tool/plugin/skill.js +110 -110
  640. package/dist/tool/plugin/subagent.js +218 -218
  641. package/dist/tool/plugin/webfetch.js +109 -109
  642. package/dist/tool/plugin/websearch.js +111 -111
  643. package/dist/tool/plugin/write.js +121 -121
  644. package/dist/tool/read-filesystem.js +99 -99
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +14 -14
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/formatter.js +7 -7
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +3 -3
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +91 -91
  667. package/dist/v1/config/permission.js +3 -3
  668. package/dist/v1/config/plugin.js +1 -1
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/variant.js +90 -90
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +88 -88
  677. package/dist/websearch.js +83 -83
  678. package/dist/wellknown/plugin.js +75 -75
  679. package/dist/wellknown.js +78 -78
  680. package/dist/workspace/driver.js +5 -5
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +77 -77
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +8 -8
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +88 -88
  687. package/dist/worktree.js +93 -93
  688. package/package.json +8 -8
  689. package/dist/chunks/location-0w7pwmpa.js +0 -26
  690. package/dist/chunks/location-ge6zmjjk.js +0 -247
  691. package/dist/chunks/location-jqh9b0xq.js +0 -18
  692. package/dist/chunks/location-qapv375x.js +0 -4
  693. /package/dist/chunks/{location-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{location-0zkw76rk.js → git-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{location-17cy0kzp.js → git-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{location-1cnp2v09.js → git-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{location-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{location-24dcb14g.js → git-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{location-2710q6r3.js → git-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{location-2axfhc9x.js → git-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{location-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{location-359p4xyc.js → git-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{location-3asan66x.js → git-3asan66x.js} +0 -0
  704. /package/dist/chunks/{location-3v8g72cx.js → git-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{location-3w5fmr99.js → git-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{location-3wcehsnq.js → git-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{location-43n2bw4t.js → git-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{location-4knz6hnm.js → git-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{location-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{location-4y7fprxs.js → git-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{location-53557ph1.js → git-53557ph1.js} +0 -0
  712. /package/dist/chunks/{location-550bvhaj.js → git-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{location-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
  714. /package/dist/chunks/{location-6prwharc.js → git-6prwharc.js} +0 -0
  715. /package/dist/chunks/{location-7akdwqpd.js → git-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{location-7m9af43g.js → git-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{location-822emrt2.js → git-822emrt2.js} +0 -0
  718. /package/dist/chunks/{location-88xbtdfr.js → git-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{location-8n3pysct.js → git-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{location-922hggd3.js → git-922hggd3.js} +0 -0
  721. /package/dist/chunks/{location-9a4afbnw.js → git-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{location-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{location-a6k6eb26.js → git-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{location-af5trqkr.js → git-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{location-afrmfg78.js → git-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{location-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{location-atq7p7m5.js → git-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{location-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{location-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{location-cf4snx6d.js → git-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{location-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{location-d9fn303g.js → git-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{location-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{location-dajrwvna.js → git-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{location-dap0rakb.js → git-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{location-df08tz66.js → git-df08tz66.js} +0 -0
  737. /package/dist/chunks/{location-dy18nga0.js → git-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{location-e5kj55wp.js → git-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{location-e73j6tqm.js → git-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{location-ec1grn59.js → git-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{location-eh3zwz77.js → git-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{location-emrn6kk6.js → git-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{location-f0mxakyp.js → git-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{location-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{location-faypxj3z.js → git-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{location-fd410y7t.js → git-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{location-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
  748. /package/dist/chunks/{location-g4wezp1m.js → git-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{location-g86h250q.js → git-g86h250q.js} +0 -0
  750. /package/dist/chunks/{location-gebd4c9n.js → git-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{location-gftt206x.js → git-gftt206x.js} +0 -0
  752. /package/dist/chunks/{location-hjbc5kem.js → git-hjbc5kem.js} +0 -0
  753. /package/dist/chunks/{location-hk9envan.js → git-hk9envan.js} +0 -0
  754. /package/dist/chunks/{location-j2ntwpah.js → git-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{location-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{location-jjkms2e6.js → git-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{location-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{location-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{location-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{location-mp448xyj.js → git-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{location-msx8hqn2.js → git-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{location-n05xt0ee.js → git-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{location-n3j8tn72.js → git-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{location-njntx4h6.js → git-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{location-q3sfg36h.js → git-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{location-q74kybfr.js → git-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{location-qaymkmh1.js → git-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{location-qb87gjwd.js → git-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{location-qfa1cgps.js → git-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{location-qg3g05ea.js → git-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{location-qrg20bc0.js → git-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{location-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{location-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{location-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{location-ssg3fenm.js → git-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{location-twg0f83k.js → git-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{location-w803qqfp.js → git-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{location-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{location-wer8tq1h.js → git-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{location-wtztk69x.js → git-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{location-x0ckcb58.js → git-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{location-x61499pn.js → git-x61499pn.js} +0 -0
  783. /package/dist/chunks/{location-y44na4kk.js → git-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{location-y8cydn3q.js → git-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{location-y8f7s663.js → git-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{location-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{location-ym463w8f.js → git-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{location-z9919s4g.js → git-z9919s4g.js} +0 -0
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin8
3
+ } from "./git-pw9v3g6d.js";
4
+ import {
5
+ Plugin6
6
+ } from "./git-fs3q1v3z.js";
7
+ import {
8
+ Plugin9
9
+ } from "./git-emf92cnb.js";
10
+ import {
11
+ Plugin7
12
+ } from "./git-vxe9q46s.js";
13
+ import {
14
+ Plugin5
15
+ } from "./git-7a5pcgfq.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin8,
20
+ Plugin6,
21
+ Plugin9,
22
+ Plugin7,
23
+ Plugin5
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./git-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service41,
8
+ Service: () => Service42,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node44
10
+ node: () => node45
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service41 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service42 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service41, () => {
17
+ var layer = Layer.sync(Service42, () => {
18
18
  const environments = new Map;
19
- return Service41.of({
19
+ return Service42.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service41, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node44 = makeGlobalNode({ service: Service41, layer, deps: [] });
29
+ var node45 = makeGlobalNode({ service: Service42, layer, deps: [] });
30
30
 
31
- export { Service41, node44, exports_environment };
31
+ export { Service42, node45, exports_environment };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./location-922hggd3.js";
3
+ } from "./git-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
6
  Service43
7
- } from "./location-fp4mk58e.js";
7
+ } from "./git-5958kjg8.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./location-2a5m3afh.js";
10
+ } from "./git-2a5m3afh.js";
11
11
  import {
12
12
  Service50
13
- } from "./location-fx80e2z0.js";
14
- import {
15
- Service64
16
- } from "./location-4q1v9c1t.js";
13
+ } from "./git-7nkrf797.js";
17
14
  import {
18
15
  Service59
19
- } from "./location-6r6s2m1q.js";
16
+ } from "./git-w83jn78s.js";
17
+ import {
18
+ Service62
19
+ } from "./git-hnxpv5p7.js";
20
20
  import {
21
- Service15,
21
+ Service24,
22
22
  resolvePath2
23
- } from "./location-tjsv0jpk.js";
23
+ } from "./git-61ckr634.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./location-fxbjtjnd.js";
29
+ } from "./git-fxbjtjnd.js";
30
30
  import {
31
- Service48,
31
+ Service47,
32
32
  name15
33
- } from "./location-a2m2wc9b.js";
33
+ } from "./git-1y1dts9t.js";
34
34
  import {
35
35
  NotFoundError6,
36
- Service40
37
- } from "./location-neyqvzdr.js";
36
+ Service41
37
+ } from "./git-rhw3s2gk.js";
38
38
  import {
39
- Service25
40
- } from "./location-4b7rnnqb.js";
39
+ Service27
40
+ } from "./git-8m9jqnpz.js";
41
41
  import {
42
42
  scan2
43
- } from "./location-e0kn3hfv.js";
43
+ } from "./git-r1m0wred.js";
44
44
  import {
45
45
  __export
46
- } from "./location-9rqn6x4v.js";
46
+ } from "./git-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell = {};
50
50
  __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input4,
53
- Plugin: () => Plugin18,
52
+ Input: () => Input9,
53
+ Plugin: () => Plugin25,
54
54
  ShellTool: () => exports_shell,
55
- name: () => name4
55
+ name: () => name9
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name4 = "shell";
59
+ var name9 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input4 = Schema.Struct({
73
+ var Input9 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,18 +115,18 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin18 = {
118
+ var Plugin25 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service25;
122
- const jobs = yield* Service64;
121
+ const sessions = yield* Service27;
122
+ const jobs = yield* Service59;
123
123
  const scope = yield* Scope.Scope;
124
124
  const environment = yield* Service50;
125
- const access = yield* Service15;
126
- const shell = yield* Service40;
127
- const shellSelect = yield* Service48;
125
+ const access = yield* Service24;
126
+ const shell = yield* Service41;
127
+ const shellSelect = yield* Service47;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service59;
129
+ const permission = yield* Service62;
130
130
  const config = yield* Service43;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
@@ -146,7 +146,7 @@ var Plugin18 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name4,
149
+ action: name9,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin18 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name4,
186
+ name: name9,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input4,
189
+ input: Input9,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name4,
222
+ type: name9,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name4];
252
+ const tool = event.tools[name9];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin18, exports_shell };
263
+ export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin25, exports_shell };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service81,
4
- node85
5
- } from "./location-gb2rmtkw.js";
3
+ Service79,
4
+ node81
5
+ } from "./git-nq152q77.js";
6
6
  import {
7
7
  __export
8
- } from "./location-9rqn6x4v.js";
8
+ } from "./git-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: () => Service4,
14
+ Service: () => Service2,
15
15
  Updated: () => Updated2,
16
16
  layer: () => layer4,
17
- node: () => node5
17
+ node: () => node3
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 Service4 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service2 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer4 = Layer.effect(Service4, Effect.gen(function* () {
26
- const bus = yield* Service81;
25
+ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
26
+ const bus = yield* Service79;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service4.of({
29
+ return Service2.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 node5 = makeGlobalNode({ service: Service4, layer: layer4, deps: [node85] });
36
+ var node3 = makeGlobalNode({ service: Service2, layer: layer4, deps: [node81] });
37
37
 
38
- export { Updated2, Service4, layer4, node5, exports_sdk };
38
+ export { Updated2, Service2, layer4, node3, exports_sdk };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./location-gb2rmtkw.js";
2
+ Service79,
3
+ node81
4
+ } from "./git-nq152q77.js";
5
5
  import {
6
6
  __export
7
- } from "./location-9rqn6x4v.js";
7
+ } from "./git-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event17,
15
+ Event: () => Event20,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID14,
20
- Info: () => Info29,
19
+ ID: () => ID15,
20
+ Info: () => Info30,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError10,
24
24
  Reply: () => Reply3,
25
- Service: () => Service71,
25
+ Service: () => Service75,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer25,
29
- node: () => node75,
28
+ layer: () => layer24,
29
+ node: () => node77,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event17 } from "@opencode/schema/form";
36
+ import { Event as Event20 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID14 = Form.ID;
39
- var Info29 = Form.Info;
38
+ var ID15 = Form.ID;
39
+ var Info30 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
47
  class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID14
48
+ id: ID15
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID14
56
+ id: ID15
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID14
64
+ id: ID15
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID14,
72
+ id: ID15,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service71 extends Context.Service()("@opencode/Form") {
82
+ class Service75 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service71, Effect.gen(function* () {
85
- const bus = yield* Service81;
84
+ var layer24 = Layer.effect(Service75, Effect.gen(function* () {
85
+ const bus = yield* Service79;
86
86
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
87
87
  capacity: Number.MAX_SAFE_INTEGER,
88
88
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
89
89
  });
90
90
  const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
91
91
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
92
- const id = input.id ?? ID14.create();
92
+ const id = input.id ?? ID15.create();
93
93
  const existing = yield* Cache.getSuccess(forms, id);
94
94
  if (Option.isSome(existing))
95
95
  return yield* new AlreadyExistsError2({ id });
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service71, Effect.gen(function* () {
153
153
  yield* Deferred.succeed(entry.deferred, next);
154
154
  })));
155
155
  yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
156
- return Service71.of({ create, ask, get, list, state, reply, cancel });
156
+ return Service75.of({ create, ask, get, list, state, reply, cancel });
157
157
  }));
158
- var node75 = makeLocationNode({ service: Service71, layer: layer25, deps: [node85] });
158
+ var node77 = makeLocationNode({ service: Service75, layer: layer24, deps: [node81] });
159
159
  function validateAnswer2(form, answer) {
160
160
  const fields = new Map(form.map((field) => [field.key, field]));
161
161
  for (const key of Object.keys(answer)) {
@@ -307,4 +307,4 @@ function isDateTime(value) {
307
307
  return !Number.isNaN(new Date(value).getTime());
308
308
  }
309
309
 
310
- export { ID14, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service71, layer25, node75, validateAnswer2, validateFields2, exports_form, Event17 };
310
+ export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service75, layer24, node77, validateAnswer2, validateFields2, exports_form, Event20 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service82,
3
- node86
4
- } from "./location-t2s8k3h0.js";
3
+ node85
4
+ } from "./git-x9ty1f0y.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./location-y71avatq.js";
7
+ } from "./git-y71avatq.js";
8
8
  import {
9
- Service81,
10
- node85
11
- } from "./location-gb2rmtkw.js";
9
+ Service79,
10
+ node81
11
+ } from "./git-nq152q77.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./location-ec1grn59.js";
14
+ } from "./git-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./location-gftt206x.js";
17
+ } from "./git-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./location-7w99qc9d.js";
20
+ } from "./git-pg3x4kqe.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./location-a1bz86dw.js";
24
+ } from "./git-5c4hm403.js";
25
25
  import {
26
26
  __export
27
- } from "./location-9rqn6x4v.js";
27
+ } from "./git-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,7 +32,7 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info20,
35
+ Info: () => Info18,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer23,
48
+ layer: () => layer21,
49
49
  list: () => list4,
50
- make: () => make18,
50
+ make: () => make17,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node60,
53
+ node: () => node58,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info20,
68
+ Info as Info18,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -153,10 +153,10 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
153
153
 
154
154
  class Service56 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make18 = Effect.fn("SessionInbox.make")(function* () {
156
+ var make17 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service82;
158
158
  const db = database.db;
159
- const bus = yield* Service81;
159
+ const bus = yield* Service79;
160
160
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
161
161
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
162
162
  if (existing === undefined)
@@ -173,7 +173,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info20.make({
176
+ }).pipe(Effect.map((event) => Info18.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -227,8 +227,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer23 = Layer.effect(Service56, make18());
231
- var node60 = makeGlobalNode({ service: Service56, layer: layer23, deps: [node86, node85] });
230
+ var layer21 = Layer.effect(Service56, make17());
231
+ var node58 = makeGlobalNode({ service: Service56, layer: layer21, deps: [node85, node81] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info20, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service56, make18, layer23, node60, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info18, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service56, make17, layer21, node58, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./location-2a5m3afh.js";
5
+ } from "./git-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./location-9rqn6x4v.js";
8
+ } from "./git-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./git-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
9
  Service: () => Service57,
10
- node: () => node61
10
+ node: () => node59
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
@@ -15,6 +15,6 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
16
  class Service57 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node61 = LayerNode.unbound(Service57, Node.tags.values.global);
18
+ var node59 = LayerNode.unbound(Service57, Node.tags.values.global);
19
19
 
20
- export { Service57, node61, exports_service2 };
20
+ export { Service57, node59, exports_service2 };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service43
3
- } from "./location-fp4mk58e.js";
3
+ } from "./git-5958kjg8.js";
4
4
  import {
5
5
  Service53
6
- } from "./location-c8jj867k.js";
6
+ } from "./git-6n4b0dsb.js";
7
7
  import {
8
8
  observe2
9
- } from "./location-qsdy395h.js";
9
+ } from "./git-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./location-9rqn6x4v.js";
12
+ } from "./git-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin44
18
+ Plugin: () => Plugin33
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin44 = define({
22
+ var Plugin33 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  const config = yield* Service43;
@@ -43,4 +43,4 @@ var Plugin44 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin44, exports_image };
46
+ export { Plugin33, exports_image };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./location-y71avatq.js";
3
+ } from "./git-y71avatq.js";
4
4
  import {
5
5
  Service50,
6
- node54
7
- } from "./location-fx80e2z0.js";
6
+ node53
7
+ } from "./git-7nkrf797.js";
8
8
  import {
9
9
  __export
10
- } from "./location-9rqn6x4v.js";
10
+ } from "./git-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: () => Service13,
17
- node: () => node16,
16
+ Service: () => Service16,
17
+ node: () => node19,
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 Service13 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service16 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,7 +34,7 @@ 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(Service13, Effect.gen(function* () {
37
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
38
38
  const environment = yield* Service50;
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);
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service13, 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 Service13.of({ withLock, write, writeTextPreservingBom });
59
+ return Service16.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node16 = makeLocationNode({ service: Service13, layer, deps: [node54] });
61
+ var node19 = makeLocationNode({ service: Service16, layer, deps: [node53] });
62
62
 
63
- export { Service13, readText2, syncTextBom2, node16, exports_file_mutation };
63
+ export { Service16, readText2, syncTextBom2, node19, exports_file_mutation };