@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,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./websearch-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
- Service79
6
- } from "./websearch-2emx2brn.js";
5
+ Service80
6
+ } from "./project-2czxbyyd.js";
7
7
  import {
8
- Service47
9
- } from "./websearch-fdd88hxh.js";
8
+ Service45
9
+ } from "./project-twthfsw8.js";
10
10
  import {
11
- Service22
12
- } from "./websearch-0vkb7sfs.js";
11
+ Service77
12
+ } from "./project-f09vbjwv.js";
13
13
  import {
14
14
  observe2
15
- } from "./websearch-qsdy395h.js";
15
+ } from "./project-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./websearch-9rqn6x4v.js";
18
+ } from "./project-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin4
24
+ Plugin: () => Plugin13
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin4 = define({
30
+ var Plugin13 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service47;
34
- const location = yield* Service79;
33
+ const config = yield* Service45;
34
+ const location = yield* Service80;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service22;
36
+ const worktrees = yield* Service77;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin4 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin4, exports_worktree };
51
+ export { Plugin13, exports_worktree };
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./websearch-922hggd3.js";
4
+ } from "./project-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service81,
9
- node85
10
- } from "./websearch-c488s98d.js";
8
+ Service82,
9
+ node86
10
+ } from "./project-afed7ext.js";
11
11
  import {
12
- Service79,
13
- node83
14
- } from "./websearch-2emx2brn.js";
12
+ Service80,
13
+ node84
14
+ } from "./project-2czxbyyd.js";
15
15
  import {
16
16
  create3
17
- } from "./websearch-rdw6cm16.js";
17
+ } from "./project-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./websearch-9rqn6x4v.js";
20
+ } from "./project-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error5,
26
- ID: () => ID10,
27
- Service: () => Service69,
25
+ Error: () => Error2,
26
+ ID: () => ID4,
27
+ Service: () => Service31,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node73,
30
- noopLayer: () => noopLayer3
29
+ node: () => node34,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID10 } from "@opencode/schema/snapshot";
37
+ import { ID as ID4 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error5 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service69 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service31 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service69, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service81;
50
+ const git = yield* Service82;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service79;
52
+ const location = yield* Service80;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID10.make(yield* git.tree.capture({
85
+ return ID4.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service69.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service31.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node73 = makeLocationNode({
144
- service: Service69,
143
+ var node34 = makeLocationNode({
144
+ service: Service31,
145
145
  layer,
146
- deps: [FSUtil.node, node85, Global.node, node83]
146
+ deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service69, Service69.of({
148
+ var noopLayer2 = Layer.succeed(Service31, Service31.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service69, Service69.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error5 && cause.operation === operation)
157
+ if (cause instanceof Error2 && cause.operation === operation)
158
158
  return cause;
159
- return new Error5({
159
+ return new Error2({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID10, Error5, Service69, node73, noopLayer3, exports_snapshot2 };
166
+ export { ID4, Error2, Service31, node34, noopLayer2, exports_snapshot2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service72,
3
- node76,
2
+ Service79,
3
+ node83,
4
4
  canonical3
5
- } from "./websearch-9mmc9yke.js";
5
+ } from "./project-edx0sx26.js";
6
6
  import {
7
- Service42,
8
- node44
9
- } from "./websearch-sxzvkvgj.js";
7
+ Service39,
8
+ node41
9
+ } from "./project-d1mtykxg.js";
10
10
  import {
11
- Service61
12
- } from "./websearch-hv6ctn0a.js";
11
+ Service14
12
+ } from "./project-z47gpksh.js";
13
13
  import {
14
14
  layer2
15
- } from "./websearch-43k3f06n.js";
15
+ } from "./project-mk5nqtvt.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service72, Effect.gen(function* () {
20
+ return Layer.effect(Service79, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service61);
30
+ const lifecycle = Context.get(exit.value, Service14);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node44.replace(Layer.succeed(Service42, {
57
+ node41.replace(Layer.succeed(Service39, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node76.replace(Layer.succeed(Service72, map))
61
+ node83.replace(Layer.succeed(Service79, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./websearch-ka296v0h.js";
4
+ } from "./project-40xgcexb.js";
5
5
  import {
6
- Service79,
7
- node83
8
- } from "./websearch-2emx2brn.js";
6
+ Service80,
7
+ node84
8
+ } from "./project-2czxbyyd.js";
9
9
  import {
10
10
  ID2
11
- } from "./websearch-0mesazry.js";
11
+ } from "./project-0mesazry.js";
12
12
  import {
13
- Service49,
13
+ Service54,
14
14
  login2,
15
- node51
16
- } from "./websearch-jh7fqer0.js";
15
+ node56
16
+ } from "./project-ezzzks3g.js";
17
17
  import {
18
18
  lazy2
19
- } from "./websearch-88xbtdfr.js";
19
+ } from "./project-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./websearch-9rqn6x4v.js";
22
+ } from "./project-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
27
  CreateInput: () => CreateInput2,
28
- Event: () => Event3,
28
+ Event: () => Event2,
29
29
  ExitedError: () => ExitedError2,
30
30
  Info: () => Info2,
31
- NotFoundError: () => NotFoundError3,
31
+ NotFoundError: () => NotFoundError2,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service16,
33
+ Service: () => Service17,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node18
35
+ node: () => node19
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode/schema/pty";
40
- import { Event as Event3 } from "@opencode/schema/pty";
40
+ import { Event as Event2 } from "@opencode/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
@@ -45,7 +45,7 @@ var Info2 = Pty.Info;
45
45
  var CreateInput2 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
49
49
  ptyID: ID2
50
50
  }) {
51
51
  }
@@ -55,12 +55,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
55
55
  }) {
56
56
  }
57
57
 
58
- class Service16 extends Context.Service()("@opencode/Pty") {
58
+ class Service17 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service16, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
61
61
  const bus = yield* Service83;
62
- const location = yield* Service79;
63
- const shell = yield* Service49;
62
+ const location = yield* Service80;
63
+ const shell = yield* Service54;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError3({ ptyID: id });
100
+ return yield* new NotFoundError2({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service16.of({ list, get, create, update, remove, write, attach });
271
+ return Service17.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node18 = makeLocationNode({
274
- service: Service16,
273
+ var node19 = makeLocationNode({
274
+ service: Service17,
275
275
  layer,
276
- deps: [node87, node83, node51]
276
+ deps: [node87, node84, node56]
277
277
  });
278
278
 
279
- export { Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service16, node18, exports_pty, Event3 };
279
+ export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service17, node19, exports_pty, Event2 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service47
4
- } from "./websearch-fdd88hxh.js";
3
+ Service45
4
+ } from "./project-twthfsw8.js";
5
5
  import {
6
6
  observe2
7
- } from "./websearch-qsdy395h.js";
7
+ } from "./project-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./websearch-9rqn6x4v.js";
10
+ } from "./project-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
13
  var exports_websearch = {};
14
14
  __export(exports_websearch, {
15
15
  ConfigWebSearchPlugin: () => exports_websearch,
16
- Plugin: () => Plugin14
16
+ Plugin: () => Plugin2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin14 = define({
20
+ var Plugin2 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service47;
23
+ const config = yield* Service45;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin14 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin14, exports_websearch };
35
+ export { Plugin2, exports_websearch };
@@ -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/state.ts
6
6
  var exports_state = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./websearch-9zyqj0zs.js";
3
+ } from "./project-kpt1qdq7.js";
4
4
  import {
5
5
  Service83
6
- } from "./websearch-ka296v0h.js";
6
+ } from "./project-40xgcexb.js";
7
7
  import {
8
8
  OAuth3,
9
- Event21
10
- } from "./websearch-jwp645je.js";
9
+ Event15
10
+ } from "./project-2c50a4hz.js";
11
11
  import {
12
- ID7,
12
+ ID12,
13
13
  MethodID2
14
- } from "./websearch-ts6bfjdv.js";
14
+ } from "./project-66qpnbfn.js";
15
15
  import {
16
16
  which2
17
- } from "./websearch-qaymkmh1.js";
17
+ } from "./project-qaymkmh1.js";
18
18
  import {
19
- ID6
20
- } from "./websearch-n543k6g6.js";
19
+ ID11
20
+ } from "./project-9bvpbkhr.js";
21
21
  import {
22
22
  iife2
23
- } from "./websearch-1kg9ymc8.js";
23
+ } from "./project-1kg9ymc8.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./websearch-0myc51tg.js";
26
+ } from "./project-k7vzf8ty.js";
27
27
 
28
28
  // src/plugin/provider/azure.ts
29
29
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -43,7 +43,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
43
43
  var AzurePlugin2 = define({
44
44
  id: "opencode.provider.azure",
45
45
  effect: Effect.fn(function* (ctx) {
46
- const configured = yield* configuredSettings2(ID6.azure);
46
+ const configured = yield* configuredSettings2(ID11.azure);
47
47
  const processes = yield* AppProcess.Service;
48
48
  const bus = yield* Service83;
49
49
  const tokens = new Map;
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
79
79
  });
80
80
  yield* ctx.integration.transform((editor) => {
81
81
  editor.method.update({
82
- integrationID: ID6.azure,
82
+ integrationID: ID11.azure,
83
83
  method: { type: "key", label: "API key", form: form() }
84
84
  });
85
85
  if (!available)
86
86
  return;
87
87
  editor.method.update({
88
- integrationID: ID6.azure,
88
+ integrationID: ID11.azure,
89
89
  method: {
90
90
  id: methodID,
91
91
  type: "oauth",
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
117
117
  });
118
118
  });
119
119
  const load = Effect.fn("AzurePlugin.load")(function* () {
120
- const connection = yield* ctx.integration.connection.active(ID6.azure);
120
+ const connection = yield* ctx.integration.connection.active(ID11.azure);
121
121
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
122
122
  return;
123
123
  })) : undefined;
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
131
131
  yield* load();
132
132
  yield* ctx.provider.transform((evt) => {
133
133
  for (const item of evt.list()) {
134
- if (item.provider.id !== ID6.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
134
+ if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
135
135
  continue;
136
136
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
137
137
  const websocket = responsesWebSocketCapable(item.provider);
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
149
149
  });
150
150
  yield* ctx.model.transform((models) => {
151
151
  for (const item of models.provider.list()) {
152
- if (item.provider.id !== ID6.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
152
+ if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
153
153
  continue;
154
154
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
155
155
  for (const model of models.list(item.provider.id)) {
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
161
161
  }
162
162
  });
163
163
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
164
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
164
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
165
165
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
166
- const connection = yield* ctx.integration.connection.active(ID6.azure);
166
+ const connection = yield* ctx.integration.connection.active(ID11.azure);
167
167
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
168
168
  return;
169
169
  })) : undefined;
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
175
175
  return `Bearer ${current.access}`;
176
176
  });
177
177
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
178
- if (evt.model.providerID !== ID6.azure)
178
+ if (evt.model.providerID !== ID11.azure)
179
179
  return;
180
180
  const authorization = yield* bearer(evt.request.url);
181
181
  if (!authorization)
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
184
184
  evt.request.headers.delete("x-api-key");
185
185
  evt.request.headers.set("authorization", authorization);
186
186
  evt.request.headers.set("user-agent", useragent2(ctx.app));
187
- }), { providerID: ID6.azure });
187
+ }), { providerID: ID11.azure });
188
188
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
189
- if (evt.model.providerID !== ID6.azure)
189
+ if (evt.model.providerID !== ID11.azure)
190
190
  return;
191
191
  const authorization = yield* bearer(evt.url);
192
192
  if (!authorization)
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
195
195
  delete evt.headers["x-api-key"];
196
196
  evt.headers.authorization = authorization;
197
197
  evt.headers["user-agent"] = useragent2(ctx.app);
198
- }), { providerID: ID6.azure });
198
+ }), { providerID: ID11.azure });
199
199
  })
200
200
  });
201
201
  function resolveResourceName(settings, fallback) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service83
3
- } from "./websearch-ka296v0h.js";
3
+ } from "./project-40xgcexb.js";
4
4
  import {
5
- Service18,
6
- Event4
7
- } from "./websearch-qcdd2z34.js";
5
+ Service57,
6
+ Event11
7
+ } from "./project-5m7mkkpv.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
29
29
  var ModelsDevPlugin2 = define({
30
30
  id: "opencode.models.dev",
31
31
  effect: Effect.fn(function* (ctx) {
32
- const modelsDev = yield* Service18;
32
+ const modelsDev = yield* Service57;
33
33
  const bus = yield* Service83;
34
34
  const loaded = { data: snapshots(yield* modelsDev.get()) };
35
35
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
63
63
  loaded.data = snapshots(data);
64
64
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
65
65
  };
66
- yield* bus.subscribe(Event4.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
66
+ yield* bus.subscribe(Event11.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
67
67
  const latest = yield* modelsDev.get();
68
68
  if (snapshots(latest) !== loaded.data)
69
69
  yield* apply(latest);