@opencode/core 0.0.0-dev-19964 → 0.0.0-dev-19965

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 (795) 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 +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{websearch-jhpyp7e5.js → project-058vq2j8.js} +11 -11
  8. package/dist/chunks/{websearch-s8d7rejh.js → project-0gdmqesm.js} +4 -4
  9. package/dist/chunks/{websearch-cmhrmbws.js → project-0hrvvet0.js} +10 -10
  10. package/dist/chunks/{websearch-w8w7yt3v.js → project-0jr93kkc.js} +38 -38
  11. package/dist/chunks/{websearch-v3rf3yjj.js → project-0merdtq6.js} +53 -53
  12. package/dist/chunks/{websearch-54vd5a2c.js → project-0p4jx4fd.js} +9 -9
  13. package/dist/chunks/{websearch-0paq2nw3.js → project-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{websearch-0q0f95c6.js → project-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{websearch-3e8zcw82.js → project-15tf48hp.js} +24 -24
  16. package/dist/chunks/{websearch-5rfdw0p6.js → project-18wzm834.js} +17 -17
  17. package/dist/chunks/{websearch-bxzg3jj0.js → project-1c8prt5q.js} +12 -12
  18. package/dist/chunks/{websearch-1dazxqgg.js → project-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{websearch-tkmwgdpd.js → project-1g7epwpd.js} +4 -4
  20. package/dist/chunks/{websearch-gdvb9na5.js → project-1gcs78sm.js} +44 -44
  21. package/dist/chunks/{websearch-sjssyvpf.js → project-1gd24jtv.js} +11 -11
  22. package/dist/chunks/{websearch-xey7751x.js → project-1y7t7sgp.js} +33 -33
  23. package/dist/chunks/{websearch-21r38tys.js → project-21r38tys.js} +1 -1
  24. package/dist/chunks/{websearch-0ft9cg2j.js → project-23pqda6t.js} +4 -4
  25. package/dist/chunks/{websearch-b8k85y5x.js → project-25sb2q89.js} +5 -5
  26. package/dist/chunks/{websearch-2a5m3afh.js → project-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{websearch-jwp645je.js → project-2c50a4hz.js} +28 -28
  28. package/dist/chunks/{websearch-47q8fzft.js → project-2chytzzm.js} +38 -38
  29. package/dist/chunks/{websearch-2emx2brn.js → project-2czxbyyd.js} +16 -16
  30. package/dist/chunks/{websearch-cpneeje0.js → project-2mq1h16s.js} +9 -9
  31. package/dist/chunks/{websearch-vgtttytn.js → project-2r1f3161.js} +32 -32
  32. package/dist/chunks/{websearch-76mn7nz7.js → project-2x7jzfgr.js} +3 -3
  33. package/dist/chunks/{websearch-hctsff3t.js → project-2zcxjm8w.js} +20 -20
  34. package/dist/chunks/{websearch-t44e5ekz.js → project-3bxd3j1q.js} +8 -8
  35. package/dist/chunks/{websearch-vqgt8zz4.js → project-3de7jp1p.js} +19 -19
  36. package/dist/chunks/{websearch-3fc6dm20.js → project-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{websearch-vx0dr5zn.js → project-3fr8ss9f.js} +9 -9
  38. package/dist/chunks/{websearch-9e7ef2pv.js → project-3g9mhmkp.js} +3 -3
  39. package/dist/chunks/{websearch-e70tzpng.js → project-3gjyge2f.js} +14 -14
  40. package/dist/chunks/{websearch-3hepkmqq.js → project-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{websearch-5yk584dh.js → project-3ky9txt0.js} +17 -17
  42. package/dist/chunks/{websearch-3z6rdpyx.js → project-3rsgnsmd.js} +18 -18
  43. package/dist/chunks/{websearch-3smtnn6g.js → project-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{websearch-3tvqynh2.js → project-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{websearch-crm4c5mm.js → project-3wdv6d8m.js} +17 -17
  46. package/dist/chunks/{websearch-wb0b07qm.js → project-3xwvqmwq.js} +57 -57
  47. package/dist/chunks/{websearch-fttda2jb.js → project-3yh9ny3q.js} +315 -315
  48. package/dist/chunks/{websearch-hmh2p2rk.js → project-3z627z5z.js} +5 -5
  49. package/dist/chunks/{websearch-ka296v0h.js → project-40xgcexb.js} +4 -4
  50. package/dist/chunks/{websearch-r55vasa2.js → project-44h5tttr.js} +4 -4
  51. package/dist/chunks/{websearch-h4zch6c8.js → project-46459e7q.js} +17 -17
  52. package/dist/chunks/{websearch-qc9721hg.js → project-4n60pb9e.js} +3 -3
  53. package/dist/chunks/{websearch-7mktn81f.js → project-4s4ptdqs.js} +19 -19
  54. package/dist/chunks/{websearch-d35thynk.js → project-4y1rcddj.js} +22 -22
  55. package/dist/chunks/{websearch-q4k4a680.js → project-52setmep.js} +17 -17
  56. package/dist/chunks/{websearch-56gdpj1q.js → project-56gdpj1q.js} +2 -2
  57. package/dist/chunks/{websearch-2fgn2we9.js → project-57ez7d0k.js} +9 -9
  58. package/dist/chunks/{websearch-8d1tzb8k.js → project-5bsxggaw.js} +9 -9
  59. package/dist/chunks/{websearch-r2zasnmm.js → project-5c4s9rra.js} +19 -19
  60. package/dist/chunks/{websearch-5daktx2q.js → project-5daktx2q.js} +1 -1
  61. package/dist/chunks/{websearch-1e55dwss.js → project-5dgn1ybc.js} +9 -9
  62. package/dist/chunks/{websearch-gfhhve88.js → project-5e15319b.js} +5 -5
  63. package/dist/chunks/{websearch-qcdd2z34.js → project-5m7mkkpv.js} +37 -37
  64. package/dist/chunks/{websearch-wdt3dpm8.js → project-5qbx7kyj.js} +4 -4
  65. package/dist/chunks/{websearch-kbvbcx67.js → project-5r1a4zz1.js} +7 -7
  66. package/dist/chunks/{websearch-5t3nmthw.js → project-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{websearch-qw5b0z2s.js → project-5ykpya4c.js} +24 -24
  68. package/dist/chunks/{websearch-7dqw4kz8.js → project-607tc6va.js} +5 -5
  69. package/dist/chunks/{websearch-669tq793.js → project-669tq793.js} +1 -1
  70. package/dist/chunks/{websearch-ts6bfjdv.js → project-66qpnbfn.js} +25 -25
  71. package/dist/chunks/{websearch-fdzkgkhq.js → project-6d6xcght.js} +6 -6
  72. package/dist/chunks/{websearch-wtkbcd5h.js → project-6d7xp62b.js} +23 -23
  73. package/dist/chunks/{websearch-pjpxmjbe.js → project-6gnjnc72.js} +176 -176
  74. package/dist/chunks/{websearch-6h73sxmp.js → project-6h73sxmp.js} +1 -1
  75. package/dist/chunks/{websearch-6msgmcgs.js → project-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{websearch-q37mazwr.js → project-6v2gbdep.js} +12 -12
  77. package/dist/chunks/{websearch-w1k39n5e.js → project-6z4wb64c.js} +4 -4
  78. package/dist/chunks/{websearch-ktfnav02.js → project-6zza1smj.js} +18 -18
  79. package/dist/chunks/{websearch-av47cag2.js → project-768me8ma.js} +26 -26
  80. package/dist/chunks/{websearch-g6cwz1zt.js → project-77j4ksha.js} +8 -8
  81. package/dist/chunks/{websearch-rgz11k33.js → project-7a79fyt5.js} +3 -3
  82. package/dist/chunks/{websearch-7bmhse3q.js → project-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{websearch-jm1s0317.js → project-7n5vx9wf.js} +9 -9
  84. package/dist/chunks/{websearch-gzvdhpqf.js → project-7x6t9adc.js} +16 -16
  85. package/dist/chunks/{websearch-hqcagz5e.js → project-81nbps67.js} +40 -40
  86. package/dist/chunks/{websearch-tcezcvh9.js → project-89znhe33.js} +4 -4
  87. package/dist/chunks/{websearch-d0arqfyn.js → project-8apd0fk3.js} +2 -2
  88. package/dist/chunks/{websearch-zvsg1e1v.js → project-8d4mrw56.js} +24 -24
  89. package/dist/chunks/{websearch-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{websearch-5x2we1xr.js → project-8k32wqdf.js} +91 -91
  91. package/dist/chunks/{websearch-jn8kpn7b.js → project-8mdcper2.js} +5 -5
  92. package/dist/chunks/{websearch-be7qvw84.js → project-8n69n882.js} +8 -8
  93. package/dist/chunks/{websearch-8p4f9s12.js → project-8p4f9s12.js} +2 -2
  94. package/dist/chunks/{websearch-wqsm6gj1.js → project-8r6fg7ct.js} +18 -18
  95. package/dist/chunks/{websearch-as1qdmqf.js → project-8tbgdqxq.js} +4 -4
  96. package/dist/chunks/{websearch-2b3jdger.js → project-91ny65fk.js} +21 -21
  97. package/dist/chunks/{websearch-1q928zvg.js → project-97958gw3.js} +26 -26
  98. package/dist/chunks/{websearch-pfcdawbe.js → project-99mdmb67.js} +32 -32
  99. package/dist/chunks/{websearch-n543k6g6.js → project-9bvpbkhr.js} +32 -32
  100. package/dist/chunks/{websearch-4y303w9z.js → project-9fc3v4re.js} +4 -4
  101. package/dist/chunks/{websearch-wpdq3rfy.js → project-9ken6xqn.js} +8 -8
  102. package/dist/chunks/project-9zdhvgqs.js +18 -0
  103. package/dist/chunks/{websearch-9rb1rh6d.js → project-a0yh64rb.js} +13 -13
  104. package/dist/chunks/{websearch-a1bz86dw.js → project-a1bz86dw.js} +3 -3
  105. package/dist/chunks/{websearch-hhgw1fff.js → project-a96hn7s0.js} +12 -12
  106. package/dist/chunks/{websearch-aaet6srn.js → project-aaet6srn.js} +2 -2
  107. package/dist/chunks/{websearch-73se5kmm.js → project-af7bxwvw.js} +5 -5
  108. package/dist/chunks/{websearch-c488s98d.js → project-afed7ext.js} +12 -12
  109. package/dist/chunks/{websearch-njhqdk9p.js → project-b0dgvpy7.js} +9 -9
  110. package/dist/chunks/{websearch-ez5ddhv1.js → project-b4m32151.js} +7 -7
  111. package/dist/chunks/{websearch-3ktbe3hf.js → project-b4xa8xgk.js} +6 -6
  112. package/dist/chunks/{websearch-b6gygkdw.js → project-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{websearch-bca9tqr6.js → project-baxnm38s.js} +30 -30
  114. package/dist/chunks/{websearch-czfptnv9.js → project-br0tr5aq.js} +8 -8
  115. package/dist/chunks/{websearch-2z3nf22x.js → project-bsrjb1f7.js} +25 -25
  116. package/dist/chunks/{websearch-9ab1xc44.js → project-btkph3mh.js} +22 -22
  117. package/dist/chunks/{websearch-hfc3jj9e.js → project-c0xp0z8j.js} +23 -23
  118. package/dist/chunks/{websearch-tetfg30m.js → project-c2ee59z5.js} +3 -3
  119. package/dist/chunks/{websearch-n5vnxzpd.js → project-cd5e0ncw.js} +1 -1
  120. package/dist/chunks/{websearch-cfpkc3c9.js → project-cfpkc3c9.js} +2 -2
  121. package/dist/chunks/{websearch-f1nt7nbc.js → project-chezdbnw.js} +10 -10
  122. package/dist/chunks/{websearch-5jh6z6eq.js → project-chhs2fpd.js} +5 -5
  123. package/dist/chunks/{websearch-5kf12gqr.js → project-cj6z7q4m.js} +12 -12
  124. package/dist/chunks/{websearch-0f9afca0.js → project-cr07tj7n.js} +5 -5
  125. package/dist/chunks/{websearch-xdx7acry.js → project-csmvz898.js} +9 -9
  126. package/dist/chunks/{websearch-eygxgv93.js → project-cwxh38s6.js} +25 -25
  127. package/dist/chunks/{websearch-sxzvkvgj.js → project-d1mtykxg.js} +6 -6
  128. package/dist/chunks/{websearch-pszheg8c.js → project-d1ss3yp7.js} +21 -21
  129. package/dist/chunks/{websearch-f6gdtz49.js → project-d2amnt0t.js} +64 -64
  130. package/dist/chunks/{websearch-4bj8jc4a.js → project-d3skbh37.js} +43 -43
  131. package/dist/chunks/{websearch-9f4s3wpb.js → project-d4mvnt5t.js} +11 -11
  132. package/dist/chunks/{websearch-f3wtwz3s.js → project-d7fjbfjm.js} +4 -4
  133. package/dist/chunks/{websearch-5bvyjrve.js → project-d7w19mqk.js} +6 -6
  134. package/dist/chunks/{websearch-an7y129c.js → project-d8eda7kb.js} +14 -14
  135. package/dist/chunks/{websearch-06x8he3q.js → project-ddt2bs9e.js} +4 -4
  136. package/dist/chunks/{websearch-71qn4emx.js → project-dgt6kxbt.js} +13 -13
  137. package/dist/chunks/{websearch-tz2bjj40.js → project-dj9sq318.js} +5 -5
  138. package/dist/chunks/{websearch-drwq78ky.js → project-drwq78ky.js} +1 -1
  139. package/dist/chunks/{websearch-2q5q0tmx.js → project-ebpj8ebp.js} +8 -8
  140. package/dist/chunks/{websearch-nw2nz702.js → project-ec8389mk.js} +4 -4
  141. package/dist/chunks/{websearch-48jyerrr.js → project-ecbtfsmk.js} +47 -47
  142. package/dist/chunks/{websearch-9mmc9yke.js → project-edx0sx26.js} +9 -9
  143. package/dist/chunks/{websearch-sk1a5cf4.js → project-ee4p7x9e.js} +32 -32
  144. package/dist/chunks/{websearch-ef5x83kb.js → project-ef5x83kb.js} +1 -1
  145. package/dist/chunks/{websearch-7rrn560x.js → project-ep6z9mt6.js} +8 -8
  146. package/dist/chunks/{websearch-erw5rpbs.js → project-erw5rpbs.js} +2 -2
  147. package/dist/chunks/{websearch-etq0c3wd.js → project-etq0c3wd.js} +1 -1
  148. package/dist/chunks/{websearch-00xswavg.js → project-ez67mx11.js} +18 -18
  149. package/dist/chunks/{websearch-jh7fqer0.js → project-ezzzks3g.js} +15 -15
  150. package/dist/chunks/{websearch-0vkb7sfs.js → project-f09vbjwv.js} +21 -21
  151. package/dist/chunks/{websearch-yp2x3t23.js → project-f2n192rq.js} +4 -4
  152. package/dist/chunks/{websearch-5n3bq1vh.js → project-f4m13756.js} +18 -18
  153. package/dist/chunks/{websearch-abk6xdqq.js → project-f55ehv52.js} +33 -33
  154. package/dist/chunks/{websearch-86m00gc1.js → project-f7rj482f.js} +8 -8
  155. package/dist/chunks/{websearch-f828m53h.js → project-f828m53h.js} +2 -2
  156. package/dist/chunks/{websearch-g8hxvxgp.js → project-fa2frvsq.js} +16 -16
  157. package/dist/chunks/{websearch-88gzfjcr.js → project-fcbbx3j9.js} +9 -9
  158. package/dist/chunks/{websearch-xk747vep.js → project-fhs97t90.js} +8 -8
  159. package/dist/chunks/{websearch-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
  160. package/dist/chunks/{websearch-fhanc0wh.js → project-g4jds230.js} +17 -17
  161. package/dist/chunks/{websearch-the1sqg1.js → project-g6r4f441.js} +10 -10
  162. package/dist/chunks/{websearch-gd4qta3r.js → project-gd4qta3r.js} +1 -1
  163. package/dist/chunks/{websearch-yjptyezs.js → project-gg7pg1rj.js} +5 -5
  164. package/dist/chunks/{websearch-tx9w5tca.js → project-gs3s1a1g.js} +8 -8
  165. package/dist/chunks/{websearch-1fcrsx1q.js → project-gv66gg0x.js} +8 -8
  166. package/dist/chunks/{websearch-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
  167. package/dist/chunks/{websearch-q3t37ft6.js → project-gynv5cx7.js} +3 -3
  168. package/dist/chunks/{websearch-h6vf3j39.js → project-h6vf3j39.js} +1 -1
  169. package/dist/chunks/{websearch-6cd6tdvt.js → project-ha607pgt.js} +6 -6
  170. package/dist/chunks/{websearch-3mtavsv9.js → project-hq2v06xf.js} +20 -20
  171. package/dist/chunks/{websearch-hab9ftpb.js → project-j3vg15m0.js} +20 -20
  172. package/dist/chunks/{websearch-j56e64zr.js → project-j56e64zr.js} +1 -1
  173. package/dist/chunks/{websearch-w8fddx50.js → project-j8rw3axx.js} +20 -20
  174. package/dist/chunks/{websearch-z9m65khd.js → project-jf6e2x3g.js} +10 -10
  175. package/dist/chunks/{websearch-ae0d7heq.js → project-jg5wt5ha.js} +11 -11
  176. package/dist/chunks/{websearch-tdegrcw4.js → project-jksd3hgh.js} +11 -11
  177. package/dist/chunks/{websearch-9ekr0kmh.js → project-jkyq3z1t.js} +23 -23
  178. package/dist/chunks/{websearch-cxy4dz8b.js → project-jmxz90ff.js} +16 -16
  179. package/dist/chunks/{websearch-w50rv1zd.js → project-jrdxm6mh.js} +18 -18
  180. package/dist/chunks/{websearch-xbppx69g.js → project-jtyz3hnt.js} +20 -20
  181. package/dist/chunks/{websearch-nzks3jc8.js → project-k3c624dm.js} +3 -3
  182. package/dist/chunks/{websearch-sc7x90fq.js → project-k6p7079f.js} +18 -18
  183. package/dist/chunks/{websearch-0myc51tg.js → project-k7vzf8ty.js} +6 -6
  184. package/dist/chunks/{websearch-jca4demv.js → project-kbwf032e.js} +2 -2
  185. package/dist/chunks/{websearch-fkjmw100.js → project-knb7evpn.js} +6 -6
  186. package/dist/chunks/{websearch-9zyqj0zs.js → project-kpt1qdq7.js} +8 -8
  187. package/dist/chunks/{websearch-4jc5c4h4.js → project-kv4fs7t7.js} +1 -1
  188. package/dist/chunks/project-m2fv4tsm.js +26 -0
  189. package/dist/chunks/{websearch-m3fdjcah.js → project-m3fdjcah.js} +1 -1
  190. package/dist/chunks/{websearch-ff42r0jw.js → project-m4nmqper.js} +7 -7
  191. package/dist/chunks/{websearch-h07ve51f.js → project-m4s37zq8.js} +11 -11
  192. package/dist/chunks/{websearch-6rxxc61s.js → project-m73pcdkj.js} +46 -46
  193. package/dist/chunks/{websearch-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
  194. package/dist/chunks/{websearch-50mzsvk4.js → project-magykp64.js} +4 -4
  195. package/dist/chunks/project-mk5nqtvt.js +252 -0
  196. package/dist/chunks/{websearch-we2hmedy.js → project-mk6cxvfk.js} +20 -20
  197. package/dist/chunks/{websearch-bdac4x16.js → project-mnfhan20.js} +8 -8
  198. package/dist/chunks/{websearch-nr9gds8r.js → project-mp0wkdkb.js} +9 -9
  199. package/dist/chunks/{websearch-4y7h5wyc.js → project-msyq6m42.js} +37 -37
  200. package/dist/chunks/{websearch-1bbkgx8g.js → project-mvfsc1pv.js} +3 -3
  201. package/dist/chunks/{websearch-jnzph0x8.js → project-n42gasq5.js} +32 -32
  202. package/dist/chunks/{websearch-v5p7bnpq.js → project-n9k4a674.js} +11 -11
  203. package/dist/chunks/{websearch-y0n5ejan.js → project-ndp4vv3f.js} +17 -17
  204. package/dist/chunks/{websearch-knx0ym4j.js → project-ng9fnydx.js} +47 -47
  205. package/dist/chunks/{websearch-skns4hd0.js → project-nhpae0wq.js} +37 -37
  206. package/dist/chunks/{websearch-jh49d0p5.js → project-nwtacksf.js} +11 -11
  207. package/dist/chunks/{websearch-p28j5sbe.js → project-p28j5sbe.js} +2 -2
  208. package/dist/chunks/{websearch-wvf96x8j.js → project-p2wj83qv.js} +15 -15
  209. package/dist/chunks/{websearch-tsdvy27h.js → project-p53c638z.js} +12 -12
  210. package/dist/chunks/{websearch-735sqw2a.js → project-p9mnwjh7.js} +15 -15
  211. package/dist/chunks/{websearch-4nmdv69q.js → project-pavs221x.js} +4 -4
  212. package/dist/chunks/{websearch-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
  213. package/dist/chunks/{websearch-pknna89w.js → project-pknna89w.js} +1 -1
  214. package/dist/chunks/{websearch-0v53mg2y.js → project-pmr4s4kc.js} +4 -4
  215. package/dist/chunks/{websearch-1tff8vws.js → project-pqeyfrg6.js} +26 -26
  216. package/dist/chunks/{websearch-hnb9z633.js → project-pts6vf4w.js} +38 -38
  217. package/dist/chunks/{websearch-5ejxza15.js → project-q0bq2k1c.js} +15 -15
  218. package/dist/chunks/{websearch-8ccqn1tb.js → project-q15fhm92.js} +3 -3
  219. package/dist/chunks/{websearch-n0gn1egs.js → project-qgcp42sq.js} +42 -42
  220. package/dist/chunks/{websearch-g20qm8m1.js → project-qj90dp8f.js} +86 -86
  221. package/dist/chunks/{websearch-qsdy395h.js → project-qsdy395h.js} +1 -1
  222. package/dist/chunks/{websearch-ytmyj0ne.js → project-qtcnb6n0.js} +39 -39
  223. package/dist/chunks/{websearch-98dtds3s.js → project-qzxpbk08.js} +10 -10
  224. package/dist/chunks/{websearch-4zr8x2t8.js → project-r2147qr5.js} +15 -15
  225. package/dist/chunks/{websearch-ccevvyyt.js → project-r6dyg3h3.js} +33 -33
  226. package/dist/chunks/{websearch-fad762hb.js → project-r6q7g1m5.js} +13 -13
  227. package/dist/chunks/{websearch-fv7131x4.js → project-ra7k8cxz.js} +26 -26
  228. package/dist/chunks/{websearch-hd6gpfkh.js → project-rbtwj3fv.js} +8 -8
  229. package/dist/chunks/{websearch-rdw6cm16.js → project-rdw6cm16.js} +1 -1
  230. package/dist/chunks/{websearch-49k556c2.js → project-rf6x4mzb.js} +23 -23
  231. package/dist/chunks/{websearch-dedaf8et.js → project-rsm7z9rp.js} +6 -6
  232. package/dist/chunks/{websearch-mv5wq35z.js → project-rvgstrhz.js} +15 -15
  233. package/dist/chunks/{websearch-r4wxb7b4.js → project-ryycqeg8.js} +1 -1
  234. package/dist/chunks/{websearch-q67e3wd4.js → project-rz9rje65.js} +15 -15
  235. package/dist/chunks/{websearch-87mpjqjj.js → project-s2b3f138.js} +9 -9
  236. package/dist/chunks/{websearch-mhf6zz70.js → project-s5dm7ens.js} +24 -24
  237. package/dist/chunks/{websearch-th7yv2hc.js → project-sdkmmp6p.js} +30 -30
  238. package/dist/chunks/{websearch-h3pn44jz.js → project-seetsk1y.js} +17 -17
  239. package/dist/chunks/{websearch-qxsvw6e1.js → project-ss3aymxd.js} +3 -3
  240. package/dist/chunks/{websearch-tazgh4e4.js → project-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{websearch-pdqn4r85.js → project-tb8aj0jp.js} +16 -16
  242. package/dist/chunks/{websearch-bacyadyn.js → project-tbmac1c7.js} +4 -4
  243. package/dist/chunks/{websearch-bsrbk77s.js → project-tc2dawkr.js} +11 -11
  244. package/dist/chunks/{websearch-tdstcens.js → project-tdstcens.js} +1 -1
  245. package/dist/chunks/{websearch-50p10wft.js → project-tj88ws5h.js} +4 -4
  246. package/dist/chunks/{websearch-da3hktzh.js → project-tjr458hf.js} +10 -10
  247. package/dist/chunks/{websearch-30rhdbb2.js → project-tkndnfam.js} +4 -4
  248. package/dist/chunks/{websearch-e2zd1xyk.js → project-tkrzs310.js} +6 -6
  249. package/dist/chunks/{websearch-kkjgq5f8.js → project-tsxqf4cv.js} +24 -24
  250. package/dist/chunks/{websearch-tvtrv512.js → project-tvtrv512.js} +1 -1
  251. package/dist/chunks/{websearch-fdd88hxh.js → project-twthfsw8.js} +46 -46
  252. package/dist/chunks/{websearch-5r5wybxq.js → project-tzsjrs71.js} +17 -17
  253. package/dist/chunks/{websearch-3rc4ajm5.js → project-vaahshze.js} +10 -10
  254. package/dist/chunks/{websearch-veqvce7d.js → project-veqvce7d.js} +1 -1
  255. package/dist/chunks/{websearch-hfdr1yjj.js → project-vkxpz7g2.js} +4 -4
  256. package/dist/chunks/{websearch-rvcq6qmc.js → project-vm3z8dtg.js} +5 -5
  257. package/dist/chunks/{websearch-y833y2r9.js → project-vsyfpyr9.js} +22 -22
  258. package/dist/chunks/{websearch-vzcthcp8.js → project-vzcthcp8.js} +1 -1
  259. package/dist/chunks/{websearch-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{websearch-y8j5745q.js → project-w4zfp3g6.js} +8 -8
  261. package/dist/chunks/{websearch-8mpjdwjw.js → project-w6y0yszf.js} +5 -5
  262. package/dist/chunks/{websearch-032qefvw.js → project-w7gj1e9s.js} +36 -36
  263. package/dist/chunks/{websearch-3e147rt9.js → project-waa9wdep.js} +9 -9
  264. package/dist/chunks/{websearch-wd87259q.js → project-wd87259q.js} +1 -1
  265. package/dist/chunks/{websearch-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{websearch-jvczj6hx.js → project-x8rnm5yb.js} +22 -22
  267. package/dist/chunks/{websearch-t8k4ne6v.js → project-x99mmdzx.js} +10 -10
  268. package/dist/chunks/{websearch-0ryd0fps.js → project-xjtsx636.js} +5 -5
  269. package/dist/chunks/{websearch-k14tgxxh.js → project-xrf7y2d9.js} +27 -27
  270. package/dist/chunks/{websearch-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{websearch-x6z9h23p.js → project-y4wxjvpb.js} +11 -11
  272. package/dist/chunks/{websearch-f49entp7.js → project-y6g64962.js} +20 -20
  273. package/dist/chunks/{websearch-y71avatq.js → project-y71avatq.js} +1 -1
  274. package/dist/chunks/{websearch-5a1rwmgm.js → project-yee4g248.js} +5 -5
  275. package/dist/chunks/{websearch-kxrf7mbh.js → project-ykjmw520.js} +13 -13
  276. package/dist/chunks/{websearch-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{websearch-yrznvahk.js → project-yrznvahk.js} +2 -2
  278. package/dist/chunks/{websearch-k42k49bv.js → project-z04y6wbq.js} +28 -28
  279. package/dist/chunks/{websearch-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{websearch-hv6ctn0a.js → project-z47gpksh.js} +27 -27
  281. package/dist/chunks/{websearch-z63w68vq.js → project-z63w68vq.js} +2 -2
  282. package/dist/chunks/{websearch-7nz7kw2w.js → project-zafvkgz2.js} +18 -18
  283. package/dist/chunks/{websearch-v7amcc4y.js → project-zc0wbjka.js} +22 -22
  284. package/dist/chunks/{websearch-zeh9ct20.js → project-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{websearch-8rm0fp0x.js → project-zgqx0wd1.js} +3 -3
  286. package/dist/chunks/{websearch-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{websearch-rhzcy7x5.js → project-zvg9jnf3.js} +33 -33
  288. package/dist/chunks/{websearch-zxq2ej10.js → project-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{websearch-wj1zch8v.js → project-zymmqkhq.js} +9 -9
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +82 -82
  295. package/dist/config/discovery.js +83 -83
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +122 -122
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +124 -124
  307. package/dist/config/plugin/mcp.js +129 -129
  308. package/dist/config/plugin/policy.js +123 -123
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +141 -141
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +82 -82
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +369 -369
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +226 -226
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +107 -107
  429. package/dist/form.js +83 -83
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +88 -88
  432. package/dist/generate.js +102 -102
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +98 -98
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +360 -360
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +131 -131
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +357 -357
  471. package/dist/location.js +86 -86
  472. package/dist/managed-policy.js +5 -5
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +103 -103
  475. package/dist/mcp/instructions.js +127 -127
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +98 -98
  480. package/dist/model-resolver.js +95 -95
  481. package/dist/model.js +99 -99
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +79 -79
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +114 -114
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +85 -85
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +101 -101
  493. package/dist/plugin/command.js +98 -98
  494. package/dist/plugin/compaction.js +130 -130
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +331 -331
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +121 -121
  526. package/dist/plugin/provider/openai.js +93 -93
  527. package/dist/plugin/provider/opencode.js +93 -93
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +121 -121
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +159 -159
  541. package/dist/plugin/sdk.js +75 -75
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +138 -138
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +350 -350
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +2 -2
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +224 -224
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +87 -87
  562. package/dist/provider.js +100 -100
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +93 -93
  567. package/dist/reference/instructions.js +88 -88
  568. package/dist/reference.js +90 -90
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +96 -96
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +129 -129
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +220 -220
  583. package/dist/session/execution.js +127 -127
  584. package/dist/session/generate.js +152 -152
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +85 -85
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +78 -78
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +96 -96
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +230 -230
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +111 -111
  607. package/dist/session/runner/step.js +125 -125
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +86 -86
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +155 -155
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +216 -216
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +217 -217
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +11 -11
  628. package/dist/shell.js +139 -139
  629. package/dist/skill/discovery.js +4 -4
  630. package/dist/skill/instructions.js +106 -106
  631. package/dist/skill.js +107 -107
  632. package/dist/snapshot.js +92 -92
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +124 -124
  637. package/dist/tool/plugin/edit.js +119 -119
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +123 -123
  640. package/dist/tool/plugin/grep.js +123 -123
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +121 -121
  643. package/dist/tool/plugin/question.js +100 -100
  644. package/dist/tool/plugin/read.js +122 -122
  645. package/dist/tool/plugin/shell.js +214 -214
  646. package/dist/tool/plugin/skill.js +110 -110
  647. package/dist/tool/plugin/subagent.js +218 -218
  648. package/dist/tool/plugin/webfetch.js +107 -107
  649. package/dist/tool/plugin/websearch.js +111 -111
  650. package/dist/tool/plugin/write.js +121 -121
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +14 -14
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/config.js +14 -14
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/formatter.js +7 -7
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +3 -3
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +3 -3
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +92 -92
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +81 -81
  685. package/dist/wellknown/plugin.js +75 -75
  686. package/dist/wellknown.js +80 -80
  687. package/dist/workspace/driver.js +5 -5
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +77 -77
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +88 -88
  694. package/dist/worktree.js +95 -95
  695. package/package.json +8 -8
  696. package/dist/chunks/websearch-43k3f06n.js +0 -252
  697. package/dist/chunks/websearch-4xfwbnzw.js +0 -26
  698. package/dist/chunks/websearch-by5v678g.js +0 -18
  699. /package/dist/chunks/{websearch-0mesazry.js → project-0mesazry.js} +0 -0
  700. /package/dist/chunks/{websearch-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{websearch-0zkw76rk.js → project-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{websearch-17cy0kzp.js → project-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{websearch-1cnp2v09.js → project-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{websearch-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{websearch-24dcb14g.js → project-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{websearch-2710q6r3.js → project-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{websearch-2axfhc9x.js → project-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{websearch-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{websearch-359p4xyc.js → project-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{websearch-3asan66x.js → project-3asan66x.js} +0 -0
  711. /package/dist/chunks/{websearch-3v8g72cx.js → project-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{websearch-3w5fmr99.js → project-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{websearch-3wcehsnq.js → project-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{websearch-43n2bw4t.js → project-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{websearch-4knz6hnm.js → project-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{websearch-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{websearch-4y7fprxs.js → project-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{websearch-53557ph1.js → project-53557ph1.js} +0 -0
  719. /package/dist/chunks/{websearch-550bvhaj.js → project-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{websearch-5qd3pb7m.js → project-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{websearch-6prwharc.js → project-6prwharc.js} +0 -0
  722. /package/dist/chunks/{websearch-7akdwqpd.js → project-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{websearch-7m9af43g.js → project-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{websearch-822emrt2.js → project-822emrt2.js} +0 -0
  725. /package/dist/chunks/{websearch-88xbtdfr.js → project-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{websearch-8n3pysct.js → project-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{websearch-922hggd3.js → project-922hggd3.js} +0 -0
  728. /package/dist/chunks/{websearch-9a4afbnw.js → project-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{websearch-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{websearch-a6k6eb26.js → project-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{websearch-af5trqkr.js → project-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{websearch-afrmfg78.js → project-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{websearch-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{websearch-atq7p7m5.js → project-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{websearch-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{websearch-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{websearch-cf4snx6d.js → project-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{websearch-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{websearch-d9fn303g.js → project-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{websearch-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{websearch-dajrwvna.js → project-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{websearch-dap0rakb.js → project-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{websearch-df08tz66.js → project-df08tz66.js} +0 -0
  744. /package/dist/chunks/{websearch-dy18nga0.js → project-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{websearch-e5kj55wp.js → project-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{websearch-e73j6tqm.js → project-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{websearch-ec1grn59.js → project-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{websearch-eh3zwz77.js → project-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{websearch-emrn6kk6.js → project-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{websearch-f0mxakyp.js → project-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{websearch-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{websearch-faypxj3z.js → project-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{websearch-fd410y7t.js → project-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{websearch-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{websearch-g4wezp1m.js → project-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{websearch-g86h250q.js → project-g86h250q.js} +0 -0
  757. /package/dist/chunks/{websearch-gebd4c9n.js → project-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{websearch-gftt206x.js → project-gftt206x.js} +0 -0
  759. /package/dist/chunks/{websearch-hjbc5kem.js → project-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{websearch-hk9envan.js → project-hk9envan.js} +0 -0
  761. /package/dist/chunks/{websearch-j2ntwpah.js → project-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{websearch-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{websearch-jjkms2e6.js → project-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{websearch-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{websearch-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{websearch-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{websearch-mp448xyj.js → project-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{websearch-msx8hqn2.js → project-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{websearch-n05xt0ee.js → project-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{websearch-n3j8tn72.js → project-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{websearch-njntx4h6.js → project-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{websearch-q3sfg36h.js → project-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{websearch-q74kybfr.js → project-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{websearch-qaymkmh1.js → project-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{websearch-qb87gjwd.js → project-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{websearch-qfa1cgps.js → project-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{websearch-qg3g05ea.js → project-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{websearch-qrg20bc0.js → project-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{websearch-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{websearch-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{websearch-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{websearch-ssg3fenm.js → project-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{websearch-twg0f83k.js → project-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{websearch-w803qqfp.js → project-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{websearch-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{websearch-wer8tq1h.js → project-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{websearch-wtztk69x.js → project-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{websearch-x0ckcb58.js → project-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{websearch-x61499pn.js → project-x61499pn.js} +0 -0
  790. /package/dist/chunks/{websearch-y44na4kk.js → project-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{websearch-y8cydn3q.js → project-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{websearch-y8f7s663.js → project-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{websearch-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{websearch-ym463w8f.js → project-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{websearch-z9919s4g.js → project-z9919s4g.js} +0 -0
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./websearch-76mn7nz7.js";
4
+ } from "./project-2x7jzfgr.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./websearch-ka296v0h.js";
8
+ } from "./project-40xgcexb.js";
9
9
  import {
10
- Service43,
11
- node45
12
- } from "./websearch-crm4c5mm.js";
10
+ Service40,
11
+ node42
12
+ } from "./project-3wdv6d8m.js";
13
13
  import {
14
- Service42,
15
- node44
16
- } from "./websearch-sxzvkvgj.js";
14
+ Service39,
15
+ node41
16
+ } from "./project-d1mtykxg.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./websearch-ec1grn59.js";
19
+ } from "./project-ec1grn59.js";
20
20
  import {
21
- make16
22
- } from "./websearch-yp2x3t23.js";
21
+ make15
22
+ } from "./project-f2n192rq.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service39
26
- } from "./websearch-06x8he3q.js";
25
+ Service36
26
+ } from "./project-ddt2bs9e.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./websearch-3ktbe3hf.js";
29
+ } from "./project-b4xa8xgk.js";
30
30
  import {
31
- Service76,
32
- node80
33
- } from "./websearch-e70tzpng.js";
31
+ Service50,
32
+ node52
33
+ } from "./project-3gjyge2f.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./websearch-30rhdbb2.js";
36
+ } from "./project-tkndnfam.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./websearch-fhanc0wh.js";
39
+ } from "./project-g4jds230.js";
40
40
  import {
41
41
  __export
42
- } from "./websearch-9rqn6x4v.js";
42
+ } from "./project-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service38,
47
+ Service: () => Service35,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer18,
50
- node: () => node41,
51
- noopLayer: () => noopLayer2,
49
+ layer: () => layer14,
50
+ node: () => node38,
51
+ noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service38 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service35 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer18 = Layer.effect(Service38, Effect.gen(function* () {
69
- const store = yield* Service76;
70
- const instances = yield* Service42;
68
+ var layer14 = Layer.effect(Service35, Effect.gen(function* () {
69
+ const store = yield* Service50;
70
+ const instances = yield* Service39;
71
71
  const bus = yield* Service83;
72
- const jobs = yield* Service43;
72
+ const jobs = yield* Service40;
73
73
  const db = (yield* Service84).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,14 +82,14 @@ var layer18 = Layer.effect(Service38, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service39.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service36.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
89
89
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
90
90
  });
91
91
  });
92
- const coordinator = yield* make16({
92
+ const coordinator = yield* make15({
93
93
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
94
94
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
95
95
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -110,7 +110,7 @@ var layer18 = Layer.effect(Service38, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service38.of({
113
+ return Service35.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -129,12 +129,12 @@ var layer18 = Layer.effect(Service38, Effect.gen(function* () {
129
129
  awaitIdle: coordinator.awaitIdle
130
130
  });
131
131
  }));
132
- var node41 = makeGlobalNode({
133
- service: Service38,
134
- layer: layer18,
135
- deps: [node80, node44, node87, node88, node45]
132
+ var node38 = makeGlobalNode({
133
+ service: Service35,
134
+ layer: layer14,
135
+ deps: [node52, node41, node87, node88, node42]
136
136
  });
137
- var noopLayer2 = Layer.succeed(Service38, Service38.of({
137
+ var noopLayer3 = Layer.succeed(Service35, Service35.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer2 = Layer.succeed(Service38, Service38.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service38, terminal2, layer18, node41, noopLayer2, exports_execution };
146
+ export { Service35, terminal2, layer14, node38, noopLayer3, exports_execution };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./websearch-w8w7yt3v.js";
2
+ Service81,
3
+ node85
4
+ } from "./project-0jr93kkc.js";
5
5
  import {
6
6
  __export
7
- } from "./websearch-9rqn6x4v.js";
7
+ } from "./project-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info31,
12
+ Info: () => Info32,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref4,
15
- Service: () => Service79,
15
+ Service: () => Service80,
16
16
  boundNode: () => boundNode2,
17
- node: () => node83,
17
+ node: () => node84,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info32, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service79 extends Context.Service()("@opencode/Location") {
24
+ class Service80 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node83 = LayerNode.unbound(Service79, tags.values.location);
27
- var layer = (ref, options) => Layer.effect(Service79, Effect.gen(function* () {
28
- const project = yield* Service80;
26
+ var node84 = LayerNode.unbound(Service80, tags.values.location);
27
+ var layer = (ref, options) => Layer.effect(Service80, Effect.gen(function* () {
28
+ const project = yield* Service81;
29
29
  const resolved = yield* project.resolve(ref.directory, options);
30
- return Service79.of({
30
+ return Service80.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service79, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref, options) => makeLocationNode({
38
- service: Service79,
38
+ service: Service80,
39
39
  layer: layer(ref, options),
40
- deps: [node84]
40
+ deps: [node85]
41
41
  });
42
42
 
43
- export { Info31, Ref4, response2, Service79, node83, boundNode2, exports_location };
43
+ export { Info32, Ref4, response2, Service80, node84, boundNode2, exports_location };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./websearch-rdw6cm16.js";
3
+ } from "./project-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./websearch-9rqn6x4v.js";
6
+ } from "./project-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service8,
13
- node: () => node9
12
+ Service: () => Service5,
13
+ node: () => node7
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service8 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service5 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service8, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service8.of({
44
+ return Service5.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node9 = makeLocationNode({ service: Service8, layer, deps: [] });
51
+ var node7 = makeLocationNode({ service: Service5, layer, deps: [] });
52
52
 
53
- export { Service8, node9, exports_location_watcher_policy };
53
+ export { Service5, node7, exports_location_watcher_policy };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./websearch-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
- Service79,
6
- node83
7
- } from "./websearch-2emx2brn.js";
5
+ Service80,
6
+ node84
7
+ } from "./project-2czxbyyd.js";
8
8
  import {
9
- Service17,
10
- node19
11
- } from "./websearch-00xswavg.js";
9
+ Service73,
10
+ node76
11
+ } from "./project-ez67mx11.js";
12
12
  import {
13
13
  isHome2,
14
- names3
15
- } from "./websearch-tcezcvh9.js";
14
+ names4
15
+ } from "./project-89znhe33.js";
16
16
  import {
17
17
  __export
18
- } from "./websearch-9rqn6x4v.js";
18
+ } from "./project-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options2,
25
- Service: () => Service15,
26
- configured: () => configured2,
24
+ Options: () => Options10,
25
+ Service: () => Service72,
26
+ configured: () => configured10,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer8,
29
- node: () => node17,
28
+ layer: () => layer25,
29
+ node: () => node75,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options2 = Schema.Struct({
38
+ var Options10 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service15 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service72 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
62
- const location = yield* Service79;
63
- const ripgrep = yield* Service17;
61
+ var ripgrepLayer2 = Layer.effect(Service72, Effect.gen(function* () {
62
+ const location = yield* Service80;
63
+ const ripgrep = yield* Service73;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
77
77
  cwd: location.directory,
78
78
  pattern: "*",
79
79
  limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
80
- exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
80
+ exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
81
81
  onEntry: (entry) => Effect.sync(() => {
82
82
  next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
83
83
  const parts = entry.path.split("/");
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service15.of({
108
+ return Service72.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
116
- const location = yield* Service79;
115
+ var fffLayer2 = Layer.effect(Service72, Effect.gen(function* () {
116
+ const location = yield* Service80;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service15.of({
129
+ return Service72.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service15.of({
134
+ return Service72.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service79;
177
+ var layer25 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service80;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured2(options) {
186
- return makeLocationNode({ service: Service15, layer: layer8(options), deps: [node83, node19] });
185
+ function configured10(options) {
186
+ return makeLocationNode({ service: Service72, layer: layer25(options), deps: [node84, node76] });
187
187
  }
188
- var node17 = configured2();
188
+ var node75 = configured10();
189
189
 
190
- export { Options2, Service15, ripgrepLayer2, fffLayer2, layer8, configured2, node17, exports_search };
190
+ export { Options10, Service72, ripgrepLayer2, fffLayer2, layer25, configured10, node75, exports_search };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./websearch-rgz11k33.js";
3
+ } from "./project-7a79fyt5.js";
4
4
  import {
5
5
  apply3
6
- } from "./websearch-tetfg30m.js";
6
+ } from "./project-c2ee59z5.js";
7
7
  import {
8
8
  __export
9
- } from "./websearch-9rqn6x4v.js";
9
+ } from "./project-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./websearch-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
- Service81,
6
- node85
7
- } from "./websearch-c488s98d.js";
5
+ Service82,
6
+ node86
7
+ } from "./project-afed7ext.js";
8
8
  import {
9
9
  parse5,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./websearch-6h73sxmp.js";
13
+ } from "./project-6h73sxmp.js";
14
14
  import {
15
- Service71,
16
- node75
17
- } from "./websearch-da3hktzh.js";
15
+ Service60,
16
+ node63
17
+ } from "./project-tjr458hf.js";
18
18
  import {
19
19
  __export
20
- } from "./websearch-9rqn6x4v.js";
20
+ } from "./project-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service67,
33
+ Service: () => Service59,
34
34
  isError: () => isError2,
35
- node: () => node71,
35
+ node: () => node62,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service67 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service59 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service67, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service81;
106
+ const git = yield* Service82;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service71;
110
- return Service67.of({
109
+ const kv = yield* Service60;
110
+ return Service59.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node71 = makeGlobalNode({
171
- service: Service67,
170
+ var node62 = makeGlobalNode({
171
+ service: Service59,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node75]
173
+ deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node63]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service67, isError2, validateBranch2, node71, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service59, isError2, validateBranch2, node62, exports_repository_cache };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service81
3
- } from "./websearch-c488s98d.js";
2
+ Service82
3
+ } from "./project-afed7ext.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
7
- } from "./websearch-gv6a8nnw.js";
7
+ } from "./project-gv6a8nnw.js";
8
8
  import {
9
9
  __export
10
- } from "./websearch-9rqn6x4v.js";
10
+ } from "./project-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
14
14
  __export(exports_git2, {
15
15
  WorktreeGit: () => exports_git2,
16
- make: () => make12
16
+ make: () => make21
17
17
  });
18
18
  import { Effect } from "effect";
19
19
  import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
- var make12 = Effect.gen(function* () {
21
+ var make21 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service81;
23
+ const git = yield* Service82;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -46,4 +46,4 @@ var make12 = Effect.gen(function* () {
46
46
  };
47
47
  });
48
48
 
49
- export { make12, exports_git2 };
49
+ export { make21, exports_git2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service83
3
- } from "./websearch-ka296v0h.js";
3
+ } from "./project-40xgcexb.js";
4
4
  import {
5
5
  OAuth3,
6
- Event21
7
- } from "./websearch-jwp645je.js";
6
+ Event15
7
+ } from "./project-2c50a4hz.js";
8
8
  import {
9
- ID7,
9
+ ID12,
10
10
  MethodID2
11
- } from "./websearch-ts6bfjdv.js";
11
+ } from "./project-66qpnbfn.js";
12
12
  import {
13
13
  key2
14
- } from "./websearch-r55vasa2.js";
14
+ } from "./project-44h5tttr.js";
15
15
  import {
16
- Service63
17
- } from "./websearch-86m00gc1.js";
16
+ Service70
17
+ } from "./project-f7rj482f.js";
18
18
  import {
19
- ID6,
19
+ ID11,
20
20
  mergeOverlay2,
21
21
  mergeHeaders2
22
- } from "./websearch-n543k6g6.js";
22
+ } from "./project-9bvpbkhr.js";
23
23
  import {
24
- ID11,
24
+ ID5,
25
25
  Input14,
26
26
  Response2
27
- } from "./websearch-wtkbcd5h.js";
27
+ } from "./project-6d7xp62b.js";
28
28
 
29
29
  // src/plugin/provider/opencode.ts
30
30
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -39,7 +39,7 @@ var methodID = MethodID2.make("device");
39
39
  var RemoteResponse = Schema.Struct({
40
40
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
41
41
  websearch: Schema.Struct({
42
- providerID: ID11
42
+ providerID: ID5
43
43
  }).pipe(Schema.optional),
44
44
  experimental: Schema.Struct({
45
45
  policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
@@ -64,7 +64,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
64
64
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
65
65
  function oauth(http) {
66
66
  return {
67
- integrationID: ID7.make("opencode"),
67
+ integrationID: ID12.make("opencode"),
68
68
  method: {
69
69
  id: methodID,
70
70
  type: "oauth",
@@ -120,7 +120,7 @@ var OpencodePlugin2 = define({
120
120
  effect: Effect.fn(function* (ctx) {
121
121
  const bus = yield* Service83;
122
122
  const http = yield* HttpClient.HttpClient;
123
- const managed = yield* Service63;
123
+ const managed = yield* Service70;
124
124
  const loading = Semaphore.makeUnsafe(1);
125
125
  let snapshot = { config: undefined, connection: undefined, organization: undefined };
126
126
  const load = Effect.fn("OpencodePlugin.load")(function* () {
@@ -153,7 +153,7 @@ var OpencodePlugin2 = define({
153
153
  providers.update(providerID, (provider) => {
154
154
  if (source && source.provider !== provider)
155
155
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
156
- provider.integrationID = ID7.make("opencode");
156
+ provider.integrationID = ID12.make("opencode");
157
157
  if (item.canonical !== undefined)
158
158
  provider.canonical = item.canonical;
159
159
  if (item.name !== undefined)
@@ -223,7 +223,7 @@ var OpencodePlugin2 = define({
223
223
  sourceConnection: snapshot.connection
224
224
  });
225
225
  }
226
- const item = providers.get(ID6.opencode);
226
+ const item = providers.get(ID11.opencode);
227
227
  if (!item)
228
228
  return;
229
229
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -235,7 +235,7 @@ var OpencodePlugin2 = define({
235
235
  });
236
236
  });
237
237
  yield* ctx.model.transform((models) => {
238
- const item = models.provider.get(ID6.opencode);
238
+ const item = models.provider.get(ID11.opencode);
239
239
  if (!item)
240
240
  return;
241
241
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -291,7 +291,7 @@ var OpencodePlugin2 = define({
291
291
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
292
292
  });
293
293
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
294
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
294
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
295
295
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
296
296
  })
297
297
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};